News

Android 4.0 Stable version Released

https://developer.android.com/studio/releases/?utm_medium=studio-assistant&utm_source=android-studio#4-0-0 Major Features Build Analyzer Java 8 library desugaring in D8 and R8 Feature-on-feature dependencies Dependencies metadata Support for Kotlin DSL script files CPU Profiler upgrades Design tools New Motion Editor Live Layout Inspector Layout Validation Smart editor features for… Continue Reading…

Android

Android EditText Capitalized Word , Sentence , Character

To capitalize the first word of each sentence use : android:inputType=”textCapSentences” To Capitalize The First Letter Of Every Word use : android:inputType=”textCapWords” To Capitalize every Character use : android:inputType=”textCapCharacters”

IOS

JSON String to Android class object conversion using GSON

JSON Array conversion Gson gson = new Gson(); List globalDataListModelArrayList = new ArrayList(); globalDataListModelArrayList = Arrays.asList(gson.fromJson(matterEditModels.get(position).getGlobalDataList(), GlobalDataListModel[].class)); JSON Object conversion Gson gson = new Gson(); GlobalDataListModel globalDataListModelArrayList = new GlobalDataListModel(); globalDataListModelArrayList = gson.fromJson(matterEditModels.get(position).getGlobalDataList(), GlobalDataListModel[].class);

AndroidIOS

Get actual adapter position at Auto Complete TextView in Android

String selection = (String) parent.getItemAtPosition(position);int pos = -1;for (int i = 0; i < clientName.size(); i++) { if (clientName.get(i).equals(selection)) { pos = i; break; }}System.out.println(“Position ” + pos); //check it now in Logcat As Like

IOS

Install xCode command line tool

Open terminal in mac and Install xCode Command line tool with the following command. xcode-select –install Check the update of license sudo xcodebuild -license

Uncategorized

Data communication and networking note

Uncategorized

Android Multiple permission easy way

private static final int PERMISSION_REQUEST_CODE = 1;

Uncategorized

Android Download PDF file and Save to Downloads folder and Open it with a PDF Viewer

Download PDF file and Store it to Downloads folder Open PDF file from Downloads folder and show it on a PDF viewer

December 2020
M T W T F S S
« Nov    
 123456
78910111213
14151617181920
21222324252627
28293031  

Site Statistics

  • Users online: 0 
  • Visitors today : 13
  • Page views today : 13
  • Total visitors : 3,981
  • Total page view: 4,456