Open main menu

CDOT Wiki β

Changes

BlackBerry : Develop Simple Apps

727 bytes added, 14:48, 24 February 2011
no edit summary
Location data is read from a text file and parsed using a string tokenizer class. The data is then used to constructMapFieldDemoSite objects corresponding to RIM® locations around the world. A given site is drawn as a polygon superimposed on the map that is currently displayed.
----------------
 
=== Memory ===
[http://docs.blackberry.com/en/developers/deliverables/10012/Memory_sample_app_overview_693111_11.jsp Overview]
 
The memory sample application demonstrates the best practices for memory use for multiple records. The sample application uses the Low Memory Manager to deallocate memory containing outdated data and group objects using the ObjectGroup API.
 
The sample application manages data for a fictional business and keeps records for each order that the business places. To see the effects of running the Low Memory Manager without exhausting flash memory, object handles, or persistent object handles, three menu items are provided that execute the same methods as the Low Memory Manager.
----------------