apk

view content of apk file

Hi, Is there a way to extract and view the content of an .apk file? ...

How to test an Android Library Project

I am writing an Android Library Project basing on Android Bitmap class (call it AndroindLib) which contains only utility class (no activity). I tried to test it using Android JUnit, but it keeps complaining that can't find the AnroidLib.apk What's the right way to Unit test Android Library Project? Thanks. Lily ...

Invoking android apk from another apk

I tried invoking an android apk (AA1) from another apk (BB1) by raising intent. But BB1 starts starts AA1 in its own process space and it does not use the existing running process of AA1. How can I achieve a. I want BB1 to use existing AA1 if it is already running. b. If it is not already there, it should invoke AA1 as an independent ap...

Assemble a dex file

If you take an apk off the android filesystem and change the extention to .zip then open one of the xml files it won't work because it's encoded in dex. But you can run ./adb dexdump -l xml layout.xml > ~/Desktop/layout.xml then edit it to your likeing. I can't figure out how to get it back in the apk though. I think I need to encode it ...

Import Android APK archive?

Can an Android APK archive be imported into another Android project and accessed the same way as a JAR archive can? ...

How to create a license key as a downloadable, and check for it on Android

I'm sure this is fairly basic, but I don't know quite what to search on to get a concise tutorial. I want to create an app and make it downloadable on the Android Market for free. Then, I want to create one or more apps which are just license keys which open up certain functionality on the free app. What's the best way for the free ap...

How do I transfer .apk files to device using Eclipse

Gotta problem. My employer won't allow anybody access to run / line command tools on our computers. No way to run ADB (Android Debug Bridge) without that control. I'm using windows, no way to access the registry, no way to manually add cmd.exe, i've tried..) Screwing the staff is a sure way to reduce IT costs though, sigh. I notice ...

How to put a wallpaper inside an apk file?

I'm planning to release a nice clock widget and I'd like to include a pretty wallpaper with it (want to do this because previously got some comments like "can i get the matching wallpaper? ;)") So I tried to google on how to put some image file inside apk so that it would appear in wallpapers selection list after installation. I mean th...

How to build .apk file from Windows command-line?

Hello everyone, How can I build and signed (keystore) the .apk file using 'apkbuilder.bat' via windows command-line ? I try to run the following line: apkbuilder.bat %APK_File_Name% -u -z %Project_Path%\bin\resources.ap_ -f %Project_Path%\bin\classes.dex -rf %Project_Path% but I'm getting the following exception: java.lang.ArrayInd...

Android Market - Error While Uploading APK file

Just now i have developed an application and now i am ready to upload it on Android market, but when i am trying to upload, it showing the following error messages: Market does not accept apk signed with the debug certificate. Create a new certificate that is valid for atleast 50 years. Market requires that the certificated used to sign...

why won't apk file update

I'm developing an android app using Eclipse. I export the app using the Export Android App function. I sign and align the resulting apk file. I then copy this apk to a webserver and try to install it on my phone. It goes though the installation steps, and when I test the app it does not contain my latest changes. It seems to install...

How do I get the .apk url of an android app in the market?

I have an HTC buzz, which has a smaller screen (QVGA) than most android phones. Now there is an application (hyves) which is in the market but when I scan their QR code or try it via appbrain it keeps saying Not Found. A frien of mine (who now is in belgium) has a G1 and I've copied the APK when he installed hyves. The app itself works f...

When I install my apk I get an icon for every class in the project

I have a project in Eclipse with maybe 7 different classes that i open with Intent. The problem is when I install the .apk on my HTC phone I get an icon for every class. How do I make the project so it installs as one app only? /Johan Andersson ...

Building multiple apks from on android app source

The application reads a key from a file to hit production vs test server. I want to create a test apk build that will pick test key and second build apk for release that will pick the production key I am currently building app using eclipse ...

Nesting Android APKs

Hey, Is there any way to nest APKs so that you can open one with another? I am looking to wrap a bunch of APKs with some control options that can fire an APK when selected. Even if i can start with one opening one other it would be a start... I have thus far tried the dex loader to no avail... Keep getting a load error in the log dump...

Android start intent to view apk

In my application I am downloading and saving an apk to the sdk card and then I want to start the installation of the apk. I'm using the following code to attempt this: Intent intent =new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(file), "application/vnd.android.package-archive"); activity.startActiv...

self upgrading own apk via net programmatically on android

We have to port our software to android. One of the main feature of our software should be that the software can download a new version of itself from the net (our own server) and install it's new version too. All this thing should be done programmatically. I'm new to android, so haven't got any clue how should it be done. How to crea...

How to parse the uploaded apk file with Java code?

I want to know how to implement java code to parse the apk file, get the android application version number and so on, such as after you uploaded android application in Android Market, it will get the version number, permissions. Anyone can give me idear? Thanks a lot. ...

Android - Add more levels to game without the need to download or update a new app from the Market

Hi, I'm working on a platform=app for games and I want the user to be able to choose games like some kind of an add on, then it will download some file (a game) which my app knows how to read and work with. Basically, what I want is to build a market without apk files. Or to generate a new kind of apk files. I hope you can understand...