httpebble-ios
httpebble-ios copied to clipboard
Integrated httpcapture (taking Pebble screenshots)
Hi,
After a fun little adventure coding for the Pebble I have now added a screenshot feature to httpebble. The screen capture part in "httpcapture.c" is a bit of a hack (the Pebble part). I wrote a little about this journey here http://memention.com/blog/2013/07/20/Yak-shaving-a-Pebble.html
This commit adds a receiving part to httpebble-ios. When a screenshot is sent to the iPhone it will be shown on the Pebble image and tapping it will make it possible to save the screenshot to the camera roll.
I used 0xFFF9 as the key for a framebuffer slice. The http.c version I use can be found in pblindex https://github.com/epatel/pblindex and the extra parts in "http.c" is in "httpcapture.c" with minimal changes in http.c.
Hope you like it :) Would love to see it in an official App Store version (so I don't need to be compiling it myself and its easier for others to use it)
Please note I added a feature to initiate the screenshot from the httpebble-ios client. Tap screen sends, when capture is shown a tap either saves or empties the screen.
This looks potentially interesting. I might look into adding it, perhaps along with some other fixes,
I have now updated the "demo" pebble apps. You can get them here http://memention.com/httpcapture-demos.zip if you don't want to mess with building them. You can see a demo usage how it works here http://www.youtube.com/watch?v=DbfBWviuO0w
Hi Katharine, what about this PR? I think it's really worthwhile to have this to enable developers to put correct watchface previews on the distribution sites. Guess you guys are busy out-beta'ing the SDK2?
@michaelaye I recommend you look at using SDK 2.0, httpebble-ios is getting deprecated. The Javascript bridge is great and they have built a screenshoot feature into the new pebble
tool :)
Would love to, but according to https://developer.getpebble.com/2/getting-started/ iOS users are currently not allowed to just play around with the SDK2, unfortunately. :( One has to submit a request for a proper project, and I wouldn't call my preferred watchface a proper project. ;)