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


How add Email Validation in Edittext in Android Application (Example Login Page)


          When we building login page in android, usually user must input two field : email and password, but sometimes user forgot input one of fields and application will show message to tell user "please  add email or password  "
         The question is how create function to validation email? i will tell you how to do that with simple way, easy and fast to learn.

First Step : 

               You create new project application and give name as ValidationEmail , and then you design login page in content_main.xml or in your xml file 
Code content_main.xml : 




and then change your activity_main.xml .
code for activity_main.xml :


 Second Step :
      
         You must create method for check edittext's length because we can't go to proccess login if edittext is empty and create validation email method, its will check email formulation.Remember, email must have a mandatory character such as @ and .com or co.id.i put all method in MainActivity.java.

Code for MainActivity.java


 
 in previous code line, there is getValidText() and  isValidEmailAddress() , each others have different function and action.
  • getValidText to check email and password field is empty or not
  • isValidEmailAddress to check email's characters.
Third Step :

    Running the project and try to add wrong email characters like i input email field "indah" and password "indah", then click button login. after that will show a toast message "email validation is wrong"



 Step is Finish().. very easy right? i hope the tutorial will make your development proccess  more fast.
Thank you and please give a comment


How To Create Animated Splash Screen to Your Android Application





        Hi welcome to http://codemissyou.blogspot.com , splash screen is one of the most important component in android application, although splash screen very simple thing but that will presenting the face of your application.
        Your splash screen will be more cool and great if you put some magic or animated,the design looks dynamic and no bored. so i will tell How To Create Animated Splash Screen to Your Android Application , very easy and only follow my step.. lets go

First Step :

     Design your splash screen in activity_splash_screen.xml

Add this code into activity_splash_screen.xml


 in previous code line, i am using imageview (@id = splash) and linear layout (@id = lin_lay)

Second Step :

Create folder and give name "anim" under values folder, add alpha.xml  and translate.xml into anim  folder :



Code for alpha.xml :

 Code for translate.xml :



 Third Step :

      Add code hex color into colors.xml like :




Fourth Step :

             Create file java and give name as SplashScreenActivity.java, and add some code for put logic and call the animated ,and then show layout splash screen.

Code SplashScreenActivity.java :


  in previous code line, if animation finish, SplashScreenActivity will be close and open new intent, MainActivity. this articles i am not adding  MainActivity  code  because thats very basic and i think you can create MainActiviy.
               You Also must declired SplashScreenActivity in manifest, like this :

Finish ! :)

          I hope my articles will help and you can write comment and send message to indahrahma0909@gmail.com for any trouble when you implementation  all the code .
         If you want to the source, please contact me or asking by email. i will give you free...so calm down..  

How to Sharing Content To Media Social with Intent in Android

    



           Almost android application have sharing content function for share information application to media social, why this module very popular? because you need many users to join on your application, you don't use all your power and capability for that. your users will automatically invites his friend to join.
           there are many ways for create sharing content.first way,you can use all media social sdk like google+, facebook and others , but thats taking long time and you must create  key hash, registration your app to all media social  and put different code .
        Second way, import other a media social's library to your application, but you will increase the file size of the built. the minimum standard size of media social's library from example github is 3 until 5 mb, so big right .
         Third way , using intent for open all social media installed in your device. if you only need simple sharing, this is The fastest way and takes 1 hours for making your module. so  will give tutorial for create sharing function using intent in android, please follow my step

First Step : Create new project and put "shareintent" as project's name 

  
and then you click button next and follow the procces until your project succesfull to created.

Second Step : Create Design layout in content_main.xm like this image or you can use all your creativity for make it. 



Add this code into content_main.xml  : 



Third Step : Put the code in MainActivity.java for add action to yout button, then the subject and the message will post to your media social.


Fourth Step : Running your project on your device or emulator.
       
        When you was running your project, dont forget to input subject and message that you want share like this :

After that, click red button and  will show the intent chooser


        I tried to pick my email to share content to friends. subject and the message that I have written, will be moved in the email box in your gmail. please look image below :



             
             Easy enough right? you dont need spend many time for create that and make your apps more fast finish. Thank you for read , please share this articles and add your comment