Is there any lib or method from which i can get current value of all supported sensors. ?
Please note i don't want to know value on changing.I want current values whenever invoke the event.I searched in forum and found that PhoneSensor lib can only invoke an event on value change.
Ok. One more question. If we declare too many variables in process globals will it slow down the OS and if we declare a variable in sub are they destroyed after sub is destroyed.
I have this question in mind as i don't want to fill up user's phone with useless variables till my app is running.
Is there any tutorial which defines scopes in b4a not in java (i think b4a does something different) ?
so if i declare gps,sensors,download manager,media player...and many more objects in Service's Process Globals then neither it will cause any memory related problem nor it will battery draining.
Yes i will do that.
Another thing is
Is there any tutorial which explains variables scope in B4A ?
so that i can make a better application rather than struggling with unknown errors due to scopes.