Home  ·  Demo  ·  HOWTO  ·  FAQ  ·  Blog  ·  Contact us

Forums

You are not logged in.

#1 2009-07-20 09:56:14

dixon168
New member

how to keep program running?

Does any one also know how to keep this program stay running, even you power off your phone and power back on. I try it on my i776, the java program close when i power off my phone and wont power back on when i power my phone on again, i have to go java app and turn the program on again. it that any way? any body...

Offline

 

#2 2009-07-20 17:05:04

rkpatt
Member

Re: how to keep program running?

I got a little confused with the setup on an i425 on making sure that the application didn't get shut off and found this link helpful -

http://programa.nii.com/en/node/389

also see-

http://forums.instamapper.com/viewtopic … 19&p=2

Last edited by rkpatt (2009-07-21 08:38:42)

Offline

 

#3 2009-08-02 08:30:12

Pseudothink
Member

Re: how to keep program running?

From the article at http://programa.nii.com/en/node/389 (just in case it ever goes away):

If you need a Java ME application on a Motorola iDEN device to always be active, set it so that it cannot be deleted, or prevent the application permissions from being modified without permission, the newer Motorola iDEN devices have a set of features known as the Enterprise AMS that will be useful.

To take advantage of them, you'll need to follow the following steps:

    * Enter the "Java Apps" menu
    * Enter the following key sequence: *159#
    * You will be prompted for an administrator PIN. The first time this menu is invokes, the default PIN is '0000'. You will be prompted to create a new PIN in this case. This PIN is separate from any other PINs on the device.

Once you have created the new pin, you will see a menu of options:

Full-Time App
    This defines an application that is always active, that cannot be ended (only suspended), and that is started up when the device is powered up. If you select this option, you will see a list of all of the installed MIDlets on the device and you will be able to select only one application from the list to be defined as a full-time application. To not set a Full-time app, or to reset the phone to default settings, select "-None-" from the list.
Permanent Apps
    This defines an application that cannot be deleted from the device. If you select this menu option, you will see a list of all of the installed MIDlets on the device. You can select one or many applications that are prevented from being deleted on the device. To quickly select all the applications, select "-All-" from the menu. To quickly deselect all applications, select "-None-" from the menu.
Fixed Permissions
    This allows you to define a set of Java Security Domain permissions that are fixed for an application. If you select this option, you will see a list of all the installed MIDlets on the device. The top option on this list is "[Edit Permissions]", which lists all of the protected Function Groups on the device. The following is an example of the list:

        * App Auto Invoke
        * Local Connect
        * Location
        * Mobile Media Record
        * Messaging
        * Network
        * Phone Call
        * Read User Data
        * System Control
        * Write User Data

    Note that the actual permissions list will depend on the JSRs available on the device as well as the security domains policies for the device. The default function groups for Motorola iDEN devices can be found at http://programa.nii.com/en/node/266

    Each of these function groups can be set to a default behavior:

    User:
        Follow the user's individual permissions choice for the MIDlet
    Always:
        the application always has permission
    Ask:
        The application will ask for permission every time
    Never
        The application does not have permission to access that function

    Within the list of applications, you can select one or many applications to which the set of fixed permissions defined above will apply.
Overview
    This provides a summary of all of the Enterprise AMS configurations
Change PIN
    This allows you to change the PIN used to enter the Enterprise AMS
Info/Help
    This provides a set of help screens providing the explanations above.

Your settings become final upon exiting the AMS.

This feature is available on all Motorola iDEN that include the "Administrator Control of MIDlets" feature, including i605, i615, i880, i870, i885, i876, i290 and i335 handsets.

Offline

 

#4 2009-08-02 09:03:59

trackvw
Member

Re: how to keep program running?

Great find !

but I am confused- 

if we want it to always be tracking , and if  the phone gets turned off and then back on to start tracking again automatically  do we want  Full-Time App or Permanent Apps

thanks  VW

Offline

 

#5 2009-08-02 17:33:51

ruxtc
Member

Re: how to keep program running?

I have gone the *159# route. It does not turn on the phone; it just starts Instamapper when the phone is turned  on. I regret doing this because now I can't stop it from turning on.

Offline

 

#6 2009-08-02 17:50:14

ruxtc
Member

Re: how to keep program running?

I can do the same thing by pressing personalize/setting/power up. When I turn the phone on, automatically instamapper starts. I keep the option to be in control, because I may want another program to start automatically when i am not using Instamapper. If two GPS programs go on automatically, for example, there'll be a big drain on your battery.  I set the key board to lock in 30 seconds. After 30 seconds, the keyboard can't be used until it's unlocked with  the unlock code-  Menu-star.  The *159# is something you might want to reconsider because it irreversible. At least, I don't know how to reverse it.

