Yes Piren,

 <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.playcez.Start"
            android:label="@string/app_name"
            android:screenOrientation="portrait" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.playcez.GPSActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait" >
        </activity>




On Thu, Mar 14, 2013 at 1:47 PM, Piren <[email protected]> wrote:

> Are you sure your package is defined properly? Where you put your file
> matters...
>
>
> On Thursday, March 14, 2013 10:09:42 AM UTC+2, RKJ (Android developer)
> wrote:
>
>> Piren,
>>
>> Thanks
>>
>> But i test all 3 posibility like -
>>
>> com.playcez.start
>> .start
>> start
>>
>> but result is same.
>>
>> :( any clue further.. :)
>>
>> On Thu, Mar 14, 2013 at 1:35 PM, Piren <[email protected]> wrote:
>>
>>> you're not defining the activity correctly in the manifest...
>>> the activity "name" field needs a fully classified path to the class or
>>> should start with a period to fill in the package declared in the manifest.
>>>
>>> see:
>>> http://developer.android.com/**guide/topics/manifest/**
>>> activity-element.html<http://developer.android.com/guide/topics/manifest/activity-element.html>
>>>
>>>
>>> On Thursday, March 14, 2013 9:38:36 AM UTC+2, RKJ (Android developer)
>>> wrote:
>>>>
>>>> I have a file called "Start" and extending FragmentActivity, this file
>>>> is listed in manifest file still showing File not found exception any clue
>>>> please -
>>>>
>>>> 1. Here is error code
>>>>
>>>> 03-14 13:06:49.074: W/dalvikvm(25684): threadid=1: thread exiting with
>>>> uncaught exception (group=0x40eb8258)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684): FATAL EXCEPTION: main
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):
>>>> java.lang.RuntimeException: Unable to instantiate activity
>>>> ComponentInfo{com.playcez/com.****playcez.Start}: java.lang.**
>>>> ClassNotFoundExcepti**on: com.playcez.Start
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> android.app.ActivityThread.**per**formLaunchActivity(**ActivityThr**
>>>> ead.java:2001)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> android.app.ActivityThread.**han**dleLaunchActivity(**ActivityThre**
>>>> ad.java:2104)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> android.app.ActivityThread.**acc**ess$600(ActivityThread.**java:**134)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> android.app.ActivityThread$H.**h**andleMessage(ActivityThread.**ja**
>>>> va:1247)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at android.os.Handler.
>>>> **dispatchMes**sage(Handler.java:**99)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> android.os.Looper.loop(Looper.****java:154)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> android.app.ActivityThread.**mai**n(ActivityThread.java:4624)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> java.lang.reflect.Method.**invok**eNative(Native Method)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> java.lang.reflect.Method.**invok**e(Method.java:511)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> com.android.internal.os.**Zygote**Init$**MethodAndArgsCaller.run(**Z**
>>>> ygoteInit.java:809)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> com.android.internal.os.**Zygote**Init.main(ZygoteInit.**java:576)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> dalvik.system.NativeStart.**main**(Native Method)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684): Caused by: java.lang.**
>>>> ClassNotFoundExcepti**on: com.playcez.Start
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at dalvik.system.**
>>>> BaseDexClassLoad**er.findClass(**BaseDexClassLoade**r.java:61)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**501)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**461)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> android.app.Instrumentation.**ne**wActivity(Instrumentation.**java**
>>>> :1023)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     at
>>>> android.app.ActivityThread.**per**formLaunchActivity(**ActivityThr**
>>>> ead.java:1992)
>>>> 03-14 13:06:49.078: E/AndroidRuntime(25684):     ... 11 more
>>>> 03-14 13:06:49.109: D/dalvikvm(25684): GC_CONCURRENT freed 170K, 4%
>>>> free 9405K/9719K, paused 1ms+2ms
>>>>
>>>> 2. Manifest -
>>>> <activity
>>>>             android:name="Start"
>>>>             android:label="@string/app_**nam**e"
>>>>             android:screenOrientation="**por**trait" >
>>>>             <intent-filter>
>>>>                 <action android:name="android.intent.**a**ction.MAIN"
>>>> />
>>>>
>>>>                 <category 
>>>> android:name="android.intent.**c**ategory.LAUNCHER"
>>>> />
>>>>             </intent-filter>
>>>>         </activity>
>>>>
>>>> 3. Here is class snapshot -
>>>>
>>>> import com.facebook.Session;
>>>> import com.facebook.SessionState;
>>>> import com.facebook.**UiLifecycleHelper**;
>>>>
>>>> import android.content.Intent;
>>>> import android.os.Bundle;
>>>> import android.support.v4.app.**Fragmen**t;
>>>> import android.support.v4.app.**Fragmen**tActivity;
>>>> import android.support.v4.app.**Fragmen**tManager;
>>>> import android.support.v4.app.**Fragmen**tTransaction;
>>>> import android.view.Menu;
>>>> import android.view.MenuItem;
>>>> import android.view.View;
>>>> import android.view.View.**OnClickListe**ner;
>>>> import android.view.animation.**AlphaAn**imation;
>>>> import android.view.animation.**Animati**on;
>>>> import android.view.animation.**Animati**onSet;
>>>> import android.view.animation.**Animati**onUtils;
>>>> import android.view.animation.**LayoutA**nimationController;
>>>> import android.view.animation.**RotateA**nimation;
>>>> import android.view.animation.**Transla**teAnimation;
>>>> import android.widget.Button;
>>>> import android.widget.ImageView;
>>>> import android.widget.LinearLayout;
>>>> import android.widget.RelativeLayout;
>>>> import android.widget.SlidingDrawer;
>>>> import android.widget.TextView;
>>>>
>>>>
>>>>
>>>> public class Start extends FragmentActivity {
>>>>     private final int SPLASH_SCREEN_TIMEOUT = 3000;//1850
>>>>     private static final int SPLASH = 0;
>>>>     private static final int SELECTION = 1;
>>>>     private static final int FRAGMENT_COUNT = SELECTION +1;
>>>>     private int time=100;
>>>>     private Fragment[] fragments = new Fragment[FRAGMENT_COUNT];
>>>>     private MenuItem settings;
>>>>     private boolean isResumed = false;
>>>>     private UiLifecycleHelper uiHelper;
>>>>     private Session.StatusCallback callback = new
>>>> Session.StatusCallback() {
>>>>         @Override
>>>>         public void call(Session session, SessionState state, Exception
>>>> exception) {
>>>>             onSessionStateChange(session, state, exception);
>>>>         }
>>>>     };
>>>>
>>>>     @Override
>>>>     public void onCreate(Bundle savedInstanceState) {
>>>>         super.onCreate(**savedInstanceSt**ate);
>>>>
>>>>         setContentView(R.layout.main);
>>>> }
>>>> }
>>>>
>>>> Thanks is Advance
>>>>
>>>>
>>>> --
>>>> Thanks & Regards
>>>>
>>>> Rakesh
>>>>
>>>>  --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-d...@**googlegroups.com
>>>
>>> To unsubscribe from this group, send email to
>>> android-developers+**[email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to android-developers+**[email protected].
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>
>>
>> --
>> Thanks & Regards
>>
>> Rakesh Kumar Jha
>> Android Developer, Trainer and Mentor
>> Bangalore
>> Skype - rkjhaw
>> (O) +918050753516
>> (R) +919886336619
>>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Thanks & Regards

Rakesh Kumar Jha
Android Developer, Trainer and Mentor
Bangalore
Skype - rkjhaw
(O) +918050753516
(R) +919886336619

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to