This is a generic question about the responsibility of a class in downloading and parsing it's own members
and if this is considered good practice.
I have a now large program that downloads multiple objects from the internet and saves them into lists
I am trying to keep my main class as "clean"...
What is the best practice to get SDK number, considering permissions, library size, performance, etc.?
Reflector or Phone?
Sub SDKVersion As Int
Dim r As Reflector
Dim ver As Int
ver = r.GetStaticField("android.os.Build$VERSION", "SDK_INT")
Let's say I have defined ten geofences in my app, and all is working fine.
Now the user wants to pause the detection for a period, lets say 24 hours. What is the best practice to "pause" the fences, and make sure they "activate" again in 24 hours?
I've managed to find two strategies, but I'm...