Monday, January 31, 2011

Adding some info to grid on Ext Designer

On the Data Stores tab add an ArrayStore. Then add , i.e. 4 , fields right clicking on "My Store>add fields>4 fields". On the Component config option, filter the "data" property, and the put this in the box as the value:

[["data1", "data2", "data3", "data4"],["data1", "data2", "data3", "data4"]]

Then, go to "Components > My Grid", and filter the "store" property and put the name of your store (i.e MyStore ). Come back to the Data Stores tab and over the store press right click and select the option "Load Data"


Friday, January 21, 2011

adb install error device not found

I have tried with "adb kill-server" and "adb  start-server" in the windows console
And it works fine :)

Thursday, January 20, 2011

Show Android logCat in eclipse

Window->Show View->Other…->Android->LogCat

Thursday, January 13, 2011

Android AVD - Android Virtual Device aparently slow

I've just started to develop android applications using Eclipse. When Doing the "Hello world" Tutorial I found an interesting thing:

The first time I selected the option project > run as > android application, the AVD was shown and was booted up pretty fast, but the application didn't launch (I thought It was taking too much time to do It ¬¬ ). When  I clicked on the "menu" button the application was launched. o.0

It is a little bit weird, It is not supposed to launch the application immediately after the emulator has just booted up?

eclipse error : Your project contains error(s), please fix them before running your application

Project > Clean

This worked for me when getting that unhelpful error in Eclipse, no data in the Console, and only the error icon at the top of the project tree only.

Monday, January 3, 2011

Ubuntu boot error : no init found, Try passing init=bootarg

I got this error:

mount: mounting /dev/mapper/ubuntu-root on /root failed: Invalid argument
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootrag


I searched a lot on the web, and I finally found the solution :D

I just had to boot a live cd, load gparted  - partition editor ,  and use the "check" option on the partition labeled as "boot". That's all.