httpebble-ios icon indicating copy to clipboard operation
httpebble-ios copied to clipboard

Integrated httpcapture (taking Pebble screenshots)

Open epatel opened this issue 11 years ago • 6 comments

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)

epatel avatar Jul 23 '13 23:07 epatel

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.

epatel avatar Jul 24 '13 02:07 epatel

This looks potentially interesting. I might look into adding it, perhaps along with some other fixes,

Katharine avatar Jul 24 '13 02:07 Katharine

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

epatel avatar Jul 24 '13 08:07 epatel

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 avatar Nov 25 '13 09:11 michaelaye

@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 :)

epatel avatar Nov 25 '13 09:11 epatel

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. ;)

michaelaye avatar Nov 25 '13 09:11 michaelaye