- Jun 6, 2020
- 11,576
- 4,481
Hi All !
I want to direct the user to the settings for disabling the phone mobile network in all platform.
in android 10 "android.settings.DATA_USAGE_SETTINGS" intent will work correctly.
But in some another APIs, "com.android.phone.NetworkSetting" works good.
So what I can why this code does not working?
CheckMobileData:
Result:
Java:
I want to direct the user to the settings for disabling the phone mobile network in all platform.
in android 10 "android.settings.DATA_USAGE_SETTINGS" intent will work correctly.
But in some another APIs, "com.android.phone.NetworkSetting" works good.
So what I can why this code does not working?
CheckMobileData:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Result:
Java:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید