litesuits / litesuits/android-common
判断是否可以正常上网
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Network这个类里面的方法只能判断是否有网络连接,不能判断能不能正常上网。
这两种情况怎么判断呢:
- 连接了CMCC网络,需要用户名 密码才能上网。
- MIUI系统,关闭WIFI,连接移动网络,在联网控制里对软件禁用移动网络。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the Network class and its existing connectivity methods. Determine how the issue should distinguish a connected network from usable internet access for captive portals and app-level mobile-data restrictions; done should include a clear, testable result for both scenarios.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile-dev, networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100