Here is a simple example for Streaming video in Android… Below is my layout that contains a VideoView and ProgressBar. Don’t forget to add internet permission in the Android Manifest. MainActivity Done.
Hi Friends, Here is a simple way to do background task in iOS using “BackgroundFetch”. We will just try to send a message to the UI when a new data arrives in the background. You can do anything there you want. To enable “BackgroundFetch” in your app, you have to do some modifications in your… Read More »
This is actually fairly simple… 1. Create a new Swift file and name it say “MyConstants.swift”. 2. Declare your constants like below.. 3. Now you can directly use “NOTIFICATION_ID” in any class, Swift will directly import it for you. Thats all….
LocalBroadcastManager is Helper to register for and send broadcasts of Intents to local objects within your process. This is has a number of advantages over sending global broadcasts with sendBroadcast(Intent): You know that the data you are broadcasting won’t leave your app, so don’t need to worry about leaking private data. It is not possible… Read More »
This demo shows How to use Swipe to Refresh in ListViews and ListViewFragments. You can download the complete Android Studio Source Code at the end of the Post. 1. Using ListFragment 2. Using SwipeRefreshListFragment You can download the complete Android Studio Source Code from here. You can send your valuable comments @email@example.com.
In Today’s post I will show you How to do below things in Swift 2… 1. Show Contact Picker using System In-Built UI & Pick a Contact 2. Load all Contacts in a TableView 3. Search a Contact 4. Add a New Contact 5. Update a Contact 6. Delete a Contact Before using the contacts… Read More »
Snackbar is a UI element used for user feedback, just like a Toast except they provide action to interact with. Snackbar will be displayed at the bottom of the screen and can be swiped off in order to dismiss them. Floating Button sits on the top of your layout and provides a way for a… Read More »
This demo will show how to 1. Create and add a new Notification, 2. How many notifications are active in the current Application? 3. Delegate method for Notification Deletion. For Adding a Notification we can use the following snippet. For reading the number of currently Active notifications we can use To know when a Notification… Read More »
Hi all, In today’s tutorial I will show you how to send an image to server using POST method in ANDROID. If you are working in Android studio, then checkout the article here. Uploading an image to server is a basic requirement in many of our application. Sending data to server which is using a… Read More »
To Solve this 1. Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer 2. Double-click to install to Keychain. 3. Then in Keychain, Select View -> “Show Expired Certificates” in Keychain app. 4. It will list all the expired certifcates. 5. Delete “Apple Worldwide Developer Relations Certificate Authority certificates” from “login” tab 6. And also delete it from “System” tab. 7. Now… Read More »
Hi all, In this Demo I will show How to implement Apple ‘s MapKit on iOS. This demo will show following this. 1. Show Annotation in Maps. 2. Show Custom Annotation in Maps. 3. Show Custom Annotation with Custom Button in Maps. 4. Pin Point to location from Search. 5. Showing Route/Direction between two location… Read More »
Hello all… Today I will show you a simple and very easy method to make money online from your website. Click on the image or follow the link below to find out… http://www.infolinks.com/join-us?aid=444771 Watch the video on How to make some money with infolinks…
You know for using Google Maps,we need an API Key. You can check Google Maps for Android here… So for that we need to register in Google Developer Console. Once you get your API Key. we can start with Integrating Google Maps in our app. I am going to show how we can… Read More »
Here is a simple CardView Demo in Android. This demo shows how you can apply Corner radius and Shadow in Android L. Here is the Activity. This is the Fragment that adds the CardView. The Layout for the Activity. Fragment for placing CardView. You can download the complete Android Studio Source Code from here..
Here we are going to create custom transitions for a fragment. We will create transitions using Java classes by extending the Transition Class in Android. ChangeColor.java is the java class that extends transition. ChangeColor.java CustomTransitionFragment is the Fragment to which we are going to apply the transition. The MainActivity that adds the fragment. Download the… Read More »
Hi all… Yet another post on Google Maps.. In this demo I will show you how to show a route between two places in Google Maps V2. Hope you have gone through my previous posts before. If not please check here. You need to set up Maps Correctly for it to load. Lets… Read More »
This demo explains how you can create a Custom Notification in Android old and New versions. The notification appears expanded in Versions > 16. Let’s jump into the code… Below is the MainActivity that creates the notification. You can download the complete Android Studio Source Code from here.. Send your comments to firstname.lastname@example.org
Like Google Sign-In for Android, you will need a configuration file. Go to the below link and create a configuration file be giving your ios-bundle identifier. [https://developers.google.com/identity/sign-in/ios/start] Here I will be explain with the help of CocoaPods for integrating the Google SignIn SDK with the app. So first you need to install CocoaPods. For that… Read More »
ActionBarActivity is now deprecated.. Check out what Google says about using AppCombat. The AppCompat Support Library started with humble, but important beginnings: a single consistent Action Bar for all API 7 and higher devices. In revision 21, it took on new responsibility: bringing material color palette, widget tinting, Toolbar support, and more to all API… Read More »
Hi all, In today’s tutorial lets see 1. How we can add a Google Map to our Android project using Android Studio? 2. Showing a location in the Google Map. 3. Adding Markers in Google Map. 4. Getting location on Tapping on Marker info Window in Google Maps. Before you start coding, make sure Android… Read More »
How to implement Google Sign in Android Apps. Create a new project in Android Studio and name it DemoSignIn. 1. Get Google Configuration File (google-services.json). Follow the steps that google says and get the Configuration file. Go to this link and get it (https://developers.google.com/identity/sign-in/android/start-integrating). 2. After that go to your root “App” directory and copy… Read More »
Want to show App Banners in your website? Apple has a new way to show banners in your website. All you have to do is add a meta tag to the portion of your web site: where ‘YOUR_APP_ID’ is your app’s id. More options If you also have an affiliate code you can include your… Read More »
What is a Static library? A static library or statically-linked library is a set of routines, external functions and variables which are resolved in a caller at compile-time and copied into a target application by a compiler, linker, or binder, producing an object file and a stand-alone executable. This executable and the process of compiling… Read More »
1. To create apps with material design: Review the material design specification. Apply the material theme to your app. Create your layouts following material design guidelines. Specify the elevation of your views to cast shadows. Use system widgets for lists and cards. Customize the animations in your app. 2. Apply the Material Theme To apply… Read More »
Here is a simple and faster way to download a file from the internet in Android.