How to setup android device for development

This article will describe how to setup android device for development. The device that i used is SE Xperia Ray (ST18). Let’s check it out, i usually use Android Virtual Device (AVD) for debugging and run an apps i create. Now, i wanna use my device for debugging and run apps. First, declare in apps as “debuggable” in Android Manifest. See the screenshot below :

See at the line red light, we can do this from the Application tab when viewing the Manifest (on the right side, set Debuggable to true). Otherwise, in the AndroidManifest.xml file, add android:debuggable="true" to the <application> element. Also see the screenshot below :

Next step is setup in our device. Turn on “USB Debugging” on our device. On the device, go to Settings > Applications > Development and enable USB debugging.

Also set up our device to allow installation of non-Market applications. On the device, go to Settings > Applications and enable Unknown sources.

Next, set up our system to detect our device. For SE Xperia Ray, just install PC Companion or in Hardware scan changes install USB driver, download here.

If the USB driver has been installed, when we run the apps in Eclipse, we’ll see the device status is Online. See the screenshot below :

Hopefully this article can be usefull :)

How to get access root (rooting) SE Xperia Ray

android unlocked

This article is just for me or SE Xperia Ray’s user, or the other android geek’s user. Before i have SE Xperia Ray (codename : ST18), i have another SE Xperia phone (X8/Shakira).

Rooting is similar get access root in Linux, to get full access like administrator in windows. Or see the meaning of rooting android in wikipedia

Rooting is a process that allows users of mobile phones and other devices running the Android operating system to attain privileged control (known as “root access”) within Android’s Linux subsystem with the goal of overcoming limitations that carriers and manufacturers put on some devices.

Ok now, i wanna share how to rooting SE Xperia Ray (ST18). First, download the tool : i use a flashtool made by Androxyde (XDA Developer), download here. Then install it to the PC/Notebook.

USB Debugging

Before you connect the device to the PC/Notebook, please check USB debugging in your phone (Settings –> Application settings –> Development)

Now, run a Flashtool then connect your phone to the PC/Notebook.

flashtool

Then click icon unlock, wait until info message appear in flashtool “Root Access Allowed” And Congratulation, your Ray has been rooted successfully.

flashtool

To check your phone has been rooted actually, let’s install some apps that needed root access like Root Explorer (download here)

Hopefully this article can be usefull :)

Ayo spirit baru!!! (part 1)

spirit aura
Hari ini, tepat tanggal 1 di januari 2012 ditemani secangkir kopi panas dengan beberapa batang rokok mild (*lho kok ngerokok lagi sih??), ga ketinggalan dengar musik di radio :) . Saya kira masih pagi, eh ternyata sudah siang yah..(*ah kebiasaan buruk nih). Baru saja mau buat planning buat tahun ini. Memang planning atau resolusi atau apapun namanya ga mesti nunggu hari tahun baru, tapi setidaknya inilah momment yang tepat untuk re-planning. Kenapa re-planning??emang iya, sebelumnya tahun lalu sudah mempunyai rencana yang pada akhirnya terlaksana dan ga terlaksana, makanya mesti re-planning.

Ok, mari kita lanjutkan ke acara intinya. Planning yang awal ialah masalah “changes my behavior”. What behave must i change?ah banyak banget, orang2 terdekat mungkin sudah tau beberapa kebiasaan burukku (oh my…). Semoga saja bisa

Saya, saya adalah orang yang sedikit optimis tapi lebih banyak pesimis, tidak tahu tentang kelebihan dan kekurangan diri sendiri yang mungkin menyebabkan saya tidak percaya diri. Sebenarnya sudah saya sadari dari sejak dahulu, tapi entah kenapa saya tidak banyak berubah (sepenuhnya) dari sikap pesimis.

Sepertinya tulisan ini lebih ke “curhat-an” saya tentang diri saya pribadi ya,,,hehe :) Lapar ah, ntar dilanjutin lagi :)

How do I remove directory and all contents in Linux?

This question always i ask every i want to remove the directory and all contents in it. I always forget what i did before and finally i googling again, haiihhh #:-s (not effective right?). So, i write it here just for remember if i forget. Also for u that if u have the same trouble (forgetful person).

For remove a file #rm [filename]

For remove a directory(directory must be empty) #rmdir [directory name]

For remove a directory with all contents in #rm –rf [directory name]

Note : rm = remove; rmdir = remove directory; –r = Recursive (attributes of rm) remove directories and their contents recursively; –f = Force (attributes of rm), ignore nonexistent file, never prompt.

I hope this article can help u :) salam