Updates from April, 2008 Toggle Comment Threads | Keyboard Shortcuts

  • pit 1:23 pm on April 24, 2008 Permalink | Reply
    Tags: , , , ,   

    Building a fisheye menu in J2ME with JSR 226 

    I’ve always loved fisheye menus but, while there are quite a lot of ready-to-use components for web applications, when it comes to mobile it’s hard to find something. What better reason to build one? :)

    Since we’ll have dynamically resizable icons, a natural choice to build one with J2ME is JSR 226, that give us full support of SVG Tiny. This will limit portability of code, since this JSR is not supported on all J2me phones, but support is rapidly growing with latest generation phones.

    As you’ll see, code is quite straightforward, and great part of it is dedicated to coordinates/size calculations, to create that “slide/resize” effect that is soooooo cool :)

    J2ME fisheye menu

    You can find menu source code on my Forum Nokia Wiki article: J2ME Fisheye Menu with JSR 226, or download sample midlet here (and source code here).

     
  • pit 2:42 pm on April 23, 2008 Permalink | Reply
    Tags: bug, , loadclip, moviecliploader   

    FlashLite and MovieClipLoader loadClip issue 

    I’ve recently faced a tedious issue with MovieClipLoader and its loadClip method and finally realized its root cause thanks to this post on Jesse Warden’s blog.

    Flash Lite logo

    What happens is this: if you start loading a clip via loadClip(), and then, before it finishes, you remove the target MovieClip, FlashLite (noticed the same behavior in both FL2.x and FL3.0) will raise a

     
  • pit 11:13 am on April 22, 2008 Permalink | Reply
    Tags: , , table   

    J2ME Table component with focus and scroll 

    Sometimes it happens that you must draw a table within a J2ME application. Even if there are some nice UI frameworks out there, they’re simply oversized if you need only a simple, plain, scrollable table.

    This is the reason why I’ve decided to write a custom component that you can use to draw tables, with the following features:

    • Focusable cells
    • Vertical scrolling
    • Auto-sizing columns

    J2ME canvas table screenshot

    Some nice features to be added in a future version could be, for example:

    • Cell wrap when moving from a cell to another
    • Horizontal scrolling, to support tables with a lot of columns
    • Support for headers

    You can see a live version on the emulator page. Full midlet source code is available here.

     
    • Ardian Eko 7:24 pm on May 15, 2008 Permalink

      thanks, I’ll try it first.

      Regard,

    • bnm 5:19 am on May 27, 2008 Permalink

      kuull.. thx :)

    • Elton kent 8:12 am on June 27, 2008 Permalink

      why doesnt it scroll horizontally when more that 4 rows are added. the netbeans TableItem does

    • Shiva 9:16 am on June 1, 2009 Permalink

      Hi, I’m new in j2me, is there any way to add table header to it?

    • Hu Rui 3:08 pm on October 8, 2009 Permalink

      Thanks for your source code. It make me save lots of time to redesgine a new datagrid.

    • Baldo Bodi 1:16 pm on November 25, 2009 Permalink

      I’m trying to import data from a tiny editor to an mobile apply, and for the table problem I recurr to this code.

      http://wiki.forum.nokia.com/index.php/Create_more_flexible_table_in_Java_ME

      But I’ve the problem for more width table don’t can scroll horizontally.

      If anyone have a solution, I will be very pleased to hear how do it.

    • Asif javed 8:21 pm on April 3, 2010 Permalink

      how can i get the source code.

    • Future Gadgets 9:42 am on February 23, 2011 Permalink

    • Ajay 7:18 am on April 14, 2011 Permalink

      when i installing jar file in my nokia 6300 and N-95 the application show a error “Application is not supported at this phone”,what i do in this stitutaion…anybody can hepl me..

  • pit 1:43 pm on April 17, 2008 Permalink | Reply
    Tags: geolocation, microblogging, , webcam   

    Faceroller: mobile geotagged microblogging 

    FaceRoller is a micro-blogging service with integrated picture and geo-locating funcionalities: practically, you snap a photo, write what you want and tell where you are, and the job is done :) and, if you’ve got a Flickr or Facebook account, your pictures will be automatically uploaded there.

    Faceroller mobile microblogging

    It has also a J2me mobile client to upload photos when you’re on the go, directly from your java enabled phone.

    If you want to give it a try signup on FaceRoller and then download the j2me client.

    We’re still developing and expanding its concept, so comments and feedback are welcome!

     
  • pit 4:11 pm on April 16, 2008 Permalink | Reply
    Tags: , , , ,   

    AnimaLogic: S60 Web Runtime game 

    I’ve got some fun with my friend Fabio in creating a first game for Nokia Web Runtime.

    Since Web Runtime allows building mobile applications with classic web technologies, we’ve used nothing more that html, css and plain-old-good javascript… isn’t it great? :D

    Animalogic Web Runtime game

    It’s a very first alpha release with not too much functionalities (local hi-scores and a single game mode), but feel free to take a try :)

    The main interface was done using classical <a> elements to represent the menu options, but this has 2 important drawbacks, as you can see:

    • links (like also input fields and other focusable elements) when focused are surrounded by a thick border: not really beautiful..
    • managing of focus itself, between different screens, is not easy, so it happens that focus sometimes disappears, or starts from the last menu options, or other odd things.

    Next release will try to solve those and other issues… meanwhile, we’ll be happy of any kind of feedback about it :)

    Download Web Runtime AnimaLogic

     
    • Java Mobile Gaming 9:38 am on April 24, 2008 Permalink

      I found your site on faves.com bookmarking site.. I like it ..gave it a fave for you..ill be checking back later

  • pit 4:01 pm on April 15, 2008 Permalink | Reply
    Tags: , , sample code, trees,   

    Collapsible trees with J2ME 

    Trees are not often used within j2me applications, but since it’s quite always a mess to deal with them, here’s a ready to use component for managing and drawing collapsible/scrollable trees :)
    j2me collapsible trees

    As usual, you can go to Forum Nokia Wiki for the full source code: J2me Collapsible Trees, or go to the emulator page to have a first look at a sample midlet using this component.

     
    • udin 2:32 pm on July 15, 2009 Permalink

      hai, i’m udin, can u tell me how to integrated this code to midlet.

      thanks b4.

c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel