xamarin.ios - Creating a Xamarin Binding project for PebbleKit iOS -


for past while i've been trying create binding project in xamarin pebblekit ios (the sdk pebble smart watches). hope in doing can create xamarin c# app communicates pebble smart watch, how in objective - c.

here link github page containing code: https://github.com/dankunc/pebblekit-xamarin/tree/master

also, here link simple harness project contains button can use test out binding project: https://github.com/dankunc/pebblekit-xamarin-harness

note: if of kind enough download code , try out, you'll need update reference path in harness .dll in binding project (pebblekitall/bin/release/pebblekitall.dll)

the project compiles, when go use in actual xamarin app, code returns null watch:

var watch = pbcentral.defaultcentral(); 

in objective - c, equivalent method never return null, , i've been struggling quite time.

the pebblekit binding project relies on 2 .frameworks pebble (pebblekit , pebblevendor) , handful of other frameworks included in harness project. generated apidefinition , structsandenums files using objective sharpie cleaned afterwards.

if able me this, or if need provide more information or else, please let me know, , appreciated. i've been struggling quite while , @ wits end. thank you.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -