Android :: Blank Screen Displayed After Downloading From Browser

Dec 16, 2009

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.

Android :: Blank screen displayed after downloading from Browser


Android :: Accessing The Currently Displayed Website Of Browser

Oct 18, 2010

Is it possible to programmatically access the website that is currently displayed within the Android browser?
As far as I know the native Browser doesn't handle plugins (please correct me if I'm wrong), so I thought that reading the browser cache would be an option. Is there a more sophisticated way to get the currently displayed HTML?

View 1 Replies View Related

Android :: Downloading Apps From Browser

Nov 28, 2010

How do i download apps from phone's browser with a captivate. i had done it before but downlaoded congnitin (froyo) and forgot how i done it on stock eclair and now it becomes hung up on download.if any suggestions.

View 2 Replies View Related

General :: Galaxy Y S6102 Screen Goes Blank / Nothing Appears Except Samsung Logo Screen

Apr 29, 2014

i have tried to install kitkat version for galaxy y duos s6102,for that i installed clockwork mod n cynogenmod n kitkat file..but after installing the screen goes blank,nothing appears except Samsung logo screen,

View 2 Replies View Related

Sony Ericsson Xperia X8 :: Blank Screen / Black Screen / Hang / Freeze Error?

Dec 2, 2010

This was reported in the other thread about X8 Issues, but thought to start a new one to gather feedback from users. It's about the ''black screen'' freezing issue encountered by some users. I have had this several times since owning the phone for a few weeks, so it is a recurring issue. Problem: The phone hangs or appears to be shut down or become unresponsive suddenly. Pressing the hardware buttons doesn't help as the phone doesn't react at all. Solution: Take out cover and battery and restart.Observations: From my own observations, it's not actually a shutdown but a major freezing/hanging. Sometimes when it happens, I can still see vague shades of the display at an angle. After leaving the phone for a while in the pocket, the phone comes back to normal again. Not sure if this is true for all users with this problem. Anyway, gathering more feedback to see how prevalent the problem is, to evaluate whether I should take it to the SE service centre, or whether doing so will help at all.

View 3 Replies View Related

Android :: Way To Get Splash Screen Displayed ASAP?

Aug 21, 2010

I have a splash screen/loading screen that has .setVisibility() to GONE right after the draw call of my large bitmap is completed. The problem is the splash screen takes a bit to popup which i believe is due to the main activity booting up and doing CPU intensive applications on first run. Is there a way to get my splash screen displayed ASAP? Would it be ok if i had it in a different thread maybe? The splash screen is just a bitmap with a progressBar right below it. My layout is xml based so i cant see myself using setContentView.

View 2 Replies View Related

Android :: Get Foreground Activity Displayed On Screen

Apr 22, 2009

Is it possible to get listed the apps or activity which are actually displayed on the screen of the android mobile. I need to display a text box on some event when no acitivity is displayed, excepting the home screen.

View 3 Replies View Related

Android :: Weather Displayed On The Main Screen?

Sep 22, 2010

Will i get charged for having the weather displayed on the main screen?

View 9 Replies View Related

Android :: Load Only Markers That Would Be Displayed On Current Screen?

Aug 5, 2010

Using Google Maps on Android does anyone have any ideas on how to load only markers that would be displayed on the current screen? I'm thinking about sending a request to a web service that returns the lat/lng for the relevant markers. But what would the parameters be that I could use to calculate if a given lat/lng is within the screen?

View 1 Replies View Related

Android :: Toast To Be Displayed At Specific Points On The Screen?

Jul 15, 2009

I want my Toast to be displayed at specific points on the screen. How do i do that?

View 3 Replies View Related

Android :: Geocoder - Nothing Is Displayed On Screen Whenn Run Application

Oct 26, 2010

I have written the code for geocoding..but unfortunately it does not work ie nothing is displayed on screen...i am attaching the code...is the fault in the code..

CODE:.............

View 1 Replies View Related

Android :: How To Access Programmatically What Is Displayed In Lock Screen

Feb 15, 2010

Today I am looking for a way to mimic the behavior I know from my HTC Hero's lock screen: the calendar and alarm clock can put text & drawables there to inform about an upcoming event or an expired alarm. The lock screen remains there in that it must be dragged down to dismiss the shown event and there might also be a Snooze button.

But, first question: is this default Android stuff or HTC Sense specific only??
Second question: If it is a common Android thing, why can't I find anything in Google's Android documentation for the topics "lockscreen" or "lock screen" that comes close to my question? Where's the API for it?

My problem is: I want to inform the user immediately - even if I try a standard notification, the user with a locked screen will have to unlock it and drag down the notifications list to see & clear what's going on. sigh Putting an endlessly playing notification sound there is a hassle as it takes at least two swipes down to stop the sound playing!

View 2 Replies View Related

Android :: Activity Is Displayed After User Unlocks The Screen

Mar 31, 2010

I was wondering if anyone understood how to make your application be displayed when you unlock the screen. I have an application where the user turns on a Bluetooth device, it connects to the phone, and the user should be presented with a UI. Having them hunt for the app or using the notification menu is not a workable option (too much work and not the obvious behavior).

