Thursday, October 18, 2007

Next Target: Read and writing text with Flash CS3

My next assignment is to figure out how to read and write text with Flash Lite 2.0 which my mobile support.

Here's two link about reading text with Actionscript, which should be my starting point.

- Reading text
- Another reading text

And really seem like it's doable.

Continue working on J2ME Java Mobile application

I am trying to see whether Netbean or Eclipse gives me better Java development experience.


In the meantime, continue messing with reading text file:

- Here an article about Read text file with J2ME but not working on my Nokia 5300. (ACtually I didn't find it working at all). But at least I know that my phone support FileConnection. So there is hope.
- Even more on reading input stream.
- Some tried FileConnection and got an error.


I was frustrated by why the hell the text file reading not working, and then I read this and so right click on my project on NetBean, Under the property screen, I choose [Build][Signing], check the "sigh Distribution" checkbox, and have it signed. Now I don't
have the "do you trust" blah thing bitching me on the emulator, but let me check to see if it also does the same to my mobile phone.

Shit, I got "certificate not on the phone or SIM"

And I have to rely to rely on Goggle cache to get to info about how to sign and Java Midlet.

info of : FileSystemRegistry
More about the File access API.
Getting Started with the FileConnection APIs
Eclipse ME info






Sigh... maybe writing an app that reads text file is such a ... dream.

Wednesday, October 17, 2007

Got a simple app running on Nokia 5300

My goal is to quickly crank out a very simple demo app that runs on my Nokia 5300, so that I can move on by writing a simple text viewer app on my mobile.

So I installed NetBean IDE 5.5.1 and MObile pack, fried up the app, create a app, ran, build, grab the 2 files from "dist" folder. Put on my mobile. Failed.

Turns out it's because the MIDP version was not right. Mine only support 2.0, but by default the Mobile pack set it to MIDP 2.1. Change the setting to MIDP 2.0. Compile. run and deploy. Now it's working fine.

My next step: write an app to just load a simple test.txt file.