×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    IL/USA
    Posts
    341

    Question E71 sound problem.

    Hi,

    I wrote j2me app that plays audio files. when I set volume to highest volume. however, the users are not able to adjust using lateral volume keys. On other phones they can only on E71. How can I fix this? I was thinking about if I need knew keycodes for lateral keys and if it is reported to canvas I could do it from within canvas. Howeverm, I dont know lateral keycodes for E71 and if they are even reported to canvas.

    I create audioplayer with following code snippit;
    Code:
    	InputStream is = super.getClass().getResourceAsStream(audioFile);
    	this.player = Manager.createPlayer(is, this.cType);
    	this.player.realize();
    	this.player.addPlayerListener(audioListener);
    	this.vc = ((VolumeControl) this.player.getControl("VolumeControl"));
    	if (this.vc != null) {
    		this.vc.setLevel(100);
    	}
    	this.player.prefetch();
    	this.player.start();
    Please help!
    Erica A Ramsey / Mobile Apps Developer /
    Resume ~ http://home.comcast.net/~erica.ramsey/CV
    Some Project Screenshots ~ http://home.comcast.net/~erica.ramsey/CV/screens.html

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: E71 sound problem.

    I don't think that the volume keys generate keyPressed() events. If you have access to the device, it's easy to check.

    It may be that there is simply no way to control the volume, other than to create a setting inside the application.

    Graham.

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Location
    IL/USA
    Posts
    341

    Re: E71 sound problem.

    Yeah, that is a Nokia idiosyncrasy because it actually works on other devices. May nokia has a higher constrained sandbox. Anyways, I have come up with a work around to this.

    Thank you for fast reply!
    Erica A Ramsey / Mobile Apps Developer /
    Resume ~ http://home.comcast.net/~erica.ramsey/CV
    Some Project Screenshots ~ http://home.comcast.net/~erica.ramsey/CV/screens.html

  4. #4
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    53

    Re: E71 sound problem.

    earamsey, can you please share what you did for resolving this. It would be good for all of us then.

Similar Threads

  1. Problem playing sound on N70
    By smallbug005 in forum Mobile Java Games
    Replies: 3
    Last Post: 2009-07-17, 05:50
  2. Modules required :)
    By neil.young in forum Symbian
    Replies: 20
    Last Post: 2009-06-07, 11:35
  3. 6230i sound problem in 3gp
    By haraz in forum Streaming and Video
    Replies: 1
    Last Post: 2006-05-21, 10:55
  4. Replies: 3
    Last Post: 2004-04-26, 14:58
  5. 7650 Sound Problem
    By Rok in forum Mobile Java General
    Replies: 1
    Last Post: 2003-02-07, 04:44

Posting Permissions

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