Can someone help me understand what <init> means in the stack trace here:
at android.bluetooth.BluetoothAdapter.<init>(BluetoothAdapter.java:1541) I guess it is a function name? But, I don't think a function can have less than and greater than signs in it. On Wednesday, September 5, 2012 12:17:07 PM UTC-5, bob wrote: > > Does anyone *really* know what this means? > > > 09-05 10:22:05.518: E/AndroidRuntime(13117): java.lang.RuntimeException: > Can't create handler inside thread that has not called Looper.prepare() > 09-05 10:22:05.518: E/AndroidRuntime(13117): at > android.os.Handler.<init>(Handler.java:121) > 09-05 10:22:05.518: E/AndroidRuntime(13117): at > android.bluetooth.BluetoothAdapter$2.<init>(BluetoothAdapter.java:1541) > 09-05 10:22:05.518: E/AndroidRuntime(13117): at > android.bluetooth.BluetoothAdapter.<init>(BluetoothAdapter.java:1541) > 09-05 10:22:05.518: E/AndroidRuntime(13117): at > android.bluetooth.BluetoothAdapter.getDefaultAdapter(BluetoothAdapter.java:543) > 09-05 10:22:05.518: E/AndroidRuntime(13117): at > com.blue_reader.Reader_Thread.run(Reader_Thread.java:31) > > I got it from calling BluetoothAdapter.getDefaultAdapter(); in a non-UI > thread. > > -- 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

