You Are Here:

Community: Developer Discussion Boards

#1 Old j2me graphs - 2004-01-19, 15:42

Join Date: Jan 2004
Posts: 4
jonathanos
Offline
Registered User
Hi,

I writing a financial midlet and I'd like to graph some expenses. I tried the MicroGraph application but I'd prefer to do the graphs without connecting to the internet. Do you know of any other tools or tutorials that would help me out here?

Also I want to display the applications logo for a few seconds before going to the menu screen, is it possible to do this without having the user click "Ok" as they would if I use an Alert to display it. Should I use a timed thread or something?

Thanks for your help!

Jonathan
Reply With Quote

#2 Old 2004-01-20, 13:48

Join Date: Jun 2003
Posts: 414
Location: Hungary
kisember
Offline
just a baker
1. graph:
I don't know any MIDP compatible chart tool, but it isn't mean that there is no such a thing. If you don't find try to write it yourself.

2. splash:
Of course you can show a splash screen like this:
Code:
public void startApp() {
  if (display == null) {display = Display.getDisplay(this);}
  if (first) {
    showSplash();
    long startTime = System.currentTimeMillis();
    initApplication();
    long endTime = System.currentTimeMillis();
    if ( (endTime - startTime) < 3000 ) {
      try {
        synchronized (this) {wait(endTime - startTime);}
      } catch (Throwable t) {
      } // end try
    } // end if
  } // end if
  first = false;
  display.setCurrent(myMenu);
} // end startApp()

private void showSplash() {
  // isn't described
}

private void initApplication() {
  // isn't described
}
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia