background-application

Blackberry - How to get the background application process id

Dear frinends, In my blackberry simulator i m running two application at the background now i want to retrive which are the application running in the background..I dont how to do..pls help me ... is it possible to show which are the application running in the background...If u can pls provide some codes also it might be very helpful to...

Intercept outgoing call in Blackberry

hi, we are looking for a way to do the following: user with BB enters a number (or selects a contact and clicks 'send') our app in the background detects the call event our app does something (e.g. blocks the call / makes a call to a different number, etc) can this be done at all? can it be done transparently to the user (i.e. no d...

BlackBerry - Does TimerTask run in the background?

Hello, Does TimerTask work even if my exit my application and come to home screen or explore other apps? I have read the forum and find out the thread kind of easy mechanism is to use TimerTask in BB. I want to have thread running always even my app is not launched(after first time), so that when an particular interval arrives, i can sh...

BlackBerry - Get current Process ID

Hi all, I read Blackberry - How to get the background application process id but I'm not sure I understand it correctly. The following code gets the foreground process id; ApplicationManager.getApplicationManager().getForegroundProcessId() I have two processes which execute the same piece of code to make a connection, I want to log t...

BlackBerry - background application to listen starts and foreground app

Hi everyone! I would like to create background application which will listen to what applications are started and what are moved to foreground. Please reply If question is not clear will explain again. Thanks ...

Blackberry - Create an application which will lock another application event

Actually I want to make an application which will getGlobalEvent and control that event through another custom application. Is there any way to do so. Can i get global event from a particular application? Its like an application which will lock custom application in your blackberry, if you add following application in that locking app li...

Blackberry - Running Background Application

Good afternoon. I'm starting programming in java and blackberry. I am developing an application with three windows, which I will show basic information about the device, these windows are already done and working. I need to create a process running in the background, this process will run every 10 minutes. As I make this process run in t...

Background Audio and Remote Control Support using MPMusicPlayerController on iOS 4. Is this even possible??

I've spent two days on this and have gotten nowhere. I'm trying to use [MPMusicPlayerController applicationMusicPlayer] to play audio chosen from the user's iPod library and have it run in the background as well as support remote events. Now getting the music actually playing is the easy part. Get the instance, pick the songs, assign ...

Objective-C block not being released for background-only applications

I have an application that runs in the background only (by specifying LSBackgroundOnly in the info.plist file). The problem is, that all blocks that I run on parallel queues are not being released. The (simplified) code looks like below. Blubber is just some dummy class that holds an NSDate for testing. Also, it overwrites retain, rele...