পোস্টগুলি

ফেব্রুয়ারি, ২০১৮ থেকে পোস্টগুলি দেখানো হচ্ছে

Collection of Library Dependencies with working guaranty

Retrofit : compile 'com.squareup.retrofit2:retrofit:2.2.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.squareup.retrofit2:converter-gson:2.2.0' OR compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.squareup.retrofit2:converter-gson:2.3.0' [note: here picasso for fetching Image from server .] Recycler View: compile 'com.android.support:recyclerview-v7:25.3.1' google play service API  Location: compile 'com.google.android.gms:play-services-location:10.2.1' ,

Android Retrofit - PRABEESH R K

ছবি
Some information we should know  []  → Means JSON Array. {} → Means JSON object. when we will try to fetch data from Any JSON or from any server then we should check very carefully that Scripts and should understand the type of JSON. is that starts with JSON Array? OR JSON Object? flowers.json      [ start with array / list of objects ]  Vs yahoo weather api   [ start with the object named query which includes many objects. ] 🔑Add internet permission in manifest file.  🔑Add some Dependencies : compile 'com.squareup.retrofit2:retrofit:2.2.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.squareup.retrofit2:converter-gson:2.2.0' OR compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.squareup.retrofit2:converter-gson:2.3.0'

Add Gif file in Android xml file

ছবি
Add Gif file in Android xml file  Very Easy : Only 2 steps  :)  Step1:             Add Dependency/ library dependencies in Gradle(App)  file .  compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.+' Step2:                 Now write code on .XML file just like below:  < pl.droidsonroids.gif.GifTextView android :id= "@+id/gif" android :layout_width= "match_parent" android :layout_height= "match_parent" android :layout_centerInParent= "true" android:background= "@drawable/comeout" /> 👶👶👶👶👶👶👶👶👶👶👶 Finish For Today    👶👶👶👶👶👶👶👶👶👶

php

ball

JSON Parsing without Any Library

ছবি
Note:   In Android, we can/Should not write any network base code in the  main thread /same thread, it'll through an exception when we will try to run the app. we should not do anything / any code which can be the cause of being the slow main thread.  main thread means  UI thread .  we can use  AsyncTask<>    class, which generate a different thread ( for working in the background thread).  and this class have a   doInBackground method .  

Location detect by android use of satellite & GPS

ছবি
1. First Take permission into "AndroidManifest.xml" file. as below:-  < uses-permission android :name= "android.permission.ACCESS_FINE_LOCATION" /> [Note : Allows an app to access precise location. it makes access *mobile netwok,*WiFi, *GPS ] 2. Add Google Location and Activity Recognition library to App gradle:- compile 'com.google.android.gms:play-services-location:10.2.1' [Note: google play service API .  ] 3. Now we need Some Classes which now accessible for syncronising/ Adding previous Dependencies or library.