×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    4

    How live conversation can be done by J2ME

    Can any one help me to do live conversation by using J2ME

    Best Regards
    Manas

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: How live conversation can be done by J2ME

    Video, voice or text? One-to-one (person to person)? One-to-many? Many-to-many? In any case, you need an intermediate server as a relay, and most likely video and voice are out of the question with J2ME.

    There's already existing "infrastructure" for these, but not accessible from J2ME:
    - regular mobile network voice calls
    - 3G network video calls
    - VoIP/SIP calls
    - and instant messaging services/apps

    With J2ME, you probably have to settle with yet another instant messaging app to compete with whatever is already out there (or connecting/linking to existing IM services).

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    4

    Re: How live conversation can be done by J2ME

    Thanks petrib for your reply. I have some question regarding to your reply.

    How the existing infrastructure can be made accessible by J2ME?
    How can I set the intermediate server for relay and what software I need for that?
    Why video and voice are out of question in J2Me?

    Please give response as early as possible.

    Best Regards
    Manas

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: How live conversation can be done by J2ME

    The existing facilities (e.g., making and receiving video calls, for example) are not accessible to J2ME apps.

    What kind of intermediate server (like for instant messaging) depends on what you're trying to do. Search the net for "Jabber" for example.

    Video and voice are out of the question in J2ME, because you cannot get control over the microphone, speaker(s) and camera.

    With J2ME, you are isolated from hardware by the Java virtual machine, and whatever APIs (JSRs) are supported, and what access/services they allow. Direct hardware access and manipulation is not possible from Java.

  5. #5
    Registered User
    Join Date
    Apr 2008
    Posts
    4

    Re: How live conversation can be done by J2ME

    Thanks for your reply. I have established a session with the callee from the caller end by sip protocol then captured voice and maked rtp packets from that voice data and then trying to sending and receiving rtp voice data packets.
    So which type of server is suitable for that?
    If I use streaming server then is it needed to send rtp packets at first to the streaming server then to the callee.
    Actually what will be the technique can you explain me briefly?

    BestRegards
    Manas

  6. #6
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: How live conversation can be done by J2ME

    manas_cse, note that in Java ME you do not have real-time streaming out from the phone as you do not have access to the current recording unless you stop recording.

    So it is hard (impossible?) to create real time voice conversations with Java ME.

    Hartti

  7. #7
    Registered User
    Join Date
    Oct 2008
    Posts
    2

    Re: How live conversation can be done by J2ME

    HI HARTTY

    If i tried to loop on the record control at each time i take the voice and send it in socket connection to a socket server
    will it be possible? or iam placing a huge load on the application . and why streaming outside is not possible ?.
    Thanks a lot.
    Best Regards.

  8. #8
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: How live conversation can be done by J2ME

    The send audio in short pieces approach will likely work, but the audio quality will be bad and if there is network problems (or slow network connection) something unexpected might happen (unless you take care of everything server-side for example)

    Why is it not possible? Because it has not been implemented.
    Why it has not been implemented? Hard to say. Maybe because the MMAPI specification does not require that...

    Hartti

Similar Threads

  1. Live Streaming with J2ME
    By deepanjanghosh16 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2007-12-28, 05:40
  2. nokia 6630 LIVE streaming in j2me
    By nilgosavi in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-11-10, 13:22
  3. Replies: 2
    Last Post: 2004-08-15, 22:10
  4. Vipera J2ME Mobile Network Operator goes live
    By maffeis in forum Mobile Java General
    Replies: 0
    Last Post: 2004-08-05, 07:17
  5. J2ME Polish Version 1.0 RC6
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-07-20, 11:25

Posting Permissions

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