QTimer connect misfortunes on Z10

Hello

I have an application that uses the QTimer class to plan stuff. It allows to set the interval in seconds / minutes / hours.

This works very well in the Simulator, but fails in some(many?) Z10.

An app update released today, which allows logging.

2 people tested and gave newspapers. 1 guy blackberry Support confirmed to me that setting the timer interval to
seconds doesn't work, but setting say works for 1 minute.
However, a customer has confirmed that neither works for him.

Provided by the two newspapers, it resembles QTimer connection with callback fails sometimes

This is the code I am using

If (interval_timer == 0) {/ / allocate and configure the timer once}
interval_timer = new QTimer();

bool connected = false;
Q_ASSERT (connected = QObject::connect (interval_timer, SIGNAL (timeout ()), this, SLOT (changeWallpaper()));)

Log2 ("connected: ' related);
}

The timer eventually gets set up correctly (interval and isActive) but because registration reminder is not called

Reminder slot is defined as follows:

Sub ChangeWallpaper Q_SLOT (bool is_next_clicked = true);

Now, I think the problem is the use of the default settings, but it works every time in the Simulator.

Someone would be willing to test my application in a Z10? I do not have a camera.

I can create two bars before and after correction. (I guess we can push a file in output mode bar in the device).

Any help would be appreciated as app approvals can take a long time.

Thank you

Hello

Q_ASSERT (connected = QObject::connect (interval_timer, SIGNAL (timeout ()), this, SLOT (changeWallpaper()));)

This line will be omitted when compiling in release mode and the signal will not be connected. Try to replace it with:

connected = QObject::connect (interval_timer, SIGNAL (timeout ()), this, SLOT (changeWallpaper()));

