Skip to main content

Posts

Showing posts from May, 2021

Connection between Android and MS SQL Server Database.

Connection between Android and MS SQL Database. In this post we will learn about the MS SQL Server Connection with Android Application . For this concept we will use JTDS.jar library in our Android application. Download jtds library using this link: Jtds library. We will learn this using step by step. Step 1: Next we will create our MS SQL Database. My Database name is DemoDB. It is a Microsoft SQL 2012 Database. Step2: Now Open Android Studio and Add JTDS.jar library in to your project. Step 3: Now lets start design the app res > layout > activity_main.xml: <? xml version ="1.0" encoding ="utf-8" ?> < LinearLayout xmlns: android ="http://schemas.android.com/apk/res/android"     xmlns: app ="http://schemas.android.com/apk/res-auto"     xmlns: tools ="http://schemas.android.com/tools"     android :layout_width ="match_parent"     android :layout_height ="match_parent"     and...

XML in Android: Nuts and bolts And Distinctive XML Files Utilized In Android

XML represents Extensible Markup Language. XML is a markup language similar as HTML used to depict information. XML labels are not predefined in XML. We should characterize our own Labels. Xml as itself is well decipherable both by human and machine. Additionally, it is adaptable and easy to create. In Android we use xml for planning our formats on the grounds that xml is lightweight language so it doesn't make our design weighty.  In this article we will go through the essential ideas of xml in Android and distinctive XML records utilized for various reason in Android. This will help you recorded as a hard copy a UI code to plan your ideal UI. Basics Of User Interface: The entire idea of Android UI is characterized utilizing the order of View and ViewGroup objects. A ViewGroup is an imperceptible holder that sorts out youngster sees. These kid sees are different gadgets which are utilized to make the various pieces of UI. One ViewGroup can have another ViewGroup as a youngster c...