Version of App problem, help.
I developed an application with basic reading and writing (access SQLData) data.
on Debug or Run it works perfectly, but when I'm creating a release and run the bed application only from the database.
Something like that...
bool DbHelper::copyDbToDataFolder(const QString databaseName) { // Since we need read and write access to the data base it has // to be moved to a folder where we have access to it. First // we check if the file already exists (previously copied) QString dataFolder = QDir::homePath(); QString newFileName = dataFolder + "/" + databaseName; QFile newFile( newFileName ); if (!newFile.exists()) { // If the file is not already in the data folder we copy it from the // assets folder (read only) to the data folder (read and write). // Note that on a debug build you will be able to write to a data base // in the assets folder but that is not possible on a signed application. QString appFolder(QDir::homePath()); appFolder.chop(4); QString originalFileName = appFolder + "app/native/assets/sql/" + databaseName; QFile originalFile( originalFileName ); if (originalFile.exists()) { return originalFile.copy(newFileName); } else { qWarning() << "Failed to copy file, database file does not exist."; return false; } } return true; }
Tags: BlackBerry Developers
Similar Questions
-
Memory of blackBerry Smartphones and apps problems - help wanted
Hello
I have the Blackberry Curve 9300 using the software v6 with card memory of 32 GB formatteed aa.
When I download apps, they go to the memery phone rather than on the map.
What I need to know is:
1. How can I download an application directly to my card rathr memory the phone?
2. How can I transfer exisitng apps on the memory card?
Thanks in advance
Marek
Well, I'm really sorry that I have to say NOT to do this... you can not install or you can't move applications to the MMC storage...
also, see these discussions if you don't know what I mean...
-
I really need some phones smart blackBerry app world help please!
Hello!
My main problem is that my global icon always disappear after the installation of the application (I always restart the phone and I check the app is really installed on the phone).
I have a BB Bold 9780 with OS 6.0.294 (905) and get into serious trouble with the app world. I tried everything I read in the support forums and nothing seems to work for me! Now, I have my phone only with the Basic apps, I mean, I haven't downloaded one. The world of the app is not installed now. When I install the 4.0.0.55 version the problem remains.
Thanks for any help possible!
Hi ritacastro
Welcome to the Support Forums
If you try to download the latest version of App World, then make sure that your OS device using versions6.0.0.706 or higher. Then you can try to update your device OS to a higher version. Or
You run a lower OS version then please download App World version 4.0.0.55 for BlackBerry from your browser go to http://mobileapps.blackberry.com/devicesoftware/entry.do?code=appworld3 to download 4.0.0.55 on your device.
But before you download Uninstall app world from your device, for this on your homescreen go to Options > device > application > scroll Ap world and remove it from there. Then perform a battery pull restart.then to give it a try.
KB29422 BlackBerry App World icon is missing after upgrade to BlackBerry App World 4.0.0.63 to 4.0.0.65
-
Store Windows 8 - I can see the store and apps on it, but I can't access my account or download apps. Help!
When I click an app I want to download, there is no button 'install' on the page.
Then I tried to click on 'my account', 'my applications', 'my preferences', etc, and all I get is this point indirect image that turns on in perpetuity.
I tried the diagnostics as suggested on the community pages but got no where with it. What should I do?
Help!
Hi jojo
You would not believe what happened.
The problem got worse. Subsequently, the system refused to even give me a sign on another wifi network other than that I'm a.
I leave the matter for a few weeks before I turned on the laptop.
I showed that I needed the Microsoft updates, after which the laptop worked like nothing happened.
Its a mystery of technology that I will never understand.
Thanks for your help!
Cheng
-
I have a subscription to creative cloud. Only can use trial versions. Can you help me please?
FAQ: What should I do if I have a subscription, but my application acts as if I had a trial?
https://forums.Adobe.com/thread/1962238
Sign out, sign in | Creative office cloud app
http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html
-
I need to download my application of newsletter to customers at the apple store. They already have an app problem multi with previous editions of the newsletter. How to download the new edition to this multi app problem?
All you need to do is post the folio to Folio Producer. See https://helpx.adobe.com/digital-publishing-suite/help/publish-folios-distribution-service. html
Neil
-
When I typed the symbol "fitbit" my watch to view color "swirl". Now it jumps directly to the graphical version boring bar. Help!
Hi Bevan
If you are referring to the application of the activity (rings icon), you can display a graphic (to move, Stand, or fiscal year) rather than the overview of three rings, which summarizes the progress of your day for all three goals.
Back to Overview: looking at the graph, make slide down once on the face of the watch, and then drag to the left until you reach the overview.
More information:
-
I just upgraded 5 c to 6 s GSM (o2). I have all new versions of itunes ob both devices. When I connect usb a message:-can't use the iphone "iphone" because he needs a newer version of itunes. Help!
But you have the latest version of iTunes on your computer?
-
Hello
How to remove the version of app on appworld supplier portal and do not delete the whole product?
I added some changes in my verion 3,0,0 App and send it to stable appworld and it pass the process but now
I want to go back to the previous version (2,4,8), but not remove any product from the store.I can't remove the store version, but only to remove any product.
You cannot delete a version, but you can ask RIM to do it for you
https://www.BlackBerry.com/profile/?EventID=8109If your application is a smartphone application there is a workaround 'disable' release, simply edit the supported devices and leave only one device (e.g. 8800), in this way, no users will be able to download this version.
-
Hi, I, m need Adobe Photoshop CC 2015 offline trial version Installer. Please help me. How to download the version from the adobe web site offline?
First read the important instructions on this page.
-
supports the error screen saying I do work on an oppertating system that illustrator is more, but I just uninstalled the trial version? can anyone help?
Hello
Please go through the requirements for illustrator: -.
-
Hello, I've just updated my Photoshop for the most recent version, Im having problems with flow tool, is - that someone is having this problem too?
Hi tonyc75479545,
Greetings.
Please check this thread - Photoshop CC 2015.1 liquefy lightens the result on the 16-bit per channel images
Concerning
Rohit
-
Hello, I tried to update Acrobat version, he told me to unistal previous, I did, I also rebooted my mac etc and still the message said to uninstall the previous version, thanks for your help as soon as possible!
Hi AtomAtelier,
Please send us the screenshot of the exact error message that appears.
Also, please tell me which version of reader that you want to install and on which operating system.
Please try to install Adobe Reader from the link below:
http://get.Adobe.com/reader/Enterprise/
Let me know how it goes.
Kind regards
Ana Maria
-
Where I can I download a version of Acrobat Reader XI, the DC current version gives me problems.
You can try the full of Player offline Installer
-
How can I install cs2 on my new conputer since my original cd. I get a message that the eligible version not found. Help...
Floyd
Not relevant for this reason:
Error: "Activation Server is not available. CS2, Acrobat 7, pass a hearing 3
Simply download this version and install it with the serial number provided on this page.
Mylenium
Maybe you are looking for
-
Given that I have updated to the latest Mozilla Firefox 19, I had a few problems.I have more of Firefox in the upper left box.I open Mozilla to go online, but when I question it does not recognize my password when I try to retrieve e-mail that does n
-
NB550D - BSOD when connected to Wi - Fi
Hi guys I bought my NB550d year last to take the os on a school trip. Love everything about her, except for one thing. I'm going crazy trying to solve this problem. Any help would be great. I constantly get a BSOD when I'm on the net. There is nothin
-
Network advertising readers and apple script editor or
I have a new laptop Mac. I have it on a Windows domain and I get my drive mapping in the sidebar when I connect with my AD account. When I change my account to a mobile account, I lose the map in the sidebar. I get it if I connect to the server, but
-
New installation of XP Pro, cannot update windows
Brought home an old post office work for minimal use for my wife not so necessary or expected. Wanted above all be able to access my office off site using GOTOMYPC for work. XP Pro SP1, it's what he has to load XP again. Load without problems, bu
-
during the installation of updates, get error msg 80070570 please help
need help get this msg of error.