Ok, this logs was not correct.. this is the correct one:
E/AndroidRuntime( 1754): android.content.ActivityNotFoundException:
Unable to find explicit activity class {com.goear/
com.goear.SearchResult}; have you declared this activity in your
AndroidManifest.xml?
E/AndroidRuntime( 1754): at
android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:
1404)
E/AndroidRuntime( 1754): at
android.app.Instrumentation.execStartActivity(Instrumentation.java:
1378)
i missed to add my activity to the manifest.. so i have added an other
activity tag on manifest with the ListActivity class and works ok.
Thanks!
On 23 mar, 17:26, Mark Murphy <[email protected]> wrote:
> ikalbeniz wrote:
> > Here my adb log...
> > E/AndroidRuntime( 1674): java.lang.RuntimeException: Can't create
> > handler inside thread that has not called Looper.prepare()
> > E/AndroidRuntime( 1674): at android.os.Handler.<init>(Handler.java:
> > 121)
> > E/AndroidRuntime( 1674): at android.widget.Toast.<init>(Toast.java:
> > 68)
> > E/AndroidRuntime( 1674): at android.widget.Toast.makeText(Toast.java:
> > 231)
> > E/AndroidRuntime( 1674): at com.goear.Goear.run(Goear.java:69)
> > E/AndroidRuntime( 1674): at java.lang.Thread.run(Thread.java:1096)
>
> Your exception is above. You are trying to display a Toast from a
> background thread. If you change that around (e.g., only display the
> Toast from the main application thread), this problem will go away.
>
> --
> Mark Murphy (a Commons
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, One Low Price!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
To unsubscribe from this group, send email to
android-developers+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.