Posts

Showing posts from 2017

How to make bridge between Android and JavaScript

Now days Web Mobile apps and Hybrid applications are on trends.  This blog is about how we can make a bridge between Web form and android native methods in android apps using JavaScript. Let's start with add basic code to create bridge. First of all create Android project in Android Studio. Create an Activity class and layout file. Now open layout file of activity and add EditText( for typing a message), add button for sending message to webpage and WebView for loading webpage. Your xml layout look like:- <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android= "http://schemas.android.com/apk/res/android" xmlns:tools= "http://schemas.android.com/tools" android:layout_width= "match_parent" android:layout_height= "match_parent" android:orientation= "vertical" tools:context= "com.aman.webviewcallback.MainActivity" > <EditText a

How to hide Developer option from Android Device

Image
This post is about How to hide developer option from settings app. All Android devices have built-in Developer options. Developer options are useful for debugging applications, check CPU usage etc. Here are steps to hide Developer option from devices. 1. Open Setting application. 2. Open A apps/Application Manager. 3. Search for Settings app and open it. 4. Clear Data of Setting apps. 5. Now you can go back and check for Developer options in Setting app. There is no more Developer option visible in setting application. Please refer the screenshots for help.     Happy Coding :)