background

WPF: tile image

I need to tile a picture in a WPF Image Control (like on Windows Desktop (Background tile property)). Does somebody know weather this is possible and if so, how? Best regards, Alexander ...

android: How can I send an activity to background & call her from there

I am in process of creating some test application "Time Tracker" app like stopwatch so I start app go to Activity where I start time counter and now I need some functionality to send my activity to background or minimize or hide and after some period to call this activity again and stop her counter to get passed time period ....

rsync: polling for new files

I've got: $ rsync -azv zope@myserver:/smb/Data/*/*/* ~/rsynced_samples/ And I want it to run forever, syncing any new file as soon as it appears on myserver: (specifying a poll interval, such as 4 seconds would be an ok comprise) ...

ActionScript 3 - randomly coloured background - problem.

Hello. I use StackOverflow for the first time, so please be friendly and understanding. Few days ago I got interested in ActionScript. I have downloaded FlashDevelop (a free IDE) and FlexSDK4. Then I have learned the basics from some tutorials. For now I am not really developing any big project, I'm rather just doing tests. Anyway, a sol...

Run a task in the background of an iPhone App

I want to be able to load data from my API server in the background of my iPhone app. How do I achieve this? ...

What's the best way to start a background process, that can get accessed later on

Hi, I am currently developing a RubyGem that provides an executable. The executable keeps track of the state of some log files using the FSSM gem. This executable should get started, do something in background, and get stopped later on. For example: $ my_executable start # do something different... $ my_executable stop I would firs...

Best Practice - iPhone Background Application Mode

I'm currently testing the latest iOS4 Feature to put my location aware app in the background. Well, it does work! But on the other hand it's quite hart to handle the immense power usage. The app consumed about 50% battery power in the last four hours. It read the entire official documentation by Apple on this topic but I'm still not su...

:before and :after multiple border/background trick on images?

Hello, I've been using the :before or :after CSS trick (explained in this article: http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-multiple-borders-with-simple-css/) to achieve multiple borders and backgrounds. It works great on div elements but I noticed it doesn't work on images at all. Here's my code: .author img { ...

[iphone] set "default" UIViewController background image?

Hi there. Basically I've got the same background image throughout my entire iphone application. I don't use XIBs (nasty things :p). So I was wondering if there was any way to add a "default" background image to all of my UIViewControllers? I tried subclassing UIViewController and created the class UIViewControllerWithDefaultBackgroun...

Having a page element in-background / below other elements?

I currently have two navigational links (arrows), but they tend to push other elements on the same height (a textarea in this case) away. The picture below illustrates the problem: How do I make it so that the arrows won't interfere with, but exist on the same height as the textarea? I'm left clueless, help is much appreciated :-). ...

Background process wont clear memory. Is it a good idea to kill my own process on Android?

Hi all, I have an app that has a widget. In the main app, I have an ad framework (cannot be edited due to licence) that is accumulatively leaking approx 1MB every time I exit the app. It appears one of its threads are running in the background (unnecessarily) that will keep its process and these threads will be created again when I laun...

TableLayout background from sdcard

hey :) I want to put a background image in may java file from an image stored on the sdcard. I use the code below but with no success :/ TableLayout tl=new TableLayout(this); int tmp = this.getResources().getIdentifier("sdcard/pic.png", "drawable", getPackageName()); tl.setBackgroundResource(tmp); an idea ? ...

iPhone app crashes when coming to foreground

I have an application that is communicating to a device through the accessory port. When the device is spitting data (at a rate of one 13-byte packet every 20 ms, so not very quickly) to the iPhone, if I press the home button to send the app to the background, then open it again it will crash. I have added listeners to the UIApplicationD...

How do I set background image in the table view cell in iPhone

Hi friends, I want set the background image for cell. I have already set the background images for the cells in the table view. But I want to set the two images for the background images in the table view cell. I want to set the alternate cells for the background, Like, Image1- Cell 1, Cell 3, Cell 5, Etc., Imgae-2- Cell 2, Cel...

HTML question about modifying background

Hello, I am a beginner in HTML and am taking a Multimedia class for school. I noticed for many websites such as ESPN, CNN, Google, etc. that there was no direct image source for the entire background. How might I be able to incorporate an image for an entire background of a website? Thanks I appreciate it! ...

iPhone: Why does applicationMusicPlayer quit playing when app enters background?

I made a little test app to try to isolate this issue, but it exhibits the same behavior: the applicationMusicPlayer stops playing immediately when the app enters the background. I don't know what I'm doing wrong, or if it's an Apple bug. It seems so simple that if it were an Apple bug others would have encountered it and posted on it. ...

How to change a background color of jQueryUI Progressbar?

How to change a background color of jQueryUI Progressbar? Im trying to use: $('#progressbar div').css({backgroundColor: '#9CFF29'}); but no success :( Anybody can help me? Thanks! ...

Fake background transparency/effects without fixed positioning

I'm trying to emulate this effect: http://meyerweb.com/eric/css/edge/complexspiral/demo.html on my blog: http://segment6.blogspot.com/ It works, but with one problem: Firefox lags really badly scrolling the page. If I make the background attachment not "fixed", it no longer lags, but the effect doesn't work. Can this effect be achieved ...

Adding background image in Java

How do I add background image on this code? i tried everything but the image just won't show. import javax.swing.*; import java.awt.*; import java.awt.event.*; public class sampleProg extends JFrame { private Image img; public void sampleProg(){ ImageIcon icon = new ImageIcon("bg.jpg"); img=icon.getImage(); } public void ...

iPhone background network connection by timer

I need to write an application, that every 10 minutes it should be awaken from suspended mode, get user location via gps and send this information to the server by network. Depending on the response it should return to the suspended mode or show local notification to the user. Is there a way to do this on iOS 4? I've tried different a...