How do I get .bar file from momentics ide blackberry 10 cascades? - blackberry-10

I installed Momentics IDE for developing apps for Blackberry 10 cascades. How do I get .bar file from project? In my project structure I didn't get Bar package folder! And what is token?

In order to deploy your application to a device, you need to sign it. For that you need Signing keys, you can get them here. Please read how to Set up your environment, and more about signing.
If you can deploy application on the device just go in Momentics File -> Export -> Release build. Your .bar file will be in \arm\o.le-v7

Related

How do I blacklist files in .tproject using Tizen Studio

Disclaimer: I have no idea what I am doing here.
I was given a project with a large .tproject file (7956 lines). This is because it is blacklisting numerous files that shouldn't build. It's mostly node_modules. Each file in a module is blacklisted.
Making sure I have installed the node packages, I have followed these steps:
Remove blacklist node from .tproject
Open Tizen Sudio (2.3) on Windows 10
File > Open Projects from File System
Show other specialized import wizards
Tizen > Tizen Project
Browse root directory location
Profile > tv
Finish (project is created but modal hasn't closed)
I get this message:
Resource '/project' already exists
and then:
Errors occurred during the build.
Errors running builder 'Tizen Web Builder' on project 'DStv Now'.
java.lang.NullPointerException
What I want to know:
To get the NullPointerException, my project is definitely missing something in order to get setup. Any ideas what could be missing?
How do I import the project as a Tizen TV application?
How is the .tproject file created?
Is it a suitable file to add to .gitignore? It looks auto generated.
If not, is there a way to use regex to blacklist files instead of listing them one by one?
What I know about .tproject is, It holds Project template Information. Like : tv-samsung-3.0, wearable-2.3.2. This will change only when the developer changes the template for some reason (Suppose update app for new tizen version).
About Importing Tizen TV Project->
Tizen-Studio > File > Import > Tizen > Tizen Project > Root Directory >
Select Specific Project Folder
If every-thing's okay till now you would see a project on Project list. Set the Profile and Version, then finish. The project should be on your Tizen-Studio Project Explorer. Project > Clean > Build.
About .gitignore what I can suggest is to add only the files that get removed at Clean Project command.

new to iOS - not able to download and run project

I downloaded the Flashlight project from this trusted site , in xcode i clicked on "open other" and choose this project. But when I run it it gives me the error:
the run destination my mac 64-bit is not valid for running the scheme 'Flashlight'
the scheme 'Flashlight' contains no buildables that can be built for the SDKs supported by the run destination my MAC 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.
I tried this: Autocreating schemes (Scheme > Manage schemes > Autocreate schemes)
I then closed and re-opened xCode. still got same error.
ok, the issue is not in the schemes, it is in the build settings of the project and its SDK missing.
1.click the project on the left side of the Xcode when your project is open.
2.then on the right side navigate to the build settings.
3.under the base SDK pane, click on the right side and open up the drop down menu.
4.then select the type of the SDK you want.
from there you can select to run the project on the mac or iOS.
now this project is missing some basic framework when its run on mac 10.8. so i suggest you run it in iOS.

No Supporting Files directory in a Xcode Cordova project

I need to integrate the phonegap BarcodeScanner plugin with my iOS6.1 project. To add the plugin I need to do the following:
In the Supporting Files directory of your project, add a new plugin by
editing the file Cordova.plist and in the Plugins dictionary adding
the following key/value pair: key:
org.apache.cordova.barcodeScanner value: CDVBarcodeScanner
But the problem is that I don't have a "Supporting Files" directory in my project, or at least I couldn't find one.
Link to the plugin
I was able to successfully run the app on a 6.1 iOS simulator and on a device.
Xcode version: 4.6.3
Phonegap: 2.9
OS X: 10.7.5
Here is my project in xCode:
I'm fairly new to both Phonegap and Apple devices.
It shouldn't make any different if it is in "Supporting File" or not. It all gets linked in the same way. If it make you feel better you can create the missing group in your project and put it in there, just to tidy things up, but t really won't make any difference as you have seen by it working.
Hope this helps!

Blackberry signing

I have key files from Blackberry site.
I have imported it using blackberry eclipse plug-in.
I have signed all files.
Now i want to add files to my website so that anyone can download application and use in their mobile device.
I want to know which file i have to upload to my website.
Please reply.
Thanks in advance
The eclipse plugin automatically generates the deliverables folders, which includes the .cod files and .alx files, you can deploy applications using various ways.
Some of the ways using which you can deploy your application to end users is by:
1. uploading your application in the blackberry world
2. Using .cod file of your application but it needs the blackberry jde
3. Using the .alx file and browsing it using the blackberry desktop software
4. The deliverables folder also contain .jad files too, by using this file, we can also deploy applications, but for that you need to follow certain steps
4.1 Copy the .jad and .cod files into one separate folder(Just to make sure you dont miss any files)
4.2 Rename the .cod file as .zip file Eg : abc.cod should be renamed as abc.zip
4.3 Once the .zip is done, we need to extract the files and then copy the extracted files and .jad into another folder(Just to be safe)
4.4 Now, upload this folder into the website and you hit the link from the blackberry browser and make sure there are no MIME types specified such as .doc, .docx, .xls etc in the servelet and if it is already mentioned then for .jad file mention it as "text/vnd.sun.j2me.app-descriptor"
4.5 You should actually hit the .jad file in the browser
Anyone doubts please let me know.
Thank you,
Dheeraj Jami
You have to generate an .alx file using your eclipse plugin. It will show .cod files that are used in your app. Upload those .cod file into your website.
Again there are other ways to install app in BB device. It depends on the way you use.
Thanks.

Error in Build - Missing SDK

I downloaded some Application samples from a website.
It used to work but when I went back to Xcode (After a couple of months) I tried them and it gives me this error.
error: There is no SDK with the name
or path 'iphoneos2.0'
I tried looking for a file called "iphoneos2.0"
and tried looking for a highlighted code but nothing.
Could anyone help me please?
The Base SDK of your downloaded app's Target has set to iphoneos2.0. Change the Base SDK of the Target from iphoneos2.0 to a iOS version which is available.
To change the Build Settings in (Xcode 3.2) - Goto Project -> Edit Project Settings menu. Or, Double-click the project name in the project tree in Xcode.
To change the Build Settings in (Xcode 4) - Select the project name in the project tree. It will open the Project Settings in the document area of Xcode.
In the project settings, search for Base SDK.