Main Contents

too lazy to write

12 June 2009

hehehe.. dah lama gak update blog.. gak terlalu sibuk sih, cuma ya belum ada inspirasi buat nulis dulu

karena sering ada yang minta portfolio, blog ini akan saya gunakan sebagai sarana buat promosi saya :D

my portfolio page

Detail: belajar, bloging | Komentar (2)

tepar

7 March 2009

offline heula.. :turu:

Detail: Uncategorized | Komentar (0)

JME Development on Mac OSX Leopard (10.5.6)

27 February 2009

Begin with a question, why there is no WTK distribution for mac on Sun website? i’am searching out how to build the environment for developing JME (Java Mobile Edition) on Mac OSX.

After one day of searching, here is my tools and configuration:

  1. Install eclipse (mine is 3.4.1). http://www.eclipse.org
  2. Install MJT (Mobile Java Tools) plugin for eclipse from eclipse’s update site.
  3. Install MPowerPlayer SDK and configure it to work with eclipse MJT ( http://mpowerplayer.com/sdk )
  4. Download the Sun WTK for Linux then do some porting to work with the configuration (if necessary).
  5. Try to build or import an application and see if it works as expected!.

I assumed that we already know step 1 to 2 (if not, please see eclipse the website).

Jump to step 3, visit the site and download the SDK. Run eclipse and then go to Eclipse -> Preferences.

Java ME -> Device Management -> Import. Set to mpowerplayer directory. If it founds the mpowerplayer SDK, then click finish.

Now you can choose the mpowerplayer SDK and then build a hello world!. :D

Step 4 is useful if you want to add midp or cldc library from Sun WTK, because in my case when i import my previous work on Windows to Mac, it runs not as expected and i think maybe i should add the same library as on Windows (of course!). And because Sun just support Windows and Linux, so i think i can port the Library from Linux distribution, and it works as good as on Windows.

screen-capture-11

screen-capture1

The steps are:

  • Download the WTK for Linux Distribution
  • Open your X11  (/Application/Utilities/X11.app) and open a Terminal
  • Go to your Sun WTK download directory, then execute:

sh sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh

  • Go through all the steps, just set the JDK path to /usr/bin and the target path on /Library/wtk and done.

And if you want to add Library Diractory or just add the jar files to your project library, right click on your project explorer (on your current project) -> Propesties -> Java Build Path -> Library -> Add External Jars and choose the jar you want in /Library/wtk/lib ..

I hope this useful.. ;)

Detail: info, programming | Komentar (8)

personality

27 February 2009

nyobain personality test.. :D

Your view on yourself:

You are down-to-earth and people like you because you are so straightforward. You are an efficient problem solver because you will listen to both sides of an argument before making a decision that usually appeals to both parties.

The type of girlfriend/boyfriend you are looking for:

You are not looking merely for a girl/boyfriend – you are looking for your life partner. Perhaps you should be more open-minded about who you spend time with. The person you are looking for might hide their charm under their exterior.

Your readiness to commit to a relationship:

You prefer to get to know a person very well before deciding whether you will commit to the relationship.

The seriousness of your love:

You like to flirt and behave seductively. The opposite sex finds this very attractive, and that’s why you’ll always have admirers hanging off your arms. But how serious are you about choosing someone to be in a relationship with?

Your views on education

Education is very important in life. You want to study hard and learn as much as you can.

The right job for you:

You’re a practical person and will choose a secure job with a steady income. Knowing what you like to do is important. Find a regular job doing just that and you’ll be set for life.

How do you view success:

You are afraid of failure and scared to have a go at the career you would like to have in case you don’t succeed. Don’t give up when you haven’t yet even started! Be courageous.

What are you most afraid of:

You are afraid of things that you cannot control. Sometimes you show your anger to cover up how you feel.

Who is your true self:

You are full of energy and confidence. You are unpredictable, with moods changing as quickly as an ocean. You might occasionally be calm and still, but never for long.

==================

beneran gak ya? :D

http://www.quizbox.com/personality/test82.aspx

Detail: gak penting, iseng, lucu | Komentar (6)

test test test test…

6 February 2009

test sampe mabok..

kkekeekekkek.. minggu ini saya memaksakan diri buat belajar test.. gak peduli bakal butuh berapa lama.. sampe mimpi pun kebawa bawa.. :D

merasakan betapa jengkelnya ketika menemukan error.. mulai tersenyum setelah ketemu failure.. dan terbahak-bahak kalo udah assert nya sukses.. gak ada error dan failure.. aneh kan.. padahal kode yang nulis diri sendiri.. tapi buat bikin test aja susah!.. :hihi:

awalnya bingung mau mulai darimana.. ada rspec, rbehave, zentest.. aaah.. mummet.. dan akhirnya setelah baca baca.. ternyata gak perlu banyak mikir buat memulai test.. langsung aja pakai yg udah disediakan oleh rails.. test unit, controller, integration.. udah dibuatin waktu generate… jangan pikirin dulu harus pakai teknik apa.. TDD ato BDD, tulis test dulu atau nanti.. yang penting ada test nya.. daripada gak ada sama sekali!.. :P

nanti bakalan ketemu sendiri setelah mencoba… the testing wisdom 

 

go testing! :yosh:

Detail: belajar, programming, rails, ruby | Komentar (7)