Skip to content
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

Google Glass and Pixel 3XL Support #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lackita
Copy link

@lackita lackita commented Apr 30, 2023

These are the changes necessary to get things running on my particular setup. I tried to keep the tweaks fairly minimal, the primary goal to just get things up and running.

Google Glass

Google Glass' XE24 update (their final update) uses API 19, so I had to backport the minSdkVersion and make some minor tweaks to call getDrawable through the resource instead of directly.

Additionally, to navigate to the app, a glass specific intent-filter action had to be added. I believe this should just be ignored in other contexts, but somebody with a different pair of glasses will need to test this.

Pixel 3XL (Android 12)

I'm uncertain what the original intent behind the code was in isHotspotOn, but getDeclaredMethods() caused the app to crash when running on my phone. Calling the method directly, though, seemed to work fine, so I just shifted it to the more direct approach. It seemed like primarily it was just calling isWifiApEnabled, but maybe there are important use cases I'm bypassing with this approach.

These are the changes necessary to get things running on my particular
setup. I tried to keep the tweaks fairly minimal, the primary goal to
just get things up and running.

Google Glass
============

Google Glass' XE24 update (their final update) uses API 19, so I had
to backport the `minSdkVersion` and make some minor tweaks to call
`getDrawable` through the resource instead of directly.

Additionally, to navigate to the app, a glass specific intent-filter
action had to be added. I believe this should just be ignored in other
contexts, but somebody with a different pair of glasses will need to
test this.

Pixel 3XL (Android 12)
======================

I'm uncertain what the original intent behind the code was in
`isHotspotOn`, but `getDeclaredMethods()` caused the app to crash when
running on my phone. Calling the method directly, though, seemed to
work fine, so I just shifted it to the more direct approach. It seemed
like primarily it was just calling `isWifiApEnabled`, but maybe there
are important use cases I'm bypassing with this approach.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant