Friday, September 11, 2015

How to connect Android Application with Microsoft SQL Database using PHP and retrieve data. (Section 2)

In this section I'm create android app to get information from URL.

I'm using android studio to create new project.
File --> New project -->



Give Activity name and Layout name and click Finish.


Add Plain_TextView to .xml layout.


update Activity.java using this.


Update using getid( ) method.

make sure you type correct URL and also  give permission <uses-permission android:name="android.permission.INTERNET" /> in android Manifest.







No comments:

Post a Comment