hi, How can I make makeWebRequest() to phone app. I need app that returns some data to my data field? I like this data to be offline. Any tutorials or guidlines?
Regards, Ales
hi, How can I make makeWebRequest() to phone app. I need app that returns some data to my data field? I like this data to be offline. Any tutorials or guidlines?
Regards, Ales
Not your phone. The app you want to get data from itself.
localhost
It's what you use in the makeWebRequest in the url.
hi, how can I do web request from data field? Is it possible?
You need to create a background process. They run at most every 5 minutes.
I have one that pulls the current weather from the internet for example, where every 5 minutes is more than enough.
add the background permission, and do the makeWebRequest in the background service.
You can not do it in the view (commpute()/onUpdate()/etc)