×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    77

    communication from one app to other app

    Suppose i have one Bill Application in j2me and i have another payment application in j2me(these are different applications).I just want to communicate these two application Is that Possible...

    i.e i m sending data from bill app to payment application.so how should i do this

    please anyone help

  2. #2
    Registered User
    Join Date
    May 2008
    Posts
    179

    Re: communication from one app to other app

    Quote Originally Posted by suneethapuchakayala View Post
    Suppose i have one Bill Application in j2me and i have another payment application in j2me(these are different applications).I just want to communicate these two application Is that Possible...

    i.e i m sending data from bill app to payment application.so how should i do this

    please anyone help
    what about ActivateViewL(const TVwsViewId& aViewId,TUid aCustomMessageId,const TDesC8& aCustomMessage) ?


    and sending data in aCustomMessage parameter ?

  3. #3
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    77

    Re: communication from one app to other app

    Both the applications are in j2me not symbian..

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    179

    Re: communication from one app to other app

    Quote Originally Posted by suneethapuchakayala View Post
    Both the applications are in j2me not symbian..
    sorry for that i did't see J2me

  5. #5
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: communication from one app to other app

    The easiest way is: just have one application. Why do you want to split it into two separate applications?

    Graham.

  6. #6
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    77

    Re: communication from one app to other app

    Bill application is which i have implemented and the other application we have it already....i want to send details from my application to the other application.

    I m not understanding how to do it....

  7. #7
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: communication from one app to other app

    If you put both applications in the same JAR, they can use the same record stores.

    Graham.

  8. #8
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    77

    Re: communication from one app to other app

    Suppose I have one MobileApp Project.In that i have 2 midlets
    1) HelloMidlet
    2) SampleMidlet

    then i have created object for SampleMidlet in HelloMidlet and called the string (which i have written as public in SampleMidlet and called in HElloMidlet) it is working fine....but all the variables we cant make it as public and call it in the hellomidlet...its not the correct way also.....

    --And one more thing if we want to see the forms created in samplemidlet how it can be possible.....
    means---suppose lets take bank transaction....user enters data (his personal details)which is in one application(1 midlet)and moves to the other application(bankers app)then how it is possible....

    because its necessary to do in this way......
    please is there any possible way to do..
    please anyone help

  9. #9
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: communication from one app to other app

    If you create two MIDlets, you are creating two, separate applications. One application cannot access variables and objects inside another application. You would need to add the new functionality to the existing application, and create one application.

    You can share information between MIDlets if you put them in the same JAR, by accessing the same RecordStores.

    These are the two solutions:

    1. Make the two MIDlets into one.
    2. Share RecordStores.

    Graham.

Similar Threads

  1. App Signing
    By stevejanko in forum Mobile Java General
    Replies: 9
    Last Post: 2009-04-14, 20:56
  2. Communication between Java and C++ apps on S60 phones?
    By wsaar in forum Mobile Java General
    Replies: 8
    Last Post: 2009-03-23, 11:03
  3. symbian signed testing problem.
    By anglina in forum Symbian
    Replies: 0
    Last Post: 2007-02-01, 10:15
  4. Dialog's clipping area (again). Nokia experts, please help
    By synov in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-06-26, 14:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×