Tricks and tips at Samsung Eternity forum
Find Your Forum
  
Welcome, Guest. Please login or register.
Did you miss your activation email?

News: Do you like Samsung Eternity?      
Samsung Eternity Forum  
Join now and get hottest ringtones         Find Free New AT&T Cell Phones
         Screen Protection         Cheap Mobile Phone Accessories
Pages: [1] 2 3 ... 5
Print
Author Topic: Java ME Application Development Discussion  (Read 10866 times)
BantamBytes
Guest
« on: February 21, 2009, 05:35:20 PM »

A couple of people, in replies to one of my posts, have shown an interest in writing Java apps for the Eternity. I figured why not start a topic about it so that we can help each other. These are the tools I use:

If you know anything about Java or programming in general, it is pretty straightforward. Although, there are some things I haven't figured out yet.

One in particular is sound. I can play sound easy enough but it blocks the game thread while it is loading to play. It works fine on the emulator but not the phone. I have tried running it in a different thread.


Balloon Poppin'
« Last Edit: March 17, 2009, 12:07:51 PM by Bantam Bytes » Logged
carpediem
Pro Member
***

Cookies: 44
Posts: 315


Why so serious?


« Reply #1 on: February 21, 2009, 07:08:16 PM »

Very nice, I see potential in this thread
I'm thinking this should be a sticky! Smiley

But yea, I am interested in possibly creating a game or so.
However I am completely clueless as to what to do.

If it isn't too much to ask, I was wondering if you could possibly
Create some sort of tutorial as to how you made the Balloon Poppin' game?
It would be a nice reference and starting point.
Logged

DrPants PhD
Pro Member
***

Cookies: 1
Posts: 270



« Reply #2 on: February 21, 2009, 07:17:24 PM »

Awesome thread! too bad I don't know anything about java.

EDIT: ACTUALLY... I will be more than happy to help with graphics/audio engineering. If you need help with anything like that, just ask me.

EDIT2: I'd also like to learn Java. Any good tutorials?
« Last Edit: February 21, 2009, 07:26:13 PM by DrPants PhD » Logged

BantamBytes
Guest
« Reply #3 on: February 21, 2009, 09:33:14 PM »

Awesome thread! too bad I don't know anything about java.

EDIT: ACTUALLY... I will be more than happy to help with graphics/audio engineering. If you need help with anything like that, just ask me.

EDIT2: I'd also like to learn Java. Any good tutorials?

Graphics and audio engineering. Sweet! I can always use help in that area.

I forget who it was, and I'm not going to go look, that suggested making a bubble wrap popping game. It would be very easy to do but I have been so frustrated with not being able to get the sound working on my Balloon Poppin' game that I haven't done anything with it.

If you want to do the graphics for that, that would be awesome. I'll put your name in the credits. What I need:
  • A bubble graphic (30x30?) in two states: not popped and popped. When I tile it it will look like a sheet of bubble wrap.
  • I need all the graphics for the buttons and menus. Basically I need a theme.

Its kinda of basic stuff like the Balloon Poppin' game. You can send samples to my email if you want.

I'll get back to you about the tutorials. There are a lot of them out there.
Logged
DrPants PhD
Pro Member
***

Cookies: 1
Posts: 270



« Reply #4 on: February 21, 2009, 10:29:51 PM »

Awesome! I'll work on it tomorrow. You'll have to tell me how you want the buttons/menu though. Shape, color, etc. I can make it look good Smiley

EDIT: I'm actually working on it now :p I've already made the bubbles and I'm working of a mock up of a menu. It's gonna be hard though, making a menu for a game about popping bubble wrap  Tongue

EDIT2: Sent. Smiley
« Last Edit: February 21, 2009, 11:50:14 PM by DrPants PhD » Logged
sargunster
Pro Member
***

Cookies: 3
Posts: 119

Grr...


WWW
« Reply #5 on: February 25, 2009, 08:28:36 PM »

Could you write a a tutorial please?
I wanna learn Java!! Grin
Logged
MiKePiFF
Pro Member
***

Cookies: 13
Posts: 237


New Jersey-We Dont Pump Our Gas, We Pump Our Fists


« Reply #6 on: February 26, 2009, 04:05:08 PM »

Hey, i found this article the other day when I was searching for any progress on Java accelerometer games... It says its for Sony Ericsson phones but I figured Id post it anyway incase someone might find it useful.

http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_jsr256sensorapi_jp8_w910.jsp
Logged
sargunster
Pro Member
***

Cookies: 3
Posts: 119

Grr...


WWW
« Reply #7 on: February 26, 2009, 05:49:39 PM »

Hey, i found this article the other day when I was searching for any progress on Java accelerometer games... It says its for Sony Ericsson phones but I figured Id post it anyway incase someone might find it useful.

http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_jsr256sensorapi_jp8_w910.jsp


I tried the example and it said:
Error
Invalid Format