The problem is that:
When the screen is unlocked:
- you can popup the activity from the background service when Bluetooth connects to a device
- User is happy because the UI is right there

When the screen is locked:
- The application gets started but is destroyed
- User unlocks the phone and nothing is there but the homescreen

One work around would be to disable the keyguard when the application gets woken up but the nuclear option is a pretty bad option. I know the standard Android assumption is that you shouldn't do this. In the normal case this behavior is fine, but in this case I explicitly did something I want the phone to respond without adding more work for the user to do. As per Google's guidelines if you don't like this behavior there can be an option for you to turn this off or you can not use the application.

A few more details, so after looking at this a bit more the problem isn't necessarily that you can't have an activity running when the screen is locked, unlock and expect it to be waiting. That does work if you do something like the following: lock your device run an app through Eclipse while the phone is locked/off unlock and it will be waiting for you.

But in the case the Activity is already running and I'm brining up a new window (which happens to be a transparent one, saying you're connected and asking what they want to do).

The problem is that it gets killed

CODE:..................

The setup here is as follows:

MyBackgroundService is a serivce that handles Bluetooth state (waits for connections, turns on Bluetooth if the user starts the app, etc.). It triggers a popup BackgroundPOPUP activity that runs a ViewFlipper.

MyBackgroundService starts BackgroundPOPUP through an intent.

BackgroundPOPUP is an activity with a Translucent theme (Theme.Translucent to be precise), it shows a ViewFlipper with some instructions and presents some options.

View 1 Replies View Related

Android : Receive Event When View Is Actually Displayed On Screen?

Jan 19, 2010

As known, when using the setContentView() method, a view can be displayed on screen.

My question is whether there is a way to receive an event when the view is actually displayed on screen (since it takes some time for the view actually being displayed after the setContentView() method has been called).

View 2 Replies View Related

Samsung Fascinate :: Downloading Pics From Browser

Sep 16, 2010

I need to download pics to use for my contacts who are not on Facebook. Is there a way to do this from the browser? Every other phone I've had has been able to do this but I can't seem to figure it out!

View 3 Replies View Related

Android : WebView - Not Able To Go Back To My Activity Screen Once The Content Is Displayed

Apr 9, 2009

Step 1: I am subclassing WebView and rendering html content properly. The intial content is very small with a div and image /link This is displayed in a LInear Layout along with a TextView and ListView. That is my first screen/activity of the application.

Step 2: When I click on a link on this webview, it goes through the webViewclient and expands to full screen to fit the content of the requested page.

After Step 2, I am not able to go back to my activity screen once the content is displayed. When I click on the back button to getback to my activity screen close my activity and goes to the phone's applications desktop. (i.e goes out of my application).

Step 3: In order to fix this issue, I stopped setting my own subclasssed WebViewClient. After doing this, the it seems to render the clicked page in a webView as subactivity. Now When I click on backbutton, it goes back to the activity screen. But, the issue now is, I am not catch event when a link is clicked. How can I catch click events in this case.

View 2 Replies View Related

Android :: Content Provider Blank Screen

Sep 16, 2010

My app has one activity and one ContentProvider, the activity is simple in that it's just a splash screen at the moment with no other logic in it (I do intend to have more activities in the app). The ContentProvider uses SQLite as a back end and loads some static data from files on first install, a slow process due to file sizes and database initialization. My problem is that I want the activity to show up as soon as the install starts and maybe display a progress bar or dialog to show the user progress about the install. At the moment I get a blank (white) screen while the ContentProvider is initialising the data which takes quite a long time and I get "Activity idle timeout for history record" warning in LogCat. My splash screen only shows when the Content Provider is done, from the app standpoint this is undesirable behaviour. One potential solutions would be to manually start the provider via an AsyncTask but I have a feeling that this is a bad approach due to the fact that if the activity is interupted and restarted while the install is underway and a new AsyncTast is created through the activity's onCreate() then I'll have worst problems on my hands. Is there a way to start the content provider in the background and display my splash screen activity straight after the app is started? Note that this problem is only an issue on first install.

View 4 Replies View Related

Android :: Blank Screen And ANR While Application Starting Up?

Apr 6, 2010

While opening my application from application launcher. Sometimes I am getting blank screen for long time (almost 3 min). If I perform some key events then I am getting ANR. Log is as follows.

I/ActivityManager( 57): Starting activity: Intent {
action=android.intent.action.MAIN categories ={android.intent.category.LAUNCHER} flags=0x10200000 comp={com.test/com.test.MyScreen} }
E/JavaBinder( 57): !!! FAILED BINDER TRANSACTION !!!

After this I am getting activity launch timeout and Idle timeout. Is there any design issue with my activity or problem with android environment.

View 5 Replies View Related

Android :: MediaPlayer Not Running - Just Blank Screen

Mar 5, 2009

I tried a simple mediaplayer application, just to run a .3gp file. First, i put the .3gp file in "Raw" folder and tried to run, but nothing is displaying, just blank screen only.... please guide me, where i am going wrong. I dont have any xml file, is it needed ??

