You Are Here:

Community: Developer Discussion Boards

#1 Old Custom Gauge Speed Indicator in J2ME - 2009-02-17, 09:40

Join Date: Jan 2009
Posts: 40
tyler45's Avatar
tyler45
Offline
Registered User
Is there any body who knows gauge like that http://www.softwarefx.com/sfxGallery/

I want to use a gauge a speed panel in mobil

Thanks in Advance
Best Regards
Reply With Quote

#2 Old Re: Custom Gauge Speed Indicator in J2ME - 2009-02-17, 09:47

Join Date: Apr 2007
Posts: 1,757
Tiger79's Avatar
Tiger79
Offline
Forum Nokia Champion
then u'll have to implement a speed gauge in canvas...
Reply With Quote

#3 Old Re: Custom Gauge Speed Indicator in J2ME - 2009-02-17, 09:52

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
Which one in the gallery did you mean ? I can see several of them.

If you have the creativity, you can use Canvas class and create the necessary gauge.

You can go through this sample J2ME Canvas Loading Bar and create your required effect

Regards
Gopal


MobiQuil.com
An initiative by Developers for Developers.
http://www.mobiquil.com - Alpha - Launched.
Reply With Quote

#4 Old Re: Custom Gauge Speed Indicator in J2ME - 2009-02-17, 12:26

Join Date: Jan 2009
Posts: 40
tyler45's Avatar
tyler45
Offline
Registered User
I want to exactly circle gauge in j2me. I want to develop it but if there is a api and more useful that you know, i want to learn it.

Thanks in Advance
Best Regards
ERAY

Quote:
Originally Posted by balagopalks View Post
Which one in the gallery did you mean ? I can see several of them.

If you have the creativity, you can use Canvas class and create the necessary gauge.

You can go through this sample J2ME Canvas Loading Bar and create your required effect

Regards
Gopal
Reply With Quote

#5 Old Re: Custom Gauge Speed Indicator in J2ME - 2009-02-17, 12:59

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Hi,
What about that example that Bala had just suggested...
Either you can move ahead with this concept..
You just take two images....
@ Empty kind of look...
@ One solid image....alright..
Then you can then follow like this..

1. draw the blank image..
2. setClip..lets say
graphics.setClip(xOffset,yOffset,Width,Height);
make note that give the Width = the width of the blank image..
and height = height of the blank image...
then draw the filling image...

3.then on thread just increase the x offset...in start it was the xpos of blank image.....

Hope that you can make a interactive loading bar...


Thanks

R a j - The K e r n e l
Last edited by raj_J2ME : 2009-02-17 at 13:06. Reason: add 1 line
Reply With Quote

#6 Old Re: Custom Gauge Speed Indicator in J2ME - 2009-02-17, 13:32

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
Quote:
Originally Posted by tyler45 View Post
I want to exactly circle gauge in j2me. I want to develop it but if there is a api and more useful that you know, i want to learn it.
Just to add : There is no API as per your requirements, unfortunately!

In the mean time, also have a look here http://www.java2s.com/Code/Java/J2ME/Gauge.htm

Regards
Gopal


MobiQuil.com
An initiative by Developers for Developers.
http://www.mobiquil.com - Alpha - Launched.
Reply With Quote

#7 Old Re: Custom Gauge Speed Indicator in J2ME - 2009-02-17, 13:49

Join Date: Jan 2009
Posts: 40
tyler45's Avatar
tyler45
Offline
Registered User
I started to develop my own gauge. I use just background picture and put my values on it. and show its value i write a line.

I think it is the best way.

Quote:
Originally Posted by balagopalks View Post
Just to add : There is no API as per your requirements, unfortunately!

In the mean time, also have a look here http://www.java2s.com/Code/Java/J2ME/Gauge.htm

Regards
Gopal
Reply With Quote

#8 Old Re: Custom Gauge Speed Indicator in J2ME - 2009-02-18, 10:55

Join Date: Apr 2007
Posts: 1,757
Tiger79's Avatar
Tiger79
Offline
Forum Nokia Champion
well there are many ways, thats the nice thing about programming :D
just let ur immagination go wild and just develop it in the way u'd like to see it...
some ways are easier/faster some are definitely more pleasing to the eye...
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
Similar Threads
Thread Thread Starter Forum Replies Last Post
How can the WAP browser communicate to J2ME application? hbfornies Mobile Java General 20 2007-03-02 17:32
Can J2ME be used for sending MMS Message ? seno_ap Mobile Java General 1 2006-11-24 15:36
StrangeMaze 3D game benchmark - speed comparison for J2ME phones abstractworlds Mobile Java General 24 2004-01-26 23:09
TinyLine SVG Minute Toolkit: Optimizing SVG for J2ME girow Mobile Java Media (Graphics & Sounds) 0 2003-05-05 19:44
TinyLine SVG Minute Toolkit for J2ME: version 1.4 released girow Mobile Java General 0 2003-05-05 17:25

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