-
Notifications
You must be signed in to change notification settings - Fork 10
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
displaying single image png's #3
Comments
i did more browsing and i can see that there's a "phone screen mirroring to glasses screen" with the screen recorder service. how would one enable this too via the app? |
There is functionality built into the underlying source of the app to send files, however I don't think anything is exposed for actual use (I was using this to test out sending update packages to the focals). It would be an easy addition, however it's sort of painful to actually view a png without a custom app, unless it's just as an icon on a message. There's a hidden MediaPlayer experience that you could view a single png with but it's semi painful to get to. Let me know what you're trying to do here To enable phone screen mirroring (or any custom app) is slightly more painful - it requires building a connector cable, doing some magic to allow you to add your own software, then installing some custom software on the glasses. If you're interested in going down that path, let me know and I can provide more info, but it's not a simple process. |
the goal here with using your toolkit are the following 2 objectives, with option A plan (but would like more feedback): |
I think to do what you want (display an image on the glasses screen) - you're going to need to go the harder route and build a connector cable / install apps - I couldn't find any other easy way. Just sending a file won't do anything for you. If you decide to go that route, I think the screen mirror app does 90% of what you want already - it disables sleep mode when its enabled and continuously displays whatever the last image sent from the glasses app was (can get up to ~10-15 frames / second). The hard part is getting custom software installed - if you want to discuss that more, log on discord at https://discord.gg/VKgeFjzQ The easy part would be modifying the phone software: The current code that is grabbing screen images, formatting them, and sending them to the ScreenMirrorWSService is: focals_buddy/app/src/main/java/com/openfocals/services/screenmirror/ScreenFrameGrabber.java You could replace this and provide your own method of picking what image to send. (Actual image sending is done by: /focals_buddy/app/src/main/java/com/openfocals/services/network/ScreenMirrorWSService.java ) The screensaver portion / making the image go away - you'd have to mess with the source code for the screen mirror app. |
according to "Feature todo list" where
[x] Custom app handler (requires installing software to glasses)
[x] File transfer to focals (for icons, media)
does this imply that the capability to push test images (file transfer media) is pre-built into the latest build at http://www.aegray.com/openfocals/openfocals.apk ?
(currently struggling to load test images for viewing through the north focal display using your app). otherwise, would be have to install an external ESFFileExplorer-cn.apk or Gallery.apk in the app manager setup in the glasses ?
may i very kindly ask for instructions on how to proceed? the apk is installed on my phone, but no option in the app's tab
openfocals->Developer Tools
The text was updated successfully, but these errors were encountered: