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

