Of WebWorks for waterfalls - cannot retrieve data from localStorage WebWorks
Hi all
In fact, WineDiary carried out with WebWorks. But it is a bit slow and I don't like the same user experience I use BBUI.js sorry for all those who work with this, but for me it is not quality and it's a lot of code for portable a bit and finally not if if you really want BB10 appearance.
So I decided to submit my application for Cascades natively. Now that I finished the native application, I'm looking for a way to read the localStorage writes with the WebWorks app but the WebView does not return the old values. Maybe the WebView do not run under the same domain name, then the WebView can not read the old values written with WebWorks.
I use this method:
webView.evaluateJavaScript ("document.body.innerHTML += localStorage.length ;"); ")
Hello
I confirm that I understand the problem:
- You re-written your app in the Cascades and try to read the values of localStorage to the other (WebWorks) version of the application is also installed on the device? If so, it is not possible. Applications cannot read memory to other applications. It is the security design. Used by WebWorks Web mode is different from that used by Cascades and they do not share the same memory space for localStorage. Therefore, the system treats as 2 single applications, despite the fact that you may have named them even.
or
- You don't see the localStorage API works correctly when executed inside a WebView stunts? If so, this should be possible. Please provide an example of how you write to localStorage.
See you soon,.
Adam
Tags: BlackBerry Developers
Similar Questions
-
create the http client to retrieve data from web service
Hello
I am newbie on our webworks. I need to retrieve data from web service. How to connect to this service and analyzed. There is a tutorial that can help me get started with it.
Can any one advice me how can I start working with webworks on blackberry 10
Thanks for any help
In general, you will need to use an AJAX call to the server
It really depends on what the server returns as to how the information is easy to digest
JQuery provides a simple interface, and returns information easy to use
If you deal with things gets complicated XML according to namespace
If you look at the raw XML data and it goes something like fred: name you will have questions requiring an implementation of SAX - JSON is simple if you don't get that even if (nothing too confusing here)
If using an external data source JSON go if you have the choice
As examples go - just look to the top of JQuery Ajax [JSON / XML] and you will get where you're going quickly
SAX is MUCH harder because of the namespace - Dublin is the most common and same XML without namespace is not simple to handle, so avoid it if you can
-
retrieve data from staging account
Hello
does anyone know how we can retrieve data from staging of account using 'Segmentation Wizard', "report analysis tool", model of fusion and mailing, etc.?
Seems that these tools connect only to the production instance...
Thanks, SabSAB,
for segmentation Wizard (and perhaps other office files), you will have to go file - properties - Custom and update the values for the name of pod, if you have a job you know what value it is as I am not "have a practice to watch.
see you soon
Alex -
to retrieve data from xml data type
Hello...
I have a doubt in the oracle database... Here's how to retrieve data from xml data type?Like this...
SQL> ed Wrote file afiedt.buf 1 with t as (select xmltype(' 2
3') as xml from dual) 12 -- 13 -- end of sample XMLDATA, use below query on your own table etc. as required 14 -- 15 select x.* 16 from t 17 ,xmltable('/DETAILS/FIELDS_VALUES/FIELD' 18 passing t.xml 19 columns name varchar2(30) path './NAME' 20 ,val varchar2(10) path './VALUE' 21* ) x SQL> / NAME VAL ------------------------------ ---------- toMonth 5 ctTestPan 1 costType 2 toYear 2012 fromMonth 12 fromYear 2011 6 rows selected.4 11 5toMonth 5 6ctTestPan 1 7costType 2 8toYear 2012 9fromMonth 12 10fromYear 2011 -
With the help of the socket object to retrieve data from web application without the html files
I tried to use the socket object to retrieve data from a web application (I just control script version vs version online). So all I want to do is access http://hyle.io/version that returns me the current version of the application (such as a simple string) in order to compare it in my script and then notifies the user accordingly. I have just a few problems using the socket object. I used this code from the Adobe Javascript Tools Guide:
reply = ""; conn = new Socket; // access Adobe’s home page if (conn.open ("www.adobe.com:80")) { // send a HTTP GET request conn.write ("GET /index.html HTTP/1.0\n\n"); // and read the server’s reply reply = conn.read(999999); conn.close(); }
... that I then adapted as:
reply = ""; conn = new Socket; if (conn.open ("hyle.io:80")) { conn.write ("GET /version HTTP/1.0\n\n"); reply = conn.read(999999); conn.close(); }
And here is what I get:
HTTP/1.1 400 Bad Request Content-Length: 225 Content-Type: text/html Server: Pagodabox-Routing-Mesh
Bad Request
Your browser sent a request that this server could not understand.
Résultat : trueI don't know a lot about HTTP requests, but I wondered if it was related to the fact that I am not pointing to a specific HTML file and the type of request was wrong or if I should rather check if there is something wrong with my host?
The site/app is PHP and is hosted on PagodaBox if it helps.
Thanks in advance!
Hi Sebastien Lavoie,
It should work
var HTTPFile = function (url, port) {}
If (arguments.length == 1) {}
URL = arguments [0];
port = 80;
};
This.url = url;
This.port = port;
this.httpPrefix = this.url.match(/http:\/\//);
This.Domain = this.httpPrefix is nothing? This.URL.Split("/") [0] + ":" + this.port: this .url .split ("/") [2] +":" + this.port;
This.Call = ' GET ' + (this.httpPrefix == null? ' "). " http://" (+ this.url: this.url) + "HTTP/1.0\r\nHost: ' + (this.httpPrefix is nothing? "This.URL.Split("/ ") [0]: this .url .split (" / ") [2]) +" \r\nConnection: close\r\n\r\n ";
This.Reply = new String();
This.Conn = new Socket();
This.Conn.Encoding = "binary";
HTTPFile.prototype.getFile = {function (f)}
var typeMatch = this.url.match(/(\.) (\w{3,4}\b)/g);
If (this.conn.open (this.domain, "binary")) {}
This.Conn.Write (this.) Call);
This.Reply = this.conn.read (9999999999);
This.Conn.Close ();
} else {}
This.Reply = "";
}
(Return this.reply.substr(this.reply.indexOf("\r\n\r\n")+4);
};
}
Hyle var = new HTTPFile ("http://hyle.io/version");
Alert (hyle. GetFile());
And by the way, I like the idea of 'http://hyle.io'. Can you give me your email address, I want to learn more about this Web site.
Please send me an email to [email protected]
-
Retrieve data from AddressBook for Webworks Smartphone
Hi all
I want to implement the address book API. Where can I get/retrieve data (phone number, address of E-mail etc) for my Application project.
Is it possible to invoke the address book to recover data?I go through this link, but it did not help me https://developer.blackberry.com/html5/apis/blackberry.invoke.addressbookarguments.html#view
I have searched several times but could not get a code to make it possible.
Please help me if someone know the solution or have any sample code.Thank you best regards &,.
CastilloIts seems quite surprising that no member of this forum suggests even a single code related to this problem...
However, I still have more research and find the alternative.
var contactResult = new Array(); var Fname = new blackberry.find.FilterExpression("firstName", "!=", ""); contactResult = blackberry.pim.Contact.find(Fname); for ( var i = 0; i < contactResult.length; i++) { var totalName = contactResult[i].title+ " "+ contactResult[i].firstName+ " "+ contactResult[i].lastName; }
This will retrieve all data or contacts from the address book. For which I have to do a custom address book.
-
HP Pavilion X 2: HP Pavilion XP cannot read data from USB DVDs
We bought a HP 10-ND200ND (HP pavilion X 2) in the Mediamarkt and tried to install Microsoft Office from a DVD via a DVD USB Samsung player. This was not possible. According to Support Mediamarkt this product is a Tablet and so cannot read data DVD´s. Only General to play music. To buy a laptop computer for this application. The operating system is Windows 10 (32 bit). Is that correct. Please advice.
Hi Banhien, the cause is known. I have seen other comments on the HP forum and concluded that the reader needs more power than is available through the USB connector of. I added a hub that can provide power to its connectors USB, HP X 2, by car and the problem has been resolved! It was noted that the mini USB is also more powerful and with the type of adapter USB USB C it might also work, but I did not test this, because I do not have such an adapter. It's odd that such a mini can provide more power. It is surprising that the HP Pavilion X 2 does not have a powerful USB. But the problem is solved. Thanks for your response! Best regards, wiely
-
SQL to retrieve data from the day before
Hello
I am asked to collect intelligence data and generate a daily report to determine the success rate (to do daily data that determines success rate). I have a session_time of column (with the DATE data type) that I try to do the job. I've been using:
Select * from ABC
where session_time > = TRUNC (SYSDATE - 2)
Gives me data, but I get the data from 26/10/14 and 10/28/14 so when I only need data on 27-10-14 (as of the day 28/10/14). I tried a few variations and did not get the expected result. Could someone please help me understand this? Time is also displayed in my outings, maybe I shouldn't include the time?
I use: TOAD for Oracle 11.5.1.2.
Oracle Database 11g Enterprose 11.2.0.1.0 Edition
Thank you in advance.
Hello
2632048 wrote:
Hello
I am asked to collect intelligence data and generate a daily report to determine the success rate (to do daily data that determines success rate). I have a session_time of column (with the DATE data type) that I try to do the job. I've been using:
Select * from ABC
where session_time > = TRUNC (SYSDATE - 2)
Gives me data, but I get the data from 26/10/14 and 10/28/14 so when I only need data on 27-10-14 (as of the day 28/10/14). I tried a few variations and did not get the expected result. Could someone please help me understand this? Time is also displayed in my outings, maybe I shouldn't include the time?
I use: TOAD for Oracle 11.5.1.2.
Oracle Database 11g Enterprose 11.2.0.1.0 Edition
Thank you in advance.
Use:
SELECT *.
ABC
WHERE session_time > = TRUNC (SYSDATE) - 1
AND session_time< trunc=""> >
;
It's 09:15 on October 28, 2014, then TRUNC (SYSDATE - 2) is 00:00:00 October 26; The query you posted became data of October 26 and later. (You may not all future dates in your table.)
If it's 09:15 October 28, then TRUNC (SYSDATE) is 00:00:00 October 28 (i.e., midnight, at the beginning of October 28) and TRUNC (SYSDATE) - 1 is 00:00:00 October 27.
Do not be tempted to use
WHEN TRUNC (session_time) = TRUNC (SYSDATE) - 1 * INEFFECTIVE! ***
It will get the same results, but it is slower, you cannot use an index on session_time and requires a call to separate function for each row in the table, it is selected or not.
-
ORA 17410 - cannot read data from socket
Hey guys!
I am faced with a query and would like to ask your advice. During the execution of the statement, I always get an error 17410. No data is transferred that data cannot be read from the socket.
In my application, I am trying to join the two results. When you run queries individually fine and no error occurs.
Ever tried to convert the output columns for the same types of data to apply compatibiliy. However, in vain.
Here's the query! You have an idea?
Thanks a lot for your help!with w as ((select b.ba_lang, x.lng_baumart, to_char(x.ba_kat) ba_kat, x.flag, 0 disable_status from vt_tbl_qb_zu_bestand v, vt_qb_join q, vt_tbl_baumart b, vt_tbl_matrix x where (q.cnt_gebiet = :p2024_cnt_gebiet) and (v.lng_baumart = b.cnt_baumart) and (v.lng_qb_sub = q.lng_qb_sub) and (q.str_lrt_main = :p2024_str_lrt) and (q.int_wg = :p2024_wg) and (q.str_be_main = :p2024_be) and (q.int_status_sub = 3) and (x.lrt_class = :p2024_str_lrt_mx) and (x.lng_baumart = b.cnt_baumart) group by b.ba_lang, x.lng_baumart, x.ba_kat, b.ba_gruppe, x.flag ) union (select b.ba_lang, x.lng_baumart, x.ba_kat, x.flag, 0 disable_status from vt_tbl_qb_verjuengung v, vt_qb_join q, vt_tbl_baumart b, vt_tbl_matrix x where (q.cnt_gebiet = :p2024_cnt_gebiet) and (v.lng_baumart = b.cnt_baumart) and (v.lng_qb_sub = q.lng_qb_sub) and (q.str_lrt_main = :p2024_str_lrt) and (q.int_status_sub = 3) and (q.int_wg = :p2024_wg) and (q.str_be_main = :p2024_be) and (x.lrt_class = :p2024_str_lrt_mx) and (x.lng_baumart = b.cnt_baumart) group by b.ba_lang, x.lng_baumart, x.ba_kat, b.ba_gruppe, x.flag)) ( (select ba_lang, lng_baumart, to_char(ba_kat) ba_kat, decode(ba_kat,'H',1,'N',2,'B',3,'S',4,'P',5,'hG',6,'nG',7) as cs, flag, disable_status, null str_comment from w ) union all (select distinct r.ba_lang, d.lng_baumart, to_char(d.ba_kat) ba_kat, decode(d.ba_kat,'H',1,'N',2,'B',3,'S',4,'P',5,'hG',6,'nG',7) as cs, d.flag, case when d.lng_baumart in (78, 74, 72,71, 54, 53) then 1 else null end as disable_statusx, 'not valid' str_comment from vt_tbl_baumart r, vt_tbl_matrix d where r.cnt_baumart = d.lng_baumart and d.lrt_class = :p2024_str_lrt_mx and d.ba_kat in ('S','B','H','P','N') and r.cnt_baumart not in (select lng_baumart from w)))
I appreciate it!
Edited by: skahlert the 01.06.2010 09:02Hello
You are right. They fixed in the 11.2.0.2.0 JDBC driver and have a patch for 11.1.0.7. They won't patch 10.2. You can find information about this in the notes 1082926.1.
Success
Herald tiomela
htendam.WordPress.com -
Verity cannot retrieve collections from the Search Service.
Hi guys, when I go to the ColdFusion MX7 admin page I get this error message.
Failed to retrieve collections from the Search Service.
Please verify that the ColdFusion MX search server is installed and
running.
I found a tech note on this but I don't know how to implement this. It is said: "Sytems that uses IPv6. IPv6 uses: 1 as the loopback address, so even if the hosts file has an entry for 127.0.0.1, it may also have an entry of: 1 for looping.
If your error is caused by the use of IPv6, solve the problem by setting localhost 127.0.0.1 on Services and data > Verity K2 server to the ColdFusion Administrator page. »
Help I do not understand what to do or where I go to change this?
Here is the link to the Technical Notes Adobe:
http://www.Adobe.com/go/6c6881a9In the left panel of the ColdFusion Administrator expand the link data & Services. Select the hyperlink Verity K2 Server. Replace localhost 127.0.0.1 in the host of Verity name text box.
Ted Zimmerman
-
How can I get VISTA to open or import data from a document of Taxcut created in 2008 in Windows XP. The document is installed under VISTA, but VISTA is not able to open it or even recognize it.
You must Taxcut 2008 installed on the system to open the file - it needs the program to open the file (the file itself is not enough - he needs the program to open it - and it should probably be the same year to open it but it may work to the year next to import). It is possible that you can import data from the file in a later version of the software (I can do it with TurboTax to carry on information from previous years - although I've never tried to do by skipping a year). According to the Center for Comptibility Vista, Taxcut should be compatible with Vista, http://www.microsoft.com/windows/compatibility/windows-vista/Search.aspx?type=Software&s=Taxcut , so that shouldn't be the problem.
I hope this helps.
Good luck! Lorien - a - MCSE/MCSA/network + / A +.
-
Cannot load data from floppy E or F drive on HP Desktop
Help, please! I have a HP Desktop running Windows 7 Ultra. When I Start Menu---> computer, a green band appears at the top of the screen. It takes at least five 5 minutes for Ribbon going green all the way through the 'x' on the right side. So, sometimes (but not always) the computer configuration icons appear. If I loaded a CD into drive E or F, this player icon on the screen, too. Then, when I right click and select Properties, the size of the files on the CD appear. But, if I have 'open' the CD, or abandon the min-menu left click on E, the Green band drive icon reappears at the top of the screen. After ten 10 minutes and just before the Green band as the spread across the screen the 'x' on the right, he's suspended. Nothing happens then, except for the impulse of the Green band which never reached the end of the Ribbon. At this point, I have to drop out of the endless loop and start all over again. And once again. And then... you get the picture. Either way, it is immaterial that I put the disc in the drive E or F, same problems. Similarly, it makes any type of CD I install on the drive. I tried all permutations of CD + / and DVD +/-in the readers or the other and both, in the order and at the same time. No go. Any help would be more/popular
Hello
To help you better, please answer these questions.
1 when was the last time it was working fine?
2. what happens when you try to load the data from the floppy E or F drive?
I suggest you follow the provided methods to solve the problem.
Method 1: Open the resolution of Performance problems
http://Windows.Microsoft.com/en-in/Windows7/open-the-performance-Troubleshooter
Method 2: Optimize Windows 7 for better performance
http://Windows.Microsoft.com/en-in/Windows7/optimize-Windows-7-for-better-performance
Method 3: Check the clean boot.
Perform a clean boot to determine if any 3rd party service is causing the issue:
http://support.Microsoft.com/kb/929135
Note: After you perform troubleshooting steps to clean boot, follow the steps in the link to start the computer to Normal startup mode.
As you mentioned the Windows crashes, I suggest you follow the method provided
Method 4: Windows hangs or freezes
http://support.Microsoft.com/kb/2681286
Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
If you need help with the Windows operating system, just tell me and we will be happy to help you.
-
HP photosmart prem 310 cannot receive data from the pc
Ive installed the new printer hp photosmart prem 310 series. I get a message saying that the printer can receive data from the pc. I have went to hp site and ran updates of drivers and software
Have you tried that?
HP Print doctor for help with many printing problemsI hope this helps.
-
retrieve data from webcenter content to ADF
Hi all
I want to recover data from webcenter content to pages in the adf. How can I do?
Well, you can use RIDC API for this.that is best suited
see this
http://www.techartifact.com/blogs/2013/05/How-to-connect-with-UCM-in-ADF-using-RIDC-API.html
Oracle Fusion Middleware Flavius Búrca Blog: integration Oracle UCM 11 g RIDC WebCenter/ADF 11 g
-
Retrieve data from similar columns
With the help of Oracle 10 g, SQL Developer v1.5
I have a table with 200 columns.
I'm trying to get the data from all columns ending with "_DT".
I got the list of columns but impossible to incorporate into the SELECT stmt.
How can this be achieved?SELECT column_name FROM user_tab_columns WHERE table_name = 'XXX_STG_INST_DEBT' AND column_name LIKE '%_DT';
Thank you.Try the following pl/sql
serverout Set size 1000000
declare
ALL OTHERS INTEGER;
ignore the number;
cursor c is
Select column_name
of user_tab_columns
where column_name like '% _DT '.
and table_name = "XXX_STG_INST_DEBT";
SQLSTR varchar2 (20000): = "CREATE VIEW APPOVIEW_FORUM AS SELECT ';
Start
for r in c loop
sqlstr: = sqlstr. r.column_name | «, » ;
end loop;
sqlstr: = rtrim (sqlstr, ','). ' FROM XXX_STG_INST_DEBT';dbms_output.put_line ('Executing' | sqlstr);
CURSOR_NAME: = DBMS_SQL. OPEN_CURSOR;
DBMS_SQL. PARSE (all other cases, SQLSTR, DBMS_SQL.native);
ignore: = DBMS_SQL. EXECUTE (CURSOR_NAME);
DBMS_SQL. CLOSE_CURSOR (CURSOR_NAME);
end;
/Select * from appoview_forum;
Drop view appoview_forum;
Max
Maybe you are looking for
-
Can I connect a CCTV to the s-video output?
I have a sp20 with s-video and need some images of my microscope at Uni, but when I plug in any device is detected, do I need an external card or can I set up a card for the slots? Or the graphics card from the computer should read the s-video cable
-
Satellite A200 PSAE6E lights after BSOD
Hello. (Sorry for my English) Last night I had the BSOD (driver_IRQ_NOT_LESS_OR_EQUAL). After memory dump that I restart laptop, but it doesn't.Starting the fan for 1-2 seconds, I hear some noise from the DVD player, led to power is blue, same as wit
-
Xoom Family Edition: Gorilla glass?
Can you please confirm if the FE XOOM has a gorilla as the normal Xoom glass screen? Thank you Alessandro
-
executable file does not appear in the list of programs
After installation of my executable it does not appear in the list of all Windows programs. I've built a lot of executable and installers before but this is the first time I see this. The folder is created in the Program Files (x 86) directory and th
-
Hi people... Nadia, session, dragonclaw can u help me on this problem I returned to go... my network provider signal is full power, but yet it still shows me to select the network... and always shows... network unavailable service happens to me at le