¾ÛÅøÁî
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°Ç
   
Intent »ç¿ë°ü·Ã Áú¹®ÀÔ´Ï´Ù.
±Û¾´ÀÌ : ±èÁø                   ³¯Â¥ : 2012-11-22 (¸ñ) 20:37 Á¶È¸ : 3164
ÇöÀç ¾îÇÿ¡¼­´Â ¸®½ºÆ®ºä¿¡¼­ À̸§À» ¼±ÅÃÇϸé ÇØ´ç »çÀÌÆ®·Î µé¾î°¡°Ô Çϴ°ÍÀÌ ¸ñÀûÀÔ´Ï´Ù.
¸®½ºÆ®ºä¿¡ urlsÀÇ ÁÖ¼Ò ´ë½Å¿¡ À̸§À» ³Ö°í À̸§À» Ŭ¸¯ÇÏ¸é °¢°¢ÀÇ »çÀÌÆ®·Î °¡°Ô ¸¸µé°í ½Í½À´Ï´Ù.
¾î¶»°Ô ÇؾßÇÏ´ÂÁö ¾Ë·ÁÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.

private String[] urls = { "http://www.naver.com", "http://www.naver.com" };

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.set_space);

// TODO Auto-generated method stub
ListView shownn = (ListView) findViewById(R.id.set_spec);

ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>(
getApplicationContext(), android.R.layout.simple_list_item_1,
urls);

shownn.setAdapter(arrayAdapter);
shownn.setOnItemClickListener(this);
};

