How do i put my custom app onto my phone. - Android Studio

Hey guys I am doing some testing with my app that i have created and I want to put it on my phone so i can test it on the move.
How can this be done?
Also can someone run through how I release the app from Android Studio to my Desktop?
Thanks guys.

I am no expert in this field but I found these 2 links which could guide you in the right direction-
http://www.techotopia.com/index.php/Testing_Android_Studio_Apps_on_a_Physical_Android_Device
https://developer.android.com/studio/run/device.html
And I think there's also an option to generate the apk for a given project.Google will help you.sorry I cannot be of much help
Sent from my Moto E using Tapatalk

Both of your above question somewhat work together. You can install the app to your phone by enabling the developer option in the phone's settings and debugging mode, then plug the phone on to the PC/Mac and then click "run" in Android studio and you should see your phone name in the ADB window.
To export the app to your desktop; In android Studio go to Build> Build APK - I hope that helps

andre3 said:
Both of your above question somewhat work together. You can install the app do your phone by enabling the developer option in the phone's settings and debugging mode, then plug the phone on to the PC/Mac and then click "run" in Android studio and you should see your phone name in the ADB window.
To export the app to your desktop; In android Studio go to Build> Build APK - I hope that helps
Click to expand...
Click to collapse
I was trying to mention the build apk option but I had forgotten the exact word [emoji14]
Sent from my Moto E using Tapatalk

Related

convert android app to the G1?

what steps do you need to take to change a android app to the G1?
What exactly do you mean? Android is the OS and the G1 is the hardware.
did he mean "install" instead of "convert"?
i have a app that a German company made for the android os , early in the year before the G1 came out and i cant just install it like an app i have to change something, I'd like to know what that is?
The app was probably made using an outdated and unsupported version of the Android SDK. Unfortunately, the only thing you can do is wait until the developers update it (unless you have the source and are willing to manually review it)
i could post the APK
santaninja said:
i could post the APK
Click to expand...
Click to collapse
The thing is, the source code can't be extracted from an .apk file. It's like taking an .exe on windows and then trying to edit the source code of the program itself. So unless the developer updates the program or provides the source, you're SOL.
Sorry.
have you enabled the G1 to install applications that are not from the market?
Settings> applications > unknown sources?
of course, this will allow you to install it, but if it's out of date and the programming needs updating, you're still SOL.

[Q] How to Use SDK?

I am just a n00b and idk anything about programming except some C++ stuffs
So i installed android SDK on Windows(SP2) and was planning to make some Apps like personalised android launcher for my mini..but after installing the .exe I just sat around like dumb..i just dont know what to do...
So here are my qwestions
1) How to connect my phone to SDK (GT-S5570 Cyanogen music edition by Crazy K_P and android version 2.3.4)
2) how to develop some random small apps as just for getting started
3) i found out an youtube video on how to make Android Launchers but nothing was mentioned on how to run SDK and stuffs
Am posting the video link soon
Hoping to get help from all of you guys here
-Rik(Rittik)
you first need to download the android, open sdk manager n select wich android you want to download, when it finished open avd manager n create new virtual devices, n there you go, start it and you got virtual devices running..
btw sdk is for testing your apps, not creating. CMIIW
Yes, after downloading SDK you have to open the SDK Manager and select the stuffs you need to download like which Platform (Android 2.2/2.3/4.0 etc. ), code samples, documentations etc. Select only the required stuffs like any Android platform or its gonna be a hell lot of time required to wait to finish downloading.
After that you have to connect the SDK with Eclipse using ADT plugin. There are many Youtube videos regarding this, so it won't be a problem.
PS: Before you start with all these stuffs, its always good to have look on several ebooks on Android development, as you're a fresher.
umm thanks to u guys now i am kinda connected..do you guys know how to make apps wid it ?
Sent from my GT-S5570 using Tapatalk 2
Rittik said:
umm thanks to u guys now i am kinda connected..do you guys know how to make apps wid it ?
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
For that you need to start from beginning like creating New Project and coding the stuffs, deploying in an Emulator or you can test run the app in your own phone by installing the apk file. As I previously mentioned start by referring some tutorials, and get in touch with what you are doing.

