02-16-2014 03:12 PM
Please, please help me!
In my main.ccp the part "new ApplicationUI(&app);" is red underlined and the mouse hover says that a ";" is missing, but it doesn't make a difference if you set one or not. When I want to run the app on my phone it says that the "program file does not exist".
What can I do now?
Thank you so so so much!!!
02-18-2014 09:50 AM
I recommend you start a new clean project in Momentics.
To do so, go to File->New->BlackBerry Project -> application -> Cascades -> Next -> Standard Empty Project . Afterwards, simply import to this new project your assets and custom classes. This will ensure that main.cpp and the applicationui class are working correctly.
02-18-2014 11:37 AM
Here's the main.cpp code:
using namespace bb::cascades;
Q_DECL_EXPORT int main(int argc, char **argv)
Application app(argc, argv);
// Create the Application UI object, this is where the main.qml file
// is loaded and the application scene is set.
// Enter the application main event loop.
Momentics Version: 2.0
Thank you, I already tried this. The app works fine but the problem is that BlackBerry Appworld doesn't accept is as an update for my already existing app. Could I change this?
02-18-2014 11:57 AM
Oh, that could be a signing issue. Are you using the same signing keys to sign the updated version of your app?
02-18-2014 12:27 PM
Yes, I do. The problem is when I copy the assets and the main.qml to a new project. With the old one an update would work, but the app doesn't work because of the main.cpp