Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 5 Jahren, 1 Monat
Letzter Beitrag:
vor 5 Jahren, 1 Monat
Beteiligte Autoren:
Danny Lauwers, Fabrice Harari

[WM17] Android webservice Callback/events

Startbeitrag von Danny Lauwers am 15.04.2013 07:36

Hi,

Does anybody now if it is possible to do the following:

Android App is running on Phone/or Tablet and gets events from central webservice when something has changed so it needs to update its internal information.

I don't want the device(s) +/- 30 phones polling every second to see if new info is available but push the notification to the

The android app would be a WM17, and the webservice could be WD17 (or .NET if it is not possible in WD 17)

Thanks
Danny

Antworten:

Hi Danny

two problems:
- first android will close ANY application running if it needs resources for something else. This means that there is a good chance that whatever technique you use (pull or push), there will be some times when your app will be closed (to fight that, some application have two services running, one doing the job, the other restarting the first one when closed)
- second, there is currently NO SUPPORT fr the push system win windev mobile (even 18), so you would need to use a 3rd party push system and integrate it in your app, and from what I gather from the french forum, nobody has succeeded yet

Best regards

von Fabrice Harari - am 15.04.2013 12:21
Thanks Fabrice, for your feedback !

Maybe I'll have to write something in Java ?
We'll do some research before continuing...

Danny

von Danny Lauwers - am 15.04.2013 13:50
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.