background preloader


Facebook Twitter

Activity restart on rotation Android. Home - Pencil Project. Android App Developers GUI Kits, Icons, Fonts and Tools. Hot on the heels of our previous GUI article, iPhone and iPad Development GUI Kits, today we focus on Android development.

Android App Developers GUI Kits, Icons, Fonts and Tools

The idea is the same: To help streamline your app design and development, with a fairly comprehensive collection of Android GUI kits, icons, fonts, .psds and tools, that will allow you to focus on developing rather than having to design everything from scratch. In comparison to Apples iPhone, the Android interaction design guidelines are far from being extensive nor are they as regimental. Androids guidelines are comprehensive and clear enough, yet they do allow a little room for some original design creativity – which is good. Of course, there is a reason why there are design guidelines, and they should not be abused (nice to be original though), the guidelines will help you to create a polished and uniformed experience for the user.

Android Asset Studio. Android Competency Center. Products, deals and coupons in India! Let’s look at how to parse JSON objects in android 1> First we’ll need an example : Lets look at a standard example from the json site you could either save this in a file or save it in a string… I’ve done 2> Android already contains the required JSON libraries Lets create a JSON Object; private JSONObject jObject; and lets our example be a String , now we have to convert jString to the jObject , jObject = new JSONObject(jString); Now we have to start extracting the content from jObject , Lets extract the menu object by creating a new menu object, JSONObject menuObject = jObject.getJSONObject("menu"); Now lets extract its atrtibutes , String attributeId = menuObject.getString("id"); String attributeValue = menuObject.getString("value"); JSONObject popupObject = menuObject.getJSONObject("popup");

Android SQLite Database and ContentProvider. SQLite is an Open Source database.

Android SQLite Database and ContentProvider

SQLite supports standard relational database features like SQL syntax, transactions and prepared statements. The database requires limited memory at runtime (approx. 250 KByte) which makes it a good candidate from being embedded into other runtimes. SQLite supports the data types TEXT (similar to String in Java), INTEGER (similar to long in Java) and REAL (similar to double in Java). All other types must be converted into one of these fields before getting saved in the database. SQLite itself does not validate if the types written to the columns are actually of the defined type, e.g. you can write an integer into a string column and vice versa. More information about SQLite can be found on the SQLite website: SQLite is embedded into every Android device. You only have to define the SQL statements for creating and updating the database. Access to an SQLite database involves accessing the file system. 3.2.

Tip. Android SQLite Database Tutorial. Form Stuff. Input controls are the interactive components in your app's user interface.

Form Stuff

Android provides a wide variety of controls you can use in your UI, such as buttons, text fields, seek bars, checkboxes, zoom buttons, toggle buttons, and many more. Adding an input control to your UI is as simple as adding an XML element to your XML layout. For example, here's a layout with a text field and button: Each input control supports a specific set of input events so you can handle events such as when the user enters text or touches a button. Here's a list of some common controls that you can use in your app. Android Development Tutorial. 1.1.

Android Development Tutorial

The Android operating system Android is an operating system based on the Linux kernel. The project responsible for developing the Android system is called the Android Open Source Project (AOSP) and is lead by Google. The Android system supports background processing, provides a rich user interface library, supports 2-D and 3-D graphics using the OpenGL-ES (short OpenGL) standard and grants access to the file system as well as an embedded SQLite database.

An Android application typically consists of different visual and non visual components and can reuse components of other applications. 1.2. The Android system is a full software stack, which is typically divided into the four areas as depicted in the following graphic. The levels can be described as: Applications - The Android Open Source Project contains several default application, like the Browser, Camera, Gallery, Music, Phone and more. Hello, World. Guide To Building Android Applications. Ok, so you’ve read the Android FAQ, successfully managed to install the Android SDK and get it up and running, so now you’re finally ready to get building some Android applications.

Below you’ll find anumber of links to sites that will be of great use to you as you get to grips with the Android SDK and begin to work on creating your own applications for the platform. Android applications are written using the Java programming language, you’ll also use a custom virtual machine (Dalvik) to run and tst your creations. Dalvik is designed for embedded use which runs on top of the Linux kernal. Below you’ll find a number of links to sites that will be of great use to you as you get to grips with the Android SDK and begin to work on creating your own applications for the platform.