• Dot_Net_Webservice_Call_-_Android_Example

    Dot Net Webservice Call - Android Example  Dot Net Webservice Call - Android Example

    In This example calling dot net webservice to get/send data to server. Using ksoap2-android-assembly-2.4-jar-with-dependencies.jar to make soap call.
    Accessing a live web service ConvertWeight from http://www.webserviceX.NET/ which convert weight from one unit to another.

    Steps :

       1. Add jar ksoap2-android-assembly-2.4-jar-with-dependencies.jar in your project.
      2. Creating class WebserviceCall.java and define webservice namespace and url and make soap call. Accessing a live web service ConvertWeight from http://www.webserviceX.NET/ which convert weight from one unit to another.
       3. Call WebserviceCall.java object to call getConvertedWeight method.
       4. Showing response in a toast(alert) and on screen.

     

    Read More
  • Check_Internet_Connectivity

    Check Internet Connectivity  Check Internet Connectivity

    In this example we will see how to check internet connectivity.
    When we have requirement to call file on server or call webservice then  first check internet connctivity.
    If internet connection is showing connected then we will call file on server or call webservice.
    Required ACCESS_NETWORK_STATE permission in mainfest.xml file.

    Read More
  • FTP_File_Upload_From_Sdcard_to_server

    FTP File Upload From Sdcard to server  FTP File Upload From Sdcard to server

    First Time User Please check previous example for normal file upload by server script( php | java | .net | coldfusion )
    Upload File To Server - Android Example ( http://androidexample.com/Upload_File_To_Server_-_Android_Example/index.php?view=article_discription&aid=83&aaid=106 )

     

    In this example uploading file on server by ftp client ( with the use of ftp4j-1.6.jar ).

    Steps :

       1.  Using ftp4j-1.6.jar from sauronsoftware repository. Download and Add ftp4j-1.6.jar as library.
      
       2.  Must be required a Server Dedicated IP for FTP File upload.

     

    Read More