Sunday, 5 April 2015

Downloading And Installing Android Studio...

We have already covered the details about the Android Studio in the previous post, don't worry if you missed that click here if you want to have a look.

One thing I want to share with you that this IDE (Integrated Development Environment ) is designed specially for the development of android apps. One can use it on operating Systems like WINDOWS, MAC OS and LINUX.The minimum required RAM for installing this IDE is 2GB but 4GB of RAM is Recommended by Google.You must have atleast 500 MB of free disk space in your computer to install it.

How To Download And Install


The installation of this IDE is demonstrated step by step in the official website of it.
So please refer here .
In case you have any problem or query comment in box below.

Saturday, 4 April 2015

Lets Start with c++...

Lets Start with c++...

C++ coding is done on IDE- Integrated Development Environment. It is a software application that provides a platform to run ,compile and execute High Level Programming language.

For C++ the IDEs are Dev C++ (recommended), Turbo C++, Borland C++ etc.
Every IDE has compilers which compile the written codes and check the errors and verifies whether the codes are following the correct logic, syntax etc which are required to run and execute the program successfully.

Below are the following formats that are required to follow to make the programs(coding) syntaxtically.

1. Header file declaration

Header files are the pre-compiled or pre-coded files with correct logic and syntax that includes in-built functions, class, structure etc. , which may directly or indirectly can be used in the program to avoid the program coding from being lengthy and hence make the execution time fast.
These files are stored in lib folder (library folder) of your respective IDE.

Header files comes with the extension ".h"(dot H).

For eg;
 if XYZ is a header file then it comes with "XYZ.h".

Syntax to be used in program to use header file:

#include<XYZ.h>

#include-(hash include) This is called pre-processor directives which means that these are the codings which are already been compiled and processed by the IDE compiler.

#- It is used as linking and loading the header files i.e, it act as a interface between the library file and programming.

include- This includes all the in-built functions, class and structures which are packed in the header file closed in < ......>.

Mostly used header files in C++:

#include<iostream.h>
#include<conio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<stdio.h>

Next Blog in-built functions and uses of the above header files.

Concepts Of C++ ...

Later, we discussed about the features of Object Oriented Programming (OOP). In this chapter, we are going to learn about the concepts that can be implemented by this paradigm, not in detail but a mild touch. We will be doing this in detail in the upcoming blog.

CONCEPTS:-

1. Class and objects
2. Data Abstraction
3. Encapsulation and Data binding
4. Data Hiding
5. Polymorphism and overloading
6. Inheritance and reuse-ability
7. Dynamic binding
8. Message passing

These concepts of OOP enable us to modify, give security and new mode of programming to our program.

These concepts we are going to deal, when we will be handling with "class".

Till then do remember these features and concepts.



Wednesday, 25 March 2015

Web Sites and Web Server in Asp.Net ...

WEB SITES :- Web Sites are nothing but a collection of the Web Pages that are hosted on web Server. They are normally preceded by HTTP://WWW.

WEB SERVER :- Web Server is a software that is used to host the Web Sites and Provide the basic infrastructure to host and run Web Sites. It can host one or more Web Sites.
example :-
IIS(Internet Information Services) from Microsoft works only on Windows.
APACHE Web Server
Glass Fish
Oracle Application Server
Tomcat Server

By default Windows include IIS in Client Operating System XP, WINDOWS 7, WINDOWS 8.

We can host only one website, but on Windows Server you can host n number of websites.

The Websites are primarily divided into two categories
1. Static
2. Dynamic

Static :- Static are those in which the content remain fixed and does not change as per the user requirement.
for example:-website of Schools cab be a Static Websites.
technology used is HTML, JAVA SCRIPT, CSS, etc.

Dynamic :- different from Static Websites when Websites interacts with the database and certainly form  web services(going to study after next few post) at the back end.
for example :-
just consider if gmail is a static website then
one user have 6 to 7 pages or some more like compose,inbox,draft,sent mail,promotion,home.
one user have approximately take min 100 messages then total number of pages=100*7.
Google have billion of user now how many static pages they are going to make. It can be go up to trillion of pages so it can not be done through static website so it can done by dynamic website.

technology used is ASP.NET,PYTHON,ASP,PHP,etc

NOTE :- A Browser only understand HTML, JAVA SCRIPT, CSS.
               then how browser understand that different kind of technology which we used for dynamic                  websites. for that we introduce scripting language.

There are two kind of scripting language-
1. Server-Site Scripting language.
2. Client-Side Scripting language.

Server-Site Scripting Language :- which runs on web server then output is generated in HTML and finally sent to the browser.
for example:-

