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

  • SEARCH
  • Home
  • 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 7489731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:21:44+00:00 2026-05-29T15:21:44+00:00

This is my first android app and I’m a little disapponted because I’m not

  • 0

This is my first android app and I’m a little disapponted because I’m not even able to run the google sample!!

Google sample: http://developer.android.com/guide/webapps/webview.html

Android version 2.1 (as suggested)

This is the log when I’m trying to run the app:

[2012-02-06 18:30:18 - XXX] ------------------------------
[2012-02-06 18:30:18 - XXX] Android Launch!
[2012-02-06 18:30:18 - XXX] adb is running normally.
[2012-02-06 18:30:18 - XXX] Performing YYY.Android.Android.XXXActivity activity launch
[2012-02-06 18:30:18 - XXX] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'test21'
[2012-02-06 18:30:18 - XXX] Uploading XXX.apk onto device 'emulator-5554'
[2012-02-06 18:30:18 - XXX] Installing XXX.apk...
[2012-02-06 18:30:21 - XXX] Success!
[2012-02-06 18:30:21 - XXX] Starting activity YYY.Android.Android.XXXActivity on device emulator-5554
[2012-02-06 18:30:23 - XXX] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=YYY.Android/.Android.XXXActivity }
[2012-02-06 18:30:23 - XXX] ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=YYY.Android/.Android.XXXActivity } from null (pid=-1, uid=-1) requires android.permission.INTERNET

But I’ve already gave the internet permission!

these are my files:

.java

package XXX.Android;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.*;;

public class XXXActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    setContentView(R.layout.main); 

    // Configuration of the WebView
    final WebView webview = (WebView) findViewById(R.id.webview);
    final WebSettings settings = webview.getSettings();

    settings.setJavaScriptEnabled(true);

    webview.loadUrl("http://www.google.com");     

    }
}

Main.xml

<?xml version="1.0" encoding="utf-8"?>

<WebView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/webview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
/>

Manifest.xml

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

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

    <uses-sdk android:minSdkVersion="7" />

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" 
        android:permission="android.permission.INTERNET">
        <activity
            android:name=".Android.XXXActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>
  • 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-05-29T15:21:45+00:00Added an answer on May 29, 2026 at 3:21 pm
    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        android:versionCode="1"
        android:versionName="1.0" package="YYY.Android">
        <uses-sdk android:minSdkVersion="7" />
        <application
            android:icon="@drawable/ic_launcher"
            android:label="@string/app_name">
            <activity
                **android:name="XXXActivity"**
                android:label="@string/app_name" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
        </application>
        <uses-permission android:name="android.permission.INTERNET" />   
    </manifest>
    

    the problem was this: android:name=”XXXActivity” and not android:name=”.Android.XXXActivity”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've followed this tutorial: http://anandhansubbiah.com/blog/writing-your-first-android-application/ , but no matter what I do, and what
This is my first Android app. I need to email what I have so
Let me start by explaining this is my first Android app. So I don't
I'm about ready to market my first Android App (from a US Google Checkout/Merchant
To begin with, this is the first Android app I'm writing, and I have
So here I have this first time app I'm working on. When I run
This is my first Android app and I've encountered an exception when trying to
Hi everyone this is my first Android app. I new to Java and Eclipse
I develop my first android application. This is pretty simple app. It has a
im writing my first android app (im not new to java). heres my problem:

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.