same structure of package in both applications will work?

Hello

I have the Source code of an application, that is on the market.  I need to add a few functions and want to release as a new application, which is the requirement of the customer.  It contains persistentstore and rms and sqlite.

Need to change the structure of the application package? and what to change about PersistentStore and rms and sqlite, so that it may not disturb/override the already existing, the content of the application.

Please help on this

Just to clarify a little the previous answer, you can have two different applications on the same device of Division of class names (by class name, I mean the fully qualified name, including the package) If classes are not persistent.

If you have persistent classes, the name must be unique.

If you share code, then all other identifiers, such as IDS for PersistentStore and RuntimeStore, for SD card directory names (and the SQLite databases), BBM id, Application name and ID for various services such as social media and analytical, must also be different.

In my experience, the biggest problem when you try to share code is the requirement to have unique persistent objects.  A way to handle this, is that the creation of the object continued to be in the non-shared application code, use a class that implements an Interface that defines a set of common methods.  If the shared code uses the persistent data access Interface and then, well, shared.  But the real object has persisted is specific to the Application.  Hope this is clear.

Tags: BlackBerry Developers

Similar Questions

  • Current applications will work ok with the iPad Pro?

    I use a number of applications for the conduct of instruction - which are designed to move objects... will be they work well with the new iPad Pro... ?

    They should be. Other that a processor more the biggest difference between an older iPad and the pro is screen size.  and I imagine the apps dimensionnera upward for the pro.

  • How to check the platform below, that the application will work over time?

    Hi all

    Is there a way that the application can check the app was supposed to work on what operating system. Say if I use an OS 5 and then the app was built for the 4.5 OS, so I need to check whether the application is a version 4.5 and inform the user and halt execution. I can change the appname or version number to detect but y at - it another way to do it programmatically.

    guys sorry for the stupid question. I had some caffeine. and resolved immediately. I used the preprocessors.

    Thanks for the help guys. I understand your desire to help me. Thank you

  • I have a desktop version independent of PS6 - if I download some desktop PS CC application will be this result in all conflicts with both applications on the same desktop computer?

    I have a desktop version independent of PS6 - if I download some desktop PS CC application will be this result in all conflicts with both applications on the same desktop computer?

    Hello

    Yes both licenses will be in conflict and it will activate CS6 with creative cloud.

    You can only use a license on a computer and you can also download the previous version of the creative cloud.

    Concerning

    Gilles marneffe

  • Application crashes if the same source code for both applications but the names is different

    Hello

    I have an application on said device "OldApplication", and it works fine. I've done some chnages in the same source code and also changed the name of the application to different say "NewApplication". Now both applications are present on the device. "OldApplication" works fine but when I try to open ' NewApplication "it hangs on the splash screen. I checked the event logs and got the trace of the exception uncaught,

    Name: error

    GUID: 9c3cd62e3320b498

    Time: July 22, 2010 23:26:47

    No detail message

    net_rim_cldc-3 (4AD92B52)

    ResourceBundle

    getObject

    0 x 9141

    net_rim_cldc-3 (4AD92B52)

    ResourceBundle

    getStringArray

    0x918A

    MyApplication-13 (4C487910)

    Constants

    0 x 477

    MyApplication-6 (4C487910)

    Main

    loadRes

    0x10B2

    MyApplication-8 (4C487910)

    Splash

    run

    0x1DEA

    net_rim_cldc-1 (4AD92B52)

    Thread

    run

    0xB332

    How is it a generation of application relates to another application? NewApplications resource files is in conflict with the OldApplication resource files are same in both applications?

    "NewApplication" works fine if I uninstall 'OldApplication '. In fact, I want two applications to work very well.

    All thoughts.

    Problem solved!

    When I rename all localization resources, java class files resource was not updated bundle id. It was referring old bundle id file.

    So I create new files resource and copied the old content file.

    Now, the two applications work correctly.

  • How to package a native application and install it on a PlayBook?

    I've seen links to download an emulator and test applications here, but I have a physical device and test this way.

    What should I do to package a native application built for BlackBerry, and how do I install it on the device?

    I'm looking for simple advice on a file structure or command-line package tool. I'm not interested in integrating IDE of any kind.

    Thank you very much for your help!

    This site will probably give you some tips: http://wiki.qt-project.org/QNX

    Fr.

    Fredrik

  • SRM requires the same version of vSphere in both places?

    We need to quickly implement SRM, I know that is not the way to do it, but it is a decision that I am not charged. We will use SRM 5.1.  I have not read the documentation of SRM totally still, but I hope someone can answer me this:

    Do we need to run the same version of vSphere in both places?

    Site A (Production):

    -vSphere 4.1 (updated anything) Enterprise - because our material is NOTon the compatibility list for something more recent

    -vCenter 5.1 - Let's fix our current server vCenter Server 4.1 to 5.1

    Site B (DR):

    -vSphere 4.1 U2 (or newer) company - this material is NOT identical to that site but is compatible with 4.1 U2 thru 5.1

    -vCenter Server 5.1

    We have here a viable solution?

    Thanks for the help.

    You're right that MRS requires 3rd party replication or VMware vSphere replication (or you can use the two together).  SRM itself doesn't replicate anything, she orchestrates and manages the recovery of virtual machines protected by these other mechanisms.

    If you do not have the option of replication of the table, then you must use vSphere replication.

    VR, however, is a function of the ESXi core appeared in 5.0.  He is by nature a part of the hypervisor itself, so he needs to a 5.x or higher host to use, it's is not an authorization to issue at all.

    To use VR, you will need the hosts on both sites to use 5.x - site source must 5.x use the Filter/agent in the core that produced the data from the replica.

    My * personal * take on it's you would be best served to stand up for VC 5.1 on both sites, and then upgrade your hosts to 5.1, and then deploy appliances virtual RV (used to manage replication and register the service with VC), can protect certain virtual machines so that you get used to the behavior of VR, then put the RS on top (5.1 on the two sites) and start building protection of groups and the stimulus packages and others.

  • After that the upgrade of os josemite cs4 applications will not work. Message that I need to install the legacy java SE 6 runtime. Is it necessary to set the loading application?

    After that the upgrade of os josemite cs4 applications will not work. Message that I need to install the legacy java SE 6 runtime. Is it necessary to set the loading application?

    Found the answer:

    Java for OS X 2014-001 includes improvements to the installation and replaces all previous versions of Java for OS X. This package installs the same version of Java 6 included in Java for OS X 2013-005.

    installed above and it works now

    Blessings

  • LabVIEW application will run on reboot fees unless MAX is started.

    I'm a NOOB of Labview. I'm the only one here IT and started a year ago and essentially got thrown into the "labview" with 0 experience of labview. I have an xp machine and transform it into a machine to win 7.

    Some highlights: labview 8.2 32 bit running on windows 7 32 bit with libraries of e/s 16. Drive a QPIP to 34970A usb data acquisition unit and an oven temperature compensation. Here's the situation. When I restart the PC my "temp_comp.exe"(application que consultant labview a écrit) will not work. "" I have some errors one as soon as I start the application: 'four due to lack of Communication' and when I try to operate the oven with shortcut both tests and temp:

    error 107387202 has occurred to close visa in HP34970A close.vi.

    34970A_read.VI > Measure oven temp.vi-> wait oven reach temp vi -.

    a model loop.vi - a loop test sequence.vi > hand temp comp.vi

    The possible reasons VISA: 0xbfff009e a library of code required by VISA impossible located or loaded hex.

    I reformatted a machine with xp and was able to get what works well.

    So here's the kicker. If I open MAX and develop devices and interfaces tree program works fine and dandy. no errors. I ran 3 batches in the oven all night with no problems. I thought that I would just an easy work around and the program max to run at startup but I must manually unpack the tree of devices and interfaces before that it will work.

    All ideas will be useful great Cheers!

    Well, VISA 4.0 don't is not supported on Windows 7 either.

    From my point of view, the upgrade to Windows 7 is the problem since your program and your driver are obsolete and unsupported. I don't know what to offer in addition to roll back to xp or upgrade the app and drivers.

  • (Word2007 and Acrobat Reader 9.3) software applications do not respond (show the codes of errors/etc) ONE of my user accounts (running Vista Home Premium 64); will work perfectly on all the other (total of 3) user accounts.

    8.3 and word2007 Acrobat (version family and student) does not not in one of my user accounts - no problem in others; downloaded Acrobat 9.3; problem persists in Acrobat; Failed to get support for Word as they know is no longer my (expired) product key. Any method to repair/restore/reinstall to only the affected user account.

    Hi Chuck41,

    Since both applications work correctly on some other user accounts except the account of a user that can occur if this user account is damaged.
    You will need to create a new user account and then transfer the file and the settings of the user account damaged to the new user account.

    For more information please visit the link below.
    Difficulty of a corrupted user profile
    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Curve 9330 smartphone application will not be updated Blackberry App World for blackBerry

    Curve 9330 application will not be updated Blackberry App World
    Both directly over the telephone and Via the Internet connection to the PC page.
    Reach 50%, then downloaded ERRORS every time.
    Can someone help please?

    Try to remove the AppWorld and then re-install manually, via your BB browser, from here:

    www.BlackBerry.com/appworld

    Good luck!

  • My computer is running really slow and guard same gel if I double click, it will do. I have windows 7 for home.

    My computer is running really slow and guard same gel if I double click, it will do. I have windows 7 for home.

    Hello

    References to Vista also apply to Windows 7.

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Try these to erase corruption and missing/damaged file system repair or replacement.

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or
    Windows 7

    http://support.Microsoft.com/kb/929135

    Use advanced tools to solve performance problems in Windows 7
    http://www.howtogeek.com/HOWTO/6152/use-advanced-tools-to-troubleshoot-performance-problems-in-Windows-7/

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/default.aspx/GP/slow_windows_performance?p=1

    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Think about it an absolute must - manually update your drivers.

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Installation and update of drivers under Windows 7 (updated drivers manually using the methods above
    It is preferable to ensure that the latest drivers from the manufacturer of system and device manufacturers are located)
    http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Email application will not retrieve email

    I added an imap account, and Yes, the parameters are defined for the extraction, however the mail app will not retrieve email.  It's not until I have actually go into the email app that new emails appear.  I never close the app and simply let it run.

    Also the email application will not recover email because they arrive - it gives a sync error.  So, I put it to fetch every 15 minutes.

    The Surface will not get so sleepy?  I thought it was supposed to still get even while he slept.

    TIA

    My Surface behaved in the same way. It worked fine on my desktop of Windows 8. I tried everything I could think of including the removal and the addition of the Gmail account, making several updates to the full, etc. Nothing seemed to work. At a time after a refresh, he worked temporarily. He leaves again after the Microsoft account has been automatically added. It cannot remove the account from Microsoft. My Microsoft account was my Outlook.com account which comes from my Gmail account-related email. I stopped the link between an account Gmail and Outlook.com. My surface finally started working correctly. He worked for a few days now.

    I hope that this did the trick and will work.

    Mine has started working now too.
    I uninstalled the mail (and related) app, then ran a cleaning disk and reinstalled the mail application.  So far so good.

  • Hello. Soon, I should start a business. Adobe Creative Cloud package includes all applications including Photoshop, first, After Effects, Acrobat, Illustrator? In addition, the features of the application are fully unlocked by purchasing this package?

    Hello. Soon, I should start a business. Adobe Creative Cloud package includes all applications including Photoshop, first, After Effects, Acrobat, Illustrator? In addition, the features of the application are fully unlocked by purchasing this package?

    Hi francesco96,

    'All the Apps' plan includes access to all listed here Adobe applications:

    "Desktop adobe Creative Cloud applications. Adobe Creative Cloud

    Kind regards

    Maurice

    This answer was helpful? Please consider marking it as 'Useful' or 'Right answer' to help future customers with the same problem. Thank you!

  • An unexpected error has occurred and the application will have to stop

    Hyperion 11.1.2.2, new environment.

    When you try to configure the EPMA database, Configurator crashes with the error "an unexpected error has occurred and the application will have to stop."

    Customer has configured the database of EPMA with success during the first time.

    Their DBA deleted database EPMA and re-created the database with the same name. Now, they are trying to configure EPMA data base and the Configurator crashes with the error mentioned.

    I had the same error after applying a few patches EPMA (.301 ou.302)
    Here's what Oracle provided support. This solved the problem for me to use the older, bigger jar file

    ----------------------------------------------------------------------------------------------------------------------------------
    Fix Oracle can be broken by the jar file that located awbconfig.jar
    d:\oracle\Middleware\EPMSystem11R1\products\Foundation\BPMA\Common

    There are missing classes in the patched version, latest of this pot

    To correct the configuration tool, you can make a copy of that existing pot and replace the old version uncorrected. To find the old version research
    \oracle\Middleware\EPMSystem11R1\.patch_storage\ to AwbConfig.jar

    To confirm this, look at the size of the current pot and the oldest pot - the news is 158 k and the former was 317 k - obviously a new miss some classes.