ASP.NET - Active Server Pages(C#,VB.NET,)(.aspx)
ASP.NET MVC - Model View Controller(no extension)
PHP - Hypertext Preprocessor (.php)
Java Server Pages - (.jsp)
Ruby on rails
python
Java Servlets
Cold Fusion Markup - (.cfm)

Client Side Scripting Languages :-

Java Script - developed by NETSCAPE the member of the NETSCAPE have also develop Firefox.

VB SCRIPT - MICROSOFT - internet explorer

JQUERY accepted by all major companies so it becomes so successful. It purely works on the browser.

In the upcoming posts you can study more deep about ASP.Net and HTML.

Android Studio . How it works?

Android Studio


Android Studio is the integral development environment used for development of Android Apps.
It is based upon the IntelliJ Idea development environment and it is the Official development tool for Android Application development for Google play.

Android studio is based upon the concept of gradle.



So what is gradle in Android Studio ?
Gradle is nothing but a system that helps in the management of the following-

i.repository management.
ii.Build Management
iii.Version Management.
iv. Application Signing of App.


Thus the gradle helps in each and every task for our projects which we build using Android Studio. It is also called as the Control version System (CVS) for android.

Through the help of Android Studio we are able to visually create our application that includes layouts like Buttons, Radio Buttons, Check Boxes, Spinners etc.



When we use Android studio we are going to use JRE or JAVA as one component and android Architecture as Another Component.

We can use collections, Utility Classes from java and we can also use Android specific classes within Android Studio.

In the next post the installation of the IDE is demonstrated click here to download and install Android Studio.



Tuesday, 24 March 2015

Why C++ Programming ?

As the word defines itself "C + +" ,i.e "C Plus Plus" , quite similar like increment operator(++) in C, which means a step ahead of C language. This gives a whole picture that C++ includes all the features of C but along with it, it is a step ahead with new features.

As a whole we can say, C is the Subset of C++ ; where as C++ is the superset;



The main feature of C++ that makes it differ from C is that it comes with Object Oriented  Programming (OOP) paradigm where as C is a POP (Procedural Oriented Programming) or FOP (Function Oriented Programming).

OOP is a programming paradigm that enables to modularize the program by creating the memories for both data and functions that can be bind into one single unit and can used as templates and enables us to create such copies on demand.

OOP features;-

1.Follows bottom up approach.
2.More priority to data rather than procedure or algorithms.
3.Hide and give security to data from external user.
4.Data can only be fetched or access by what is known as methods or functions.
5.Program is divided into what is known as objects. 
6.Functions may communicate with each other through objects.

POP is a programming paradigm that gives more priority to procedure or algorithms.

POP features:-

1.Follows top-down approach.
2.More priority to procedures and algorithms.
3.No security and data can be accessed by outside programmer.
4.Program is divided into functions.
5.Functions may communicate through functions.

So, from the above  knowledge, we can conclude that C++ gives the flexibility to the users to use the language either POP or OOP .

Health tip of the day... How to Exercise our precious Eyes ?

If we think which is the most precious gift to us from god, The answer will be OUR EYES. In our daily busy life schedule we neglect the importance of our eye care and do not give proper attention to our eyes.

Exercise your eyes at frequent intervals. Eye exercise is simple. All you need to do is just blink them several times, then close your eyes and role them in clockwise and anti-clockwise direction. While doing this, inhale and exhale slowly and open your eyes slowly after doing this.

Tuesday, 10 March 2015

Health tip of the day ... Tips for eyes for those who use computer for long time.

Did you know that on average we blink 12 times per minute? But wait, did you know that when
we're on the computer we only blink 5 times per minute? That can add up to dry eyes. Relieve the discomfort by using artificial tear drops or gels and remember to blink!

Health tip of the day ... How to treat dark elbows and knees naturally?

Treating Dark Elbows and Knees Naturally - Rub lime juice over the discoloured area and leave for 15-20 minutes. Soak a towel in hot water and scrub firmly. Repeat this for 2 weeks.

Sunday, 8 March 2015

Health tip of the day ... Tips for how to brush our teeth ?

Brushing - It’s best to use a medium soft brush and paste. Be sure to brush your teeth, tongue and gums thoroughly two times a day. Once in the morning and second time in the night after 40 minutes of taking dinner. Rinse – with aging as the flow of saliva is reduced in our mouth, it’s more likely that food particles will damage your teeth and gums more. Rinsing gets rid of the particles. Since some mouth washes are irritating to the gums, dilute it if necessary.

Friday, 6 March 2015

Health tip of the day ... How to soften and Smoothen the skin?

Body lotion to smoothen and soften the skin. Mix 1 table spoon of lime juice with 1 table spoon of Glycerin and 1 table spoon of rose water. Mix well and store it in a glass bottle. Apply daily half an hour before a bath or apply at bedtime and wash in the morning before bath.

Wednesday, 4 March 2015

Android Architecture in details ...

Linux Kernel-


In the linux kernel  we have libraries and android runtime that helps to work with different concepts.
For example SqlLite is a library to store data within the App. We can have media libraries to interact with Videos, Audios and Pictures etc. We also have a very important library called as WEBKIT.

What is WEBKIT in Android?

Webkit is an browser engine powering safari, Google Chrome and Android Internet browser.

Android Runtime-


Android Runtime is a component which takes care of the core services like Google MAP, Location Service and also provides a runtime for running our apps on Google's  Android Operating System.

Android gives every required functions to a App like Memory Management, Device Mangment and other jobs which are the application requisition. Its the runtime's responsibility to interact with whom the App requiring.

The runtime environment actually targets different architectures which exist on different phones. The runtime is able to understand and push the native code according to Architecture of  the phone.

Application framework-


Application framework is a layer through which different applications can interact from various activities with the phone. Every application can interact with defferent kinds of frameworks like notification framework, View framework and telephonic fraework and others.
These frameworks are the basic building blocks for android architecture. These frameworks contains reusable codes, libraries, controls that any application can use for interaction.

Application-

Application layer is the top layer within android architecture.this layer contains two types of application.
1. Inbuilt application
2.User defined Application

1.Inbuilt applications-
Inbuilt apps like Telephony, SMS and browser etc.
They interact with the application framework but they are the integral part of the android system.

2.User Defined Applications- 
 These are the apps which are developed by the end user or the third party developer like Facebook Whatsapp or Twitter etc. They also interact with the application framework and work on the same manner as Inbuilt Applications

Health tip of the day ... Why not to distort facts and not to lie ?

Do not distort facts. This one is usually translated as: don't lie. But it is wider than that. Sometimes the use of words can make something seem acceptable, when it could also have been said very differently and be totally unacceptable. This would not be a lie, but it would be a distortion of fact.

Tuesday, 3 March 2015

Monday, 2 March 2015

Sunday, 1 March 2015

Health tip of the day ... How to promote ody resistance ?

Oranges are excellent foods in all types of fever when the digestive power of the body is seriously hampered. Orange juice provides energy, increases urinary output, and promotes body resistance against infections, thereby hastening recovery.

Saturday, 28 February 2015

ASP.NET and Visual Studio 2012 ...

Summary of the Introduced .NET Frameworks till today :-

2001----------------->.NET FRAMEWORK 1.0

2002----------------->.NET FRAMEWORK 1.1

2005----------------->.NET FRAMEWORK 2.0

2008----------------->.NET FRAMEWORK 3.5

2010----------------->.NET FRAMEWORK 4.0

2012----------------->.NET FRAMEWORK 4.5

                     
 
The Architecture of  .NET framework 4.0 -


                                             The Architecture of  .NET framework 4.5 -
     

CLR (Common Language Runtime) -
                                                                   It is use for the execution of the .NET code within .NET FRAMEWORK. It is responsible for memory allocation, memory thread for hardware resources. It performs each and every function which are application in demand.



CTS (Common Type System) -
                                                                   This is an entity in .NET Framework meeting type compatibility in .NET Language. For example a Boolean data type in VB.NET and datatype in C# is determined by CTS.



CLS (Common Language Specification) -

                                                                     CLS is a subset of CTS and it contains minimum specification which every language has to satisfy.              For example: Python is one language that is .NET complied language. That means it can work with .NET.

Friday, 27 February 2015

Heath tip of the day ... Why not to over indulge in thinking ?

Don't over indulge in thinking. The mind is a highly deceptive tool and overuse makes it overly powerful over us. When thoughts start seeming real, and control ones life, beyond what is reasonable, it is perhaps time to consider whether perhaps one has overindulged in thinking.

Thursday, 26 February 2015

ASP.NET Evolution in the Market ...

Till 2001 Microsoft is the king of the  software industry and most of the software’s are platform dependent only for its own operating system Microsoft Windows. But in the later years companies like Google, Ge-force, Apple and Amazon etc. give Microsoft a huge competition in acquiring the market position which force the Microsoft to change their Philosophy regarding their products and they do so for their survival.


.NET framework is completely a platform independent kind of web technology.


Before .NET

     VB        ---------------- >COMPILE ---------->creates .exe file which was
                                                                                      platform dependent.
 

AFTER .NET 
                    
                                                             
     VS                                      IL/MSIL                                next version of
C# .NET  ----->COMPILE------->.exe file  ------->INTERPRET      ARM, LINUX,
                                                                                               ANDROID
It performs on your code and change according to your platform                      
.NET FRAMEWORK

IL/MSIL:

Intermediate Language:

it is a set of instances that can run by a specific interpretation on a specific platform. It is primarily included to make the platform independent for certain languages to work.

It is very similar with Java and works as follows ;


Java---> Java code-->.class (Byte Code) ---> Interpret---> JRE, JVM (Plat. Inde)


VB.NET, C#---> .exe (Binary code) ---> Interpret--->.NET Framework



.Net framework 3.5 (2008)  and .NET framework 3.0


3.5 And 3.0 Framework was introduce when Windows VISTA was launched. Technology like LINQ, WINDOWS Communication Foundation, and Windows Workflow Foundation were introduce with windows VISTA.

In the upcoming posts you would come to know about .NET Framework 4.0 and 4.5 and I will also explain some of the common term like CLR, CLS, and CTS...

Health tip of the day ... How to treat skin blemishes, wrinkles,boils, pimples etc. ?

Apply grated potatoes as a poultice. This treats skin blemishes, wrinkles, boils, pimples, blackheads, whiteheads etc.

Wednesday, 25 February 2015

Health tip of the day ... Side effects of wearing high heels.

High heels sure look great, But they are murder for your back. This however does not mean your steer clear of them. Wear them, but not when you know you will be walking around a lot.

Monday, 23 February 2015

ASP.NET (Active Server Page)

First of all it is necessary to make clear that the Terminology ASP.NET is not a language it's a web technology. Today and in a coming  post I am going to tell u how ASP.NET evolve into the present sky touching flexibility.

.NET FRAMEWORK 2 (2005)




                Before .NET Framework
1990 -------------------------------------------------->1999     
                          VISUAL STUDIO      

Microsoft.NET framework is a collection of classes reusable code libraries that can be used to develop three kind of application
1.    Window Based                          / It is a traditional established
2.    Web Based                                / So For ASP.NET it is C# Collaboration
3.    Mobile based                                                   
                                                             
The framework was launched in 2001 and is available for free of cost for the end user. It was targeted to develop a framework which is platform independent and can run on any kind of device.

Health tip of the day ... Precautions at the time of wearing shoes.

Be certain that your shoes fit with room to shake your toes. Look inside your shoes before putting them on, in case there are any foreign objects hiding in there, such as gravel, that could cause sores or irritation. Wear clean well-fitting socks.

Sunday, 22 February 2015

Health tip of the day ... How to make yourself peaceful and happy ?

When You feel the stress getting to you, take a moment. Get away, even it's just for a while, to be with yourself and your and your thoughts. Some people like to take a walk, meditate, lock themselves away in a beautiful bath, or go to temple/church. Find the peace and the silence.

Saturday, 21 February 2015

Friday, 20 February 2015

Health tip of the day ...

Take 1 teaspoon of tomato pulp, 1 pinch of turmeric powder, half teaspoon of lime juice and 1 teaspoon of gram flour (besan). Make a paste of the above ingredients and apply gently on the eye lids and the darkened areas and let it remain for half an hour. Remove gently with moist cotton pads after half an hour. repeat this for a week.

Thursday, 19 February 2015

Introduction To JAVA

                 
 In this tutorial I will give you a brief introduction on Java. 
 Java is a computer language developed by SUN MICROSYSTEMS in early 90's and named as 'OAK' . It is a purely Object Oriented Programming language developed by James Gausling and Patrik. 

Major features of Java are -

 * Platform Independency
* robustness
* Distributed
* Secure
* Multi-threded
 * Portable and
 * Dynamic etc.

Java works on the paradigm "write once run anywhere" . It works on a framework called as JAVA RUNTIME ENVIRONMENT (JRE), it comes in different edition-
 
1) JAVA STANDARD EDITION(SE)
2)JAVA ENTERPRISE EDITION(EE)
3)JAVA MOBILE EDITION(ME)

                    JAVA STANDARD EDITION(SE) is used to develop client side applications,standard programs and applets which are not used by an enterprise.

                    JAVA ENTERPRISE EDITION(EE)  is used to develop server side applications and to handle projects related to enterprise and include frameworks like STRUTS,BEANS and others.

                    JAVA MICRO EDITION(ME) is used to develop applications for mobile devices such as cell phones,set up boxes and microwave etc.

