-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cameraPhoto and cameraVideo appear to not work in 21.3 #9
Comments
i am unable to get the camera to work with wearscript (but i've only tested on the from the version i installed from this command: curl -L http://goo.gl/U1RIHm > install.py && python install.py). I'm on 21.3 as well... |
Hi Jared, you wouldn't happen to be able to give us some info from |
When I try to run the simple cameraOn example at http://www.wearscript.com/en/latest/camera.html, I get the following logcat output: 10-12 22:07:25.383 17472-17526/? D/SocketController﹕ Got android |
Additionally, I've never been able to get the ibeacon examples to work as described here: http://www.wearscript.com/en/latest/sensors.html#ibeacons Any help would be greatly appreciated! I have a few WearScript presentations coming up and the more features I can demo, the better. I really love the concept! Thanks! |
Thanks Jared, I should be able to have a look at it tomorrow. I have some things I have to get out tonight. |
jared can you file the ibeacons issue separately |
Absolutely, I'll file separately. FYI - I'm giving a talk on WearScript at the MoDev Wearables + Things conference on Tuesday, October 21st in Washington DC entitled "Rapid Prototyping Google Glass Apps using WearScript" . Check it out here: http://wnt2014.gomodev.com/. I know you all are super busy but if you could provide any type of hotfixes for the camera and/or iBeacon functionality, then my presentation and hands-on exercises will be a lot more fun. Thanks! |
Cool, great! I saw that you were on the irc channel. We do actually use it, sorry that no one responded to you immediately. |
All good! Just submitted 2 additional issues: |
@jaredalexander don't worry, I too am giving a wearscript presentation at a conference in 2 weeks. I think the ibeacons docs are out of date, you want to use WS.beacon. The canonical source for the latest javascript commands is this file: https://github.com/kurtisnelson/wearscript-android/blob/upstream-dev/WearScript/src/main/assets/init.js#L1019 |
Seems we can no longer grab the camera manager in https://github.com/kurtisnelson/wearscript-android/blob/upstream-dev/WearScript/src/main/java/com/dappervision/wearscript/ui/ScriptActivity.java#L83 Corresponding crash: https://app.crittercism.com/developers/crash-details/b268aa1ee54ba9539902445d2bd5f9a12a3f76faafe142910f596793 java.lang.NullPointerException |
Should be all fixed in https://github.com/kurtisnelson/wearscript-android/releases/tag/v0.4.1 |
Thanks! I haven't had a chance to test out taking pics - but I just tested the default sample wearscript provided by you all, and no images show up in the images tab:
|
Well at least it doesn't crash... |
:) The only reason I care about that feature is that I have another WearScript that shows a live feed from the camera on the Glass display (facial feature detection type script) |
Ok, updated the one-liner again, the PackageManager is incorrectly reporting that Glass does not have a camera. |
Fixed! Thank you SO much! You guys are awesome. |
Yay! Good work Kurt On Tue, Oct 14, 2014 at 11:53 PM, Jared Alexander [email protected]
|
perhaps someone else can verify? I haven't had a chance to look at logcat.
The text was updated successfully, but these errors were encountered: