You Are Here:

Community: Developer Discussion Boards

#1 Old How live conversation can be done by J2ME - 2008-04-08, 09:08

Join Date: Apr 2008
Posts: 4
manas_cse
Offline
Registered User
Can any one help me to do live conversation by using J2ME

Best Regards
Manas
Reply With Quote

#2 Old Re: How live conversation can be done by J2ME - 2008-04-08, 13:40

Join Date: Mar 2003
Posts: 6,211
petrib
Offline
Forum Nokia Champion
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).
Reply With Quote

#3 Old Re: How live conversation can be done by J2ME - 2008-04-09, 07:05

Join Date: Apr 2008
Posts: 4
manas_cse
Offline
Registered User
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
Reply With Quote

#4 Old Re: How live conversation can be done by J2ME - 2008-04-09, 08:21

Join Date: Mar 2003
Posts: 6,211
petrib
Offline
Forum Nokia Champion
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.
Reply With Quote

#5 Old Re: How live conversation can be done by J2ME - 2008-04-09, 11:02

Join Date: Apr 2008
Posts: 4
manas_cse
Offline
Registered User
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
Reply With Quote

#6 Old Re: How live conversation can be done by J2ME - 2008-04-09, 18:29

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#7 Old Re: How live conversation can be done by J2ME - 2008-12-15, 10:04

Join Date: Oct 2008
Posts: 2
gabrielazwat
Offline
Registered User
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.
Reply With Quote

#8 Old Re: How live conversation can be done by J2ME - 2008-12-18, 01:43

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Live Streaming with J2ME deepanjanghosh16 Mobile Java Media (Graphics & Sounds) 3 2007-12-28 06:40
nokia 6630 LIVE streaming in j2me nilgosavi Mobile Java Media (Graphics & Sounds) 0 2005-11-10 14:22
I am new to J2ME, are there any API's to support voice conversation control haytham_afifi Mobile Java General 2 2004-08-15 23:10
Vipera J2ME Mobile Network Operator goes live maffeis Mobile Java General 0 2004-08-05 08:17
J2ME Polish Version 1.0 RC6 enough Mobile Java General 1 2004-07-20 12:25

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