Monday, October 17, 2011

Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

I have recently experienced

Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE in my Android application when I am trying to Run and install my app on the emulator.

What I did was: add -partition-size 1024 when launching the emulator.
Monday, October 10, 2011

Make Android Allocate More Memory on your App

android:largeHeap="true". Introduced in Android 3.0 (API Level 11)
Sunday, August 14, 2011

Beginner's Error in Android

Specified child already has a parent
Specified child already has a parent

Currently I don’t get why I am experiencing this error in Android. Hopefully when I study Android’s intricacies further then I will be able to understand the reason behind this error….

I found a similar case (actually there are a lot of cases where developers encounter this same if not related error in android development) of The specified Child already has a parent Error in developing Android applications. Here's another case of Specified child already has a parent.

Basically, you should call removeView from the parent View first before adding another Child View. Either that or consider designing your code in a different way.
Thursday, August 11, 2011

Started reading The Busy Coder’s Guide to Android Development-3.1.

The Busy Coder’s Guide to Android Development
started reading The Busy Coder’s Guide to Android Development-3.1. (But my top priority will still be being able to make a product)



(Update on this blog, after almost a month. I think). Right now I have put down the e-book temporarily because I was so busy during the last weeks but I am meaning to get back on reading The Busy Coder’s Guide to Android Development-3.1.

You can follow Mark Murphy of the book mentioned from commonsware.com

Right now I can say that the book is a good read from what I have read and browsed so far in the book. It features useful basic API of the Android UI components' functionalities.
Sunday, August 7, 2011

Effective way to add Google APIs


http://dl-ssl.google.com/android/repository/addon.xml
.
.
and http://dl-ssl.google.com/android/repository/repository.xml
.
.
This is effective especially if you have crappy internet connection or if you are installing on an offline machine.
Reference: http://qdevarena.blogspot.com/2010/05/download-android-sdk-standalone-for.html and another one that is also useful is http://anggriawan.web.id/2010/08/android-sdk-for-offline-installation.html