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 8271175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:46:37+00:00 2026-06-08T06:46:37+00:00

God, this gives me headaches. I checked everything according this post DroidGap cannot be

  • 0

God, this gives me headaches. I checked everything according this post DroidGap cannot be resolved into a type and it still doesn’t work.

Here’s my code:

import org.apache.cordova.*;
import android.app.DroidGap;
import android.os.Bundle;
import android.view.Menu;


public class SpotableActivity extends DroidGap {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.loadUrl("file:///android_asset/www/index.html");
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_spotable, menu);
        return true;
    }
}

And I’ve got cordova jar in my build path.

I followed all the steps from docs over here: http://docs.phonegap.com/en/1.9.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android

  • 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-08T06:46:39+00:00Added an answer on June 8, 2026 at 6:46 am

    The steps in the page you cite do not have android.app.DroidGap, because there is no such class AFAIK. DroidGap, according to that page, is in org.apache.cordova.

    So, delete the DroidGap import statement, and you should have better luck.

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

Sidebar

Related Questions

Really wish i was God, then I would understand what this means: The element
This might be a god awful question but I'm not sure why it won't
This is one of those 'oh my god' moments. The previous programmer in our
This would be easier with a jsfiddle, but as god is my witness something
Hey why in the name of god does this return undefined on an <a>
I am trying to install ReCaptcha into the user registration of Joomla 1.5. This
This is probably a stupid question but, I cant for the love of god
first time posting here, but god know's I use this site to search for
God damn confused at the syntax for my MYSQL query. Is this correct... Can't
God I hate the term code smell, but I can't think of anything more

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.