Re: [android-developers] Re: launching an app
hello frndzz, i was attend android workshop before 3 months. i m very exited to learn it. i m very interested. i want to kw that, 1. for beginning level which kind of applications i have to start? 2. java programming is also new for me i ll start java right now. can i use simole programs of java in android apps 3. i can do main.xml 's coding but i dont know coding about .java . for learning this both of coding which kind of hard book can i use??? -- 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] Re: launching an app
On Tue, May 29, 2012 at 7:16 AM, Thomas tbirchm...@usa.net wrote: Although the documentation has lots about using an app to launch an app via an intent, what seems to be left out is that the launched app must have a type of permission to be launched category android:name=android.intent.category.DEFAULT / That is not a permission. That is a category. An Intent used with startActivity() automatically gets the DEFAULT category added to it (unlike startService(), sendBroadcast(), etc.). Hence, your intent-filter in your activity will need to have the DEFAULT category, along with any other categories you wish to support (e.g., BROWSABLE). As usual the use of capitals and not using capitals is completely arbitrary For your own action, perhaps. That is not true for any system-defined items, like your DEFAULT category. And, none of this has anything to do with the original question, which is how to *launch* an app, not how to create something that itself can be launched. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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] Re: launching an app
Hi Mark, I think you should reread the question. He wanted to use an app to launch another app. Another consideration is the launched app might not have category android:name=android.intent.category.DEFAULT / in its manifest. Best Tom B On Tuesday, May 29, 2012 7:30:22 AM UTC-4, Mark Murphy (a Commons Guy) wrote: On Tue, May 29, 2012 at 7:16 AM, Thomas tbirchm...@usa.net wrote: Although the documentation has lots about using an app to launch an app via an intent, what seems to be left out is that the launched app must have a type of permission to be launched category android:name=android.intent.category.DEFAULT / That is not a permission. That is a category. An Intent used with startActivity() automatically gets the DEFAULT category added to it (unlike startService(), sendBroadcast(), etc.). Hence, your intent-filter in your activity will need to have the DEFAULT category, along with any other categories you wish to support (e.g., BROWSABLE). As usual the use of capitals and not using capitals is completely arbitrary For your own action, perhaps. That is not true for any system-defined items, like your DEFAULT category. And, none of this has anything to do with the original question, which is how to *launch* an app, not how to create something that itself can be launched. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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] Re: launching an app
Can you please suggest some code? On Mon, May 28, 2012 at 11:28 AM, imran ali imran...@gmail.com wrote: Hi, You have to use intent filter to lunch first Activity of other application from your application. Regards Imran Ali On Monday, May 28, 2012 11:20:16 AM UTC+5:30, sourabh wrote: Dear All, How to launch an app programmatically. For example I want to launch an skype app on a click of button through my app. Thanks in advance. Sourabh -- 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 -- 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] Re: launching an app
On Mon, May 28, 2012 at 1:01 AM, sourabh sahu souruit...@gmail.com wrote: Can you please suggest some code? Read the docs, or do a simple Google search - launching apps via intents is Android 101. - 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