Groups
Sign in
Groups
Android-Embedded-Japan
Conversations
About
Send feedback
Help
モバイルデータ通信の設定値取得について
753 views
Skip to first unread message
greentea0821
unread,
Jul 6, 2011, 10:27:01 AM
7/6/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android-Embedded-Japan
いつもお世話になっております。greentea0821です。
モバイルデータ通信の設定値取得について質問させていただきます。
HOME -> [Settings] -> [Wireless & networks] -> [Mobile networks] のData
enabled(モバイルデータ通信)の現在の設定値を取得することは可能でしょうか?
やりたいこととしては、3G圏内で且つモバイルデータ通信OFFという条件で判定処理を行いたい箇所があり困っています。
単純に3G圏内or圏外というのは判断できそうなのですが。。。
どなたかご存知の方がいらっしゃいましたらよろしくお願いいたします。
mizmit1222
unread,
Jul 6, 2011, 10:05:00 PM
7/6/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android-Embedded-Japan
みずの@組み込みWGです。
どちらかというとAPIレベルの話なので、Android SDK Japan[*1] か
日本Androidの会ML[*2] の方が的確な返答がいただけるかと思いま
すが、たまたまTechBoosterでの記事を読んだ記憶があったので、
ご参考になればと思います。
NetworkInfoを使って、通信接続が可能状態か知る
http://techbooster.jpn.org/andriod/application/4966/
PhoneStateListenerで回線の接続状況の変化を取得する
http://techbooster.jpn.org/andriod/device/1551/
ではでは。
[*1]
http://groups.google.com/group/android-sdk-japan
[*2]
http://groups.google.com/group/android-group-japan
mizmit1222
unread,
Jul 6, 2011, 10:07:42 PM
7/6/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android-Embedded-Japan
みずの@組み込みWGです。
日本Androidの会MLにも投稿されていたのですか。
多くの人の時間を無駄にするので、マルチポストは
お控え頂けると幸いです。
ではでは。
On 7月7日, 午前11:05, mizmit1222 <
mizmit1...@gmail.com
> wrote:
> みずの@組み込みWGです。
>
> どちらかというとAPIレベルの話なので、Android SDK Japan[*1] か
> 日本Androidの会ML[*2] の方が的確な返答がいただけるかと思いま
> すが、たまたまTechBoosterでの記事を読んだ記憶があったので、
> ご参考になればと思います。
>
> NetworkInfoを使って、通信接続が可能状態か知る
http://techbooster.jpn.org/andriod/application/4966/
>
> PhoneStateListenerで回線の接続状況の変化を取得する
http://techbooster.jpn.org/andriod/device/1551/
greentea0821
unread,
Jul 7, 2011, 10:21:19 AM
7/7/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android-Embedded-Japan
みずのさん
ご回答ありがとうございます。
大変参考になりました。
マルチポストは控えるようにするようにします。
失礼しました。
greentea0821
Reply all
Reply to author
Forward
0 new messages