
Search In
Step 1:- Create a custom CanvasView class that must extend View class and includes below function.
1) Declare the required variables in CanvasView class
private Drawable mImage;
// width and height of original image
private flo
If you want to create a function to Show SMS on your device check below simple example. Here I have created a ListAdapter, by using this class sms will be showing on list and in this I have also created a SmsFormat class In which I have set value dat
In many applications we have to share content, links etc on Facebook. We can achieve this by using Facebook feed dialog. The following lines of code explains how to use feed/publish dialog.
First you need to get the app id and create a meta data. No
SharedPreferences are used to store primitive data types in Android such as int, long, float, string. SharedPreferences have an added advantage over storing data in singleton class as Singleton class can store data and available throughout the app bu
How launchmode parameter in activity behaves
<activity android:name=”.FirstActivity”
android:launchMode=”singleTop”></activity>
Let us assume different activity as A ,B ,C ,D ,E
1 android:launchMod
If you want to manage the point of sale payment method then follow the following code in your .py file.
import time
import pos_box_entries
from openerp import netsvc
from openerp.osv import osv, fields
from openerp.tools.translate import
In the below example I will discusss switching between activities in android. Here I have created two activities and named them “Activity1” and “Activity2” and used Intent and onclickListener in both activities. Also with I have created two xml layou
This blog is about how to update android notification and how to use Expanded and Big notification.
For Big style Notification you can check my previous blog which is:-
http://findnerd.com/account#url=/list/publish/Big-View-Notification-And
You must have seen many applications and websites provides option to login/sinup using Gmail, Facebook, twitter etc. and In my privious tutorial I had explained Integrate Twitter Login for Your Android App in same way you can also enable Gmail login
navCtrl.getActive().component.name Returns Single Letter for Production Build
I would like to share a problem we faced and how we resolved it.
Problem statement:
Client reported that every time they launched the applicati
