Skip to main content

Posts

Android Tutorial

Android Kotlin

Want to hit the ground running? Check out our  Kotlin samples ! Kotlin is fully supported in  Android Studio 3.0 , so it's easy to create new projects with Kotlin files, add Kotlin files to your existing project, and convert Java language code to Kotlin. You can then use of all Android Studio's existing tools with your Kotlin code, such as autocomplete, lint checker, refactoring, debugging, and more. Create a new project with Kotlin Using Kotlin with a new project requires just one extra click in the New Project wizard: In Android Studio, click  File > New > New Project . Or if you've just opened Android Studio and see the  Welcome to Android Studio  window, click  Start a new Android Studio project . On the first screen, check  Include Kotlin support . That's the only difference. Click  Next  and continue through the wizard until you're done. When you select an activity template, it will be provided in Kotlin code. ...
Recent posts

php for begginer

PHP 5  Tutorial ❮ Home Next ❯ PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. Easy Learning with "Show PHP" Our "Show PHP" tool makes it easy to learn PHP, it shows both the PHP source code and the HTML output of the code. Example < !DOCTYPE  html > < html > < body > <?php echo   "My first PHP script!" ; ?> < /body > < /html >

Internet programing

Chapter 1: Overview of Internet Programming This chapter explains what is meant by an Internet application, and what its different components are. 1.1 Overview An Internet application is a client-server application that uses standard Internet protocols for connecting the client to the server. You can use exactly the same techniques to create a true Internet application, which is available publicly through the World-Wide Web, or to create an intranet application. An intranet application is one which runs on your corporate intranet, and is only available to the staff in your corporation. Whenever we talk about Internet applications, we mean either true Internet applications or intranet applications. For an introduction to the World-Wide Web, see the appendix  Introduction to the World-Wide Web . Internet applications are thin-client, thick-server. This means that the client end, the part the end-user sees and interacts with, is only responsible for the user-interface. The clie...
SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation. SQLite supports all the relational database features. In order to access this database, you don't need to establish any kind of connections for it like JDBC,ODBC e.t.c Database - Package The main package is android.database.sqlite that contains the classes to manage your own databases Database - Creation In order to create a database you just need to call this method openOrCreateDatabase with your database name and mode as a parameter. It returns an instance of SQLite database which you have to receive in your own object.Its syntax is given below SQLiteDatabase mydatabase = openOrCreateDatabase("your database name",MODE_PRIVATE,null); Apart from this , there are other functions available in the database package , that does this job. They are listed below Sr.No Method & Description 1 openDatabase(String path,...