Maybe you are looking for

  • Satellite M305d-s4830 - no start

    OK, that's how it happens: I just bought 2 laptops at best buy, I'm not in the United States and I won't return for at least a couple of months and I had a non-working. (if I was in the United States that this thing would have already been returned t

  • Downloading games

    Try to download games ie: Cubis, Fishdomh20 hidden Odyssey etc. and when I try it says tray agent a dmractivator or Office has stopped working.

  • Intel HD integrated graphics will play the games requiring a GeForce 9800 GTX + or ATI Radeon HD 4870 +?

    Hello A year ago I bought a Dell Inspiron 660 PC provided with a map "integrated Intel HD Graphics. I am now looking to download a game on Steam, and I see that it requires graphics card GeForce 9800 GTX + or ATI Radeon HD 4870 +. How can I determine

  • Remove data with null value

    HelloI'm using Oracle 11 g. I have a table with an id of 3, node, the value column. Combination of the column id and node, that must be taken account for deletion on the registers.Here, I need to delete lines with the NULL value in the value column.

  • Try to understand what Adobe first Version works better with my machine

    Hello everyone, I posted this question two days ago and received Help. However, I need a little more. I am in the process of transition in Adobe video editing software. I have used Final Cut Pro for the past (12) years and I'm finally deserting a shi