Tuesday, January 31, 2012

Macintosh Finder: Reasons for Slow Operation

I experienced very slow finder once in a while in the Mac Air 11" with OSX 10.7. After searching I tried this one. It seems to work things out:


TOPIC ----------------------------------------------


What could make the Finder run slowly?

DISCUSSION -----------------------------------------

A slow Finder is not caused by the size of the disk, but by the size of the
Desktop file. The size of the Desktop file is not directly related to the
number of files it contains, but to the number of icons and file comments.

The number of icons is related to the number of applications. Slow
operation becomes a problem for hard disks with more than 50 applications.
The number of comments is a problem only for those who add a comment to
every file and folder. This is typical with public domain software. To
remove all comments, you can rebuild the Desktop file in one of two ways.

- You can delete the Desktop file in ResEdit.

- You can hold down the Command and Option (aka Alt) keys while you start up your
computer.

These operations remove the comments and speed things up appreciably.

Taken from: http://support.apple.com/kb/TA46935?viewlocale=en_US
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
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
Thursday, August 4, 2011