Uncategorized

Android Beautiful Spinner view without Custom adapter

To make this just bind spinner with cardview . and make it like the code bellow . now it will looks beautiful .   <android.support.v7.widget.CardView android:layout_width=”match_parent” android:layout_height=”@dimen/count_40dp” android:layout_marginLeft=”@dimen/count_5dp” android:layout_marginRight=”@dimen/count_5dp” android:layout_marginTop=”@dimen/count_10dp”> <Spinner android:id=”@+id/gender” android:layout_width=”match_parent” android:layout_height=”match_parent” /> </android.support.v7.widget.CardView>

Uncategorized

Android Custom spinner .

Step -1 : Create new Adapter . public class CustomSpinnerAdapter extends BaseAdapter implements SpinnerAdapter { private final Context context; private ArrayList<String> asr; public CustomSpinnerAdapter(Context context1, ArrayList<String> asr) { this.context = context1; this.asr=asr; } public int getCount() { return asr.size(); }… Continue Reading…

Uncategorized

Android remove underline of EditText

android:background=”@android:color/transparent”

Uncategorized

Firebase facebook authentication

Step 1 : Create an a project in android studio . Step 2 : Go to firebase console and create an android project . If you are new in firebase then follow the link   Project setup    Write data… Continue Reading…

Uncategorized

Error:Execution failed for task ‘:app:processDebugManifest’. > Manifest merger failed

Problem : Error:Execution failed for task ‘:app:processDebugManifest’. > Manifest merger failed : Attribute meta-data#com.facebook.sdk.ApplicationId@value value=(@string/facebook_app_id) from AndroidManifest.xml:36:13-52 is also present at [com.firebaseui:firebase-ui-auth:3.1.0] AndroidManifest.xml:21:13-60 value=(@string/facebook_application_id). Suggestion: add ‘tools:replace=”android:value”‘ to <meta-data> element at AndroidManifest.xml:34:9-36:55 to override. Solution :   <meta-data android:name=”com.facebook.sdk.ApplicationId” android:value=”@string/facebook_app_id”… Continue Reading…

Uncategorized

Firebase: A config file was found, but it indicates a project ID “priokotha-92c0e” that you dont appear to have access to. Request access or delete the file in order to proceed with the connection process.

This error will occur if you are signed in to Android Studio and the Firebase Console with different accounts. In Android Studio, click on the small profile icon in the upper right corner to see your sign-in account. Do the… Continue Reading…

Uncategorized

ERROR:’keytool’ is not recognized as an internal or external command, operable program or batch file

Step 1 : Download JDK : http://www.oracle.com/technetwork/java/javase/downloads/index.html and install it . Step 2 : Set the path on environment path . To do this My Computer – > Properties -> System variable -> Edit Path , click new and past… Continue Reading…

Uncategorized

Android firebase Phone verification authentication – OTP

Step 1 : Go to firebase console . Go SIGN-IN METHOD and enable phone authentication option .   Step 2 : Open your build.gradle (app) and paste this firebase ui gradle and sync . Check firebase version code . It… Continue Reading…

Uncategorized

Error:Execution failed for task ‘:app:transformDexArchiveWithExternalLibsDexMergerForDebug’. > java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

It may causes for several reasons – I have found 2 reason and solution .  Problem 1 : If you use firebase service and it’s gradle version are older version . Or google play service , gms service are not… Continue Reading…

Uncategorized

IOS short code – exit

exit(0);

February 2018
M T W T F S S
« Jan   Mar »
 1234
567891011
12131415161718
19202122232425
262728  

Site Statistics

  • Users online: 0 
  • Visitors today : 2
  • Page views today : 2
  • Total visitors : 3,424
  • Total page view: 3,838