Android: lost project files just have key and apk - java

I wrote a little app just for a very small group of people over three years ago. Because I have currently enough free time I decided to add a Feature, but I am just able able to find the apk, the key and some icon files(stored on my server). I have changed computer twice, and most likley it got lost somewhere. It would no Problem to complete rewrite the app, but is it possible to recover the app from the apk and my key?

For the most parts of your project the answer is yes. You can decompile your apk to retrieve the java code. This link should be useful:
http://forum.xda-developers.com/showthread.php?t=1910873
I don't know if you can recover the xml-Files like the manifest from the apk.

Related

How do I run an apk on J2ME?

Whats up! I just want to ask, but how do I run an .apk file j2me. I know that this question HAS been asked, but I can't seem to find an answer. Also, i'm not asking to run j2me apps on android; there are already tons of emulators. Im asking for apks running on j2me. I also know that they are developed in different VMs. So, is there any way to do that? Also, another side note, how do i resize the screen of an apk file? Thanks!
-Apersonwithalaptop22
(Edited to be easier to be understood)
You don't. A J2ME environment wouldn't have the Android framework. You'd need to write a complete android framework in the j2me language. It's not as simple as just converting dalvik bytecode to jvm bytecode- it's actually providing every single android class in the SDK. It could be done, but it would take one person a few years to do, and some things would never work quite right. Possibly you can find a project that's tried to start that effort, although I would doubt it- android moves relatively rapidly for them to keep up, and j2me is basically dead.
As for resizing the screen of an APK file- you don't. APK files don't have a screen size. Instead the idea is to write a UI that scales.

Create Multiple apps of the same project

I have been searching a lot for the best practice for my problem and didn't find anything useful so far.
My problem is:
I have platform that create E-commerce apps for the user and than we publish it for the users on the play store.
NOTE: each app have different name and maybe different google account.
Every time there's bug fix or new feature, we need to copy paste the same code in every project and then upload them again to the store.
My question is:
Is there's smarter way to deal with this ? i mean what if we have 100 app of the same project, that will be pain to update the code in all of them and than upload all APK's again.
Maybe there's way to update the classes and content dynamic ? or even some tool that can organize the whole thing or manage uploading the APK's ?
Thanks in advance.
You don't need to copy paste the same code in every project and you don't even need different google account.There is a process called white labelling apps in which you can manage unlimited apk from a single project. Just add all the clients in product flavours in gradle file with different application id. Follow the link attached for detailed procedure of white labelling
https://proandroiddev.com/advanced-android-flavors-part-1-building-white-label-apps-on-android-ade16af23bcf

Can a Xamarin-android application be updated to native java android application?

I have an apk generate by xamarin android.I am trying to update that application using another apk generated from android studio(java).
Is it possible to update.
1. Using PlayStore.
2. OR Without Playstore.
It will be helpful if someone can explain about updating apk's and regulations from different platforms. I am not able to find any source for this kind of update. Thanks in advance.
As long as the package name and the certificate you use to sign is the same, the actual code in the APK doesn't matter. You could have an app, first created in unity, then updated with Xamarin, then Java and update it without issues, as long as you have the certificate and package.
So basically, as long as you use the same package name and certificate, you can update it even if it's running on a different framework/language/engine

How To Convert Android APK Into Java & XML File? [duplicate]

This question already has answers here:
Is there a way to get the source code from an APK file?
(32 answers)
Closed 6 years ago.
My friend and I are building an android app for an FBLA State Leadership Conference Competition.
We used MockingBot to create a "blueprint" for our app, and planned on using Android Studio to replicate the design & make the app functional.
We downloaded the Android APK file from MockingBot. Instead of re-making it on Android Studio, is there a way that we can extract the Java & XML Files from the APK, and put them into Android Studio to complete most of the XML work, then tweak it from there?
THANKS
You'd normally be able to do something like this with a number of tools. apktool and dex2jar are good, jadx is a great all in one solution too. In this case, it looks like MockingBot uses Cordova to generate your app, meaning there is almost no real Java/Android code to decompile. It is essentially a web wrapper so you can build cross platform apps.
jadx will still allow you to extract everything from the application, but it might not be easy to reconstruct. I would suggest checking out Apache Cordova, or another project that implements it, such as Ionic if you intend on going this route. If you do, I also suggest using an IDE better for web developing. You can still use Android Studio, but vanilla Intellij might make your life a little easier.
Assuming MockingBot didn't use any Cordova plugins, you can simply unzip the APK and use what falls under the assets/www directory to start customizing your app using Cordova.
Edit: Because I can't comment without at least 50 points... This actually isn't a duplicate as was already suggested. The question might seem similar, but web wrapped applications are very different from those built using Java and much easier to decompile/reverse. The answer linked in your comments will very likely not help you.

Combine 2 apks together so they are installed together

I am creating a game with some additional features, so I am using a normal JAVA development way and Unity for 3D graphics and the whole engine. These 2 parts are connected and both needed for the game.
The problem I am facing at the moment is how to combine them together so that user don't need to download 2 parts separately? Would much more convenient that download/install would happen together.
I have all the source files in Unity, but the only type I can export them is apk.
So I assume if there is a way to do, it should be done merging apks?
I dont think you can merge apk without creating one big apk by coding them again but you can make an apk and that apk will only download these 2 apk and then delete itself, or download these 2 apk into same folder
With than user will only download one apk and apks will contain in the same place.
If you still need it you can try that and let me know if my advice is helpfull :)

Categories

Resources