CAP of the command line and the 8800
I have a terrible time this morning trying to release some software for the Blackberry 8800. In our generation, we have been calling the compiler of Cap 4.3.0 of the command line (which I always have loads of doubts) generating a cod file and unzip for OTA deployment. It worked ok for 8830 phones so far. Once we started to try to do the same thing for 8800 phones we hit a major roadblock. We started to experience random errors when loading our application on the device. (The problem is also reproduced in the AT & T 4.2.1 emulator.) Sometimes the application will work but only on a particular plu model Cingular blackberry where as our QA guy has a bit newer model phone. The application will also work if it is compiled using slightly different source code. The source code that causes a failure will run when compiled and loaded on the same device a build running with the other working source code. After attending the recent virtual conference, I learned that the compiler is not backward compatible. In other words, the CAP generated 4.3.0 cod files will not work on devices with an OS older than 4.3.0. My immediate reaction was to return to the version of the CAP to 4.2.0 and try again. I hit another block when I started having:
WARNING! : no entry point found
So, I upped the version 4.2.1 retries and still got the error. Compiler error goes away with the 4.3.0 CAP but I'm not confident to go into production by using this compiler and targeting the older operating system. I use the same exact command line parameters in both cases. (I pass the flag - midelt and MyMidlet has a public ctor). Can someone tell me what has changed between 4.2.0 and 4.3.0. Y at - it another option or another flag that I have to give. Research on the error, suggests that the old compiler assumes a CLDC application instead of a Midlet. Could someone also explain if there is a problem to start the 4.3.0 SignatureTool.jar against the binaries generated by older Cap (if ever make us it work), targeting older OS 4.2.1? I am desperately looking for answers... Thanks in advance! This highlights a problem with Java environment. Please see the link below for more information. Support - i/o Error: CreateProcess Tags: BlackBerry Developers I need an analogue of the mklink to windows xp command line and maybe windows 2000 too I need a command line tool, which can create in the NTFS file system: Ok. something is here: http://schinagl.priv.at/nt/ln/ln.html Command line and Resource Manager When you use the command line to compile a Robohelp project, is it possible to update the resources shared within the project before generation? For example, you have Project1 and uses snippet1 in this project. However, snippet1 has been changed in the Resource Manager (just say, for the sake of argument, that snippet1 is also used in Project2, and you changed the extract it and it synchronized to the Resource Manager). When you do a regular command line compilation, the extract is not updated. Is it possible to synchronize the excerpts and images from the resource manager in the project before proceeding with compiling from command line (other than opening the project and sync manually)? After all, if I have to open the project, there is no reason for the compilation command line since I was already there and can just compile the project. Thank you! I found a way around this! RoboHelp does not care if the files are updated through the application or through Windows Explorer (such as copying the latest file in the project folder). I created a simple batch file copies and replace any file that is older than the file that is located in the resource manager. This allows RoboHelp pull into the updated files in a command-line compilation. There is always a way! However, I found something problematic with the command line compilation. I started a new thread to ask about it. Application crashes after links compilations on the command line and running on Simulator Hi all I have a project where I need to link my static libraries built separately (but using the toolchain/compiler inside the BBNDK) for a sample application QML BB10. I am relatively new to BB10 and its environment. Although the application compiles and links successfully, the performance of the application is segmenting online My other static libraries have many references to the C++ Standard Library, such as strings, streams etc. and these are inside libstdc++.a/.so. Also some references to struggling and Expat. And so I assured these library on my road to compile as follows With this application compiles / links with success but as said previously, it crashes inside createRootObject. If I don't specify my static library (myStaticLib.a), out of all references to myStaticLib.a in the code and remove the stdc library ++ application goes ahead and the screen correctly. NOTE: myStaticLib.a is not related to the QT code in any way. I call the method inside myStaticLib after that I booted properly QT and after showing the first screen in the code. I was able get out the base of the Simulator file and also use it with this gdb on my build machine. Here is the result of the BDG. It seems to be crashing within libc.so while trying to release something. There is not any change in the QML code at all. Even if everything seems to be compilations and links correctly, I'm not able to find the reason for this accident. I don't change all code QML, but if I include my library and stdc ++ it crashes. If I don't get my library and stdc ++ he does not crash and all is well. Can someone help me please how to debug this problem? Stuck in this during more than two days Found the problem. For the other library that I was building with the BB10 NDK build tools, I was not using "qcc-Vgcc_ntox86-lang-c ++. I used instead of the ntox86-g ++ under the host directory. And it lacked the required compiler flags that were used internally by qcc. After changing the compiler, application has compiled, I did not provide libstdc ++ .a for him also, as well as the application has been properly executed well. The file of the bar - descriptor.xml (and make the application of command line) I made a game with air and it is online for sale on Android and iOS. It is somewhat popular and I thought to put up on Blackberry for quite awhile now and with the Port of soon-to-start-A-Thon, this seems to be a great time to finally make it. BlackBerry is not very common that here where I live in Sweden, however it still looks like an interesting with a potential platform if I want to get the trip. Unfortunately I don't own a camera myself so I'll use the Simulator. With some graphic problems with the simulator when running in mode BB10DevAlpha (icons does not appear right) and the Simulator is very slow when running in mode BB10DevAlphaSafe (chart appears on the right, but it seems that updating them requires more CPU my computer are available). The game is built using nothing other than Adobe Flash Professional CS6 and a bunch of command line tools to build the package and sign. I've only got an old computer with Windows XP now since the death of my main PC, all at the time and since the Port-A-Thon is just a few days I do with what I got. Firstly I understand that only AIR 3.1 is supported by Blackberry 10, so I use the old AIR SDK 3.1 to create a SWF (flash) file. What I really need to do should be used in the exported SWF file of the game, then use the command line tools provided by RIM to build the package, right? Except that I did not count on bar - descriptor.xml to be so difficult to understand. I was brought to the documentation here: https://developer.blackberry.com/air/documentation/bb10/bar-descriptor_config_file.html It says Adobe AIR at the top, the platform selected is Blackberry 10 and the title says "bar-descriptor configuration file", so it must be in the right place! I start by trying the 'bar-descriptor configuration example file"on this page: =========================================================== =========================================================== Of course during the test I replaced a few things in the example above with the correct filenames for images etc, I just copied the example of right - off this time to you guys show what I mean. Firstly, I extract "blackberry-tablets-sdk - 3.0.0" in a folder on the disc, then I make sure as a full path to the "bin" in the SDK folder inside the path on the OS environment variable.
Then I read on "Applications of Test using the command line": https://developer.blackberry.com/air/documentation/bb10/testing_your_application_cmd_ms_2010851_11.h... Now I run: BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf myappnameicon86.png bg splashscreen1024.png - device 192.168.8.128
Note that "bg" is a folder with 500 images that must be accessible from the app. I hope that I can just add the folder like this and not type a path to each image file... What I get (in lib\adt.jar via the bat file): error 101: Namespace is missing Okay, so the example did not straight on the box. Now, I've read all paragraphs in the first URL I linked above ("the bar-descriptor configuration file"). I start my own XML file and make sure to include everything that is marked as "necessary". That's what I'm left with: =========================================================== =========================================================== I have no idea of what concerns the block whole call target, but it took, so he must be there. Now I launch (notice that myappnameicon86.png is gone since no icon is mentioned in the above XML code, it is not mandatory): BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf bg splashscreen1024.png - device 192.168.8.128 Yet once, I get: error 101: Namespace is missing Frustrated I get autour on the forums for answers, because the official documentation is nowhere getting me. I'm left with this: ===========================================================
=========================================================== Looks like the XML code that I use when I build for Android. First of all it doesn't have the tag root of qnx, but also nothing of the icons are of the required size (86 x 86). The tag required splashscreens and invoke target is also absent, to name a few. No idea of what the entire block of 'extensions' really do. Surely, this does not work:
BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane myappnameicon36.png myappnameicon48.png myappnameicon72.png bg-device 192.168.8.128 Success in building the package BAR to my infinite surprise! He even managed to install on the Simulator. An icon for the game. However when it auto-couru the app went into landscape, thought for a second and then crashed (or you leave?) without a message. Perhaps because the required qnx tag was missing in the XML? I have no idea. I tried to add XML to qnx at the address previous to the bar - descriptor.xml, I thought that maybe he needed both the qnx block for when you run the application and the application block for when packaging. But now, he has complained of something like XML is not not clean ("' fatal error: markup in the document following the root element must be well-formed." "). So he came to it, I have to ask for help if I ever make the deadline of the Port-A-Thon. (1) how am I supposed to write the bar - descriptor.xml? First of all, there are two xml files that you need. One is called the manifesto, is to AIR and is called yourappname- app.xml. It is identical to the ones you use for Android and IOS, though some elements will be ignored. It's one you need to switch on the command line, and is probably causing the 'Namespace' missing error message. A file manifest a minimum is: Replace the text in red with your own stuff. The second xml file is called to the bar of descriptor. It is for App World and the installation process and is called bar - descriptor.xml. It contains information about signing code, icon, permissions etc. A simple bar - descriptor.xml is: Make sure that you at least change the red dots. How do I compile the code and generate the cod and JAD mode command line? I'm looking for an option to compile my application using the command line and to build the JAD files & cod. I developed the my application in Blackberry JDE and I need to transfer my app on my BB device without construction of JDE. It should be done using the command line only. Can you guide me? Thanks in advance, Bala. This can be done via Ant BB tools Check the homepage of BB Ant tools for instructions. If you are not familiar with Ant, see Apache Ant home page before checking the Tools Ant BB. Access iCloud drive via the command line I wanted to write a small script to access iCloud by car via the command line, and to my surprise, this seems to be a very special place that is not displayed in /Volumes or even in my home directory is Dropbox. Veterinarians here know the way, if not to enlightenment, then to iCloud drive? Thanks in advance. It is actually a rather interesting problem. I did research I should have done before I came here and found that iCloud Drive is accessible here: What is interesting is that the many, many interesting things found in this directory when you reveal all the files through ls - al, is that custom directories seem to appear. Even more interesting, in the Finder, select go > go to folder... and that type path and it does not recognize the path. Type ~/Library/, and then of course that's fine and see you the directory of Documents Mobile... Create the command line for the Dump file without having to install additional tools I should automate the creation of dump files. It must to be command line and without installing tools such as ProcDumpTechNet.Microsoft.com/Sysinternals/dd996900, minidump or similar. I think that it is not a solution but if someone can help me.
Why command windows appear indeed when the computer is started? Hello Check to see if the problem exists in Safe Mode, if the computer works as expected in mode without failure, then we can solve the problem in the clean boot state. b. it is a possibility that there is a startup program that is launched with a command line and it appears. I hope this helps. Thank you, and in what concerns:
Visit our Microsoft answers feedback Forum and let us know what you think. I'm under Windows Explorer from a command line under Vista and 7. Under XP I could use the /n switch to control or not display the navigation pane. This doesn't seem to work on later operating systems. How is it possible? Hello How to change Windows Explorer icon to open a folder in Windows XP and Vista Diffierent - this shows the Command line switches to display items or folders when you open Windows Explorer I hope this helps. Is there a problem with Adobe Reader DC using the command line to open a file? Hello I am a developer and we use Adobe Reader to view our PDF help files in our application. For years, we used WinExec() to open Adobe Reader, by specifying the file to open on the command line and it has been working perfectly. In other words, upward until our users began to load Adobe Acrobat Reader DC. Despite this work very well when you type a command using CMD.exe, it simply does not help WinExec() from another application programmatically. Also, I modified the code to try using CreateProcess() or ShellExecute() and these functions do not work either. It may have to do with the fact that there is a switch or a parameter now within the DC, but I don't know what it is, or why it happens. If anyone can shed some light on this it would be much appreciated because it severely hampers our latest version of the software. Kind regards Leigh. A common cause is not to put quotes on the command line, so instead of "c:\program files...\acrord32.exe" "c:\documents and settings\...my file.pdf. You write "c:\program files...\acrord32.exe" c:\documents and settings\...my file.PDF This has always been bad, but older versions it would accept anyway. (It was a recent change but not in DC). I would recommend using ShellExecute instead of the command line, however. That simulates a double-click and executes everything the user has created for PDFs (perhaps Reader, Acrobat maybe, maybe something else). Hello I am new to triggers, so I don't know if I'm doing something wrong or if I'm having a 'silent' time With the code below, I wrote a trigger I want to apply to a table. Problem is, when I write in my command line and end the command with 'END;' and press 'enter', the grave to a new line command line and does not run my code... and I can't find a way out without closing my command prompt. What I am doing wrong? I'm using Oracle 11 g Express. Does anyone have any suggestions? Thank you! CREATE OR REPLACE TRIGGER EMPLOYEE_AGE_CHECK BEFORE INSERTING WE EMPLOYEE FOR EACH LINE BEGIN IF ADD_MONTHS(DOB,216) > trunc (sysdate) THEN RAISE_APPLICATION_ERROR (-20950, "Employee is under 18 years old!"); END IF; END; EXAMPLE TABLE: CREATE TABLE EMPLOYEE (EmpNo NUMBER (6) PRIMARY KEY,) DATE OF BIRTH DATE); Hello I assume you mean SQL * PLUS, when you talk about command line? SQL * PLUS expected a / as run command See also difference between ';' and ' / ' in the SQL scripts Concerning Marcus Take the input from command line I have a sql file with multiple accept statements. Create the text file and put a value per line in good condition. For example, you have the script following script.sql: Text file values.txt might be the following: Then, use the following syntax: Deploy the model via command line Hi all, Is possible the deply a model via command line and set hostname and network? Thanks for your help PS: Do not forget a gift for the ghetto script repository You try to create a model of an existing VM using the CLI or the cloning of a virtual machine from a template? ========================================================================= William Lam VMware vExpert 2009,2010 VMware VCP3, 4 VMware VCAP4-DCA VMware scripts and resources at: http://www.virtuallyghetto.com/ Introduction to the vMA (tips/tricks) Getting started with vSphere SDK for Perl VMware Code Central - Scripts/code samples for developers and administrators If you find this information useful, please give points to "correct" or "useful". Not able to access sqlplus command-line linux for the new user added > It seems that if you have a permissions problem. If your username is not a member of the oinstall group, he or she has no access to the necessary sql * more files. I recommend you read MOS 420083.1 Note for a more in-depth discussion to set the file permissions on the Oracle home. How can I speed up the movement of the dashes (-)? When you type in an application that requires a series of dashes, they move so slowly that I end up having to hit the key every time sometimes through the entire letter. My trackball moves the cursor perfectly fine, but when you use the keyboard layo Satellite L350 - connection GPS Navigon 7071 premium car Satellite L350 - I can't get the GPS unit to be recognized when connected with the USB cable. Error - "unrecognized device" advice please? I2C implementation using NOR-6008 Hello world I have a NOR-6008 low cost multifunction data acquisition. Can I use this with shifter voltage level to apply the I2C Protocol... THIS PROBLEM JUST STARTED WEEK LAST my printer will not connect to my laptop I can't print from my laptop, when I go to print I see my wireless printer, but it appers offline. the internet is turned on and the laptop and printer are both connected to my wifi. I can print from my desktop but not my phone any suggestions?
com.mypkg.MyMidlet: WARNING! : no definition not found [INFO] com.rim.resources.MyProjectRIMResources: error! : class: com.mypkg.MyMidlet has no members:
Article number: DB-00081Similar Questions
(1) symbolic links
(2) links
(3) the junction points
GUI version is here: http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html
AbstractPane *root = qml->createRootObject
qcc -Vgcc_ntox86 -lang-c++ -Wl,-rpath-link,/opt/bbndk/target_10_0_9_386/qnx6/x86/lib -Wl,-rpath-link,/opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib -o o-g/MyApp o-g/.obj/main.o o-g/.obj/MyApp.o o-g/.obj/moc_MyApp.o -L/opt/bbndk/target_10_0_9_386/qnx6/x86/lib -L/opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib -L/opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/qt4/lib -L/opt/bbndk/lib ./myStaticLib.a /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/gcc/4.6.3/libstdc++.a /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libexpat.so.2 /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libsocket.so -lm -lbps -lbb -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtXml -lQtGui -lQtNetwork -lQtCore
root@server:/opt/bbndk#host_10_0_9_52/linux/x86/usr/bin/ntox86-gdb /home/puneet_narsapur/webrtc/ip/psl_p2pwebrtc_r2835_x86_bb10/trunk/third_party/libjingle/source/talk/examples/BBTalk/x86/o-g/PeerConnection /home/puneet_narsapur/webrtc/ip/psl_p2pwebrtc_r2835_x86_bb10/trunk/PeerConnection.core
GNU gdb (GDB) 7.4 qnx (rev. 691)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=i486-pc-nto-qnx6.5.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/puneet_narsapur/webrtc/ip/psl_p2pwebrtc_r2835_x86_bb10/trunk/third_party/libjingle/source/talk/examples/BBTalk/x86/o-g/PeerConnection...done.
[New pid 8880242 tid 1]
[New pid 8880242 tid 2]
[New pid 8880242 tid 3]
[New pid 8880242 tid 4]
[New pid 8880242 tid 5]
[New pid 8880242 tid 6]
[New pid 8880242 tid 7]
[New pid 8880242 tid 8]
[New pid 8880242 tid 9]
[New pid 8880242 tid 10]
[New pid 8880242 tid 11]
[New pid 8880242 tid 12]
[New pid 8880242 tid 13]
warning: Corrupted shared library list: 0x0 != 0x86f8000
warning: Could not load shared library symbols for 15 libraries, e.g. libQtDeclarative.so.4.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Program terminated with signal 11, Segmentation fault.
#0 0xb086709e in __free () from /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libc.so.3
Traceback (most recent call last):
File "/opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libstdc++.so.6.0.16-gdb.py", line 59, in
Error: Validation of the AIR is not
Error: Validation of the AIR is not
Perhaps because images in the bg file could not be loaded?
Perhaps because he had no permission to keep screen from dimming?
(2) what command line starting by "blackberry - airpackager.bat" is OK to use?
(3) all I have to do is build the SWF using Adobe Flash Professional CS6 and then pack it using the Blackberry SDK, right?
~/Library/Mobile\ Documents
a. refer to the article below for the procedure safe mode in Windows XP
A description of the options to start in Windows XP Mode
http://support.Microsoft.com/kb/315222
You need to perform a clean boot to find the program that is causing and then disable or remove.
How to configure Windows XP to start in a "clean boot" State
http://support.Microsoft.com/kb/310353/en-us
Note: When you are finished troubleshooting, follow the steps as explained in the article to reset the computer to start as usual.
Shekhar S - Microsoft technical support.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
command line and that the switch should always work.
http://www.watchingthenet.com/how-to-change-Windows-Explorer-icon-to-open-a-diffierent-folder-in-Windows-XP-and-Vista.html
http://www.mydigitallife.info/2009/02/07/command-line-switches-to-display-special-objects-or-folders-when-opening-Windows-Explorer/
Rob - bicycle - Mark Twain said it is good.
I have a sql file with multiple accept statements.
I would like to run this script from the DOS command line and provide the script with values for declarations to accept it.
How can I do this? (I don't want to change the sql for this file)
Kind regards
HJH
I would like to run this script from the DOS command line and provide the script with values for declarations to accept it.
How can I do this? (I don't want to change the sql for this file)
accept V1 char prompt 'Enter value for V1:'
accept V2 char prompt 'Enter value for V2:'
prompt Your input : &V1 &V2
exit
ABC
DEF
sqlplus.exe /nolog @script.sql < values.txt
We have a strange problem with a new user of linux Redhat , trying to to connect to Oracle 10 g from the command line and would like any suggestions you have.
-other users are able to connect via sqlplus fine to their respective Oracle accounts, both for the new user account.
-I know the user and the password works because we can connect through Oracle SQL Developer from a terminal Windows.
-----
The monitoring of symptoms:
Since terminal linux+:
[user@server]$ sqlplus
Error Initializing SQL 6 * more
SP1 file < lang > .msb not found message
SP2-0750: you may need to set ORACLE_HOME in your Oracle software directory
[user@server]$ echo $ORACLE_HOME
/ opt/oracle/10 g
[user@server]$ echo $ORACLE_SID
~ also define as in other users without db connection problems
[user@server]$ pico * .bash_profile]
~ the value as in other users without db connection problems
[user@server]$ testconnection.pl perl
Series of tests in connection...
ORA_HOME: "/ opt/oracle / 10g.
AMERICAN
DBI connect('local.domain.name','db_username',...) failed: ERROR OCIEnvNlsCreate (check ORACLE_HOME and NLS parameters etc.) to the line /www/testconnection.pl 21
has failed: ERROR OCIEnvNlsCreate (check the ORACLE_HOME and NLS parameters etc).
[user@server]$ pico testconnection.pl
! / usr/bin/perl
Use DBI;
$this_var [0] = "dbi:Oracle:local.domain.name";
$this_var [1] = 'db_username ';
$this_var [2] = 'db_password ';
print 'Test Run of connection...\n\n';
print ' ORA_HOME: '$ENV {ORACLE_HOME}' \n ";
print ' NLS_LANG: '$ENV {NLS_LANG}' \n ";
Print "ORA_NLS: '$ENV {ORA_NLS}' \n ';"
Print "\n\n";
#connect DB
$dbh = DBI-> connect ($this_var [0], $this_var [1] $this_var [2]);
{if ($DBH)}
Print "OK \n";
$dbh-> disconnect;
}
else {}
Print "failed: $DBI: errstr\n";
}
Thanks for your help!
[user@server]$ ls - lt /opt/oracle/10g/sqlplus/mesg/sp*.msb
-rw - r - 1 oracle oinstall 31744 Sep 2005 1 /opt/oracle/10g/sqlplus/mesg/sp2us.msb
-rw - r - 1 oracle oinstall 11776 Sep 2005 1 /opt/oracle/10g/sqlplus/mesg/sp1us.msb
>Maybe you are looking for