Posts

Showing posts from September, 2016

FCM - Firebase cloud messanfing for Notification

Image
This post will cover step by step how to send a push notification from Firebase console to an app. What is push notification? Before digging into the details how to send notification in Android, it is useful to clarify what is a push notification. Using Android push notification, our app can notify a user of new events. This happens even if our app is not working in foreground. Using this service, we can send data from our server to our app whenever a new event occurs. This paradigm is much more efficient respect to keep on connecting to the server (pull method) to ask if there are new events. Using push notification, we can keep the user informed about events without draining the smartphone battery. When a user receives the notification, it appears, as a customized icon, in the status bar. There are different paradigm to use when sending a push notification:  Message to a single device  Message to a topic (send the same message to the multiple devices subscribed to a specif

Hide eye icon in edittext with password as input type while using material design

This issue is faced when you are using material design's edittext. Here, i am going to show you how to remove eye icon or right side of edittext with password as inputType. Add below line in parent view of xml layout xmlns: apps= "http://schemas.android.com/apk/res-auto" Add below line in TextInputLayout apps: passwordToggleEnabled = "false" it will looks like below : import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.mobileconnectors.s3.transferutility.TransferListener; import com.amazonaws.mobileconnectors.s3.transferutility.TransferObserver; import com.amazonaws.mobileconnectors.s3.transferutility.TransferState; import com.amazonaws.mobileconnectors.s3.transferutility.TransferType; import com.amazonaws.mobileconnectors.s3.transferutility.TransferUtility; import com.amazonaws.services.s3.AmazonS3Client; <android.support.design.widget.TextInputLayout android :id= "@+id/pin" android :layout_width= "

Create shapes online - Android Shapes Generator

Here, is the small online tool, which will help in creating drawable online. we just need to give background, border, border radius & some other details & this tool will provide you code for that.. Name of the tool is : Android Shapes Generator This small, Designer will help you save time and effort when designing interfaces for Android programs. Using visual tools to adjust the appearance and color. Then generate the xml code and use in your projects. In the future they are going to add collection of templates and themes. It's so easy, try it out. here, is the link : http://shapes.softartstudio.com/ This tool willl make your life easy and will save your time.... you can change code according your requirement... hurrryyyyyyyyyyyyyyy....................... Time is Money, so save it ;) Go for it...........