Lacation finding of children through push registry

hi i need your help in progress of my project. my project theme is to find location of children thoruh push reigstry. benefit of this application is that parents want to know the position of there children. i have completed my research on push registry and location Api. but the problem is know that i am confuse to use services like should i use IP address or message service. can any one tell me what exaclty i do which is more easier and fast to do. my supervisor is not helping me at all. so plz if you give me the lines then i think i ll do it. i am new with netbeans and cdlc so definalty i have some problem to understand these things. so plz help me in this favor. i ll be thanksful to you.

please help me in this favor. i am still waiting for your replies....................

Similar Messages

  • How to handle multiple SMS using push registry

    Hello all
    I m using push registry. for incomming sms
    My application have some tasks after reciving sms form a particular phone no. Application will starts When u get a SMS from a number say 122222.
    After reciving an sms application is busy in further task.
    What will happen when another sms comes??
    Will Application Suspendes?? or application listen that sms??

    hi vinay,
    My name is lakshman.I am alos trying to implement the sms and call option to my application.
    If you don't mind can you give me suggestions in the following
    1) how to Implement the call option in our application
    2)how to implement the sms option in our application
    i am waiting for your reply
    thanks in advance
    or else give me the site address where i can find the solutions
    ok thankyou
    lakshman

  • Sockets and push registry

    Hello,
    I want to get a socket connection between a MIDlet and servlet whats the best was to do this? so i can send information back and forth
    ( the MIDlet needs to be activated also by the socket connection from the Servlet)
    I have read the article on push registry but still am a bit in the dark.
    Thanks.

    Find your answer here :
    http://discussion.forum.nokia.com/forum/showthread.php?p=184664#poststop
    SD

  • I want to stop loop through push button forms 10g

    I want to stop looping through push button forms 10g it is like (SwingWorker() in java) (DoEvent() in .net)
    The problem in forms 10g that when you start looping the form will freeze and you can't push any button on form, I found solution for that in form 6i through package d2kwutil **WIN_API_UTILITY.InterruptCheck(hButton)**
    But in 10g I can't find solution, Please help>>>>>
    declare
         hButton          PLS_INTEGER;
    begin
    :interruptcheck.counter := 0;
    hButton := get_item_property('INTERRUPTCHECK.PB_OFF',WINDOW_HANDLE);
    go_item('interruptcheck.loopcount');
    set_item_property('INTERRUPTCHECK.PB_OFF',ENABLED,PROPERTY_TRUE);
    set_item_property('INTERRUPTCHECK.PB',ENABLED,PROPERTY_FALSE);
    set_application_property(CURSOR_STYLE,'HELP');
    set_application_property(CURSOR_STYLE,'<d2kwut60>WAIT');
    for i in 1..:interruptcheck.loopcount LOOP
         if WIN_API_UTILITY.InterruptCheck(hButton) then
              exit;
         end if;
         :interruptcheck.counter := i;
         synchronize;
    end loop;
    set_item_property('INTERRUPTCHECK.PB_OFF',ENABLED,PROPERTY_FALSE);
    set_item_property('INTERRUPTCHECK.PB',ENABLED,PROPERTY_TRUE);
    set_application_property(CURSOR_STYLE,'DEFAULT');
    end;
    Edited by: wael amar on May 1, 2010 11:03 PM

    Ok, here's a working testcase.
    The idea is taken from an article from an oracle magazine (i don't have it at hand, , so i tried to rebuild it by "memory". As far as i remember the original was from the german doag-magazine and was written by Gerd Volberg).
    Procedure to do the looping:
    PROCEDURE PR_DO_THE_LOOP IS
      nNumberInOneStep NUMBER:=2;
      tm               TIMER;
    BEGIN
         DEFAULT_VALUE(0, 'GLOBAL.INDEX');
      IF :GLOBAL.INDEX=0 THEN
           -- Didn't run yet, determine the max count
           :GLOBAL.MAX:=10000;
      END IF;
      LOOP
           -- Do the looping stuff
           -- Decrease counter
           nNumberInOneStep:=nNumberInOneStep-1;
           -- Increase globale counter
           :GLOBAL.INDEX:=:GLOBAL.INDEX+1;
           -- Exit conditions
           EXIT WHEN nNumberInOneStep=0;
           EXIT WHEN TO_NUMBER(:GLOBAL.INDEX)>=TO_NUMBER(:GLOBAL.MAX);
      END LOOP;
      -- reset index at end
      IF TO_NUMBER(:GLOBAL.INDEX)>=TO_NUMBER(:GLOBAL.MAX) THEN
           :GLOBAL.INDEX:=0;
      ELSE
           -- start timer for next iteration
           tm:=CREATE_TIMER('TM', 10, NO_REPEAT);
      END IF;
    END;The WHEN-TIMER-EXPIRED-trigger
    IF :GLOBAL.INTERRUPTED='Y' THEN
         MESSAGE('Interrupted at index ' || :GLOBAL.INDEX);
    ELSE
         PR_DO_THE_LOOP;
    END IF;The WHEN-BUTTOn-PRESSED-trigger on the interrupt-button
    :GLOBAL.INTERRUPTED:='Y';The WHEN-BUTTOn-PRESSED-trigger on the "start"-button
    :GLOBAL.INTERRUPTED:='N';
    PR_DO_THE_LOOP;

  • Can I do this with the Push Registry?

    I need to write a midlet that will listen for an incoming message from the comm port on a Motorola i355 iden phone. I don`t care if the midlet is open or closed when the message comes in. Whichever would be fastest would be best. I'm using the phone to process a message and send another message back out through the comm port to a connected machine. I also don't have control over the message that is coming from the machine that the phone will be connected to. This will only be my 2nd J2ME application so I'm very new at this.
    I have seen plenty of examples of using the push registry to do this for a socket and datagram (I don`t even know what a datagram is), but nothing for use with a comm connection. If anyone can steer me in the right direction, it would be greatly appreciated. Thanks.

    Hi
    yes SIR u can
    thx
    souvik

  • Push registry

    Hi,
    I have to make a cell application that stay down until a connection incoming. I have to use push registry. I have to make also a program for pc that work as a "push server": when it has something to send to the cell it sends.
    I find some examples on the net but a lot are for midlet that activate by a sms incoming.
    Someone can explain me what i have to do.
    A simple skeleton or outline for this midlet?
    If I want to start a MIDlet that isn't load I can?

    Yes you can.
    But instead to use the SMS (you have to send it from your server so a little expensive) try to look for socket connections instead. So your application could just register and stay down (the server still needs the target ip if u are going to use sockets)
    The push registry will start your app when data will came (start a thread don't use the listner to do your business!)
    If u get troubles doing this way put your app in background (with symbian you have many options to start an application automatically) and just play a sound when data are being received.

  • Nmew32rg.dll - Unable to find EM location in the registry : RegQueryValue f

    Hi All,
    I am getting below error while installing companions "10203_vista_w2k8_x86_production_companion.zip" (32-bit) (HTTP server) on Windows 2008 sp2 64-bit machine.
    .....CALL INTO REGISTRY.....
    DLL TO LOAD = \nmew32rg.dll
    DLL LOADED
    Unable to find EM location in the registry : RegQueryValue failed
    REGISTRY VALUE = nullThis happens only if I do installation from command line by using response file. From OUI interactive installer it is being installed properly.
    ORACLE_HOME (db) = C:\oracle\Database\oracleDB\
    ORACLE_HOME=C:\oracle\Database\oracleDB\OHS
    Companion disk:           C:\oracle\Oracle10g\companion
    Modified response file:   C:\oracle\Oracle10g\companion\oracle.companionCD.midtier.rsp
    Command to install:
    "C:\oracle\Oracle10g\companion\install\oui.exe" -silent -nowait -force -waitforcompletion FROM_LOCATION="C:\oracle\Oracle10g\companion\stage\products.xml" ORACLE_HOME=C:\oracle\Database\oracleDB\OHS ORACLE_HOME_NAME=oracle_10gOHSHome -responseFile C:\oracle\Oracle10g\companion\oracle.companionCD.midtier.rspThe machine already has "10204_vista_w2k8_x64_production_db.zip" database installed.
    Can you please suggest what additional things I need to take care to install companions using response file?

    Thanks Werner for reply !! I was really looking for any reply of my thread.
    I think it is useless to mention because something I did which is not supported,
    1. I installed "10204_vista_w2k8_x64_production_db.zip" database on w2k8 sp2 (64-bit) machine which is supported DB version for w2k8 environment.
    2. Companions are available for w2k8 64 bit but HTTP server is not there. It is only available in "10203_vista_w2k8_x86_production_companion.zip". This is a x86 (32-bit) setup and while doing interactive mode installation it is passing all prereq checks on x64 and not showing me any information to not to use this setup for x64. Also, it works fine after installation but not working in command-line installation.
    One last question,
    Will Oracle provide support on fixing this issue if I contact them or raise SR ?

  • Where can I find the reference for modifying registry key for acrobat reader

    I am a Web Developer and I need to limit the option the user may choose in acrobat reader plugin.
    I doubt if there is option to configure in Windows Registry on HKCU\Software\Adobe\Acrobat Reader\9.0\PrefsDialog.
    Anyone know where I can find the reference for those registry key?
    I have downloaded sdk91_v2_win.zip file but I cannot find any reference.

    Refer to this:
    Direct Download Links for Adobe Software
    Mylenium

  • Push Registry : MIDlet  activated by servlet ?

    hello, i have been trying to figure this out for days now could someone please help. I am trying to get the MIDlet to by activated by a Servlet which resides on a apache webserver , is this possible?
    how do you go about in getting the MIDlet to register a connection which waits for some activity sent via HTTP? do you register a socket to listen on a port on the device and get the servlet to send data to that port via HTTP?(if so how is this done?)
    Basically all i am trying to do is get a servlet to send data to the midlet. The MIDlet is installed from the webserver with ease, i want the midlet to wait till the server decides to send some data. the servlet will activate the midlet (this is the problem) , so then the midlet will open the http connection to the servlet.
    Please ask if the question needs clarifying, I would be very thankful for any advice provided.
    cheers
    Max

    thanks for info
    i have been trying for a while now and cant seem to get this working what i have got is a MIDlet that listens on port 90 of a socket connection. i am trying to create a Servlet that sends data onto port 90 so the midlet can be activated via the push registry. i am having the trouble with the servlet(which i cant get working, i assume that the code is wrong), i cant seem to get a socket connection working, i have tried to open a socket connection but have had no luck.
    i have posted some code, the MIDlet is there and so is my attempt at a servlet.
    what i want to do is get the servlet sending the midlet data on a specified port
    and the midlet recieveing that data and displaying it on the mobile emulator
    (so far all the MIDlet code does is listen for some activaty on port 90 and then send some data to the browser on the following url : http://localhost:90/)
    if anyone can get this problem on this example code i am testing on, fixed it would be much appreciated!!
    Thanks
    Max
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.pki.*;
    public class PatchyMIDlet
        extends MIDlet
        implements CommandListener, Runnable {
      private Display mDisplay;
      private Form mForm;
      private ServerSocketConnection mServerSocketConnection;
      private boolean mTrucking = true;
      public void startApp() {
        mDisplay = Display.getDisplay(this);
        if (mForm == null) {
          mForm = new Form("PatchyMIDlet");
          mForm.addCommand(new Command("Exit", Command.EXIT, 0));
          mForm.setCommandListener(this);
        Thread t = new Thread(this);
        t.start();
        mDisplay.setCurrent(mForm);
      public void pauseApp() {}
      public void destroyApp(boolean unconditional) { shutdown(); }
      private void log(String text) { log(null, text); }
      private void log(String label, String text) {
        StringItem si = new StringItem(label, text);
        si.setLayout(Item.LAYOUT_NEWLINE_AFTER);
        mForm.append(si);
      private void shutdown() {
        mTrucking = false;
        try { mServerSocketConnection.close(); }
        catch (IOException ioe) {}
      public void commandAction(Command c, Displayable s) {
        if (c.getCommandType() == Command.EXIT) {
          shutdown();
          notifyDestroyed();
      public void run() {
        try {
          mServerSocketConnection =
    (ServerSocketConnection)Connector.open("socket://:90");
          log("Startup complete.");
          SocketConnection sc = null;
          while (mTrucking) {sc =
    (SocketConnection)mServerSocketConnection.acceptAndOpen();
            log("client: ", sc.getAddress());
            // Strictly speaking, each client connection
            // should be handled in its own thread. For
            // simplicity, this implementation handles
            // client connections inline.
            Reader in = new InputStreamReader(sc.openInputStream());
            String line;
            while ((line = readLine(in)) != null) ;
            // Ignoring the request, send a response.
            PrintStream out = new PrintStream(sc.openOutputStream());
            out.print("HTTP/1.1 200 OK\r\n\r\n");
            out.print(getMessage());
            out.close();
            in.close();
            sc.close();
        catch (Exception e) {
          log("exception: ", e.toString());
      private String readLine(Reader in) throws IOException {
        // This is not efficient.
        StringBuffer line = new StringBuffer();
        int i;
        while ((i = in.read()) != -1) {
          char c = (char)i;
          if (c == '\n') break;
          if (c == '\r') ;
          else line.append(c);
        if (line.length() == 0) return null;
        return line.toString();
      private java.util.Random mRandom = new java.util.Random();
      private String getMessage() {
        int i = Math.abs(mRandom.nextInt()) % 5;
        String s = null;
        switch (i) {
          case 0: s = "Above all the others we'll fly"; break;
          case 1: s = "There is no reason to hide"; break;
          case 2: s = "I dreamed about Ray Charles last night"; break;
          case 3: s = "Someone keeps moving my chair"; break;
          case 4: s = "Joseph's face was black as night"; break;
          default: break;
        return s;
    }the Servlet code, which i cant get working:
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    import java.net.*;
    import java.lang.*;
    public class Servlet extends HttpServlet {
      private int mCount;
      public void doGet(HttpServletRequest request, HttpServletResponse response) throws
          ServletException, IOException {
        String message = "Hits: " + ++mCount;
        String connectString = "socket://:90";
        SocketConnection sc = null;
        DataOutputStream dos = null;
          // open a socket connection with the remote server
          sc = (SocketConnection) Connector.open(connectString);
    // an OutputStream is created on top of the
          // OutputConnection object for write operations
          dos = sc.openDataOutputStream();
    // perform write operations
          dos.writeChars("hello");
      }

  • All my photos in the iphoto have disappeared, not sure if this related to any iphoto upgrade or other issue, tried to find the photos through the finder (JPG or photo) but failed, can you help me to get back my photos please?

    All my photos in the iphoto have disappeared, not sure if this related to any iphoto upgrade or other issue, tried to find the photos through the finder (JPG or photo) but failed, can you help me to get back my photos please?

    Help us to help you: There are 9 different versions of iPhoto and they run on seven different versions of the Operating System. The tricks and tips for dealing with issues vary from version to version and OS to OS. So before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.
    With this kind of information somebody can develop a starting point for troubleshooting the issue.
    Posts that consist of "iPhoto doesn't work. Help" or "iPhoto won't print" or "Suddenly I have no photos!!!!!!!!!!" mean that any helper is simply guessing. More information means you get better assistance. (And no, more exclamation marks do not get help faster or make your issue seem urgent. They just make it seem like you have a stuck key )

  • Push registry in MIDP 2.0

    Hi
    I want to know that what is the Difference between Push Registry and notifyIncomingMessage in WMA.
    Anupam..

    Push registry is common for all kind of service. lets take after some time you want your application to start. or you want to invoke your application depend on Time /SMS and etc.
    That time it will help to implement by using Push Registry.
    but another one specific to SMS.

  • Using CS_BOM_EXPL_MAT_V2 how to find last children of material in the bom.

    Hi,
    I want to find last children of a material.I am using FM CS_BOM_EXPL_MAT_V2. Although STPOX internal table as STUFE for level but we can't get all the last child of material directly.
    For example material A as child A1 and A2 this sub divided into A1- A11, A12 and A2 - A21 , A22 and again A21 -A211,A212 and A22 - A221,A222
    so the last children are A11,A12,A211,A212,A221,A222. So if we use max of STUFE it will omit A11 and A12.Do i need to program a custom logic to get last child using Stufe and WEGXX or is there any other method available to get Last Children of the Material or is there any other Function module to get the Last child of the material.
    Thanks in Advance.

    You will have to write your own custom logic after calling the function module.  In my case, it is easy, because the lowest level materials will always be raw materials(material type ZROH) as opposed to a semi-finished material(material type HALB).  Your's may be different.
    REgards,
    Rich Heilman

  • Push Registry is not starting the MIDLET automatically

    I am not being able to start my MIDLET using the push registry mechanism. I am using the netbeans emuluator to execute the program.
    In the startApp of my application I have
         connections = PushRegistry.listConnections(false);
    and whenever a connection comes it starts a new thread. My Client keeps sending SMS requests but the server midlet in which the
    push registry is initiated does not start.
    In the application Descriptor I have added the following
    MIDLET class : Server.SMSReceive_S
    Sender IP : *
    Connection String : sms://:5000
    and in the API permissions I have added the following API permissions
    javax.microedition.io.PushRegistry, javax.wireless.messaging.sms.receive, javax.wireless.messaging.sms.send
    I have even tried to start the MIDLET dynamically by calling
         PushRegistry.registerConnection(smsConnection,this.getClass().getName(),filterName);
    but that too doesnt work?
    So what am I doing wrong in starting the MIDLET automatically using push registry?

    Hi, Malte
    I have given individual nodes address in db2nodes.cfg,  as per your instruction I have run the db2 list database directory I have got the following output
    System Database Directory
    Number of entries in the directory = 1
    atabase 1 entry:
    Database alias                       = SOP
    Database name                        = SOP
    Local database directory             = /db2/SOP
    Database release level               = b.00
    Comment                              = SAP database SOP
    Directory entry type                 = Indirect
    Catalog database partition number    = 0
    Alternate server hostname            =
    Alternate server port number         =
    => db2 list node directory
    => SQL1027N  The node directory cannot be found
    Regards

  • How to find the tomcat path from registry?

    Hi,
    How can I find the tomcat path from registry?
    please tell me.
    Thanks
    Gaurav Agrawal

    gauravjlj wrote:
    listen,
    I'm about to create a exe which will do these things.....
    1. first install java
    2. install tomcat
    3. install mysql
    4. deploy my web application with out use of tomcat manager
    first three steps I have done with the help of installer maker. let assume that my tomcat has been installed. but now please tell me how can I deploy my web application.
    that's why I need the tomcat path.
    please tell me.Well, if you've just installed Tomcat you do know where it is so what's the problem? Why not, in fact, include your application in the tomcat directories as you install them? That's all there is to installing tomcat, installing the directories, setting %JAVA_HOME% and (possibly) running the service.bat file.

  • Question about push registry

    hello, I'm a beginner in j2me and I'm developing an application that receive a message via socket, and I want my application to be always ready to receive the message even if it not running. I thought of static push registry put the thing I couldn't understand are:
    - my application must send different messages for each clients, so is pushing to the registry will help me here ??
    - when I use it how the connection be established (I mean do I have to write connecter.open()), because I use the dynamic one and by the example provided by sun I create the connection and then push it to registry ..???
    - do I need some specific code to be written on the server side ?
    - can u please give the steps of how to test static push registry ??
    hope u will help me ^_^
    thanks

    I understood what I want but I stuck in a problem with static push-registry, it work fine on the emulator but when I install it on a real device nothing happen.
    the device I use is E71 .. I want to know if anyone try push with it and he success or E71 is not supporting static push-registry.
    when I install the application it dose ask me if I agree to run it automatically ..... also, I try the dynamic one and it success...
    thanks

Maybe you are looking for

  • Moving files from PC to Mac

    how do you move files from a pc to a mac ( my documents , my pictures, I tunes)

  • Outlook and mail services/ can't send mail to external emails

    I have been setting up os x server as a mail server for my company. I bound open directory to active directory but could not manage mail for the active directory users that way, so I started creating new users through open directory. I've hit a coupl

  • External speaker problems.

    So, i'm having trouble with my external speakers playing music. When my headphones are in, it plays the music and the volume slide bar shows up, but as soon as i take those out, it stops the music and the bar disappears. It won't play the music. Also

  • Poor design on the hard shell... but there's a simple solution / suggest

    Do you like using the Micro's hard shell casing as a desk-prop? Are you annoyed that you have to unplug and re-plug the headphones from the jack every time you want to take it out (to change the battery, for instance)? So am I. Plus, I noticed that i

  • Disk IO performance tuning of oracle 10g 64bit  on rhel5 64bit

    Hi Friends, I am very new on oracle database tuning part. I am facing some issues on the oracle disk io data transfer rate on rhel5. Please help me. Details of issue is below. I am using the iscsi san storage to install the database. My san storage i