Shared Preferences in Android Android Prefereces provide a way to store user and application data in device. It stores primitive data including String objects in key-value pairs. There are several ways to store data in android: Preferences(Shared and User): Store private primitive data in key-value pairs. Internal Storage: Store private data on the device memory. […]
What is SnapChat? SnapChat, the smartphone app that let users send photos and videos with personalized text that disappear shortly after being viewed. The sender decides the length from one to ten seconds. SnapChat is one of social media’s rising stars. SnapChat was developed by Evan Spiegel, Bobby Murphy, and Reggie Brown, all from Stanford University […]
While most of the creators are busy with their daily chores of making videos for YouTube, sometimes they lose out on possible revenue or opportunities because the video was not optimized properly. Search for “YouTube optimization tips” and you will come across thousands of articles and blogs talking about various tools available for doing so. […]
Recently in my project, we needed to store documents on some cloud based storage. So we choose Amazon S3 as it is secure and has proper backup mechanism and enough data centres so that we have minimum latency to access the server. Amazon has provided a great API available in different languages and we can […]
UseCase: – I had a situation in which needed to return custom information corresponding to every page in AEM and also use it via component to display to end user . -Then i have to invoke a Servlet on every page and with the use of selector want to return some information in JSON Format […]
Spring AOP Spring AOP (Aspect-oriented programming) framework is used to modularize cross-cutting concerns in aspects.Some of cases where we can use it are to control some of common things like logging , adding some extra feature without actually touching the core logic. This blog post will explain how to enable aspects in our AEM projects […]
We have been using Jasmine to test our angular code. Recently I came across a piece of code in Javascript which included a REST API call and returned a promise. The promise then had a success callback and all the rest of the play. So in this blog, I have tried to illustrate how to […]
Use Case : Sometimes we need to upload file on Amazon S3 or need to write code to upload file. As file upload on S3 using API call requires parameters in specific format and debugging that is very cumbersome task, in that case we can use CURL request with the inputs for debugging. Following are […]
I am very glad to explain about the Grunt, because i feel it makes my life easy. Always keep in mind, use your valuable time in creative activities, not in repetitive and boring tasks in web development. In this context, grunt is very helpful for everyone. So, a basic question is “What is Grunt?” It […]
Amazon Web Services has introduced Step Autoscaling Policies for the autoscaling of EC2 instances. These policies are much different from the Simple Autoscaling Policies which are being used till the date. The cooldown periods are not supported in the Step Scaling Policies. It let you define lower bound , upper bound for metric values and […]
Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from […]
android.os.Handler allows us to send and process Message and Runnable objects associated with a thread’s MessageQueue. Each Handler instance is associated with a single thread and that thread’s message queue. Handler used for: Message creation Inserting messages into the queue Processing messages on the consumer thread Managing messages in the queue Construction Of Handler By […]