[Q] Apps won't run.

I copy the apk file to my phone then run the App Installer to install it. then I get the message when I run that "Unfortunately myapp2 has stopped"
Can anyone shed some light on this error? do I have to do something to the phone to allow it to run my own built apps
djfuego said:
I copy the apk file to my phone then run the App Installer to install it. then I get the message when I run that "Unfortunately myapp2 has stopped"
Can anyone shed some light on this error? do I have to do something to the phone to allow it to run my own built apps
Click to expand...
Click to collapse
enable unknown sources in
settings/security
Also, try uploading the app so we can test it here.
djfuego said:
I copy the apk file to my phone then run the App Installer to install it. then I get the message when I run that "Unfortunately myapp2 has stopped"
Can anyone shed some light on this error? do I have to do something to the phone to allow it to run my own built apps
Click to expand...
Click to collapse
Please also post questions in the right place, that would be the q&a ..
Sent from my LT30p using xda app-developers app
Try fixing permissions.
Sent from my LT30p using xda app-developers app
No question threads should be posted in any Development forum and are normally deleted when they are as that's worse than posting questions in General and everyone should know this, especially long standing senior members.
Please ensure you post in the correct sections otherwise future posts will be deleted without notice.
Thanks
AvRS
Permissions?
What permissions where?
And I enabled the allow dev apps in settings
djfuego said:
What permissions where?
And I enabled the allow dev apps in settings
Click to expand...
Click to collapse
settings/security/allow unknown sources....tick the box
Make sure permissions are correct for your app...if you are writitng apps I assume you know how to do this in recovery or manually using rot explorer..
some information that may help us
are you rooted?
what rom are you on?
What app are you trying to install?
It's ok I've found out about ddms.
I have to test my apk locally with the debugger first. ddms.exe
That will run it though the emulator and output error info.

[REQUEST SIGNED APPS] for TizenMod here

