tags:

views:

69

answers:

3

hi i have samsung i5503 galaxy.but i got a problem in developing app.

first i attach the phone with pc and turn usb debugging on,install the driver than as i run my app ,my phone is not appeared as running android device...so how can i run and test my app on real device.... secondly i make apk of my app and than mail it than i open this mail n my phone and try to install the app but error was app not installed. what is the problem..plz help me. my phone's is os is android 2.1(eclair) and firmware version is 2.1 update-1.

A: 

Its all here: http://developer.android.com/guide/developing/device.html

Main points are: Turn on "USB Debugging" on your device. On the device, go to the home screen, press MENU, select Applications > Development, then enable USB debugging.

And: You can verify that your device is connected by executing adb devices from your SDK tools/ directory. If connected, you'll see the device name listed as a "device."

That last verification of device connection involves a bit of command line action...

Lemonsanver
i have done all these things that u told already. but yet unable to get the device from command prompt. can u tell me what is the problem
nimi
A: 

Check your AndroidManifest.xml file - the application node should have an attribute android:debuggable="true" , so for the line in total some thing like:

<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">

Hope this helps

Lemonsanver
i have done this also, but no change. is this the problem of samsung mobile??
nimi
A: 

Hmmm, if you can't see something like this when you run ./adb devices

$ ./adb devices
List of devices attached
emulator-5554    device

Then I don't know what you can do. So if you get the emulator from the command prompt ok, but it simply doesn't work when you shut that down and plug in the device then I reckon there is something up with your phone. As far as I know any Android phone is capable of being a developer phone.

Lemonsanver