I have a write simple .apk file for android in my eclipse editor.When i send .apk file in android phone through my eclipse then application launch it self but when i send .apk through command adb install test.apk that time application not launch it self.
My question is how to auto start .apk file when i successfully install in phone?
Please help me..
Did you execute the command from tools directory?
Thanks for reply
No Sir which command i execute to run.
Just change the working folder to your installation tools folder, or else set the classpath. But since you've not comes with an error classpath seems okay. But it's worth to give a try. I've quite similar issue and I've just keep my project inside the tools and it works.
You are welcome.
Why don't you mark the thread solved then.
By the time, if you could briefly explain your solution here that may helpful for others too.
Originally Posted by Blackberrylerner
Use like this
adb shell am start ...
for help on the command
Check your manifest xml file for details regarding the intent information
the activity string can be formatted as
<package full path>/.<Activity class name>
By the time if you could mark the thread solved it's much better. :)
I've found following installation article on my bookmarks.