Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (748)
Games in Android Showcase (226)
games submitted by our members
Games in WIP (834)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / J2ME / Sharp programming on: 2005-06-07 14:59:11
I am trying to develop for sharp phones - what a nightmare. No support, no freely available sdk's and it is really difficult to become a partner on their via website.

Anyway despite this I have been giving it a go and am now trying to get sound working on a GX30, to no avail. I have created a MMF file and am using the following sound code:

        sPlayer = SoundPlayer.getPlayer();
        sound = new Sound( "/sound.mmf" );
        aTrack = sPlayer.getTrack();
        catch( Exception e )
        { }
        aTrack.setSound( sound );
        aTrack.setVolume( 127 ); 1 );
        catch( Exception e ) {}

This compiles fine with the import com.vodafone.v10.sound.*; include but when trying it on the phone (as I cannot get an emulator to work!) the application kind of pauses then continues past without playing the sound, although I can hear a fuzzy noise from the speaker when it is supposed to be playing the sound. Can anyone think of why I am not getting the correct output. I created the mmf from a .way file using the yamaha convertor as suggested on the jcodeworks website.

Two final things regarding the GX range that would be great if someone could answer:

1. if the max jar size is 95k but the app still runs despite being 150k is this ok for release?
2. I have 90k of data to save in the rms but the jad value will only let me save 50k (MIDlet-Data-Size: 50000)or it wont install, so I tried splitting my rms into three seperate rms DB's all of around 30k, but after it is saving halfway through the second rms DB it crashes(the 50k limit I guess). Is it possible to have multiple RMS DB's to take the total DB size over the 50k barrier?

If you have managed to read all of this, well done, and thanks, If you manage to understand any of it, even better, and if you can scrape together an answer for me I would be over the moon, cheers.
Pages: [1]
xxMrPHDxx (345 views)
2017-12-31 17:17:51

xxMrPHDxx (111 views)
2017-12-31 17:15:51

xxMrPHDxx (160 views)
2017-12-28 18:11:33

Ecumene (362 views)
2017-09-30 02:57:34

theagentd (505 views)
2017-09-26 18:23:31

cybrmynd (557 views)
2017-08-02 12:28:51

cybrmynd (490 views)
2017-08-02 12:19:43

cybrmynd (463 views)
2017-08-02 12:18:09

Sralse (425 views)
2017-07-25 17:13:48

Archive (1349 views)
2017-04-27 17:45:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!