apk

Android: how distribute paid application when paid Market is not available in my country (OBSOLETE)

WARNING: this question is now obsolete, as Android Market includes much more countries and such services as PayPal Mobile Payments Library are available. Hi! I'd like to sell my Android application, but I live in Poland and in my country* Android Market supports only free apps (we cannot sell and we cannot buy too). What is the best wa...

How to use and package a JAR file with my Android app?

I have an API in the form of a JAR that I would like to use in my Android app. Not sure if it should be part of the project in Eclipse or kept separate and added to the project properties. This JAR also needs to be packaged with the application, so how is that done for Android apps? ...

apk installation from web page

I'm looking for a sample web page (html code) with a link that will install an apk file directly on my phone by clicking on the link. ...

How to package and access extra files inside my apk

I have some data files that I need to install together with my application on the emulator for easy testing my app on a device. Where can I put files in a way that Eclipse will include them into my apk and how can I access those files after my application is installed on the device? ...

Is there any facility to protect the contents of an APK from user modification?

I was thinking about this earlier and figured I'd ask. If I made an application that has lots of resources, what would stop someone from extracting and adding/modifying the resources I ship with it? Does an application that doesn't want its data manipulated have any sort of option to protect itself? ...

How can I compile Android stock Mms App into an .apk?

I want to make some changes to the stock Mms Android application and install it on my device. However, I have problems with compiling the code checkout obtained from git. I have created a new Eclipse Android project with "use existing sources", setting the target framework to 2.1. However, Eclipse does not find some needed framework clas...

How to include third party classes into the Android apk?

I have a couple of third party classes which serve as a library I can build my application upon. They are contained in a folder which was added Java Build Path -> Libraries (in Eclipse) with "Add Class Folder". It works fine so far an my app compiles. But the produced .apk contains only my classes and therefore the application does not r...

Programmatically determining running APK (or DEX)'s filename?

Hi I would like to embed user-specific data on-the-fly when distributing an APK from my website (NOT from the Market). My current idea is simply to embed a unique ID in the APK filename. This is simple enough and changing the filename doesn't break the code signing. My current issue is trying to retrieve the filename (APK or DEX) so t...

Android Certificate Changed?

I recently formatted my computer and updated to Windows 7. I backed up my keystore and tried to sign my apk with it but it gave me an error that said my certificate expires in 22yrs. which is just shy of what the market requires to upload the apk. So now I am stuck not being able to update my app... How did this happen? Is there a way ...

Does Android keep the .apk files? if so where?

After android installs an application from the Marketplace, does it keep the .apk file? Is there a standard location where Android would keep such files? ...

Why signed android apk is not running on emulator

I have made a signed apk of an android project. Whenever my client try to run it on the emulator, he faces the following error message: D:\Android\android-sdk- windows\tools>adb install -r abc.apk 500 KB/s (6940708 bytes in 13.534s) pkg: /data/local/tmp/abc.apk Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES] What is the resolut...

Packaging multiple items in an Android APK

If I create an application for Android, how do you package extra items in with it like a live wallpaper or widgets? For example, google maps does this by including a live wallpaper with the download of the latest version. On a related note, with google maps, it's available for, I believe, 1.6 and up, but it seems that it is all the same...

Sign application with several certificates

Hi, From the signing documentation at http://developer.android.com/intl/zh-TW/guide/publishing/app-signing.html: When the system is installing an update to an application, if any of the certificates in the new version match any of the certificates in the old version, then the system allows the update. This indicates that an applic...

Invoking activity from APK in another android application

Hi all, I have an android application that starts an activity and is running well. I need other developers to be able to integrate my APK into their applications in such a way that they can start the activity in my APK from their android applications. What are the ways of achieving this? Thanks George ...

Programmatically forward-lock an Android APK

Doing a bit of advance research, and am stuck on the point summarized in the title. Namely, is there any way to forward-lock an APK installed programmatically, from another app? I've not come across anything beyond a hint in the following post: http://groups.google.com/group/android-developers/msg/e39941389d4a4cf8 I can't see anyth...

Android: how to share code between projects signed with the same certificate

In Android documentation concerning code signing we can read: "By signing multiple applications with the same certificate and using signature-based permissions checks, your applications can share code and data in a secure manner." How exactly such code sharing can be done? Is it possible to release main application and multiple exchange...

How to make an EXE file using .apk file

am almost done with my project in android, now I want to make the executable version of the application. I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse. ...

is it even possible to modify .apk, by adding additional class to .dex and re-packing with modified manifest.xml??

is it even possible to modify .apk, by adding additional class to .dex and re-packing with modified manifest.xml?? I know there are tools such as baksmali / smali to disassemble / re-assemble given classes.dex from .apk, but not sure limitation what could be modified from there on? I'm trying to add additional activity, to modify st...

How do I Install external APKs necessary for my app in the Eclipse ADT?

I need to rely on external app (Barcode scanner in my case). The eclipse emulator crashes when I try to download it from within the emulator itself. Is there a way to download it using the emulator? Or Is there a way to directly install the APK and make it available for my application? ...

Compile android project to apk without eclipse

What I have done is I have taken the class-files from my eclipse project and run them trough an optimizer/obfuscator. So I now have optimized class-files that I want to get in the form of an apk so I can sign and publish it. However, I am lost on how to do this. I guess I cant just copy them into the bin-folder of my eclipse-project, bec...