I am working with thedesolatesoul ‘s ooVoo library and I’m getting an error on one device that does not appear on three other devices. I get this error on an HP Slate 7 Plus running Android 4.2.2. It does not appear on the three other devices running Android 4.0.4, Android 4.1.2 or Android 4.4.4.
When using the B4A bridge there is no logged error. I’m unable to use USB debugging as HP does not provide a USB Debug driver.
The error occurs on trying to connect. Has anyone had a similar experience and can shed some light on this for me?
This is the error:
This is the manifest:
Any help is greatly appreciated. 
Best regards
When using the B4A bridge there is no logged error. I’m unable to use USB debugging as HP does not provide a USB Debug driver.
The error occurs on trying to connect. Has anyone had a similar experience and can shed some light on this for me?
This is the error:
B4X:
An error has occured in the Sub:main-vvvvvvv1(java line:653)java.lang.ClassCastException:android.app.Application cannot be cast to android.app.Activity
B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
'End of default text.
AddManifestText( <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.RECORD_VIDEO" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<!-- Tell the system this app requires OpenGL ES 2.0. -->
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />)
AddApplicationText( <meta-data
android:name="AppId"
android:value="\ 12349983354818" />
<meta-data
android:name="AppToken"
android:value="\ MDAxMDAxAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABhZVxW2%2F4hdu8qoC2Y8mqBEdh5etTttzecEvzPi3qaLiJYDIM4V1g5iaivqot1WYV%2Bijv9O0bcRE%2FDrXVDisZp40El2k4BJ9jOwbZOxrW843cEHVqVy%2FQylVo5AyA3pkg%3D" />)
AddApplicationText( <!-- Phone State listener -->
<receiver android:name="com.oovoo.core.phone.CallReceiver" >
<intent-filter>
<action android:name="android.intent.action.PHONE_STATE" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.NEW_OUTGOING_CALL" />
</intent-filter>
</receiver>)
Best regards