App structure help request
Posted: Sat Nov 03, 2012 5:58 am
LiveCode noob, experienced programmer here. I'm working on a pretty straightforward app targeting phones & tablets. There are multiple pages of icons. Click an icon and a sound file plays. You can drag and drop icons to reorder them, and move them to different pages. Eventually you'll be able to import your own graphic via file dialog or drag/drop, or use the system camera to take a picture, and record your own sound file for it. There are potentially thousands of such icon/soundfile pairs. It will come loaded with with many of them, and I suspect typically there will probably be only a few dozen user-supplied ones (though I plan to support the atypical case of many more than that).
Because there are so many icons possible, I assume the best architecture would be to use referenced controls, since mobile devices often have sharply limited memory?
If that's the case, how are the stock icon/soundfile pairs loaded? Would it be as a standard stack or is there some kind of dynamic allocation of controls required from the start? In other words, if the app starts with a couple thousand icon/sound file pairs, I know only the first page will be loaded assuming they're referenced controls. The number of items per page will be variable depending on screen resolution, user preferences, and so on. But I'm not sure what the best architecture is to load that page and future ones.
Thank you.
Because there are so many icons possible, I assume the best architecture would be to use referenced controls, since mobile devices often have sharply limited memory?
If that's the case, how are the stock icon/soundfile pairs loaded? Would it be as a standard stack or is there some kind of dynamic allocation of controls required from the start? In other words, if the app starts with a couple thousand icon/sound file pairs, I know only the first page will be loaded assuming they're referenced controls. The number of items per page will be variable depending on screen resolution, user preferences, and so on. But I'm not sure what the best architecture is to load that page and future ones.
Thank you.