Android :: Software Packaging / How To Create Installer (apk)?
Aug 21, 2009
In Windows, we write "installer script", and user an "installer compiler" to generate an installer, let's say .inf for .msi/.cab and .nsi for NSIS.
But when it comes to Android, is there a similar method?
View 2 Replies
Oct 28, 2009
I've noticed that the PNGs of my application with some gradients effects looked terribly bad at the device (a Samsung Galaxy) and at the emulator, and I've found the following note at the documentation (http://developer.android.com/guide/topics/graphics/2d- graphics.html):
Image resources placed in res/drawable/ may be automatically optimized with lossless image compression by the aapt tool. For example, a true-color PNG that does not require more than 256 colors may be converted to an 8-bit PNG with a color palette. This will result in an image of equal quality but which requires less memory. So be aware that the image binaries placed in this directory can change during the build. If you plan on reading an image as a bit stream in order to convert it to a bitmap, put your images in the res/raw/ folder instead, where they will not be optimized."
I've tried the res/raw suggestion, but it didn't worked.
I've tried to use the image as JPEG as a workaround, but I couldn't use 9-patch.
I've uploaded a comparison between the original png and the "optimized" png that is shown on the emulator or devices: [url]
One workaround would be put the images at /assets/ and manually load and set the image on the ImageViews, but it requires a lot of code changes.
View 11 Replies
View Related
Sep 8, 2010
I have created a SQLite database on my PC. I have imported it into my assets folder in the project directory. How do I access it from my Android application?
View 1 Replies
View Related
Jul 10, 2009
I have an SQLite DB file. I wish to include the sqlite file with my apk. How do i do that?
View 4 Replies
View Related
May 3, 2009
I've got ~200 png files in the /res/drawable folder, mostly interface and sprite sheet stuff. They're all indexed pngs, and weigh in at a grand total of a bit over 400kb.
When I run aapt to package them into the apk, their filesize nearly doubles. Opening the apk up with 7zip and extracting the drawables confirms it: 790kb.
Does anyone have any idea why this would be happening? I thought the packaging process was meant to compress the pngs, not inflate them!
View 4 Replies
View Related
Jun 9, 2010
I'm placing the file '.nomedia' into a folder in order to avoid Android's MediaScanner from detecting the media files in the folder. I need to copy this folder (including '.nomedia') from the APK's assets to the SD card (so other apps can make use of these media files, etc.). When I package the APK in Eclipse, it doesn't package the '.nomedia' file. Presumably it's detecting it as a hidden file. Any ideas how to fix this? Is there a secret aapt flag I can use? I'd like to avoid copying the folder and then manually creating a '.nomedia' folder, if possible.
View 1 Replies
View Related
Apr 12, 2010
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 download. So how do you ensure that, even though there may be a 2.x only feature included, it still shows up for lower OS phones? Or is the marketplace maybe actually holding onto two separate APKs for each OS?
View 1 Replies
View Related
May 19, 2010
I am getting an error in my Problems tab for my Android Project in Eclipse. The error is "Android Packaging Problem" with an Unknown location. Unknown Error NullPointerException
I cannot determine what this problem is. My project was working a few hours ago. The only change I made was to add a public interface ITrackDao to my project and implement it. There are no errors associated with this. I am not even sure where to begin to look. I cannot launch the application.
View 7 Replies
View Related
Oct 20, 2010
I'm getting this crazy error on multiple projects, even when I revert back to prior versions that compiled just fine. Unknown Error - java.lang.NullPointerException Android Packaging Problem Path is blank Location is Unknown. 1 - Project -> Clean -> All 2 - Deleting .metadata folder 3 - reimporting projects into the eclipse 4 - reverting my projects back to prior working versions using git. I just can't get anything to compile now, and I've searched for solutions here and on eclipse forums.
View 3 Replies
View Related
Nov 1, 2011
My team is currently trying to package a native .so library within an AIR APK. This native library is used by a native extension we've built, but the library is not the extension itself, therefore the standard process of creating an AIR APK with an extension does not include these libraries. We have to, somehow, instruct AIR to include the native libs in the packaging process.
The real headache is that for Android to link to these libraries, it appears that they must sit in the following directories (we have 2 .so files):
/lib
/armeabi
mynativelib.so
/armeabi-v7a
mynativelib.so
When using ADT we can include the /lib directory in the APK, but AIR sticks the /lib directory in the APK's /assets directory with the rest of the AIR files....but this does not work because Android does not appear to find the native libs.
how we can get this lib directory sitting at the root of the APK?
View 1 Replies
View Related
Jul 16, 2010
Comes with everything.... Chance
View 4 Replies
View Related
Sep 3, 2010
Can somebody please help me understand what this does? I have the appbrain app already so if i want to i can already go on my desktop sign in to appbrain click install on any of the apps i want on the website and when i next go onto my appbrain on my mobile it will automatically download them. So what does fast web installer do?
View 1 Replies
View Related
Aug 1, 2010
Is there an app available, either from the Market or other sources, which would allow me to install 300 apks at a time instead of going through eachone? I have discovered Droid Explorer but I am not willing to root my phone.
View 2 Replies
View Related
Feb 8, 2010
I need to make an installer which will ask for T&C and install the App . But i am not able to find any tutorial related to the same .
View 1 Replies
View Related
Jun 29, 2010
Is there a way to install Astro File manager without using the market? Because if I would need to install APKs in a situation where I don't have access to the market (No Internet access, etc.) I would need to use Astro File Manager and if I didn't have it installed I would need a way to install it without using the standard way of using the market.it would save me bandwidth to install it from the SD Card each time.
View 10 Replies
View Related
May 11, 2010
So what's the point in an apk installer? I've installed a few apps without it.
View 2 Replies
View Related
Jul 26, 2010
When you scan a qr code, the Dx auto downloads the application installer and executes it. Is there a way (possibly on the pc instead) to just download the app installer, and archive it for later use? I'm thinking about things like fancy widgets, that had to be removed, updated apps that are not as attractive as the original release, or applictions that might just vanish over time. They are all small, and I'd prefer to archive them on our PC, just in case. Is there a way to pull the installers off the internal memory of the phone?
View 2 Replies
View Related
Aug 18, 2010
I developed an "heavy" application (700 Mb !). With an "apk installer" application, i can install it on the Nexus One SD card (Froyo "installLocation" option). My application is heavy because of the videos it contains (located in /raw directory). The problem I have, is that it crashes when launched, with this error :
CODE:............
I dont't understand the reason of this error, because when i try the same thing with a lighter application (250 Mb) it runs perfectly. Has anyone of you ever had this kind of problem ? Do you know if there is a size limit for applications to work ?
View 4 Replies
View Related
Jul 21, 2010
I can't seem to figure out how to use the web installer. Where do you go on the website to push the app to install.
View 1 Replies
View Related
Feb 10, 2010
When providing a user on a mobile, a link to an android application via a web page, it is possible for params from the url to be passed to the app being installed.
I'm guessing the answer is no - but it doesn't help to ask.
The reasoning being that it would be handy for some situations to have a generic app that pulls config information from the referrer.
View 2 Replies
View Related
Sep 7, 2009
The package installer looks to take up a good amount of space when installing applications. We've published a very large game (ProjectINF - 6mb). And it looks to be taking up a good amount of space during the install process, to the point that we have a lot of users emailing us with complaints/requests to "fix it".
From what we've seen, it looks to take about 22mb of free space to install a 6mb apk. While I can imagine taking double or so for unpacking and temp locations, almost 4x the size seems a bit high. After an install with 22mb free, the device has 16mb free (which makes perfect sense). Users also seem to be getting errors on the market when trying to install with less than that amount of space (with no real clear error message, just "Install Failed".
View 14 Replies
View Related
Nov 24, 2010
I have some problem installing my apk file in code. Wondering if anyone could find out what I did wrong.
What I was trying to do is put a Check Upgrade function in our program. When user clicks it, it will send request to our web server and find out what is the latest version. I use app versionName to stamp a version, something like 2010.11.23. I don't use the version code in Manifest.xml file. So our program sees the latest VersionName is later than itself, it will download the latest one, and then use the following code to install the new apk file:
CODE:........
Now looks like, everytime when I changed the VersionName, it will fail to install the apk file. It downloads the file fine. I don't know exactly why. Sometimes, in Eclips, when I hit debug, I got error saying "Re-installation failed due to different application signatures". I don't know if this is the same error caused the installation failed.
So, looks like my questions are:
Should that upgrade logic work? I am wondering if it has something to do with the VersoinName.
What could cause the application signature change? (I did sign our program before I put it on our server, but I always use the same key file for different versionName. )
View 1 Replies
View Related
Apr 6, 2009
Couple of really big issues here that SHOULD be no brainers! But, they aren't. Anyone know what the EXACT name of an application installer on the Market that allows me to install appliations from the memory card? I've been looking for a few weeks now. A search for application installers that allow me to install a .apk file from the memory card turn up mentions about "Apps Installer" and "Application Installer", but I can't find anything with that name in the Android Market. Partial name searches like "Installer" turn up NO results. (That's not very "Google Like", now isn't it? The Android Market website, BTW doesn't allow you to search? Is that right? You can only search the Android Market from the phone? I can understand not allowing us to DOWNLOAD from the market to our PC, but not search so I can find the appliation name I want? Richard Schilling Root Wireless
View 2 Replies
View Related
Oct 15, 2009
I am facing problem in making installer in android.
Is there any solution in android.
View 2 Replies
View Related
May 21, 2010
I plan to make some tasks like DEX file optimization be processed by installd on the background asynchronously, thus installd needs to notify the Installer of the result at some uncertain point when the request has been processed. Currently, a socket connection will be established each time when Installer sends request to installd and the connection will be closed when it returns. Thus I plan to hold another persistent socket connection for the backwards notification. Then whenever a request has been processed, installd can notify Installer through the persist socket.
Is there any other way to implement this?
View 2 Replies
View Related
Nov 24, 2010
I have iRobot Google MID Apad.
How can i obtain appbrain and fast web installer for my apad?
Is there an installer for appbrain market for apad? Where i can download it.
I don't have this application installed on my apad.
View 2 Replies
View Related
Aug 4, 2011
Is there a SIMPLE gui apk installer on mac? I used to use "Droid Explorer" and "Android Commander" on windows.
View 9 Replies
View Related
Apr 18, 2010
I have a simple app with a surfaceview nothing special one would say. However when installing on my phone I get two warnings.
1 - Phone calls
- read phone state and identity
2 - Storage
- modify/delete SD card content.
My really is nothing more than a simple puzzle and I dont understand why I get these warnings.
View 2 Replies
View Related
Apr 5, 2010
My company is developing a new device that will run on Android. I'm tasked to develop the software installation process, including application installations and updates as well as system software updates. I want to leverage as much as possible from the Android SDK. I'm looking for any advice or references to help me get started. I've downloaded the source code for Android 2.1 and have been tracing the source code path for software installations via adb. The path has taken me through adb client -> adb server -> adb deamon - > PackageManagerService -> installd.
View 2 Replies
View Related
Jun 1, 2013
how to use the aroma installer by armarulz? I wanted to use it to make an update.zip to flash my app datas and apks.
View 1 Replies
View Related