Re: [android-developers] Blank screen displayed after downloading from Android Browser.

2010-01-04 Thread Farida Khan
Does anyone have the solution for this?

Regards
Farida Khan

On Wed, Dec 16, 2009 at 8:24 PM, Binu Geevarghese wrote:

> Hi all,
>
> We are developing an application that requires a download of a music
> file (mp3).
> We are using the Browser Activity for the same.
>
> The Browser Activity is invoked from the application and the download
> url is passed to it, like:
> startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(downloadurl)));
>
> However, after downloading, on the download list page, if we press the
> Back button, a blank white screen is displayed. Only after we press
> the Back button a second time on this white screen, the application
> screen is displayed.
> This happens because the Browser Activity view is displayed before the
> actual downloading starts.
>
> This is an issue in the application flow. We need to manage the flow
> in such a way that the 'Back' key press on the download list view will
> take the control to the application screen instead of the white
> screen.
>
> We are unable to handle this scenario. Any suggestion will be highly
> helpful.
>
> Thanks in anticipation.
> Binu Geevarghese
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Want to start an activity when the device attains Idle mode

2009-05-04 Thread Farida Khan
Hi,

I want to invoke an activity when the device attains the idle mode. Can any
one help me to let me know how to know the device has attained the Idle
mode. The statement Settings.System.getInt(getContentResolver(),
SCREEN_OFF_TIMEOUT, def) gives the value when the device should come to idle
mode, but want to know where this mode is invoked from in the android
source. Please answer to this as soon as possible.

Thanks.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---