I am building a mobile application for Blackberry and am using Flash builder 4.5.
Flash Builder 4.5 does not generate a cod file, it generates a bar file for Playbook.
I have just exported my Flex application i.e an HTML file with embedded swf.
I used Webworks2.0 to generate a cod file but it is not picking up the swf file embedded in the html.
Is there any other way how I could generate a cod file that is a Flex application that runs on Blackberry mobiles?
.cod files are a special version of .jar format and are compiled from Java sources using JDE or Eclipse.
You can't generate .cod using Flash or Flex IDEs.
Also BB phones 4.x - 7.x do not support .swf in any form (neither as program, nor the browser).
Related
I am writing a mono touch application on Xamarin platform.
The Google Speech to Text API is implemented for iOS in this library.
For me, a .net/Xamarin dev(noob) this is just a set of .c files and the list of dependencies in README (those dependencies are .deb files).
How should I compile this in XCode into a Xamarin importable format? An answer in the form of:
Create new project in XCode.
Add .c files
Add .deb files
would be best. I just need a high level guidance.
I am trying to upload a BB app to its App World. Everything I read makes a reference to upload a COD file or some COD files.
When you get to this point when submiting the app, it gives two choices to do the upload. One is file by file and the other is to upload a .ZIP file.
My problem is that when I sign my app, it generates a JAR file where are all my images and classes and .COD files and .CRB files (languages RRC files).
What I do is to convert this JAR to ZIP file and upload the app .ZIP way but it gives me an error because of the name of CRB files that now turns to have some strange characters. They come from a resources_en.rrc to a resources_Ășen.crb
I am doing something wrong but I can't figure it out. What is the right way to do this or what am I doing wrong?
Thanks in advance!
For Eclipse:
The COD is in your workspace\ProjectName\deliverables\Standard\\YourProject.cod
All you need to upload the the App World is this COD file, don't need to do any converting of a JAR. Do, however, make sure you have signed the file by (in Eclipse) right clicking on the project -> BlackBerry -> Sign with Signature Tool
The COD file is produced by RIM's compiler (rapc) and is the file that is signed. If you are using JDE for development it should be in the top level directory of your workspace. I'm not familiar with where Eclipse puts it.
I created my first Hello world project for BlackBerry and following files were created in the deliverables folder:
- HelloWorld.cod
- HelloWorld.cso
- HellowWorld.debug
- HelloWorld.jad
- HelloWorld.jar
- HelloWorld.rapc
What is the purpose of each of these files? I know at least that the jar file must be deployed as a mobile application. But what about all other files?
The .cod file is basically BlackBerry's proprietary version of the .jar file. (This is usually the version downloaded from the App Store.)
The .cso file is a helper file used when signing the application. (It says which keys are needed.)
The .debug file is a helper file used when running the application in the debugger.
The .jad file describes the application to help the device know if it's compatible. (If you were downloading onto a BlackBerry from a website instead of the App Store, this is the file you'd point your link at, which would contain the path to the cod/jar.)
The .jar file is the main application file for MIDP, which is sort of a generalised mobile java runtime environment.
The .rapc is a helper file used by the BlackBerry JDE when it's compiling/building the project.
I've got a monodroid application that has several files with configuration data that needs to be accessed at runtime. I'm porting this over from Monotouch and there I have a directory "Stuff" that is off the root project directory. All the files are marked as Content.
In monotouch, these files are copied to a subdirectory off the root, so just opening "Stuff/MyFile.txt" is working correctly. In monodroid I'm getting file not found exceptions.
What is the base path for content files with Mono Droid?
In Mono for Android (and regular Android), you need to place all these files in the Assets folder for them to be accessible from your application:
http://mono-android.net/Documentation/Guides/Using_Android_Assets
I am facing a peculiar problem when trying to build and sign my blackberry app with signing keys .The problem is its creating 2 debug files(sibling files) and also showing sibling .cod files when i am trying to sign the application with the keys but in the final deliverables folder there is only one .cod file .
However , earlier it was running fine and there was only one .debug and .cod file .
I cant understand what is the actually problem.
Any help or idea will be highly appreciated.
Thanks a lot in advance.
Blackberry creates multiple .cod file when the .cod file size is more than 64 kb. In final folder what you are looking into may be the \deliverables\Standard\ [version no.] folder. There you can find a single .cod file. Actually this is not a .cod file. This is a zip file. Just rename to .ZIP. You can see multiple .cod files inside that. To publish to a web site you need multiple cod files and .jad file. But for blackberry app world submission that single .cod file is enough.