[android-developers] Re: Application (.apk) Size

2009-06-21 Thread Delta Foxtrot
2009/6/20 Streets Of Boston 

> "It wil be smaller than the heap size limit per apps"
> Not true. :=)
> I could imagine creating an app of 50MBytes. 2MBytes worth of code and
> 48MBytes worth of resources (images/assets/etc.). And if these
> resources are not loaded all at once, it should work.
>
> Of course, who would download such a big app to his/her phone..?
>

Given the right circumstance it's easy for some games to exceed that kind of
limit with graphics and additional media files, it's just stupid to think in
2008/2009 that limiting a phone to 64M of space for apps and it's resources
would be acceptable and almost no one would exceed those limitation,
although even the amount of ram that comes with the G1 is what I'd consider
to be on the low side of acceptance.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Application (.apk) Size

2009-06-19 Thread Dianne Hackborn
The only upper limit is the amount of storage space available, and the
amount of temporary RAM needed for whatever queries you are doing.

On Fri, Jun 19, 2009 at 12:12 PM, Fred Grott(shareme)
wrote:

>
> Dianne I have a related question..
>
> How do figure out the upper limit of the sqlite database size an app
> can use?
>
> Fred Grott
> http://mobilebytes.wordpress.com
>
> On Jun 19, 1:52 pm, Streets Of Boston  wrote:
> > "It wil be smaller than the heap size limit per apps"
> > Not true. :=)
> > I could imagine creating an app of 50MBytes. 2MBytes worth of code and
> > 48MBytes worth of resources (images/assets/etc.). And if these
> > resources are not loaded all at once, it should work.
> >
> > Of course, who would download such a big app to his/her phone..?
> >
> > On Jun 19, 1:47 pm, "Fred Grott(shareme)" 
> > wrote:
> >
> > > It wil be smaller than the heap size limit per apps..so if that is 10
> > > megs than assume 4 to 5 megs?
> >
> > > On Jun 19, 8:35 am, indodroid  wrote:
> >
> > > > I also had the same query. What is a reasonable footprint of an
> > > > android application (static footprint)...and what is the maximum
> > > > runtime footprint that is acceptable ?
> >
> > > > Regards
> > > > indodroid.
> >
> > > > On May 27, 3:25 pm, amuy...@gmail.com wrote:
> >
> > > > > Hi,
> >
> > > > > What is the maximum size allowed for an android application?
> >
> > > > > Regards,
> > > > > Abdul Muyeed M- Hide quoted text -
> >
> > > - Show quoted text -
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Application (.apk) Size

2009-06-19 Thread Fred Grott(shareme)

Dianne I have a related question..

How do figure out the upper limit of the sqlite database size an app
can use?

Fred Grott
http://mobilebytes.wordpress.com

On Jun 19, 1:52 pm, Streets Of Boston  wrote:
> "It wil be smaller than the heap size limit per apps"
> Not true. :=)
> I could imagine creating an app of 50MBytes. 2MBytes worth of code and
> 48MBytes worth of resources (images/assets/etc.). And if these
> resources are not loaded all at once, it should work.
>
> Of course, who would download such a big app to his/her phone..?
>
> On Jun 19, 1:47 pm, "Fred Grott(shareme)" 
> wrote:
>
> > It wil be smaller than the heap size limit per apps..so if that is 10
> > megs than assume 4 to 5 megs?
>
> > On Jun 19, 8:35 am, indodroid  wrote:
>
> > > I also had the same query. What is a reasonable footprint of an
> > > android application (static footprint)...and what is the maximum
> > > runtime footprint that is acceptable ?
>
> > > Regards
> > > indodroid.
>
> > > On May 27, 3:25 pm, amuy...@gmail.com wrote:
>
> > > > Hi,
>
> > > > What is the maximum size allowed for an android application?
>
> > > > Regards,
> > > > Abdul Muyeed M- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Application (.apk) Size

2009-06-19 Thread Streets Of Boston

"It wil be smaller than the heap size limit per apps"
Not true. :=)
I could imagine creating an app of 50MBytes. 2MBytes worth of code and
48MBytes worth of resources (images/assets/etc.). And if these
resources are not loaded all at once, it should work.

Of course, who would download such a big app to his/her phone..?


On Jun 19, 1:47 pm, "Fred Grott(shareme)" 
wrote:
> It wil be smaller than the heap size limit per apps..so if that is 10
> megs than assume 4 to 5 megs?
>
> On Jun 19, 8:35 am, indodroid  wrote:
>
>
>
> > I also had the same query. What is a reasonable footprint of an
> > android application (static footprint)...and what is the maximum
> > runtime footprint that is acceptable ?
>
> > Regards
> > indodroid.
>
> > On May 27, 3:25 pm, amuy...@gmail.com wrote:
>
> > > Hi,
>
> > > What is the maximum size allowed for an android application?
>
> > > Regards,
> > > Abdul Muyeed M- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Application (.apk) Size

2009-06-19 Thread Dianne Hackborn
The Java heap is limited to 16MB, but that is just the heap, so I don't
believe code is included.

The basic answer is: keep your app as small as possible.  A little more
detail: the G1 has ~75MB of storage for both apps and data, so if your app
is 1MB it is using 7.5% of that storage which is getting quite noticeable.
Also the code needs to be copied out during the dexopt phase, so if your
size is significantly related to code than that total space needed is
likewise increased.

At that point, it's just a matter for you to decide how much space your
application can take before your users won't think it is worth keeping on
their phone.

On Fri, Jun 19, 2009 at 10:47 AM, Fred Grott(shareme)
wrote:

>
> It wil be smaller than the heap size limit per apps..so if that is 10
> megs than assume 4 to 5 megs?
>
>
>
> On Jun 19, 8:35 am, indodroid  wrote:
> > I also had the same query. What is a reasonable footprint of an
> > android application (static footprint)...and what is the maximum
> > runtime footprint that is acceptable ?
> >
> > Regards
> > indodroid.
> >
> > On May 27, 3:25 pm, amuy...@gmail.com wrote:
> >
> > > Hi,
> >
> > > What is the maximum size allowed for an android application?
> >
> > > Regards,
> > > Abdul Muyeed M
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Application (.apk) Size

2009-06-19 Thread Fred Grott(shareme)

It wil be smaller than the heap size limit per apps..so if that is 10
megs than assume 4 to 5 megs?



On Jun 19, 8:35 am, indodroid  wrote:
> I also had the same query. What is a reasonable footprint of an
> android application (static footprint)...and what is the maximum
> runtime footprint that is acceptable ?
>
> Regards
> indodroid.
>
> On May 27, 3:25 pm, amuy...@gmail.com wrote:
>
> > Hi,
>
> > What is the maximum size allowed for an android application?
>
> > Regards,
> > Abdul Muyeed M
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Application (.apk) Size

2009-06-19 Thread indodroid

I also had the same query. What is a reasonable footprint of an
android application (static footprint)...and what is the maximum
runtime footprint that is acceptable ?

Regards
indodroid.

On May 27, 3:25 pm, amuy...@gmail.com wrote:
> Hi,
>
> What is the maximum size allowed for an android application?
>
> Regards,
> Abdul Muyeed M

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---