Ifor's orienteering training log

News

Page 1 of 2  > >>

Jan 3, 2012
Category: Website
Posted by: ifor
Forum added
Jan 2, 2012
Category: Website
Posted by: ifor
OK upgraded the site CMS system just now to 1.10.2.  hope everything still works.
Oct 30, 2011
Category: Website
Posted by: ifor
Added a blog section to the site.  I need to sort out the templates a bit as things are not looking so good.
CMS - 1.10.3 - Hyacinthe
 

Hard Buttons

You can map the variuous functions you use in IpBike while activly logging data onto the hard buttons avalible with you device.  There are a couple of buttons that can not be used by a standard app namely the power and the home buttons.  Google consideres these 'system only' so as to stop a mallicious app being able to take over the phone all together.

Setup.

Settings -> Audio Visual Settings -> Key Overrides gets you to a list of actions that mostly corrispond to on screen buttons used to controll IpBike while riding although there are also the swipe left and right actions to change screen and the lockscreen action to disable the touch screen.  For each item you can set the button that you want to cause the action to happen.  IpBike understand three different styles of button action, press, long press and double press.  Select an item from the list and then press the button you want to assign to it in the style you want to use. You should be able to see what the button is and the style IpBike thinks you used.  If you want to change just press another button.  Once happy press OK on the dialog.  cancel to not change anything or clear to have no button asigned to the action.

Order.

The order of the list of actions is important.  IpBike will search though this list in the order in the settings page when trying to find out what to do when you press a button.  For actions that map to on screen buttons in IpBike for the action to be taken the button needs to be on the display and enabled for the action to happen.  This allows you to map the same button action to different actions in a sensible way.  E.g. you can use press volume up to workout start -stop and press volume down for workout - next  You can use the same 2 press actions for map zoom in and map zoom out.  If you have the workout display you get the workout function if not you can get the map function.

Limitations

If you asign a button to an action there is no way for that button to do it's normal function from within IpBike as well as the IpBike action.  e.g if you assign double press of volume up to start sensors you want be able to just press for the normal volume up.  I will look to add direct volume controll into IpBike some time soon to let you get around this.

virtual buttons can be mapped e.g. you can map a virtual on screen back button but these are disabled if you use the screenlock function so mapping these needs carefull thinking.

Example

Here is how I have the 2 volume buttons on my Nexus 4 mapped.

  • Workout Start -> Press Volume Up
  • Workout Pause -> unmapped
  • Workout Next -> Press volume Down
  • Zoom In -> Press Volume Up
  • Zoom Out -> Press Volume Down
  • Start/stop Sensors -> Unmapped
  • Start/stop Trip -> Double press Volume Up
  • Lap -> Press Volume Down
  • ScreenLock -> Double press Voluem Down
  • TTS feedback -> upmapped
  • Next Screen -> Long press Volume Up
  • Previous Screen -> Long Press Volume Down

ANT+ Remote control.

With version 2.0.0 of IpSesnorMan there is support for ANT+ remote control devices.

You need to have the ANT+ Plugings service installed as I am relying on the Plugins API's.  The setup is slightly different to other sensors.  The phone is the master and the remote is the slave e.g. the opposite way around to normal.  Because of this you have to add the capability to IpSensorMan first.  Go menu -> Add ANT+ Sensor -> remote control.  Back on the main screen you can long press the sensor and go 'Open'  you should now be able to pair the sensor to the phone.  For my O-sync sensor this means pressing the up and down buttons simultaniously.  The led gose green when good and if you press a button it should be displayed in IpSensorMan.  Other ANT+ remotes should work e.g. the Garmin one for example.

To set things up in IpBike go to Settings -> Audio Visual settings -> Remote control buttons It's at this point that IpSensorMan will be started in the background be ready for this and start the remote to conect as well and it should connect.  You can now choose a function and asign a button to it.  Different remotes have different buttons but the assignment it entirly up to you.  With the o-sync a long press comes though as a diufferent button to IpBike than a short press.  You can assigne the same button to multiple functions.  The functions are taken in the order they are listed in the settings page.  For things like the workout controls you need to of been looking at a screen with workout controls for those functions to be avalible (although the screen dose not need to be on)  So if you have gone to a workout screen the buttons are active otherwise you can use them for a function lower down the list.  

Personally I have things set like this with the 3 button O-sync.

Workout start key-> long press middle

Workout pause key -> press lower

Wrokout next key -> press upper

Zoom In key -> press lower

Zoom Out key -> press upper

Lap key-> press middle

Next Screen key -> long press lower

Previous Screen key -> long press upper.

 API

For anyone interested in controling IpBike from another app the interface used for the remote control between IpSensorMan and IpBike has the potential to be used as a control API.  There are some fixed function fake buttons assigned to each function I am interested in working with anyone interested in getting this into working order. Feel free to email me. 

 

Previous page: Estimated Gear  Next page: RunKeeper Live