Reputation: 6993
My code has an error that says HttpConnection cannot be resolved. The documentation says it is in the javax.microedition.io package, so I tried:
import javax.microedition.io;
That results in an error stating only a type can be resolved. Using quick fix results in:
import javax.microedition.io.*;
I’m assuming something is wrong with the imports?
Upvotes: 0
Views: 351
Reputation: 11876
The second import should solve your problem with resolving HttpConnection. However, HttpConnection is an interface. Are you using it as a class?
Upvotes: 1