I have a problem all the applications im creating are getting installed in phones internal memory. and my phones memory is low so im flooded by the low space dialogue every time. can someone help please, thanks in advance
In the manifest of your application in the stub where you set the version and version name etc add the following tag android:installLocation="preferExternal".
You can keep it as auto so that the app can be made movable to phone or sd card.
see this
http://developer.android.com/guide/appendix/install-location.html
Related
I have about 20 Gb data for my application
here i want to increase my storage.i want to download all in Internal stroage or SD card(external Storage) depending upon where is space for about 20 GB.i am currently i am checking app in android Emulator i am increasing space like bellow screen shot but when i start emulator in storage i found not space increased
can any body tell what is problem and what wrong i am doing?
please help!!
I have a problem moving my application to the SD Card , I learnt to enable an app to move to the SD card , i need to take care of two important things
min SDK must be greater than or equal to 10
set android:installLocation="auto" in android manifest , I learnt that doing that android :installLocation="auto" will do the job than setting it to External
My problem is that Whenever i have an app whose size is less than 50 Mb this works fine , But if the size of the app exceeds more than that, I receive an error stating that "Not enough size in SD card" , I checked my SD card and I am sure that it had enough space to accomodate the app ! what could be the problem and suggest me some possible solutions which would help me !
I am using Icenium to build an application using map services, localisation services and more. I just realised that android-devices stores massive ammounts of pictures in the phones image-gallery. The application is build to look good on any device, therefore, all icons (and some images) come in 4 different sizes (high definition, low definition etc).
So when I start the application on a android-device, the image gallery instantly gets ALL the images that can be used with the app (around 600 small icons + some images).
This is a huge problem, and I havent really found a way to solve this. Is it a built in "feature" of icenium or is it a bug?
edit* Images/icons are fetched from a server at launch, so we do not want them to store locally..
Thanks!
//Joakim
As per the Icenium guys (check out this forum http://www.icenium.com/resources/forums/android-devices-/app-icons-and-images-displayed-in-gallery#a8qHkcQkbkiGelukQjTr6g), this is only true when your application is build in Debug, because in this case your app is on the SD card. Once the application is built in Release you should not see the app images in the gallery as it would be sandboxed (not on SD).
I am developing an application and because of the images is very heavy (around 25Mb).
The problem is that I have not enough space in the phone memory to install it, but of course I have a lot of free space on the SD card.
I tried already with:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="preferExternal"
... >
but it keeps saying me that I don't have enough space on disk and eclipse sends me an error.
Any suggestion is welcome.
Thanks.
A good workaround is to trim down the APK and download the images upon first run, saving them directly to the sd card. You can provide in the APK low-res images to show while downloading the hi-res ones, if needed.
I have an app that displays an an image in an ImageView using the setImageDrawable(Drawable) method. However, with the release of the Droid Incredible the images are coming up as a blank screen. I am using Drawable.createFromPath(Environment.getExternalStorageDirectory() + "\\imagefile") to access the image from the SD card. I don't get any sort of error, just a black screen. I will get a null pointer exception if after trying to load the image I try to access a property of the Drawable. This makes me believe that the Drawable wasn't loaded, but I don't know why or how to make it work.
This code as been working on all other Android devices, so I'm not sure what is different with the Incredible.
Unfortunately I don't have access to an Incredible to test on, so I've got to rely on others to test and send me the log files. Any help you can offer would be greatly appreciated. If anyone knows how to replicate this issue on the emulator, that would be helpful too. I've configured an emulator with firmware 7 and the correct screen resolution, but I was unable to replicate the issue.
The Incredible does not come with an SD card. Instead, it has 8GB internal storage you can work with. See here for more information.
Heh, I just noticed Mark already said this.
I've verified that it's not an issue with the SD card (although that is another issue to be addressed). Using an Incredible with an SD card installed produces the result described above as does saving/loading the image from the internal memory ("/emmc").