Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8842219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:54:16+00:00 2026-06-14T10:54:16+00:00

I’m building an application targeting all the devices for Android. But I’m not able

  • 0

I’m building an application targeting all the devices for Android. But I’m not able to run the application specifically on Nexus 7. I have checked through all the possibilities present on the stackoverflow, but I’m not able to recover from this problem. I’m pasting my AndroidManifest file here. Please see and correct me where I’m doing wrong.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.xxxxxxxxxxxxx"
android:versionCode="1"
android:versionName="1.0" >

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

<supports-screens
    android:anyDensity="true"
    android:largeScreens="true"
    android:normalScreens="true"
    android:resizeable="true"
    android:smallScreens="true" >
</supports-screens>

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />

<!-- Mobclix Required Permissions -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />

<!-- Mobclix Optional Permissions -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
    android:name=".AppSingleton"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name=".MainActivity"
        android:label="@string/title_activity_main"
        android:screenOrientation="portrait"
        android:theme="@android:style/Theme.Light.NoTitleBar" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name=".AppWidgetConfigure"
        android:screenOrientation="portrait" >
        <intent-filter>
            <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
        </intent-filter>
    </activity>

    <!-- widget stuff -->
    <receiver android:name=".MyAppWidgetProvider" >
        <intent-filter>
            <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
        </intent-filter>

        <meta-data
            android:name="android.appwidget.provider"
            android:resource="@xml/my_appwidget_info" />
    </receiver>

    <!-- Mobclix Required Parameter -->
    <meta-data
        android:name="com.mobclix.APPLICATION_ID"
        android:value="6D72xxxxx-xxxxxxxxxxxx-xxxxxxx" />

    <activity
        android:name="com.mobclix.android.sdk.MobclixBrowserActivity"
        android:screenOrientation="portrait"
        android:theme="@android:style/Theme.Translucent.NoTitleBar" />
    <activity
        android:name="UserPreference"
        android:screenOrientation="portrait"
        android:theme="@android:style/Theme.NoTitleBar" >
    </activity>
</application>

Please give me some suggestion for that.

DDMS Error Log:

09-24 16:26:48.424: E/AndroidRuntime(2213): FATAL EXCEPTION: main
09-24 16:26:48.424: E/AndroidRuntime(2213): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jutera.allsearch/com.jutera.allsearch.MainActivity}: java.lang.NullPointerException
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.app.ActivityThread.access$600(ActivityThread.java:130)
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.os.Handler.dispatchMessage(Handler.java:99)
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.os.Looper.loop(Looper.java:137)
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.app.ActivityThread.main(ActivityThread.java:4745)
09-24 16:26:48.424: E/AndroidRuntime(2213): at java.lang.reflect.Method.invokeNative(Native Method)
09-24 16:26:48.424: E/AndroidRuntime(2213): at java.lang.reflect.Method.invoke(Method.java:511)
09-24 16:26:48.424: E/AndroidRuntime(2213): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
09-24 16:26:48.424: E/AndroidRuntime(2213): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
09-24 16:26:48.424: E/AndroidRuntime(2213): at dalvik.system.NativeStart.main(Native Method)
09-24 16:26:48.424: E/AndroidRuntime(2213): Caused by: java.lang.NullPointerException
09-24 16:26:48.424: E/AndroidRuntime(2213): at com.jutera.allsearch.MainActivity.connectionAvailable(MainActivity.java:748)
09-24 16:26:48.424: E/AndroidRuntime(2213): at com.jutera.allsearch.MainActivity.onCreate(MainActivity.java:159)
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.app.Activity.performCreate(Activity.java:5008)
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
09-24 16:26:48.424: E/AndroidRuntime(2213): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
09-24 16:26:48.424: E/AndroidRuntime(2213): ... 11 more
09-24 16:26:51.684: D/dalvikvm(2213): GC_CONCURRENT freed 368K, 10% free 7726K/8519K, paused 12ms+12ms, total 46ms

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T10:54:17+00:00Added an answer on June 14, 2026 at 10:54 am

    Worked for me! There was some problem with how I check my internet connection. Here is my solved code:

    /**
     * Checking network state
     * */
    public boolean connectionAvailable() {
        ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
        NetworkInfo activeNetworkInfo = connectivityManager
                .getActiveNetworkInfo();
        return activeNetworkInfo != null;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
This could be a duplicate question, but I have no idea what search terms
I have a text area in my form which accepts all possible characters from
Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
Seemingly simple, but I cannot find anything relevant on the web. What is the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.