Install app without put it on Android Market - android

How can i install my application from eclipse to my mobile (Galaxy) without put it on Android Market?
Thank you!

I don't use eclipse, but once you build your app and sign it into an 'apk' you can simply connect the device via USB to your development machine and install it via a command line (terminal) window with the command: > adb install my_app.apk See the Android Docs for all the ADB options. It's worth your time to learn about ADB

you can connect your phone wuth usb cable and run it. http://developer.android.com/guide/developing/device.html

you can find your file.apk and install it on your device from your workspace > Solution name >bin

if you don't want to generate apk file manually,
Settings > Applications > Development > USB Debugging set it on.
Connect your phone via USB cable.
Run your app.

Related

Unrecognizable device on Android

I want to run my code on the phone. But Android does not recognize my device. I also did the connection assistant.
But the following error is given. please guide me.
Needed informations
Is ADB installed with Android Studio, or have you got external tool?
Is there a generic Android USB Device driver installed? It's provided with Android Studio, and should be obtained with SDK Tools.
Possible solution
If even AVD cannot be recognized, it could be fault of built-in ADB server. I would recommend installing ADB as an external program, e.g. from here (ClockworkMod page).
After installation, reboot PC and plug your phone in. If phone is visible, check for availability via adb devices command from CMD/terminal. Don't launch Android Studio yet, as it has its own instance of ADB server and you wouldn't be able to launch second one from console.
If phone is visible, use adb kill-server command to finish the console instance, and launch Android Studio. Everything should be detected, if not - you really should submit that bug...
If phone is not visible all the time after issuing adb devices, there is a chance that not all drivers are installed. Check ASUS for drivers, if they were installed automatically - install them manually.
Hope it will help!
Have a look at PdaNet+
Install both the desktop client and the corresponding android application from the google play store. Once you plug in your device it will prompt you that your device has been connected and adb should recognise it.

Android - Install apk to mobile through wifi network

I am new in android and working an android application now.
Here i am asking an option to install apk on my mobile while building the application.
I need to install apk to mobile through wifi, Is it possible, if yes the how?
Please see my scenario,
1-I need to build the project from the android studio
2-apk automatically need to install on mobile
3-mobile and system should be connected to a single wifi network
step 1:- go to the folder of your sdk/platform-tools and open cmd at this path
step 2:- type adb tcpip 5555
step 3:- find the IP address of your android device with adb shell netcfg
step 4:- type adb connect DEVICE_IP_ADDRESS:5555
Note:- Keep your device connected with your pc using datacable while
this process. After this you can disconnect your device.
After this process you can debug or run your app wirelessly via wifi.

Deploying app in android with phonegap

I have phonegap install in my pc, the drivers of my android are installed as well
now i run:
phonegap run android
from within the project directory
"Waiting for emulator" message is recieved
how can i deploy the app directly to my android?
Seems the device is not conectect...
maybe the ADB driver is not working on the PC...
or you don't enable the USB debugging option on the device.
On the command line write: adb devices.

Trying to debug apps from eclipse on android

I am developing apps for android and I bought an bq Maxwell 2 Lite, and I wanted to test them in the device, but i can't seem to do it... can somebody help me with that?
The android version on the device is 4.1.1 and I have enabled debugging throw USB.
Thank you all for your time and thanks for all the help
Carlos Morgado
So to test with any device you need
Install the driver for the device on your OS.
Enable USB debugging on your device.
Plug-in the device through an USB.
Run the app through the IDE and select the configured device to run the application
This should help you get started.
For using USB debugging in eclipse, make sure that you have all the drivers installed. Open sdk manager, under extras you can see Google USB drivers, make sure that this is downloaded.
If after this also it didn't work, go to device management if you are using windows and find your device. Right click on your device and update device drivers, update from my computer and give this folder sdk folder\sdk\extras\google\usb_driver. Set platform-tools folder in your path variables and run these commands:
adb kill-server
adb start-server
You can see list of attached devices using this command:
adb devices

Android: Running on real device

I am new to Android. I can't get the application to run on real device. I'm using Eclipse.
I followed as is said in the android developer forum but eclipse AVD is not finding any usb connected device. I enabled usb debuging in my mobile and set android:debuggable="true" in manifest file but Eclipse is not getting the device connected.
Did your PC recognize you phone device?In other words,did you install driver correctly?
Probably there is only one point you're missing. According to http://developer.android.com/tools/device.html you have to install usb driver for adb (if you are developing on windows) or you need to add a udev rules file that contains a USB configuration for each type of device you want to use for development (if you are developing on Ubuntu Linux)
Before testing your application on real device please check your device is visible in Running Devices or not.If it is not visible simply do one thing install PdaNet on your desktop computer it will detect driver for the respective phone and install it.You can get it here
see this url: http://creandroid.blogspot.com/2013/10/del-eclipse-un-dispositivo-android.html
OR
http://developer.android.com/tools/device.html
IN thoses link is how to run aplications direct in real device

Categories

Resources