Java is a free of cost distributed language which can be downloaded from oracle's website. Java works with the help of following methodology-

   JAVA PROGRAM---------->>>>Compile---------->>Class (Byte code)

           
                            (can be used in any environment).


Later on we will be using JDK for developing and compiling Java Programs.

Java Card: 

 A technology that allows small Java-based applications to be run securely on smart cards and similar small-memory devices.


JDK 
 
 JDK consists of a set of separate programs, each invoked from a command line, for developing and testing Java programs. It includes the JRE plus command-line development tools such as compilers and debuggers that are necessary or useful for developing applets and applications.
 
JRE


The
JRE provides the libraries, Java virtual machine, and other components necessary for you to run applets and applications written in the Java programming language.
JVM

 The Java virtual machine (JVM) is an abstract computing machine that has an instruction set and manipulates memory at run time. The Java  virtual machine is ported to different platforms to provide hardware- and operating system-independence.

Here is a sample program-
For the compilation of this program , Firstly write this code on notepad then open command prompt 
and then write...

import java.lang.*;
class HelloWorld 
{
public static void main(String[] args)
{
System.out.println("Hello World");
}
}


Health tip of the day ... How we distract ourselves from taking meals? Its side effects.

Dining while viewing TV can make you take in 40 percent more calories than usual, reports a new study. And texting, driving, or any other distracting activity during a meal can also result in your eating too much. Instead, make each meal something you put on a plate ad sit down to even if you're eating alone.

