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. Access to Call Audio?

Will the 1.0 releaseprovide application access to the call audio stream?
Thanks.
Shawn
--==--==--
Shawn McMurdo
See my Low Vision Guide at
http://lowvisionguide.org


      
--~--~---------~--~----~------------~-------~--~----~

2. Download files onto SD Card

Hi, Can anyone tell me how I can download a file from the internet
onto the SD card if I have just a link to the file!

--~--~---------~--~----~------------~-------~--~----~

3. How to get the information of a streaming video.

4. J2ME or J2SE?

5. Dispatch keyboard event to other activity

6. getting the information of selected file from another application for my application use

7. Security Questions