Can anyone tell me how to sign and get the cod files using lwuit1.5 resource editor after you finish a Blackberry project using GUI BUILDER.
Note: I am using only the Lwuit1.5 not the CodenameOne .
I don't know how to sign the cod files with the Resource Editor. I don't think that this is possible. I generate my cod files from the Netbeans. When I ran a BB project, it compiles and generate the cod and the alx files. For using the BB plugin and BB emulators in Netbeans http://plugins.netbeans.org/plugin/11194/rim-blackberry-plugin
Related
Hi I'm fairly new with Eclipse. I'm trying to work on my cocos2d-x project on Eclipse, but for some reason I couldn't convert the android project to a c/c++ project and so I couldn't open the c++ files inside the Classes folders as you can see on the image here.
cocos2d-x: cocos2d-x v3.0 alpha0
eclipse: (ADT)Android Developer Tools - Build: v22.2.1-833290
os: windows 7
What I did:
ran create-multi-platform-projects.py in cmd
opened eclipse(ADT) then File->New->Other->Android Project from Existing Code->browsed to {cocos2d-x v3}/projects/mygame/proj.android
built the project.
tried to convert the project. Right-clicked project->New->Other->Under C/C++ tree, select Convert to a C/C++ project (Adds C/C++ nature)
but then the candidates for conversion is empty, meaning I couldn't convert my project to c++. I have installed the C++ plugins as seen here. Obviously I'm missing something here but I can't figure out what. I've been following tutorials on setting up cocos2d-x android development on eclipse windows os but I'm stuck with the converting to c++ step. Please could someone point out what I'm missing. Thanks in advance.
It will already be having c++ nature, so it wont show you that option (You can verify this by checking if you have C/C++ build in your project properties)...
You can open the cpp files by adding a reference to the source folder, to do so follow the below steps:
Right Click your project and select properties
Goto Resource->Linked Resources
In Path Variables Tab, Click New...
Give some name and choose the folder where you have your source code
It will now show a link to the source code folder in the project
Here are one by one steps, You may setup easily!
When I create a phonegap folder structure via the CLI (3.0), how do I open this in Eclipse?
When I choose project [New] - [Android project from existing code], the assets are taken from the platforms/android folder. But I need to change the html and js of the top folder (www). These are the files that are being used when I build the project to other platforms (via CLI or build.phonegap).
Now I change the assets in the editor of the eclipse environment and then manually copy paste the content to the files under www.
Actually PhoneGap project structure and Eclipse project structure are somewhat different. But they work in a similar way. If you want to create phonegap project in eclipse then you have to create html,js,css within asset/www folder. The java source files will be within src folder(as usual).
If you want to create project without eclipse like with command phonegap/cordova create MyApp, then you will get all java source file within project/platform/android folder and html,js,css in www folder which is auto-created. On the other hand in eclipse you have to create this www folder manually.
But project is compiled in a same way whether it is created in eclipse(IDE) or in other text editor.
I have experience in both Eclipse and Text Editor(SublimeText,Vim). I prefer Text Editor because Eclipse sometime creates problem and it needs some extra things like creating www folder and place all scripts,templates,css etc manually.
If anyone whan to go with CLI, then I think SublimeText,Vim,gEdit etc are the best choice for coding.
I'm creating a app for nokia using Netbeans v7. I cannot figure out how to add files to the project, such as graphic images. Also I do not see a res folder like eclipse has.
I'm assuming there must be a way to do this
-Ted
Create res folder in the project folder and put the files in that folder, It's action will be same as eclipse.
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.
I am using the BB eclipse plugin to create a BlackBerry app. I made some changes to my app but they were not reflected in the simulator. So I ran clean.bat and rebuilt the project. But now the project's cod file is not getting generated.
And if I try and view the BlackBerry project properties for the Project, I get an error saying the window contains invalid values and it doesn't let me see the BB properties of the project.
The only solution I've found in the support forums is to create a new project and copy the whole code to this workspace. But that doesn't look like a very good solution.
It seems to be a bug in the blackberry eclipse plugin. I had the same problem and "fixed" it creating a new project.
Sometimes it works launching the simulator and erasing the application in the simulated blackberry. Another trick is to delete .jar, .jad and .cod refresh and then clean all.
The last tricks that also works is to open the same workspace with the Blackberry IDE and it may repair it.
Sorry, I don't have a definite solution but I hope you can solve your problem with one of the tips.
You have to follow some steps as:-
Delete deliverables folder.
Remove all .jad files from your system. Search all .jad files in system.
Go to eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\simulator and run clean.bat. It will reset the clean simulator.
Clean all projects from workspace.