public void onItemClick(AdapterView<?> arg0, View arg1, int pos, long arg3) {
Intent mintent = new Intent(Intent.ACTION_VIEW, Uri.parse(urls[pos]));
startActivity(mintent);;
* ±ÛÀ» µî·ÏÇϽǶ§ ²À ÇÊ¿äÇÑ °æ¿ì°¡ ¾Æ´Ï¸é °³ÀÎÁ¤º¸¸¦ ³²±âÁö ¸¶¼¼¿ä ^^ (¿¬¶ôó,À̸ÞÀÏÁÖ¼Ò,Áֹεî·Ï¹øÈ£ µî)





 
±èº´ÁÖ 2012-11-23 (±Ý) 14:06
String url = listdata.get(position).getUrl();
final SpannableStringBuilder sp = new SpannableStringBuilder("³ÖÀ» À̸§");
 sp.setSpan(new ForegroundColorSpan(Color.BLUE),0, sp.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);

-----------------

textview.setText(Html.fromHtml("<a href = url>"+sp);
textview.setMoveMentMethod(LinkMoveMentMethod.getInstance());
 
±èº´ÁÖ 2012-11-23 (±Ý) 14:07
sp´Â ¹®ÀÚ¿­¿¡¼­ Á¤ÇØÁø À妽º¸¦ ã¾Æ ÇØ´ç ÅؽºÆ®¸¦ ¿øÇϴ»öÀ¸·Î º¯°æÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.
ÆĶõ»öÀÌ ½È´Ù¸é À§¿¡¼­ Color.BlueºÎºÐÀ» Ä¿½ºÅÒÀ¸·Î ¹Ù²Ù½Ã¸éµË´Ï´Ù.
   

°Ô½Ã¹° 223°Ç
¹øÈ£ Á¦¸ñ ±Û¾´ÀÌ ³¯Â¥ Á¶È¸
203  Intent »ç¿ë°ü·Ã Áú¹®ÀÔ´Ï´Ù. +2 ±èÁø 11-22 3165
202  ½º¸¶Æ®Æù¸¸¿¡¼­ µ¹¾Æ°¡´Â °ÔÀÓÀ» ÅÇ¿¡¼­µµ µ¹¾Æ°¡°Ô ÇÏ´Â ¹æ¹ý ¾Ë·ÁÁÖ¼¼¿ä ~ +2 Áö³ª 11-16 3100
201  ¾×ƼºñƼ°£ µ¥ÀÌÅÍÀü´Þ Áú¹®ÀÔ´Ï´Ù. +3 Á¤¿ëÇö 10-23 3131
200  SMS ¿À´Â ¹®ÀÚ¸¦ ¾Û¿¡¼­ ÀÚµ¿À¸·Î ¾Ë¾ÆÂ÷¸®´Â°Ç ¹¹ÁÒ? ¾È±æȯ 10-08 2
199  ºÎ»ê ¾Û°³¹ß ½ºÅ͵ð 11±â ¸ðÁýÀº ¾ðÁ¦ ½ÃÀÛÇϳª¿ä? +1 ¼­¹«´ö 09-17 3073
198  Ã³À½ °¡ÀÔÇغ¾´Ï´Ù. +1 °í¹ü¼® 09-07 3283
197  IAP °üÇؼ­? ÀÌÀ翵 09-07 4504
196  ÇÁ·¹ÀÓ ¾Ö´Ï¸ÞÀÌ¼Ç Áú¹®ÀÔ´Ï´Ù. ±èÈÆÀÏ 09-02 4187
195  ÀÌŬ¸³½º¿¡¼­ ÇÁ·ÎÁ§Æ® »ý¼ºÇÒ¶§ xml ÆÄÀÏÀÇ ±âº»¼³Á¤À» ¹Ù²Ü¼ö ÀÖ³ª¿ä? ±èÇö¹Î 08-28 3053
194  radio button Áú¹®ÀÔ´Ï´Ù. +1 ±èÈÆÀÏ 08-26 3811
193  ºÎ»ê ´ÙÀ½ ½ºÅ͵ð 11±â´Â ¾ðÁ¦Âë?? ¾È³çÇϼ¼¿ä! ¿À´Ã °¡ÀÔÇÏ¿´½À´Ï´Ù. +4 ÃÖ¿µÁø 08-23 2698
192  ÀÌŬ¸³½º ¿¡·¯ Áú¹®ÀÔ´Ï´Ù ¤Ì +1 Á¶ÀçÇö 08-22 4014
191  ±¸±Û Áöµµ Áú¹®ÀÌ¿ä ~ +4 ±è¹®¿í 08-14 4176
190  ¾Èµå·ÎÀÌµå °³¹ßÀÚºÐµé ¤Ð¤ÐÁ¶±Ý¸¸ µµ¿ÍÁÖ¼¼¿ä~¤Ð +2 Á¶ÀçÇö 08-10 4449
189  ¼ôÄÆ Áú¹®ÀÔ´Ï´Ù. +1 ±èº´ÁÖ 07-25 4892
188  ¾Èµå·ÎÀ̵忡¼­ À¯Åõºê µ¿¿µ»ó Àç»ý ÇÒ ¼ö ÀÖ´Â Á¦´ë·Î µÈ Äڵ带 ¾Ë·ÁÁֽøé.... +2 ¹®Àå¿ø 07-20 6041
187  Listview ¿¡¼­ item visible ÇÒ¶§ ºó°ø°£À» ³ª¸ÓÁö itemÀ¸·Î ¸Å²Ü¼ö ¾ø³ª¿ä? +2 ¼ÕÁø½Ä 07-20 5098
186  AutoCompleteTextView(ÀÚµ¿¿Ï¼º ÅؽºÆ®ºä) ¸¸µé±â Áú¹®ÀÌ¿ä ±è¹®¿í 07-19 4515
185  À¯Åõºê µ¿¿µ»ó ¸µÅ© Àç»ý °ú°ü·ÃÇؼ­ °í¼ö´Ôµé²² Áú¹®µå¸³´Ï´Ù.µµ¿ÍÁÖ¼¼¿ä..¤Ð¤Ð ¹®Àå¿ø 07-18 4671
184  xml ³»¿ëÀ» ¹Þ¾Æ¼­ Ž»ö±âó·³ Æ®¸®ÇüÅ·Π»Ñ·ÁÁÖ°í ½Í½À´Ï´Ù. ¼ÕÁø½Ä 07-17 4179
 1  2  3  4  5  6  7  8  9  10  11  12  
 
 
 
Copyright ¨Ï wwwold.androidstudy.co.kr. All rights reserved.