Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User comando_c's Avatar
    Join Date
    May 2003
    Posts
    29
    Hi

    I developed a screen saver. I have few queries,

    1. Can I invoke the screen saver when the phone is not in use????

    2. Can I stop it when the user gets a call/presses any button????
    {using canvas i can invoke keypressed(), but it gives an securyexception.}
    3. can i play sound when the screensaver is playing????

    please help

  2. #2
    Registered User doctordwarf's Avatar
    Join Date
    Jul 2003
    Location
    Finland, Tampere
    Posts
    1,113
    comando_c
    1. Can I invoke the screen saver when the phone is not in use????
    No, unless you use some non J2ME service. For example, some Series 60 programs seem to be able launch defined programs on phone start. Some might be able to start your program, when phone is not in use.

    2. Can I stop it when the user gets a call/presses any button????
    {using canvas i can invoke keypressed(), but it gives an securyexception.}


    Hmm, all the games use keyPressed without any problem. What do you mean by calling it? System will call this method, when user presses key

    3. can i play sound when the screensaver is playing????
    Depends on the phone, whether it allows playing sound from Java.

    P.S.
    I personally consider an idea of having power consuming screensaver on a mobile pretty strage..
    Java VM and MIDlet code should eat quite much power

  3. #3
    Regular Contributor raghda's Avatar
    Join Date
    May 2007
    Location
    dubai
    Posts
    62
    hi,
    i have exactly this problem of invoking the screen saver when the phone is not in use.but i did not understand the reply

    Quote Originally Posted by doctordwarf View Post
    comando_c
    Can I invoke the screen saver when the phone is not in use????[/i]
    No, unless you use some non J2ME service. For example, some Series 60 programs seem to be able launch defined programs on phone start. Some might be able to start your program, when phone is not in use.
    what do you mean by "Series 60 programs" that can start the midlet when the phone is not in use

    Thanks
    raghda

  4. #4
    Registered User alb3530's Avatar
    Join Date
    Feb 2006
    Location
    Brazil
    Posts
    523
    Quote Originally Posted by raghda View Post
    hi,
    i have exactly this problem of invoking the screen saver when the phone is not in use.but i did not understand the reply



    what do you mean by "Series 60 programs" that can start the midlet when the phone is not in use

    Thanks
    he meant if target phone is a S60 device, you can create a program in Symbian C++ to launch the midlet.In other words, it would be the Symbian application that would start the midlet when timeout is reached.It's not possible using java only


    anyway, if you chose doing it, you could consider developing the whole application in Symbian C++, cause your application would be much faster


    Best regards
    Http_user_agent:
    NokiaN80-1/3.0 (4.0707.0.7)
    Series60/3.0
    Profile/MIDP-2.0
    Configuration/CLDC-1.1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved