Android now supports the Kotlin programming language

Posted on Leave a commentPosted in Android

For Android developers, Kotlin support is a chance to use a modern and powerful language, helping solve common headaches such as runtime exceptions and source code verbosity. Kotlin is easy to get started with and can be gradually introduced into existing projects, which means that your existing skills and technology investments are preserved. https://kotlinlang.org/docs/reference/android-overview.html

Get IP in JSON

Posted on Leave a commentPosted in Android

http://www.rameshchavan.in/myip.php   Android Code: final TextView mTextView = (TextView) findViewById(R.id.text); … // Instantiate the RequestQueue. RequestQueue queue = Volley.newRequestQueue(this); String url =”http://www.rameshchavan.in/myip.php”; // Request a string response from the provided URL. StringRequest stringRequest = new StringRequest(Request.Method.GET, url,             new Response.Listener<String>() {     @Override     public void onResponse(String response) […]

Places Autocomplete: Android

Posted on Leave a commentPosted in Android

Places Autocomplete: Android Steps 1: Create Android API Browser API key on google console. 2: Http Get Request on following link: https://maps.googleapis.com/maps/api/place/autocomplete/json?input=ban&key=API_KEY 3: Define output format : json/xml 4: On autocomplete text  change , call following method . PlaceAPI.getPlace(String inputType,  String latitude,String longitude) Ex. PlaceAPI.getPlace(“bank”,”18.643702″,”73.00000″)   5: Set Adapter to autocomplete view.   PlaceAPI Code: import org.json.JSONArray; import […]

App Verification from website

Posted on 1 CommentPosted in Android

We can share the app using website link and now we also check the app installed from same link. In addition to using intent filters to declare an association between your app and a website, your manifest must also include an additional declaration for requesting automatic verification. When this declaration is present, the Android system attempts to […]