Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
How to get longitude and latitude from address in Google map?
In the below example blog I have Implemented a Google map to get lat and long from address, In Google map I have added search address functionality. When user input address(place) name in an EditText and on clicking button, the application draws ...
Media Player Android Basics
A newbie in Android development comes across Media player usage in his/her project. So in this blog, I am here to tell you the basic of media player. One can use android inbuilt media player or can customize media player according to the nee...
How to add marker with Infowindow in google map?
In the below example code I have described to add a marker with Infowindow. Here I have used array list for adding marker items, then I have created plotMarkers method, in this method, it will addMarker by passing MarkerOptions as a paramet...
Upload Multiple APK with same package name.
Google Play has a feature to publish multiple apk with the same package name and different device configuration. For multiple apk's each apk has different version code and signed with the same certificate.
This feature is useful while your...
Upload files to server using Volley Library as a HTTP multipart request
We have to extend Request class of Volley library to upload files to server.
The steps to include this class is as follows:
Make changes to build.gradle file (Application level)
Add the following codes inside android{.....} are...
Testing Cordova In App Purchases on Android and iOS
In this post, you will learn how to test your cordova application with using cordova InAppPurchase. You can test the purchasing with both android and iOS platforms. You need to have android and iOS devices to test it.
Testing on Andr...
Getting tweets using latest Twitter Rest API's
Hello, Everyone.
In this blog, I am going to tell you how to use twitter fabric to get tweets in your application. But before going ahead, I am assuming that you have successfully installed fabric in your Android studio and if not, please read...
Capturing signature
To capture a signature, a custom view is created. This view works like a signature pad and you can get the signature drawn over the view by calling getImage() method.
The image is retrieved in bitmap format and can be further processed like stor...
Installing twitter fabric to your android studio
Follow the steps to install twitter fabric
Open Android studio
Click File--->Settings.--->Plugins
In Search box,search ''fabric for android studio''
C...
Set custom font to TextView from XML android.
In Android development if we want to set custom font to any Button or TextView then we need to do this programmatically.
There is some tricks to set fonts from xml i.e custom Views.
There are steps to do that.
1. Create c...
How to use predicates in android or java 8 ?
Do you have lots of data of an employee and you want to filter it without using database query then you can use predicates that also provides you queries on beans or model class.
Basically predicates comes from predicate function that returns ...
how to open application by pressing power button 3 times?
I want to open my application when user press power button 3 times or more.
I followed this http://stackoverflow.com/questions/22086349/press-power-button-twice-to-launch-activity URL from StackOverflow, and my application is opening but ...
Android - Information leakage flaw OutputStream
I have developed an application in the Cordova Framework, and I have added a camera plugin for capture functionality,
I am getting an Information Leakage flaw in the code below, using veracode to scan APK.
OutputStream os = this.cordova.get...
Distributing Android application to Specific Screens
In this post, you will learn how to distribute your android application to specific devices. You can choose the screens for that you want to distribute your application like only for tablets or only for mobile phones.
You can publish two versi...
How to reduce APK size android
This blog is about reducing apk size with little tricks.
1. Use Proguard. :- Proguard main feature are Obfuscation and shrinking. Obfuscation is prevent from reverse engineering. Shrinking eliminates unused code and shrink code and r...
Calling application methods from WebView in android
Sometimes it is required to show useful information to the user in android App and in that case,WebView is very useful.But to access WebView,we need to develop a two-way connection between application and WebView.
Here I will show you the best...
How to make Full Screen Navigation Drawer layout in android?
In the below example code I have created Full-screen Navigation Drawer layout with the help of FullDrawerLayout class.
Step(1)-activity_main.xml -Here I have added package name with FullDrawerLayout class name
<?xml v...
How to Make Image Selectable Using OCR Api which Can Extract Image Text in Android?
Hello, I am working on a project on android application which extract receipt images text and save it using OCR API. The problem i am having is that i want some way so that image potion can be selectable to user so that it highlight amount and da...
How to blur background image using BitMap?
In the below example code I have created blur background image function. In activity_main.xml layout I have added a Button and ImageView.
Now see programming area, here I have used Bitmap class. When a user clicks on button background im...
How to get only one restaurant when I press click button one click
I have an app and inside it only one activity (main activity) and layout XML of main activity have only
list view . This app will get restaurants near from my location and display it in list view.
What I need to do is add button to the ma...
How to Add Items in Spinner By using SQLite DataBase
In the below example code I have created and example, to add item in Spinner By using SQLite Database. here In activity_main.xml layout I have added EditText, Button and Spinner. Now See programming area, here I have Created a DataBaseHelper Clas...
How to make Custom Spinner using material design
In the below example code I have created a Custom Spinner. Here first, I have added spinner library in build.gradle file. After that, I have added Spinner layout in activity_main.xml layout. In MainActivity I have added items name in String.
Y...
How to make Tab Custom Layout?
In the below example code, I have created a Tab Custom Layout. In Tab Layout I have added Text with icon. Here first I have created two custom tab layouts Then I have created a method setupTabIcons() and inflate Custom layouts for tabOne and tabT...
Adding Card View Alternatively Within RecyclerView
In the below example code I have Created a RecyclerView. In RecyclerView I have added CardView Item Alternatively like Chat app .
First Item is on left, second is on Right. In Adapter class I have used boolean type, variables(chang...
How to make Horizontal RecyclerView in android?
In the below example I have created a Horizontal RecyclerView.
Here first I have added RecyclerView dependency to Grandle file.
In second step I have added a RecyclerView and Set RecyclerView gravity (center_horizontal). Now see In Main...
How to prevent and USSD code from running in android?
I want to see how can I prevent a specific USSD code from running in android java?
for example if the user dials *1234# an error pops or just make it not working.
I want to create an application that prevents dangerous USSD codes from runni...
How to add icon with text in tab layout
In the below code example I have created a Tab layout, here I have created two methods, first is add text value and second in declare icons.You can see below example code it clearly describes How to add icon with text in tab layout.
...
How to debug Android app wireless
There is some functionality which we cannot test on Android Emulator and Genymotion So we use Android actual device.
But we have to attach device always when we need debug app.
There is very clean and useful Android Studio Plugin which help...
How to create Grid View with in View pager
In the below example I have created a GridView with in Viewpager. Here in activity_main.xml layout , I have added ToolBar, ImageView , TextView, TabLayout, Viewpager. In second step I have created three fragments xml layouts. In fragment_three.xm...
Image Upload using Retrofit
We are assuming you are already familiar with Retrofit. If not then first go to this. We have used multipart request for uploading image on server using Retrofit.
Following are the simple and easy steps for image uploading using Retrofit:-
...
How to use SmartLock for Passwords in Android
SmartLock for passwords saves your favorites apps and websites accounts authentication to your google account for future use for fast Login.
With SmartLock for passwords you save authentication in Android app may be available on Chrome on Syst...
Want Freelancer Android Game Developer
Any freelancer who can develop games on android may contact.
For contacting, please send your bid here.
How to implement Urban Airship api in android to send gcm notifications ?
Urban Airship api provides you better way to implement push notifications and also provide you facility to send messages on production without sending it to live users so you can even test in production phase.
This api supports gcm and amazon ...
Use StackView in Android
StackView is used to display views in StackView. StackView is added from API level 11.
Steps to implement StackView
1. add StackView in layout .
<StackView
android:id="@+id/stackView"
android:la...
How to use EventBus in Android
EventBus is third party library which is best for communication with Activities,Fragment,Thread etc. It simplifies the communication between components. It is fast and less code use.
First of all add dependencies to gradl...
Hot to use action script to call ANE ?
This post is helpful to generate action script to call adobe native extension files. Here we are using FDT IDE used to create Action script for ANE.
1. Download FDT from http://fdt.powerflasher.com/docs/Installing_and_Running_FDT#Standalone_In...
Face Detection Android
From Google Play Services 7.8 Face Detection include in Mobile Vision API. It helps to Detect and track faces from Live Camera or Video.
1. add google gms service dependencies to gradle file.
compile 'com.google.andr...
Android app development for beginners 3: Building a simple Simple User-Interface
In this tutorial you'll learn:
1. How to interact with a simple User-Interface
2. LinearLayout and some basic attributes of the basic UI elements.
Dynamic DataBinding In Android
This Blog simply illustrate how to use dynamic data binding in android
Tired of writing same code again and again for finding views and setting data into it ?
here is a simple solution which will now reduce the developer's effort for do...
How to use CollapsingToolbar with RecyclerView
In the below example I have created a Collapsing toolbar. When you scoll your recycler items then your header image will hide. Here In actvity_main.xml I have first created CoordinatorLayout as root element, In CoordinatorLayout I have added AppB...
How to generate native jar to build ANE ?
To make a build of ANE i.e Adobe native extension first you have to download FlashRuntimeExtension.jar that comes along with Adobe AIR sdk.
you can download from here :
http://www.adobe.com/devnet/air/air-sdk-download.html
We k...
How to compress video before uploading it to server ?
We know uploading a video on server is a time consuming task but by using third party libraries we can compress video file faster.
There are many libraries available but this one is good, you don't have to add any ndk with this lib :
FF...
Get correct path of file stored in device
Sometimes we faces some problem in getting path of selected files, like till kitkat version we have three types of document storage that are
ExternalStorageProvider
DownloadsProvider
MediaProvider
but in above versions we have
...
Manage image rotation programmatically
Hi we know that we have lots of devices available in Android market with different-2 resolutions and functionalities like we have some issue with samsung and lg devices while capturing images from camera, we basically gets the wrong orientation o...
Push notification using c#
Hi, I want to send a Push notification so can anyone help me to know, How to send notifications to multiple devices using C#?
Tweet from Android application using Fabric
Fabric is Twitter's mobile application development platform. For more about Fabric and install on Android Studio Please refer below link:-
https://get.fabric.io/android
After Install Fabric. Login using Twitter account and...
How to go next Activity click On CardView Item in android
In the below example I have created a RecyclerView, In RecyclerView I have added cardView item, so when you click on cardview item it will open next activity.
In below code, first I have added RecyclerView and CardView library , In second step...
Play Youtube Video in Fragment Using YouTubePlayerFragment
This tutorial explain how we can Play YouTube video within Fragment.
1. Create simple Fragment class extending Fragment.
2. Implement YouTubePlayer.OnInitializedListener to Fragment and override its methods.
3. Create FrameLayout...
How to save Data items in spinner
In the below code I have created a spinner, when you add your name or text in edit text box and press Add Button your text data will be save on Spinner. Here first I have added a EditText, Button and Spinner with in activity_main.xml layout...