I am facing some problems after using this example. In fact this is a very good source code to create action bar.
I used this in my application. But when I run my application, myapplication installed on the emulator but my application icon doesn’t show on the emulator home screen.
I think i have missed something in my AndroidManifest File. Below is the code of my AndroidManifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.keepintouch.android.widget.actionbar"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="14"/>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<!--
<activity android:name="com.keepintouch.android.KeepintouchActivity"
android:label="@string/app_name" android:theme="@android:style/Theme.Light">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
-->
</application>
</manifest>
In my app i want to create an activity class but i cannot judge that In which package should I create my all activity file ? I think you can tell me that where have i created mistakes? Please tell me also that how should i create an activity file with action bar functionality ?
keep your package as
and register your activity as
need to add in your layout as