Re: [android-developers] Standalone Java applications?

2011-08-08 Thread Bill Gatliff
Nikolay: On Sun, Aug 7, 2011 at 9:49 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: Assuming by 'standalone application' you mean a Java program with a main method, there is an dalvikvm command. If your class is in a dex file, you should be able to run it from the command line. Cf. #

Re: [android-developers] Standalone Java applications?

2011-08-08 Thread Kostya Vasilyev
You can get an sdcard in the emulator by using -c or --sdcard with android create avd: Action create avd: Creates a new Android Virtual Device. Options: * -c --sdcard Path to a shared SD card image, or size of a new sdcard for the new AVD* -n --name Name of the new AVD [required]

Re: [android-developers] Standalone Java applications?

2011-08-08 Thread Mark Murphy
On Mon, Aug 8, 2011 at 9:53 AM, Bill Gatliff b...@billgatliff.com wrote: Note that the generic SDK emulator doesn't seem to have a useful /sdcard Yes, it does. First, you have to specify an SD card in the AVD configuration. Second, it's /mnt/sdcard on modern versions of Android. my motivation

[android-developers] Standalone Java applications?

2011-08-07 Thread Bill Gatliff
Guys: I am aware that under carefully-controlled circumstances, we can use the NDK toolchain to produce standalone ASM/C/C++ applications for a compatible Android target. What if I want to do a standalone application written in Java for an Android target? It seems like I should be able to do

Re: [android-developers] Standalone Java applications?

2011-08-07 Thread Nikolay Elenkov
On Mon, Aug 8, 2011 at 11:07 AM, Bill Gatliff b...@billgatliff.com wrote: What if I want to do a standalone application written in Java for an Android target? Assuming by 'standalone application' you mean a Java program with a main method, there is an dalvikvm command. If your class is in a