Ive written a program for my android device and its installed and working on my phone (S3), BUT ive just lost my PC HD and thought id saved my eclipse android coding folder but I didn't, the program is only a small one but took me a while to perfect so i need to recover it into eclipse to edit it more and save it.
Any ideas?
Cheers people
Mark
What you can do is since you still have the working app on your S3, you can use something like
Use ES File Explorer to back up the app and retrieve the .apk file.
Decompile using: http://www.decompileandroid.com/, or APK Tool
Related
i have a huge issue, i was working on my flutter app and my laptop suddenly burned. Hopefully i was able to extract my data and put it on an external hard drive.
With a new computer i try to find my application and use it but in the folder of my application i find new files like: vsc.xml,
runConfigurations.xml, modules.xml. But all my folders: lib, pubspec.yaml disappeared as you can see in the picture.
I used visual studio code and git on my old computer. I am totally new with git and flutter and this why i would like to know
how is it possible to get back all my code? I’m desperate, it’s months of work... if your have a solution i will be very glad to hear it.
If it's not possible to get back my code, i have the last version of my app on my phone is it possible to extract the code source from my phone ??
Thank you for your helpenter image description here
PS: Sorry for my frenchglish
I'm having three not rooted phones here. Two of them have Android 10 and one has Android 8.0. On one with Android 10 I just cant access the app files in /data/data directory with the Device File Explorer in Android Studio.
The error I get is:
`run-as: /data has wrong owner: 0/1000, not 1000´
I'm just not finding anything useful to fix this.
Since I had to dive into the comments of the original question to solve it for myself, I'll repeat the answer that helped me.
I uninstalled the app, restarted my phone, installed it again with android studio and it worked like a charm after that.
In case you're still looking for an answer.
This most likely happens when your database is created in the past (probably from some code that was a bit off). I advise you to delete the existing database from the device file explorer, make sure your code is right, and re-run the app.
This should create a new database and work.
I have seen this question before on this site, but the solutions have eluded me.
I have an app that I like, an app no longer supported by the developer. It's called DragonMobileApp. I'd like to copy it to my PC so that I can add it to another phone that I own.
Unfortunately, I can't figure out where it is in the file system on my phone. I've tried ADB and MyAppSharer and nothing seems to work for me. (Not the least of which I think I'm not actually able to see all of the files on my phone.)
And, of course, if you help me solve this problem, then I'll need to figure out how to load it from my PC onto a phone.
Thanks in advance for your assistance. I really did try all the solutions I found here before posting this question.
Install Xplore app from Store
Open it and click on App Manager
Click and hold the App and select Copy
Select a folder from your memory card or a folder you'd want to copy the apk file to
Click Ok to complete.
I'm guessing you don't need help to copy a file from your device to your PC.
Cheers!!!
After installing the .apk file in my device ,when i am trying to open it it is saying Unfortunately the application has stopped.
Its working fine on my Rhomobile's Android Rhosimulator,then I cant understand why it is saying so.
Update:
Today I built the .apk file in my local machine which size is 11mb compare to the size of the .apk file which I had built on Rhohub which was 3.5mb,One interesting fact is that the file built on local machine is working but it has created 2 more problems:
1. The .apk file size is too much for a simple application which my fellow developer had built purely on android and java and it was 1 mb.
2. The css file which I has included is working some time when I open the application and some times it doesn't work.
Guys can you help me to reduce the file size I know that being cross platform(Rhomobile) size may be large but 11 times more is too much.
Ok guys I dont know how it happened, I think because I didn't try to run the application with any other android versions.
So finally my application was created successfully and built with only 2.5mb.
Same is the case with me. I just have Rholog.txt and i have a question, do we need Android SDK on local system configured in Rhostudio to make the app work on actual android device.
For testing i use rhosimulator inside rhostudio.
Im currently in the process of byuilding an app with phonegap on android.
I Prepared a "spoof app " with tests of some functionnalities i wanted to try before starting to develop fully.
I built my app and signed it so i may install it on my phone with the apk.
The problem is , my app works fine but i cant find the file system of the app in any of the devices i tested the app on. I wanted to retrieve the SQLite database or a file i created but i cant because i cant find the filesystem of the app in the device.
Is there anyway other than rooting the device to see my app in the phone filesystem when plugged with usb?
Or is there any way i can retrieve easily the databases my app created on the phone?
EDIT: my devices dont have SDCARDS and doesnt support SDCARDS either.
PROBLEM SOLVED
Since i found out that i would have to root the phone or the tablet to acess the filesystem i review my app functionnalities and i found out i could create a foler on the phone with phonegap , but still i couldnt see it.
I then opened the DDMS perspective in eclipse and looked throught the filesystem and found out that the folders i saw in my phone were in the mnt folder, in the sdcard directory. (mnt/sdcard)
I then used the filesystem acess of phonegap to create a directory on my phone.
fileSystem.root.getDirectory("**/mnt/sdcard/com.seventest.com**",{create:true, exclusive: false},gotDir,fails);
So now i can access a directory and push anything in it i need to access for my app to work with.