Continue of this thread:
https://www.b4x.com/android/forum/t...alized-activity-submitjob.103435/#post-651610
despite i already submitted the sourcecode, i again give here a example for this problem.
zipfile testfails has all sourcecode, xml,jar and sourcecode i used for compiling to a library.
test is thus the app, testclass is the sourcecode for the library.
Logging will give this message:
Logger connected to: asus K013
--------- beginning of main
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
Logger connected to: asus K013
--------- beginning of main
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
sending message to waiting queue of uninitialized activity (submitjob)
WorkingHttpJob.zip is a app which passes the test.
Main difference is that the same code is now included in the project, and not as library
log should be:
Logger connected to: asus K013
--------- beginning of main
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
ver=2.11
<ChangeLog>
ver 1.01 - initial release
ver 1.87 - added status codes
ver 2.11 - bug fixes
</ChangeLog>
<FileSize>
1042287
</FileSize>