You don't really need to send them adb. What you need to do is: - create an AVD, run the emulator with it - install your app on this emulator image - send your friends the emulator binary, the AVD itself and the corresponding system images.
The AVD contains the userimage which has your app installed for the emulated device, which means you can setup the emulated device exactly as you want your friend to see it. An AVD is composed of a config file located in ~/.android/avds/name.ini and a directory located at ~/.android/avds/name.avd. You will need to edit the config.ini file in the avd directory to indicate the system images location (it's normally found in SDK/platform/android-1.5/images/). I suggest you read the extensive emulator help (see emulator -help). It describes the mechanism used to locate images. So it might sound a bit complicated at first but it should be doable once you understand the various moving parts. Good luck! R/ On Wed, Apr 22, 2009 at 12:54 PM, tansaku <[email protected]> wrote: > > Hi All, > > I was wondering if anyone has ever been able to distribute their app > in a bundle with an emulator? > > The reason I want to do this is that I have some friends who don't > have android phones, but I'd like them to be able to play with my app > so that they can give me feedback. I've previously sent them screen > casts, but I'd really like them to be able to get interactive with the > app. > > Now I could ask them to get all installed with the whole android > framework, eclipse etc,. but some of them are not so technical. > Ideally what I'd like to be able to do is create a package that is the > android emulator with my app and perhaps 1 or 2 other related apps pre- > installed, so that they can download it, open it and run it > interactively on their computers? > > Has anyone ever tried this? > > So far I found that I can run the emulator standalone, and I assume I > could probably send them just that and it would run. However the adb > tool is needed to install apps. I could send them that too, and ask > the to run an 'adb install myapp.apk' from the command line, but at > the moment I can't even seem to do that myself. > > Running the emulator standalone, the adb tool can't seem to see it: > > samuel-josephs-computer-2:tools samueljoseph$ sudo ./adb devices > List of devices attached > > I just get no list of devices ... > > I have previously used the adb tool to install apk files, but that is > after I had started the emulator from eclipse - of course even then I > always have to restart eclipse and the emulator two or three times > before I can get the connection (I am on OSX 10.5.6., eclipse > 3.4.1) ... > > Any suggestions greatly appreciated. > > CHEERS> SAM > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