Wednesday, 18 February 2015

Health tip of the day ... Proper use of Soaps.

Reduce the frequency of using soap to clean your face. Soap can remove the oil from the surface of  your skin. This would result in dry skin and can aggravate the acne boils. Instead just wash the face with plain cold water. Limit usage of soap on your face to twice or thrice a day. Regular application of Ayurvedic products like 'Kumkumadi Lepam', 'Chandanadi Thailam' etc on acne boils help in their subsidence. The skin will regain its lost luster over time. Also application of sandalwood paste is a good alternative.

Tuesday, 17 February 2015

Health tip of the day ... How to maintain muscle mass ?

Doing 5 minutes each of push-ups, swings and squats (in 30 second interval) will help build and maintain muscle mass. The more muscle you have, the higher your metabolism will be, so you'll torch more calories as you go about your day.

Monday, 16 February 2015

Health tip of the day ... How to achieve change in your figure by proper diet?

 You have to eat not just three times a day as the majority of people do but 6-7 times a day. If you are able to split into your daily nutrition ration in even small portions you would achieve even more significant changes in your figure. Eating according to regular intervals keeps constant insulin balance and leads to fat losses and muscle growth.

Sunday, 15 February 2015

Saturday, 14 February 2015

Architecture of Android

Androids Architecture is a layered mechanism by which individual components can run and perform actions based upon the users. The lowest layer is of the LINUX kernel which primarily interacts with hardware and the device drivers.
In the Linux Kernel we have libraries and android run-time that helps to work with different aspects.
for example, SQLite is a library to store data within the App we can have media library to interact with videos and picture.

