How add CalenderView in Android Application





CalenderView is one of the most important widget or component when you building a android application,usually developer using this widget for user choose birthdate or booking time. now i will give simple tutotial to create calenderview using Caldroid Library.

I hope you follow this step one by one and you will not miss anything.

First Step : Add all assets like color,string and etc.

- colors.xml

- strings.xml



Second Step : Add Dependencies in gradle file


Third Step : create android layout in activity_main.xml and custom_cell.xml

- activit_main.xml



- custom_cell.xml


Fourth Step : Add The Codes for create and add Calenderview's Function in your android project :

- CaldroidSampleActivity.java


CaldroidSampleCustomAdapter.java



CaldroidSampleCustomFragment.java


Fifth Step : Running your project and will show like this pic :




I hope my tutorial will helpfull, please support and give comment  :)



How Loading ImageView Using Glide in Android Application

Glide is Loading images from the internet is quite easy to use Volley library. But here is a solution that is much better than volleyball mis Glide image library. When compared with a volley, Glide wins in many scenarios in terms of performance and usability. Here are the advantages of a more Glide volleyball
  • Supports capturing, decoding and displaying video stills, images, and animated GIFs
  • Placeholder can be added prior to loading media
  • Many thumbnails (blurred) first and then load the high-resolution images such as in WhatsApp or Facebook.
  • Crossfading effects between media
  • Support for arbitrary image transformation such as image loading in the form of a circle or other shape.
  • Better Memory and disk caching mechanism
  • Works well with both Volleyball and libraries OkHttp.

But in my experience, Glide Library can be run either by retrofit, use of which is easy and there are functions to make photo of a circle and a simple animation

First Step : Create Layout with ImageView for show image and give name "image"

- activity_main.xml



Second Step : add the glide dependency to your build.gradle.


Third Step : Add Code to call function Glide's Load, Animation an Add Url

- MainActivity.java



Fouth Step :

Running Your Application Project and will show like top picture in this articles.



If you using glide,You are not too difficult to create an image of your round, you only need to enter a few lines of code. plus side from the glide library.

Code for make circle image :



Running Application Picture if make circle frame.



I will write more tutorial, so hope support me with give a comment. you can contact me in INSTAGRAM @indahainur or GMAIL : indahrahma0909@gmail.com

THANK YOU!!!

How Add Email and Call Intent in Android Application




Now, i will explain how add email and call intent in Android Application, Usually we used that for Customer Service, Contact Us or Help module in some app, many ways to create this but i go in simple code.

First Step : Create activity_main.xml in code below :


Second Step : Create MainActivity.java and Copy This Code.

Function under btn_call, will show call widget activity in android,and them under btn_email will
show all email application all types of email applications installed.

Third Step : Running Application and will show like this pic :





Well, i hope my article will be help you, please support me and give comment on this blog.
You can contact me : indahrahma090@gmail.com or my instagram : @indahrahma