blackberry-webworks

BlackBerry WebWorks to invoke popping BB10 Share panel/screen

*爱你&永不变心* 提交于 2020-01-07 04:24:06
问题 How can u get my webworks app to pop open the blackberry 10 share panel? Ex: open a website in the browser, click the overflow button and then click share Thank you! 回答1: You'll want to look at the invokeTargetPicker API. Essentially, you create a request var request = { action: 'bb.action.SHARE', // for a file uri: 'file://' + path, // for text you'd use 'data' data: 'I am awesome', target_type: ["APPLICATION", "VIEWER", "CARD"] }; Then you call the API blackberry.invoke.card

running sencha + phonegap + blackberry

拥有回忆 提交于 2019-12-25 05:10:12
问题 I runing sencha application using blackberry phonegap.for this steps i following; 1. make build of sencha application using command(sencha app build package) 2.created blackberry phonegap project and under this created www folder 3. copied all files from sench build and paste in the www folder 4. run blackberry phonegap project after running project i get white screen. can please anyone tell me what i'm doing wrong. my index.html code is: <!DOCTYPE HTML><html manifest="" lang="en-US"> <head>

running sencha + phonegap + blackberry

徘徊边缘 提交于 2019-12-25 05:09:11
问题 I runing sencha application using blackberry phonegap.for this steps i following; 1. make build of sencha application using command(sencha app build package) 2.created blackberry phonegap project and under this created www folder 3. copied all files from sench build and paste in the www folder 4. run blackberry phonegap project after running project i get white screen. can please anyone tell me what i'm doing wrong. my index.html code is: <!DOCTYPE HTML><html manifest="" lang="en-US"> <head>

Disable web Inspector in release mode - bb10 webworks

爷,独闯天下 提交于 2019-12-24 16:26:29
问题 How to disable web inspector in release mode?..I am developing blackberry 10 app using webworks...By default when i open the application the alert "web inspector mode enabled" is showing..can any one suggest some ideas? 回答1: Just use 2 commands: 1) Build in release mode webworks build --release -k keypassword 2) Deploy to BB 10 without build option webworks run --no-build --devicepass devicepassword 来源: https://stackoverflow.com/questions/21773346/disable-web-inspector-in-release-mode-bb10

What are the implications of disbling websecurity in a blackberry10 app?

会有一股神秘感。 提交于 2019-12-24 04:16:10
问题 In another question dealing with a bug in blackberry10 that denies cross origin XHR calls, it is proposed to get around the issue by disabling web security. But what does disabling web security really imply here? Am I going to torture small harmless woodland creatures if I use this? Seriously though, does doing this expose my app to additional security risks beyond those introduced when adding the popular wildcard access uri="*" or access origin="*" line in my config.xml for blackberry10?

Blackberry Web Works how to fire event everytime the app is launched

感情迁移 提交于 2019-12-24 02:57:29
问题 <html> <head> <meta name="viewport" id="viewport" content="height=device-height,width=device-width,user-scalable=no"/> <script type="text/javascript"> function helloWorld() { alert("Hello World"); } </script> </head> <body onload="helloWorld();"> <h1>Hello World</h1> </body> </html> I have an app built using Blackberry WebWorks similar to above. I need the above helloWorld() function to be fired everytime the user open the app. The problem is "onload" function only fired when the app first

What Version of WebKit is included in Blackberry WebWorks?

五迷三道 提交于 2019-12-24 00:29:09
问题 All I can find is that is WebKit, which is useful because BBOS5 doesn't even have that! But a specific version would be better. (I'm trying to get PDF.js to work and would like to know if I should just give up. :/) 回答1: If you are really asking about the version of WebKit in the different BlackBerry devices, go check our repositories at http://github.com/blackberry. There are 3 different repositories: WebKit-BB10 WebKit-PlayBook WebKit-Smartphone 回答2: The BB OS 5 Browser is not a WebKit

Getting an error message while building PhoneGapSample in blackberry Webworks

旧街凉风 提交于 2019-12-20 11:15:08
问题 I am working on PhoneGap BlackberryWebWorks i have install BlackBerry WebWorks plug-in:2.5.1 and Blackberry WebWorks SDK:2.0.0. and PhoneGap 0.9.4.but while building the project in eclipse i am getting the following error Errors occurred during the build. Errors running builder 'Faceted Project Validation Builder' on project 'PhoneGapSample'. Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants I am not getting any idea how to proceed ahead to remove this error.If

How to execute Blackberry OS 6 app in Blackberry 10 OS

大城市里の小女人 提交于 2019-12-12 18:21:19
问题 I developed one application in Blackberry OS 6.I deployed that app in to Blackberry world successfully.But it is not working in Blackberry OS 10.I am getting following error: Unsupported for this device Please help me how to run application in OS 10. Thanks in Advance. 回答1: OS10 is a completely different system. It no longer supports the BB6/7 Java environment. You will need to port your app to one of the new supported platforms: http://developer.blackberry.com/develop/platform_choice/index

PhoneGap with Blackberry OS 10

你。 提交于 2019-12-12 14:21:33
问题 I would like to know whether PhoneGap sdk supports Blackberry OS 10 build? I think it is .bar file, am I correct? 回答1: ** Update ** At the time of this original answer, PhoneGap did NOT support BB10, however a lot has changed at you can now successfully build PhoneGap apps targeting BlackBerry 10. I've re-written the PhoneGap Getting Started Guide (http://docs.phonegap.com/en/2.6.0/guide_getting-started_blackberry_index.md.html#Getting%20Started%20with%20BlackBerry) And a Knowledge Base