• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to turn off 'service provder ntwk not available. Emergency calls only'

So my work area there is no internet connection. We installed wifi so internet is good but my phone keeps popping up 'service provider ntwk not available. Emergency calls only' notification like every 10 seconds and its really annoying me. I tried bunch of times messing with network settings to turn it off but none of them worked. Anyone know how to fix this? Please and thank you.
sooooo your work has internet or not? i'm confused by your first sentence. if you have wifi, you should have internet. do you mean that your work has bad cellular coverage?

like @Unforgiven has said, have you tried setting up wifi calling? i would also talk to your carrier as well and see what they say.

Software update after new malware

It's usually called 'Responsible disclosure' The discoverer of the flaw/bug/security weakness tells the company, with the caveat that they'll make it public if the problem is not fixed within a given time-frame (usually 90 days, but may be shorter if the problem is known to be currently exploited 'in the wild'). If you kn ow the problems CVE number, you can check on it at https://www.cvedetails.com/

Please can you help JavaDoc generation failed error only on Bitrise

Hello Devs!
I'm calling for help all Android build experts as this issue on bitrise with gradle-runner step is not letting me sleep well since Monday.

The issue seems to be with react-native-screens which is used by react-navigation v2.18.3 (the newest from 2.x.x). I have added a screenshot as well as an attached file. screenshot. Please can give me some ideas what to try next. Here's what I've tried:

  • upgrading gradle-runner step in bitrise from currently used 1.8.5 to 2.0.0
  • upgrading react-native-screens to the most recent ver
  • deleting react-native-screens lib
  • downgrading current react-native-screens ver (2.0.0-alpha.11) to the one specified in package-lock.json for react-navigation dependencies to 1.0.0-alpha.11
When running react-native run-android, it all works fine locally. Also, ./gradlew assembleRelease is successful. iOS builds fine

Attachments

  • error.png
    error.png
    1.9 MB · Views: 239

Help Downgrading from 4.4.2 to 4.1.1 safely?

Actually, I have been trying to do this with a SGH-i747M 4.4.2 (Galaxy s3) and have not been successful but also have not bricked my device. I can always go back to a stock ROM and everything is fine. I want to go back to 4.1.1 because apparently with this OS version you can network unlock the phone. When I try loading a 4.1.1 ROM with Odin it fails with an "Auth" error and then I have to reflash stock ROM.. I'm thinking I need to change permissions somewhere but have no idea where. I have tried adb sideload but it comes back with "adb: pre-KitKat sideload connection failed: closed". This is likely because I'm running 4.4.2.

Can I use Android WebView object for Google Authentication?

I'm using Android Studio to update a login page that authenticates via Google. In the onCreate method, I have a function, called loadWebViewPage(), that loads up our authentication page that uses Google for auth. When loadWebViewPage() is called I have the following:

private void loadWebViewPage()
{

CookieManager cookieManager = CookieManager.getInstance();
cookieManager.setAcceptCookie(true);
String userAgent = "Mozilla/5.0 (Linux; Android 4.1.1; Galaxy Nexus Build/JRO03C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Mobile Safari/535.19";
//Set WebView
WebView webView =(WebView)findViewById(R.id.webView);
webView.setWebViewClient(new WebViewClient());
webView.getSettings().setUserAgentString(userAgent);
//Set WebSettings
WebSettings webSettings = webView.getSettings();
webSettings.setJavaScriptEnabled(true);
webSettings.setAppCacheEnabled(true);
webSettings.setJavaScriptCanOpenWindowsAutomatically(true);
webSettings.setSupportMultipleWindows(true);

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
{
webView.getSettings().setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
}

webView.loadUrl("the url that redirects to sso page");

Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);

LocalBroadcastManager.getInstance(getApplicationContext())
.registerReceiver(loginBroadcastReceiver,
new IntentFilter(LoginHelper.LOGIN_MESSAGE));

}

The onCreate method works fine; I get the page to load, users can enter their email and password. However when the users clicks the login button it does not want to load in Google authentication where they should be able to select which Google account they want to log in with.

This line webView.loadUrl("the url that redirects to sso page") loads up a vendor hosted page that handles the sso authentication. If user enters an invalid email or incorrect email/password combination it does not allow them to proceed forward and presents a "login error' message.
If user enters a valid Google email that is in the system linked by a userID, then it is supposed to present them with the Google option to either enter their password or select the appropriate Google account if they are logged into multiple Google accounts.

I tried looking for a solution and what I've seen is the User Agent or Google doesn't support Webviews anymore to I need to setup a browser that handles auth then go back into app on successful login.

I'm thinking the easiest solution would be to update the the User Agent variable. However, am I missing something or should be approaching this differently? I don't want to load an actual browser as we don't want users messing with the url address or having to worrying about the navigation buttons.

Thanks

Filter

Back
Top Bottom