Android Question Limit of a List

kohle

Active Member
Licensed User
Longtime User
Hi,

I want to save gps coord. all day.
I want to put them in a list if internet is not avaible.

My question is how many entries can be in a list object and how
can I find out what limit I can use.
Every phone has a different memory size.

The idea is to check memory size before adding to list.
Is there a way to get the memory size

In C, I would allocate a part of memory for the list before using.

Some ideas to share ?


rgs
Kohle
 

fixit30

Active Member
Licensed User
Longtime User
I would personally store this information in a SQLite database and then retrieve them once internet connectivity is restored.
 
Upvote 0
Top