Android Question B4A v 3.0: debug(legacy): StartService does not start it

peacemaker

Expert
Licensed User
Longtime User
HI, All

I found that in legacy debug now if to StartService - it's created, but no Service_Start event.
And an app has FC-dialogue. Android 4.2.

If rapid debug - it works as usual. No hungs.
 
Last edited:

peacemaker

Expert
Licensed User
Longtime User
No, nothing. Just start a service from just started Activity.
Service is sreated, but not started in the log.
And FC after 5 seconds. No error in the log.
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Now I returned to v 2.71, seems here no such issue with debugger
.
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Erel,

Still has this problem. But only on a single device. B4A 3.8.
B4X:
LogCat connected to: 0123456789ABCDEF
--------- beginning of /dev/log/system


--------- beginning of /dev/log/main


** Activity (main) Create, isFirst = true **


** Activity (main) Resume **
** Service (db) Create **
** Service (db) Start **
** Service (db) Start **
** Service (inetsrv) Create **

And after some time the system FC dialogue is opened.

On emulators - no problem.

I see that can be judged as "device problem", but some app users send the complaints about it.
Found that if Internet connection is switched on - such problem is rare.
inetsrv service uses Internet, as named.
 
Upvote 1

peacemaker

Expert
Licensed User
Longtime User
Thanks, removed.
And combined 2 services into single - seems now is OK.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…