Using Web Services to Build Your Own Weather Application

Web services allow different applications from different sources to communicate with each other without time-consuming custom coding. All communication is in XML, and they are not tied to any operating system or programming language. This post will explain how to consume a third party web service

[ read more ]

Send email with attachment in Android

Send email with attachment in Android

  Just Call that Method and send Email in Android   public void emailSending( String strFile) { try { strFile = "/sdcard/Semiotics/Config/ftpCongif.txt"; File file = new File(strFile); if (!file.exists()) file.mkdirs(); strFile = strFile ;//+ "/report.html"; //create

[ read more ]

How to open wifi settings in android?

How to open wifi settings in android?

In today’s tutorial I will show you how to open the wifisettings in android programatically. This code comes handy when the user have not enabled the wifi and you want the user to enable it for your application to work. Here is the code for that. 1 2 3 4 5 6 7 8 9 10 1

[ read more ]

Implement a simple File Explorer in Android

Implement a simple File Explorer in Android

- First of all, as a user app, I think it should not access the root "/" directly. So I assign root to Environment.getExternalStorageDirectory(), it's the Android external storage directory. - Secondly, if a file/directory is hidden or un-readable, it will not be display. Create /res/layout/row.

[ read more ]

A simple ListView, extends ListActivity

A simple ListView, extends ListActivity

It's the simplest form of ListView, extends ListActivity. The list is displayed as a single line of plain text, using the simple Android built-in layout "android.R.layout.simple_list_item_1". package com.exercise.AndroidList; import android.app.ListActivity; import android.os.Bundle; impor

[ read more ]

Load ImageView with bitmap from internet

Load ImageView with bitmap from internet

It's a simple way to load ImageView with a bitmap from internet, via http connection. In order to load something from internet, the AndroidManifest.xml have to be modified to grand permission for internet access. <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http:

[ read more ]

PhoneGap PayPal-Plugin

PhoneGap PayPal-Plugin

by Paul Beusterien, Mobile Developer Solutions, Carl Stehle, Appception Inc. and Tomaz Kregar, Bucka IT Adding the Plugin to your project Using this plugin requires Android Cordova (PhoneGap) and the PayPal Mobile Payments Library. The PayPal Mobile Payments Library can be downloaded here.

[ read more ]

Why we use dp instead od px in android ?

Why we use dp instead od px in android ?

Due to different resolutions of devices we can't use pixels (px) because it varies device to device .........   that's why we use Density pixel (dp)  which is same for all devices ............ :)     And you can also use Scale-independent Pixels - this is like the dp

[ read more ]

Google Talk(chat client) integration with Java

Google Talk(chat client) integration with Java

In this tutorial, you will see that how to integrate Google Talk(Most popular chat client) with Java Code. Follow these steps to integrate Google talk with Java Java Code to integrate Google talk- Send Chat using java program package chat_Server; import org.jivesoftware.smack.ConnectionC

[ read more ]

Layouts in Android

Layouts in Android

A layout defines the visual structure for a user interface, such as the UI for an activity or app widget. You can declare a layout in two ways: Declare UI elements in XML. Android provides a straightforward XML vocabulary that corresponds to the View classes and subclasses, such as those for

[ read more ]