QT and the Services of the platform BlackBerry (BPS)

Hello

in my Qt5 game trying to get events in the browser via BPS. Basically, I need to know the State of the window (full screen, thumbnail) to pause the game in full screen does not.

The problem is that I get only a couple of events during startup. Later, while the game is running that no event is no longer available from the event queue. I know that Qt4 Qt5 containing code to integrate events BPS in the Qt eventloop.

However, after reading most of this code, I'm still not sure what happens. Qt take the events in the queue before me? What happens to these events? They are delivered through Qt somehow?

If someone knows something about it, I would be grateful for all the tips and pointer.

Thank you!

Conny

Right, BPS events are integrated into the Qt eventloop. When Qt deals with events, it reads all BPS events and processes. This means also no one should read the BPS events (i.e. bps_get_event()), because otherwise these events are not available for Qt itself, and it could run out of vital events needed to operate correctly.

QT provides hooks to retrieve events from the system (BPS events in our case), see QAbstractEventDispatcher::installNativeEventFilter (). See https://qt.gitorious.org/qt/qtmultimedia/blobs/master/src/plugins/blackberry/bbmediaplayercontrol.cp... for an example on how it is used.

In your specific case, there is no need even to use BPS events somehow, since you will have QEvent::ApplicationActivate and QEvent::ApplicationDeactivate of Qt events when the application goes into miniature State, IIRC.

Tags: BlackBerry Developers