Looks like it will not work.
Logged
surtr
Jr. Member
*

Cookies: 0
Posts: 31


« Reply #8 on: February 26, 2009, 06:23:29 PM »

Yeah, I took a look in that source and they are using some proprietary Sony-Ericcson libraries that the Samsung certainly wouldn't have.  Does have some interesting stuff on standard J2ME api for looking at sensors so we might be able to get something out of it.

Of course, supposedly Samsung is releasing their Java APIs on http://innovator.samsungmobile.com/ tomorrow so that could give us exactly what we need to write apps that use the accelerometer.

BTW, I wrote up a quick scribble app last night that runs on the Eternity (just to get my feet wet with J2ME).  If you guys are interested I'm happy to post up the source here.  The executable is on Rumkin: Jump Code 3537124

-Justin
Logged
MiKePiFF
Pro Member
***

Cookies: 13
Posts: 237


New Jersey-We Dont Pump Our Gas, We Pump Our Fists


« Reply #9 on: February 26, 2009, 07:10:54 PM »

Yeah, I took a look in that source and they are using some proprietary Sony-Ericcson libraries that the Samsung certainly wouldn't have.  Does have some interesting stuff on standard J2ME api for looking at sensors so we might be able to get something out of it.

Of course, supposedly Samsung is releasing their Java APIs on http://innovator.samsungmobile.com/ tomorrow so that could give us exactly what we need to write apps that use the accelerometer.

BTW, I wrote up a quick scribble app last night that runs on the Eternity (just to get my feet wet with J2ME).  If you guys are interested I'm happy to post up the source here.  The executable is on Rumkin: Jump Code 3537124

-Justin

Yea i kinda figured that it wouldnt be directly compatible since Sony Ericssons use different sensors but I figured that it might serve as a rough outline towards utilizing the accelerometer. And keep us posted on Samsung's status with the Java APIs, Im interested in seeing how it works out.
Logged
joshfokis
Jr. Member
*

Cookies: 0
Posts: 27


« Reply #10 on: February 26, 2009, 11:19:09 PM »

i was wandering if you have looked at the tumbling dice app and see how it works and use it as a guiding point not sure if youre able to but its just a thought
Logged
carpediem
Pro Member
***

Cookies: 44
Posts: 315


Why so serious?


« Reply #11 on: February 26, 2009, 11:24:26 PM »

i was wandering if you have looked at the tumbling dice app and see how it works and use it as a guiding point not sure if youre able to but its just a thought

The tumbling dice have been looked at,
Over and over and over...

Apparently, from what I hear, all leads we ever had were dead ends.
Samsung did well in preventing 3rd party companies or peoples in accessing the accelerometer.
Logged
joshfokis
Jr. Member
*

Cookies: 0
Posts: 27


« Reply #12 on: February 26, 2009, 11:47:18 PM »

well that sucks i dont know anything about java but maybe there will be something soon...
Logged
Americo24
Administrator
Sr. Hero
*****

Cookies: 79
Posts: 3109


Team Tech.


« Reply #13 on: February 26, 2009, 11:51:25 PM »

so what are the Possibilities that the samsung innovators website will have an accelermoter Java app/game? http://innovator.samsungmobile.com/

-Americo24
Logged

carpediem
Pro Member
***

Cookies: 44
Posts: 315


Why so serious?


« Reply #14 on: February 27, 2009, 12:00:03 AM »

My theory is that java won't even be able to access the accelerometer.
As you may notice, when you run the Tumbling Dice app,
It doesn't show the Java loading screen, it just goes straight to the app.

With that, I'm not sure if this is a unique type of file that Samsung just made up.
If it is, I'm sure it would be difficult to decode.
If it's a more common type of program, then hopefully, we'll be seein some 3rd party apps
that can access the accelerometer in the near future.
Logged
Pages: [1] 2 3 ... 5
Print

Jump to:  

Got a new phone? Find the forum here


Related Topics
Subject Started by Replies Views Last post
application locks
How To....
Matt34 5 694 Last post July 04, 2009, 10:29:50 AM
by Matt34
Anyone doing app development? « 1 2 »
Samsung Eternity
jyg 29 1801 Last post July 19, 2009, 10:23:58 PM
by jyg
A-Team Firmware development discussion 0.1b ffs fix « 1 2 3 »
Samsung Eternity
Americo24 36 2995 Last post August 01, 2009, 01:11:42 AM
by Agoattamer
Custom Firmware Developement Discussion « 1 2 3 4 »
Samsung Eternity
Americo24 55 5153 Last post September 06, 2009, 09:41:24 PM
by brain901
Install and Configure the J2ME Development Environment « 1 2 »
How To....
spyke01 19 6246 Last post October 20, 2009, 06:22:16 PM
by Disturbed




Galaxy S3 | Galaxy Note | Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Tech Support Forum | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC One | HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "mobile@vssupportqueue.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip














CopyRight 2008 www.Samsung-Eternity.com
Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC