Android :: Activity Without ANY Screen Output Possible?

Mar 9, 2010

I want to run an activity without ANY screen output. The screen should not blink or anything. How?I have an Appwidget. whenever it gets clicked I want to write something to a DB.So, via 'setOnClickPendingIntent' I start an activity that does that and finishes. But, the screen goes black for a short time, while the activity is running. How can I avoid that? Omitting 'setContentView' does not help, neither does a layout without any views. A service instead of an activity could do that, but I cant start a service by setting a 'setOnClickPendingIntent' (or can I?).

Android :: Activity without ANY screen output possible?


Android :: How To Write To Screen / Have Output Appear Before Activity Relinquishes

Nov 4, 2010

I would like to write to an Android screen as if it were a simple terminal. I want the output to appear at the time I write it. My application does some cpu intensive churning, writes a bit to the screen and continues. I am using a list adapter for the output. The problem is that the output is not displayed until the activity relinquishes.

View 2 Replies View Related

Android :: Redirecting Screen Output From Cell Phone To Monitor Screen

Jan 19, 2010

Is there any way to redirect cell phone output to a standard screen?Would it be possible on Linux & X-server based devices - like Maemo? And on Android devices?

View 2 Replies View Related

General :: How To Output Android Camera Output To PC Through WiFi Or Internet

Feb 6, 2014

I want to output Android's camera output to a PC through Wifi or Internet.

I cant find a suitable app for the purpose. I did try to find one.

Closest I came to was MirrorOp Sender, but it shares screen?

I have a Galaxy S3 I9300 and a Galaxy Mini S5570

View 6 Replies View Related

HTC EVO 4G :: How To Better Screen Output On Evo?

Aug 16, 2010

I'm new to this forum (great site) and some what new to my evo and i'm wondering about the screen output. My son has an intercept and the movies and sprint tv shows look a whole lot better, why is that and do i need to make some adjustments when watching video or even pictures on my evo help

View 4 Replies View Related

HTC EVO 4G :: HDMI Output / How To Fill Screen?

Aug 17, 2010

Ive been raking my brains trying to figure out how to play 720p movies on my HDTV in 16:9 aspect ratio (or 1.78), whereas it would fill the screen of the HDTV nicely just like Niko does it in this thread Video Demo: HTC Evo playback of HD/720p movies over HDMI out. I have a couple of 720p bluray movie files on my PC that i want to encode but now im not even really sure if they are really 720p. When i upload them into handbrake, it says that the source resolution is 1280x544 and the other one 1280x528 with a 2.35 aspect ratio. Doesnt the second number have to be 720 in order to be considered true 720p HD resolution? Everytime i try and change the 528 to 720 on hanbrake, it doesnt let me. And also handbrake doesnt havent an option where you can change the aspect ratio. When i finish encoding, i get the stupid black bars. i realize the video file might have been shot in a 2.35 aspect ratio or whatever but when i play it in VLC it allows me to change it to 16:9. Basically, I want the video to come out in 1280x720, 16:9, 1.78 resolution and aspect ratio as its default settings. This would be much easier if VLC was playable on Android. At the end of the day, im just trying to find out how to watch 720p video on the HDTV in fullscreen or almost fullscreen (i know theres a couple of inches of black bars in 16:9) just like the guy in the thread above.

View 9 Replies View Related

2nd Update Need To Show Output On Screen

Feb 22, 2012

I need to show the output on the screen from my if statement. I need something to put instead of system.out.println("This") - I know this shows it on the log. I want to show on the screen.

