I am new here. So first let me say that B4A is a great advance for my effort in building Android apps. I startet first with Eclipse trying to get into that "very special" Java world. Well.. after several days fiddeling around I even manged to customize the "Hello World" application. Not that encouraging... at least for me. Then I came across to that B4A and it was like a flash. It didn't take even one hour to feel familiar with it. That's the way... great stuff... Absolutely worth the money.
Now - what I want to build is some app that stays awake in the background listening to incoming SMS, processing their content, and calling (by intent) GoogleMaps accordingly.
Until now I couldn't figure out how put a running (not pausing or sleeping) B4A app in the background and how to connect some activity to the phone event that I would describe as "New SMS received"
As a workearound I used "SmsMessages.GetAllSince(...)" in a polling loop - but that's a quite uncool approach - and it falls asleep once you click that app in the background.
Any advice - even the smallest one - would be greatly appreciated!
Now - what I want to build is some app that stays awake in the background listening to incoming SMS, processing their content, and calling (by intent) GoogleMaps accordingly.
Until now I couldn't figure out how put a running (not pausing or sleeping) B4A app in the background and how to connect some activity to the phone event that I would describe as "New SMS received"
As a workearound I used "SmsMessages.GetAllSince(...)" in a polling loop - but that's a quite uncool approach - and it falls asleep once you click that app in the background.
Any advice - even the smallest one - would be greatly appreciated!