Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Live Streming from phone to another phone  RSS feed

 
Chathurika Pavithrani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My final year project is to stream audio and video from a mobile phone to another mobile phone via bluetooth.
Can this be done in J2ME? Is socket programming supported in J2ME?
If this cannot be done using a protocol and sockets can't I do a thing like this?

Write to the serial port and read it from the serial port...
Bit by bit or by chunks?

will not it work?

The most terrible question is... will I face to memory problems when programming in j2me?

I need a soon reply please please f any one knows.....
This is urgent.
 
Treimin Clark
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chathurika Pavithrani wrote:
I need a soon reply please please f any one knows.....
This is urgent.


Please read Ease Up
 
Tim Holloway
Bartender
Posts: 18608
68
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The biggest problem in doing anything peer-to-peer in J2ME is that the phones are probably assigned IP addresses via DHCP, with the telco doing NAT from there to the open Internet. And if you're REALLY lucky, they're recycling the IP subnet addresses at different locations. Meaning that it's very difficult to push to a phone, as it probably doesn't have a public IP address. You'd essentially have to have both devices use a go-between server.

As for whether or not memory would be a limitation, it's hard to say, since that depends on the device and the complexity of the datastream.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!