-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
What steps will reproduce the problem?
1. Use simple default config, eg:
{"@type":"edu.mit.media.funf.pipeline.BasicPipeline",
"name":"default",
"version":1,
"data":[
{"@type": "edu.mit.media.funf.probe.builtin.WifiProbe",
"@schedule": {"interval": 100} }
]
}
2. Start App, Launch Pipeline
What is the expected output? What do you see instead?
Expected: Wifi-Scan every 100 seconds
Instead: WifiProbe is never triggered (tested via Breakpoint in
WifiProbe.saveWifiStateAndRunScan, furthermore, no data is in the archived file)
What version of the product are you using? On what operating system?
Funf 0.5.0 RC1, Android 4.3
Please provide any additional information below.
My Guess on the problem:
FunfManager.onStartCommand handles the alarm intent from android.
In lines 235 - 238 a NEW instance of an AlarmProbe is generated and run -> the
new instance will NEVER have the listeners registered to trigger the scheduling
chain.
Original issue reported on code.google.com by markus.p...@gmail.com on 30 Oct 2013 at 11:15