Applications/Service/listener in the background?

Is there a way to create background applications without user interface, as in BBOS 4-7?

Found the similar thread: http://supportforums.blackberry.com/t5/Native-Development/Background-tasks-or-scheduling/m-p/1815267

Yes. It is impossible at the present time. Grand...

Tags: BlackBerry Developers

Similar Questions

  • TouchEvent injection application that runs in the background

    Hello

    I have a problem with the injection of TouchEvent.CLICK and TouchEvent.UNCLICK from an application that is in the background at the time of the injection. If my application is in the foreground, everything works fine. My logs, I see that the injection goes smoothly, but there is no effect on the foreground app. KeyEvent injection works as expected when it is injected background or foreground.

    Tested on Simulator 9550 and 9700 device, the two OS 5.0, also compiled for OS 5.0.

    Is this expected behavior? Is there a solution?

    Thank you very much

    Eva Rezkova

    Hello

    Finally, I found the solution. So far I inject me like this:

    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.CLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);event = new EventInjector.TouchEvent(EventInjector.TouchEvent.UNCLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    

    It works well in my own application and in the situations I have described before.

    It works as expected if I inject the event like this:

    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.DOWN, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    
    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.CLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.UNCLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.UP, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    

    Thank you much for the help.

    Eva Rezkova

  • Background application that listens on the keyboard.

    Hi all

    I am trying to create a targeting of enforcement 5.0 devices, allowing the backlight when a sequence of characters are typed on anywhere, but the keyboard.

    Any gueses how to implement a listener in a request like that?

    Thanks in advance.

    Accelerator that is happening, but you have to shake hard!. Otherwise I would need my application to be notified (it works on autostart, so it is already running) when the hot (convenience) is pressed.

    I think back to use another (secondary) application that signals the main application (backlight) (and secondary application starts on the shortcut key, informed and closed), fire is lit in an event. And then you press this key, the main application is notified to the turn off, and the closure of the secondary application.

    There could be a direct way to do it. I mean: I need this secondary application?

  • Disable the GPS application that runs in the background after a while

    Hello

    I develop application GPS, who will be running in the background. I want to disable the request after a certain period of intervals & then activate automatically after a certain time... I just want to know is possible, if so, how it is...?

    A code example would be a great help...

    How can I use my GUI application in the background...?

    I suspect that you ask for the location provider until the Blackberry OS has initialized, then it is you say there is not one.  I think you need to stall until the OS is ready.  This article should help.  Other related articles from starting up in the KB that could also help.

    How - to detect the availability of the system at boot
    Article number: DB-00642
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_to_-_Detec...

  • will be BB 10 support listener in the background / background app?

    Hi, just straight to the point, background app support in BB 10, or if she not in java, do you need the native SDK development?

    Best to ask this question in the native SDK forum, that you will find it on the list here:

    http://supportforums.BlackBerry.com/T5/application-platforms/CT-p/app_plat

    My understanding is that from now on, the native SDK does not support applications running in the background.  It run applications in the background, but it is not yet available for 3 games.  It will of course.

    BTW, in case you missed it, there no support of Java unless you write Android.

  • I want an application that runs in the background while I 'back' menu Chick, how do

    I didn't quit, I just want the application runs in the background while I 'back' menu Chick, how?

    You can use the Application.requestBackground method.

    See the following post:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=19444&query.ID=79...

  • Multiple instances of Application when you use the background thread

    Hi all

    I recently added a background thread in an application that is launched from an other point of entry. This background thread will constantly (every X seconds) carry out checks of RMS and compares the timestamps. When recalcitrant, he sends a notification to the user who launches the application when clicked. The problem is...

    When the user clicks on the notification, it will open the application normally (with the icon and everything), but it also opens a second instance that does not have an icon. I have concluded that the code that actually launches the request isn't the culprit (because if I take out, it nevertheless opens the second instance). This makes me think that it has something to do with the ApplicationDescriptor.

    My notification Manager has this line:

    ApplicationDescriptor appDescriptor = new ApplicationDescriptor (ApplicationDescriptor.currentApplicationDescriptor (), application name, new String [] {});

    If I change this to only return the currentApplicationDescriptor() or add the arguments in the array of strings, notifications do not work.

    Can anyone think of a reason why this is happening?

    I solved the problem I had.

    In the end, I ended up changing this code:

    final ApplicationDescriptor mainDescription = ApplicationDescriptor.currentApplicationDescriptor ();
    final ApplicationDescriptor appDescriptor = new ApplicationDescriptor (mainDescription, application_name, new String [] {});

    TO:

    moduleHandle int = CodeModuleManager.getModuleHandle (APPLICATION_NAME);
    ApplicationDescriptor mainDescriptor;

    If (moduleHandle! = 0)
    {
    ApplicationDescriptor apDes [] = CodeModuleManager.getApplicationDescriptors (moduleHandle);
    apDes = mainDescriptor [0];

    ApplicationMessageFolderRegistry folderReg = ApplicationMessageFolderRegistry.getInstance ();

    If (folderReg.getApplicationFolder (NotificationManager.INBOX_FOLDER_ID) == null) {}
    notificationManager.init (folderReg, mainDescriptor);
    }
    }

    Instead of using the currentApplicationDescriptor(), I was referencing the module of the application itself using the CoreModuleManager. My init method takes in the ApplicationDescriptor and use it for everything.

    Thanks to all who have any time to read my post!

  • Application that runs in the background

    Hello

    I have an application which auto runs on the boot device. Currently, the application runs in the background.

    The application is supposed to display a popup to the user screen whenever they capture an image using the native camera application. In the popup screen is a textfield where the user can enter a tag for the captured image.

    The problem is after I have capture an image, I don't see the pop-up screen. Only when I get the app I see the pop-up screen. So, how to display the popup screen without having to enter in my application?

    Any help is very appreciated!

    Thank you

    Saket

    You can use requestForeground to bring your application to the top.

    Another option would be a global popupscreen.

  • Sounds in my application do to stop the background music. iOS

    Hello

    I have an app for iPad. I use short sounds in it to the buttons in my user interface.

    Unfortunately when I start my application of background music in the music player stops immediately.

    Do you have any idea how to solve this problem? I don't want to stop the audio player of the user, but at the same time, I want my sounds.

    Thank you in advance.

    With AIR 2.7 on iOS, there is no way to stop the background music being silenced.

    However the sound stops only when you play in fact all of the music in the air and not at the time of launch application.

  • Lag when another application is running in the background

    Hello

    IM, building an application with Flash which strongly relies on the transformation of 3DMatrix

    My application runs smooth and hits a framerate of 30 frames per second, so this isn't the problem.

    The problem is that when I switch to another application, Angry Birds for example, and then switch back, my application gets horrible lag.

    The only thing that helps is to kill the other application that is running in the background.

    I use Air 2.6, but the same thing happened when I was using the REIT

    Did anyone here know how to solve this problem, or why this happens?

    Thank you!

    -Edit - it's on iPad

    Hey there all,

    If I had tried all week with 2.6 and thought I understood, but this discussion completely helped.

    I had been cacheAsBitmap parameter to true for items in my screen and saw some gains performance - 20 fps at 27, my FPS is set to 30). the problem was that all the background apps caused late major development of animation during the test on the ipad. LOW quality setting back me at 30 fps (even 60 fps), but some of my rotated bimtaps suffered in Visual quality.

    I just went back inside and cacheAsBitmap set to false for all the items on the screen that I have tested and while the performance returned to 20 fps max, it is very regular and don't lag when other applications are in the background. I noticed that even if I only hide the context item, I start to see stuttering if there are background running applications.

    It seems as if you are not dynamically bitmaps, and you use just bitmaps, then by setting quality step to LOW and not cached anything (no cacheAsBitmap or cacheAsBitmapMatrix) you can get a solid 60 fps without lag, even when there is background applications.

    you will see also much faster additions of items to the list of display when caching is not enabled.

    for 3d, is the only thing I can think is that you cannot forcibly turn off cachAsBitmap, then you could try making it to an another bitmap and use this new bitmap to the screen. I think that as long as you don't add all cached items to the display list, you can see the performance you want.

  • Windows could not start the background service Itelligent transfer service on local computer. 87 error: The parameter is incorrect

    I had a crash dump blue screen, tried solutiions to the problem and told me to go to windows update and download all windows updates. downlownloading all updates failed and I got the error.

    Code 80246008

    Click on get help with this error and was instructed to go to services and start the background intelligent service services, it gave me the error message;

    Windows could not start the background service Itelligent transfer service on local computer. 87 error: The parameter is incorrect

    Not very computer savvy! no idea what it all means or what I would do to this topic! Thanks a lot for any help

    Try this:

    To change or restart the Service (BITS) Background Intelligent Transfer

    1. Open administrative tools by clicking the start , clicking Control Panel, clicking system and Maintenance, and then clicking Administrative Tools.

    2. Double-click Services. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. Right click on the service of Intelligent Transfer (BITS) background and then click Properties.

    4. Under the tab general, next to startup type, make sure that automatic (delayed start) is selected.

    5. Next to Service status, check whether the service is started. If not, click Start.

  • Application of webworks continues to run in the background

    To the best of my understanding from what I've read, it seems that a Blackberry Webworks application stops running in the background. If this is true, is there a way to make a request of webworks continue to operate even in the background?

    Thank you very much for your time.

    Hi bigjavajoe,

    BlackBerry WebWorks appc continues to run in the background (for smartphone, for playbook depends on parameters of the device).

  • How should I detect the application runs in the background?

    Hello friends,

    I use 2 statement to run the application in forground and background.

    UiApplication.getUiApplication () .requestBackground ();
    UiApplication.getUiApplication () .requestForeground ();

    I need to check my application is running in the background or forground? someone help me how should I detect that my application in what state?

    {if (condition)}

    System.out.prinltn ("application run in Background");

    }

    Else if (condition111) {}

    System.out.prinltn ("application in the foreground");

    }

    What is this condition? and condition111? Please help me with this...

    Thank you and best regards,

    Ajay Patil.

    Hello

    With the help of UiApplication.getUiApplication () .isForeground (); You should be able to determine if the application is in the foreground. Hope that helps.

  • know the background applications

    How will I know who & how many applications are running in the background?

    This can be a simpler answer than what you're looking for, but just use the application switcher function in the menu on the home screen.

  • GPS apps in the background

    I have an iPhone 6 s upgraded to iOS 10 the day it came out last week and I noticed that applications using GPS are failing in the background when several applications are in use. I ran to the Waze to check the traffic and Google Maps at the same time to check something on Friday and has noticed that if she was in the background would tend to turn off after a few moments. When I turn back, she will have to acquire the road again. I also have a Fitbit load HR, which uses the GPS on the phone via bluetooth to create a map of my route. I have it worked out with my usual Runkeeper app (which normally works perfectly) and noticed that Runkeeper would be closed after a mile or more. When I went to him to my podcast app after my race, Runkeeper would start up and missed the last two miles of my race. In addition, the road saved by Fitbit seemed jumped all over the place. I know that it is not unusual for GPS from blip, especially when moving through areas with weak signal or cell mutation or all through the streets of the city with tall buildings, but it seems that the problems have become more coherent. I have not tried to run with a single application to see if I have the same problem, but will try tomorrow. I used only a single app for navigation (Waze) yesterday evening and he seemed also to close after it is placed in the background for a while. Has anyone else seen anything like this?

    Hello alexhoward,

    Thank you for using communities of Apple Support. It is my understanding GPS apps do not work in the background, after the update to iOS 10. I use GPS every time I travel. I know that it can be crucial for applications GPS running in the background. I'm happy to help you

    I recommend first restart your iPhone. This can solve many unexpected behaviours. Follow the steps below.

    1. Press and hold the sleep/wake button until the Red slider appears.
    2. Drag the slider to turn off your device completely off.
    3. Once the device turns off, press and hold the sleep/wake button again until you see the Apple logo.

    Restart your iPhone, iPad or iPod touch

    If the problem persists, reset your location service. This resets all settings at default location. Apps will be stop using your location until you grant them permission again. Go to settings > general > reset > reset the card and privacy. Here is some additional information on location Services.
    On privacy and location in iOS Services 8 and later versions

    See you soon!

Maybe you are looking for

  • Pavilion g4-1135dx: need appropriate drivers

    I recently had to reinstall Windows 7 on a laptop computer that I own, when Windows was finished, I noticed that three drivers have not installed. The pilots were the Ethernet, the network controller and the PCI device controller. I think I narrowed

  • Transfer of the signing tool

    Hello How can I move to another computer, the signature tool. Because I'm going to change my PC that I sign on applications of BB.

  • The product key you entered cannot be used (win7)

    My computer broke recently and I had to buy a new one and used the same operating system is windows 7 home. I use this computer for 4-5 days now and I assumed that windows already had himself turned on because I said to activate automatically when I

  • Problem of compatibility WIN 8 - Magic Jack

    Alguien tendría idea of if exists a similar o parchment para that el victory 8 recognize el magic jack like? Desde is gracias!

  • How to use GetExecutionContextSession() in a Thread

    HelloI read the docs of PluginSDK about multithreading, but I do not understand how to use GetExectionContextSession() in my own thread (boost::thread).This causes InDesign to crash. What function do I need?Best regards, Jan