DipToCurrent() question

milehi

Member
Licensed User
Longtime User
I am seeing problem where the DipToCurrent() value in my app changes. When the app starts, DipToCurrent(100) = 150 (my device is a HTC Evo Shift). After the app runs, and is suspended for a long duration, and then resumes, the value changes. A call to DipToCurrent(100) returns 100. Thoughts?
 

milehi

Member
Licensed User
Longtime User
The problem occurs when the app is left running in background and not displayed, or after a long duration (overnight) - the phone screen dims but the app is still displayed. When the app is resumed again by the user, the dip value changes. My app includes a background service that uses CallSub to push data to the main activity, perhaps that is related to the issue.
 
Upvote 0

dealsmonkey

Active Member
Licensed User
Longtime User
I've seen this aswell ! I have a listview on the main activity that was has smaller text after been the phone has dimmed. Close the app and restart and all is well.

I just thought it was my old eyes (43) playing up again !!!
 
Upvote 0

milehi

Member
Licensed User
Longtime User
Thank you Erel, I will send an email for the fix soon. Did I forget to mention you have a excellent product... keep up the great work. :sign0098:
 
Upvote 0
Top