I have an android project that create other android app using zip and zipSigner. This app works great but i need to change the app name and package name in manifest so user can create different apps.
I have download this library to parse xml from the apk but dont know how to use it using java.
Can anyone give some ways to use it or maybe other library?
i see that apk editor, apk tool can modify it.
Ive already solve it:
this library give me a good work
Related
Background
I am trying to develop an Android App for coding,for which I want to parse gradle files and download the repositories which users needs.However,I install my app only to see an error which implies Android has got rid of Apache Http.But in Aether,the package is needed.
What I have done
1.I have try to use HttpLegacy.jar to use the deprecated api.But what is necessary for Aether.transport-http is removed ,which I mean is not in Android API or Legacy.jar.
2.Well,there maybe other resolutions such as create an Apache Http compact package by myself.If it wouldn't take too much time,I think,I would do this.
Please help me out.
Thank you for taking time to give me a hand.
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.
Is there anywhere I can get the source code and all the required library files for a NATIVE android app? I need it for an experiment I am working on and I need to test a few apps for the same.
First you must know all dependence in android is write in Android.mk.
Second you can find some code in android source which is connect to you purpose, then looks up its Android.mk, and can find almost you need.
At last, recommand you try ndk, and is supported by Google.
I want to make one application that will monitor chat history of other IM in phone.
I couldn't find any Skype API for Android, although I found Skype4Java API from net. I wish to use this in an Android application. I have imported the .jar file of that API to my Java build path. When I run my code, I am getting errors for libskype.jnilib and libskype.so file.
I also can't delete that file also, because when I attempt to delete that I get an error. Please tell how to do that?
How can I use Skype's Java API inside an Android app?
As of the current writing of this answer, there is no Android implementation of Skype. There are numerous third-party chat APIs, although I personally can't name one since I haven't worked with any.
The reason why the Skype4Java API is throwing errors at you is because it was not designed for use with Android. To delete the .jar file, you must remove all references to it and remove it from your build path for attempting a delete.
I going through a simple tutorial to create a very small android app in eclipse. The tutorial is here: http://mobile.tutsplus.com/tutorials/android/android-sdk-development/.
Now that I have it compiling, what should I do to get it on my phone? Do I need to export the app to some sort of exe? can i just copy and paste that exe into some "app" folder on my phone?
You may want to just follow these directions:
http://developer.android.com/guide/developing/device.html
Unless I need real-time debugging, I find it's pretty quick just to squirt the .apk at my phone and hit a few buttons to install and run it. I use Bluetooth which is fast and clean.
I have a file transfer utility for my PC's BT adapter and I simply 'push' the .apk file (from the bin directory) to my phone. Once received, I select it and it's automatically identified as an app package and I'm asked if I want to install it. Once installed I'm asked if I want to run it.
It's great when playing with samples/tutorials which (hopefully) should be bug-free and also when I'm playing around with layouts and UI elements in my own apps.