locked
[Xamarin Blog] Creating Your First Watch Kit App RRS feed

All replies

  • User14 posted

    Slides from the video also available to view.

    I also blogged about building a slightly more functional Watch Kit app.

    There's also a Todo list watch sample, a Calculator, and an integration with Instagram.

    Thursday, February 12, 2015 8:08 PM
  • User107628 posted

    @CraigDunn Now that there is Apple Watch Kit support, when could we see the unification of this and Android Wear to be provided within Xamarin Forms? I assume it is already on some roadmap some where?

    Thanks.

    Friday, February 13, 2015 1:59 AM
  • User14 posted

    @niramax2 it's not obvious that watches could ever easily fit into Xamarin.Forms - certainly not with any expectation of being able to use the same controls that we currently support across multiple platforms. The watches are very different from each other (and from phones/tablets)... at least phones and tablets have a lot in common (same gestures, same keyboard capabilities, same UI controls, etc).

    Xamarin lets you share common C# code across Android Wear and Apple Watch apps, and build them in your favorite IDE on Mac or Windows (* not yet for Apple Watch). I would advise taking advantage of these capabilities to build Xamarin-platform apps for Android Wear and Apple Watch, creating custom interfaces for each one that takes advantage of the unique hardware and capabilities of each.

    Friday, February 13, 2015 2:47 AM
  • User53 posted

    Is there any documentation on how to sign these things?

    For example, when I create a WatchKit app in Xcode and then build, it creates provisioning profiles for the iPhone app and watch extension, but not for the watch app.

    However, when I try to deploy with Xamarin, I keep getting the error that the watch app needs a provisioning profile. Have you created provisions for all 3 apps?

    I can't find any docs on this, let me know if I missed them.

    Tuesday, March 10, 2015 10:58 PM
  • User14 posted

    Hey @FrankAKrueger... no, you have not missed those docs (still working on it). I'll post more when I know.

    Tuesday, March 10, 2015 11:03 PM
  • User16 posted

    I created provisioning profiles for the IOS app and the watch extension (explicitly created profiles for these so I could use a shared app group), and left the watch app set to automatic provisioning.

    Wednesday, March 11, 2015 2:21 AM
  • User14 posted

    Another note:

    (it's possible to) successfully create WatchKitCatalog.ipa using Distribution provisioning profiles and from Xamarin Studio->Archive. I set a specific distribution profile for main app and set watch extension and watch app to Distribution: Automatic.

    More info as it comes to hand...

    Wednesday, March 11, 2015 11:28 PM
  • User31634 posted

    What is the "granularity" of [Action ("button1_Activated:")] ... is there _Down _Up etc... ? What I'm really after is some way to get fast x y or touch on are region of the watch screen. Lots of little buttons seemed worth a shot.

    Ideas?

    Monday, June 1, 2015 8:57 PM
  • User14 posted

    @DavidGerding no, the current version of WatchKit does not provide that granularity. There is no equivalent to TouchUpInside, etc like iOS; nor can you detect the X,Y coordinate of a touch. The only thing you can handle is a button being 'touched'.

    Lots of little buttons might be technically possible, but remember in this version of the SDK every touch triggers a bluetooth call back to the phone to run the button's event handler.

    Monday, June 1, 2015 9:06 PM
  • User181359 posted

    @CraigDunn said: Hey @FrankAKrueger... no, you have not missed those docs (still working on it). I'll post more when I know.

    Hey @CraigDunn, any news?

    Sunday, January 15, 2017 6:25 PM
  • User181359 posted

    Solved, i found what i was looking for here

    Monday, January 16, 2017 9:24 AM