Similar Questions

  • DB Oracle 11 g r2 Configuration process and the session

    I recently installed DB Oracle 11g R2 and 50,000 users connect to this database suggest me what would be the basic configurations.
    Sessions settings and database processes are 5000 and 5505 but it is lagging bit now so if its possible I want to make maximum processes and sessions or automatic.

    And the platform would be?
    Windows is not suitable for this number of users.
    And even on Unix, I would if I were you configure shared server or connection pooling.
    See http://docs.oracle.com/cd/E11882_01/network.112/e10836/dispatcher.htm#i453786

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • BlackBerry Smartphones transfer between Yahoo mail and Gmail service by default for the calendar

    Nice day

    I'm abandoned on the use of Yahoo Mail after 13 years.  I get expired and are having login problems and some of my messages have forwarded to my BlackBerry.  So I opted to use Gmail as my primary email provider and it has worked fine until now.

    I use the Outlook calendar on my phone and sync it with my Torch 9800 using the USB connection.  If I delete my Yahoo Mail as a sevice of default for the calendar, contacts and Messaing list and select Gmail as my default service how convert all my calendar and contacts with Gmail profile.  In fact, don't know if my list of contacts would be affected since I do not see the association from the list of contacts to my Yahoo Mail currently.   If I delete my Yahoo profile would be deleted my events or would they are transferred in the default calendar profile?  Or do I just sync it again with my vision and my events will be transferred to the Gmail profile after selecting the Gmail as my default service for the calendar and the contacts list.  I hope I explained this correctly.  I also have a profile on Facebook timeline showing birthday reminders, which I am trying to remove, but it is another problem.

    I want to do it right the first time and will not accidentally delete my events and contacts list.

    Thanks in advance.

    Prior to do any make a full backup of the device.

    I think that you can solve this problem by Gmail, default service. Then in the calendar app, go to Options. On the screen, enter the letters M O V E. Who should move all the events of the calendar by default. It's been a while since I've done it, though.

  • 10 Blackberry Protect BlackBerry cannot connect to the service of error on BlackBerry Classic

    Unable to connect to the classic BlackBerry Protect on BlackBerry service after the upgrade of the OS for OS 10.3.1.2072 10.3.1.1154 flows. The problem is not resolved even after upgrade to the latest official OS version 10.3.1.1581. Someone at - it experiienced this problem and is there a solution?

    Thanks for your reply and information about BBOS and BB10 users affected by the issue of BlackBerry Protect service. However, I have since effectively solve the problem with an intuitive understanding and a little help from Crackberry.com. Before checking your answer, I saw a comment written by Blaize the Crackberry.com about users who purchased devices BB ShopBlackBerry or Amazon, but have not yet received the recent BlackBerry 10.3.1 update. Referring to a display on Twitter by Michael Clewley @MichaelClewley the following procedure has been proposed "Power off, remove the sim card, restart WiFi only. Look for the updates. Power off, re - insert sim, continue. "On a haunch, I decided to use a procedure similar"turning the unit off, remove sim, restart with WiFi on and then turn it on BlackBerry Protect. To my astonishment, BlackBerry Protect service was restored. Finally, put off, re - insert sim, check the BlackBerry Protect service to check the condition of the remains on. Success!

  • BlackBerry smartphone Curve 9360 sometimes warms us up a little bit and the battery is discharged

    Hi, my blackberry 9360 is sometimes a really weird thing. Once a week, after that I used the device to check email, check facebook or even simply by removing the door in leather and put it right back it drains the battery at a very fast pace and hotter than usual. I'm not aware immediately, but when I use the unit 3 hours later for example the battery is almost all gone and the unit is warmer than usual. Please not that it is warmer, but at a level acceptable, just as if it had been used during this period of time, not overheating. I charge the unit and check the activity monitor application and the CPU was mainly used by the... Idle CPU. The part of the device that heats is not the battery, but the device itself. It is rather annoying because I don't know when it will happen again. The only email account, I have installed is a Hotmail account and it goes as well with wifi on and outside. Someone has an idea it might be? Thank you in advace for help. Best regards, Alexander

    Hello alexandrejv

    Welcome to the Forums of the BlackBerry Support

    Are sure you you are in an area where you have a good network coverage signal strength or if falls frequently.

    While our BlackBerry devices can feel hot tell a long browsing session, play games, download countinous or all supported. If we hold the Menu for a few seconds, it will open a screen that will display all the programs running in the background, usually five will always be there (host, BBM, Message, phone, browser) you can always check if any other applications. run in the background.

    We should always try to close Applications correctly - avoid using key end to close the applications because it just minimizes the application and let it run in the background. Instead, press the Menu key, select close or Exit to exit the application. Don't let your browser open when not in use. If programs are running in the background, it will also allow overheating and also to quick battery drainage. Please take a look at those Article I don't know that it will help you overcome your problems:

    KB14320 How to maximize the battery life and available memory on the BlackBerry smartphone. 

     

     KB31531 : BlackBerry Smartphone 7 may feel warm during operation

     

    But, if you feel that this device heats up more then average, then you should visit your service provider for assistance.

  • SDK - ID of the app blackBerry Push service

    I'm following the steps in the guide BlackBerry push Service SDK available here:

    http://docs.BlackBerry.com/en/developers/deliverables/14465/BlackBerry_Push_Service_SDK-Getting_Star...

    I am currently on page 20 in the section "configure applications server manually." It asks me to change the value ${sampleapp.appid} in the properties file.

    As I'm just going through the guide as a reference, what value should I enter here?

    Figured it out myself!

    There is a link on the page for the software of the Blackberry Push Service SDK down: http://us.blackberry.com/developers/platform/pushapi.jsp

    This is the link that says: sign up to evaluate the Service of Push BlackBerry

  • BlackBerry OS Version availability of the PhoneListener and the IPA PhoneLog

    My company has just heard of available developer program the API object are currently available in the Blackberry operating system / JDE / API for application, we would like to develop and online documentation indicates that they have been available since V operating system 4.0.0 / JDE / API. I am writing to verify that this is indeed the case that these APIs is available in other than V 5.0.0 and upward, the latest version of the software.

    I just want to check that these APIs is available, for example for all versions of OS and all versions of device Blackberry, without restriction, since V4.0.0, such that implies the message that I received from the developer program (one RIM named Mike Kirkup) over the weekend.

    For example, I think that we develop in the Office of a device Blackberry Curve running V4.3 or V4.4 OS; are these these APIs (PhoneListener and PhoneLog) available for this device and this version of the operating system?  Of course, we will expand the OS and devices supported for our application, but we must start somewhere and hoped someone could verify exactly what OS / SDE / versions of the API have these APIs specific to them, and if there are restrictions on device for them.

    Thanks in advance for your help.

    Bill Mertka

    Hello and welcome.

    If you heard of Mike Kirkup, you can believe it.  He is a good guy.

    And if, as you have seen, the docs say

    "Since x.x.x JDE.

    or

    "Since the BlackBerry API x.x.x"

    x.x.x then identifies the level that the feature was introduced.

    Moreover, there is no OS 4.4 and the 8300 curves initially provided with 4.2.2 and can be upgraded to 4.5, which later are equipped as standard.

    As a simple rule, all screen color BlackBerry devices are or can be upgraded 4.0 or higher.  All trackball devices have 4.2 or higher.  Thus, any application that is running with 4.0 can run on almost any device that's out there.  I say any device out there, but I'm sure someone will say they know of a very old BB always in service...

  • What is the difference between the "Software Version" and "Version of the platform?

    I posted in this forum, because there is a maximum activity in this forum. Sorry, if this is not a good place to post this kind of question.

    What is the difference between the "Software Version" and "Version of the platform" of any blackberry device?

    My camera's curve 8900 and I can see in the menu About his version of software is 4.6.1.231 and the version of the platform is 4.2.0.108. What are these 2 versions for?

    Probably the best posted in the software section of the device, but is not serious.

    Version of the software/App - indicates the version of your applications (address book, browser, calendar, etc.).
    Version of the platform - indicates your version of system software (Java based software, radio code, etc.).

  • BlackBerry Smartphones blackberry 9000 mds on server and the device (mds control center)

    Hello

    I have the following problem. We use the SDM Service on the server to push the software programmed on a few blackberrys (e.g. 8800). All Blackberrys are saved on the server in the list of mds.

    The new Blackberry 9000 does not appear in the lists of mds. And after the activation of the SDM control center is not on the device. the control center of mds push automatically by group policies. but I can't found on the device. How can I make the blakcberry 9000 working with SDM on the Enterprise Server BES services?

    We use the 4.1.4.15 version.

    I'm sorry for my English. IM German.

    Thank you.

    !! UPDATE!

    I had a contact with level 2 Support T-Mobile. They told me to download the latest firmware to the updatecenter of t-mobile (has not heard of so far), then install this software on a PC and install the MDS Runtime of this package to the devices.

    After the url of the download location, where I found the firmware:

    http://updateservice.t-mobile.NET/BlackBerry/download/download.do?ref=%2Fservices%2Fftp%2Fproftp%2FS...

    --> Download

    --> Installation for PC

    --> Start the Desktop Manager

    --> Connect Blackberry "BOLD"

    --> uninstall all the "fragments" of MDS duration of unit

    --> restart the Blackberry device

    --> Install MDS DURATION & MDS default Launcher (V 4.6.0.13)

    --> Restart device

    You're good...

    The "BOLD" today BBlackberry is a device registered and within seconds all of our MDS applications when pushed to the device and work perfectly.

    I hope this will help you too.

  • BlackBerry smartphones why Rogers have plans for BB and the plans for the BB? Is so different from BB Phone?

    IM in Vancouver to the Canada.

    I now use a SS Galaxy Note After the termination of my plan with Rogers where I used a Sony Ericsson K790A of 2007 which has been a pain in my fingers to type (pressing the key '7' 4 times to get an "s" LOL).

    Im having trouble typing on the screen Android Galaxy Note (many corrections, difficulty getting the cursor where I want, etc.) and my msg speed has decreased substantially.

    So, I want to dedicated as on the BB keys. IM now Scouting on BB against Android

    but I'm afraid to see Rogers have different regimes of BB and ppl so many here have so many fundamental problems with things that are a mistake on the Galaxy Note like GMAILs disappear from their screens and calendar synchronization issues and you name it.

    Can anyone recommend a phone good qwerty keyboard which is a bar phone and more reliable than the BB?

    Thanks for your review.

    BillJ wrote:
    In the title of your thread, you wonder if BlackBerry is really so different a phone. Yes. When you subscribe to a BlackBerry data plan (also known as the BIS, BlackBerry Internet service), your phone sends most of its data through the servers of RIM where it is compressed and encrypted.

    Also you will need a data of BlackBerry (BIS) plan to use BlackBerry native apps like BBM and receive emails on your BlackBerry.

  • BlackBerry smartphones, what is the difference between the messages icon and the one with my e-mail address as title?

    Hi, I'm new to blackberry. I just got a "BOLD", and some of the icons seem to be redundant. If someone could explain why I would really appreciate it. I had trouble getting the results of a search of forum so I apologize if this topic has been discussed recently.

    What is the difference between 'messages' (which looks like an envelope) and the other envelope with the globe on it (which appears as [email protected])?

    Can I delete one? I don't understand why there are two.

    Also, why is it "medianet" and "browser"? They aren't going to the same place? What is an AT & T thing where they try to control the universe?

    Thanks for your help,

    KG

    With the BlackBerry, you can have up to 10 "BIS" (BlackBerry Internet Service) email addresses, but also a company e-mail sent to your BlackBerry address.  It is also SMS (text) messages, PIN of PIIN messages and MMS messages.

    Each BIS email address gets its own icon which will appear only this e-mail by e-mail address.  The Messages icon ALL E-mail addresses sent to the BlackBerry.  It will also display all messages in pine and optionally show the SMS (text) messages and phone calls, and IM still active cats.  But there is no icon for only PIN messages.

    The fact that there is no way to separate the email from company to a simple icon is a point of contention for some users.  There is a product (Empower BES Mailbox - OTA / Web $20) which will create an icon that displays only the Enterprise email.  However, you can also create a saved search to display only the BES (BlackBerry Enterprise Server) email.

    If you prefer using a simple icon of Messages or have separate icons for each email address is a matter of personal preference.  If you have only one or two emails being sent to your BlackBerry, there is probably little difference.  However, I have six accounts BIS as a BES account delivered and many prefer to have a place to look when I hear or feel that a new message has arrived.

    In addition, equipped with a full QWERTY keyboard device, I'd rather be able to use the shortcut keys to access ALL the applications on my BlackBerry.  In fact, I have everything I don't need (including Messages, all messaging icons, address book, calendar, Notepad, etc.) in a folder called hidden since I never need them!

  • BlackBerry smartphones cannot be the phone accepts blackberry id and the password

    Hey, torch 9810. I already had the "BOLD". I'm trying to set up email on my phone accounts, but he asks for blackberry id and the password, it is not letting me put my previous id and password or set up a new! any ideas of how I can implement?

    Try to set up using wifi only or

    Since the device, go to mobile.blackberry.com
    Scroll to connect and click Send.
    Click on join now for the e-mail service you want to add and see if it works.

  • Smartphones blackBerry in Israel and the phone said App World is not available in my country

    Hello, I just bought a new Blackberry Bold 9700 in Israel, and the phone tells me that app World is not available in my country. I hope Blackberry plans to fix it soon as the i-phone and androids are open here to their app worlds. Anyway, is there a way I can download apps without AppWorld? Otherwise it was the biggest waste of money ever - without the Smartphone applications are not so different from cheap phones, and blackberries just shouldn't be sold here if the services are not available.

    If I go to America download while I'm there? and apps stays on my phone when I go back to Israel?

    Hi and welcome to the Forums!

    Please check this page to ensure that you meet the minimum requirements (including if it is available in your country):

    If it is available in your country and you feel you meet the requirements at the level of the device, and then contact your provider to make sure you meet the requirements of the plan (to them) access (via their network) service to AppWorld.

    In addition, AppWorld is currently accessible only through your corporate data network - WiFi is not used for access to AppWorld under any circumstances.

    Further still, you should know that AppWorld is simply a portal, vending apps developed mainly by others. Therefore, it is not your exclusive supply source - there are others that you can try (e.g., Handango, Handmark, BPlay, GetJAR and Mobihand). I found that there are very few applications that is exclusive to AppWorld. You can see the online catalogue and then look for other sources of supply, including quite often on the developer website.

    Finally, understand that RIM has no unilateral control over the availability of AppWorld. On the contrary, a triad of entities must agree - RIM, wireless service provider, and Government. As the main entity to profit in this triad, I've always suspected that the RIM is not one that could hinder the process.

    Good luck!

  • I bought the last 13 items for download, but I clicked on the link Windows, I own a Mac, how can I change the Mac platform? The Adobe site suggests what it automatically detect that I won a Mac and a change of the platform is so?

    I bought the last 13 items for download, but I clicked on the link Windows by mistake when I bought it, I own a Mac, how can I change the Mac platform? The Adobe site seems to indicate that it automatically detect that I own a Mac and change the platform, what then? I can't find anything (probably to the search in the wrong place) on Returns or cancel my order. Any suggestion would be great, thanks.

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)

    Get help with orders, refunds and exchanges (non - CC)

    http://helpx.Adobe.com/x-productkb/global/service-b.html

  • 2 versions of firefox and the maintenance service are listed in "Uninstall or change a program" after update

    I have updated to firefox from 15.0 to 15.0.1 using the dialogbox "About Firefox". under "Uninstall or change a program" in windows 7 x 64 I have now the two versions of firefox 15.0 and 15.0.1 registered as being installed.

    also, I had previously disabled the option "Use a background service to install updates" and uninstalled "Mozilla Maintenance Service". now the option of background service use has been reactivated and the "Service Maintenance of Mozilla's ' has been reinstalled. I really like how mozilla has zero respect for the fact that I don't want some unnecessary services installed on my computer, just so that I don't have to click on a UAC prompt once per month.

    I'll probably just uninstall the both firefox and the maintenance server and reinstall firefox. both versions are supposed to be there or is this a bug? and why reinstalled substantive service and the option is enabled when specifically, I uninstalled and disabled before?

    Edit: I just checked my other computers. 1 windows 7 x 64 with the maintenance service installed and the other xp with the maintenance Server uninstalled or disabled. two computers only list 15.0.1 as being installed and the maintenance department was not reinstalled on my xp computer.

    Just to let you know, the maintenance service is not running on your computer at all up to and update must be installed. It does not all resources and is perfectly fine to stay on your computer.

    As for the problem with two versions of Firefox, uninstall the other oldest (make sure not to remove your personal data) and see if the new version works.

Maybe you are looking for