Android Question StartServiceAtExact vs StartServiceAt

ArminKH

Well-Known Member
@Erel Well,now we should use StartServiceAtExact for android > 4.4 and StartServiceAt for android < 4.4 ?
or we can use StartServiceAtExact for all android versions?
 
Upvote 0

ArminKH

Well-Known Member
StartServiceAtExact behaves exactly the same as StartServiceAt on Android 4.3-.

Whether you should use the Exact version or not depends on your app requirements.
i am not sure that i understand exactly
You mean we can startserviceatexact on old android version?for example android 2.3?
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
I am trying to use this code:
B4X:
StartServiceAtExact(svcDownload, Datetime.now + X ,True)
But it generates an error:
Error description: Undeclared variable 'startserviceatexact' is used before it was assigned any value.
I am using a phone with OS 5.0. How do you get StartServiceAtExact to work. It is not recognized?
Thank you
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
StartServiceAtExact is introduced in B4A 5.0
Which Version of B4A you are using?
 
Upvote 0
Top