intents

Launching my app using the intent URI

I know this has been asked a lot of times in StackOverflow already, but I haven't quite found a solution yet. My app sends an email with a link in it that when clicked should launch the app. According to @hackbod, the best way to do it is to make use of the Intent URI (see this). Here's my code that sets the intent and puts it in the em...

Android app appears multiple times in the 'Recent Apps' list.

A number of users of my app have reported that on the Nexus One, running Froyo 2.2, the app appears multiple times in the 'Recent Apps' list that is displayed when you long press the home button. Personally, I have not been able to replicate the issue. Have tried killing the app with a task killer then restarting it to see if that would...

Selecting from Spinner & sending as text sms

I have two different activities in my project.I intend to pass data from one activity to another. (As per user interface, I select an item from The spinner in one activity and send it as text msg.) The coding for text msg is done in another activity i.e the second activity. I m successfully able to select the desired item from the Spinn...

Linkify custom location in textView?

I have a TextView with location data that I want to Linkify. When link will be clicked an Intent should be fired that will start Maps. How should I achieve this effect? UPDATE: I have something like "My street 9, My city". Now I want to have all this text to appear like a link and have intent fired with URI: geo:0,0?q=My+street+9,+My+c...

How can I find out what kinds of actions and URI's a given app package will respond to?

Say I want to ask the Phone app to dial a number, or the Maps app to display a particular location, or the Navigator app to navigate to a particular place, etc.... Obviously I need to broadcast or send an intent. But what actions/categories/data URI's do I use? What will each app recognize and respond to? This seems like basic inform...

Best way to terminate a wizard in android

I have a reservation wizard in android, when i say wizard i mean i have multiple activities (meaning screens) that are passed from one to another until booking is complete. in each step of the way my info may be invalid and so ill have to back track 2-3 activities and start all over, all the activities i back tracked should be destroyed,...

Network Service needs to return a callback

I have a Networking service that i want to use as a Service. It's a local Service since it's not valid anymore once the application process is dead and no Other applications need to access it.(or should...). I was pondering if to use the IBinder interface with local reference to the class and decided not to, for the moment. I have the ...