J2ME MIDP 2.0  start on boot midlet on Nokia 6600

Hi All
I wish to auto-start my J2ME application on Nokia 6600, using PushRegistry.
However, every time when the application auto-starts, it asks user
"Allow application xxxx to start automatically when needed?". This is
annoying, because I wish
my application started quietly in the background.
It makes sense for the question to be asked for the first time after
installation (just like
the question for unsigned jar). But it is unnecessary to ask this question
every time.
Anyone has suggestion on how to mute this question? Thanks.
Atul Gajbhiye

Seems as if Nokia 6600 does not supports CLDC 1.1, right click on project properties, change CLDC version to 1.0 & things will start working :)
makuchaku

Similar Messages

  • Playback Video (format 3GPP) on j2me midp 2.0

    Hi all,
    By now all recent mobile phone should playback many video type included le format 3GP.
    But I can't playback any Video from J2me midp 2.0 API.
    Are there someone here who know a solution independent of device to playback video on j2me midp platform ?
    Thank you,
    Tien
    (www.tranthuong.com)

    Something like this:
    private void playFile( String filename ) {
      try
        InputStream is = getClass().getResourceAsStream(filename);
        m_player = Manager.createPlayer(is, "video/3gpp");
        m_player.prefetch();
        m_player.start();
      catch (Exception ex)
        System.out.println(ex.toString());
    } Also in MIDP 2 check VolumeControl
    If your mobile support JSR-135:
    try {
         Player p = Manager.createPlayer("http://abc.mpg");
         p.realize();
         VideoControl vc;
         if ((vc = (VideoControl)p.getControl("VideoControl")) != null)
             add((Component)vc.initDisplayMode(vc.USE_GUI_PRIMITIVE, null));
         p.start();
    } catch (MediaException pe) {
    } catch (IOException ioe) {
    }In this case you also can
    InputStream is = getClass().getResourceAsStream(filename);
    Player p = Manager.createPlayer(is, "video/3gpp");

  • J2me midp help

    Hi All!
    I'm new to java, but i want to build J2ME (MIDP) applications.
    I can write *.java files and run it after compiling.
    But i want to write low-level APIs (games) and i have an example from
    which i can start. It's a dog animation and it consists a Doggy.java and a DoggyMIDlet.java and some *.pngs. Now how can i compile thesse files into one .jar??? I have an Ant, and a Wireless Tollkit but i cant use any of them :(( Where can i find some tutorials to j2me midp (game) writing?Thanks for the replies in advance.
    Wolf

    In the "wireless toolkit(wtk104 - last version)" dir there are 3 games which you can study.
    catalin

  • Trying to create a service that starts at boot

    People,
    I'm trying to create a service that will start at boot (in single-user mode, actually). I am up and running but I do NOT want to run the service now. I only want to run the service when the machine reboots.
    I've been rummaging around all day trying to figure this out but I'm stuck. I can create a service that runs. I can create an XML file in /var/svc/manifest/site/patch-install.xml that will be read when I boot- because after I boot, I can list the service:
    svcs -a | grep patch
    disabled       18:23:23 svc:/site/patch-install:defaultI have inserted the following in my xml:
    <create_default_instance enabled='true' />and also
    <create_default_instance enabled='false' />but it makes no difference. Anyone have any idea? What is the purpose of create_default_instance? I don't understand; item 9 on http://www.sun.com/bigadmin/content/selfheal/sdev_intro.html seems rather opaque to me.
    Also, what exactly is the purpose of /var/svc/profile/ ? I tried putting some code to enable my xml but it didn't do anything. Just wondering if this might fit into the picture.
    BTW, I do not want the login prompt to appear until my method is complete.
    Thanks.
    -mschwage
    Here fyi is my /var/svc/manifest/site/patch-install.xml file:
    <?xml version="1.0"?>
    <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    <service_bundle type='manifest' name='Patches:patch-install'>
    <service
            name='site/patch-install'
            type='service'
            version='1'>
            <create_default_instance enabled='false' />
            <single_instance />
            <dependent
                    name='patch-install_single-user'
                    grouping='require_all'
                    restart_on='none'>
                    <service_fmri value='svc:/milestone/single-user' />
            </dependent>
            <exec_method
                    type='method'
                    name='start'
                    exec='/var/tmp/S92delay'
                    timeout_seconds='86400' />
            <exec_method
                    type='method'
                    name='stop'
                    exec=':true'
                    timeout_seconds='0' />
            <property_group name='startd' type='framework'>
                    <propval name='duration' type='astring' value='transient' />
            </property_group>
            <stability value='External' />
            <template>
                    <common_name>
                            <loctext xml:lang='C'>
                            Install patchset upon boot.
                            </loctext>
                    </common_name>
            </template>
    </service>
    </service_bundle>

    Hushpuppy wrote:
    People,
    I'm trying to create a service that will start at boot (in single-user mode, actually). I am up and running but I do NOT want to run the service now. I only want to run the service when the machine reboots.I'd probably create the service now (by importing the manifest manually rather than waiting for the reboot), then set general/enabled in the default instance to be be true with svcprop. That should tell it to start at boot, but not enable it immediately.
    I've been rummaging around all day trying to figure this out but I'm stuck. I can create a service that runs. I can create an XML file in /var/svc/manifest/site/patch-install.xml that will be read when I boot- because after I boot, I can list the service:Yes, that's the default. Or you can load it immediately to create the service now.
    # svccfg import patch-install.xml
    I have inserted the following in my xml:
    <create_default_instance enabled='true' />and also
    <create_default_instance enabled='false' />but it makes no difference. Anyone have any idea? What is the purpose of create_default_instance? I don't understand; item 9 on http://www.sun.com/bigadmin/content/selfheal/sdev_intro.html seems rather opaque to me.There's a difference between a "service" like network/smtp or console-login and an "instance" like network/smtp:sendmail or console-login:default. In most cases, you just want a single "default" instance of your service. The above line sets the default instance 'enabled' property to true or false. When I import your manifest as is, the service comes in as 'disabled'. If I set it to true, it comes in as 'maintenance' (almost certainly because it was enabled, tried to start, and couldn't find the start method on my machine).
    Also, what exactly is the purpose of /var/svc/profile/ ? I tried putting some code to enable my xml but it didn't do anything. Just wondering if this might fit into the picture.'profiles' are loaded exactly once, and they are mainly used to set certain services to enabled or disabled.
    3 of them are loaded if present, platform.xml, generic.xml, and site.xml. The last is not generated by the OS, but left for you to use. But it's usually only useful as a "first boot" type thing. Because if you make changes to it, it will not be reread. This isn't usually a problem because after first boot you're in control of the services. The usual thing is that at first boot the manifests load to create services, then the profiles are loaded to set then enabled or disabled. This isn't possible before that point because there's no service to modify yet.
    BTW, I do not want the login prompt to appear until my method is complete.Any login prompt like a network login, or only the console login prompt? If the latter, then you'll want a dependency so that system-console-login depends on your service. But if your service has a problem at boot time, you'd make it difficult to log in.
    Darren

  • Why my Startup Manager does not appear when I hold the Option key when starting to boot.

    I no longer have the Startup Manager appearing when I hold the Option key when starting to boot.
    Instead, the system just boots into whichever OS was last selected in the Startup Disk Preference.
    How to get back my Startup Manager so that I can boot up from my external hard disk.
    Thank you.

    Can you please run the following in terminal and post the output in your reply:
    diskutil list; echo; nvram -p | grep boot-args; echo

  • Starts to boot, shows Apple logo for 2+ minutes, then starts again

    Yesterday the computer started to boot up as usual with the 'boot chord', Apple logo, then the screen went black, and started over again.  This time it successfully booted and ran normally for the rest of the day.  This morning, it never gets beyond the boot process; i.e. start chord, Apple logo for several minutes, then black screen and the whole process repeats over and over again.  Front panel status LED is on and steady.  I tried 5 different boot disks (internal HD, two external SuperDuper clones, a DiskWarrior DVD and the OSX 10.6 install disk and the results were the same.   It is still under extended warranty, but I can't afford the downtime for Apple to repair it.  Any idea what might be wrong?  Any thing else I might try to get it going again?

    Hopefully  the Time Machine backup is intact and the computer will continue to work with it connected (requires a 3rd party eSATA RAID controller card).  Assuming all the hardware works, I am unclear how best to restore the app's from the TM backup.
    The official way to do a full restore from TM is to boot from an installation DVD and select "Restore from Time Machine" from the Utilities menu. I don't see how that will work if your backup is on a third-party RAID, because the controller requires a driver that isn't on the DVD. That may be why you can't boot from the DVD.
    I think your best bet is to clone the installation disc to a bootable volume and install the RAID driver on it. The volume could be hosted on an external storage device or burned to a DVD. See here for an example of how to do this.

  • When I turn on my macbook air, it starts to boot and then stops and turns off.  How do I fix this?

    When I try to turn my MacBook Air on, it starts to boot (gray screen with Apple logo and the swirling indicator) but then it simply shuts off. I have tried Safe Booting but that doesn't work either.
    Does anyone have a suggestion as I really need to get a couple of files off the hard drive.

    The progress bar on the apple screen indicates that the machine is attempting to boot to safe mode.
    Boot your mac and holds down the Option key to boot to the boot manager.
    Once in the boot manager click on macintosh HD and click the arrow to boot, this should boot your machine normally.
    Also perform an SMC/PRAM reset:
    SMC RESET:
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
    PRAM RESET:
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    If these fail, insert your OSX dvd, boot to boot manager, click the disc, reinstall the mac OSX.

  • [SOLVED]How to configure pptp vpn start on boot with netcfg?

    I've configured 2 profiles:
    eth0 and ppp0, where ppp0 is a pptp vpn tunnel.
    $ ls /etc/network.d/
    eth0  examples  interfaces  ppp0
    $ cat /etc/network.d/ppp0
    CONNECTION='ppp'
    INTERFACE='ppp0'
    PEER='dxt'
    PPP_TIMEOUT=10
    $ cat /etc/conf.d/netcfg
    # Enable these netcfg profiles at boot time.
    #   - prefix an entry with a '@' to background its startup
    #   - set to 'last' to restore the profiles running at the last shutdown
    #   - set to 'menu' to present a menu (requires the dialog package)
    # Network profiles are found in /etc/network.d
    NETWORKS=(eth0 ppp0)
    # Specify the name of your wired interface for net-auto-wired
    WIRED_INTERFACE="eth0"
    # Specify the name of your wireless interface for net-auto-wireless
    WIRELESS_INTERFACE="wlan0"
    Manually, I can start up ppp0 correctly.
    $ sudo netcfg -u ppp0
    :: ppp0 up                                                                                                                                                                 [ BUSY ] Using interface ppp0
    Connect: ppp0 <--> /dev/pts/3
    CHAP authentication succeeded
    MPPE 128-bit stateless compression enabled
    Cannot determine ethernet address for proxy ARP
    local  IP address 10.100.3.132
    remote IP address 10.100.3.1
                                                                                                                                                                               [ DONE ]
    $ ip addr list dev ppp0
    8: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1496 qdisc pfifo_fast state UNKNOWN qlen 3
        link/ppp
        inet 10.100.3.132 peer 10.100.3.1/32 scope global ppp0
    But after booting, only eth0 is up. How to configure ppp0 to start on boot with netcfg?
    Last edited by rchiang (2012-12-21 01:09:32)

    Thanks a lot for your instruction.
    netcfg works now!
    chris_l wrote:
    Did you
    systemctl enable [email protected]

  • OVI starts on boot up

    How can I stop OVI starting on boot?
    I have unchecked it the program but it is ignoring it.
    Cheers
    E71

    You can go into options of Nokia Ovi Suite -Start Up and uncheck the option Start Nokia Ovi Suite automatically when your computer starts up
    Helpful information, then dont forget to hit the kudos star :-) Or say it accepted solution and thanks

  • J2ME, MIDP,CLDC, ...

    Hi all,
    i'm new to this "micro Java tech" and i would like to have clear some general concepts ;-)
    right now i've got an application written in "waba" for running it in a Palm device, i just needed waba VM, waba classes and some applications for creating the prc files.
    Now i would like to "translate" and walk into the sun philosophy...
    i've been reading around and i've found KVM what is quite clear, and then J2ME, MIDP and CLDC... do i need all this for writting my java application and running it in a Palm device?
    Which is the minimal set for doing it?
    Which API is the correct one for what i want CLDC API or Java2ME API?
    my messy brains would thank any help....
    thanks,
    Laura.

    hi, if you want to develop and run your apps on Palm devices, I think what you need are J2ME Wireless ToolKit and MIDP for Palm from Sun Microsystems. These tools can help you.

  • Weblogic Admin and Managed Server start using boot.properties and LDAP Acc.

    Hello - Can any one please tell me if Weblogic 10.3.x can be started using boot.properties file and by using a user account from the External LDAP (OID) server?
    I have configured the Weblogic server and have added a LDAP authenticator.
    The Group in OID is mapped to the Admin role in Weblogic so that the user can start and stop the server.
    LDAP users can successfully authenticate and access WLS console.
    We would like to remove Default Authenticator (Embeded LDAP) from the list of available providers for our security releam.
    Thank you.

    Tested and got it worked.

  • Ssh does not start at boot

    Hi All
    As my title explains, ssh does not start when I reboot.
    I can start it like: ./usr/lib/ssh/sshd
    So my question is: how can I change this behaviour and let ssh start at boot ?
    Thanks a lot in advance
    Luca

    thnx a lot!!!!
    Luca

  • Windows does not start at boot

    Hello,
    Windows does not start at boot, how? 'Safe Mode either )

    If your system is not properly booting then you must press F8 when start the system then there are two option
    Repair Window,start window normally if not properly work then you will install again operating system.

  • J2ME/MIDP GUI development issues

    Hello,
    I'm newbie to J2ME/MIDP development .
    And I'm curoius about main GUI issues when developing games for mobile phones.
    Such as different screen sizes, sprites, etc.
    How ppl target for different screen sizes and resolution?
    Links for usefull reading is appriciated very much.
    Thank you.
    Alexei.

    There are two configuration
    1.CDC
    2.CLDC
    and Following profiles for the developers to choose from while developing the application for a wireless deveice
    for CLDC-
    1.MIDP
    2.PDAP
    for CDC-
    1.Foundation Profile
    2.Personal basis Profile
    3.Personal Profile
    Apart from these profiles (JAVA APIs) development can be done in
    1.c/c++
    2.net
    Now my questions or rather the issues that i always face or rather i always get confused over it
    1.How to know that a particular device supports which Configuration
    Check the device Specifications, Nokia supports maybe java, while motorola supports may be .NET
    2.After the configuration is known, which profile is to be used.
    Depends on what you want to develop, once you know that then you will read the profile spec. and then go for development, let say if you wanted to develop a simple game, it can be done in MIDP only, while if you need advanced multimedia, u need implementation of MMAPI also, on the other hand if you want to develop diary of contact managment software you will yous PIM.You should know the wanter in pool before taking of your clothes and going for a swim.
    3.For developing the application in c++, do different device category give different set of APIs for development.,plz explain.
    Most of the C++ api's are devices specific(after all that is when java wins)
    4.What about the development platform for PALM and POCKET PC devices.what profiles from the above listing do they use .
    they use the CDC configuration, and Personal Profile
    5.can development on POCKET PC be done only on compact .net framework???
    No, Commercial JVM are available, infact a free one is also available, search this forum you will find out.
    Hope this help

  • Macbook air shuts down after starting to boot up

    My mac book air starts to boot up (the wheal starts to turn for about 30s) than it just turns of
    it was working fine a few hours ago, i did a hardware test (every thing was OK) and after that the problem occurred
    PRAM Reset did't help
    Message was edited by: Zabranjeni

    Get a USB external DVD drive, boot from your install disc and try repairing the drive with your Disk Utility. If that does not work, try DiskWarrior, short of reformatting the drive and losing all your data.
    Dave M.
    MacOSG v.2.0 coming April 1, 2010! No fooling! Check it out!
     MacOSG: An Apple User Group  iTunes: MacOSG Podcast  Follow us on Twitter: MacOSG

Maybe you are looking for

  • MDW Data Collector doesn't work, meaning the custom_Snapshot table isn't created? Why? ? ?

    I think the issue is with a long query in XML. Please, how to make this work? Here are the definitions I used: STEP 1 --- Find Collecter TYPE ID from SELECT collector_type_uid ,* FROM [msdb].[dbo].[syscollector_collector_types_internal] STEP 2 -- fin

  • Search result is empty in few subsites

    Hi, Search is giving empty results for the few sub sites. Even though we have run Full Crawl. Last time same thing happened and REINDEX was the solution.  Could you please advise, what would be the best troubleshooting steps for this situation? Thank

  • Control IDs

    This falls into the "there has to be a way to do this": I've got a page constructed by nesting dataTables - something along the line of this minimal example: <h:dataTable value="#{Bean.reportProxies}" var="proxy"> ..<h:dataTable value="#{proxy.fragme

  • The Eternal Cycle of Rebooting and Reincarnation

    Hello, I just got my MacPro back and now it works fine.  I edit Canon 5d Mark II footage on it, natively, H.264, 1920. The folks at We Fix Macs had to send my MacPro to Cupertino for the bigwigs at HQ to fix my problem. The reason I brought it in was

  • I just bought an iPad3, it does not have facetime. Any advise on how i can get it?

    I just bought an iPad3, it does not have facetime. Any advise on how i can get it?