Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
Trusted Contributor
Posts: 160
Registered: ‎11-17-2010
My Device: PlayBook, Z10, Q10

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

This is pretty much the same error about the Android Actionbar:

Failed resolving Lcom/yupptv/android/yupptv/BaseActivity; interface 12 'Landroid/app/ActionBar$OnNavigationListener;'

You should check the references in your BaseActivity and layout resources which involve the ActionBar, respectively adapt your app as described in the previous link.

 

As about the 10.2 simulator: alternatively you can try to use the command "blackberry-deploy" from the BlackBerry Tools SDK to deploy your .bar file or try to drag and drop the .bar file to the controller app.

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

I tested on Bb10.1 simulator

 

 

and the logcat errors are as below:

 

 

09-27 10:29:47.840: D/dalvikvm(1073950853): GC_EXTERNAL_ALLOC freed 82K, 16% free 1902K/2243K, external 2866K/3297K, paused 568ms
09-27 10:29:48.009: D/dalvikvm(1073950853): GC_EXTERNAL_ALLOC freed 1K, 16% free 1902K/2243K, external 6466K/8074K, paused 64ms
09-27 10:29:48.258: D/dalvikvm(1073950853): GC_EXTERNAL_ALLOC freed <1K, 16% free 1903K/2243K, external 19666K/20866K, paused 25ms
09-27 10:29:52.465: I/dalvikvm(1073950853): Failed resolving Lcom/yupptv/android/yupptv/BaseActivity; interface 12 'Landroid/app/ActionBar$OnNavigationListener;'
09-27 10:29:52.467: W/dalvikvm(1073950853): Link of class 'Lcom/yupptv/android/yupptv/BaseActivity;' failed
09-27 10:29:52.472: W/dalvikvm(1073950853): Unable to resolve superclass of Lcom/yupptv/android/yupptv/MainActivity; (1615)
09-27 10:29:52.477: W/dalvikvm(1073950853): Link of class 'Lcom/yupptv/android/yupptv/MainActivity;' failed
09-27 10:29:52.481: E/dalvikvm(1073950853): Could not find class 'com.yupptv.android.yupptv.MainActivity', referenced from method com.yupptv.android.yupptv.HomeActivity$5.onItemClick
09-27 10:29:52.484: W/dalvikvm(1073950853): VFY: unable to resolve const-class 1707 (Lcom/yupptv/android/yupptv/MainActivity;) in Lcom/yupptv/android/yupptv/HomeActivity$5;
09-27 10:29:52.488: D/dalvikvm(1073950853): VFY: replacing opcode 0x1c at 0x0004
09-27 10:29:52.499: D/dalvikvm(1073950853): VFY: dead code 0x0006-0013 in Lcom/yupptv/android/yupptv/HomeActivity$5;.onItemClick (Landroid/widget/AdapterView;Landroid/view/View;IJ)V
09-27 10:29:53.724: D/dalvikvm(1073950853): GC_CONCURRENT freed 1214K, 37% free 2577K/4039K, external 22336K/23634K, paused 1ms+11ms
09-27 10:29:54.157: W/System.err(1073950853): Received authentication challenge is null
09-27 10:29:54.163: W/System.err(1073950853): Relevant discussions can be found on the Internet at:
09-27 10:29:54.180: W/System.err(1073950853): 	http://www.google.co.jp/search?q=10f5ada3 or
09-27 10:29:54.196: W/System.err(1073950853): 	http://www.google.co.jp/search?q=e574403a
09-27 10:29:54.210: W/System.err(1073950853): TwitterException{exceptionCode=[10f5ada3-e574403a b8c63e52-c913c2cc], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=3.0.3}
09-27 10:29:54.294: W/System.err(1073950853): 	at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:192)
09-27 10:29:54.307: W/System.err(1073950853): 	at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)
09-27 10:29:54.332: W/System.err(1073950853): 	at twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:98)
09-27 10:29:54.347: W/System.err(1073950853): 	at twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:122)
09-27 10:29:54.373: W/System.err(1073950853): 	at twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:104)
09-27 10:29:54.400: W/System.err(1073950853): 	at twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:281)
09-27 10:29:54.484: W/System.err(1073950853): 	at com.twitter.NewTwitterApplication$netwrkAsync.doInBackground(NewTwitterApplication.java:112)
09-27 10:29:54.528: W/System.err(1073950853): 	at com.twitter.NewTwitterApplication$netwrkAsync.doInBackground(NewTwitterApplication.java:1)
09-27 10:29:54.583: W/System.err(1073950853): 	at android.os.AsyncTask$2.call(AsyncTask.java:185)
09-27 10:29:54.605: W/System.err(1073950853): 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
09-27 10:29:54.721: W/System.err(1073950853): 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
09-27 10:29:54.748: W/System.err(1073950853): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
09-27 10:29:54.790: W/System.err(1073950853): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
09-27 10:29:54.793: D/dalvikvm(1073950853): GC_CONCURRENT freed 1676K, 36% free 3146K/4871K, external 22336K/23634K, paused 46ms+1ms
09-27 10:29:54.848: W/System.err(1073950853): 	at java.lang.Thread.run(Thread.java:1019)
09-27 10:29:54.878: W/System.err(1073950853): Caused by: java.io.IOException: Received authentication challenge is null
09-27 10:29:54.901: W/System.err(1073950853): 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.processAuthHeader(HttpURLConnectionImpl.java:1153)
09-27 10:29:54.930: W/System.err(1073950853): 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.processResponseHeaders(HttpURLConnectionImpl.java:1095)
09-27 10:29:54.953: W/System.err(1073950853): 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.retrieveResponse(HttpURLConnectionImpl.java:1048)
09-27 10:29:54.974: W/System.err(1073950853): 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:726)
09-27 10:29:55.002: W/System.err(1073950853): 	at twitter4j.internal.http.HttpResponseImpl.<init>(HttpResponseImpl.java:34)
09-27 10:29:55.028: W/System.err(1073950853): 	at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:156)
09-27 10:29:55.060: W/System.err(1073950853): 	... 13 more
09-27 10:29:55.479: E/ActivityThread(1073950853): Failed to find provider info for com.google.plus.platform
09-27 10:29:55.725: I/Ads(1073950853): To get test ads on this device, call adRequest.addTestDevice("D5F65343E85F5344C08F1BB13ACD144F");
09-27 10:29:56.217: D/dalvikvm(1073950853): GC_CONCURRENT freed 1957K, 43% free 3120K/5383K, external 22336K/23634K, paused 45ms+11ms
09-27 10:29:57.118: D/dalvikvm(1073950853): DexOpt: --- BEGIN 'ads1731942321.jar' (bootstrap=0) ---
09-27 10:30:05.171: D/dalvikvm(1073950853): GC_FOR_MALLOC freed 66K, 40% free 3247K/5383K, external 22336K/23634K, paused 977ms
09-27 10:30:05.172: D/dalvikvm(1073950853): DexOpt: --- END 'ads1731942321.jar' (success) ---
09-27 10:30:05.177: D/dalvikvm(1073950853): DEX prep '/data/data/com.tru/cache/ads1731942321.jar': unzip in 253ms, rewrite 8061ms
09-27 10:30:05.374: D/webviewglue(1073950853): nativeDestroy view: 8d7bdf8
09-27 10:30:06.531: I/Ads(1073950853): adRequestUrlHtml: <html><head><script src="http://media.admob.com/sdk-core-v40.js"></script><script>AFMA_getSdkConstants();AFMA_buildAdURL({"pr...
09-27 10:30:07.105: W/webcore(1073950853): Can't get the viewWidth after the first layout
09-27 10:30:07.217: I/Ads(1073950853): Received ad url: <url: "http://pubads.g.doubleclick.net:80/gampad/ads?u_sd=2&seq_num=1&u_w=360&msid=com.tru&js=afma-sdk-a-v6... type: "xfp" afmaNotifyDt: "null" activationOverlayUrl: "null" useWebViewLoadUrl: "false">
09-27 10:30:07.354: I/Ads(1073950853): Ad url modified to http://pubads.g.doubleclick.net:80/gampad/ads?u_sd=2&seq_num=1&u_w=360&msid=com.tru&js=afma-sdk-a-v6...
09-27 10:30:07.358: I/Ads(1073950853): Request scenario: Online server request.
09-27 10:30:08.016: W/Ads(1073950853): adSize was expected to be null in AdLoader.
09-27 10:30:08.192: W/webcore(1073950853): Can't get the viewWidth after the first layout
09-27 10:30:08.277: D/webviewglue(1073950853): nativeDestroy view: 8ede338
09-27 10:30:08.282: I/Ads(1073950853): onReceiveAd()
09-27 10:30:08.291: E/Ads(1073950853): Not enough space to show ad! Wants: <640, 100>, Has: <720, 0>
09-27 10:30:08.294: E/Ads(1073950853): Not enough space to show ad! Wants: <640, 100>, Has: <720, 0>
09-27 10:31:09.001: D/AndroidRuntime(1073950853): Shutting down VM
09-27 10:31:09.010: W/dalvikvm(1073950853): threadid=1: thread exiting with uncaught exception (group=980c568)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): FATAL EXCEPTION: main
09-27 10:31:09.084: E/AndroidRuntime(1073950853): java.lang.NoClassDefFoundError: com.yupptv.android.yupptv.MainActivity
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at com.yupptv.android.yupptv.HomeActivity$5.onItemClick(HomeActivity.java:230)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at android.widget.AdapterView.performItemClick(AdapterView.java:284)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at android.widget.ListView.performItemClick(ListView.java:3513)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at android.widget.AbsListView$PerformClick.run(AbsListView.java:1812)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at android.os.Handler.handleCallback(Handler.java:587)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at android.os.Handler.dispatchMessage(Handler.java:92)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at android.os.Looper.loop(Looper.java:123)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at android.app.ActivityThread.main(ActivityThread.java:3687)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at java.lang.reflect.Method.invokeNative(Native Method)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at java.lang.reflect.Method.invoke(Method.java:507)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
09-27 10:31:09.084: E/AndroidRuntime(1073950853): 	at dalvik.system.NativeStart.main(Native Method)

 please look at it and guide me where Iam wrong or what changes needed?

 

 

Thanks

Trusted Contributor
Posts: 160
Registered: ‎11-17-2010
My Device: PlayBook, Z10, Q10

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

Hi,

 

Yes, this is pretty much the same log you've already posted, so I can reply the same: check the ActionBar related code in the app.

There is a number of things what you may check:

- you may have declared something like this in your AndroidManifest: <application android:theme="@android:style/Theme.Holo">

- you can have a number of visual items with a custom style, such as this: <style name="LightThemeSelector" parent="android:Theme.Holo.Light">

- you can have something like this in your activity: requestWindowFeature(Window.FEATURE_ACTION_BAR)

 

It could be something else, but if you can confirm any of the above, you can study the possible workarounds in these articles:

http://blog.perpetumdesign.com/2011/08/strange-case-of-dr-action-and-mr-bar.html

http://blog.imaginea.com/android-handling-actionbar-compatibility-issues/

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

MyManifest.xml

 

 

 

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.tru"
    android:versionCode="113462"
    android:versionName="6.2" >

    <uses-sdk
        android:minSdkVersion="10"
        android:targetSdkVersion="15" />

    <supports-screens
        android:largeScreens="false"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="false" />

    <permission
        android:name="com.tru.permission.C2D_MESSAGE"
        android:protectionLevel="signature" >
    </permission>

    <uses-permission android:name="com.tru.permission.C2D_MESSAGE" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <!-- Keeps the processor from sleeping when a message is received. -->
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.GET_TASKS" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/yupp_logo"
        android:label="@string/app_name"
        android:largeHeap="true"
        android:theme="@android:style/Theme.Holo" >
        <activity
            android:name="com.yupptv.android.yupptv.SplashScreenActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <receiver
            android:name="com.google.android.gcm.GCMBroadcastReceiver"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                <action android:name="com.google.android.c2dm.intent.REGISTRATION" />

                <category android:name="com.tru" />
            </intent-filter>
        </receiver>

        <activity
            android:name="com.yupptv.android.yupptv.HomeActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.google.ads.AdActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
        <activity
            android:name="com.yupptv.android.yupptv.MainActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.LivePlayer"
            android:configChanges="orientation|screenSize|keyboardHidden"
            android:screenOrientation="sensor"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.BaseActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.LiveGenFragmentActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" />
        <activity
            android:name="com.yupptv.android.yupptv.LanguagesActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.VodPlayerActivity"
            android:configChanges="orientation|screenSize|keyboardHidden"
            android:screenOrientation="sensor"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.EventsPlayerActivity"
            android:configChanges="orientation|screenSize|keyboardHidden"
            android:screenOrientation="sensor"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.VodGenActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.MovieGenActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.VodChannelActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.EventProgramsActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.TvGenActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.TvShowsVods"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.TvshowsMostwatched"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.facebook.android.AndroidFacebookConnectActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.VodGenProgramsActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" />

        <service android:name="GCMIntentService" >
        </service>

        <activity
            android:name="com.yupptv.android.yupptv.MovieDetailsActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
    </application>

</manifest>

 

Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

when I run the ported BalackBerry application Iam seeing the following error

 

 

 

at Androidmanifest.xml  as below

 

 

Description Resource Path Location Type
minsdkVersion: 11 is higher than 10:required minimal OS version=10.2 AndroidManifest.xml /yupptv AndroidManifest.xml BlackBerry Verifying Problem

 

 

Below is my manifest.xml

 

 

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.tru"
    android:versionCode="113462"
    android:versionName="6.2" >

    <uses-sdk
        android:minSdkVersion="11"
        android:targetSdkVersion="17" />

    <supports-screens
        android:largeScreens="false"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="false" />

    <permission
        android:name="com.tru.permission.C2D_MESSAGE"
        android:protectionLevel="signature" >
    </permission>

    <uses-permission android:name="com.tru.permission.C2D_MESSAGE" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <!-- Keeps the processor from sleeping when a message is received. -->
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.GET_TASKS" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/yupp_logo"
        android:label="@string/app_name"
        android:largeHeap="true"
        android:theme="@android:style/Theme.Holo" >
        <activity
            android:name="com.yupptv.android.yupptv.SplashScreenActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <receiver
            android:name="com.google.android.gcm.GCMBroadcastReceiver"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                <action android:name="com.google.android.c2dm.intent.REGISTRATION" />

                <category android:name="com.tru" />
            </intent-filter>
        </receiver>

        <activity
            android:name="com.yupptv.android.yupptv.HomeActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.google.ads.AdActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
        <activity
            android:name="com.yupptv.android.yupptv.MainActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.LivePlayer"
            android:configChanges="orientation|screenSize|keyboardHidden"
            android:screenOrientation="sensor"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.BaseActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.LiveGenFragmentActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" />
        <activity
            android:name="com.yupptv.android.yupptv.LanguagesActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.VodPlayerActivity"
            android:configChanges="orientation|screenSize|keyboardHidden"
            android:screenOrientation="sensor"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.EventsPlayerActivity"
            android:configChanges="orientation|screenSize|keyboardHidden"
            android:screenOrientation="sensor"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.VodGenActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.MovieGenActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.VodChannelActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.EventProgramsActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.TvGenActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.TvShowsVods"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.TvshowsMostwatched"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
        <activity
            android:name="com.facebook.android.AndroidFacebookConnectActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.yupptv.android.yupptv.VodGenProgramsActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" />

        <service android:name="GCMIntentService" >
        </service>

        <activity
            android:name="com.yupptv.android.yupptv.MovieDetailsActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Sherlock.NoActionBar" >
        </activity>
    </application>

</manifest>

 Thanks

 

 

Please solve my SDK problem.

 

 

 

 

 

 

Trusted Contributor
Posts: 160
Registered: ‎11-17-2010
My Device: PlayBook, Z10, Q10

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

Hi,

 

Yes, do what the error message says: you need to have android:minSdkVersion="10" in order to be compatible with the Android Runtime on BB OS 10.1. API level 10 is for Android OS Version 2.3.3.

This topic is covered quite well on the forum and the developer page, you can find many bits of good information: https://developer.blackberry.com/android/

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

And if I want it to be compatible for all the most   i.e Android Runtime on BB OS 10.1 ,10.2 and layter tec

 

 

inorder to build and convert for the all the BB10 versions smartphones  from andorid App what shgould I do?

 

Do I need to install other  thean  Android 2.3.3 also.

 

Thanks

Trusted Contributor
Posts: 160
Registered: ‎11-17-2010
My Device: PlayBook, Z10, Q10

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

API level 10 (Android 2.3.3) is the one compatible with the Android Runtime on BB OS 10.1 and later.

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

Ok I will download the teamviewer and I have 10.1 simulator can u check the logcat error etc on my side now.

 

 

Thanks

 

 

 

Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: I have ported a working Android based live TV Application into BlackBerry App . When I run the app on BB10 simulator.iam seeing the following error

Surprise Surprise iam happy to say that Iam  seeing that My app is working on 10.2 simulator 

 

 

 

Thanks

 

 

Will u check on teamviewer etc