Author Topic: Android sensor programming  (Read 1552 times)

0 Members and 1 Guest are viewing this topic.

Offline ryszjak

  • Visitor
  • Join Date: Jan 2015
  • Posts: 1
  • Karma: 0
  • Platform: PC/Steam
Android sensor programming
« on: January 12, 2015, 09:07:48 AM »
I'm having issues with examples H10 and both H11s running on my Samsung 5S.  I haven't had a lot of time to debug, but am wondering if it's the code or something on my end.

Tried targeting 4.4.2 and 5.0 with same result (system lock up)

Offline twobitcoder

  • Administrator
  • -[ EPIC MEMBER ]-
  • *****
  • Join Date: Mar 2007
  • Posts: 4,931
  • Karma: 69
  • Game: Adventure
  • Genre: RPG
  • Platform: Atari
  • Studio: Activision
Re: Android sensor programming
« Reply #1 on: January 18, 2015, 05:48:05 AM »
IDK, haven't tested the code on any new devices. Try taking out any timing code in the example. There have been reports of timing code causing problems on newer phones. The book has aged much more quickly than the norm due to the evolution of the Android SDK. So, I doubt if it will be viable for another year in the more specific examples such as the sensors.