background

Add a live background to an Android View (like the Twitter App)

In the official Twitter Android app, the opening activity (the dashboard) and the Tweets tab activity have a live background/wallpaper (clouds moving, etc). How do you accomplish that? Is it as simple as setting your view's background to a live wallpaper drawable? And then adding <uses-feature android:name="android.software.live_wallp...

How do I set a Xul window background image? Or, how to add a caption over a image?

I have a window in Xul, and I want to put a background image on it. I found nothing about the z-order, and the background-image and z-index in css is not working for the window.. any idea? In the following test, the image is showing, but not as background. The image starts after the last caption. My xul file: <?xml version="1.0"?> <?...

Animating background in Android ?

In Android, is it possible to have a background that is repeated on the background of a view? Is it possible to apply a translation animation to that background? ...

Make the background of a Label or LinkLabel transparent

Is it possible to make the background of a LinkLabel transparent? Setting the BackColor to the Transparent system color does not work. Matching the BackColor of the container is not suitable because the container is an image. ...

Background iPhone app for Jailbroken phones

Hey guys, I develop apps for jailbroken phones, and I need my app to be backgrounded and to be able to keep running as usual when backgrounded. On iOS3.0, I would just block the thread at applicationWillTerminate, and that'd be it. But it seems that the fast app switching method in 4.0 is disabling applicationWillTerminate, so I can't u...

Trouble sending signal to child process in C

I've been trying to figure out if this is possible the way I've done it or not. This program should fork a child process that loops printing to STDOUT, and the parent should exit to return the terminal prompt. The child should then be waiting for SIGINT to tell it when to close down. However I remember reading that SIGINT is only send...

Is there a app or python package for managing background python script add,execute,stop ?

I want an app or python package that can 1.Dynamicly add python script to the background 2.Execute a specificed time 3.Check is this python script is running, 4.Also i can kill the current execute script. Is already has such package,so i needn't care about cron,at,check processing is running etc. Any advice is appreciated Cron on...

no background for <a> in ie6

Don't know how to fix it. I've trying to make different logotypes, depending on class of the tag. The html is: <div id="header"> <a href="/index.php" id="logo" class="cet"> <h1 id="l">title</h1> </a> </div> And css is: #header { height:204px; background: url(../img/il-01.jpg) no-repeat 400px 2em; posi...

Need to run a long php script from a browser

I created a script that gets data from some web services and our database, formats a report, then zips it and makes it available for download. When I first started I made it a command line script to see the output as it came out and to get around the script timeout limit you get when viewing in a browser. But because I don't want my user...

My iPhone app crashes after returning from background. Cause: UIImage problem.

Hi all, First off, I want to say this site is AWESOME! and it helped me do lots of stuff while creating my iPhone app. Now, my problem is: When I launch my app, I have a UIImageView that loads an image depending on an if/else statements in -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event method. These images are assig...

Java - Paint, JFrame, and Backgrounds

I'm trying to paint a Welcome Screen for my game, but only when the game loads. I don't want it to repaint everytime during the game. So I did this (where isStart is instantiated as true): public myClass(String name){ setSize(800, 800); setVisible(true); setResizable(false); runGame() } public void paint(Graphics g) { ...

WPF Datagrid update from background thread

I have a WPF Datagrid with the .ItemSource set to a Datatable. In a background thread, a new Datatable is generated, and needs to be added to the binded Datatable. When i do CurrentTable.Merge(NewTable) from the UI thread, the whole UI freezes for a couple of seconds (since there are so many rows to be added). When I do CurrentTable.Me...

ListView Item Background

I would like to change the background color of a ListView Item after it has been touched until a further event. This is my code: listviewOfStuff.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView<?> parent, View view, int position, long id) { // When clicked, show a toast with the T...

video as site background? HTML 5

I want to use a video as a background instead of an image that automatically stretches to the whole screen (background). I would also like to rotate videos and images.. so that there is a random video/image displayed in any order. It would also be nice to know how to delay video playback, so that the video only plays once 30 seconds af...

The Background of the selected row do not change in ListView Control, WPF

I have the following ListView with a ListView.ItemTemplate: <ListView.ItemTemplate> <DataTemplate> <StackPanelName="stackPanel" Orientation="Horizontal"> <TextBoxName="textBoxOrg" Background="Transparent" BorderThickness="0" TextWrapping="Wrap" Text="{BindingOrgText}" IsReadOnly="T...

Android, remove custom button border

Hi, I used this selector code for my custom button (simple.xml) <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; <item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/focused" /> <item android:state_focused="true" andr...

getting network response when application is in background

I am uploading an image to the web and want it to keep upload even if the app goes into the background. So by using the beginBackgroundTaskWithExpirationHandler, I start uploading the image and then send my app to the background by pressing the home button. The image gets uploaded on the website and I can see it but none of the delegate ...

How to set background colour on Open GL ES Android

I am currently playing about with lesson 08 here http://insanitydesign.com/wp/projects/nehe-android-ports/ I would like to change the background colour from black to white. In order to do this at the start of onDrawFrame() I have called gl.glClearColor(1.0f, 0.0f, 0.0f, 0.0f); This does indeed set a white background screen, but als...

Adding servers to a service

I'm building an architecture in that web servers dispatches jobs to background worker nodes in a random way so the load is balanced. How could my web servers know that I've added a worker node? Thanks! ...

rlwrap hangs jobs while running at the background

I have a problem with rlwrap (see the man page here). Consider this situation: empty.tcl is an empty file. At bash this line tclsh empty.tcl & runs the job in the background and exits it, so i get this prompt [1]+ Done tclsh empty.tcl. While this line rlwrap tclsh empty.tcl & runs the job in the background and ...