I have made a program on eclipse. But how can I get the program from eclipse to my phone? I have a cable because it probably wont make a QR code like appinventor does huh. How do i install my app on there?
You need to set up your machine and phone for running and debugging from eclipse. It involves getting the phone's usb driver on your machine, and setting up the phone for usb debugging.
Read this Using Hardware Devices | Android Developer Guide
You can simply export the apk file and copy it to your phone. Email it to yourself, bluetooth transfer, upload to a server then download on your phone.... come on.
You just have to allow the device to accept nonsigned apps and USB debugging (change this in your device's app configuration). Then, if you have the drivers (you can install them within your AVD), you can just run the app from Eclipse in your phone.
In Windows you will need drivers to install for the particular device that you have. And if you are on Linux, there is a rules.txt file in which you have to make entries with the device UID. Check this link.
Related
I have build my first application for Android Phone in Eclipse.
I want to test my app in my real device. I have not made apk till now.
Can anyone please provide me the step by step guideline on how to load my app from eclipse to my device and run it.
You need to enable USB debugging on the phone itself (by starting the Settings application and selecting Applications > Development > USB Debugging), install the Android USB device driver if you haven’t already (Windows only), and then plug the phone into your computer using the USB cable that came with the phone.
Close the emulator window if it’s already open. As long as the phone is plugged in, Eclipse will load and run applications on the phone instead. You need to right-click the project and select Run As > Android Application.
or
In eclipse you go to run->build or if you have build automatically turned on you can go into the projects file structure and just copy the .apk file out of the bin folder. You can put this on the devices SD card and install it from there. No need to do the export unsigned apk thing.
Go through this link
http://developer.android.com/tools/device.html
An must for device debugging is Mobile usb drivers and You should go to SDK manager->extras->usb pluggin download that pacakge....
This may help http://developer.android.com/guide/developing/device.html.
If you're on Windows you will need to install the USB driver. Then, on your Devices tab (Window->Show View->Other->Android->Devices) you should see a new row appear when you connect your device to your workstation with a USB cable (although LG handsets are problematic in my experience)
If you're on Windows you will need to install the USB driver. Then, on your Devices tab (Window->Show View->Other->Android->Devices) you should see a new row appear when you connect your device to your workstation with a USB cable (although LG handsets are problematic in my experience).
Now I am developing one android application. I am running my code in emulateor. Can anyone help me How to debug my own android application in android tablet(Matrix One) instead of android emulator (i.e) steps to configure my android tablet(Matrix One) with eclipse?
Thanks,
Manoj.
Enable USB Debugging from your settings (and mock locations if you need them)
Plug the device into the computer via USB
Use eclipse to run the app on the device
You're done
This part of the documentation has more details on doing this, like installing drivers, configuring UDev etc.
You might need a additional driver. You should be able to download it via the sdk.
Once the driver installed, just plug in your device after turning on the debug modus on the tablet under Application-Development. Your device should appear in the device view in eclipse. The Application should automatically be launched on the real device once plugged in.
I've got a Disgo 8100 tablet which I would like to test an app on but I'm having problems doing anything with it. I'm new to Android development but I've got 2 phones setup and connected and working with Eclipse. The Disgo is running 2.3.3 but there is no USB debugging option under Settings -> Applications and when I connect the device to the USB all I get is a drive mounted and no device listed in adb. Device manager also shows a disk rather than a device so I can't update the driver.
What can I do to get this working?
If the device has an option to allow installation of non market applications, then you can select this.
Once that is done, creat an apk for your app in eclipse, then when the device is mounted
as a drive, just transfer the apk file to the device in a tmp folder.
Once you have done this, you need to locate the file on the device (using a file explorer such as astro), and run it.
This will install the app onto the device, although you wont be able to debug, you will be able to see if the app runs ok.
Hope this helps..
Firstly you need to look deepper in settings, may be USB debugging option on in App. section. For example on my Galaxy S2 ICS it's in Development section.
After it you should install drivers for your device
Sorry to be cheap But I have a chinese Android 4.0.3 tab .I have no idea how to test my app on this device other than copying the apk file to the device and install it, It is very lengthy process . Is there any way I could directly run the app using apk Like other brand devices.
Can anyone help me?
Using adb tools you can install your app directly to your android device,
adb install <aaa>.apk
but do this process you need configure adb tools in your envirnment and check your device manufacture sapport for that, configure adb
http://esausilva.com/2010/05/13/setting-up-adbusb-drivers-for-android-devices-in-linux-ubuntu/
check under USB Vendor IDs in above url to check your android manufacture support for that
Aslong as it has USB driver support you can debug direct to the device, however failing that, i dont see why you couldn't when you wish to test build to a 'Test APK's' folder then use a .bat to do the lengthy steps for you with regards to copying to the device.
How to connect mobile device to eclipse to use it as a emulator.
http://developer.android.com/guide/developing/device.html i refer this link but not able to connect
please suggest any other setting remains
I have connected my htc device instead of emulator to run my application.
I did the following steps
1.download htc sync software
2.install it to the system.
3.when connected,it shows one dialog then choose htc sync.
3.finally ,choose run as configuration and change automatic to manual.
Some devices dont even require htc sync. For eg the old G1 does not require htc sync. But I guess newer phones would require it.
First check whether your USB cable can be detected in your system. If detected then install proper driver as mentioned in the following link. http://developer.android.com/guide/developing/device.html. If you are using Mac machine then no need of installing driver. connect the device right click the project , run-as select the target device. make sure that target device of your project shoul be same or lower than that of the actual device. u will get the name of the device. select the device. and you application will run directly in mobile.
Thanks
Deepak