Page 1 of 1

Is 20 MBs of RAM the best Livecode can do?

Posted: Thu Oct 25, 2012 6:06 pm
by Cool Dave
I need to make an app which has a notifier. For example, when something new comes out, I want it to alert the phone user via notification. This means I need something running 24-7 to periodically look for notifications.

Is there a way to make a livecode app that doesn't take up about 20 MB of RAM? Or am I overlooking some other possible way to use notifications. If I can't find a way to do it, I guess I'll either have to not use Livecode or make a different app in Eclipse to run the notifications.

Any ideas?
Dave

Re: Is 20 MBs of RAM the best Livecode can do?

Posted: Fri Oct 26, 2012 11:07 am
by monte
I think you want push notifications rather than an app runnig in the background constantly polling for notifications. That's what push notifications are there to avoid.

Re: Is 20 MBs of RAM the best Livecode can do?

Posted: Fri Oct 26, 2012 8:57 pm
by Bernard
I don't know where you are getting 20MB from. I have just looked at (an admittedly minimal) Livecode app on my Android phone, and the app is just above 5MB.

If your app is more than 5MB, then I would think that it contains other assets. Does it contain a lot of images or sounds?

Re: Is 20 MBs of RAM the best Livecode can do?

Posted: Sat Oct 27, 2012 6:32 am
by Cool Dave
Hmm...I had thought that my helloworld apps were sucking ram as well, but I guess I was wrong. My app in not massive, but I haven't slimmed it down yet, so that might be the problem.

I didn't know about push notifications, thanks for letting me know.

I'll look into it tomorrow...It's late over here.

Thanks both of you for your great answers!
Dave