Sometimes easier set than done but I agree, it makes sense to use what the platform offers. As an alternative I will see if I can use the apache.conn. Out of curiosity, how do you determine the 'better than' below?
Still the issue I am getting with the ConnectionNotFound does not seem to be an implementation or a performance issue but rather a configuration issue - I will keep at it a bit more before I give it up. Thanks again On Aug 27, 4:28 am, Indicator Veritatis <[email protected]> wrote: > Since Android does not include the javax.microedition package, one > should not expect an exact equivalent. But we do have the > org.apache.conn and org.apache.http.* packages; some of us think these > are much better than anything in javax.microedition! > > One should still expect to use a very little bit from java.net, e.g. > the Url and Uri classes. > > On Aug 26, 1:40 pm, kypriakos <[email protected]> wrote: > > > Does anyone know the equivalent of these imports from J2ME to > > Android? > > > import javax.microedition.io.Connector; > > import javax.microedition.io.HttpConnection; > > import javax.microedition.io.SocketConnection; > > import javax.microedition.io.StreamConnection; > > > Also, I needed to import midpapi20.jar but I don't want to use > > packages > > outside Android into my app -- would I be able to find most of the > > related packages in Android libs? > > > Thanks very much -- 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

