Hey Kostya, are you referring to the apache http API included in Android? I will give it a shot. I downloaded and included the J2ME-polish that actually does run under Android but I am getting a Connection Not Found exception thrown when I run that piece of code in the emulator. I can actually connect to the location using the browser directly so something is not getting set right in that config ...
Thanks On Sep 1, 3:34 pm, Kostya Vasilyev <[email protected]> wrote: > The code seems to be really simple, establishing an HTTP connection, > and getting raw streams for reading and writing. > > Replace javax.microedition classes with those included with Android. > > -- Kostya > > 01.09.2010 23:26, kypriakos пишет: > > > Hi all - trying this one again .. any ideas? If the Connector class > > was not > > created in the original Android Java, what else can be used in its > > place? > > 3rd Party software or any other part of the API? Thanks. > > > On Aug 26, 4:47 pm, kypriakos<[email protected]> wrote: > >> I am pretty much trying to solve these issues: > > >> import javax.microedition.io.Connector; > >> socketCon = (SocketConnection) Connector.open(strURL, > >> Connector.READ_WRITE); > > >> and > > >> import javax.microedition.io.StreamConnection; > > >> streamCon = (SocketConnection) Connector.open(strURL, > >> Connector.READ); > >> streamCon = (HttpConnection) Connector.open(strURL, > >> Connector.READ); > > >> Any ideas would be greatly appreciated. > > >> Thanks > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget > --http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

