[DEBUG] android set title error

This commit is contained in:
Edouard DUPIN 2014-06-18 11:59:46 +02:00
parent 8afd56e77e
commit d51301924a
2 changed files with 4 additions and 2 deletions

2
build

@ -1 +1 @@
Subproject commit 523ffb2f517b96b1f0de98340e3806ac27904575 Subproject commit 0ae540881a3ddaf8fe2fd3cfbb5131f3d22fe0fc

View File

@ -528,7 +528,7 @@ class AndroidContext : public ewol::Context {
java_detach_current_thread(status); java_detach_current_thread(status);
} }
void setTitle(std::string& _title) { void setTitle(const std::string& _title) {
EWOL_DEBUG("C->java : send message to the java : \"" << _title << "\""); EWOL_DEBUG("C->java : send message to the java : \"" << _title << "\"");
if (m_javaApplicationType == appl_application) { if (m_javaApplicationType == appl_application) {
int status; int status;
@ -686,6 +686,8 @@ extern "C" {
} }
} }
// declare main application instance like an application:
int main(int argc, char**argv);
jint Java_org_ewol_Ewol_EWsetJavaVirtualMachineStart(JNIEnv* _env, jint Java_org_ewol_Ewol_EWsetJavaVirtualMachineStart(JNIEnv* _env,
jclass _classBase, jclass _classBase,
jobject _objCallback, jobject _objCallback,