¾ÛÅøÁî
46.¢½.168.138
46.¢½.168.129
46.¢½.168.161
46.¢½.168.136
46.¢½.168.145
46.¢½.168.162
46.¢½.168.144
46.¢½.168.140
115.¢½.135.198
46.¢½.168.139
 
°Ô½Ã¹° 223°Ç
   
»çÁø¾÷·Îµå ¼Ò½º Á» ºÁÁÖ¼¼¿ä
±Û¾´ÀÌ : ¹ÚÁ¤Çö                   ³¯Â¥ : 2012-02-07 (È­) 11:19 Á¶È¸ : 4656
¿©·¯ ¼Ò½º¸¦ Âü°íÇÏ¿© ¸¸µé¾ú´Âµ¥ ¼­¹ö¾÷·Îµå ºÎºÐ¿¡¼­ ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù. ¹¹°¡ ¹®Á¦ÀÎÁö Á» ºÁÁÖ¼¼¿ä
 
//À̹ÌÁö ÀúÀå
Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length);
String fileLoute =Environment.getExternalStorageDirectory().getAbsolutePath() + "/DCIM/Camera/"; 
File saveFile=new File(fileLoute + "image01.jpg");
OutputStream out=null;
saveFile.createNewFile();
out=new FileOutputStream(saveFile);
bitmap.compress(CompressFormat.JPEG,70,out);
                           
//¼­¹ö¾÷·Îµå
File file=new File(fileLoute + "image01.jpg");                       
HttpClient client = new DefaultHttpClient();
String postURL="http://111.124.245.27/test.php";
HttpPost post = new HttpPost(postURL);
FileBody bin = new FileBody(file);
MultipartEntity reqEntity=new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE);
reqEntity.addPart("myFile",bin);
post.setEntity(reqEntity);

 
//PHP SERVER
 $target_path="./";
 $tmp_img=explode(".",$_FILES['uploadedfile']['name']);
 $img_name=$tmp_img[0] . "." . $tmp_img[1];
 $target_path=$target_path . basename($img_name);
 
 if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'],$target_path)){
  echo "The file has been uploaded";
 }else{
  echo $img_name;
  echo "There was an error";
 }
* ±ÛÀ» µî·ÏÇϽǶ§ ²À ÇÊ¿äÇÑ °æ¿ì°¡ ¾Æ´Ï¸é °³ÀÎÁ¤º¸¸¦ ³²±âÁö ¸¶¼¼¿ä ^^ (¿¬¶ôó,À̸ÞÀÏÁÖ¼Ò,Áֹεî·Ï¹øÈ£ µî)




¹ÚÁ¤Çö ´ÔÀÇ Q&A ÃÖ½Å±Û [´õº¸±â]


 
±èº´ÁÖ 2012-02-07 (È­) 17:55
¿¡·¯ ·Î±×ÄÏ ºÎºÐÀ» º¸°í½ÍÀºµ¥¿ä.
   

°Ô½Ã¹° 223°Ç
¹øÈ£ Á¦¸ñ ±Û¾´ÀÌ ³¯Â¥ Á¶È¸
163  EditText º° Å°ÆÐµå º¯°æ +1 ¹ÚÁ¤Çö 02-23 5342
162  »çÁø ÀúÀå½Ã ¿À·ù ¹ÚÁ¤Çö 02-22 5756
161  apk À¥¹èÆ÷ °ü·ÃÀÔ´Ï´Ù. +2 ¹Ú³²±Ô 02-22 3352
160  Áú¹® Çϳª°¡ ÀÖ½À´Ï´Ù +2 Á¤Çö±Ô 02-22 4487
159  ±×¸² ³Ö´Â°Í¿¡ ´ëÇØ Áú¹®ÀÌ ÀÖ½À´Ï´Ù. +4 Á¤Çö±Ô 02-22 4175
158  ¾îÇà ¾ÆÀÌÄÜ º¯°æÇϱâ +2 ¹ÚÁ¤Çö 02-21 15641
157  ¼±À¸·Î µµÇüÀ» ±×¸®°í ½ÍÀºµ¥¿ä..¤Ð¤Ð +2 ¼ÕÁø½Ä 02-17 4528
156  DBÀÚ·á ºÒ·¯¿À±â Áú¹®ÀÔ´Ï´Ù. +2 ÀÌ½Â±Ô 02-13 3524
155  ¾Èµå·ÎÀÌµå ½º·¹µå¿Í dalvickVM Ç÷¹À̾î¿ÍÀÇ °ü°è¿¡ ´ëÇÑ Áú¹® +1 ±èº´ÁÖ 02-07 5868
154  µµ¿ÍÁÖ¼¼¿ä..¤Ð¤Ð +3 ±èÀºÁ¤ 02-07 3051
153  »çÁø¾÷·Îµå ¼Ò½º Á» ºÁÁÖ¼¼¿ä +1 ¹ÚÁ¤Çö 02-07 4657
152  »çÁø ÀúÀå ¹× ¼­¹ö¿¡ ¾÷·Îµå +1 ¹ÚÁ¤Çö 02-06 4535
151  ÀÌÁ¦¸·½ÃÀÛÇߴµ¥.. µµ¿ÍÁÖ¼¼¿ä ¤Ì.¤Ì +3 Á¤Çö±Ô 02-02 4690
150  ¹®ÀÚ,ºÎÀçÁß,Ä«Åå ¿ÔÀ»½Ã¿¡ ¿ÜºÎ LED ¹öÆ°ÀÌ °è¼Ó ºû³ª°Ô ¼öÁ¤ÇÒ ¼ø ¾øÀ»±î¿ä? +2 ¾çÁ¤¹ü 01-29 3109
149  Html ÆÄ½Ì °ü·Ã Áú¹®ÀÔ´Ï´Ù. °í¼ö´Ôµé Á¦¹ß Çѹø¸¸ ½Å°æ½áÁÖ½Ã¸é ¹é°ñ³­¸ÁÀ¸·Î ¾Ë°Ú½À´Ï´Ù ¤Ð +3 ±èÂù¼º 01-27 3405
148  ¾Èµå·ÎÀ̵å ÀÌŬ¸³½º ½ÇÇàÀ» Çغ¸°í½ÍÀºµ¥... +2 ±èµµÇü 01-22 3323
147  µµ¿ÍÁÖ¼¼¿ä !! °í¼ö´Ôµé..¤Ì¤Ì +2 ±èµ¿¹Î 01-15 2562
146  »çÁøÂï¾î¼­ ¼­¹ö¿¡ ¿Ã¸®´Â ¹æ¹ý +3 ¹ÚÁ¤Çö 01-13 4432
145  ¾Æ... À©µµ¿ì ¿À·£¸¸¿¡ ¸¸Áö´Ï °í»ýÀÌ À̸¸Àú¸¸ÀÌ ¾Æ´Õ´Ï´Ù ¤Ð¤Ð ¹ÚÂù¿ì 01-10 3959
144  °¶½ºÀ¯ÀúÀε¥ usb¿¬°áÇÏ°í µð¹ö±ëÀ» ÇÏ¸é ±â±â°¡ ÀνÄÀ» ¸øÇØ¿ä.. ¤Ð¤Ð¤Ð¤Ð µµ¿ÍÁÖ¼¼¿ä ¤Ð¤Ð +4 °í¿¬·ü 01-10 3592
 1  2  3  4  5  6  7  8  9  10  11  12  
 
 
 
Copyright ¨Ï wwwold.androidstudy.co.kr. All rights reserved.