Standalone app - persistent data.

I'm trying to develop a standalone app for a client that is sort of a store management software. It will control inventory, employees, schedule, etc. I feel that the best way to access this data would be using a relational database. Now, I have set up a successful connection to mySQL in this standalone app, but I don't want to have to install mySQL on any PC that wishes to use it. How can I go about embeding mySQL into the app? And how will the data be stored? Can it be in a custom file type (not in standard mySQL table files)? Is that even determineable by me?
Thanks

Well, the thing is, I want to make it as portable as possible. Isn't there a way I can embed mysql into the application? If not, is there a way a can keep the data access entirely within the application? Say where you "save" a file that contains the entire "store". You could copy that file to any other PC using the app and open it up. Kind of like a .xls or .doc file......

Similar Messages

  • When the apple review team review our app,they point out that our  app uses a background mode but does not include functionality that requires that mode to run persistently.but in fact,when the app in background ,the app need data update to make the

    when the apple review team review our app,they point out that our  app uses a background mode but does not include functionality that requires that mode to run persistently。but in fact,when the app in background ,the app need data update to make the function of  trajectory replay come ture。in fact, we have added function when the app  is in background mode。we have point out the point to them by email。but they still have question on the background mode,we are confused,does anyone can help me,i still don't know why do review team can't find the data update when  the app is in background and how do i modify the app,or what is the really problem they refered,do i misunderstand them?
    the blow is the content of the review team email:
    We found that your app uses a background mode but does not include functionality that requires that mode to run persistently. This behavior is not in compliance with the App Store Review Guidelines.
    We noticed your app declares support for location in the UIBackgroundModes key in your Info.plist but does not include features that require persistent location.
    It would be appropriate to add features that require persistent use of real-time location updates while the app is in the background or remove the "location" setting from the UIBackgroundModes key. If your application does not require persistent, real-time location updates, we recommend using the significant-change location service or the region monitoring location service.
    For more information on these options, please see the "Starting the Significant-Change Location Service" and "Monitoring Shape-Based Regions" sections in the Location Awareness Programming Guide.
    If you choose to add features that use the Location Background Mode, please include the following battery use disclaimer in your Application Description:
    "Continued use of GPS running in the background can dramatically decrease battery life."
    Additionally, at your earliest opportunity, please review the following question/s and provide as detailed information as you can in response. The more information you can provide upfront, the sooner we can complete your review.
    We are unable to access the app in use in "http://www.wayding.com/waydingweb/article/12/139". Please provide us a valid demo video to show your app in use.
    For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide:
    - complete details of your rejection issue(s)
    - screenshots
    - steps to reproduce the issue(s)
    - symbolicated crash logs - if your issue results in a crash log
    If you have difficulty reproducing a reported issue, please try testing the workflow as described in <https://developer.apple.com/library/ios/qa/qa1764/>Technical Q&A QA1764: How to reproduce a crash or bug that only App Review or users are seeing.

    Unfortunately, these forums here are all user to user; you might try the developer forums or get in touch with the team that you are working with.

  • What do I need to build & deploy a Flex/Coldfusion standalone app?

    I have been a CF developer for almost 10 years, but have no experience with Flex. I have a new opportunity to create Windows-based standalone applications. I have investigated .NET and I am not impressed as it just seems to be needlessly complex and bloated. Instead, I am considering leveraging my CF experience and taking a serious look at Flex with ColdFusion.
    My application needs to run on PCs that are located on boats at sea. Their only connection to the Internet is via a satellite modem. The standalone app. needs to have data entered, which is stored in a local database. When the skipper is ready, he/she will switch the modem on, transmit the saved data (takes about 10 seconds) and switch the modem off. This means that the application code, runtime environment, database, and services (e.g. ColdFusion cfcs) must all be loaded on the PC. Also, I do not want the application to run in a web browser (many boats have old versions of Windows and IE).
    I understand that I should be able to do this by using the AIR runtime.
    Here are my questions/challenges:
    1.) The application itself must be provided free of charge. Would I be required to purchase a ColdFusion licence for each installed copy of the application?
    2.) If I would have to pay a licensing fee for each CF installation, will Flex 4 work with an open source CF engine such as Open BlueDragon or Ralio instead?
    3.) Any suggestions regarding the database that I should use (e.g. Derby, H2, SQL Server Express)?
    4.) Installation must be simple. Skippers must be able to download an installation file (e.g. an .exe) and run it. The install program must install the database, the latest Flash player for Windows, the CF engine, and the generated .swf files, cfc files, etc. Can all of this be bundled up when FlashBuilder and/or AIR prepares an application for deployment? When the application is run, it must start the database engine and the CF engine in addition to the Flash front-end.
    I'm eagerly await your answers with fingers crossed. This project has the potential to create a very cool, unique application!

    Hi Paul, thanks for the quick reply.
    We have created the onboard app., but not in Flex. It is written in ColdFusion (version 8) with AJAX and uses an Apache Derby database and Open BlueDragon as the CF engine. The whole thing runs in a browser onboard. We had a custom Java launcher written. It starts the database and Open BlueDragon and then launches the PC's default browser with the localhost URL of the application home page. The biggest drawback with this whole approach has been browser compatibility. Some boats still use IE version 6. Our application simply won't work on versions IE prior to 7.0. It also takes quite a while for the launcher to start up all of the related applications, etc. The application runs more slowly than it would as a desktop application since web pages have to load as the user moves from one screen to another.
    I am investigating whether we should re-write our application from scratch using Flex/AIR. My hope is that that we can put together all of the parts of the application in a single, standalone environment. Through some investigation, I have just realized that AIR includes SQLLite, so we won't need a separate database/launcher. We also won't need to use AJAX since the Flash will provide a UI that has all of the flexibility that we'll need. I also assume that the AIR runtime will include a standalone Windows Flash Player, so we don't need to use whatever web browser is on the boats.
    So far, everything sounds great. My only remaining question is whether I could create the data access services as ColdFusion CFCs without having to install ColdFusion on the onboard PCs. I've been looking through the Adobe literature and it seems to imply that AIR can use ColdFusion 9 CFCs without CF being installed, but I cannot find a definitive statement on this. If this is the case, I will download CF 9, CF Builder, Flash Builder, and AIR and start learning and building right away.

  • Question about standalone apps

    Hi enerybody, i am interested in developing standalone apps in the Java lang and would like toknow which IDE should i use SUN ONE STUDIO 5 SE, JAVABEANS or ECLIPSE 2.1
    I know that this has been asked a lot but please i really need to know because i am at a loss.
    Thanks in advance :)

    i think both questions ("which IDE to use?" and "which DB to use?") depend on your requirements!
    IDE:
    - are you only interested in a better editor which colors up your source code?
    - are you intereseted in a designer to create GUI's?
    - how much would you pay for a IDE?
    DB:
    - would you pay money for your DB?
    - how many sets of tables and data should the database manage?
    - how important is the speed of the DBMS?
    i myself am working with JBuilder 8 at that moment. the personal edition is free for download...
    as db i am using mySQL:
    a) i don't need an expensive high performance ... top DB
    b) my Homepage's hoster uses it so testing is easier
    c) ...
    what do you require?

  • JDriver for Informix throws LicenseKeyInvalid exception in standalone app

    Hi, I'm trying to use the BEA Systems type 4 jDriver for Informix,
    version 5.1.0. I set up a connection pool in weblogic.properties, and
    everything works fine when running from within WebLogic. Our app runs
    fine, talks to the database just fine, has been for a month. However,
    when trying to run a standalone program (like a unit test, or one of
    the examples), I get the following message:
    Exception in thread "main" java.sql.SQLException:
    java.sql.SQLException: weblogic.common.LicenseKeyInvalidException
    jdbcKona/Informix4,any,3,never|af2b99e753f718304c8500d07ef62471
    at weblogic.jdbcbase.informix4.BaseConnection.<init>(BaseConnection.java:99)
    at weblogic.jdbcbase.informix4.Connection.<init>(Connection.java:40)
    at weblogic.jdbc.informix4.Connection.<init>(Connection.java:44)
    at weblogic.jdbc.informix4.Driver.newConnection(Driver.java:44)
    at weblogic.jdbcbase.informix4.BaseDriver.connect(BaseDriver.java:96)
    at examples.jdbc.informix4.simplesql.main(c:/weblogic/informix4/examples/jdbc/informix4/simplesql.java:30)
    I tried swapping out the eval license file and the license file that
    came with our purchased version of WebLogic. WebLogic is not running
    when I run the standalone app. I don't have anything else on my
    machine talking to Informix.
    Any ideas? Thanks!
    Steve Molitor
    [email protected]

    You need to make sure the weblogic.jar file is in the classpath. Also make
    sure you have the folder in which the license file exists is in the
    classpath as well.
    I suggest you use the informix driver from informix which is a current and
    better driver. It is a free download from their website.
    hth
    sree
    "Steve Molitor" <[email protected]> wrote in message
    news:[email protected]...
    Deepak Vohra <[email protected]> wrote in message
    news:<[email protected]>...
    LicenseKeyInvalidException is for when a license key is invalid.Well, yes, but I think my license key is valid. I downloaded a new
    eval version from BEA yesterday and used the license file and key that
    came with it. Same error message as below, except that the license
    key was different, and the expiration date was Feb 8, 2001. The key
    and expiration date matched what was in the file
    (c:\weblogic\informix4\license\WebLogicLicense.xml) from the eval
    download. BEA wouldn't put an invalid license key in the eval
    version, would they? That wouldn't be very good marketing!
    Anyway, for grins I swapped out the license file under
    ....\informix4\license with my purchased version of WebLogic's license
    file, under c:\weblogic\license. It gives the error message below;
    same message as with the eval version of the license, but with a
    different license key, and expiration date of never.
    When I use the driver from within WebLogic (I boot WebLogic and run my
    app), everything works fine. I'm CRUD'ing to and from the database
    just fine. So, my license file must be OK. I just can't get it to
    work in a standalone app, without WebLogic running. I must be
    configuring something wrong or missing something in the standalone
    app, but I can't figure out what.
    Any help would be greatly appreciated!
    Steve Molitor
    [email protected]
    Steve Molitor wrote:
    Hi, I'm trying to use the BEA Systems type 4 jDriver for Informix,
    version 5.1.0. I set up a connection pool in weblogic.properties, and
    everything works fine when running from within WebLogic. Our app runs
    fine, talks to the database just fine, has been for a month. However,
    when trying to run a standalone program (like a unit test, or one of
    the examples), I get the following message:
    Exception in thread "main" java.sql.SQLException:
    java.sql.SQLException: weblogic.common.LicenseKeyInvalidException
    jdbcKona/Informix4,any,3,never|af2b99e753f718304c8500d07ef62471
    at
    weblogic.jdbcbase.informix4.BaseConnection.<init>(BaseConnection.java:99)
    atweblogic.jdbcbase.informix4.Connection.<init>(Connection.java:40)
    at weblogic.jdbc.informix4.Connection.<init>(Connection.java:44)
    at weblogic.jdbc.informix4.Driver.newConnection(Driver.java:44)
    atweblogic.jdbcbase.informix4.BaseDriver.connect(BaseDriver.java:96)
    atexamples.jdbc.informix4.simplesql.main(c:/weblogic/informix4/examples/jdbc/i
    nformix4/simplesql.java:30)
    >>
    I tried swapping out the eval license file and the license file that
    came with our purchased version of WebLogic. WebLogic is not running
    when I run the standalone app. I don't have anything else on my
    machine talking to Informix.
    Any ideas? Thanks!
    Steve Molitor
    [email protected]

  • How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    If you synced it many times, you have to have a backup. It's just a question of how old that backup is now. When did you last sync?
    First of all launch iTunes on your computer and go to Edit>Preferences>Devices. Do you see any backups for you iPad in that window? If so, how new is the newest backup? That will be the backup that you will want to use. But remember that if you use that backup and it is one month old, you can only restore from that date back in time. Anything that you did on the iPad in the past month will not be in that backup.
    Turn on the new iPad Minin and start activating OTA via WiFi. You will get to a certain point in the process where you will be given the choice to Set up as new, Restore from iCloud - or Restore from iTunes. You will want to select Restore from iTunes.
    That is the short and sweet version. There are step by step instructions in this article. This applies to the mini as well as the iPad 4 or the iPad 3 for that matter.
    http://www.everythingicafe.com/how-to-set-up-new-ipad/2012/03/16/

  • I have 2 apple id's with different apps and data saved under each.  It's very annoying so now I want to create a new id with my primary email address I use now.  If I do that is there any way to transfer all my saved apps and app data like game saves etc?

    I have 2 apple id's with different apps and data saved under each.  It's very annoying so now I want to create a new id with my primary email address I use now.  If I do that is there any way to transfer all my saved apps and app data like game saves etc so I don't lose all of that information and can easily switch to a singular apple id?

    Apple does not transfer content bought with one Apple ID to another Apple ID. Apple will not merge two Apple IDs.
    If most of your content was bought with the Yahoo! Apple ID but you now want the Gmail address for your Apple ID, the trick will be to change the address used for the Yahoo ID with the Gmail address. However, to do that you must first free the Gmail address from that other Apple ID. Use the instructions from Apple to substitute another address that is not used as an Apple ID for your Gmail address in the Apple ID with the Gmail address. Then, when the Gmail address is no longer used in an Apple ID, you can use the same instructions to substitute the Gmail address for the Yahoo address in the Apple ID with the Yahoo address.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • How can you save an app's data?

    Hi, how can you save an app's data? For example, if I want to switch some applications on my iPod with those were on my iTunes Apps Library, iTunes will force to remove the apps that was on my device and sync the apps that I want onto my iPod. But once the app is removed from my iPod, its data will be erased too, so, for example months later, I want to put them back onto my iPod, I will lose all the apps data and games progress. So, I just want to know the way that people save their apps data.

    Yo can't. apps are locked to the account thatpurchased them and in-app purchases can only be mad with the account that originally purchased the app.
    You will have to recover use of the first account
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    If necessary:
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions
    If you have not uses any of the $10 you redeemed to the new account, you can likely get that refunded by contacting iTunes
    Contact iTunes

  • Can I restore settings, apps and data from an external hard drive to new Macbook Pro?

    I recently lost my Macbook Pro to water damage.  It was about 3 years old and tuned for comfort.  Unfortunately, my most recent backup is at least 3 months old.  I purchased a new MacBook Pro and I'm wondering what my options are for migrating my settings, apps and data from the old hard drive to the new MacBook Pro?  I have a USB drive bay that I plan to attach to the new MBP to gain access to the old hard drive.  Someone suggested Migration Assistant but my research hasn't turned up any information about migrating data from an external drive.
    Any help would be greatly appreciated.

    THANKS!  I guess my research wasn't THAT thorough.   I booted with the external drive attached and setup immediately gave me the option to setup using Migration Assistant.  It was a little slow via USB (2+ hours) but it was nothing compared to the time it would have taken to do it manually.  My new 15" MBP looks exactly like my old 13" MBP.  AWESOME!!!
    Thanks again!

  • Storing Persistent Data In A Flat File -- Design Ideas?

    I have an application that needs to store a small amount of persistent data. I want to store it in a flat config file, with categories and key-value pairs. The flat file might look something like this:
    John:
    hair=green
    weight=170
    Sally:
    eyes=blue
    weight=110
    and so on. My application will initialize a custom class with the data stored in the file, and then work with that class. When updates are made to the data as the application runs, the file will need to be changed too (so that changes will be reflected even if the program crashes, eg).
    What is the best way to implement this? Does Java have any built in classes that allow for something like this? I was thinking about Serializable (which I've never used), but I want the file to be human readable and editable. How about using RandomAccessFile? I'm guessing there is a better way....
    Thanks for any advice,
    John

    I'd use a XML structure; classes for XML storing/parsing are part of the API, the structure of XML is flexible enough and human-readable.

  • When I sync my iPhone 4S to my computer, where is the baseline data and documents coming from? Is the iPhone's set of apps and data the default set or are the apps and data on the computer (in the backup? in iTunes?) the default set?

    I am having a great deal of trouble with the upgrade to ios 7 on my 4S. The syncing and the software updates always leave generic icon apps that I have downloaded in the past but have deleted from my phone. But they keep reappearing. A restart of the phone fixes the icons but they are loaded not at the last page of the home screen but on completely random pages, screwing up my app and folder layout.
    I want to completely wipe the phone and restore the apps one by one, but I am concerned about whether the data and documents for those apps that I reinstall will be intact. Does the syncing for the apps on the phone retrieve the data from the last backup on the computer? If so, does it only sync the apps on the phone or does it try and reinstall all the apps that there is data for in the backup? In other words, does the resulting set of apps and data reflect the current state of the phone or the saved state of the backup?

    Apple guys are deleting posts. I have found my posts have been deleted. Apple should MUST let us downgrade at least to previous release from current which was working fine.

  • How do i get all my data and info from my old iphone onto my new one without access to the original itunes that i set my first iphone up on? my partners itunes keeps telling me that its going to replace all my apps and data with his stuff

    how do i get all my data and info from my old iphone onto my new one without access to the original itunes that i set my first iphone up on? my partners itunes keeps telling me that its going to replace all my apps and data with his stuff

    ok so i have my own i tunes library - how do i get all my old apps onto my new library?

  • I have Lightroom 5.5 as standalone app on my laptop and I want to use Lightroom mobile too. But I am not an Adobe CC subscriber. Can I use LR mobile? Right now it's telling me it's on trial and I have only 17 days left.

    I have Lightroom 5.5 as standalone app on my laptop and I want to use Lightroom mobile too. But I am not an Adobe CC subscriber and I don't have Photoshop CC. Can I use LR mobile? Right now it's telling me it's on trial and I have only 17 days left.

    But I paid for my Lightroom 5.5, LR Mobile is an app for LR5, isn't that unfair not to allow me to use LR Mobile? Adobe should change this policy.

  • What is app-jazn-data.xml

    Hello
    What is app-jazn-data.xml. Do modifications in system-jazn-data.xml automatically update app-jazn-data.xml?
    Thanks

    Hi,
    app-jazn-data.xml contains a copy of all security permissions set with ADF Security, This is a convenience file for you to import to system-jazn-data.xml on the target system or import to OID.
    So the answer is, no - you have to manually update system-jazn-data.xml or OID (using the migration tool)
    Frank

  • Standalone app

    Hi Everybody~
    I am trying to create a flash presentation and distribute them on CDs. I would like to create a standalone app for pc and mac. I did this by going to publish settings and checking standalone app for mac and pc then clicked publish. But when I open in mac, nothing happens and in PC, it opens in flash player.
    What do I need to do to get this thing working??

    Perhaps you don't have Flash Player on Mac. As for publishing, you did correct, and it will open in Flash Player since it is bound to it (you created Flash Player application). If you wish to have standalone application, you will have to make Adobe AIR application.
    Hope it solves your problem.
    Regards,
    Vjeko

Maybe you are looking for