Description resource path... Warning Msg...
Hello
I use a LoadManager from way back, and I'm trying to use it with a new project. The original code is:
Application.application.systemManager.stage.addEventListener(Event.ENTER_FRAME, enterFrame);
And it comes up with a "warning!" See below!
Description Resource Path Location Type 3608: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLevelApplication'.LoadManager.as line 16 Flex Problem
And this msg "Deprecated since 4.0 Please use FlexGlobals.topLevelApplication"?
Thanks in advance best regards aktell2007
Since flex 4, use FlexGlobals.topLevelApplication instead of Application.application
IE: FlexGlobals.topLevelApplication.systemManager.stage.addEventListener (Event.ENTER_FRAME, enterFrame);
also, for your example, you don't need the systemManager or stage reference so you can simplify to: FlexGlobals.topLevelApplication.addEventListener (Event.ENTER_FRAME, enterFrame);
Tags: Flex
Similar Questions
-
Hello world
I want to debug my code now, but I have this error on BlackBerry_App - Descriptor.xml (see title).
Here is the text of my xml gall:
I read it could be an issue with jre, or material of the installation, but I have reinstalled, I use the blackberry jre 6.0, but the error is still there...
What is the case?
And how can I solve it?
Everyone answered cordially
Thanks for your response!
No accents in my properties, but it wasn't for me a problem of jre. I used the jre7.0
I also note that blackberry offers default download of the jrs 6.27
My problem is solved
-
phishing data click Send firefox warning msg data is compromised
Phishing e-mail when you click on a given page where data has been fulfilled, clicking on then, gave warning msg 'fake website. Data was obtained for the bad guys?
A new attempt and a link on the email now gets only forged site web screen
The blocked message URL is: public1.landforsaleinmarvin.c...
So what is your question?
-
DesignJet 1055 CM path error msg
Just finished replacing the belt according to the manual. set the table plotter back together and turned on. After auto checks are completed it begins to initialize and then I get the display "turn the power off. Check the path of the print head. 1 "
I've checked everything and still get this message. I had a lot of rubber dust I cleaned before putting the new belt and also used the applicator of oil on the stems roadrunner front back together.
Help.
The coding Strip was not sitting in the Groove on the print head.
-
I am typing on a trajectory that began as a letter and I've now converted to outlines, and yet it tells me "you must click a non compound path, non-masquage to create text on a path" when I try.
Why is this happening? What can I do to solve the problem? Thank you.
Hello
Try this:
Make a copy of your letter-shape to the Clipboard (you need later)
Ungroup (shift-cmd-G/shift-ctrl-G)
Right click and select "release a compound path.
Add your text in the path (which should disappear)
Paste in front the original letter form
-
OPA deletes generated resources without warning. Seems like a bug to me.
I was astonished on .rmod files that apparently disappear at random times.
Whenever something is built, all previously created files are deleted. I think that's wrong.
two kinds of things can be built: be a .zip file containing the stuff to deploy the modules OR a file .rmod containing the module library.
When the .zip file is generated, a precedent built .rmod file disappears. In addition, when the .rmod file is generated, a previous built .zip file disappears.
When the .rmod file disappears, this causes any other project, what matters this module, has a broken link.
I tried to find the cause of these broken links, not knowing the behavior I described in the previous paragraph. I thought that subversion was to blame, because I saw a known issue with the combination of modules and subversion.
Is it necessary to throw the file .rmod, when the .zip file is generated? If not, please fix this in a future version of OPA: do not remove the .rmod file when the .zip file is generated.
Thank you
Han Joosten
Han,.
I understand your frustration. The reason that delete us anything in the build file is to remove anything that might be technically obsolete. If you rebuild a project all the files in the folder build left a previous version may not reflect the current state of the project, and this could lead to confusion.
The best advice I can offer is that you are not referencing the file .rmod from the directory to build the project. In other words, you must build the module and copy it to a location you control and then replace it as you wish. In this way, the project uses the file .rmod was not this mysterious deleted file.
See you soon
Frank
-
Hello everyne.
Please help me on the following: -.
I have the button Delete. I want to change the message when I am deleting a record.
I have target URL: -.
JavaScript:confirmDelete(htmldb_delete_message,'DELETE');
Thanks in advanceHello
Access your shortcuts in the shared components section, you should see an article there named DELETE_CONFIRM_MSG where you can change the display text.
Hope this helps,
John.
--------------------------------------------
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone! -
Hey
I am very new to Blackberry/Java development if any help would be great.
Using the tutorial on how to create blackberry javascript extensions that I wrote a very simple extension that will download a file from you. Everything seems fine, I can export the JAR but I get the following in eclipse warning:
Description Resource Path Location Type Signing Required: RIM Blackberry Apps API (0x52424200): Import uses protected Class net.rim.device.api.web.WidgetConfig ByteReaderExtension.java /TribalWorksByteReader-OS6/src/tribal line 5 BlackBerry Protected API
When I try to use the extension to javascript in my application webworks, nothing happens. Simply, it stops and does not receive from past the line, where I make my call.
alert("before extension call"); tribal.download.downloadFile(remoteFile, localFile); alert("after extension call");
In the emulator, I get the first alert, but not the second. I'm also a few calls from Dialog.alert in my extensions javascript that ever fire. Kind of I'm stuck at this stage since there is no errors so I don't really know where to start.
Someone knows something similar or know how I can fix this?
Packer widget 1.5
OS: 6.0.0.337
Device: 9800
I am also to build my javascript extension nuer Blackberry JRE 6.0.0
Edit: I'm also compiling the application with bbwp.exe
Thank you!
Chris
I thought about it.
I used a file struggle to update the index.zip and compile it with bbwp.exe.
I forgot to add the ext for the zip folder.
-
Flash Builder random error associated with CFCS 'qnx-screen '.
Hey all,.
It's been about 8 months since I finally published my app PlayBook... It's been long since, so I'm a bit rusty...
I'm seeing my source code, compile it with the new SDK.
I downloaded the Simulator 2.0, updated the OS on my tablet to 2.0 and installed the new Tablet OS Beta 2.0 SDK.
I am trying to get my application up and running, and I get this error:
"Description Resource Path location Type
"Could not open" / Applications/Adobe Flash Builder 4.5/sdks/RIM/blackberry-tablet-sdk-2.0.0/frameworks/libs/qnx-screen ' PaperRobo unknown Flex problem.I use a Mac and Flash Builder 4.5 running
I use the Flex SDK 4.5.1... and it seems that all the appropriate Blackberry tablet SDK swcs are connected properly... See screenshot:
Any ideas what's not here?
It also looks that QNXApplicationEvent no longer exists?
I also tried to create a new project from scratch and get the same error of Flash Builder
I don't think that there is nothing wrong with your stature. Try to create a new project, as shown in jtegen and see if it works. If this does not work, you can still manually add the .swc files.
It seems to be looking for them in the wrong place.
"/ Applications/Adobe Flash Builder 4.5/sdks/RIM/blackberry-tablet-sdk-2.0.0/framework"
s/libs/qnx-screen'
Should be "/ Applications/Adobe Flash Builder 4.5/sdks/RIM/blackberry-tablet-sdk-2.0.0/framework"
s/libs/qnx/qnx-screen
If you do this be sure to do the qnx - air.swc marked as external.
-
I cannot register a QML type. The first time I did it with the DataModel PrayerModel type I managed to do the work. However, I get errors with the PrayerBBMManager now. It is based on the example of Battambang, but I simplified the entire BBM feature heavily.
Real errors are:
Description Resource Path Location Type undefined reference to `prayerbbm::PrayerBBMManager::~PrayerBBMManager()' PrayerJournal line 86, external location: f:\bbndk\target_10_0_9_2318\qnx6\usr\include\qt4\QtDeclarative\qdeclarativeprivate.h C/C++ Problem Description Resource Path Location Type undefined reference to `prayerbbm::PrayerBBMManager::PrayerBBMManager(QObject*)' PrayerJournal line 82, external location: f:\bbndk\target_10_0_9_2318\qnx6\usr\include\qt4\QtDeclarative\qdeclarativeprivate.h C/C++ Problem Description Resource Path Location Type undefined reference to `prayerbbm::PrayerBBMManager::staticMetaObject' PrayerJournal line 163, external location: f:\bbndk\target_10_0_9_2318\qnx6\usr\include\qt4\QtDeclarative\qdeclarative.h C/C++ Problem Description Resource Path Location Type undefined reference to `prayerbbm::PrayerBBMManager::staticMetaObject' PrayerJournal line 189, external location: f:\bbndk\target_10_0_9_2318\qnx6\usr\include\qt4\QtDeclarative\qdeclarative.h C/C++ Problem
Here's my PrayerJournal.cpp file:
#include "PrayerJournal.h" #include "prayermodel.h" #include "prayerbbm/prayerbbmmanager.h" #include
#include #include using namespace bb::cascades; using namespace prayerbbm; PrayerJournal::PrayerJournal(bb::cascades::Application *app) : QObject(app) { qDebug() << "starting PrayerJournal app constructor "; QCoreApplication::setOrganizationName("Alliteration Applications"); QCoreApplication::setOrganizationDomain("http://alliterationapplications.com"); QCoreApplication::setApplicationName("Prayer Journal"); qmlRegisterType ("com.prayerjournal.prayerdata", 1, 0, "PrayerModel"); qmlRegisterType ("com.prayerjournal.prayerbbm", 1, 0, "PrayerBBMManager"); qDebug() << "Registered PrayerModel and PrayerBBM types for QML"; // Create a QMLDocument and load it, using build patterns. QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this); if (!qml->hasErrors()) { qDebug() << "QML is error-free! Celebrate!"; } if (qml->hasErrors()) { qDebug() << "QML has errors"; } //qml->setContextProperty("registrationHandler", registrationHandler); AbstractPane *appPage = qml->createRootObject (); Application::instance()->setScene(appPage); qDebug() << "Created and initialized main.qml"; } Thanks to all that refers to BBM files qml commenting regularly and working backward in this file I can identify the problem happening to qmlRegisterType statement.
Here's the prayerbbmmanager.h:
namespace prayerbbm { /** * PrayerBBMManager Description: * * This manager takes care of registering the application with BBM */ class PrayerBBMManager: public QObject { Q_OBJECT public: PrayerBBMManager(QObject *parent = 0); virtual ~PrayerBBMManager();
And the prayerbbmmanager.cpp:
namespace prayerbbm { PrayerBBMManager::PrayerBBMManager(QObject *parent) : QObject(parent) { m_uuid = QString::fromUtf8("d8484b8d-bed5-4cde-8c11-462c6a04bc35"); if (mSettings.value("connectToBBM").isNull()) { mSettings.setValue("connectToBBM", QVariant(false)); } } PrayerBBMManager::~PrayerBBMManager() { }
Any help would be appreciated.
Yes it could be
My money is also on the sources of PrayerBBMManager is not THAT MOC would be because they were transferred in a directory that is not referenced in the .pro project file
-
How to implement the class Singleton cascading C++
I tried to use the standard C++ to implement the Singleton class. It can be compiled well, there's always a mistake to link "Description Resource path location Type cannot declare the member function ' static globalsettings * globalsettings::instance() ' static linking [-fpermissive] problem of C/C++.
Can anyone have a look of my source code to know what is the problem of it? Thank you.
/* * globalsettings.h */ #ifndef GLOBALSETTINGS_H_#define GLOBALSETTINGS_H_ class Globalsettings {public: Globalsettings(); virtual ~Globalsettings(); int get_value(); void set_value(int v); static Globalsettings &instance(); private: int m_value; static Globalsettings *s_instance;}; #endif
Wrong with the CPP:
/* * globalsettings.cpp * */ #include "globalsettings.h" Globalsettings* Globalsettings::s_instance = 0; Globalsettings::Globalsettings() { s_instance = 0; m_value = 0; } Globalsettings::~Globalsettings() { s_instance = 0; } static Globalsettings& Globalsettings::instance() { if (!s_instance) s_instance = new Globalsettings(); return *s_instance; } int Globalsettings::get_value() { return m_value; } void Globalsettings::set_value(int v) { m_value = v; }
CPP revised (it works)
/* * globalsettings.cpp * */ #include "globalsettings.h" Globalsettings* Globalsettings::s_instance = 0; Globalsettings::Globalsettings() { s_instance = 0; m_value = 0; } Globalsettings::~Globalsettings() { s_instance = 0; } Globalsettings& Globalsettings::instance() { if (!s_instance) s_instance = new Globalsettings(); return *s_instance; } int Globalsettings::get_value() { return m_value; } void Globalsettings::set_value(int v) { m_value = v; }
UPD:
1)
static globalsettings *s_instance;
This should be in the private section.
2)
static globalsettings *instance();
This should be public, so the user can call.
3)
Delete 'static' keyword to the .cpp file.
Even easier approach with late initialization:
all in 1):
static MyClass *sharedInstance();
(2) in the .cpp:
MyClass *MyClass::sharedInstance() { static MyClass instance; return &instance; }
-
#include <; bb/stunts/container >;
Hello dear members.
I have another problem.
- Just add #include
adds 24 errors. I don't understand why this is happening. If I add this line to another service project is ok. I tried to create a new project and copy - paste the code, but still does not work. Any ideas?
Description Resource Path Location Type expected a type, got 'bb::cascades::
::Container' vTunes line 567, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem expected '{' before '(' token vTunes line 567, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem an anonymous struct cannot have function members vTunes line 47, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem member 'bb::cascades::Control bb::cascades:: :: ' with constructor not allowed in anonymous aggregate vTunes line 47, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem member 'bb::cascades::Control bb::cascades:: :: ' with destructor not allowed in anonymous aggregate vTunes line 47, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem member 'bb::cascades::Control bb::cascades:: :: ' with copy assignment operator not allowed in anonymous aggregate vTunes line 47, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem abstract declarator 'bb::cascades:: ' used as declaration vTunes line 587, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem make[2]: *** [o.le-v7-g/.obj/applicationui.o] Error 1 vTunes C/C++ Problem make[1]: *** [debug] Error 2 vTunes C/C++ Problem recipe for target 'Device-Debug' failed vTunes line 31 C/C++ Problem make: *** [Device-Debug] Error 2 vTunes C/C++ Problem declaration of 'int bb::cascades:: ::Container(bb::cascades::Container*)' [-fpermissive] vTunes line 146, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem only declarations of constructors can be 'explicit' vTunes line 146, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem extra qualification not allowed [-fpermissive] vTunes line 47, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem type/value mismatch at argument 2 in template parameter list for 'template class bb::cascades:: ::TBuilder' vTunes line 567, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem anonymous type with no linkage used to declare function 'bb::cascades:: ::Builder::Builder()' with linkage [-fpermissive] vTunes line 567, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem expected a type, got 'bb::cascades:: ::Container' vTunes line 564, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem type/value mismatch at argument 2 in template parameter list for 'template class bb::cascades:: ::TBuilder' vTunes line 564, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem recipe for target 'debug' failed Makefile /vTunes line 50 C/C++ Problem 'Container' does not name a type vTunes line 500, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem recipe for target 'o.le-v7-g/.obj/applicationui.o' failed Makefile.Debug /vTunes/arm line 169 C/C++ Problem 'Container' does not name a type vTunes line 495, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem declaration of '~bb::cascades::Container' as member of 'bb::cascades:: ' vTunes line 148, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\container.h C/C++ Problem changes meaning of 'Container' from 'struct bb::cascades::Container' [-fpermissive] vTunes line 25, external location: C:\bbndk\target_10_3_0_698\qnx6\usr\include\bb\cascades\controls\listview.h C/C++ Problem Reinstalling helped SDK. It seems that some files containing the class of container were damaged.
- Just add #include
-
Problem with the sample project 'StampCollector '.
Hello
I'm new to the blackberry development.
I'm just trying to build a sample project. but I always get warnings.
So there's no way to build the project.
Here's my warnings of the sample project "StampCollector":
hope you can tell what I'm doing wrong. :/Description Resource Path Location Type Asset requires dependency "libQtCore.so.4" to be included in the BAR package. bar-descriptor.xml /StampCollector line 82 BlackBerry App Manifest Problem Asset requires dependency "libQtDeclarative.so.4" to be included in the BAR package. bar-descriptor.xml /StampCollector line 82 BlackBerry App Manifest Problem Asset requires dependency "libQtGui.so.4" to be included in the BAR package. bar-descriptor.xml /StampCollector line 82 BlackBerry App Manifest Problem Asset requires dependency "libQtNetwork.so.4" to be included in the BAR package. bar-descriptor.xml /StampCollector line 82 BlackBerry App Manifest Problem Asset requires dependency "libQtScript.so.4" to be included in the BAR package. bar-descriptor.xml /StampCollector line 82 BlackBerry App Manifest Problem Asset requires dependency "libQtSql.so.4" to be included in the BAR package. bar-descriptor.xml /StampCollector line 82 BlackBerry App Manifest Problem Asset requires dependency "libQtSvg.so.4" to be included in the BAR package. bar-descriptor.xml /StampCollector line 82 BlackBerry App Manifest Problem Asset requires dependency "libQtXml.so.4" to be included in the BAR package. bar-descriptor.xml /StampCollector line 82 BlackBerry App Manifest Problem Asset requires dependency "libQtXmlPatterns.so.4" to be included in the BAR package. bar-descriptor.xml /StampCollector line 82 BlackBerry App Manifest Problem Invalid project path: Duplicate path entries found (/StampCollector [Output path]), path: [/StampCollector]. StampCollector pathentry Path Entry Problem Source file of asset "StampCollector" does not exist. bar-descriptor.xml /StampCollector line 70 BlackBerry App Manifest Problem Source file of asset "StampCollector" does not exist. bar-descriptor.xml /StampCollector line 74 BlackBerry App Manifest Problem Source file of asset "StampCollector" does not exist. bar-descriptor.xml /StampCollector line 78 BlackBerry App Manifest Problem
Best regards
The sample will deploy and run with these warnings.
(I made a new download and build.) I don't see the warnings, but I can deploy and run the application)
-
To help you find number "Type unescaped backslashes are deprecated."
I tried searching the forums but haven't seen anything useful about this error. Not sure what I changed now responsible for this error but when I compile I get the following errors:
Description Resource Path Location Type Unescaped backslashes are deprecated. WeatherPilot line 77 C/C++ Problem make[2]: *** [o-g/WeatherPilot] Error 1 WeatherPilot C/C++ Problem make[1]: *** [debug] Error 2 WeatherPilot C/C++ Problem make: *** [Simulator-Debug] Error 2 WeatherPilot C/C++ Problem
The fact that it gives me a line number, but no file name don't makes me think it is coming from an auto-generated file. That and the single icon with a red x in the Project Explorer is associated by Resources JavaScript WeatherPilotsubgroup, which is my name for projects.
Hello
I recommend that you check a results of compilation for a more detailed description of the error (it should be on the Console tab). If this isn't there, try cleaning and reconstruction of the project.
Tab has analysed errors and IDE is not always extract properly.
-
Hey all,.
I meet an obstacle to the installation of the new SDK...
What I was doing...
My setup is Flash Builder Burrito on Mac...
(1) I went in the sdk files and deleted the file blackberry-tablets-sdk - 0.9.1.
(2) then ran BlackBerryTabletSDK-Air-Installer - 0.9.2.201101111618, which installed the new sdk for 0.9.2 folder.
(3) then I deleted the old VM simulator and installed the new simlulator via VMware
(4) set up my password for the Simulator and settled in dev mode...
(5) then tried to run the project.
Got this err:
"The SDK for the selected project does not contain the BlackBerry Tablet OS SDK."
(6) then I when to the Properties/Build Path and I noticed that 3 blackberry sdk swcs where pathed to the 0.9.1 old file...
(7) I deleted the oldpaths and added the path to the new folder sdk as follows:
(8) then I hit ok but the old paths to 0.9.1 return in the window to build paths with the new paths with this err:
"" Description Resource Path location Type
"Can't open ' / Applications/Adobe Flash Builder 4 Burrito/Adobe Flash Builder Burrito/sdks/blackberry-tablet-sdk-0.9.1/frameworks/libs/air/qnx-air.swc'"I tried to cleanup and the project too. What I mess up in the upgrade process?
Thanks in advance.
Hey,.
everything is on the fritz hah. but we are here to pull each other through (well at least try)
I think I ran into the same problem. try to do the following and see what the results are:
Go to Preferences > Flash Builder > target platforms > BlackBerry Tablet OS
After that, you should have a menu with text fields. Click on browser and choose the folder with your new SDK and click OK. After doing so that all projects have you rferencing target BlackBerry platform will be updated and you should be good to go. Hope that helps. Good luck!
Maybe you are looking for
-
HP Pavilion dv6 3060em: HP Pavilion dv6 3060em Windows XP
Hello! I can't find drivers for my laptop HP Pavilion dv6 3060em with Windows XP Pro. Help, please.
-
Satellite Pro L20: Need utility standby power
Please can you let me know where I can download the utility Power Saver for a Satellite Pro L20?I tried to install a copy of the software, but don't know if it's for a L20 as it crashesat the end of the installation, and when I try to open Toshiba Po
-
How to add memory to the HP Pavilion 15-p020nd
Hello world Plz help me my Pavilion 15-p020nd for adding additional memory opening, I can't find any info on this subject. Kind regards Patrick
-
Microsoft Media Center remote with pace DC50X 1039, Setup box cannot change channel
Can I use Vista Media Center to record only TV etc...Recently I had to use a configuration of Comcast Digital adapter carrier (DC50X) in order to get access to the channels. Vista recognize the Remote Setup Box, but it is not able to change the chann
-
Using whatsapp blackBerry Z10 z10
Hey how we change profile photos in whatsapp... and how we distribute a msg on whatsapp...