Thursday, September 19, 2013

Daily Dev Blast

You should analyze your memory usage in Android, it's gonna getcha!
http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html

Select with the power of RANDOM()
http://stackoverflow.com/questions/1253561/sqlite-order-by-rand

Back Block that Hard Button in Android Modals
http://stackoverflow.com/questions/7113591/how-to-prevent-an-alert-dialog-getting-closed-by-back-button

Deal with some legacy shit API
http://developer.android.com/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu)

Some stuff about number grids
http://roguebasin.roguelikedevelopment.org/index.php?title=The_Incredible_Power_of_Dijkstra_Maps