Posts

Showing posts from June, 2016

Toast messages(android)

Image
Moving on with android Now we will focus on programming ,,,,,,,, Firstly I would like to introduce a new term called toast messages . what is toast..? toast provides simple feedback about an operation in a small popup. It only fills the amount of space required for the message and the current activity remains visible and interactive. For example, navigating away from an email before you send it triggers a "Draft saved" toast to let you know that you can continue editing later. Toasts automatically disappear after a timeout. Some methods for toast Toast . makeText ( context , text , duration ). show () OR you can get the context of your Application but for that you have to take the object of toast such Toast t=Toast.makeText(getApplicationContext(),"This is a Toast message",Toast.Length_short)  and you can run as t.show. So from above discussion we could track out that Toast.makeText ... this means that makeText is a method which is a static

Introduction to programming in ios with swift

Started with aim to write blogs with three languages now covering large area over languages introducing ios programming with swift language as we know for application in mac we have swift language so we will talk about swift language later on.     Firstly to write a program we need an editor in any language So as far as swift language is concerned for programing in ios we have an editor known as XCode  , This is  a development tool for applications.   XCode contains Sdk , Emulator  so its a complete package not just as in Android we need to install Gennymotion .   In android we have a java file and an xml file Known as androidmanifest.xml which is configuration file here per screen we have ..   Storyboard (for U.I. design) Swift (for business logic) By opening a project we can see mainly 3 window project explorer editor pane utility window Same as in android here we have to give a project name for example we give FirstApp.   So that becomes

programming structure in android

well know we are familiar with android basics so we are moving forward with the programming structure of android . THE main folder we will see on the top when we will start our new project is the app folder . IN app folder we will have sub folders like manifest java res 1) manifest folder IN manifest folder we will find androidmanifest.xml file which is configuration file it contains several permissions icons and a an activity which you want as a startup activity. 2) java folder In java folder there will be collection of all java files together . 3) res folder  In res that is recourse folder has its sub folders such as layout drawable values Layout that is just in java we have different layouts android also supports some rich Layouts in which first we have  linear layout  in which we have to set orientation that has two values one is vertical and other is horizontal keeps controls linearly vertical wise or horizontal wise . Next we have Relative layout he

introduction to android

After a long time again I m with new post that  is on introduction to android .here I will give you glimpse on android so that the basic of android is understood well to people but the primary requirement for an android developer is the good knowledge of xml and java . Here we will discuss about the why xml and java are useful for android here we are talking simply that what android language consist of..?? It simply consist of GUI in xml and business logic in java so two files one is java and other is xml . so the knowledge about the two is necessary. In Java we have jdk same for android we have sdk which provides the environment necessary for android and other thing is that we can do our programming in android studio or an eclipse but android studio is far better as provides good understanding for developers. Now we shall discuss about the coding   For coding open your android studio and in the GUI you will see file explorer in that create project .   You have to give t