I can only get the package name and class name of the top activity object,
using activityManager.getRunningTasks.
The reason I want to get the reference to the top activity object is:
My application FOOL will start a third-part activity, say Gallery intent
activity. For example, the activ
On Mon, Jul 8, 2013 at 8:33 PM, Linda Li wrote:
> So when I start FOOL again, I see Gallery! This is not desired at all!
And why not? If I opened the Gallery via your app, and went home, when I
returned to your app I would expect to still be in the Gallery as this was
the last thing I was doing
If I use clearTaskOnLaunch of activity A, then the whole procedure can be
what I want.
However, I do not know all activities are cleared immediately after
pressing HOME button, or immediately after launching the application.
I just asked the question in "clearTaskOnLaunch behavior ambiguous"
I
On Mon, Jul 8, 2013 at 10:45 PM, Linda Li wrote:
> However, I do not know all activities are cleared immediately after
> pressing HOME button, or immediately after launching the application.
http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
-
so call finish in onPause?
Kris
On Mon, Jul 8, 2013 at 11:45 PM, Linda Li wrote:
> If I use clearTaskOnLaunch of activity A, then the whole procedure can be
> what I want.
>
> However, I do not know all activities are cleared immediately after pressing
> HOME button, or immediately after launchi
You cannot get the activity ID of the thrid-party activity, such as Gallery.
On Tuesday, July 9, 2013 8:03:57 AM UTC-5, Kristopher Micinski wrote:
> so call finish in onPause?
>
> Kris
>
>
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" gr
It sounds like your design is flawed and completely insecure: you
really thinking that not showing the user the screen any more --- even
though you're going through another app and handing all the sensitive
information to it --- sounds like a good security policy?
Merely "not showing" the screen
I plan to kill all activities in the app, of course.
If all activities in the app are my own, the goal can be easily implemented.
However, now we need to call a thrid-party activity, such as Gallery (yes,
we could design our gallery. Here is an example):
So if the user presses HOME button whe
I guess my point is that if you don't control the app, whose to say it
won't steal your data? Nothing stops it from doing so. Furthermore,
how are you going to transmit the data so that the gallery app gets it
in a secure way? The gallery doesn't have any features that allow
encryption or any wa
I already provided you a direct link to an Activity flag whose description
seems to match exactly what you want. What's the problem with that?
On Tue, Jul 9, 2013 at 1:12 PM, Linda Li wrote:
> So if the user presses HOME button when he is during Gallery, I still want
> to kill activities in the a
I do not think using default Gallery is not secure. I also use default
camera intent in the app.
I only need the picture. The picture is not secure: it is in the storage.
So this would not be a problem.
On Tuesday, July 9, 2013 1:39:59 PM UTC-5, Kristopher Micinski wrote:
>
> I guess my point is
On Tuesday, July 9, 2013 11:30:37 PM UTC-5, TreKing wrote:
>
>
> I already provided you a direct link to an Activity flag whose description
> seems to match exactly what you want. What's the problem with that?
>
The link you posted is not what I want.
It clear the activities when we relaunch th
On Wed, Jul 10, 2013 at 11:01 PM, Linda Li wrote:
> It is not clean. Actually I can make relaunching the app by starting with
> Login page. However, when we press back, there is Gallery. It is not clean
> at all.
I have no idea what you mean by it not being "clean".
I mean, when we relaunch the application, the page is Login Page. if we
press back button, it is Gallery. If we continue pressing back button, it
goes to HOME.
The whole process seems "not clean" (or "not neat", or "not friendly", or
"weird") to the user, since we do not expect a Gallery page h
On Sun, Jul 14, 2013 at 3:15 PM, Linda Li wrote:
> I mean, when we relaunch the application, the page is Login Page. if we
> press back button, it is Gallery. If we continue pressing back button, it
> goes to HOME.
Sounds like your task stack is screwed up. You can make the Gallery be part
of it
15 matches
Mail list logo