Results 1 to 11 of 11

Thread: Android Start

  1. #1
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default Android Start

    Hello members

    Good morning

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

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    Thanks for reply
    No Sir which command i execute to run.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    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.

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  6. #6
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    Thanks problem solved

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Blackberrylerner View Post
    Thanks problem solved
    By the time, if you could briefly explain your solution here that may helpful for others too.

  9. #9
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default

    Yes sir

    Use like this
    Java Code:
    adb shell am start ...
    type just

    Java Code:
    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

    Java Code:
    <package full path>/.<Activity class name>

  10. #10
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  11. #11
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Replies: 1
    Last Post: 01-18-2011, 07:27 PM
  2. Android USB
    By Blackberrylerner in forum Android
    Replies: 0
    Last Post: 01-15-2011, 06:05 AM
  3. Android
    By sspkiet in forum Android
    Replies: 1
    Last Post: 09-03-2010, 02:14 AM
  4. Replies: 5
    Last Post: 03-20-2009, 11:04 PM
  5. Android on Eclipse 3.2
    By aibtus in forum Eclipse
    Replies: 0
    Last Post: 04-08-2008, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •