Skip to content Skip to sidebar Skip to footer

Startactivity(intent) Is Not Working

I am working on an application. In which I stuck in a problem. My problem is that when I am calling startActivity(intent) then it's not working and my logcat shows !!! FAILED BINDE

Solution 1:

Two things: intent.putExtra("searchtext", SearchText); looks wrong, probably a copy paste error?

Also, make sure that you don't put a lot of data into the Intent. String values and Integers are fine but you seem to be passing application data with ArrayLists, that's not how you transport information from one Activity to the other. You should either put them in a database and only transfer the relevant ids or store them in some cache that you an reference from every activity (like the application object).

Also check the link that Tim posted.

Solution 2:

i just found this -> Failed binder transaction when putting an bitmap dynamically in a widget

In this Post they say this error is because of to big data. I do not know if this will be the same reason, but try if the error also occurs if u pass less data with the intent. In my link above, they write about a limit of 1 MB.

And btw sorry for my bad english. =)

Post a Comment for "Startactivity(intent) Is Not Working"