পোস্টগুলি

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

Android Attributes

ছবি
TextView : android:isSelectable = "true" //how to select a text and copy from it.

Android or Java Keywords or short form

POJO   =  Plain Old Java Object → Acronym for  P lain  O ld  J ava  O bject. POJO, or  Plain Old Java Object , is a normal  Java   object  class (that is, not a  JavaBean , EntityBean etc.)  and does not serve any other special role nor does it implement any special interfaces of any of the Java frameworks. This term was coined by Martin Fowler, Rebbecca Parsons and Josh MacKenzie who believed that by creating the acronym POJO, such objects would have a "fancy name", thereby convincing people that they were worthy of use. Related slanbg:  POJI, short for plain old java interface. It is used to enforce the idea of developing an API against interfaces instead of implementations. Gson   → Gson is a  Java  library that can be used to convert  Java Objects  into their JSON representation.  It can also be used to convert a JSON string to an equivalent  Java object .  Gso...

Android Retrofit Library

ছবি
Android Retrofit Library http://square.github.io/retrofit/ JSON Example for use  Yahoo Weather API JSON  2 POJO class ================================================================== Step 1:  Open An Android Project First  😅😅 2nd Open JSON Schema (Online) and copy all the JSON file.  (ex:  Yahoo Weather API   ) 3rd Open JSON 2 POJO   URL (ex:  JSON  2 POJO class   ) and paste all JSON text/content and Then copy and paste  Package Name from your Project. Choose JSON to GSON then click preview or Zip ...    then Download the Zip file by clicking Example source.zip . Step 2:  we need 3 Library Dependencies:-        go to :-  file -> project structure -> app -> dependencies ->  +   ->  1 library depency            ...

Helping HTML Code for Bloging

ছবি
Source Code Formatting Options <pre style="background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &quot;arial&quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;">        <code style="color: black; word-wrap: normal;">              **You can Write here Anything.And they just look like a code. with a special background.               Look below for visual example.**       </code> </pre> **You can Write here Anything.And they just look like a code. with a special background.** Table Code  <table border="1">       <tbody>           <tr>              <td>                     *...

Create a Slider Using ViewPager

ছবি
Use of ViewPager for sliding Views. slider, slide, pager,  for making this we should do 3 things : ============================== 😋😋😋😋😋 ============================= 💪1. Taking ViewPager in our targeted / main activity 💪2. Create a  Layout Resource File (ex: Slide.xml) into layout folder. and design it as wish. 😈3.Create an Adapter extends PageAdapter (Ex: SlideAdapter.java) .                                    Here all the complexity starts baby (3 points).  😪 💓4. Now Set Adapter With ViewPager into java file. (Ex: MainActivity.java) ============================== 😋😋😋😋😋 ============================= 1. Add a ViewPager to your activity home :         a. ViewPager is a view which allows users to swipe left to right through pages of data. <android.support.v4.view.ViewPager android:id="@+i...

API (Application Programming Interface) .

ছবি
1. What is API?  In computer programming, an application programming interface (API) is a set of subroutine definitions, protocols, and tools for building application software. In general terms, it is a set of clearly defined methods of  communication  between various software components. A good API makes it easier to develop a  computer program  by providing all the building blocks, which are then put together by the  programmer . Popular API Examples Broadly speaking, APIs make it possible for organizations to open their backend data and functionality for reuse in new application services. Google has APIs for search, calendars, translations, etc. Facebook and Twitter have APIs that allow software to automatically post status updates. Moreover, APIs have become so valuable that they comprise a large part of many business' revenues. Major web development companies like Google, eBay and Amazon are just a few of the companies that make mo...

Most Important Links for Learning Android

Material Design Concepts developer.android.com Android Free MP3:  https://www.zedge.net/ringtones/?ffilter=off https://cellbeat.com/ http://www.mobiles24.co/downloads/free-android-ringtones https://notificationsounds.com/ https://www.tones7.com/ http://gallery.mobile9.com/c/nokia-asha-501-ringtones_7347/1/ http://www.melofania.club/track/Post+Malone/rockstar http://www.mytinyphone.com/ringtone/545983/ http://audiko.net/ https://www.tones7.com/

Bottom Sheet Design in Android Studio

ছবি
1. Add some dependencies in Build.gradle (APP) --> compile 'com.android.support:cardview-v7:25.3.1' compile 'com.android.support:design:25.3.1' 2. In Main Activity  -> Make parent layout     < android.support.design.widget.CoordinatorLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: app = "http://schemas.android.com/apk/res-auto" xmlns: tools = "http://schemas.android.com/tools" android :layout_width= "match_parent" android :layout_height= "match_parent" tools :context= "com.nirjhor3029.bottomsheetdesign.MainActivity" > </ android.support.design.widget.CoordinatorLayout > 3. Make a new layout in layout folder -> add 3 special attributes in parent  layout app :layout_behavior= "android.support.design.widget.BottomSheetBehavior" app :behavior_hideable= "true" app :behavior_peekHeight= "?and...
ছবি
header Hi this is test.