Code:
try
{ PleaseEnter=(EditText)findViewById(R.id.PleaseEnter);
{

[Code].....

View 5 Replies View Related

Motorola Droid X :: Can I Output My DV Screen To Another Monitor?

Aug 10, 2010

I have a Pioneer AVH-P3100DVD Car DVD Player with inputs for Auxiliary, TV, and an AV input (as seen here. I'm wondering if there is anyway for me to use one of these inputs to export the screen from my Droid to it. The dvd player is touchscreen, but I don't presume I'll be able to actually control my DX with it, but it would be nice if I could show the navigation on it since it is a 7 inch screen.I also currently have my phone setup with the Motorola car mount and it records video everytime I dock it.So it would be nice if that display would show up on my radio monitor in addition to being on the phone. Or maybe be able to play movies and video clips from my phone on the monitor.Before I invest in cables and trying to take out my radio and plug anything in back there, does anyone know if this is feasible? I've tried to plug it just straight into the auxiliary jack on the front of my stereo but that didn't do anything.I assume it will need to plug into the AV or TV input connections if it does indeed work.

View 1 Replies View Related

HTC EVO 4G :: Youtube HDMI Output Full Screen 720p

Nov 5, 2010

Does anyone have an issue outputting You Tube full screen over 720p? When watching HD videos over HDMI the video has black bars over all sides. When watching videos over 420p, it fills the screen fine, but the quality isn't the same. I've tried on an Insignia and Samsung.

View 1 Replies View Related

Android :: Hide And Activity When Activity On Top Redirecting To Home Screen

Mar 3, 2010

example scenario is: from login screen - main screen - then when i clicked a hide button inside the mainscreen, the app will need to go in the home screen, and when im going to click the app again the main screen would be called and not the login screen

View 3 Replies View Related

Android :: How To Clear Activity From Second Activity Going Back To Home Screen?

Mar 3, 2010

example scenario is: from login screen - main screen - then when i clicked a hide button the app will go to home screen, and when im going to click the app again the main screen would be called.

View 2 Replies View Related

Android :: Handle Screen Orientation Changes With An Activity Started Within A Tab's Activity

Nov 2, 2010

I have a TabActivity, and each Tab corresponds to its own Activity. In one of them, in the onCreate method, I use startActivityForResult to show a dialog (specifically, Bump's BumpAPI activity).

code:...............

The problem is that when the screen orientation changes, it tries to create the tab's activity again which makes another BumpAPI dialog, resulting in multiple stacked on top of each other. Do I have a hook into the started activity to cancel the previous one when the orientation changes?

A workaround seems to be to add a button that when clicked, starts the second activity, but that adds an unnecessary step.

Also, I can't fix the screen orientation for the entire tabActivity because some of them require typing and users may want to use their physical keyboards.

View 1 Replies View Related

Android :: How To Check If Activity Is Current Activity Running In Screen

Jul 16, 2010

I used Toast to make notification, but it seems it will appear even its activity is not in the current screen and some other activity has been started.I want to check this situation, when the activity is not the current one, I'd not send the Toast notification. But how to do ?

View 1 Replies View Related

Android :: Activity Remain On Screen After Another Activity On Android

Jul 1, 2010

I have a service that is listening for some events. When that event happens, it fires a screen by start Activity(intent) When the user finishes doing something on that screen, the code calls finish() but instead of 'closing' the complete application, is shows the main/launcher activity. any way to go around this?

View 1 Replies View Related

Android :: Screen Shot For Activity

Jul 15, 2010

i want to create a bitmap of whats being currently displayed of my app, one thing i went into is cant read FB buffer requires root, would like to know if it is possible to create a image file for the screen, please i want the help to code this, no 3rd party intents.

View 2 Replies View Related

Android :: Rotate Activity Screen

Nov 3, 2009

what i wont for example my g1 is Orentation enable and when my app start with screen rotate 90 then should be no rotating you know help me exam code pls.

View 2 Replies View Related

Android :: Full Screen Activity

Aug 14, 2010

I'm writing an Activity that should take up the entire screen.What happens is that the window title and notification bar are both visible for just a moment when the activity starts up. Then they slide off, leaving my activity with a messed up layout: a blank space the size of the notification bar gets left at the top of the screen, and a little bit of my layout gets cut off at the bottom of the screen.It appears that it's laid out the activity the size of the full screen, but then pushed it down a bit so part of it gets cut off.If I remove either one of the two lines above, everything works correctly and nothing gets cut off. But then I have a title bar or notification bar at the top of the screen, which I don't want.

View 5 Replies View Related

Android :: How To Determine If Activity Is On Screen?

Mar 4, 2010

I am planning to have a Service send a broadcast which a BroadcastReceiver will act on and I would like it to create a Notification if an application is not currently on screen, but if the application is on screen (ie. showing to the user) then I would like to offer a Dialog and not create the Notification.Is it possible to determine if an Activity or application is currently on screen?

View 5 Replies View Related

Android : Two ListViews In One Activity - Screen?

Mar 22, 2010

Can I have two ListViews on a single ListActivity? I have built the xml file easy enough, but the code around ListActivity, setListAdapter(), getListView() and the like, all seem to be designed around one ListView per activity. How to get 2 ListViews in one screen?

View 3 Replies View Related

Android :: How To Set / Pass Values From One Screen (activity) To Another?

Sep 30, 2010

How do you set/pass values from one screen (activity) to another? What I have in the R.layout.main view labeled Calculator contains the code for doing calculations. The main.xml contains the layout (view) of the main screen. I have created an options menu which has another screen which shows you setup (R.layout.setup). The dialogsetup.xml contains the layout (view) for it.

When you press the menu button, you get the options menu. If you select "Setup", then it will display the setup screen. Now what I need to do is take the values from the setup screen (radio button and text values) and place them in the main screen so that when you exit the setup screen and go back to the main screen, you can take those values and use them in your main code.

View 12 Replies View Related

Android :: Screen Sizes And Activity Rendering

Jul 1, 2010

I'm currently developing my first android app, and my first game. I've been developing on a netbook with a CliqXT (HVGA). Things are going well, it renders perfectly on the smaller screen. I knew I'd have some issues when rendering on larger screens, but the issues I'm having are not what I was expecting and I'm kind of stuck.

So basically the game consists of a main SurfaceView which I'm rendering the tiled game world on to. I followed this tutorial to get started, and my structure is still pretty similar except that it calculates the boundries based on the player location:

http://www.droidnova.com/create-a-scrollable-map-with-cells-part-i,654.html

The game also has various buildings the player can enter. Upon entering it launches another activity for that particular building. The building activities are just normal Views with Android UI stuff defined in XML (Buttons, TextViews, etc).

What I expected to happen:

So I expected the the building UIs to render correctly on the larger screen. I specified all dimensions in "dp" and fonts in "sp" in hopes that they'd scale correctly. I expected the actual game tilemap to render generally correctly, but maybe be really tiny due to the higher resolution / dpi. I'm using a very similar function to the tutorial linked above (calculateLoopBorders(), my version is pasted below) to calculate how many tiles to render based on screen height and width (getHeight() and getWidth()).

What is actually happening:

The whole game is just being rendered as if it's HVGA. The tilemap, and the building UIs are just scaled down to the smaller screen size, leaving black borders around the left, right, and bottom (see images).

View 2 Replies View Related

Android :: Preform Activity At Lock Screen

May 14, 2010

I would like to perform an activity at the key guard screen, but the only way I can find to do so is to disable the key guard, do my activity, then re enable the key guard. This would be ok if it didn't cause the key guard screen to flash off and on (disable makes it disappear then re enable brings it back). I am wondering how I can perform an activity with it still being displayed? Kinda like how when the alarm goes off it shows a pop-up which is displayed over the key-guard screen?

View 1 Replies View Related

Android :: On Screen Orientation Changes Activity Restarted

Aug 16, 2010

I know on screen orientation changes activity restarted, but suppose i don't want to restart the activity then what should I do? I had tried it by adding in manifest.xml. android:configChanges="keyboardHidden|orientation"

and override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); }

But still activity restarted each time when I change screen orientation.

View 17 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 :: How Can I Show My Activity On Top Of In-calling Screen?

Apr 23, 2010

I'm writing an android application which listens the phone calling events. What I want to do is, if there is a call incomes or outgoes, an activity shows with my customized info.I want to this screen keeps showing during the calling period. However, if a call is coming, the system UI which shows the contact always appears on top of my activity.I've found some apps already realized this function, but mine can't.

View 1 Replies View Related

Android :: Screen Becomes Black While Swicthing Activity

Jul 17, 2009

There is an activity which fetches xml data from the network, parses it and displays it in the UI. When the user clicks on any of the link or button on the screen I call startActivity with new Intent object of the same activity. I do this to have the activity on the history stack. Previously I just called setContentView of the activity without starting the activity again, but with this I cannot have the previous page in the history stack.Now the problem is - each screen normally takes up to 20 seconds to fetch content, parse and display. when the startActivity is called the screen becomes black until the next UI is rendered. I wanted to keep the previous screen showing until the next page loads.Please tell me 1. Is there a way to do this? 2. Is it good to start the activity again for each page. If not how to have the previous page in the history stack so that I can use the Android's back button.

View 6 Replies View Related

Android :: Keeping Screen On While Activity Active

Jul 14, 2009

I have a map activity for which I would like to have the screen turned on as long it's active (the app consists of one activity only). When the activity is paused or stopped I want to return to normal on/off mode. Keeping the screen on works fine while the app is running but when I exit the app the screen stays on as well. What am I missing?

View 3 Replies View Related

Android :: Activity Won't Fill WVGA Screen

Mar 24, 2010

I'm developing an Activity with a simple LinearLayout with a button. When I try the activity on my hardware (WVGA 480x800 screen) the activity only fills the standard size (480x320) while the OS itself fills the whole screen.

What could be the issue.

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

View 1 Replies View Related

Android :: Activity That Does Not Fill The Parent Screen

Dec 14, 2009

Any idea why this doesn't create an activity that looks like a popup instead of an activity that completely fills the screen?

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

I assumed that I only needed to set the layout height and layout width to something other than "fill_parent", but it still shows up as a black screen that completely fills the screen.

Ultimately, I simply want to create a popup, but I do not want to use an AlertDialog. Is this possible?

View 2 Replies View Related

Android :: Activity's Windows Not Full Screen

Jul 14, 2010

How can i made an activity with a window "not full screen" ?

Goal is to have a windows like this one : http://developer.android.com/guide/topics/ui/notifiers/toasts.html ("Creating a Custom Toast View" section), but i don't want to make a toast, because toast's life time is too short for what i want to do.

View 2 Replies View Related







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