Skip to content

Get Android network state by direct query or with BroadcastReciever #65

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

Merged
merged 3 commits into from
Dec 8, 2012

Conversation

legikaloz
Copy link
Contributor

Two methods added to Hardware.java to check network availability. First one make a direct query, the other registers a BroadcastReciever to catch changes and represent the state in network_state property.
Both method tested in my project amd seems to work ok. Nevertheless I'm not a java guy, so any advice appreciated.

@tito
Copy link
Member

tito commented Dec 8, 2012

Hi, thanks for the PR! Only the documentation is missing, i'll add it :)

@tito tito closed this Dec 8, 2012
@tito tito reopened this Dec 8, 2012
tito added a commit that referenced this pull request Dec 8, 2012
Get Android network state by direct query or with BroadcastReciever
@tito tito merged commit caff228 into kivy:master Dec 8, 2012
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.

2 participants