[Q] Max size of app? - Android Software Development

I just finished a new app that is about 32mb. I have 70mb of free space on my phone, but when I try to install the apk it says "not even space, could not install, please free up some space and try again." Even though the app is quite large, 70mb of space should be more than enough. Does anyone know why it won't install? Are apk's not allowed to be >30mb or something? This is the biggest app I've made so far so I haven't had to deal with this issue before, all of my other apps were less than 10mb.

It should have worked.
Here are the limits as I know it:
1. Android market allows a maximum of 50MB per apk.
2. Installing to SD card is also limited but I don't know the actual limit.
3. Installing to internal memory is limited to 50% of free memory.
Try adding android:installLocation="preferExternal" to your manifest file.
Disclaimer: things might have changed since the last time I checked, so I might be wrong.

roee88 said:
Try adding android:installLocation="preferExternal" to your manifest file.
Click to expand...
Click to collapse
I would prefer: android:installLocation="auto" so one can choose where to install the app and you can do different tests. Anyway may attention: this could be used only for api level >8 (it seems it could be used even for OS <2.2 but I've not tested for it).

Hmm I'll try that. I might look into getting a new phone as well because this Desire is starting to feel outdated. Internal memory is so small that I have to uninstall an app almost every time I want to install a new one.

rpimps said:
Hmm I'll try that. I might look into getting a new phone as well because this Desire is starting to feel outdated. Internal memory is so small that I have to uninstall an app almost every time I want to install a new one.
Click to expand...
Click to collapse
ever tried apps2sd?
Sent from my LG-P500 using XDA Premium App

plants vs zombies apk is almost 75mb all on internal.

sweetnsour said:
ever tried apps2sd?
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
What's the difference between apps2sd and just going into the default Android settings and transferring the apps to the sd?
The problem I have is most of the huge apps don't let you transfer them.

rpimps said:
What's the difference between apps2sd and just going into the default Android settings and transferring the apps to the sd?
The problem I have is most of the huge apps don't let you transfer them.
Click to expand...
Click to collapse
if I remember correctly, apps2sd allows you to move the entire /data folder to your SD card (/data is what takes up your internal memory)
just search "desire apps2sd" and I'm sure youll find something
Sent from my LG-P500 using XDA Premium App

Related

[q]MOVE GOOGLE MAPS TO SD CARD ???

Ok so I think Google maps is awesome! But, it's a hog. It takes up 15MB of memory on my phones internal memory. Is there anyway to move it to the SD card and have it still work properly? Yes, I used the search. Found some links on how to move it if your on WinMo. But, found no resuts for Android. Anybody have any ideas? Thanks.
If it's installed as a system app you can't move it to SD by default. If it's installed on the data partition then you can move it to SD like most other apps. I believe you can just remove it with Titanium or something similar and then download it from the Market so it installs in Data.
^ Shift Faced
just out of curiosity, are you running low on storage?
EVO Shift and XDA app
No, not running low. It's just that I've noticed the size oof the file is huge. After this last update it went up over 4MB. Since their going to keep updating it I want to put it on my SD card. That way I'm not so concerned about the file size.
Shifted from neverland using XDA Premium App
jesusice said:
If it's installed as a system app you can't move it to SD by default. If it's installed on the data partition then you can move it to SD like most other apps. I believe you can just remove it with Titanium or something similar and then download it from the Market so it installs in Data.
^ Shift Faced
Click to expand...
Click to collapse
Tried uninstall with Titanium Backup, didn't work. All it did was say it uninstalled. But it actually didn't fully unistall. Just made it unuseable. Glad I thought about it and did a backup first. Well it was worth a shot . I'm still not convinced it can't be moved.
That same thing happened to me, I uninstalled it and it was still there. I rebooted. It was gone. DL from market and I was able to move it to SD.
Sent from my Evervolv powered Shift using XDA Premium App
I think the issue with me not being able to move it has to be, because I'm on the Stock Sence Rom.
Shifted from neverland using XDA Premium App
Yeah, maybe I over looked that haha. I couldn't find a way to move it on the stock rom either. But, I moved on to 2.3.
Sent from my Evervolv powered Shift using XDA Premium App
Going to switch to a custom rom. Too many limits on stock rom. Oh well, it was nice while it lasted.
Shifted from neverland using XDA Premium App

Apps2sd?

Is there a way to enable apps2sd with stock 2.2.1 firmware or if not what roms are available to do so?
New to the Droid family
Sent from my DROIDX using XDA
Try liberty and/or root tools by jrummy16. It seems to be the most popular way to go.
murderfacekill said:
Is there a way to enable apps2sd with stock 2.2.1 firmware or if not what roms are available to do so?
New to the Droid family
Sent from my DROIDX using XDA
Click to expand...
Click to collapse
Sorry, i gotta ask... why do this? DroidX has what? 8gb internal? apps2sd is not compatible with all apps (widgets, etc), and it certainly improve performance. AFAIK it also decreases sd card life? Why? It's not for more space, it's not for performance, and it's not gonna help compatiblity, why??
I have to go +1 on apps2sd being a bad call for the X. I had literally hundreds of apps on mine. Only a few play well with apps2sd, one reason I outgrew my D1. Memory is one thing they addressed with the X. You could fill it up, but there is just no way you would fill it up with apps you actually use. There is an app called apps2sd free on the market if you want to play with it, but I promise you there is no need, and after you test it, you will see that there's just no reason to use it. I actually went through and edited the apps that automatically install to SD (such as Twidroid) so that they would install to phone.

Any registry cleaner apps available?

Yo.. any registry cleaner apps available? Or any apps that clean up empty folders that was left behind from uninstalling an app?
Sent from my HTC Desire HD using XDA App
Registry cleaner? Only Windows keeps a registry. If your rooted try Cache Cleaner from the market.
Does it remove empty folders left behind from uninstalled apps?
Sent from my HTC Desire HD using XDA App
Probably not, I wouldn't worry about those.
Lol. So we have to remove them manully then. Thanks man.
Sent from my Desire HD using XDA App
andyharney said:
Probably not, I wouldn't worry about those.
Click to expand...
Click to collapse
Actually some apps leave huge folders behind, especially on the SD card (particularly games). In my opinion it is a major flaw in the uninstall process.
I agree.. its such a clutter. Does in it effect the overall smoothness of the phone?
Sent from my Desire HD using XDA App
Files left on the SD card wont effect performance of the operating system. It may effect the seek speed of your SD card slightly, resulting in slower file opening but not in a way that would be sufficient to cause the problem you are trying to describe.
SD Maid is the only app I have seen anywhere like this. Wouldn't mind finding a free simple app for this function of getting rid of folders from uninstalled apps too.
Sent from my Desire HD using XDA App
ozaghloul said:
Actually some apps leave huge folders behind, especially on the SD card (particularly games). In my opinion it is a major flaw in the uninstall process.
Click to expand...
Click to collapse
It's not a major flow in the uninstall process. It's a major flow in Android developers. Android SDK is perfectly capable of removing app specific data from SD card (/sdcard/Android/data/xyz folder) if app is uninstalled. Developers don't use it, or don't know that it exists, and create the folders as they see fit.
Eddie1506 said:
It's not a major flow in the uninstall process. It's a major flow in Android developers. Android SDK is perfectly capable of removing app specific data from SD card (/sdcard/Android/data/xyz folder) if app is uninstalled. Developers don't use it, or don't know that it exists, and create the folders as they see fit.
Click to expand...
Click to collapse
This is the answer. Android OS will allow an app developer to do practically anything, barring allowing its own SU request.
andyharney said:
This is the answer. Android OS will allow an app developer to do practically anything, barring allowing its own SU request.
Click to expand...
Click to collapse
So its a double edged situation for us users.
Sent from my HTC Desire HD using XDA App
You may have spotted a niche in the market. How are your coding skills?
andyharney said:
You may have spotted a niche in the market. How are your coding skills?
Click to expand...
Click to collapse
Have no coding skills. Was hoping someone can cook up something like that. How about you?
Sent from my HTC Desire HD using XDA App
It's not an easy task to do since there is no deterministic way to know which folder belongs to which app. Only fuzzy matching which is not 100% correct and can be dangerous, or have a list of apps and their folders inside the app which is cumbersome to keep uptodate and would increase the size of the app.
Yeah. Right now viewing my SD card through file manager gives me headaches.
Sent from my HTC Desire HD using XDA App

Memory is full... Need help.

Hi
I just had an issue of the internal memory is getting full even if I already had the applications and games installed in the memory card
But I wonder if there are any way or tips to optimize the RAM and get as much space as possible ?
Sent from my R800i using XDA Premium App
Not much besides returning it and complaining the the 500.00+ phone you paid for came with 3.00 worth of storage. Im being generous saying the internal memory is 3.00 its more like 2.00
Sent from my R800a using XDA Premium App
But there should be away to optimize the RAM coz its totally an clear for the internal memory to get full fast even if I just had only few apps installed. My Iphone have more apps and games installed and I never had an issue with memory
Sent from my R800i using XDA Premium App
yo_yousef80 said:
Hi
I just had an issue of the internal memory is getting full even if I already had the applications and games installed in the memory card
But I wonder if there are any way or tips to optimize the RAM and get as much space as possible ?
Sent from my R800i using XDA Premium App
Click to expand...
Click to collapse
Yes there are many ways. Easiest and fastest download the app: "app to sd" from market and u can move most apps to sd card.
Try that and let me know
Sent from my R800a using XDA App
Plz do return ur phone. U donno notjing about tech. And mobile phones. Go with ur apple ripppp offf buddy
Sent from my R800a using XDA App
I really love this phone but I cant install more apps.. And really iphone is a great mobile. Sure the specifications are not much but I love the iOS updates ( I have used previously iphone 2g for the last three years with no complains)
I dont want to return the mobile coz I love old games ( neogeo , mame...) but I need help in installing more apps.
Cheers
Sent from my R800i using XDA Premium App
I will try it
Thanks
Sent from my R800i using XDA Premium App
Flame the noob, shame on you You don't know jack until someone points you in the right direction. Sure he should have searched a little, but still.
Dude, you got good advice on the apps2sd. The real memory improvements are after you pluck up the courage to root your device, but it's pretty easy. Follow the other posts on same. Then you can check out Titanium Backup from the market, or there is another command you can run if you install the Android Development Kit but it's more techy. Stick to Titanium, it moves most of the game to SD, leaving <1Mb for each. I have loads of games installed & have 150Mb free.
Let us know how you get on...
Thank you guys. I just tried it and it freed around 120MB
I really dont know much about the android and how to handle it properly but really you all are giving a great help and I appreciate it very much
Once again thank you very much
Sent from my R800i using XDA Premium App
Rixter757 said:
Flame the noob, shame on you You don't know jack until someone points you in the right direction. Sure he should have searched a little, but still.
Dude, you got good advice on the apps2sd. The real memory improvements are after you pluck up the courage to root your device, but it's pretty easy. Follow the other posts on same. Then you can check out Titanium Backup from the market, or there is another command you can run if you install the Android Development Kit but it's more techy. Stick to Titanium, it moves most of the game to SD, leaving <1Mb for each. I have loads of games installed & have 150Mb free.
Let us know how you get on...
Click to expand...
Click to collapse
+1
ignore the angry Canadian
yo_yousef80 said:
Thank you guys. I just tried it and it freed around 120MB
I really dont know much about the android and how to handle it properly but really you all are giving a great help and I appreciate it very much
Once again thank you very much
Sent from my R800i using XDA Premium App
Click to expand...
Click to collapse
If you learn how to use adb, you can try the command " pm setInstallLocation 2 ", this will force more apps to install to the SD Card and free up even more space
What i can delete on my internal storage? Where are the rings, Demopictures...? I us apps2sd and i have only ~100 MB free. What is adb and how i us it?
An Ex-iPhone User ;-)
Sent from my R800i using XDA Premium App
I'm not flaming or anything I just want to enlighten the OP.
Ram is not what you are referring to. What you are referring to is the internal storage.
Internal storage = Computer hard drive
Ram is where processes are being run atm. every time you turn off the phone the ram is cleared.
Now like many have said you can use adb and setinstalllocation2. What this will do is install all the applications on your memory card.
German-Guy said:
What i can delete on my internal storage? Where are the rings, Demopictures...? I us apps2sd and i have only ~100 MB free. What is adb and how i us it?
An Ex-iPhone User ;-)
Sent from my R800i using XDA Premium App
Click to expand...
Click to collapse
Follow this excellent guide:
http://forum.xda-developers.com/showthread.php?t=1089282
I was in exact same position as you, coming from Iphone, I did this and all is good.
Ignore the uber nerds on here that give you sh!t. There are loads of nice, helpful people on here and it is a great place, but a few bad apples will continually want to put people asking questions down.
Hi
Thanks for your help and sure I face a couple if issue in my xperia play but like u said I came from iphone background and also like u said there are lots of helpful people here that help me alot
Thank you all for the help and I just startd to understand my special phone
Cheers
Sent from my R800i using XDA Premium App
Red_Kop said:
Follow this excellent guide:
http://forum.xda-developers.com/showthread.php?t=1089282
I was in exact same position as you, coming from Iphone, I did this and all is good.
Ignore the uber nerds on here that give you sh!t. There are loads of nice, helpful people on here and it is a great place, but a few bad apples will continually want to put people asking questions down.
Click to expand...
Click to collapse
I agree wholeheartedly, but this is, so to say, XDA's stance on the matter:
yo_yousef80 said:
Hi
Thanks for your help and sure I face a couple if issue in my xperia play but like u said I came from iphone background and also like u said there are lots of helpful people here that help me alot
Thank you all for the help and I just startd to understand my special phone
Cheers
Sent from my R800i using XDA Premium App
Click to expand...
Click to collapse
First of all check all the apps are on stock apps2sd. Go to settings/applications/manage applications then on the top click SD Card. It will then bring up a list of all the apps that are stock apps2sd conpatable and if theres a tick it means there already on. If no tick click the app then click "Move to SD". Instant more space.
Second uninstall the apps you use least.
Third clear your browser cache. Go to settings/applications/manage applications then scroll till you see Browser click then "Clear Cache"
Forth and finally I would root the phone and uninstall some stock stuff you won't use.
Done.
Unless you're running 2.3.3
DeadlyDazza said:
Unless you're running 2.3.3
Click to expand...
Click to collapse
You can still do the first 3
DeadlyDazza said:
Unless you're running 2.3.3
Click to expand...
Click to collapse
or unless you got verizons play no root as of yet

Cant install apps, insufficent room.

When I try to install an game, it says im out of room.. but I still have 800mb of space left.
How big is the game? I've seen a couple that were around a gig.
Sent from my HTC Glacier using xda app-developers app
estallings15 said:
How big is the game? I've seen a couple that were around a gig.
Sent from my HTC Glacier using xda app-developers app
Click to expand...
Click to collapse
im not sure... Its Chrono Trigger .. I installed it before but it said something about not authenticating.. I uninstalled it and then then it said that after i tried to reinstall it
Have you tried pushing some of your existing apps to your SD card to free up the internal memory?
Bass_Man25 said:
Have you tried pushing some of your existing apps to your SD card to free up the internal memory?
Click to expand...
Click to collapse
Yeah, this. You can go to "applications" in your settings and get it to sort them by size, then selectively push big ones to your SD card. Much better than randomly choosing which ones to move over.

Categories

Resources