11-08-2012 05:00 PM
Basically you can move the code that displayed your initial screen to that section. Note that for the build error below it looks like you forgot to import your App class into RegistrationHandler.
Alternatively you can just display your original main screen and perform the BBM Connected process in parallel, removing the user from having to press a Continue button. The Continue button screen isn't ideal for a real world application, but more of a demo so a developer could use it to view the status messages returned from the registration process. You could handle these in a more user friendly way in your application.
11-12-2012 07:33 PM
02-01-2013 05:55 AM
i trying to run sample database creation sample from git hub but i am getting 2 errors in app.hpp file ie
class App: public QObject //error this line
// Classes that inherit from QObject must have the Q_OBJECT macro so
// the meta-object compiler (MOC) can add supporting code to the application.
App();//error in this
// "Q_INVOKABLE" allows these functions to be called from main.qml
Q_INVOKABLE bool createDatabase();
Q_INVOKABLE void dropTable();
Q_INVOKABLE void createTable();
Q_INVOKABLE void createRecord(const QString &firstName, const QString &lastName);
Q_INVOKABLE void createTableAsync(); // This is an example of how you make asynchronous calls to the database.
// This is the callback used for executing asynchronous queries.
void onCreateTableReply(const bb::data:ataAccessReply &reply);
// Helper method to show a alert dialog
void alert(const QString &message);
// The connection to the SQL database
so plz reply with some solution