Heres the code, which i am trying

CODE:....................

View 9 Replies View Related

Android :: Blank Screen When Switching Activities / Fix It?

Apr 25, 2009

I've got a basic list activity with a few images that when you select one starts a new activity with a SurfaceView (based on the Lunar Lander sample). Some times the screen is just blank, from some debugging I can see that the background .png is being loaded and doDraw() is being called by the activity doesn't display anything for anything from 4 to 20 seconds. Other times the game activity is loaded just fine. I assumed it was some kind of garbage collection problem but I can't see anything in LogCat and the second activity is actually loaded, just not displayed for some reason.

View 2 Replies View Related

Android Emulator Shows Nothing But Blank Screen

May 7, 2014

The problem is that I have created multiple emulators using android 4.4.2 API and none of them show anything but blank screen..I tried an AVD with Google API 19..thats not working either..

View 1 Replies View Related

Android :: Open Soft Keyboard And Associate It With Textview Already Displayed On Screen?

Jun 9, 2009

I want to open the virtual keypad without touching a text view . Can someone help me how to open a soft keyboard and associate it with a textview already displayed on the screen?

View 2 Replies View Related

Android :: End Call On Emulator The Device Screen Goes Blank

Dec 2, 2009

i am writing a widget and trying to prove that it doesn't run when the phone is in deep sleep as i am setting an alarm with type ELAPSED_REALTIME. when i hit the end call on the emulator the device screen goes blank, but i still see my alarms being delivered. am i missing something?

View 4 Replies View Related

Android :: Blank Black Screen While Transiting To New Activity

Jul 16, 2010

I am facing a problem.In my application I have 3 actvities A,B,C which i have declared as singleInstance.I have observed that for the first time when I launch these activities(like A > B or B > C) there is a delay observed and I see a black screen for a while.

I see in the blanch screen the header text that gets displayed is the application name which i have given in the android manifest.xml(android:label="@string/app_name")

I amy unable to understand why this blank screen is observed? Experts please comment on how to avoid it.

View 3 Replies View Related

Android :: Flikie Wallpaper Hd - Blank Black Screen

Jul 10, 2010

Phone - HTC incredible 2.1 no root

I love flikie wallpaper hd app but for some strange reason it fails to load an image sometimes and I just have a blank black screen that stays until I manually change it. I have 400+ wallpapers that I have set to change every 30 min and no I don't have a solid black wallpaper. Anyone else have this problem? Have a solution?

View 2 Replies View Related

HTC EVO 4G :: Screen Goes Blank

Jul 14, 2010

Some background info: I got an HTC Evo a few days after the initial launch. I had no problems with the screen at first at least for a few weeks. Then all of a sudden, the screen would go blank after I took the phone off the charger, or would finish a call, and a few other instances. After dealing with that for a little over a week, I took the Evo back to sprint and got a brand new one. I looked all over the forums, but could not find any answers. I know some others are having this issue, but it doesn't seem that widespread. So I get the new phone, and for the first day, I don't install any of the apps I had on the last phone because of a lack of time. No problems to report the first day of use, so I think I'm in the clear. The next day I start installing all of the apps I had on the first Evo, and bang, it starts to happen again. The screen goes blank, and I can do nothing to turn it on except to pull the battery out and restart the phone which is a monster pain. After all of this, I have to think its a software issue. Some app I have running could be causing this? How likely is it that 2 Evo's have this exact same problem, and that it's hardware related? Here is a list of apps I have installed on my phone: maui9111's Apps on the phone. I tried uninstalling several of them, but still can't find the solution. Anyone have any ideas? I love this phone, but this issue is driving me nuts!

View 13 Replies View Related

HTC EVO 4G :: Home Screen Weather Icon Not Displayed

Jun 18, 2010

On my home screen where the weather is suppose to display all it says is Location. How can I fix this, or link me to an article that does?

View 4 Replies View Related

HTC Incredible :: Way To Change What Screen Is Displayed While DI Is Charging?

May 20, 2010

Not sure of this has been asked but is there a way to change what screen is displayed while the DI is charging?

View 5 Replies View Related

Samsung Moment :: Way - App To Keep Dialer Displayed On Screen

Mar 15, 2010

Is there a way, app or otherwise, to keep the dialer pad on the screen.

It becomes a pain in the butt when I have to use it for choosing options in a call menu.

View 4 Replies View Related

Android :: Blank Screen Appear When EditText Get Focus In IDPI Mode

Oct 10, 2010

I found that when EditText in placing at the bottom of screen, and the activity's android:windowSoftInputMode="adjustPan", and the apps run in ldpi(240*320) mode, then when EditText has focus, the content of the activity is panned too far to the above, thus leaving a blank screen between the content of the window and the soft input panel.

You can see the screenshot of this problem at
https://sites.google.com/site/wilderwang/android
Also, the source code to repro this problem can also be get at
https://sites.google.com/site/wilderwang/android

When I test further, if the same apps run in hdpi(480*800), when EditText got focus, the content of the window panned too small thus causing the soft input window cover the EditText view. It seems the distance of the window panned not compute the screen density.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved