[android-developers] Re: native c/c++ "hello world" _ problem

2009-01-01 Thread Lucius Fox
Thanks. Can you please tell me how can I write/run a c++ hello world program on the android emulator (on linux). And how can i run gdb to debug it? Thank you. On Tue, Dec 30, 2008 at 2:06 PM, AlexG wrote: > > Hi > > A good way to start is running: > > ./adb shell ls / > So you can see all the

[android-developers] Re: native c/c++ "hello world" _ problem

2008-12-30 Thread Anonymous Anonymous
do an adb remount On Wed, Dec 31, 2008 at 1:36 AM, AlexG wrote: > > Hi > > A good way to start is running: > > ./adb shell ls / > So you can see all the fs structure which is a bit different then > Unix. > > you can do something like: > > ./adb push myapp /data/app/ > ./adb shell chmod 777 /data

[android-developers] Re: native c/c++ "hello world" _ problem

2008-12-30 Thread AlexG
Hi A good way to start is running: ./adb shell ls / So you can see all the fs structure which is a bit different then Unix. you can do something like: ./adb push myapp /data/app/ ./adb shell chmod 777 /data/app/myapp ./adb shell /data/app/myapp On Dec 30, 12:40 pm, soumyaranjan wrote: > hi