Conversion of a MIDlet on a COD using the JDE
Hello
I'm trying to convert a MIDlet (built with Netbeans) a COD using JDE 3.0. I used the instructions in:
When I built the MIDlet using Netbeans, I turned off obfuscation and JAR compression. Nevertheless, no matter what I do, I got:
Building MyProject
C:\Program Research In Motion\BlackBerry JDE 4.3.0\bin\rapc.exe-silencieux import ="...... \.. \.. \.. \.. \Program Files\Research in Motion\BlackBerry JDE 4.3.0\lib\net_rim_api.jar"codename = MyProject-midlet warnkey = 0 x 52424200; 0 x 52525400; 0 x 52435200 C:\MyProject\dev\clients\MyProject\dist\J2ME\MyProject-J2ME.jad C:\MyProject\dev\clients\MyProject\dist\J2ME\MyProject-J2ME.jar
Error! 907: impossible to verify security
Any suggestions?
Your JAR file is signed? CAP does not support the conversion of signed JAR files.
If not, try to remove the - quiet parameter and you should see more information about the error.
Tags: BlackBerry Developers
Similar Questions
-
I got a notification saying "password requirement: you must change your secret code in 56 minutes"I panicked and entered my access code using the little box? ". I ' t mess up?
Yes. You may be victim of a scam, except if you are connected to your business with this requirement.
Change your password immediately below:
-
Can I use the JDE demo application code in my application?
I have the RIM signing keys for my BB application. If so, can I use the Blackberry demo application code in my application?
Thanks for any help
She found! There are too many posts by him on this forum!
It is in this thread:
http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=9393
To save everyone looking, here is the text:
"You are free to use the sample code available on BlackBerry.com website in your own application. This includes sample diagnosis network included in the knowledge base.
Mark Sohm
BlackBerry Development Advisor
www.BlackBerryDeveloper.com".Thanks Mark.
-
Impossible to compile the Java Code using the Oracle API
Hi all
I use the following code for use in Oracle 11 g. What pots of IOM should I include to get this to compile? I seem to have all the necessary jars, except the one that contains Thor.API.Operations... If someone could point me in the right direction for this, I would be very grateful.
package AdTest;
Thor.API import. *;
Import Java.util;
public class {AdTest
public void AddProcessChildData (long pKey) {}
try {}
tcFormInstanceOperationsIntf f = getUtility ("Thor.API.Operations.tcFormInstanceOperationsIntf") (tcFormInstanceOperationsIntf);
tcResultSet childFormDef = (f.getProcessFormDefinitionKey (pKey), f.getProcessFormVersion (pKey)) f.getChildFormDefinition;
childKey long = childFormDef.getLongValue ("Structure Utility.Child Tables.Child Key"); If there is only 1 child for the form table parent on the other you have to iterate over the result set
Map attrChildData = new HashMap();
String NUGroupe = "someValue";
attrChildData.put ("UD_ADUSRC_GROUPNAME", NUGroupe);
f.addProcessFormChildData (childKey, pKey, attrChildData);
} catch (Exception e) {}
e.printStackTrace ();
}
}
}xlAPI.jar
-
How to generate the file .cod using the emulator of ripple?
I want to pack my blackberry phonegap app using the emulator to ripple.
The application should run on blackberry devices of series x 9 e.g. blackberry os 7 or earlier.For this I used Blackberry 2.3.1.5 WebWorks SDK.
So please suggest me some ways to package the application using emulator ripple.
Ripple can only directly build with the WebWorks SDK which is different from that of the PhoneGap SDK.
SDK PhoneGap operates the WebWorks SDK, which can cause some confusion, but the process is different.
Unfortunately, ripple doesn't fit with the PhoneGap SDK / tools to allow you to build like PhoneGap.
That being said, there is the documentation available here, which describes how to use PhoneGap tools build for BlakcBerry:
http://docs.PhoneGap.com/en/edge/guide_platforms_index.MD.htmlYou will need to use the command line interface to package your HTML5 project as a BlackBerry PhoneGap application.
Alternatively, you can build with ripple / WebWorks directly (i.e. omit PhoneGap completely) as shown here:
https://developer.BlackBerry.com/HTML5/documentation/webworks_testing.html -
How to color or opacity when the code using the mouse?
Hi all
I try to adjust the color or opacity of an object only with the code, without using keyframes.
How must enter the right code to change the opacity of an object 50% on mouseover and mouseout/mouseouthandler() 100%? It would be amazing that I could apply the same timetable for the transition.
I tried to use:
{- webkit - transition: opacity 0.5 ;}}
but had no luck.
Thanks in advance for any help!
Eric
You can try this for starters?
on mouseleave
SYM. $(«pi-001») .animate ({opacity: 1}, 1000);
and
on mouseenter
SYM. $(«pi-001») .animate ({opacity: 0.5}, 1000);
-
JSF - lack of source code using the creation of models and composition
It's really strange, or maybe I don't understand JSF.
Supposedly to make the long story short, I have the following:
a. masterLayout.xhtml file - primary model
b. file myPractice.xhtml - compositions that uses templates to file masterLayout.xhtml
masterLayout.xhtml page go to myPractice.xhtml (using ajax). The myPractice.xhtml rendered correctly - shows all components of the model and its own page. But when I check the "see source code page", I see the source code of masterLayout.xhtml.
Here is the part of the source code:
IMPORTANT NOTE: masterLayout.xhtml has a COMMANDBUTTON RICHFACES (a4j:commandButton) WHICH RENDER THE PANEL ID "MyPractice" FOUND IN myPractice.xhtml. Means that this rendering of the page via ajax commandButton control.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
masterLayout.xhtml (model)
:
< a4j:commandButton styleClass = "#{control.myPracticeStyle}" value = "MY PRACTICE" action = "myPractice' actionListener =" #{control.myPracticeAction} "make = 'myPractice' / > '.
:
< style tr = "height: 780px;" >
< style td = ' width: 8%; ' > < table >
< style td = ' width: 8%; ">
& #060; br / >
< name ui:insert 'content' = >
< / ui:insert >
< table >
< style td = ' width: 8%; ' > < table >
< /tr >
< /table >
< / rich: panel >
< / h:form >
You can see the ui: insert above.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
myPractice.xhtml
"< ui:composition template="/templates/masterLayout.xhtml ">
< ui: set name = "content" >
< id rich: panel = "myPractice" style = "height: 764px; border: 0px; padding: 0px; ">
< table width = "100%" border = "0" cellpadding = "0" cellspacing = "0" >
< b >
< style td = "width: 100%;" >
< h:panelGrid style = "width: 100%;" cellpadding = "0" cellspacing = "0" >
< f: facet name = "header" >
< h:panelGrid style = "width: 100%;" cellpadding = "0" cellspacing = "0" columns = "5" columnClasses = "overviewTabColumn, aumTabColumn, feesTabColumn, cashFlowTabColumn, emptyTabColumn" >
< a4j:commandButton styleClass = "#{control.overviewStyle}" value = "OVERVIEW" action = 'Preview' actionListener = "#{control.overviewAction}" make = 'Preview' / > '.
< a4j:commandButton styleClass = "#{control.aumStyle} ' value = 'AUM' action = 'aum' actionListener =" #{control.aumAction} "make = 'aum' / > '.
< a4j:commandButton styleClass = "#{control.feesStyle} ' value = 'FEES' action = 'fees' actionListener =" #{control.feesAction} "make = 'fees' / > '.
< a4j:commandButton styleClass = "#{control.cashFlowStyle}" value = "CASH FLOW" action = "Cash Flow" actionListener = "#{control.cashFlowAction}" make = 'Cash Flow' / > '.
< h:outputText value = "" style = "width: 100%;" / > "
< / h:panelGrid >
< / f: facet >
< / h:panelGrid >
< table >
< /tr >
< b >
< td > < table >
< /tr >
< b >
< td >
< name ui:insert 'subContent' = >
< / ui:insert >
< table >
< /tr >
< /table >
< / rich: panel >
< / ui: define >
< ui:composition >
This set define supposed to go in the ui section: masterLayout.xhtml insert.
===================================================================================================
Source of real "see Page" FireFox or IE when myPractice.xhtml is made and displayed.
< style tr = "height: 780px;" >
< style td = ' width: 8%; ' > < table >
< style td = ' width: 8%; ">
& #060; br / > < = missing source code?
< table >
< style td = ' width: 8%; ' > < table >
< /tr >
< / div >
< div >
"< input type ="hidden"name ="javax.faces.ViewState"id =" javax.faces.ViewState "value ="-2088890247043631074:-2632132869735171398 "
AutoComplete = "off" / >
< / make >
< / body >
< / html >
< / ui:composition >
If you look at this "source code" view Page"carefully comparing to masterLayout.xhtml, from the height: 780px, you will notice the name of ui: insert section = 'content' is... empty.When you "view source" you made an another GET, that renders the page in its original state. It is not the source as it is currently displayed for example after a button push.
-
How to change postal code using the prog.
whenever I have access to one web site, that the answer for a postal code is other than mine.
Firefox doesn't store information about your postal code. Sites Web assumes that this information by looking at the location that you have your router and the IP address. This postal code is only an approximation, and cannot be changed by Firefox.
-
Optimization of code using the multi-hearts
All, morning
I have a piece of labview code that I want to run 10,000 times, varying my input parameters to see the effect on the output (Monte Carlo simulation). The output of 1 run does not affect the input to the other, so I can define an array of startup parameters. My code will run more efficiently on a multicore processor if I have 4 for loops, each of the 2,500 tracks 1 loop of 10 000 races? Is that any way to optimize this process?
Paul
Please refer following links: http://www.ni.com/tutorial/9393/en/
and this: http://www.ni.com/white-paper/6423/en/
-
blue screen, error message bug code usb driver and file dumping crash how to stop it
Hello
1. what changes have been made to your computer before the problem?
I suggest that you follow the steps in this article and see if the problem still occurs.
Resolve stop (blue screen) error in Windows 7
http://Windows.Microsoft.com/en-us/Windows7/resolving-stop-blue-screen-errors-in-Windows-7(Valid also for Windows 7 steps)
-
Inability to make a selection of the screen using the built-in browser
Hi all.
Java newbie here - coding experience is VB.
I'm trying to code using the JDE Eclipse against Sun JDK 6 for a Curve 8900 platform, V4.6.1.250, 4.2.0.113.
I have a dirt simple browser application that accesses a single Web page. Exit the screen of the page is formatted for PDAS and other portable devices.
The images on the site looks like a BB or PDA screen with up and down buttons that call graphical objects for display. It also allows zoom in on certain parts of the image when you position then click and hold the trackball on a Blackberry. (The description above is how it works when you browse using the standard BB browser.)
When I try to click on buttons or graphic, nothing happens. I guess I did a class/method required and appeals against it, but being new, I don't know how to do it and did not find documentation online to point me in the right direction.
What I want to do is one click of the buttons via the trackball or press and hold the trackball to zoom feature work.
Here is the code I use:
package com.beginningblackberry;
Import net.rim.blackberry.api.browser.Browser;
Import net.rim.blackberry.api.browser.BrowserSession;
Import net.rim.device.api.ui.UiApplication;SerializableAttribute public class BrowserApp extends UiApplication {}
Public Shared Sub main (String [] args) {}
BrowserApp instance = new BrowserApp();
instance.enterEventDispatcher ();
}public BrowserApp() {}
Private site = Browser.getDefaultSession ();
site.displayPage ("http://www.ssec.wisc.edu/data/paw/usus_usa_radr_imag_none.html");
System.Exit (0);
}
}Any help is very appreciated.
VBRefugee, I think you should start your programming BlackBerry checking the development layout of how the UIApplications are built. The UiApplication class does not display of really anything on the screen by itself, rather you would lead to an extension of a class of display on the screen where you can be private pushScreen (MainScreen()) again and you would customize your layout in the constructor of your screen extension adding your controls with a field of embedded browser. Take a look at some of the applications delivered by the JDE and the eclipse plugin example. I think it could help you, but I could have misunderstood.
-
Conversion of jpg to ASCII for code output ZPL-Zebra printer
I print on a Zebra ZM400 using the ZPL code. I can upload images to the printer using Zebra utilities and I remember these images to print on a label, but I have to be able to download pictures using the ZPL code (using the ~ DG command). The ~ DG command needs the JPG image to ASCII format. I have other images that were already converted to ASCII (by someone else) that I am able to print, so I know what I do works as expected, however my problem is that I have new images which must be converted to ASCII format required and I don't know how to do this.
So, my goal is to print a picture on a Zebra printer, but my real question is to know how to convert a JPG image to ASCII format (for the Zebra printer).
Let me know if you need more information.
Thank you
Hi Emily,.
Unfortunately, I have not well understand how this has been done before that the person who had previously completed a conversion is no longer works for our company.
The ZM400 printer uses ZPL II of Zebra language to create/format of labels and the printer setup/order. Instead of download chart (~ DG), I am now using the command object download (~ DY), located in the ZPL II (182 p) programming guide. This allowed me to use a. File PNG rather than JPG, which was easier to work with.
I was able to use a modified version of your suggested method to make it work. The ~ DY command takes a parameter (data) which is a 'hexadecimal ASCII string defining the image', which is defined as: "the data string sets the image and is a hexadecimal representation of ASCII image. Each character represents a horizontal nibble by 4 points. "So the method you suggested is exactly what I had to do, however I didn't say that it must be represented in hexadecimal ASCII code.
I converted the binary file reads (of the PNG) data into a byte array, then made a (padded two-digit in hexadecimal) number of channels within a loop conversion For to give the ASCII representation of the binary data. This gives a hexadecimal representation of ASCII to binary data. VI is attached.
Thanks for your help!
I encountered another problem: the PNG files took an eternity for the printer load into memory when printing (compared to the same image in Zebra. GRF format). I solved this re-reading the file saved on the printer, where it is native. GRF format (using the ^ HG command), then re-recording this output (now in the ZPL code formatted) to the printer. I guess there is a way to convert directly to the. Format of the GRF, but for now it does not work in my case.
Thanks again!
-
Set the error code for the exception qualified using the pragma exception_init
Hello
I did experiments on exception management in oracle plsql. In my experiments, I did the following anonymous plsql block.
+ < < outer_block > > +.
declare
+ exceptions. +
Start
+ < < inner_block > > +.
+ State +.
+ exceptions. +
+ start +.
+ recovery outer_block.exc +;
+ exception +.
+ What then outer_block.exc +.
+ dbms_output.put_line ("' outdoor Exception caught"); +
+ What then inner_block.exc +.
+ dbms_output.put_line ("'Inner Exception caught"); +
+ end; +
end;
When I run the code, I got the output "external Exception caught".
------------------------------------------------- PLSQL Block 2 -------------------------------------------
I changed the code a little differently by assigning exceptions error codes.
+ < < outer_block > > +.
declare
+ exception exc; +
+ pragma exception_init (exc,-20001); +
Start
+ < < inner_block > > +.
+ State +.
+ exception exc; +
+ pragma exception_init (exc,-20001); +
+ start +.
+ raise_application_error (-20001, "Error"); +
+ exception +.
+ What then outer_block.exc +.
+ dbms_output.put_line ("' outdoor Exception caught"); +
+ What then inner_block.exc +.
+ dbms_output.put_line ("'Inner Exception caught"); +
+ end; +
end;
When I run the above code, I got the following error.
Error on line 1
ORA-06550: line 15, column 9:
PLS-00484: exceptions redundant "EXC" and "EXC" must appear in the same exception handler
ORA-06550: line 5, column 1:
PL/SQL: Statement ignored
Script done on line 21.
------------------------------------------------- PLSQL Block 3 -------------------------------------------
To avoid this error, I changed the code again by qualifying exceptions with their block names. This time, I got a different error.
+ < < outer_block > > +.
declare
+ exception exc; +
+ pragma exception_init (outer_block.exc,-20001); +
Start
+ < < inner_block > > +.
+ State +.
+ exception exc; +
+ pragma exception_init (inner_block.exc,-20001); +
+ start +.
+ raise_application_error (-20001, "Error"); +
+ exception +.
+ What then outer_block.exc +.
+ dbms_output.put_line ("' outdoor Exception caught"); +
+ What then inner_block.exc +.
+ dbms_output.put_line ("'Inner Exception caught"); +
+ end; +
end;
Error on line 1
ORA-06550: line 4, column 38:
PLS-00103: encountered the symbol ". «» When expecting one of the following values:
), = >
The symbol"were replaced by". "to continue.
ORA-06550: line 9, column 42:
PLS-00103: encountered the symbol ". «» When expecting one of the following values:
), = >
The symbol"were replaced by". "to continue.
Question:
Pourraient several exceptions with the same name of the exception defined in the set of nested blocks plsql assign error codes using the pragma EXCEPTION_INIT? If there are errors in the PLSQL 2 blocks and 3, please suggest.
If the same thing could be accomplished by other methods, please explain.The problem in your code block 2 is that you have not only used the same name of the exception, but you have assigned them with the same exception code. If the code is different so it will work...
SQL> set serverout on SQL> ed Wrote file afiedt.buf 1 <
> 2 declare 3 exc exception; 4 pragma exception_init(exc,-20001); 5 begin 6 < > 7 declare 8 exc exception; 9 pragma exception_init(exc,-20002); 10 begin 11 raise_application_error(-20002,'Error raised'); 12 exception 13 when outer_block.exc then 14 dbms_output.put_line('outer Exception caught ' ); 15 when inner_block.exc then 16 dbms_output.put_line('Inner Exception caught ' ); 17 end; 18* end; SQL> / Inner Exception caught PL/SQL procedure successfully completed. SQL> ed Wrote file afiedt.buf 1 < > 2 declare 3 exc exception; 4 pragma exception_init(exc,-20001); 5 begin 6 < > 7 declare 8 exc exception; 9 pragma exception_init(exc,-20002); 10 begin 11 raise_application_error(-20001,'Error raised'); 12 exception 13 when outer_block.exc then 14 dbms_output.put_line('outer Exception caught ' ); 15 when inner_block.exc then 16 dbms_output.put_line('Inner Exception caught ' ); 17 end; 18* end; SQL> / outer Exception caught PL/SQL procedure successfully completed. -
Using the file atlcom.h in c#
Hello
I converted c ++ c# code using the tangible converter but I'm currently using the atlcom.h file which is built at the top of the visual studio and I want to use in the code c#, pls tell me how...Thank youHi Vonil,
The question you posted would be better suited in the MSDN Forums.
I would recommend posting your query in the link below.
General questions of Visual Studio:
http://social.msdn.Microsoft.com/forums/en-us/visualstudiogeneral/threads
I hope that the information above helps you.
-
Hello
I'm trying to find a solution to a problem with our inventory of the warehouse. We would like to digitize our bar codes, using the built in camera on Windows 8, not a Windows RT Tablet Tablet and then this information put in directly in preference, an Excel worksheet. I can't go through hoops too because she must be quick. Very, very fast.Is this possible?Hello
I suggest you to check the Windows store and find the best code reader barcode that could help you with those preferences.
http://Windows.Microsoft.com/en-us/Windows-8/explore-Windows-store#1TC=T1
I'm not sure how the information would be sent directly to the Excel sheet, you should check the application developers.
We know it helps.
Maybe you are looking for
-
I tried the "firefox.exe profilemanager" method (& similar to Thunderbird) but no improvement. " Help please!
-
It presents itself as a gray tabs at the top left, but below the toolbars area. There is no name on the game, it is not in the program flies, modules and the Task Manager does not show it again. A small flying saucer fly around shooting. I want to ki
-
Some text boxes on a page are rendered with a green background.
On certain Web pages, the text blocks will make with normal text but a green background, despite whatever the color/image background is supposed to be. I have seen this happen for sure on the results page of Google search (on the right where it somet
-
How can I make the add-on from the norton toolbar appear in the list of Add-ons?
Try to get norton toolbar visible id. It is present and active in the list of modules; but I does not appear in the list of toolbars. Therefore, it cannot make it visible on the screen.
-
How long before an update soak the start of tests?
I was surfing just on the web and saw a story on the Droid X soak test and thought, "HEY!, I've seen that Word before"... so I thought I'd ask. " Looking at the Droid X gingerbread release, it seemed that it was about 3 or 4 days before the release.