Questions tagged [droidgap]

Droidgap is a class in Android that represents the Phonegap application.

Definition

Droidgap is a class in that represents the application. It is an activity that should be extended by the user to load the specific file that contains the application.

Example

This is an example class of Droidgap:

/* Droidgap extends Activity to function */
import android.app.Activity; 
...

public class Droidgap extends Activity {
    /* onCreate() is a necessary function for Droidgap */
    public void onCreate() {
        ...
    }
...
}

Usage

Questions tagged with Droidgap should relate to implementations of the Droidgap class, and should be also tagged with and others as necessary.

7 questions
2
votes
1 answer

Cordova throwing exception Cross origin requests are only supported for protocol schemes

I am very new to Cordova framework. I am trying to access HTML file from Droidgap activity, but getting exception as, Cross-origin requests are only supported for protocol schemes: HTTP, data, chrome, chrome-extension, https. For this I found one…
Tushar Deshpande
  • 448
  • 2
  • 9
  • 28
1
vote
0 answers

Unable to start phonegap application in eclipse

I have import several open source phonegap application in eclipse and they can be compiled and installed on the devices. The issue is, when I start these applications, Android will always throw a dialog saying "Unfortunately, (App Name) has…
Wei Yang
  • 895
  • 3
  • 15
  • 26
1
vote
2 answers

DroidGap: TIMEOUT ERROR! - calling webViewClient in android phonegap

I am developing a android mobile application using PhoneGap.When I am trying to invoke a webservice from the javascript,I am getting DroidGap: TIMEOUT ERROR! - calling webViewClient in android phonegap
Nagaraj N
  • 457
  • 6
  • 13
0
votes
0 answers

cordova-2.9.1.jar Breaks My App

I have a PhoneGap App and I am trying to add DroidGap: import org.apache.cordova.DroidGap; public class RestartAppActivity extends DroidGap { @Override public void onCreate(Bundle savedInstanceState) { …
nmnir
  • 568
  • 1
  • 10
  • 24
0
votes
1 answer

Android DroidGap Service Keep App Running

I am developing an app using PhoneGap system. Currently when the user switch to another app and then come back to the app, it starts from scratch as if the user is opening it once again. Now I have heard of the Service that android has but since my…
keith Spiteri
  • 259
  • 1
  • 6
  • 22
0
votes
1 answer

how to solve this error on windows??? droidgap unrecognized

i download phonegap but it's bin folder just contain droidgap with unknown type. when i use this command in command prompt with ruby droidgap wiz the result is : droidgap is not recognized :( i also install ant and sdk manager. and add their path…
BeginnerProgrammer
  • 664
  • 3
  • 13
  • 27
0
votes
1 answer

phonegap: MainActivity.java - changing extends to "Droidgap" causes errors

I'm trying to set up phonegap for 3 days now. The docs will only get me to the "phonegap add android" part which returns an error so I tried this tutorial from…
ProblemsOfSumit
  • 19,543
  • 9
  • 50
  • 61