Android

Using WebView from more than one process

Posted on

Using WebView from more than one process at once with the same data directory is not supported. I faced above issue when launching app, its a Native Android app having integrated Flutter code. Below I explain the details and fix for the issue. To integrate in Flutter app in to Android Native app. I have […]

Android

Logcat data Clearing too Fast- ADT Eclipse

Posted on

While running app on latest android devices, from ADT Eclipse, you may find difficulty in viewing LogCat data. As lots of other background services of different apps are running, logcat clearing out in a glimpse. At this kind of situation, To view LogCat data you have to change a ADT Eclipse setting as shown below.. Goto […]

Android

Invalid request. Missing the ‘origin’ parameter. Google Map directions request URL error

Posted on

Google Map Direction request API changed It seems Google Map Direction request API changed, which is used to get polyline points to draw drive path. Previously, I implemented drawing driving path on Map using below directions request. And this link worked perfectly, I used to get all the waypoints information, with it. https://maps.googleapis.com/maps/api/directions/json? waypoints=optimize:true|52.28582710000001,-1.1141665|52.2777244,-1.1581097& sensor=false but […]

Android

Display Menu items in ActionBar when using Fragment

Posted on

Display Menu items in Fragment ActionBar When Implementing Fragment screen, If it require to display Menu Items only specific to that Fragment screen. If you just write the following code… @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { // TODO Auto-generated method stub super.onCreateOptionsMenu(menu, inflater); menu.clear(); inflater.inflate(R.menu.done_actions_menu, menu); } /** * On selecting action bar icons […]

Android

Validation using default feature of EditText

Posted on

Default Validation EditText I found a good article here on how to use the default feature of EditText to show the error. While writing the validation on EditText on a button click event or TextChanged event instead of showing alert dialog if you want to show error we can use the default feature of EditText as EditText […]

Android

Get a Dialog style activity window to fill the screen-Android

Posted on

Applying Dialog Style to Activity Generally when we set Activity theme as dialog style, <activity android:label=”@string/app_name” android:name=”.DialogActivity” android:theme=”@android:style/Theme.Dialog” /> <activity/> its just display at the center of the screen, with specific width and height set in the XML Layout file or as per the Content. as shown below. At times you may want to display […]

Inspiring Quotes

Quotes by Famous personalities

Posted on

Quotes by Famous personalities Here are some of the Quotes by Famous personalities Believing everybody is dangerous; believing nobody is very dangerous – ABRAHAM LINCOLN If you start judging people you will be having no time to love them – MOTHER TERESA In a day, when you don’t come across any problems – you can […]