The passing of data from one app to another is done through a concept called as Inter-process Communication (IPC).

Introduction to Android

Android is one of the Mobile based Operating systems that has changed the computing scenario by launching a customizable, user friendly and touch based Operating System. Though it was launched after I-Phone still it is the most dominant operating system within Mobiles and Tablets. The whole OS is based upon LINUX and was developed by a company called as ANDROID INCORPORATION. The company is ultimately acquired by Google because they wanted to enter into the Mobile Space Market.

Wednesday, 21 January 2015

Health tip of the day ... Daily important Vitamins and their sources.

Incorporate Vitamins A, C, and E, on a daily basis; Eat citrus fruits, green leafy veggies, tomatoes, spinach, poultry and dairy products. Pack a box of chopped carrots, cucumber and fresh fruits and munch in-between meals at the office.

Health tip of the day ... Home remedies of foot corns due to tight shoes .

If the shoes are tight, pinch or do not fit properly corns appear due to the pressure put on the bony areas of the foot and also interface with the circulation of blood ultimately leading to corns. Home Remedies for corns- The sap from a marigold stem, milky juice from green figs or papaya juice are all good remedies. Apply to the affected area frequently.

Wednesday, 7 January 2015

Health tip of the day ... How to position our computer screen and keyboard ?

Correct positioning of your computer, keyboard and typing copy is essential.Your Screen should be positioned about an arm's length from your eyes and 20 degrees below eye level. Consider foot and wrist rests for added comfort.

Follow by Email

Popular Posts

Recent Posts

Total Pageviews

Categories

Unordered List

Text Widget

Blog Archive

Powered by Blogger.

Unordered List