Q_ASSERT (connected);

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Z10 regarding problems of internet connection on blackberry z10 using sim network connection & Derek bsnl

    Dear all,

    I am the first time the z10 blackberry user & use the services on network of BSNL (MAHARASHTRA) India.
    I am able to use internet for awhile when I swith the cell phone on, but inside a few connection minutes is lost & msg read ischeck network connection & try again & then I don't get the connection. Z10 BlackBerry supports the GPRS of BSNL service provided but I am not able to use internet services please help

    PLIs tell me done blackberry z10 will require anti-virus software for the Internet virus threats
    Stéphane jeandonnet

  • Is it possible to use virtual touch keyboard when a HID barcode scanner is connected to BlackBerry Z10?

    Hello everyone!

    I intend to build a web application for the BlackBerry Z10 with which you can scan bar codes for inventory management. For this I use a KDC200 Bluetooth laser scanner barcode. I've used this scanner barcode with the BlackBerry Bold 9700 and a Java application using the net.rim.device.api.bluetooth.BluetoothSerialPortListener. The scanner was then developed the SPP (Serial Port Profile) mode and this solution worked well.

    Now with the Z10 BlackBerry, I connect the Bluetooth bar code scanner as a HID device because the PSP seems to be taken in charge by the Z10 (?). With PSP no connection can be established at all. This type of connection setting (HID/SPP) can be switched on the scanner device. When the scanner is connected as a HID, the value of the scanned bar code is correctly written in the input field focus on the BlackBerry. But now, there is a downside: as long as the HID scanner is connected, touch virtual keyboard of the Z10 is disabled and does not appear when you tap on an input field - in any application.

    These input methods (HID vs virtual keyboard) are mutually exclusive, or is at - it a way to get the virtual keyboard works while the HID scanner is connected? In my web form there is sometimes a barcode field and normal input fields, for example to analyze a bar code, and then manually enter a quantity.

    BTW: for ergonomic reasons, there is no to enter the barcode with the camera of the smartphone. In addition, the solution must be implemented in the form of a web application.

    Are there opportunities?

    Best regards.

    Have you tried the Salvation two fingers?  Swipe up from the bottom of the screen with two fingers to open the keyboard.  I found that this worked when the keyboard was unable to present themselves on the fields of entry on some websites.

  • Data connection mobile blackBerry Z10

    Hey can Z10 verizon haas one dealing with the connection of mobile data... its fr off... Wat can I thank you.

    I mean like data are on but time of sections of da and da fone internet goes out...

  • Connection blackBerry Email Z10 problem

    Hello. I have a Z10 and without any reason. He ceased to receive emails.

    Now, when I enter what I know to be my correct password (I even reset on MS365/outlook) - it tells me that my login information has changed or is incorrect. Update login information and set again.

    Any ideas how to get my email workingagain!

    Will try tonight and will let you know how it goes. Thanks again.

  • Problem connecting to blackBerry Z10 black berry app world, blackberry app world has to close

    Hey guys,.
    I had this problem for about a month now, whenever I try to access the app store, I get the same error (there was a connection error, shut down blackberry app world). I tried everything to an erasure of data on my phone, to battery pull. I've also updated for BlackBerry 10 most recent operating system. I looked on the Internet and cannot find any solution. Is this just what happens to me, or is there a problem with the actuall BlackBerry app world.
    Help, please.

    Kind regards
    Moojay

    Have you tried your App World when you're connected to WiFi, or vice versa, not connected to Wifi.

    Sometimes, which will solve the problem.

  • BlackBerry Z10 unable to connect to the Mac

    I can't connect to my z10 on the network. When I try it try to connect for a few minutes, and then it just says: connection failed. I then try again and put my username and password, but after a few minutes of trying to connect it fails.

    I'm on a Mac.

    Any ideas?

    EDIT: I am able to connect via USB if I disable my wireless (aka airplane Mode)

    Turn off wifi and try to connect with the usb cable

  • BlackBerry Z10 unable to connect to the Eduroam network

    Hello

    im not able to connect my BB Z10 to the Eduroam WiFi at my University (Paderborn, Germany).

    Sometimes, it works. But most of the time, I get one of the following two error messages:

    -Invalid EAP login data

    -Network authentication failed. Check network security preferences

    I have German translatet. Maybe they sound a bit different in English.

    No idea how to solve this or an idea for new diagnose?

    Best regards

    It seems that the automatic change of access points was the problem.

    Since the last update (10.2.1.3247) everything works fine.

  • BlackBerry Blackberry Z10 to the switch Q10 Q10

    Hello, I would be gratefull if someone could explain the safest method to a Z10 to a Q10 by blackberry link.

    The Z10 is backed up, of course.

    Q10 is never lit.

    I have to login on Q10 with BB id before hanging the Q10 instead of blackberry? (I am connected with the Z10 already)

    I have peripheral link to Blackberry, or I could download a Z10 backup file and restore it on the new Q10?

    Thank you

    Yes, I had the same problem, it just took time for all BBM groups fill.

  • Software BlackBerry Blackberry link cannot communicate with the device (Z10 and MacBookPro)

    I've just updated my Z10 software to version 10.0.9.2372 by link of BlackBerry OS on my MacBook Pro, and since that time, I can't get the link to communicate again to my Z10. Even an attempt to "Restore the device" is insuccessful as the error: "canoe repair of error" appears during the process. (Believe me, it is the real spelling of this error message!) can anyone suggest a solution? (Yes, I re-installed the link on my mac, rebooted the phone numerouis times, disconnected and re-connected the USB cable, without success.)

    Problem solved! I found that link to 79 BlackBerry update build on my MacBook Pro, I am now able to connect to my Z10.

    I hope this helps those who have the same problem.

  • Problem blackBerry Z10 software

    I connected my BB Z10 with computer, after a while when I checked it stop working. main menu the application exist, but does not open. and on the menu page 1 also does not work.

    Help, please

    Hello and welcome to the community!

    I would recommend that you try a recharge of OS, via one of the following methods:

    Good luck!

  • Z10 Wi - fi BlackBerry

    Hello!

    Just turned on my new phone and do the installation on the phone instructions. Setup cannot continue until I choose a wi - fi network, but there is no wireless connection in my house.

    Older (pre-BB10) BlackBerry phones required BIS you needed for a network connection. The Z10 does not use BIS so I wonder why you have problems. It might be that the first installation requires a network connection.
    I would say get within range of a network connection for configuration. Once you're running, you'll be fine using Wi - Fi after that.

    See you soon.

  • Z10 Z10 blackBerry battery problem.

    Dear BB users or support,

    I plugged the charger z10 BB and bolt of Thunder turned on indicating that the load, but it does not pay more than 20%. I plugged in the charger for more than 3 hours. What can we do, in this case, please let me know. Thank you

    Best regards

    Anjubault

    {DELETED}

    {DELETED}

    MOD Edit: Remove information staff to comply with the Community guidelines and the terms and Conditions of use.

    Try this, keep your wall charger connected to the Z10 and while it loads, remove battery replace minute and allow it to restart. Look if there is a difference in the total load.

    Also, get a free battery applications that will measure the health of your battery.

  • BlackBerry Apps gone Z10

    l had to wipe my Z10 recently. All my apps are gone, which is understandable. But all my paid for apps will not appear in my app world. Is it possible to retrieve and install, without refund, my paid for applications

    Are you connected to your Z10 with the same BBID as before is erased?

    If so, also try this: Article ID: KB24714 how to clear the cache for BlackBerry World on BlackBerry smartphones

  • BlackBerry Z10 linking Z10 for PC/laptop

    Hi all

    I noticed when I connect my Z10 for my laptop and open BlackBerry link.  Mt peripheral to connect to BBL Z10, I disable on my Z10 mass storage mode.  Is this comon with new software or have I missed something, Cheers

    Hi craigashy,

    That's right, however, you should only use the mass storage Mode to connect to devices or applications that require the Media Transfer Protocol, for example, some TVs, consoles games or computer media player applications.

    Thank you.

Maybe you are looking for