almartinez
About
- Username
- almartinez
- Joined
- Visits
- 60
- Last Active
- Roles
- Member
Comments
-
now I want the Handler to read the temperature and the accelerometer just one time, the code is the same as I put before with the Service. Any Idea?
-
Already done, the code is below here if someone needs it: public class YourService extends JobService { @Override public boolean onStartJob(JobParameters params) { mJobHandler.sendMessage( Message.obtain( mJobHandler, 1, params ) );…
-
What happens to me in the sample is that it duplicates if you use the tempsensor, return to main activity and comeback to the tempsensor, if yours works good I don't know what could be, any idea?
-
Thanks Eric, just called the clean and it works. Now is that the route executes 2 times, if you close the activity and start it again, but it also happens in the sample app that you give. If you restart the board like quitting his energy it works fi…
-
Ok, the clean function is never called, how do I call it? I'm new so sorry for this questions.
-
Nevermind, I just solved it, just an error invoking one fragment from another with this. Thanks Eric
-
I am, but for some reason the variable data.value doesnt work since I updated the API, any reason?public void temp() { getActivity().runOnUiThread(new Runnable() { @Override public void run() { current_temp.setText(…
-
Yes I am, I'm recieving the actual temperature so they are like the data I was recieving correctly before it failed, but then It has to update and it doesn't work.
-
Yes, the text view is large enough as it shows completly data now, the data value is the data that he got from the tempsensor. the problem is that never updates, the data never updates so it gets in the same number all the time even if I change the …
-
Ok, it's solved, thanks Eric.
-
private Timer timerModule; you mean that variable? because private timerModule doesn't work. Thanks for answering.