Jimmy's Blog

Author Archive

Got Android [Gingerbread] and want to run J2ME JAD/JAR (emulate J2ME app)?

by jimmy on Mar.14, 2012, under English, Java, Programming

*Root-ed Android is required

This guide will help you to install J2ME emulator on your Android (mine is Gingerbread).

Case 1 : You have CMW (ClockWorldMod) installed.

  • Copy Jbed_cmw.zip to your phone (http://dl.dropbox.com/u/45924042/jbed/Jbed_cmw.zip)
  • Go to CMW recovery mode
  • Flash the zip

Case 2 : Manual (I haven’t tested it – Do it with your own risk :p )

  • Copy Jbed.apk (http://dl.dropbox.com/u/45924042/jbed/Jbed.apk) to /system/app
  • Copy libjbedvm.so (http://dl.dropbox.com/u/45924042/jbed/libjbedvm.so) to /system/lib
  • Reboot your android

After success installation you will see application “java” it can scan your sdcard for JAD & JAR file.

Hurray…

2 Comments :, , , , , , , more...

Android Market error on downloading (Error Downloading. There is insufficient space on the device.)

by jimmy on Oct.15, 2011, under English, My Life

Today suddenly when I want to download an application from my Android tablet, I receiving this error : “Error Downloading xyzxyz. There is insufficient space on the device.”
It’s only displaying the error on downloading application with big size.

After browsing around, I found out that the cache folder (that I assume used by the market) is using small partition (around 20mb in my case).
(continue reading…)

24 Comments :, , , , , , , , , more...

Java ME (J2ME) JSON Implementation For Array Object

by jimmy on Sep.13, 2011, under English, Java, Programming

One of the comment in JSON ME tutorial (http://jimmod.com/blog/2010/03/java-me-j2me-json-implementation-tutorialsample/) asking about how to parse this kind of JSON :

{\”api_status\”: \”OK\”,\”threads\”: [{\"tid\": \"2\",\"title\": \"First Title\" }, { \"tid\": \"4\", \"title\": \"this is 2nd Title\"}]}
 <a href="http://jimmod.com/blog/2011/09/java-me-j2me-json-implementation-for-array-object/#more-246" class="more-link">(continue reading...)</a>
2 Comments :, , , , , , more...

Jimmy’s Blog – ISO 8583 Tutorial – Build and Parse ISO Message using JPOS library

by jimmy on Jul.26, 2011, under English, Java, Programming

ISO 8583 Tutorial article

In the beginning

OK after my article about ISO 8583 let’s go deeper into programming using Java + JPOS library.

Quote from JPOS website:

jPOS is a Java® platform-based, mission-critical, ISO-8583 based financial transaction library/framework that can be customized and extended in order to implement financial interchanges.

So first thing to do is download JPOS from it website.

Then we setup our development environment by creating Java Project using your favorites IDE. Add to the project all jar in JPOS library.
Here’s my Eclipse  package explorer looks like.
(continue reading…)

33 Comments :, , , , , , , , , , , , , more...

Jimmy’s Blog – ISO 8583 Tutorial – Introduction for Beginners

by jimmy on Jul.25, 2011, under English, Programming, Technology

ISO 8583 Tutorial article

    Introduction

    Lately I’ve handle several financial project that allow me to understand bank and financial transaction better.
    All (or most?) financial transaction is using ISO 8583 standard, which at first I thought is a complicated standard. But after learn and see how it implemented it’s not as complex as I thought.
    In this post I will try to explain (based on my experience :) before I go deeper on the programming side.
    (continue reading…)

    8 Comments :, , , , , , , , , , , , , , , more...

    Jimmy’s Blog – Slide Number Puzzle Game with Echo2 Framework

    by jimmy on Feb.14, 2011, under English, Java, Programming

    I’m checking Echo2 framework these couple days and try to make a simple game just to get to know the framework better.
    Since I’m not a JavaScript expert it’s good to know that there’s framework that I can use to create AJAX web app with desktop feel easily.
    The game is about re-ordering number by moving number to the empty space. It’s simple and fun, this sample is hardcoded to only support 3×3 size.

    I assume you know Java, JSP, Servlet basics.
    Download Echo 2 from : Echo2 Website
    I personally use Eclipse for my IDE.

    Step by step:
    (continue reading…)

    3 Comments :, , , , , , , more...

    Jimmy’s Blog – Send & Receiving SMS on specific Port with J2ME Application

    by jimmy on Feb.10, 2011, under English, Java, Programming

    It’s been a while since I write an article, personal and work have been taken my time much lately.

    What I will write is not a new things, maybe a lot of article already write this kind of feature. But yesterday I see this kind of project request in freelancer.com so I decide to create a simple sample and write an article about it.

    Java Mobile (J2ME) application have a capability to send or receive SMS, but the phone need to support JSR-120 (Wireless Messaging API – WMA 1.0) or JSR-205 (WMA 2.0)
    How to check if the phone is supporting this? Easy way if the phone’s brand website. For example for Nokia E72 we can see the technical specifications at http://developer.nokia.com/Devices/Device_specifications/E72/
    If your phone doesn’t have WMA library the application will prompt error (the error can be different from one phone to another)
    (continue reading…)

    51 Comments :, , , , , , , , more...

    Solving (fixing) ubuntu 10.04 (lucid) screen flicker/distortion

    by jimmy on Jun.23, 2010, under English, Linux

    I experiencing random screen distortion & flicker after upgrading to Ubuntu 10.04, I’m using Acer Notebook.
    After searching in internet, there’s many forum thread & bug report discuss about this but mostly they have different hardware.
    Finally I tried this method and no flickering so far.

    What I do is I change my grub configuration, adding kernel parameter “i915.powersave=0”.

    For Linux expert probably this is not an issue, so I dedicate this step for the newbies like :)

    1. What I do is I modify the grub configuration which is located on /boot/grub/grub.cfg (backup before you edit it)
    2. Because the access right is set to read only, let’s change it so the owner can modify it.
      > sudo chmod -c u+w /boot/grub/grub.cfg
    3. Use vi or your other prefered editor to edit it.
      > sudo vim /boot/grub/grub.cfg
    4. Locate the menuentry of your Linux. Example:
      menuentry ‘Ubuntu, with Linux 2.6.32-22-generic’ –class ubuntu –class gnu-linux –class gnu –class os {
      recordfail
      insmod ext2
      set root=’(hd0,4)’
      search –no-floppy –fs-uuid –set xxx-xxx-xxx

      linux /vmlinuz-2.6.32-22-generic root=UUID=xx-xx-xxx-x-xx ro quiet splash
      initrd /initrd.img-2.6.32-22-generic
      }
    5. Add “i915.powersave=0” to the linux kernel line as parameter. It will become:
      menuentry ‘Ubuntu, with Linux 2.6.32-22-generic’ –class ubuntu –class gnu-linux –class gnu –class os {
      recordfail
      insmod ext2
      set root=’(hd0,4)’
      search –no-floppy –fs-uuid –set xxx-xxx-xxx
      linux /vmlinuz-2.6.32-22-generic root=UUID=xx-xx-xxx-x-xx ro i915.powersave=0 quiet splash
      initrd /initrd.img-2.6.32-22-generic
      }
    6. Save & restart to check if you still experiencing screen flicker

    That’s it :)
    Hope it can work on other Notebook/PC

    *Additional tips from tipster2010:

    Thanks for this tip. It will work but after some time, flickering returns. I think I know the reason why:
    1. Remember to turn off all screen saver and any power saving feature of your laptop after you did this.
    2. Any time you change the theme of your desktop, the screensaver and power saving feature sometimes go back to default so you may need to manually change them again.

    Thanks for this tip. It will work but after some time, flickering returns. I think I know the reason why:
    1. Remember to turn off all screen saver and any power saving feature of your laptop after you did this.
    2. Any time you change the theme of your desktop, the screensaver and power saving feature sometimes go back to default so you may need to manually change them again

    4 Comments :, , , , , , more...

    Basic LWUIT tutorial/sample with Eclipse Pulsar

    by jimmy on Apr.17, 2010, under English, Java, Programming, Technology

    I was really want to try LWUIT since several months ago. It’s look promising and it’s developed by SUN so I think every Java ME developer should take a look on this technology.
    I’m also still new in LWUIT so there won’t be a lot that I can share for now, but at least I will show you a basic demonstration of how to use Form, Label, Command, and 3D Form transition (sound cool huh :p)

    REQUIREMENT

    What you need:

    1. LWUIT
    2. Eclipse Pulsa
    3. Emulator like Sun WTK
    4. Know basic Java ME programming :) (continue reading…)
    47 Comments :, , , , , , , , , , , , , more...

    Updating Pidgin to latest version in Ubuntu

    by jimmy on Mar.14, 2010, under Uncategorized

    Since the latest pidgin not available in 9.04 repository you need to setup PPA just like instruction in pidgin website. My instruction here is the same although the command a bit different. This will also solve cannot connect to Yahoo Messenger issue. (continue reading…)

    1 Comment :, , , , , , , , , more...

    Looking for something?

    Use the form below to search the site:

    Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

    Visit our friends!

    A few highly recommended friends...