
Search In
Hi All,
In this blog post we are going to discuss how to integrate Facebook with PhoneGap.
To integrate Facebook with Android you need to register your app with Facebook first.
To register your App with Facebook follow below steps:
1. Navigate to h
Sometimes when we are working with service then we want the service to communicate with android components like activity.We need to accomplish this task to bind service to an activity.This type of service called android bound service.Once service ha
Using the below code I have created pdf viewer function. Here I have created pdf Viewer Activity and used string download_token,publication_heading,download_info and pdf data fetch data in DatabaseHelper. I have also used DownloadManger fuction. Bel
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
Hello friend's
If you are looking to created WebView function in android below example will help you. WebView is used for display web pages inside your application and it turns application to a web application.
Here I have added <webview> ele
Hello'friend's
If you want to create Read and write function you can take help from below example. In below example i have created two buttons and one TextView.
Step(1)-MainActivity-
public class MainActivity extends Activity {
private stati
In the below example i have created ViewFlipper function. Here I have used ViewFlipper attribute in main.xml layout. ViewFlipper can be used to slide views in and out on the users current view port. I have used two buttons When we will click next but
In the below example I have created a demo page for user input. Here when user will enter name and phone number then user name and number will show on same page. Here I have created first Relative layout then in relative layout added Edit
ViewPagers have built-in swipe gestures to transition through pages
You don't need to add any animation.
sample code :
Set your main Activity layout as:
in mainactivity Layout xml file set relative layout,in it set the view pager
In the below example I have created custom ViewPager in android. Here first I have added TextView and ViewPager in activity_main.xml and In MainActivity I have used MyPagerAdapter class and extends with the PagerAdapter class , In resource i have add