Maybe someone can give me a little help
How can I convert this into android code:
// A connection gives access to a input and a output stream
// and SocketConnection is in javax.microedition.midlet.MIDlet;
// Connector is in javax.microedition.io.Connector;
SocketConnection socket = (SocketConnection) Connector.open("socket://
192.168.0.30:28503");
// The SLAPClient is instaciated with a existing input and output
stream
SlapClient slapClient = new SlapClient(socket.openInputStream(),
socket.openOutputStream());
Thanx a lot for helping!
On 14 Mai, 20:29, cbraun75 <[EMAIL PROTECTED]> wrote:
> Thanx Simon, that's nice but I need some equal things to write it my
> own to acess the files in my own application.
>
> On 14 Mai, 12:30, simon <[EMAIL PROTECTED]> wrote:
>
> > Perhaps this will help you:http://www.poliplus.com/android.htm
>
> > On 14 Mai, 09:05, cbraun75 <[EMAIL PROTECTED]> wrote:
>
> > > Hi!
>
> > > Just new to android. I must rewrite a applet for a carconnection to
> > > get data from the car. There is a existing application which is for
> > > JavaME.
>
> > > First one question the socket connection from Java ME (import
> > > javax.microedition.io.SocketConnection;) equal to androids class
> > > Socket from the java.net api or which one could I use?
>
> > > Same Question to the other imported classes from JavaME app:
>
> > > import javax.microedition.io.ConnectionNotFoundException;
> > > import javax.microedition.io.Connector;
> > > import javax.microedition.io.SocketConnection;
> > > import javax.microedition.midlet.MIDlet;
> > > import javax.microedition.midlet.MIDletStateChangeException;
>
> > > Thanxx for helping- Zitierten Text ausblenden -
>
> > - Zitierten Text anzeigen -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---