BlackBerry10: How to copy file from device to the pc - blackberry

I want copy database and log files of my program to the PC.
How can I do it?

The Momentics developemnt environmen includes a Target File System Navigator (Windows -> Show View). If it is not on that menu select other an then enter Target in the search box. Using the Target File System Navigator you may browse system and sandbox files, and copy them to the PC.

Related

How to export and run iOS project from Kony Visualizer to Xcode?

I am not used to work with kony platform and I have created simple app but I want to export it and run it as native iOS .xcocdeproj.
Kony Visualizer gives you different ways of building and viewing your app, depending on your needs. In Kony Visualizer Enterprise, you can build your app either from the Product menu, or from a command line. And you can view your built app either by previewing it on a mobile device, or by using device emulators and simulators that you configure. Please refer to this docs link to build for iOS using Kony Visualizer.
Please do this below steps.
once Kar file was build. go to your visualizer installation folder and go to plugins and then you can find com.kony.ios_8.2.28.v201811051627.jar file if you are using 8.2.28 version just for example.
Copy above file and rename it as zip file and unzip it.
once unzip was done inside you can find another zip file please unzip. ( ex: 8.2.28.zip)
you can see folder called VMAppWithKonylib.
now go open command-line tool and go to VMAppWithKonylib location.
now go to gen folder location inside your commandline. gen folder will inside VMAppWithKonylib.
7.now run this command - perl extract.pl konyappiphone.KAR
once extract done now go to VMAppWithKonylib and open project in xcode.
let me know if you are facing any more issues.

Worklight - FWLST1040E: ipad build failed: Cannot overwrite template file

I'm using worklight for my mobile app project using eclipse. My problem is I cant build ipad native. I got this error during build.
FWLST1040E: ipad build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Problem reading info.plist file
I already use this technique but the problem still occur. Why?
Try the following:
Delete the native folder
Close Eclipse
Open Terminal.app and write: open $TMPDIR
Delete the wlBuildResources folder
Open Eclipse
Build the application
I had deleted my iPad environment, but after I created a new one, I followed this, and it worked.
Try the following:
Delete the native folder
Close Eclipse
Open Terminal.app and write: open $TMPDIR
Delete the wlBuildResources folder
Open Eclipse
Build the application

Flash builder include files in Release build

My setup: Flash Builder 4.7
I have text file "1.txt" in folder "folder1" I added to project tree in Flash Builder.
I want to read this file in runtime using file stream on iOS device.
Question:
How to make flash builder pack this folder while exporting release build and running on device.
How to access this directory to to read this file.
(I can succesfully open "1.txt" runtime when running/debugging on device/air simulator if I place "folder1" in <path to my app>\bin-debug\ but it still doesn't work after "Export release build" action).
Update:
When i run Export Release Buid dialog i don't get folder1 on Package Contents tab, why????
I finally figured it out.
I've put my folder in src node in project tree. I don't think it is correct way to do this but it works...

Packaging a BlackBerry (WebWorks) PhoneGap/Cordova application

I'm working with PhoneGap/Cordova and the only options I see is to build to the emulator or to build for debuging to the device.
I want to package the app for further distribution and publishing. Any thoughts?
Thanks!!
First build with
ant blackberry build
Then, you need to get and install signing keys:
https://developer.blackberry.com/html5/documentation/signing_setup_smartphone_apps_1920010_11.html
Then finally, once you are able to code sign you need to use bbwp to sign and package the zip file generated by the build (the zip is in the build directory of the PhoneGap folder). So navigate to your sdk/bin directory and run:
bbwp C:\myapp\HelloWorld.zip -g mypassword -o C:\myapp\signed
This generates two folders in C:\myapp\signed which contain the signed files. You will need different files depending on the distribution method and a summary is here:
https://developer.blackberry.com/html5/documentation/distributing_your_app_1866990_11.html
https://developer.blackberry.com/html5/documentation/signing_landing_page.html
https://developer.blackberry.com/html5/documentation/distributing_your_app_1866990_11.html
You need to get a signing key from RIM in order to publish your apps to the Blackberry App World. My previous experiences was packaging the app with signing key and allow others to install the app with BlackBerry Desktop Manager using the .alx file generated.
cd into the top level directory of your project (the one that contains the www/ folder). Then call this command:
ant TARGET build
Where TARGET can be blackberry, playbook, or qnx (beta right now). This will create a build/ folder which should contain the needed files for further packaging.

How can I see the asstes copied to the build folder on Xcode 4.3?

I run Xcode 4.3 on a Mac 10.7.4 (Lion).
I have all my resources (images, audio) for my app on a separate folder (something like a DropBox or a sugar Sync folder installed on root) on my system.
I have written a shell script (in run scripts) to copy the resources i need for the app into the bundle when i compile the code.
Is there a way to view the assets (the images and audio) that have been copied in the build folder by my run script? If so, how would i go about doing this?
Select iOS Device as the build target, and build your application. This will generate the product .app file. Expand Products folder from Project Navigator, and right click yourappname.app and select "Show in Finder". Right click the app in your finder and select "Show Package Contents". You will find all your bundled assets there. Please note that you might not be able to open these images.

Resources