bob wrote: > 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? >
Nope. > But, I don't think a function can have less than and greater than signs in it. It can't. You don't need to guess - you can know for certain by reading the documentation. For example, http://docs.oracle.com/javase/tutorial/java/javaOO/methods.html "the rules for field names apply to method names as well, ..." http://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html#naming "... name can be any legal identifier — an unlimited-length sequence of Unicode letters and digits, beginning with a letter, the dollar sign "$", or the underscore character "_"" You need to know Java in order to use it for Android development. As for "<init>", GIYF. http://lmgtfy.com/?q=Java+stack+trace+%3Cinit%3E http://docs.oracle.com/javase/7/docs/api/java/lang/StackTraceElement.html#getMethodName() http://docs.oracle.com/javase/specs/jvms/se5.0/html/Overview.doc.html#12174 http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-2.html#jvms-2.9 Try using an online search for five minutes. -- Lew -- 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

