Skip to content

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

Merged
tito merged 3 commits into
kivy:masterfrom
legikaloz:master
Dec 8, 2012
Merged

Get Android network state by direct query or with BroadcastReciever#65
tito merged 3 commits into
kivy:masterfrom
legikaloz:master

Conversation

@legikaloz

Copy link
Copy Markdown
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

tito commented Dec 8, 2012

Copy link
Copy Markdown
Member

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