Re: [android-developers] How to run application in background on click of device back button

2011-12-19 Thread lbendlin
doesn't that still require that you call startActivity() somehow? or can 
you ignore that part and simply click on a well formed content:// URL?

-- 
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

Re: [android-developers] How to run application in background on click of device back button

2011-12-19 Thread TreKing
On Sun, Dec 18, 2011 at 10:38 PM, Kristopher Micinski 
krismicin...@gmail.com wrote:

  You app can only check if it is installed ... if it is installed ...

 Surely he must mean another one of his apps, correct?


One would assume - but given some of the questions around here, I wouldn't
be surprised if that's not the case, so I just hold the post at face value.
=P

On Mon, Dec 19, 2011 at 7:35 AM, lbendlin l...@bendlin.us wrote:

 doesn't that still require that you call startActivity() somehow? or can
 you ignore that part and simply click on a well formed content:// URL?


The second part - if your app is registered for the correct intent filter,
it will be an option for the user to launch as the action to handle a given
URI that matches said filter.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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

Re: [android-developers] How to run application in background on click of device back button

2011-12-19 Thread Kristopher Micinski
On Mon, Dec 19, 2011 at 8:35 AM, lbendlin l...@bendlin.us wrote:
 doesn't that still require that you call startActivity() somehow? or can you
 ignore that part and simply click on a well formed content:// URL?


what do you think happens when you install Skype and go to make a
phone call? :-)

(There are tons of other examples, but you probably have at least one
of them running on your device right now that isn't just a system
one.)

Kris

-- 
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


[android-developers] How to run application in background on click of device back button

2011-12-18 Thread Uday Gokhale
I want to show route between source and destination using google
map.whenever -

1) I get the message,on click of that message I want to check whether my
application is install on device?

2) If my app install on a device i want to show route,

3)I want my application to run in background when back key(Device) pressed.

Please any idea how to achieve above three functionality? 3rd one is most
imp.


Thanks.




http://www.omni-bridge.com/

-- 
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

Re: [android-developers] How to run application in background on click of device back button

2011-12-18 Thread TreKing
On Sun, Dec 18, 2011 at 9:31 PM, Uday Gokhale gokhale.u...@gmail.comwrote:

 1) I get the message,on click of that message I want to check whether my
 application is install on device?

You app can only check if it is installed ... if it is installed ...

 2) If my app install on a device i want to show route,

 3)I want my application to run in background when back key(Device) pressed.

http://developer.android.com/reference/android/app/Service.html

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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

Re: [android-developers] How to run application in background on click of device back button

2011-12-18 Thread Kristopher Micinski
On Sun, Dec 18, 2011 at 11:33 PM, TreKing treking...@gmail.com wrote:
 On Sun, Dec 18, 2011 at 9:31 PM, Uday Gokhale gokhale.u...@gmail.com
 wrote:

 1) I get the message,on click of that message I want to check whether my
 application is install on device?

 You app can only check if it is installed ... if it is installed ...

Surely he must mean another one of his apps, correct?

Kris

-- 
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


Re: [android-developers] How to run application in background on click of device back button

2011-12-18 Thread lbendlin
I guess the second question is - can you start an application from a URL?  
(In iOS you can sort of register custom URI schemes, and tell the OS to 
redirect these links to your (installed) app).

-- 
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

Re: [android-developers] How to run application in background on click of device back button

2011-12-18 Thread Kristopher Micinski
On Sun, Dec 18, 2011 at 11:50 PM, lbendlin l...@bendlin.us wrote:
 I guess the second question is - can you start an application from a URL?
 (In iOS you can sort of register custom URI schemes, and tell the OS to
 redirect these links to your (installed) app).


Sure

http://developer.android.com/guide/topics/intents/intents-filters.html

kris

-- 
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