Can I retrieve android files from my debug phone? - android

So my laptop has seriously crashed & i REALLY need my android working files (not backed up)
Is there any way I can get the app from my debug phone into android studio (in another laptop) & have them as working android files - pleaseee help!!

If it's your own application and you own copyrights, you can use some tools for decompiling Android apk. Quick google gave me this.
or you can have a look at Is there a way to get the source code from an APK file?

Related

How to start Android Device File Explorer without Android Studio?

I am building my app with React Native and do not need Android Studio. I am starting the emulator directly from console. However if I need to check files, I always need to start Android Studio to launch the Device File Explorer.
Can I launch the Device File Explorer directly from console or as standalone in some way?
Many thanks!
No, sorry, that specific tool is an integrated part of Android Studio.
There used to be the Dalvik Debug Monitor Service (DDMS), which was a standalone tool that had a file explorer among other things. Google discontinued that some time ago.
The only official solution that I can think of is to use adb pull from the command line.
Otherwise, you would need to see if somebody created a standalone tool for this, or perhaps a plugin for Sonar.

Building Android application inside android OS

Im curious to know the what steps/tools need to build an android app from source code to apk inside android (i.e. inside an android powered smartphone).
Im actually curious how AIDE works. They give a whole integrated development environment as an android app. Without any root privilege, it compiles==>builds==>generates apk==>deploys/installs apk to host machine (i.e the smartphone).
Im guessing I need ANT/Gradle , keytool , jarsigner(to sign apk).
But:
What tools?
In what sequence?
How? :)
I dont know is it a good place to ask? If not, any suggestion of stackexchange network or any blog will be appriciated.
You don't need any extra tools, if you have AIDE installed...
Just wrap up your Android project code, hit the 'Build' button & it Compiles everything to a working Android App (.apk) :)
All you need is just AIDE .
IT HAS ALL REQUIRED TOOLS LIKE GRADLE, AAPT, SIGNER ETC
Just chill and start using AIDE, if you have problem with free version, try Pro. Am using Pro without any problem since 3 years

Anyone know how I can run an android sample app?

I'm fairly new to android development using Android Studio. The examples online say to build with Gradle. I choose Gradle when importing the project but then I get an error saying that it is not a Gradle based project. Does anyone know how I can get over this to run it on my phone?
Pick a sample project to import that has build.gradle file in BOTH the app module directory AND the project root directory.
Strongly recommend rather than importing an existing project, you create a new one from scratch yourself, following along with a tutorial.
Here's a really good first tutorial for Android Studio which is recent (August, 2014) as of this question, so it will all be relevant to the current version of Android Studio.
http://www.codeproject.com/Articles/801078/Hello-Android-The-Hello-World-Application
As far as getting the app onto your phone you can either (a) plug in the USB cable from the phone to your PC and run from Android Studio, or (b) email the app's APK file as an attachment to any email address you check on your phone (such as gmail for example). For the email method, you also need to change a security option to allow apps from unknown sources.

Retrieving an app build from android device

I was working on a game using eclipse and cocos2d-x and through some freak accident I lost all of my data. However, the build of the app is still saved on my nexus tablet from when I would test my app. Is there any possible way for me to salvage the work I've done from what's left on my tablet?
You need to decompile the classes.Here is a tutorial :
http://pof.eslack.org/2011/02/18/from-apk-to-readable-java-source-code-in-3-easy-steps/
And another tutorial with an eclipse plugin:
http://www.mkyong.com/java/java-decompiler-plugin-for-eclipse/
And an older post here in s.o. :
How to decompile an APK or DEX file on Android platform?

Exporting phonegap android app

This will probably seem like a noob question but I have managed to intall phonegap with eclipse and to get the emulator and samples running. However, I am confused on how I would export this inorder to try it on my phone. Is it the .apk file in the /bin folder of the application? Or is there more? I mean like pictures and other files. I'm not used to eclipse. How do I get it on my phone and eventually the market(free only apps).
Thanks
Yes, it's the APK file that is the application. You should also be able to connect your device to your computer and run directly on it.
http://www.phonegap.com/start/#android

Categories

Resources