Offline

 

#7 2009-08-02 17:55:14

ruxtc
Member

Re: how to keep program running?

ALso "suspended" doesn't mean the program has stopped. It continues. It's suspended from view. For example if you use the phone to make a call, the program gets out of the way but continues. SO the term "suspended" is misleading.

Offline

 

#8 2009-08-03 10:29:52

Pseudothink
Member

Re: how to keep program running?

ruxtc wrote:

I can do the same thing by pressing personalize/setting/power up. When I turn the phone on, automatically instamapper starts. I keep the option to be in control, because I may want another program to start automatically when i am not using Instamapper. If two GPS programs go on automatically, for example, there'll be a big drain on your battery.  I set the key board to lock in 30 seconds. After 30 seconds, the keyboard can't be used until it's unlocked with  the unlock code-  Menu-star.  The *159# is something you might want to reconsider because it irreversible. At least, I don't know how to reverse it.

FYI, it is easily reversible, by repeating the process (*159# from the Java Apps menu) and removing "GPS Tracker" from the Full-time Apps option.

Offline

 

#9 2009-11-04 08:24:25

whitmerray
New member

Re: how to keep program running?

IS there any way to reset (power off and back on ) via text messaging?

Offline

 

#10 2009-11-29 22:44:06

Re: how to keep program running?

Pseudothink wrote:

From the article at http://programa.nii.com/en/node/389 (just in case it ever goes away):

If you need a Java ME application on a Motorola iDEN device to always be active, set it so that it cannot be deleted, or prevent the application permissions from being modified without permission, the newer Motorola iDEN devices have a set of features known as the Enterprise AMS that will be useful.

To take advantage of them, you'll need to follow the following steps:

    * Enter the "Java Apps" menu
    * Enter the following key sequence: *159#
    * You will be prompted for an administrator PIN. The first time this menu is invokes, the default PIN is '0000'. You will be prompted to create a new PIN in this case. This PIN is separate from any other PINs on the device.

Once you have created the new pin, you will see a menu of options:

Full-Time App
    This defines an application that is always active, that cannot be ended (only suspended), and that is started up when the device is powered up. If you select this option, you will see a list of all of the installed MIDlets on the device and you will be able to select only one application from the list to be defined as a full-time application. To not set a Full-time app, or to reset the phone to default settings, select "-None-" from the list.
Permanent Apps
    This defines an application that cannot be deleted from the device. If you select this menu option, you will see a list of all of the installed MIDlets on the device. You can select one or many applications that are prevented from being deleted on the device. To quickly select all the applications, select "-All-" from the menu. To quickly deselect all applications, select "-None-" from the menu.
Fixed Permissions
    This allows you to define a set of Java Security Domain permissions that are fixed for an application. If you select this option, you will see a list of all the installed MIDlets on the device. The top option on this list is "[Edit Permissions]", which lists all of the protected Function Groups on the device. The following is an example of the list:

        * App Auto Invoke
        * Local Connect
        * Location
        * Mobile Media Record
        * Messaging
        * Network
        * Phone Call
        * Read User Data
        * System Control
        * Write User Data

    Note that the actual permissions list will depend on the JSRs available on the device as well as the security domains policies for the device. The default function groups for Motorola iDEN devices can be found at http://programa.nii.com/en/node/266

    Each of these function groups can be set to a default behavior:

    User:
        Follow the user's individual permissions choice for the MIDlet
    Always:
        the application always has permission
    Ask:
        The application will ask for permission every time
    Never
        The application does not have permission to access that function

    Within the list of applications, you can select one or many applications to which the set of fixed permissions defined above will apply.
Overview
    This provides a summary of all of the Enterprise AMS configurations
Change PIN
    This allows you to change the PIN used to enter the Enterprise AMS
Info/Help
    This provides a set of help screens providing the explanations above.

Your settings become final upon exiting the AMS.

This feature is available on all Motorola iDEN that include the "Administrator Control of MIDlets" feature, including i605, i615, i880, i870, i885, i876, i290 and i335 handsets.

okay so i followed all the directions.  and i put the GPS Tracker on Fixed Permissions and set it so its always on no matter what.   however, if i go into my java apps, i can click on the GPS Tracker and when it pulls up on the screen, i select exit, and the app still turns off.

i should note that i got it to where the app will automatically start upon power on, but how can i set it so that its always on even if you click exit?

the reason i ask is because i want this to be fail proof so a thief cant turn off the GPS Tracker.

Last edited by bayareabooster (2009-11-29 22:46:50)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB