when I try to create an Adapter, I use the constructor Adapter(String),
but eclipse suggests: the constructor Adapter(String) is not visible.
Can any one tell me the reason?
thx~
Using java Syntax Highlighting
- //import ...;
- import org.bluez.Adapter;
- public class btdemo extends Activity {
- private Adapter btasapter= null;
- public void onCreate(Bundle icicle) {
- super.onCreate(icicle);
- btasapter = new Adapter("demo");// the constructor Adapter(String) is not visible.
- setContentView(R.layout.main);
- }
- }
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
--!


