Single point of entry into application ?

by SLY » Sun, 08 Mar 2009 22:48:00 GMT


Sponsored Links
 Hi,
I have a major doubt regarding this.
Here is the scenario. My application has a password verification
screen to begin with , ie when the application is started this
activity is called first. Below is the androidmanifest entry for this
activity.

<application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".VerifyPassword"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
.
.
.
more activities here
</application>

Suppose after entering the valid password the user is taken to the
homescreen [the password activity does a finish() , since if I dont
finish this activity the user can navigate back to this screen by
pressing the BACK key] of the app and then moves on to other
activities in the application. If the user now presses the HOME key
the application is paused. If the user navigates back to the
application by Longpressing the HOME key and clicking on the
application icon on the most recent apps, he is taken not to the
Password verification activity but the last screen i was in before
pressing the HOME key.

So please help me regarding this. What I want is to make sure that the
user is given entry into the application only through the Password
verification activity. So is there anyway to make sure that all the
activities except the password activity is finished when the user
presses the HOME key ???

Any kinda of information would really help me. I am very much stuck
with this.
Thanks anyways
--~--~---------~--~----~------------~-------~--~----~



Single point of entry into application ?

by SLY » Sun, 08 Mar 2009 22:49:22 GMT


 Hi,
I have a major doubt regarding this.
Here is the scenario. My application has a password verification
screen to begin with , ie when the application is started this
activity is called first. Below is the androidmanifest entry for this
activity.

<application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".VerifyPassword"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
.
.
.
more activities here
</application>

Suppose after entering the valid password the user is taken to the
homescreen [the password activity does a finish() , since if I dont
finish this activity the user can navigate back to this screen by
pressing the BACK key] of the app and then moves on to other
activities in the application. If the user now presses the HOME key
the application is paused. If the user navigates back to the
application by Longpressing the HOME key and clicking on the
application icon on the most recent apps, he is taken not to the
Password verification activity but the last screen i was in before
pressing the HOME key.

So please help me regarding this. What I want is to make sure that the
user is given entry into the application only through the Password
verification activity. So is there anyway to make sure that all the
activities except the password activity is finished when the user
presses the HOME key ???

Any kinda of information would really help me. I am very much stuck
with this.
Thanks anyways
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. iklan yg menggoda

baru buka web t mob....
ada yang menggelitik....
ternyata nyindir ipong....
xixiiixixiiii....

http://mytouch.t-mobile.com/mytouch-4g-features#/accessories

buat pemilik ipong jangan tersinggung yah...
xixixixiii

salam
gio

-- 
===============
"

2. HTML5 and Android

Hi Everyone,

I have question related to Html5 and Android. I have folder view in my
application to manage documents.i wanted to give drag drop view to my
folders and files . In Iphone, developer do it like using HTML5 with
Iphone sdk by making web views in the Iphone application. Is that
possible to make web views in Android application using Html5 or any
other technology.


could it possible to use Android and HTML5 together in one
application.

how i could give drag drop option in my application using Html5 or any
other technology which is not so slow.


Thank you for your answer.

Best regards,
ijaz

-- 
.

3. Transition from the end of an animation to a new Activity?

4. Online Training IN Informatica,Qtp,SAP,SAS,OBIEE,Oracle,JAVA @BigClasses.com

5. DROID sound playing problem

6. Live Wallpaper Preferences Activity launch problem

7. Android syntax problem