I have a class by the name G
which was extended from Application
, this is the class :
public class G extends Application {
public static Context ctx;
@Override
public void onCreate() {
// TODO Auto-generated method stub
super.onCreate();
ctx = this.getApplicationContext();
}
}
and in AndroidManifest.xml
i added this class like this :
<?xml version="1.0" encoding="utf-8"?>
<uses-sdk android:minSdkVersion="8" />
<application
andriod:name=".G"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".DatabaseTestActivity"
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>
but it give me this error :The prefix "andriod" for attribute "andriod:name" associated with an element type "application" is not bound.
whats the problem ?
0 comments:
Post a Comment