Thank you, its very helpful. Regards, Daniel
On Fri, May 27, 2011 at 7:43 PM, String <[email protected]>wrote: > Android doesn't have a concept of "run an app". Depending on the app in > question, "running" it may involve starting one of its Activities, > displaying AppWidgets, invoking BroadcastReceivers, etc., etc. > > What Android does have is a concept of is "send an intent to a package". So > in order to kick your app into life (whatever that means for your app), you > need to fire an appropriate Intent. You can do this from the shell via "am" > (which I believe is the Application Manager). A typical intent to launch an > activity might look like this: > > adb shell am start -a android.intent.action.MAIN -n > com.your.packagename/.ActivityName > > where you obviously want to substitute in your own package and activity > names. > > Hint: when you run an app form Eclipse, the Android Console shows the > intent that was used to launch it. Can be helpful in forming the parameters > to shell am. > > String > > -- > 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 > -- 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

