Help needed in developing midlet to communicate with pc application

hi , i am trying to develop a j2me application for mobile phone and a j2se application for pc
the midlet can send messages to my pc application, upon recieve the message, the pc application will read the message and store it into a database. any1 have any idea, samples or reference to see how to do this? thanks many

There are a couple of ways you could do this. Bluetooth communication is available on a few J2ME devices, so you could do it through that. Or you could set up a servlet on the J2SE app end and send the data over the internet (check out HttpConnection). I'm not sure of any other quick and easy methods.

Similar Messages

  • How can I communicate with other applications from my Java application?

    Hello,
    I need help about how can i communicate with other application(say textpad.exe/wordpad.exe/MS word.exe) from my Java program.
    More precisely, I need to know how i can get the current position of the cursor whether it is in any .txt/.doc files, then I may write some text in my java application and click a button and then my program will append the line(string) in that position of the file which is running under another appliction(Notepade.exe/MSword.exe).
    Please provide me some help.

    I may be wrong (and anyone, please correct me if so), but Java may not be the best tool for something such as this. I envision that you'd have to make some OS calls such as calls to the user32.dll, and while this can be done through the JNI, you'd still have to have a C or C++ program doing the dirty work.

  • Help!  My Mac doesn't communicate with my DV camera!

    I need some help setting up my DV camera to my Mac Pro. I've done all the things that the help guide and manual tells you to, but it is still unable to communicate with the camera. I've tried changing my capture settings, capture pre-sets and my easy set-up. Please, any advice or guesses would be greatly appreciated!

    If you've followed Randy's suggestions above, and you say nothing shows up on the camera's LCD when you're connected (like DV IN), then I might suspect a bad firewire cable.
    Remember, the Easy Setup should be chosen first; then you should be capturing into the project with that Easy Setup. If you've chosen the DV NTSC setup, what happens when you open the log and capture window? Does it say "VTR OK" under the view window, or does it say "NO COMMUNICATION?"
    If the latter, again, you may have a bad cable. If you're getting the VTR OK, then try controlling the camera with the transport controls in the log and capture window. It should work.

  • Help needed to Develop VoIp Soft phone through PAP2T

    Hi Forum,
       I need help to develop a soft phone with the help of JTAPI along with PAP2T Adapter on Broadband Connection.
    I'm not getting any single solution on how to develop VoIP software.
    I'm ready to change technology from java to other but I want help/suggestion on it So that I can just make or receive call on phone.
    please help me out..
    thanking you,
    Bhatt

    Hello All,
    Thanks for all your help. I solved the problem using the following code:
    DATA: ls_var_range TYPE  RRRANGEEXIT.
    DATA: ls_out_range TYPE  RRRANGESID.
    DATA: lt_out_range TYPE  Rsdd_T_RANGE.
    DATA: lv_year      TYPE  /BI0/OIFISCYEAR.
    DATA: lv_month     TYPE  /BI0/OICALMONTH.
    DATA: lv_fper      TYPE  /BI0/OIFISCPER.
    CASE I_VNAM.
    WHEN 'Z0FISCPER_YTD'.
        READ TABLE I_T_VAR_RANGE INTO ls_var_range
        WITH KEY VNAM = '0P_FPER'.
        IF SY-SUBRC = 0.
          lv_year = ls_var_range-low+0(4).
          CONCATENATE lv_year '001' INTO lv_fper.
          ls_out_range-low = lv_fper.
          APPEND ls_out_range TO lt_out_range.
          E_T_RANGE = lt_out_range.
        ENDIF.

  • Help needed to develop MESSENGER

    Hi,
    I would like to develope an Instant Messenger with Flash 8.
    I have linux installed on my SERVER with php, mysql and
    amfphp and all are working fine.
    I have also designed the database required, but I do have a
    problem. Can anybody tell me the concept of messenger chating
    window....?? I mean to say how it is possible to send messages to
    the end user who is online in my list....?? What should I do to
    detect the window opened at his end and populate that msg. window
    with my message...??
    If anybody can help me out to understand the concept. Whether
    I should use the client's login session ID or the opened window to
    send the message or what...??
    Help for this topic will be highly appreciated.
    Thanks and regards,
    Shrijal.

    There are 2 ways to do a chat: have the server transmit the
    messages to the users or let the client ask the server for new
    messages. I'd recommend the first one, it's faster and also easier.
    For that, you'll need a socket connection clientside
    (XMLSocket) and a server process serverside. Now this is where the
    trouble begins, most web hosters don't allow you to start services
    on their servers. But as you mentioned you have your own server,
    this shouldn't be a problem. Pick a language of your choice or
    maybe use php to write the server, and let it manage the open
    connections, so when a new messages arrives, it can broadcast it to
    all other connections.
    If you won't or can't do it this way, your clients have to
    pull for the messages, meaning they have to ask the server in some
    interval for new messages, and load them if available. You can't
    actively send the messages to some user, they all have to get them
    by themselves. There's a tutorial on that way here:
    http://www.sephiroth.it/tutorials/flashPHP/flash_chat/.
    cheers,
    blemmo

  • JMS, Help needed in writing a client code with .bindings file

    Some one is keeping a message in MQSeries in their environment. We need to develop a client code, probably a JMSClient, which will consume the messages from the MQSeries. They have given us a ".bindings" file. The following lines of code is used and we are not able to connect to it. Can somebody help us in completing this task?
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.fscontext.RefFSContextFactory");          
    env.put(Context.PROVIDER_URL, "file:///c:/Temp");
    String QCF = "CPS.ECOMM.QCF";
    String TEST_QUEUE_S = "SYSTEM.JMS.D.CPSI.ECOMM";
    initialContext = new InitialContext(env);
    queueConnectionFactory = (QueueConnectionFactory)initialContext.lookup(QCF);
    queueConnection = queueConnectionFactory.createQueueConnection();
    queueConnection.start();
    queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    queue = (Queue)initialContext.lookup(TEST_QUEUE_S);
    QueueReceiver receiver = queueSession.createReceiver(queue);
    Message msg = receiver.receive();
    TextMessage txtMsg = (TextMessage)msg;
    String result1 = txtMsg.getText();
    ....

    The .bindings file is part of the structure expected by the RefFSContextFactory in the directory that provider.utl points to.
    Create a directory containing only the .bindings file and point the PROVIDER_URL at the directory.

  • Urgent help needed:oc4j  server error coming while running  web application

    while running application below error is coming
    2007-05-28 18:05:39.439 NOTIFICATION JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    2007-05-28 18:05:39.470 NOTIFICATION JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    2007-05-28 18:05:54.471 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: datatags does not exist. Error creating Web application: webapp

    Hello,
    The notification messahes (JMS related) are here for information purpose and not related to your application.
    The ERROR J2EE HTTP-00004 is related to your application, is looks like you have a misconfiguration or something bad with your application and the module/application named "datatags".
    Could you please give more information about the application that you are deploying?
    - how do you deploy it?
    - what is the packaging? EAR or WAR, how did you package it? (Jdev or other?)
    - what are the different modules that you are using? (web apps, ejb, ...)
    - can you run the application from JDeveloper if you are using it?
    Regards
    Tugdual Grall

  • Help needed - app developed with 3.6, yet will not load - asking for 3.2 swz

    Hi
    I'm developing a flex 3 application
    I recently uploaded an update to a test environment and bumped into a strage behaviour
    the project started a while back and went through a number of versions of the sdk, namely 3.2, 3.5, 3.6
    the project is clearly set for 3.6 now and I made sure both the framework swf & swz were uploaded to the same location of the index html page and the application swf.
    for some wierd reason, when I test it on other computers, it displays the built in preloader, but fail to load the application,
    this is because during the preloading phase the framework is not yet loaded and initialized.
    when I checked the network monitor, it showd me a call to the 3.2 version of the flex framework, that could not be loaded
    I've made sure again - a - that my project uses 3.6 sdk, and b - that all versions of the framework (3.2, 3.5, 3.6) are up on the server.
    any Ideas on where I can go from here?
    it would be really appreciated
    cheers
    Yariv

    Hi and thank you for your comment
    I've made sure all sdk's and dependencies in the project lead to the right location on the hard drive where the 3.6 SDK is located
    it did not change anything
    when I test it on other computers and check the network monitor
    it still asks for 3.2 swz for an unknown reason
    the thing is, even when I've uploaded 3.2 swz & swf to the server
    the call for them is still returning a 404 not found...
    this is really fastrating
    any other ideas please?
    thanks
    Yariv

  • Help needed for a new Mac user with his photo and video librarys

    after swopping my Ericson for an iphone a year ago. then taking delivery of an iPad on launch day. I have finally taken the plunge and swopped my windows pc for a lovely 27" iMac... what have I been doing all these years using windows? using the Mac is a joy.
    As I get more involved with their products I am constantly fascinated (and frustrated) by Apples way of doing things. this situation is no exception and I need Apple people with Apple experience to help me make a decision. 
    I am looking at software to organise my photos and videos. I have approximately 7000 photos residing on a windows home server. in addition to that there are some 200 or so HD videos taken with either my Sanyo Xacti camcorder or Sony DSC W300 camera. both cameras I think produce MPEG format
    my first experience was iPhoto. great for the `price' but not very flexible. single libraries, poor editing facilities. and because I have files referenced and not copied to my iPhoto library, if I deleted from the library its not deleted from the server (and vice versa). this leads to images being displayed in the library that don't exist etc.
    then I downloaded the Aperture 3 trial. great until I came across the `Unsupported file format' situation with the MPEG videos that strangely enough, iPhoto will recognise and play (the Apple way of doing things).
    1. should I put the photos on the Mac instead of the server?
    2. Is there a better way of managing the images for deletions etc
    3. should I stick with Aperture because of the editing
    4. is there a better software or way of managing the videos
    sorry for the ramble but its all new to me

    had a good session on all three of the recommended programs and now have a better understanding of the excellent advice I have been given.
    iPhoto
    great `free' program that is easy to use but somewhat limited on features. think I would always be looking to upgrade from here (feels a bit boring)
    Aperture
    really enjoyed using this but at £170! a hefty price tag considering its limited file support. fortunately its only my camera video clips (MPEG) that it wont view. my camcorder files (MP4) are fine so this is looking better as a one stop solution.
    Elements
    much more than just a image touch up. considering what it can do.. very good value at around £60. teamed with iPhoto it becomes even more attractive.
    My issue still remains with the masters file location.
    I would prefer to keep all my media on the external server to ensure I have a fail safe recovery option. its a 4TB 5 disk affair which contains all the family music, video images and DVD's etc (likely to change to a Mac server in the future!)
    one feature that I cant find, (even in Aperture which surprises me), is the ability to automatically manage deletions from referenced locations? i.e. delete a file from the server and when aperture opens up the thumbnails are updated. or, delete a referenced master in Aperture and an option comes up to delete the referenced file on the external drive.
    how would a professional photographer or studio using Aperture manage this process (or would they use something else?)
    forgot to mention that through our student facilities i can get a discounted copy of Photoshop CS5 for around £175 which is close to Aperture. is this a worthwhile option or overkill
    Message was edited by: buttons129

  • Help needed to use only SQR reporting with Oracle 10g

    I have very old SQR reports (ver 2.28) that are still being used by connecting SQR to an Oracle7 DB. We have migrated the data from Ora7 to Oracle 10.2.0.4. The issue is that SQR 2.28 is not able to connect to Oracle 10.2.0.4. Hence I want to use the new version of SQR that is part of OBIEE.
    I am not familiar with OBIEE and my interest is only using the SQR portion of it.
    1. Can any one help me as to how to go about installing SQR portion of OBIEE on a Linux Itanium 64-bit box? My Oracle 10.2.0.4 DB is also running on the same box.
    2. What are the minimum components of OBIEE I need to install to make use of SQR ?
    3. Any other relevant information
    Thanks.

    When installing webgate, make sure the Access Server is running. You will get this error if Access Server is down or not reachable. ( Make sure from the machine where you are installing webgate you can ping to Access Server by Name).
    Thanks
    Ram

  • Help needed to stop Flash stuffing up with firefox

    I am getting the "Shockwave flash may be busy or it may have stopped responding. You can stop the plugin now or you can continue to see if the plugin will complete. "
    It is a most frustrating error as neither the Continue or Stop options help at all.
    I have searched on the error and all I find is that lots of others have the same problem and it is driving them crazy too. Any suggested fixes seem to be either a technical work-around that may be more of a problem in the long-term or don't seem to work. I'm not a tech person but I've been able to sort out most similar problems in the past.
    I'm using Firefox 21.0 with Shockwave Flash 11.7.700.202 on Windows 7.
    I don't know where to turn to for help.

    Please take a look at this post for details on what we'll need to investigate:
    How do I report a Flash Player crash to Adobe?
    You can either create a bug or post back with the information in a forum reply.  In addition, please make sure you include your 5 most recent report ID links found when you visit the "about:crashes" page in Firefox's address bar.

  • Tcp/ip write help - need to send a motor command with parameters

    hello - i have one small, main labview 7.0 vi that i use to control a drill's two motors.
    right now i press a button on the front panel to move the motor, and when i do, a sub vi window pops up so the operator can set a couple of parameters and press an ok button.....the vi then sends the command with the parameters to the drill's motors.
    i am trying to change it so i can send the move command from another computer, in another room, while the main vi sits on the computer with the drill. i know i will use TCP listen, write, read, and close in both the main vi (the TCP server?) and the client which is on the remote computer.
    my problem is with setting the parameters for the subvi's that usually pops up. how do i set the parameters from the remote-client and have them be sent into the subvi on the main vi. if i can do this, i would have to also have a way to close the sub vi after it pops up in the main program too.
    OR should i use something else like and application reference or an invoke node function?????
    please help
    thanks!!!!
    sam

    Hi again,
    If the VI in the lab will be running continuously, then you will need
    to alter some things from the example I sent you or look at an
    alternate implementation. The example I sent you assumed that the VI in
    the lab was not running. This technique actually starts the VI and runs
    it somewhat like a subVI. It inputs values into the connector pane,
    runs it, and then returns values from the outputs on the connector pane
    after it finishes executing. It will not work to call a VI by reference
    if it is already continuously running.
    Instead I imagine you would want to have your VI in the lab have some
    sort of State Machine that polls a certain control value, such as an
    enum control, to determine which state to execute next. You could
    modify the technique I first sent to still open a reference to the VI
    in the lab, but it wouldn't try to run it. Instead you could use the VI
    method Set Control Value to set the value of a certain control or
    controls in the lab VI to certain values. The VI in the lab would then
    hopefully be in some Idle state where it polled one of those control
    values continuously to decide what to do next. That would allow the VI
    in the office to programmatically send commands to the other VI, as
    well as parameters for those commands. Simply set control values for
    the VI in the lab and let the VI in the lab go about its business. I've
    attached an example below.
    That's just one idea. Other options you have would be to use a
    DataSocket connection to send parameters and commands back and forth
    between computers. This is a pretty simple API to use. If you have
    LabVIEW 8, Shared Variables are an option. Or you might look into
    simply using Remote Front panels, which allows you to connect to a VIs
    Front Panel across the network. You could then have the whole VI in the
    Lab, but you could connect to it, view it, modify the controls and so
    on from your office. If you want to view and control a VI without
    having LabVIEW installed on the viewing computer, you can use the Web
    Publishing Tool to create a web interface for your front panel. Lots of
    options. Let me know what sounds interesting.
    Jarrod S.
    National Instruments
    Attachments:
    Lab_VI.vi ‏29 KB
    Office_VI.vi ‏51 KB

  • Help needed to DELETE a System created with Logical Components assigned.

    Hi,
    I created a system in SMSY in my Solution Manager system. I unknowingly assigned the system to Logical Components. Now on finding that it was a worng way of configuration I need to DELETE the system and recreate it using the option "Create new system with assistant."
    Please help me in resolving the issue. I am not getting an option from the were used list to delete the assignment of the system.
    Expecting a reply at the earliest.
    Regards,
    Vineeth

    Dear friend
    You can remove the system from the logical component by clicking on display/change and removing the SID from the system assignments,
    just select the blank field from F4 help.
    Once you have removed the system from the logical component, you will be able to delete the system.
    shailesh Tiwari

  • Help needed in developing web map service for mobile devices

    please can any one help me(with source code if possible) for developing the web map service client for mobile devices in J2ME.

    There are a couple of ways you could do this. Bluetooth communication is available on a few J2ME devices, so you could do it through that. Or you could set up a servlet on the J2SE app end and send the data over the internet (check out HttpConnection). I'm not sure of any other quick and easy methods.

  • Help needed 4 developing an application

    Hello ppl ,
    i am new to this community but have developed some apps in J2ME.Recently i got an idea of developing an application by which i can connect my mobile device to the computer(pc) using bluetooth.And i can control my pc with the mobile device and actually see the whole GUI of the pc on my mobile device.so that i dont need to sit on the pc again & again.
    I have heard that there are softwares that are used by administrators for viewing the desktop of their hosts and also control to them through lan,so i want to develop the same thing for the mobile also.
    Can anyone tell me if this is possible or not on J2ME platform.i know its very restricted but if this is possible then what platform should u think i should go for.
    And also tell me how to setup a lan using bluetooth b/w my pc & mobile device.Like what APIs r there for doing so and what books/tutorials i should refer 2.
    Thanks
    (Need sincere replys )

    This is not the best place for open ended questions like this.
    Try looking at how OSS versions do this (argouml for example).

Maybe you are looking for

  • Cancellation of excise invoice for depot

    Is there any way out to cancel or reverse the excise invoice for depot??

  • Can't mail a pdf document

    Hi all, I have a little bit annoying problem which occurred in a couple of days. What is the problem: we have an internal web site where people upload some pdf files and other users work on them. One user has the following problem: when he opens a pd

  • Sound from separate movie clips over laps.

    I have 4 buttons that each lead to 4 different frames with a gotoAndStop() command. Each of those frames has a movie clip on it. But for some reason the sound that I have triple checked plays from more than one movie clip. It's weird because the soun

  • Samsung monitors

    I am have a problem connecting a Samsung 245BW to my PowerBook G4 through the DiV ports with a DIV cable. I may be purchasing a new MacPro. Is anyone having success running a Samsung monitor on their MacPro via the DIV connections? And, does anyone h

  • Noisy phone line, here we go again......

    Hi, all, I'm new here, so please be gentle! We've been going round and round on this one for over a year, wonder if anyone has any new suggestions.... Basically, we have an intermittent crackle on our land line. Been going on for ages now. We've had