LEAVE YOUR APK REQUESTS HERE
also im able to download from galaxy app store, using device spoofer and market enabler any apk from any appstore from any country in any screen size
PLEASE BE AWERE THIS ONLY WORKS FOR APKS THAT ARE DOWNLOADED FROM THE SAMSUNG GALAXY GEAR APP STORE
AND NOT THE PLAY STORE
DONE​
RUNTASTIC PRO
EBAY
FLEKSY
FBQUICKVIEW
INSTANT SETTINGS
GEARWEB
GEARNAVIGATOR
SMART REMOTE LITE
APPYGEEK
GLYMPSE
G2SOCIAL
HANDY F
WATCH STYLER
ULTIMATE MUSIC CONTROL
GEAR CHESS
SOLO AIR
WINGS OF FIRE
GUITAR GEARO
WEARABLE WIDGETS
ATOOMA
QR BARCODE READER
DACADOO
INSTANT SETTINGS (BLUE ROUND ICON-MODDED)
TERA CALCULATOR
D.M.A NAVIGATION
CNN
WATCHER MANAGER
SMART REMOTE LITE
FLEKSY V2.0
FOR APPS TO BIG TO FIT IN ATTACHMENTS GO TO either of these
gdrive
dropbox
mega
BARE WITH ME FOLKS ALL NEW LINKS AND BETTER ORGANIZATION IS A WIP
WIP​
undercoverapp
weather channel
Util Zone
My speed
Converter +
My Dictionary
Accelerometer
Lubberly Bird
REQUESTED​​
here are skin1980s modded apks
-Gear Navigator;
- LauncherGear;
- DMA Navigation;
- RSS Reader;
- Gear2Cam;
- Weareable Widgets;
- Facebook QuickView;
- Ebay;
- GetUp alarm clock;
- Runtastic;
- Endomondo;
- Flesky Messenger.
-Runtastic (screen always on)
DOWNLOAD
reserved
Thanks for these. I have a Chinese gear clone running 4.2.2. I've installed runtastic but have no icon on watch (don't know if thats normal for the app) and starting runtastic on the phone does nothing either. This is the app I'm most excited about getting going, so any advice would be great.
falum said:
Thanks for these. I have a Chinese gear clone running 4.2.2. I've installed runtastic but have no icon on watch (don't know if thats normal for the app) and starting runtastic on the phone does nothing either. This is the app I'm most excited about getting going, so any advice would be great.
Click to expand...
Click to collapse
did you reboot the watch ? which runtastic version did you try
Yes rebooted, running runtastic pro 5.2 on a stock note 3 running 4.4.2. Bluetooth was on and I tried the 'connect smartwatch' setting but it sent me to the play store to get gear manager. Could a gear owner tell me, does the app on the phone trigger the watch app automatically or do you have an app icon on the watch to start the pairing?
Can you please explain how you are able to spoof your device to download the apps from Samsung app store. I have an LG G2, and cannot for the life of me figure this out. Thanks for your help.
Novembre5 said:
Can you please explain how you are able to spoof your device to download the apps from Samsung app store. I have an LG G2, and cannot for the life of me figure this out. Thanks for your help.
Click to expand...
Click to collapse
be very caredful spoofing your device, take a nandroid before you make any changes, and try screenshotting your settings and also back up your current build prop,
device spoofing changes your build prop so when google play store determines what phone uve got to give you the correct apps,start by changing your buld version and rom name, then try screen density, but caution when u reboot to apply the settings your screen may not display,
do some research on device spoofing/faking first
market enabler just fakes your phone operator and country to get other specific apps not available to your own carrier/country
falum said:
Yes rebooted, running runtastic pro 5.2 on a stock note 3 running 4.4.2. Bluetooth was on and I tried the 'connect smartwatch' setting but it sent me to the play store to get gear manager. Could a gear owner tell me, does the app on the phone trigger the watch app automatically or do you have an app icon on the watch to start the pairing?
Click to expand...
Click to collapse
i havent yet tried it myself as im using a samsung tw rom
install gear manager from an apk, and goproviders from an apk with gearstub apk, these apks just cut out the need for samsung app store only available to samsung devices
falum said:
Yes rebooted, running runtastic pro 5.2 on a stock note 3 running 4.4.2. Bluetooth was on and I tried the 'connect smartwatch' setting but it sent me to the play store to get gear manager. Could a gear owner tell me, does the app on the phone trigger the watch app automatically or do you have an app icon on the watch to start the pairing?
Click to expand...
Click to collapse
That is not the android version mate but the tizen. You have to find the right version for your os
Sent from my SM-G900F using XDA Free mobile app
gav83collins said:
be very caredful spoofing your device, take a nandroid before you make any changes, and try screenshotting your settings and also back up your current build prop,
device spoofing changes your build prop so when google play store determines what phone uve got to give you the correct apps,start by changing your buld version and rom name, then try screen density, but caution when u reboot to apply the settings your screen may not display,
do some research on device spoofing/faking first
market enabler just fakes your phone operator and country to get other specific apps not available to your own carrier/country
i havent yet tried it myself as im using a samsung tw rom
install gear manager from an apk, and goproviders from an apk with gearstub apk, these apks just cut out the need for samsung app store only available to samsung devices
Click to expand...
Click to collapse
I was able to change the build prop and now I can install Samsung Galaxy store. I can now browse the store from Gear Manager. When I download and install the file it fails, which I expect. Where is the download location of the apk that fails to install, so I can transfer it to my pc, and then modify it? Thanks.
Novembre5 said:
I was able to change the build prop and now I can install Samsung Galaxy store. I can now browse the store from Gear Manager. When I download and install the file it fails, which I expect. Where is the download location of the apk that fails to install, so I can transfer it to my pc, and then modify it? Thanks.
Click to expand...
Click to collapse
What's failing the app on the phone or the wgt on the watch
gav83collins said:
What's failing the app on the phone or the wgt on the watch
Click to expand...
Click to collapse
When I try to install the app using Gear Manager app store I get WO:WO:Failed.
Novembre5 said:
When I try to install the app using Gear Manager app store I get WO:WO:Failed.
Click to expand...
Click to collapse
oh hmmmm, what did you change in buildprop ???
try using a signed apk in op and get n
back to me
gav83collins said:
oh hmmmm, what did you change in buildprop ???
try using a signed apk in op and get n
back to me
Click to expand...
Click to collapse
I changed these in my build prop:
ro.product.model: SM-N9005
ro.product.manufacurer: samsung
ro.product.brand: samsung
I am currently using an LG G2
I have been trying to download one of your apk files, but I can not, because I am receiving an error message saying your account has too much traffic.
I know I am suppose to modify the apk file, but how do I download the apk file from the Gear Manager store?
Novembre5 said:
I changed these in my build prop:
ro.product.model: SM-N9005
ro.product.manufacurer: samsung
ro.product.brand: samsung
I am currently using an LG G2
I have been trying to download one of your apk files, but I can not, because I am receiving an error message saying your account has too much traffic.
I know I am suppose to modify the apk file, but how do I download the apk file from the Gear Manager store?
Click to expand...
Click to collapse
yes im currently fixing that, ive added links to our other thread, use 1 of skins modded apsk just below mine, in op here
gav83collins said:
yes im currently fixing that, ive added links to our other thread, use 1 of skins modded apsk just below mine, in op here
Click to expand...
Click to collapse
I am able to install the modified apk with no problems. I just was wondering how can I get the apks from the store so I can modify them?
Novembre5 said:
I am able to install the modified apk with no problems. I just was wondering how can I get the apks from the store so I can modify them?
Click to expand...
Click to collapse
the way you have been with build prop edit
or with a samsung phone with tw and samsung galaxy gear apps
otherwise just request in here and we will do them for you
gav83collins said:
the way you have been with build prop edit
or with a samsung phone with tw and samsung galaxy gear apps
otherwise just request in here and we will do them for you
Click to expand...
Click to collapse
Where are the failed apk files saved? I tried looking using root explorer, but I do not see them anywhere. I can transfer them to my computer and modify them, but I cannot find them.
Novembre5 said:
Where are the failed apk files saved? I tried looking using root explorer, but I do not see them anywhere. I can transfer them to my computer and modify them, but I cannot find them.
Click to expand...
Click to collapse
im guessing, if they failed to install they wont be saved, you maybe need to change more of your build.prop to save them, seems like you have only ticked apk to give you the apk, but not tricked the system to instal it
gav83collins said:
im guessing, if they failed to install they wont be saved, you maybe need to change more of your build.prop to save them, seems like you have only ticked apk to give you the apk, but not tricked the system to instal it
Click to expand...
Click to collapse
Okay. Maybe I will pull a complete build prop from an S5. Thank you for all your help. I will be sure to let you know if I have any luck.
Novembre5 said:
Okay. Maybe I will pull a complete build prop from an S5. Thank you for all your help. I will be sure to let you know if I have any luck.
Click to expand...
Click to collapse
be caeful, if screen settings dont match, your phone will boot, but nothing will be displayed on your screen

ADB commands for Android Auto

Hello,
Does someone have a list of ADB commands or intents which can be used with Android Auto?
Thanks.
SOFO888 said:
Hello,
Does someone have a list of ADB commands or intents which can be used with Android Auto?
Thanks.
Click to expand...
Click to collapse
Download app manager and find it by yourself. It shows you in a list and you can press and run one by one. Then you can run every each one with Tasker if you want.
[APP][5.0+][FOSS][ROOT/ADB] App Manager : Most Advanced App Manager For Android
App Manager Note: I am not the developer of this app. I am just posting it here (After taking permission from the developer) so this amazing app can reach to more people who likes tinkering with Android. This app is developed/maintained by...
forum.xda-developers.com
SOFO888 said:
Hello,
Does someone have a list of ADB commands or intents which can be used with Android Auto?
Thanks.
Click to expand...
Click to collapse
Would like to know the same thing. Is there a package name(s) I can uninstall via ADB that will remove Android Auto? Not interested in installing EXTRA apps to perform this. Thanks.

Categories

Resources