Rather than posting your entire code and then bumping the thread three times...

...you could have tried reading the error message. It spells out the
error quite clearly:

> java.lang.UnsupportedOperationException: addView(View, LayoutParams)
> is not supported in AdapterView"

-- K

13 февраля 2012 г. 18:08 пользователь Soyer <[email protected]> написал:
> Hello Everyone, i am developing an app on android to catch bluetooth,
> and i am facing an error which i couldn't understand what its source
> can be, the error is on the logcat as the following:
>
> "02-13 13:02:11.538: E/AndroidRuntime(196):
> java.lang.RuntimeException: Unable to start activity
> ComponentInfo{android.mgo.helloandroid/
> android.mgo.helloandroid.BTDdetecetwithV7Activity}:
> java.lang.UnsupportedOperationException: addView(View, LayoutParams)
> is not supported in AdapterView"

-- 
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

Reply via email to