iOS Question Run application in background

hatzisn

Well-Known Member
Licensed User
I posted in iOS questions. I thought it would be appropriate, isn'it? Can you be a little more specific about this implementation? Who sends the notification f.e.? Please be as specific as you can because I am a 3-day only owner of b4i and being used in b4a I see a tone of differences in the two OSs and related development tools.
 

hatzisn

Well-Known Member
Licensed User
@ilan Thank you Ilan, pretty informative...

@Erel What I was looking for has to do with detecting bluetooth v4.0 (I think it's BLE) devices and run a code at device detection. I searched the NET and came up with this for the UIBackgroundModes


Declaration
-----------------
[string] UIBackgroundModes

Possible Values
-----------------
audio
location
voip
external-accessory
bluetooth-central
bluetooth-peripheral

fetch
remote-notification


I suppose I could exploit the red values and the iBLE library... I have four questions about this:
1) I wanted to ask where it is used the always-use-location description (does it display somewhere?) you have added in the thread that Ilan posted.
2) Also how can I spot the corresponding values for the other UIBackgroundModes Values (or are they constructed with the same logic as location) ?
3) I also suppose fetch can be used to download with iHttp and iHttpUtils in background... Am I right?
4) If I want to exploit two of these methods f.e. bluetooth-periferal & fetch I suppose I will add two UIBackgroundModes and four "descriptions"... Right?
 
Top