Force the persistent data that is not retained on App upgrade
Hello
I'm developing a new version of an existing application. The earlier version of the data stored in the persistent store of the device. When a user installs the new version of the application, they get a prompt saying something like "the persistent data is stored on the device. You want to keep these data? ».
If the user answers Yes, the application will continue to use the old data which has been made persistent by the initial version of the application. This isn't what I need to happen.
If the user answers no, the app will wipe the old dat and rebuild the store persistent with my current data. It is the course of action I want to request each time.
Since there is no way to guarantee that each user will select 'NO' to this prompt, is it possible to configure the new version so that the data is not retained automatically?
What other options are there for dealing with this situation?
Thank you
The f
If the application can access the old data, why not just remove them when the application runs? In order to distinguish, again, you can design new data to contain a signature value that is not present in the old data. (For example, you can set your local record store to have record 1 always contain version store data, in a format that is not likely to be present in earlier formats.)
An upgrade does not (usually) follow the same procedure with regard to the persistent data as a sequence of uninstall/install. However, there are occasional messages here on updates apparently lose persisted data that was supposed to be preserved. I did not understand everything exactly what are the causes which, but it has not considered the norm.
P.S. If you use RecordStore instead of Persistable, custom classes are not relevant. The record store is deleted when all the MIDlets in the MIDlet suite, who created the store folder is uninstalled.
Tags: BlackBerry Developers
Similar Questions
-
compare the data and the output data that do not exist
Hello
I've written a procedure to insert data into a table 3 where I compare the data between two tables, if it matches it insert in the table test_a Joanie. If the exists not or other tables i.e. test_code and test_type it should output this data, where there is no. my code works for a single table, which is test_code. It's not DBMS display a line that is not in the table test_type. could just tell my why? Assume that if test_code a line which is only not in test_type it should out saying this line of incompatibilities with test_type and vice versa.
-Here's my code
Test of CREATE OR REPLACE PROCEDURE. GET_data
IS
BEGIN
DELETE test.test_a;
FOR c IN (select a.cCODE,
a.type,
a.Indicator,
RTrim (xmlagg (xmlelement (e, a.codenum |))) (') a.codenum order) .extract ('/ / text()'), ',') codeNUMber.
b.CCODE cc,
b.type tp,
b.Indicator ind
test.test_code a, test.test_type b
where a.ccode = b.ccode (+)
AND a.type = b.type (+)
AND a.indicator = b.indicator (+)
Group of a.ccode, a.type, a.indicator, b.CCODE, b.type, b.indicator
order of a.ccode)
LOOP
BEGIN
IF (c.cCODE = C.c.c.
AND C.type = C.tp
AND C.indicator = C.ind
AND C.SYS_IND = C.SYSIND) THEN
insert into test.test_a (CCODE, type indicator)
values (C.cCODE, C.type, C.indicator);
ON THE OTHER
dbms_output.put_line (' rules for cCODE issue: ' |) C.cCODE);
dbms_output.put_line ('type: ' |) C.type);
dbms_output.put_line (' indicator: ' |) C.Indicator);
dbms_output.put_line (' problem of rules for CC: ' |) C.C.C.) ;
dbms_output.put_line ('tp: ' |) C.TP);
dbms_output.put_line ('ind: ' |) C.IND);
END IF;
EXCEPTION
WHILE OTHERS THEN
dbms_output.put_line (' rules for cCODE issue: ' |) C.cCODE);
dbms_output.put_line ('type: ' |) C.type);
dbms_output.put_line (' indicator: ' |) C.Indicator);
dbms_output.put_line (' problem of rules for CC: ' |) C.C.C.) ;
dbms_output.put_line ('tp: ' |) C.TP);
dbms_output.put_line ('ind: ' |) C.IND);
END;
end loop;
commit;
END;
/
Thank youYou must use a FULL OUTER JOIN instead an OUTER JOIN for this.
Just curious, why do you need to use dbms_output instead to execute the SQL query with additional conditions (if part of your procedure)?. You can use two times, one to insert those that match and one for the selection of others who do not match.
Kind regards.
-
Request for the old data that does not correspond to new data within a given period
Hi all
The reports that I need to create one for all employees who were going from one Department to another within a given period. The way I ran this report in Reportsmith (taken from our old system) was to compare the dept field from the start date to the dept in the end date field and it gives me these associate who had moved. I had to do it this way b/c dept changes can occur using several different types of actions (change to Surv, promotion, etc.), none of them exclusive to only change dept. We now use Oracle HRMS and I need to create this report even with this system using SQL.
Does anyone know how to compare the data between two different dates and shoot those who do not match? Your help will be GREATLY appreciated!
Best regards,
Yasmin E. Alberto
HRIS analyst
[email protected]Hello
Here is an example of an INSERT statement that may be relevant to this issue:
INSERT INTO emp_action (empno, action_date, deptno) VALUES (7902, TO_DATE ('2009-06-18, 'YYYY-MM-DD'), 10);
If someone wants to help you, in doing anything more than guess, then that person probably will need create tables that are similar to yours (but much smaller).
To do this, they can issue instructions CREATE TABLE to the tables, the INSERT commands to fill (put data in) the tables.
The tables invloved in this problem are probably simple, so if I can see some INSERT statements, I can probably write instructions CREATE TABLE myself and save you the trouble.For more info on INSERT, see the [Manual of the SQL language | http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_9014.htm#sthref8944]
If you compare the deptno to a row of a table to the previous line, you can use the analytic LAG, something like this:
WITH got_prev_deptno AS ( SELECT empno , action_date , deptno , LAG (deptno) OVER ( PARTITION BY empno ORDER BY action_date ) AS prev_deptno FROM action_table ) SELECT * FROM got_prev_deptno WHERE deptno != prev_deptno AND action_date >= TO_DATE ('2009-01-0'1, 'YYYY-MM-DD') AND action_date < TO_DATE ('2009-03-01', 'YYYY-MM-DD') ;
Like all functions, the OFFSET is described in the [Manual of the SQL language | http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/index.htm#I].
Published by: Frank Kulash, June 18, 2009 11:53
Originally missed a few quotes. -
How to remove fasteners of the persistent disks that do not have a desktop computer?
Hello community,
We have a small problem in our society. We use VMware View 4.5 and really like it. Our office is based on Win7 and everything works really well. But for some Ford, we managed to create persistent discs attached... without a desktop computer?
As you can see on the capture screen, desktop computers are used with persistent records. Five of them are assigned to a user, but do not have a desktop computer. Users can work, because they have a new drive persistens, created automatically. But the 'old' are now and can not be spare, cause her are not attached! But without disassembly, we cannot delete it. Just posted discs can be deleted... it's a doom loop
So maybe someone has already had the same error? I mean... the files do not exist on our storage and users can work, there is no problem with this, but it seems that the database of the vmware view do not know, that the files have disappeared... is there a way to delete the entries in the database for this five-disc?
We have tried to export (with the tool on the server) and re-imported, but it doesn't work, cause, you are not able to remove things when importing data backups... What can do us?
HelloTake a look at the link:In the other discussion, the solution was: connect with ADSI, go to OU = data disks and remove entries -
Here is a list of the driver updates that do not install for one reason or another:
Intel Desktop/Workstation/Server Express Chipset SATAAHCI controller
Your driver is out of date.
The installed driver date 30/05/2012
New driver Date 18/09/2012
After the next driver update > the following message appears:
This driver downloaded successfully.
You want to install it now?
Yes. Then was the following result:
Please update your Windows update Agent version.
You can download the latest version by clicking here.
If the Microsoft FixIt solution above does not solve your problem.
Check on the Intel site.
For example: http://www.intel.com/p/en_US/support/detect
-
request to get the next date which is not a public holiday
Hello world
I need help for a query. consider the following data
holiday
-------------
SELECT To_Date('12/28/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/25/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('08/31/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('05/25/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('05/04/2015','mm/dd/yyyy') double holiday
curr_DATE
-----------
SELECT To_Date('12/25/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/24/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/23/2015','mm/dd/yyyy') double holiday
data of curr_date are the main table. given a date, I want to join the vacation and the date of the Curr so that the result will be a date that is not a holiday. for example, what gives 28 Dec. the next available in curr_date < 28 dec date is dec 25. However, dec25th is a holiday on the guest table if the output should be dec 24.
Another example is the following: given dec 25 date, the previous date, unless that Dec. 25 is dec 24th dec 24 is not in the host table output should therefore be dec 24.
Another example: I'll add another line to the curr_date table. If the data will look like this
curr_DATE
-----------
SELECT To_Date('12/28/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/25/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/24/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/23/2015','mm/dd/yyyy') double holiday
given dec 29, the next available in curr_date date is less than 29 dec 28 dec. However, dec28th is holiday in the host table. the next available date is dec 25 in curr_date, but once again dec25 in the host table. the next available date is 24, but this date is not in the host table output should therefore be 24/12/2015.
So basically I want to do this in the query by joining the two tables. can anyone help? pl/sql is ok if it cannot be done using quries.
Hello
If you want to use a join, here's one way:
SELECT MAX (c.holiday) AS last_non_holiday
OF curr_date c
LEFT OUTER JOIN holiday h ON h.holiday = c.holiday
WHERE c.holiday< to_date="" (:cutoff_date,="">
AND h.holiday IS NULL
;
-
What is happening with the DNS requests that cannot not find a matched host (A) RR in the zone are sent to WINS servers, but there is no WINS server installation?
Hello
Please repost these questions in the Technet Forums
http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer
See you soon.
-
original title: why the time & date that sits on the computer change every time I have Vista premium edition reboot.using
Larson
Larson
Make sure you set your time in the right time zone.
Right-click in the time at the bottom right > set date/time > time zoneIf this isn't the problem, then...
You probably need a rew CMOS battery.
How to replace the CMOS battery
http://www.computerhope.com/issues/ch000239.htmCMOS battery
http://murfsgarage.cybertechhelp.com/CMOS.htmATTENTION: while the battery itself is very good cheap, be careful if you decide to replace yourself.
It is better to have another friend who knows also computer be with you together.The safest way is to pay the Department store. But it will cost you.
Your call. -
Connected to the new router, but locally only.
Currently, I installed a new router (Netgear N300) wireless and my laptop is the only computer that does not connect to the internet. The small icon to the left of my screen says only: ACCESS: LOCAL ONLY.
BASICALLY,.I have Windows Vista Home Premium, notebook Compaq (Presario CQ60 to be exact)
I can connect if I use a cable, but its disadvantages.
I can connect wirelessly with my PC and Ipad. and Internet access.
I TRIED:
Various patches microsoft such as resetting TCP, safe mode with network, reset the router. »Thank you in advance and we hope you can answer this soon!
I use an Atheros AR5007 802. 11 b / g WiFi Adapter(Compaq laptop) for the moment so this is useful. Thanks again!
Someone suggested that I update my wireless driver. I am open to this idea, if anyone can find a safe and legal site with the download.Hi Bryyaan11,
You can check out the link to HP support and try to download the drivers for your wireless card updated:
For more information, you can also consult the following article:
Updated a hardware driver that is not working properly
You can also check the following items and try the steps:
Windows wireless and wired network connection problems
Solve problems, find wireless networks
Hope this information is useful.
-
I tried to open this Excel spreadsheet in Sharepoint and received the following message.
"Cannot open the window because it contains the following features that are not supported by Excel in the browser:
-Protection plate
You want to try to open the message in Excel? »
Learn more about the unsupported features.
YES NO
When I type 'Yes', I had then the second message.
"To open this workbook, your computer must have a version of Microsoft Excel is installed and your Web browser must support opening files directly from Excel in the browser".
What should I do?
Original title: sharepoint excel files
Tommy:
I have 64 bit explore. So I guess that the thought is that the error message was generated by the incoming file, as I have other files Excel I can access in Sharepoint with no problem? I sent the file Outlook e-mail and was able to open it with no problem at all. .
Thanks for the information,
Jim
-
How to find the library files that are not due to problems of indexing
I need help to know how to find the library files that are not as a result of indexing problems?
I use Windows 7
Thank you
Charlene
Try to open the folder that the library uses directly. For example, if it is your Documents folder, open C:\Users\Charlene\Documents
-
I have an epson 520. I just changed my ink, but the ink levels that do not reflect on the computer. What can I do?
Contact Epson for their advice.
-
I can't install the new application on my iphone 5s revel. I tried to install the update, and that did not work. I deleted my app and rebooted my phone and tried a clean install and that no longer works... Help!
Please see the post below updates on the issue of the revel facilities:
-
I'm developing a smartphone application that will create a persistent database to store the data. But I want to initially load the database. Does anyone have suggestions as to the best way to do this?
"How safety is the persistent database" - in my experience, very. I worry about losing it. The option of charging is more useful as a way to get a user wandering on the rails.
I suspect delete cod, you will need to provide in a separate application, i.e. a separate alx, or download the jad file separate of OTA.
Is not a snippet of code to remove a cod, have a look round I think remember me someone on this forum Announces some.
Here's a code snippet that shows if a cod is present and if so, use it. This cod contains only data, a little as you want. In this case, the data is XML, which the application takes a string and then analysis.
String moduleName = "
"; int handle = CodeModuleManager.getModuleHandle(moduleName); if ( handle != 0 ) { try { String className = ""; Object dataObject = (Object) Class.forName(className).newInstance(); String dataString = dataObject.toString(); -
Generate data that are not available in the table
I have a table that has monthly data for agents. Example of table structure is the following:
create table agt_dum)
agent_id number,
number of months,
Commission number)
Examples of data include:
AGENT_ID MONTHS COUNCIL
1 1 50 1 2 100 1 6 25 2 1 10 2 2 20 Month value can be from 1 to 12.
So as you can see these data is missing for the agents a few months.
Here, the requirement is I need to generate data for each agent for 12 months. If the data is not already in the table and are should include agent_id, month number and commission is equal to zero.
The output for the above data would be:
AGENT_ID MONTHS COUNCIL
1 1 50 1 2 100 1 3 0 1 4 0 1 5 0 1 6 25 1 7 0 1 8 0 1 9 0 1 10 0 1 11 0 1 12 0 2 1 10 2 2 20 2 3 0 2 4 0 2 5 0 2 6 0 2 7 0 2 8 0 2 9 0 2 10 0 2 11 0 2 12 0 I tried SQL query with full outer join. I was able to generate data for columns of MONTHS and the COMMISSION using the NVL function. But I have been unable to generate the AGENT_ID.
Please share your suggestions.
I'm using Oracle 11 g 2.
Thank you
Sudhanshu
If you need something like:
WITH agt_dum (agent_id, MONTH, commission)
(SELECT 1, 1, 50 IN all double union)
Select 1, 2, 100 of all the double union
Select 1, 6, 25 Union double all the
Select double union all 2, 1, 10
SELECT 2, 2, 20 DOUBLES)
all_months as (select rownum as LUN double connect by rownum<=>=>
SELECT *.
To all_months:
partition outer join agt_dum ad bequeathed (agent_id) on (ad.month = am.mon)
/
It is not yet complete, but I'm sure you can handle the rest...
HTH
Maybe you are looking for
-
iPhoto: a few vignettes or full display photos
For a few days (as my desktop picture comes from my pictures) I lost the ability to view photos in iPhoto - first a few, according to daily. Then I tried launching maintain the command and Option keys, but none of these reconstruction options did mu
-
Security for Microsoft Visual C++ 2005 Service Pack 1 update has offered several times
original title: a security update for Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB2538242) Whenever I turn on my PC it asked me to install the update of security for Microsoft Visual C++ 2005 Service Pack 1 Redistributable Pac
-
I want to put a copy of my Yahoo.com Avatar on a different Web site. Tha Avatar copy is named with a bunch of numbers and .png. Is it possible to transfer a copy of a photo of .pnged which is currently in the Windows Live Photo Gallery? He asked to u
-
Where is the Windows Media Center on my computer
It seems to have misplaced or random deletion (aka windows) put his hand on my shortcut to windows media center. If someone could tell me where it is that I can make a new shortcut myself. I tried to look for it but can't seem to find it. I got aprec
-
Wallpapers slideshow no longer works
Every now and then my desktop background slide show Windows 7 Ultimate ceases to change the background. I can always change it manually with a right-click on the desktop and "next... bottom. If I go to customize and do exactly the same configuration