Results 1 to 3 of 3
  1. #1
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    292
    Rep Power
    3

    Default how to place apk inside android program?..,

    Dear All!


    I wants to know one important concept in android, can you please guide me?..,


    In ongoing development i have option for entertainment, i have my own simple game in android (as program & apk too) , how to place it on my program, it should executed as a part of the program, while gaming button clicked..,

    in Java we have option to place as jar file. but in android i don't know it..,

    any one can guide me please..,

    Thank You!

    Have A Happy Day..,
    - Raj

  2. #2
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default Re: how to place apk inside android program?..,

    Android libraries are packaged as jars, not apks. Eclipse can build executable jars that contain other jars, but that's not a standard Java thing. I don't think there's any way to build an apk containing another apk.

    But if you add an intent filter to you game's main activity and export it, other programs will be able to launch it into their own activity stack. That's the Android way of reusing activities.
    Get in the habit of using standard Java naming conventions!

  3. #3
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    292
    Rep Power
    3

    Default Re: how to place apk inside android program?..,

    Thanks for you response Mr.kjkrum!

    I try to using intent filter & Hereafter i improve my self to write standard Java naming conventions..,

    Thank You..,

    Have A Happy Day..,
    - Raj

Similar Threads

  1. Replies: 0
    Last Post: 09-06-2013, 09:01 PM
  2. Replies: 3
    Last Post: 02-25-2013, 09:54 AM
  3. External Program inside a JPanel
    By peress in forum AWT / Swing
    Replies: 5
    Last Post: 08-30-2012, 08:27 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
  •