Blackberry compatibility issue - blackberry

i developed a simple uiapplication on 4.2.1 with a screen...if i compile it using 4.2.1 and run on 9500 simulator it goes to compatibility mode...i don't want this so this is what i tried.....edited the jad file added
RIM-TouchCompatibilityMode: false
RIM-TouchCompatibilityMode-UserChangeable: true
added the jad file to the project and compiled to create a new cod file...
cleaned the 4.7 (9500) simulator ...then loaded the application to simulator
File -> Load java program - > helloworld.cod
then ran the program...still compatibility mode....what am i doing wrong here...please let me know..

When you load an app into the simulator it just loads the bytes from the COD file and does not look at the JAD - so it doesn't see the configuration in the JAD. A couple of ways around this would be:
Put your JAD/COD files on a webserver and install it from the simulator's browser, or
Create a build with the 4.7 or higher JDE

Another way that i found for simulating OTA is by simulating SD card...copying the jad and cod files on the SD card then installing the app by running the jad file...it works...

Related

Dropbox UIDocumentPicker plugin cannot open OS X file packages

On my OS X machine I have placed a document which actually is a file package (aka document bundle) into my dropbox. When I try to open that file package on my iOS device using the UIDpocumentPicker plugin the file package appears as a folder. On the other hand it appears as a file package in the iOS DropBox App itself. It also appears as a file in iCloud drive.
Why is there a different behavior? I would expect both dropbox interfaces to display the file package as a file and be able to open it like I can open out from iCloud drive.
(Dropbox App-Version 4.2.5 on iOS 9.2)
Anyone else having this issue and any idea on what one could do?
Packages are effectively folders, not files. Different interfaces may not display them the same way though. E.g., sometimes you'll see a special icon indicating it's a package, and sometimes just the normal folder icon will be used.
In any case, packages/folders aren't currently supported in the Dropbox iOS app UIDocumentPicker. We'll consider this a feature request though.

Packaging a BlackBerry App for Release

I'm currently using the BB Plugin for Eclipse and am trying to generate a package without any .debug files and only one .cod and one .jad file to send to a client.
I'm a bit stuck on how to do this, I can't find a 'release build' setting and am having trouble finding any documentation on how to accomplish this or if I'm even on the right track.
Right click over your project, select "BlackBerry -> Package Project(s)"
In case it doesn't sign automatically, right click again, "BlackBerry -> Sign with signature tool"
Look for the generated "deliverables" folder in your project package explorer, then select the files for OTA deployment (inside "Web" folder). There you'll find one or more sibling cods and the correct jad descriptor.
profit
For OTA installation:
1. unzip your COD file.
2. now you got number of cod files like xyz.COD, xyz-1.COD, xyz-2.COD ... etc.
3. open your .jad file and verify listed .COD fils are mentioned in .jad file or not
4. upload all .COD files and .jad file in same location on web
5. open the .jad location on mobile device
Note: If your .jad file having incorrect .COD listed or still getting error then first delete your .jad file and .COD file and clean your project and then rebuild your project then follow above steps.
First of all sign the application, after signing it upload the project on to your server and after uploading it take the .jad file and make a link of the path of the project where it is uploaded and then give that to the client and then he can download the application from there and can install it.
When we sign Blackberry Application successfully we can able to install that app in device and also able to upload to our Server or Blackberry App world. we have just need .cod & .jar file to upload in BB app world as well as in device . you r going on the right way .. Go ahead .

lwuit exception on blackberry

"uncaught exception thrown in midlet constructor: userclasses.MainMIDlet" while trying to run lwuit application on blackberry mobile device. I am developing with netbeans+lwuit+resource editor.
My issue was .cod file. from the solutions I got online, I had to extract .cod siblings from the main .cod file generated and copied them with .jad that contains their name reference into thesame folder on the device. after I ran the jad file and it installed cod files. and the application is working fine now.

App don't show any changes after deploy to simulator

I am new to blackberry and I am developing an app.
Suddenly it does not show any changes in the simulator as i change my code.
My cod file size 256 kb.
What should i do to correct this problem?
As I add new class to it, jar and other files get automatically deleted.
Review similar questions:
BlackBerry - Changes are not getting reflected in my app
BlackBerry JAR file problem
Application is not loading in simulator using Eclipse
BlackBerry HelloWorld deploys in Eclipse under 8130 simulator but not 950
Also remember to look into console (Alt+Shift+Q, C) for any errors.

Blackberry - run a JAD file on the simulator

I have a jad file for a BB app which I want to run on the simulator. When I do a "Load Java Program" it looks for a cod file.
How can I run a JAD file on a BB simulator?
Open the BlackBerry browser, enter the web link to the JAD file in there and your application will be installed on your BlackBerry simulator.
A JAD file is an information file that goes with the COD file that has the software. You should be able to get the COD file from the same place you got the JAD.
I have a jad file for a BB app which I want to run on the simulator. When I do a "Load Java Program" it looks for a cod file.
For anyone using PhoneGap Build who finds they are presented with a .jad file only, but no .cod files, you need to...
look at this file in notepad as it will list the names of all the .cod files you need (maybe 40 to 50 of them)
notice the .jad file was located at http://s3.amazonaws.com/blackberry.phonegap/slicehost-production/apps/123456/YourAppName.jad so change the last bit of your own URL to .cod (or -1.cod and so on) to download the 40+ other files to the same folder
in the simulator, select File > Load and then multi-select all the .cod files together
wait patiently and your app will appear at the bottom of the simulated screen's menu

Resources