Author Archive

HTML5 time and mark elements

HTML5 time and mark elements In previous  article details and summary elements were discussed. Now we are going to look into time and mark elements. The <time> element Time element is useful for marking a time or duration in an HTML page.  The part with in <time> and </time> is readable by Humans and datetime

HTML5 new features introduction – part2

 HTML5 new features introduction – part2 In  last article we looked HTML5 new features introduction, In this and coming  articles we will explore HTML5 new articles in more detail. If you are already familiar with Web development then you may have worked on “Accordian”. Accordian are the panels that are used to display collapse able content

HTML5 new features introduction

HTML5 new features In this article we will look into new features in HTML5.  HTML is now more simpler then before and there are number of improvements in it like New doctype definition; The “type” attribute of elements such as <link> or <script> are now  optional; The syntax constraints that have been relaxed; New structural

Get unique values in a Swift array

Get unique values in a Swift array Recently I was working on an IOS app in Swift language. I came through an issue that I was having an array. That array was filled with values on run time. Most of values were duplicate. So I need to get a unique array. In Swift I did

Intent class in android – part 2

Intent class in android In previous article we discussed Intent class. In this article we will explore Intent Class in more detail and how we can start activities with Intents. We can start activity by calling startActivity(Intent intent, ...) and startActivityForResult(Intent intent, ...) When  we call these methods, Android has to figure out which single

Android – What is Intent Class

Android – What is Intent Class? An Intent Class is a Data Structure that represents 1. An operation to be performed, or 2. An event that has occurred. Intents provide a flexible  language for specifying operations to be performed. E.g Pick a contact, Take  a photo, Dial a phone number or show a map. Intent

Activity class in Android application development

Activity class in Android application development In previous article we discussed about android activity class and task and task back stack, activity life cycle and so on. In this article we will discuss methods of activity class. OnCreate method  This method is called when an activity is created. This method sets up the initial state.

Activity class in android application development

Activity class in android application development In previous article  we explored components of android application development.  In this lecture we will discover activity class in detail. Activity class are the primary class that  through which the user can interact with the application. Each activity should support a single focused thing a user can do  like

Fundamentals of Android application development part 2

Fundamentals of Android application development part 2 In one of  previous post we looked at android application development part 1.  In this article we will explore android platform fundamental application development components in more details. User Interface Layout User Interface Layout  are specified in XML files.  Some tools allow use to create the application layout

mongoDB – Index Size

We can determine index size of a collection by using following command in mongoDB. Suppose our collection name is “students”. > db.students.totalIndexSize();   Our index and data both can take space in memory but it is more important that our index fit into the memory.