Thanks Mark I seee in the LogCat and it said: 05-03 08:05:15.895: DEBUG/AndroidRuntime(339): Shutting down VM 05-03 08:05:15.895: WARN/dalvikvm(339): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): FATAL EXCEPTION: main 05-03 08:05:16.051: ERROR/AndroidRuntime(339): java.lang.NullPointerException 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at net.sgoliver.AndroidXml$EventoAdapter.getView(AndroidXml.java:147) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.AbsListView.obtainView(AbsListView.java:1315) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.ListView.makeAndAddView(ListView.java:1727) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.ListView.fillDown(ListView.java:652) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.ListView.fillFromTop(ListView.java:709) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.ListView.layoutChildren(ListView.java:1580) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.AbsListView.onLayout(AbsListView.java:1147) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.view.View.layout(View.java:7035) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1249) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1125) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.LinearLayout.onLayout(LinearLayout.java:1042) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.view.View.layout(View.java:7035) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.FrameLayout.onLayout(FrameLayout.java:333) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.view.View.layout(View.java:7035) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1249) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1125) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.LinearLayout.onLayout(LinearLayout.java:1042) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.view.View.layout(View.java:7035) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.widget.FrameLayout.onLayout(FrameLayout.java:333) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.view.View.layout(View.java:7035) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.view.ViewRoot.performTraversals(ViewRoot.java:1045) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.view.ViewRoot.handleMessage(ViewRoot.java:1727) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.os.Handler.dispatchMessage(Handler.java:99) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.os.Looper.loop(Looper.java:123) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at android.app.ActivityThread.main(ActivityThread.java:4627) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at java.lang.reflect.Method.invokeNative(Native Method) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at java.lang.reflect.Method.invoke(Method.java:521) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:868) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): at dalvik.system.NativeStart.main(Native Method)
Do you known what happend? Thanks On Apr 29, 9:43 pm, Mark Murphy <mmur...@commonsware.com> wrote: > On Thu, Apr 28, 2011 at 8:03 AM, beginer <j.ur...@gmail.com> wrote: > > I want to add a link in my ListView, > > I am using this code: > > > TextView tv = (TextView)findViewById( R.id.link2_view ); > > tv.setText("www.google.es"); > > Linkify.addLinks( tv,Linkify.WEB_URLS ); > > > but don't work > > HTTP URLs have an http:// in front of them. > > > The Android emulator said: The application has stopped > > unexpectecly .please try again. > > Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine > LogCat and look at the stack trace associated with your error. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en