background

Self Extract ZIP?

I need help creating a self extracting zip file that does not display anything. I just need it to extract the files to a given place in the background. Everything I have found displays a dialog, but I need it to just run in the background. ...

notification when program is in background iOS 4

Hello all, We are looking for a way to timeout an iPhone application, and have tried several methods: NSTimer that resets after an action LocalNotification that resets after an action Both are close, but suffer from unique issues: NSTimer: When the phone sleeps, the timer will not fire LocalNotification: When the app is in the backg...

Location updates not working in background using iphone sdk 4

Hi, I am trying to add the background location updates (i.e. the feature where applications running in background can still receive continuous lcoation updates) into my iPhone app. I implemented (in the view controller) the location update methods didUpdateToLocation and didFailWithError. I also added to the Info.plist file, the UIBac...

android textview fill parent

I have a simple ExpandalbeList. For the group header view, I'm using a simple TextView, I am setting the background of the text to a drawable. I have the textview parameters set to FILL_PARENT, but the background of the TextView only covers the width of the text. I realize that I can put this all inside of a Linear Layout, but that ju...

Playing Sound Effects while in Background Mode

I have a need to play some sporadic sound effects in the background of an iPhone app. From everything I've read and experienced with iOS 4, I can keep my app running in the background as long as I am running GPS by specifying "location" as a background mode. That actually works. But at times I want to play a sound effect...in other wo...

How to do background tasks in struts2?

Hi, i had a look on the struts plugins list here and wasn't able to find a plugin to do background/scheduled tasks. What i want to do, is run a daily task that pulls files from a few servers. I'd like this task to be run from within the web app, so that my importer gets access to all the data classes, also it would be less complicated I...

Is it a bad idea to create worker threads in a server process?

Hello, My server process is basically an API that responds to REST requests. Some of these requests are for starting long running tasks. Is it a bad idea to do something like this? get "/crawl_the_web" do Thread.new do Crawler.new # this will take many many days to complete end end get "/status" do "going well" # this can...

C# Asynchronous WebRequest with POST

I am trying to find a C# Asynchronous WebRequest function which will be able to POST variables to a server, and retrieve the response. I have found many Async WebRequests for C#, but they are not able to POST in them, and when I try to change them to post variables, it will not work. Cheers ...

9 patch row background appears irregularly in Android

I'm using the following 9 patch image as the row background in a list view. (the image is right above this line, in case you missed it) I've placed this image in drawable-hdpi. When I run the app in a high density device, the grey border appears only while scrolling, and disappears when the list view is still. Why is this? The goal ...

When using quartz scheduler in a java web app (struts2), where do i configure the jobs?

Hi all, I'm trying to integrate quartz scheduler into a struts2 web app. Just wondering where you configure the jobs? I think the best place would be to put their details in the quartz.properties, but i cannot find the documentation that shows how to do this. All i can find is examples of how to programmatically create the jobs, but if...

Latex: Header and section titles with background.

I want to make a latex template similar to this: http://img826.imageshack.us/img826/9599/cat.png Header and section title has a grey background. How can I do that? ...

Android : how to know when an app enters or the "background" mode ?

I am trying to achieve the following with Android : when the app is in background, a thread polls a server every now and then to retrieve data and notifies the user if new data is available. I am using a Service for that, fine. when the app is in "active" use, i.e. one of its activities is visible, the polling should stop as it might...

iPhone app, running http requests while application in background

Hello, In my iPhone app I would like to run several queries when the application is in background. I already use ASIHttpRequest to make the queries, that works fine but now I try to find a way to trigger them in background. In the app delegate, I have added a call to the method making the request:    [self getItemsFromServer] getItems...

Problem setting Android tab background color

Hello, I'm adding tab icon via selector like this: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; <item android:drawable="@drawable/tab_cart_selected" android:state_selected="true" /> <item android:drawable="@drawable/tab_cart" /> </selector> http://img844.images...

Iphone/ipad background image

So I've followed this guide to putting a background to my main window http://howtomakeiphoneapps.com/2009/03/how-to-add-a-nice-background-image-to-your-grouped-table-view/ However, I am using a navigation controller, and when I push the navigation view(s) on the stack, the new views cover it (obviously). But I change all of the backgrou...

resize background image of div

Hi, using a joomla component that pulls an image from the database for a slideshow. It sets the image as the background of the div - I need to resize that image to be the width (620px) of the slideshow. <div style="background: url({image1url}) top center no-repeat; width:620px; height:350px"> <div style="width:620px; height:256p...

Button setBackgroundColor no highlight effect

When I create a Button, Button myButton = new Button(this); myButton.setText("Click Me!"); it creates a button, that on click, turns "Orange" to indicate the click. To the button when I add, button.setBackgroundColor(Color.BLUE); It creates a blue rectangle, and on click does not have a hightlight effect. I don't mind the rectan...

navigation bar background image

how can i set an image into the background of the navigation-bar, so that is also in the background of the back-button ? now i have an image with a with of 320 pixels, but it shrinks that image so, that the left back-button is the standard-button and on the right side there are 5 pixels in the standard-blue. i want that this image is ove...

Settings.xml won’t let me change background color?

I've done this before...not sure what i'm doing wrong now I know it's the simplest thing in the world but i just want to make the text of my settings page black and the background white. Any ideas of what i'm doing wrong? my code does nothing. <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schem...

how to add background image to activity?

using theme or ImageView ? ...