Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
07-28-2012 10:08 PM - edited 07-28-2012 10:09 PM
Using the NDK, is there a way to determine if an app was loaded via AppWorld (vs side loaded) on the PB (os 2.x)?
07-29-2012 03:40 AM
07-29-2012 04:17 AM
07-29-2012 11:05 PM
Yes, I am trying to determine a method in C++ (NDK) to determine if my app was installed via AppWorld or via sideloaded. In this way I can stop the app from running if it was sideloaded.
There is talk of using "/pps/system/installer/registeredapps/applications
Any other ideas?
07-30-2012 09:21 AM
07-30-2012 09:39 AM
When I said it "does not seem to work" I mean the following
1) Open the file with a QFile, with and without using both a QTextStream or a QDataStream. The file opends (with read permissions). call read() readline(), readdataline() all return 0. No error just 0, and the pos() of the file does not move. I even tried using seek() to move the file position pointer ahead one byte at a time and still no bytes are ever written.
2) Open the file with a FILE (pure C), all of the above is still true.
So, I am at a total loss.
Here is one sample of code:
if (InFile.open(QIODevice::Text | QIODevice::ReadOnly) == false)
while (InFile.atEnd() == false)
LineIn = InFile.readLine();
(prints "" for ever as the position pointer is not moved in that example as it is always reading 0 chars)
08-30-2013 05:08 PM