Reputation: 894
I have 2 questions:
First, I need to to install apk application from my pc to my mobile android?
Second, how I run my code in the mobile directly? I install usb driver but my pc can't detect the usb of my mobile
Upvotes: 8
Views: 122853
Reputation: 1
1.question answer-In your mobile having Developer Option in settings and enable that one. after In android studio project source file in bin--> apk file .just copy the apk file and paste in mobile memory in ur pc.. after all finished .you click that apk file in your mobile is automatically installed.
2.question answer-Your mobile is Samsung are just add Samsung Kies software in your pc..its helps to android code run in your mobile ...
Upvotes: -1
Reputation: 1
C:\Program Files (x86)\LG Electronics\LG PC Suite\adb>adb install com.lge.filemanager-15052-v3.1.15052.apk
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
2683 KB/s (3159508 bytes in 1.150s)
pkg: /data/local/tmp/com.lge.filemanager-15052-v3.1.15052.apk
Success
C:\Program Files (x86)\LG Electronics\LG PC Suite\adb>
We can use the adb.exe which is there in PC suit, it worked for me. Thanks Chethan
Upvotes: 0
Reputation: 39578
1) Put the apk on your SDKCard and install file browsers like "Estrongs File Explorer", "Easy Installer", etc...
https://market.android.com/details?id=com.estrongs.android.pop&feature=search_result https://market.android.com/details?id=mobi.infolife.installer&feature=search_result
2) Go to your mobile settings - applications- debuging - and thick "USB debugging"
Upvotes: 1
Reputation: 50948
To install an APK on your mobile, you can either:
adb install filename.apk
.
Note, you'll need to enable USB debugging for this to work.Note, that you'll have to enable installing packages from Unknown Sources in your Applications settings.
As for getting USB to work, I suggest consulting the Android StackExchange for advice.
Upvotes: 12