×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    259

    Want to run a j2me application from symbian

    Hi
    I am new to Symbian and still in the learning phase. I want to develope a application in Symbian which will run a j2me app. The j2me app is already been developed.Let me tell you about my application in brief.

    I have an j2me application which is recording a mp3 file.But as recording and playing is not simultaneously possible in j2me so I want to play the same recorded file in Symbian.

    What I actually trying to do is I am trying to make a symbian application which will start my j2me application and when the j2me application will start recording the file, I have kept a option called "Play" in the j2me application which when clicked will start my symbian application which will play the mp3 file.

    Now I am collecting the mp3 file (in j2me application) in bytes array and sending it to the symbian application. My symbian application will just need to play the file.Can anyone will suggest how to start with. Is there any help from any sites.

  2. #2
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Re: Want to run a j2me application from symbian

    Search in Wikki you found the solution.
    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

  3. #3
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Re: Want to run a j2me application from symbian

    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

  4. #4
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,347

    Re: Want to run a j2me application from symbian

    But why you don't want to realize all functionality in the one Symbian C++ application?

  5. #5
    Registered User
    Join Date
    Jul 2009
    Posts
    259

    Re: Want to run a j2me application from symbian

    Quote Originally Posted by A.A.M. View Post
    But why you don't want to realize all functionality in the one Symbian C++ application?

    Because my project demands so. Can you help me out on this?

  6. #6
    Registered User
    Join Date
    Jul 2009
    Posts
    259

    Re: Want to run a j2me application from symbian

    Can anyone please guide me with some examples or some articles on that?
    Any suggestion would be greatly appreciated..!


    Thanks and regards

  7. #7
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,347

    Re: Want to run a j2me application from symbian

    How to launch MIDlets from Symbian C++ application - http://wiki.forum.nokia.com/index.ph...60_3rd_Edition
    How to communicate between J2ME and Symbian C++ applications - http://wiki.forum.nokia.com/index.ph...vicesFramework

  8. #8
    Registered User
    Join Date
    Jul 2009
    Posts
    259

    Re: Want to run a j2me application from symbian

    I have downloaded and trying the example from
    http://wiki.forum.nokia.com/index.ph...vicesFramework

    But when i run it the program crashes with a error as
    FAULT: KERN 0x00000004(4)

    So whats the problem. Could anyone please suggest?

  9. #9
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,347

    Re: Want to run a j2me application from symbian

    Note that the example project (c++ part) which attached to article is compiled for S60 2nd ed.
    So if you want to test it on S60 3rd ed then you must build project for that platform first.

  10. #10
    Registered User
    Join Date
    Jul 2009
    Posts
    259

    Re: Want to run a j2me application from symbian

    Sorry, but i actually didn't followed what you said by building the project for that platform. I was trying to build for the s60 3rd edition and if it is compiled for 2nd edition so what changes do i have to make then?

  11. #11
    Registered User
    Join Date
    Jul 2009
    Posts
    259

    Re: Want to run a j2me application from symbian

    So will it be possible to run it on the 3rd edition?

  12. #12
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,347

    Re: Want to run a j2me application from symbian

    I've fixed the project and now it works correctly on 3rd ed. - http://dev.amware.ru/files/NatWare_1.1_for_S60_3rd.zip

  13. #13
    Registered User
    Join Date
    Jul 2009
    Posts
    259

    Re: Want to run a j2me application from symbian

    Quote Originally Posted by A.A.M. View Post
    I've fixed the project and now it works correctly on 3rd ed. - http://dev.amware.ru/files/NatWare_1.1_for_S60_3rd.zip
    Thanks for the link. But still I am getting the same error when I am trying to build that on S60 3rd FP2
    FAULT: KERN 0x00000004 (4)
    Could you help?

  14. #14
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,347

    Re: Want to run a j2me application from symbian

    Looks like you are trying to test application on emulator. Try to test it on a real device.
    I've tested on S60 3rd FP2 device and project works correctly.

  15. #15
    Registered User
    Join Date
    Jul 2009
    Posts
    259

    Re: Want to run a j2me application from symbian

    Quote Originally Posted by A.A.M. View Post
    Looks like you are trying to test application on emulator. Try to test it on a real device.
    I've tested on S60 3rd FP2 device and project works correctly.
    Ya I was trying to test that on an emulator. So wont it run on an emulator?

Similar Threads

  1. Replies: 1
    Last Post: 2009-04-06, 08:11
  2. Calling a symbian C++ application from j2me
    By Ravikumar in forum Mobile Java General
    Replies: 2
    Last Post: 2007-04-02, 23:21
  3. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  4. J2ME application run on the S40,s60,s80
    By tiger zhou in forum Mobile Java General
    Replies: 3
    Last Post: 2006-02-16, 13:57
  5. Replies: 1
    Last Post: 2003-03-25, 11:06

Posting Permissions

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