Subscribe For Free Updates!

We'll not spam mate! We promise.

Friday, June 26, 2015

Agile Enterprise Solutions hiring US IT Recruiter - US Staffing

US IT Recruiter
Eligibility : CS, BSc, BHM, Diploma, B.Pharm, B.Com
Location : Hyderabad
Last Date : 09 Jul 2015
Hiring Process : Face to Face Interview










Post/Position: US IT Recruiter - US Staffing

Location: Malakpet

Duration: Full time – Night Shifts

Salary: Training for 3months with 8K + P.F+ESI after 3 months With 10k +P.F +ESI Applicable.

Working days:  Monday to Friday

Job Responsibilities:

Responsible for sourcing, screening and submitting suitable profiles to our client needs after completion of your training period

Qualifications:

Very good communication.
Aggressive.
Never give up Attitude.
Please note :

Candidate has to sign the agreement for 2 years with 2 Guarantors.

Address:
No. 16-11-20/7/A2 to 5, 2nd Floor, Chinna Balappa Complex, Saleem Nagar, Malakpet, Hyderabad, Telangana 500036

040 4240 6084

Wednesday, June 24, 2015

What is Python mainly used for in the real world today?

What is Python mainly used for in the real world today?

Is it beneficial to use Python for Desktop Apps. There are rare breed of programs that are developed on desktop using Python and I am wondering about its main purpose in the tech world.Basically how a developer uses Python on developing Desktop Apps.

Saturday, June 20, 2015

SAMSUNG GALAXY GRAND MAX

 Specifications &  Features:

1. Display: 13.33 cm, TFT display
2. Screen Resolution : 720x1280 (HD)
3. CPU Speed: Quqad Core Processor with 1.2 GHz
4. RAM : 1.5 GB
5. Camera Rear: 13 MP
6. Camera Front : 5 MP
7. SIM : DUAL Sim (GSM + WCDMA)



Friday, June 19, 2015

SAMSUNG GALAXY S6


Specifications & Features:

1. Display :                 5.1" Quad HD Super AMOLED 2560 x 1440
2. Camera Resolution (Rear)  :  16 MP
3. Selfie camera Resolution (Front)  :  5 MP
4. Fast Charging :  10 min  =  up to 4 hrs of Battery life
5. Processor : Fast 64-bit Octa-core Processor
6. CPU Speed : 2.1 GHz  , 1.5 GHz
7. Memory (RAM)  : 3GB
8. Sensors : Accelerometer, Barometer, Fingerprint Sensor, Gyro           Sensor, Geomagnetic Sensor, Hall Sensor, HR Sensor, Light           Sensor, Proximity Sensor
9. Network : Single SIM (Nano Sim)




Price Points on Various Carts:



  >>>   46,947 /-




>>>   41,900 /-






>>>   39,999 /-

Wednesday, June 17, 2015

What is Intel PDC G3250 Procesor ??

General information:

>Type                                              :    CPU / Microprocessor

>Market segment                          :    Desktop

>Family                                          :    Intel Pentium Dual-Core

>Model number                               :   G3250

>CPU part numbers                   :   CM8064601482514 is an OEM/tray microprocessor
                                                              CM8064601562019 is an OEM/tray microprocessor
                                                              BX80646G3250 is a boxed processor with fan and heatsink 
                                                                
>Frequency                                   :   3200 MHz
>Bus speed                                   :   5 GT/s DMI
>Clock multiplier                           :   32
>Package                                   :   1150-land Flip-Chip Land Grid Array
>Socket                                           :   Socket 1150 / H3 / LGA1150
>Size                                           :   1.48" x 1.48" / 3.75cm x 3.75cm




Lenovo H30-50 Budget Free Desktop

Specifications: 

>> Processor :    Intel PDC G3250 (3.2G)

>>Operating System :   Windows 8.1

>>Chipset :  H 81

>>RAM  :  2GB DDR3

>>Hard Disk:  500GB 7200rpm

>>Graphics : IGB Integrated Graphic Card

>>Monitor Screen  :  46.99cm (18.5) LED

>>Key Feature  :  Wired keyboard & Mouse, DVDRW

>>Warranty  :  1 year on site

Overall Price:  27,790 /-

Wednesday, June 10, 2015

JRD Tata -- Launched AIR India AIRLINE, Chairman of TATA & Sons



JRD Tata was one of the most enterprising Indian entrepreneurs. He was a pioneer aviator and built one of the largest industrial houses of India. JRD Tata was born on July 29, 1904 in Paris. His mother was a French, while his father was Parsi. JRD's full name was Jehangir Ratanji Dadabhoy Tata and he was popularly known as Jeh to his friends. JRD's father Ratanji Dadabhoy Tata and Sri Jamsetji Tata shared their greatness from the same great-great-grandfather, Ervad Jamsheed Tata, a priest of Navsari. JRD Tata was the second of four children. He was educated in France, Japan and England before being drafted into the French army for a mandatory one-year period. JRD wanted to extend his service in the forces but destiny had something else in store for him. By leaving the French army JRD's life was saved because shortly thereafter, the regiment in which he served was totally wiped out during an expedition in Morocco.

In 1938, at the age of 34, JRD was elected Chairman of Tata & Sons making him the head of the largest industrial group in India. He started with 14 enterprises under his leadership and half a century later on July 26, 1988, when he left , Tata & Sons was a conglomerate of 95 enterprises which they either started or in which they had controlling interest. JRD was the trustee of Sir Dorabji Tata Trust from its inception in 1932, which remained under his wings for over half a century. Under his guidance, this Trust established Asia's first cancer hospital, the Tata Memorial Center for Cancer, Research and Treatment, Bombay, 1941. It also founded the Tata Institute of Social Sciences, 1936 (TISS), the Tata Institute of Fundamental Research, 1945 (TIFR), and the National Center for Performing Arts. In 1948, JRD Tata launched Air India International as India's first international airline. In 1953, the Indian Government appointed JRD as Chairman of Air-India and a director on the Board of Indian Airlines-a position JRD retained for 25-years. For his crowning achievements in Aviation, JRD was bestowed with the title of Honorary Air Commodore of India.

Dhirubhai Ambani -- Founder of RELIANCE



Dhirubhai Ambani alias Dhirajlal Hirachand Ambani was born on December 28, 1932, at Chorwad, Gujarat, into a Modh family. His father was a school teacher. Dhirubhai Ambani started his entrepreneurial career by selling "bhajias" to pilgrims in Mount Girnar over the weekends. After doing his matriculation at the age of 16, Dhirubhai moved to Aden, Yemen. He worked there as a gas-station attendant, and as a clerk in an oil company. He returned to India in 1958 with Rs 50,000 and set up a textile trading company. Assisted by his two sons, Mukesh and Anil, Dhiru Bhai Ambani built India's largest private sector company, Reliance India Limited, from a scratch. Over time his business has diversified into a core specialisation in petrochemicals with additional interests in telecommunications, information technology, energy, power, retail, textiles, infrastructure services, capital markets, and logistics.

Dhirubhai Ambani is credited with shaping India's equity culture, attracting millions of retail investors in a market till then dominated by financial institutions. Dhirubhai revolutionised capital markets. From nothing, he generated billions of rupees in wealth for those who put their trust in his companies. His efforts helped create an 'equity cult' in the Indian capital market. With innovative instruments like the convertible debenture, Reliance quickly became a favorite of the stock market in the 1980s. In 1992, Reliance became the first Indian company to raise money in global markets, its high credit-taking in international markets limited only by India's sovereign rating. Reliance also became the first Indian company to feature in Forbes 500 list.

Homi Jehangir Bhabha -- Nuclear Scieintist



Homi Jehangir Bhabha was born on October 30, 1909, in Bombay in a rich Parsi family. After graduating from Elphinstone College and the Royal Institute of Science in Bombay, he went to Cambridge University. He received his doctorate in 1934. During this period he worked with Niels Bohr on the studies that led to quantum theory. Homi Jehnagir Bhabha also worked with Walter Heitler on the cascade theory of electron showers, which was of great importance for the understanding of cosmic radiation. He did significant work in identifying the meson. Due to outbreak of Second World War, Homi Jehangir Bhabha, returned to India in 1939. He set up the Cosmic Ray Research Unit at the Indian Institute of Science, Bangalore under C. V. Raman in 1939. With the help of J.R.D. Tata, he established the Tata Institute of Fundamental Research at Mumbai. In 1945, he became director of the Tata Institute of Fundamental Research. Apart from being a great scientist, Homi Bhabha, was also a skilled administrator. After independence he received the blessings of Jawaharlal Nehru for peaceful development of atomic energy.

He established the Atomic Energy Commission of India in 1948. Under his guidance Indian scientists worked on the development of atomic energy, and the first atomic reactor in Asia went into operation at Trombay, near Bombay, in 1956. Homi Bhabha was chairman of the first United Nations Conference on the Peaceful Uses of Atomic Energy, held in Geneva in 1955. He advocated international control of nuclear energy and the outlawing of atomic bombs by all countries. He wanted nuclear energy to be used for alleviating poverty and misery of people.

Vikram Sarabhai -- Space Scientist



Vikram Sarabhai was one of the greatest scientists of India. He is considered as the Father of the Indian space program. Apart from being a scientist, he was a rare combination of an innovator, industrialist and visionary. Vikram Ambalal Sarabhai was born on August 12, 1919 at Ahmedabad in an affluent family of progressive industrialists. He was one of eight children of Ambalal and Sarla Devi. He had his early education in a private school, “Retreat” run by his parents on Montessori lines. Some of the great men of India such as Gurudev Rabindranath, J. Krishna Murthi, Motilal Nehru, V. S. Shrinivasa Shastri, Jawaharlal Nehru, Sarojini Naidu, Maulana Azad, C. F. Andrews, C. V. Raman et al. used to stay with the Sarabhai family when they visited Ahmedabad. Mahatma Gandhi also once stayed at their house while recovering from an illness. Visits by such great men greatly influenced Vikram Sarabhai. After his matriculation, Vikram Sarabhai proceeded to Cambridge for his college education and took the tripos in Natural Sciences from St. John's college in 1940. When World War II began, he returned home and joined as a research scholar under Sir C. V. Raman at the Indian Institute of Science, Bangalore His interest in solar physics and cosmic ray led him to set up many observation stations around the country. 

He built the necessary equipment with which he took measurements at Bangalore, Poona and the Himalayas. He returned to Cambridge in 1945 and completed his Ph.D in 1947. Vikram Sarabhai was instrumental in establishing the Physical Research Laboratory (PRL) in Ahmedabad in November 1947. The laboratory was established in a few rooms in M.G. Science Institute of the Ahmedabad Education Society, which was founded by his parents. Subsequently, it got support from the Council of Scientific and Industrial Research (CSIR) and the Department of Atomic Energy.

Vikram Sarabhai did research on the time variations of cosmic rays and concluded that meteorological effects could not entirely affect the observed daily variations of cosmic rays; further, the residual variations were wide and global and these were related to variations in solar activity. Vikram Sarabhai visualized a new field of research opening up in solar and interplanetary Physics. The year 1957-1958 was designated as International Geo-physical year (IGY). The Indian program for the IGY had been one of the most significant ventures of Sarabhai. It exposed him to the new vistas of space science with the launching in 1957 of Sputnik-I. Subsequently, the Indian National Committee for Space Research was created, of which Vikram Sarabhai became Chairman.

Subrahmanyan Chandrasekhar -- Astro Physicist



Subrahmanyan Chandrasekhar was born in Lahore on October 19, 1910. His father C. Subrahmanyan Iyer was in Government Service. C.V. Raman, the first Indian to get Nobel Prize in science was the younger brother of Chandrasekhar's father. Chandrasekhar grew up in Madras (now Chennai). He went to a regular school when he was eleven. He joined the Madras Presidency College in 1925 where in the first two years he studied Physics, Chemistry, English and Sanskrit. On July 31, 1930 Chardrasekhar left for England for higher studies and thus began a long and outstanding scientific career which spanned 65 years. Except for the first six years he worked at the University of Chicago.

He is best known for his celebrated discovery of Chandrasekhar Limit. He showed that there is a maximum mass which can be supported against gravity by pressure made up of electrons and atomic nuclei. The value of this limit is about 1.44 times a solar mass. This was derived by Chandrasekhar in 1930, when he was a student. The Chandrasekhar Limit plays a crucial role in understanding the stellar evolution. If the mass of a star exceeded this limit, the star would not become a white dwarf. It would continue to collapse under the extreme pressure of gravitational forces. The formulation of the Chandrasekhar Limit led to the discovery of neutron stars and black holes. It may be noted that stars are stable, that is they do not collapse because internal pressures (due to the thermal motion of the atomic nuclei and electrons and also the pressure of the radiation generated by nuclear reactions) balance gravity. However, for every star a time will come when nuclear reactions will cease and that means there will be no internal pressure to match the gravitational pull. Depending on the mass there are three possible final stages of a star - white dwarf, neutron star and black hole. Chandrasekhar was awarded (jointly with the nuclear astro_physicist W.A. Fowler) the Nobel Prize in Physics in 1983 While Chandrasekhar is best known for Chandrasekhar Limit, for him there was no limit. As mentioned earlier his work spanned physics, astrophysics and applied mathematics.

Srinivasa Ramanujan -- Mathematician


Srinivasa Ramanujan was born at his grandmother’s house in Erode, a small town located about 400 km towards southwest Madras. His father was a clerk in a textile shop in Kumbakonam. Young Ramanujan contracted small pox in 1889 December. However, unlike many other people in that town, Ramanujan overcame the epidemic invasion even thoughhis family his father’s income was barely sufficient to meet extra medical expenses. When he was five, he was sent to a primary school in Kumbakonam. Before he entered the Town High school in Kumbakonam in 1898 January, he went to several other private schools. While in school, he excelled in all the subjects and was considered as an all-rounder. Towards 1900, he began to work towards developing his mathematical ability, dealing with geometrics and arithmetic series. 

Regarded as ‘natural genius’ by the English mathematician G.H. Hardy, Srinivasa Ramanujan displayed an amazing talent in mathematics, even though he did not receive formal training in that subject. He contributed to several areas of mathematics such as the number theory, mathematical analysis, infinite series and continued fractions. This great mathematician of the 20th century added much to the field of advance mathematics with his fascinating theories and proofs, which are in use even today. Also, in 1997, ‘The Ramanujan Journal’ was published by an American mathematician Bruce .C. Berndt, which showed Ramanujan’s areas of study. He formulated many formulas to solve problems, but his untimely death put an end to his great exploration to the unseen beauty and enormity of this subject.

His talent was exposed to the world very early in 1902, when he showed how to solve cubic equations and also sought a method to solve quartic. While in Town High School, he read a book ‘Synopsis of elementary results in mathematics’, which was very concise that he could teach himself without taking help from any tutor. In this book, various theorems were mentioned in the book, along with shortcuts and formulas to solve them. During this time, Ramanujan engaged himself in deep research in 1904 and during this time he investigated the series ‘sigma 1/n’ and also extended Euler’s constant to 15 decimal points. Because of his great work in school studies, he was awarded a scholarship to attend Government College in Kumbakonam, in 1904. Due to his lack of interest in other subjects, he could not utilize this opportunity properly. He kept up his mathematical works and studied in depth about hyper geometric series and the relationship between series and integrals.

Milkha Singh -- Recorded Fast Runner

MILKA SINGH:



Milkha Singh is a former Indian track and field sprinter who was the first Indian male athlete to win an individual athletics gold medal at a Commonwealth Games. Fondly called ‘The Flying Sikh’—a title bequeathed to him by the former President of Pakistan, General Ayub Khan—he is highly respected for his sporting achievements. He has made his motherland proud by winning several Gold medals in international sporting events like the Commonwealth Games and Asian Games. He had entered the 400m race at the 1960 Olympic Games as one of the favorites and had even led the race till the 200m mark before he lost his speed and other runners overtook him. Sadly, the contender for Gold couldn’t even win a Bronze! Yet even in losing he set an Indian national record for 400m. Milkha Singh’s story is one of hope and inspiration. As a teenager he witnessed the massacre of his whole family in front of his eyes. Orphaned and heart-broken he worked up his way through life, seeking solace in the running. After years of struggle he became a successful man and today he supports needy sportsmen through the Milkha Singh Charitable trust.

Saina Nehwal-- Badminton Player

SAINA NEHWAL:

Saina Nehwal is one of the best known Indian Badminton players, and arguably the most promising female Indian Badminton player at the moment.

She was born on the 17th of March 1990 in Hisar, Haryana. Both her father, Dr. Harvir Singh and mother Usha Rani were former State Badminton Champions in Haryana, so she got the game of Badminton in her genes. Dr. Harvir Singh, a scientist at the Directorate of Oilseeds Research, Hyderabad encouraged her to pick up the game of Badminton, and took her to Nani Prasad, the Badminton Coach at the Lal Bahadur Stadium in Hyderabad in the year 1998. The 8 yrs old Saina followed a very tough training schedule right since the beginning, and would travel almost 50kms a day for the training. Further, Saina trained under S.M. Arif, a Dronacharya Award winning Badminton Coach, and now is receiving Coaching at the Pullela Gopichand’s Academy of Badminton at Hyderabad.

Dr APJ Abdul Kalam Scientist

Abdul Kalam Azad:


APJ Abdul Kalam was born on 15 October 1931 at the South Indian state of Tamil Nadu and received honorary doctorates from about 30 universities globally. In the year 1981, the Government of India presented him the nation's highest civilian honor, the Padma Bhushan and then again, the Padma Vibhushan in 1990 and the Bharat Ratna in 1997. Before Kalam, there have been only two presidents - Sarvepalli Radhakrishnan and Zakir Hussain - to have received the Bharat Ratna before bring appointed to the highest office in India.

Dr APJ Abdul Kalam regards his work on India's nuclear weapons program as a way to assert India's place as a future superpower. Even during his tenure as President, APJ Kalam took avid interest in the spheres of India's science and technology. He has even put forward a project plan for establishing bio-implants. He is also an ardent advocate of open source software over proprietary solutions to churn out more profits in the field of information technology in India.


Bhagat Singh Legend

         
Bhagat Singh was one of the most prominent faces of Indian freedom struggle. He was a revolutionary ahead of his times. By Revolution he meant that the present order of things, which is based on manifest injustice must change. Bhagat Singh studied the European revolutionary movement and was greatly attracted towards socialism. He realised that the overthrow of British rule should be accompanied by the socialist reconstruction of Indian society and for this political power must be seized by the workers.

Bhagat Singh was born in a Sikh family in village Khatkar Kalan in Nawanshahar district of Punjab. The district has now been renamed as Shaheed Bhagat Singh Nagar in his memory. He was the third son of Sardar Kishan Singh and Vidyavati. Bhagat Singh's family was actively involved in freedom struggle. His father Kishan Singh and uncle Ajit Singh were members of Ghadr Party founded in the U.S to oust British rule from India. Family atmosphere had a great effect on the mind of young Bhagat Singh and patriotism flowed in his veins from childhood.

GSM Vs CDMA Technologies

What is GSM:


GSM (Global System for Mobile communications) is an open, digital cellular technology used for transmitting mobile voice and data services. GSM differs from first generation wireless systems in that it uses digital technology and Time Division Multiple Access (TDMA) transmission methods. GSM is a circuit-switched system that divides each 200kHz channel into eight 25kHz time-slots. GSM operates in the 900MHz and 1.8GHz bands in Europe and the 1.9GHz and 850MHz bands in the US. The 850MHz band is also used for GSM and 3GSM in Australia, Canada and many South American countries. GSM supports data transfer speeds of up to 9.6 kbit/s, allowing the transmission of basic data services such as SMS (Short Message Service). Another major benefit is its international roaming capability, allowing users to access the same services when travelling abroad as at home. This gives consumers seamless and same number connectivity in more than 210 countries. GSM satellite roaming has also extended service access to areas where terrestrial coverage is not available.

Global System for Mobile Communications. The first European digital standard, developed to establish cellular compatibility throughout Europe. It's success has spread to all parts of the world and over 80 GSM networks are now operational. It operates at 900 MHz.


Brief History Of CDMA:


CDMA is based around a form of transmission known as Direct Sequence Spread Spectrum. The CDMA history can be directly linked back to the 1940s when this form of transmission was first envisaged. As electronics technology improved, it started to be used for covert military transmissions in view of the facts that the transmissions look like noise, it is difficult to decipher without the knowledge of the right codes, and furthermore it is difficult to jam.
With the revolution in cellular telecommunications that occurred in the 1980s a then little know company named Qualcomm working on DSSS transmissions started to look at this as the basis for a cellular telecommunications multiple access scheme - CDMA - code division multiple access.
The concept of CDMA had to proved in the field and accordingly Qualcomm was joined by US network operators Nynex and Ameritech to develop the first experimental CDMA system. Later the team was expanded as Motorola and AT&T (now Lucent) joined to bring their resources to speed development.
As a result this it was possible to start writing a specification for CDMA in 1990. With the support of the Cellular Telecommunications Industry Association (CTIA) and the Telecommunications Industry Association (TIA) a standards group was set up. This group then published the standard for the first CDMA system in the form of IS-95, resulting in the formal publication of IS-95-A in 1995.

CDMA is based around a form of transmission known as Direct Sequence Spread Spectrum. The CDMA history can be directly linked back to the 1940s when this form of transmission was first envisaged. As electronics technology improved, it started to be used for covert military transmissions in view of the facts that the transmissions look like noise, it is difficult to decipher without the knowledge of the right codes, and furthermore it is difficult to jam.

With the revolution in cellular telecommunications that occurred in the 1980s a then little know company named Qualcomm working on DSSS transmissions started to look at this as the basis for a cellular telecommunications multiple access scheme - CDMA - code division multiple access.

The concept of CDMA had to proved in the field and accordingly Qualcomm was joined by US network operators Nynex and Ameritech to develop the first experimental CDMA system. Later the team was expanded as Motorola and AT&T (now Lucent) joined to bring their resources to speed development.

As a result this it was possible to start writing a specification for CDMA in 1990. With the support of the Cellular Telecommunications Industry Association (CTIA) and the Telecommunications Industry Association (TIA) a standards group was set up. This group then published the standard for the first CDMA system in the form of IS-95, resulting in the formal publication of IS-95-A in 1995.CDMA technology advantages
The use of CDMA offers several advantages and it is for this reason that CDMA technology has been adopted for many 3G cellular telecommunications systems.

Improvement in capacity:   One of the chief claims for CDMA is that it gives significant improvements in network capacity. Original expectations for some of the proponents of CDMA technology were for some very significant improvements:

18 fold increase in capacity when compared to AMPS (1G technology used in USA)
6 fold increase in capacity when compared to US TDMA (2G technology used in USA) - similar increases were also claimed over GSM.
In reality the original expectations were not fulfilled although increases of a factor of about two were seen when compared to US TDMA and GSM. This in itself was a significant improvement.
Improvement in handover / handoff:   Using CDMA it is possible for a terminal to communicate with two base stations at once. As a result, the old link only needs to be broken when the new one is firmly established. This provides significant improvements in terms of the reliability of handover / handoff from one base station to another.

Bal Gangadhar Tilak



Bal Gangadhar Tilak is considered as Father of Indian National Movement. Bal Gangadhar Tilak was a multifaceted personality. He was a social reformer, freedom fighter, national leader, and a scholar of Indian history, sanskrit, hinduism, mathematics and astronomy. Bal Gangadhar Tilak was popularly called as Lokmanya (Beloved of the people). During freedom struggle, his slogan “Swaraj is my birthright and I shall have it” inspired millions of Indians. 

Mathematical Flow in Modern Economics

The Simple Mathematical Flaw in Modern Economics

Share on Google Plus

Simple Mathematical Flow in Modern Economics


Most people believe that interest is natural to money. However, the way in which money is created determines whether interest is applicable or not.

Two forms of money creation have dominated over the last 5000 years -- creating money out of credit and creating money out of gold or silver - with humanity going back and forth between centuries-long domination of credit money and centuries-long domination of gold and silver-backed money.

Credit money is newly created on the back of borrowers' creditworthiness. It is debt obligations enforced by civil law and backed by provisions for bad debt. Since credit money is legal agreements that require only paper and inexpensive credit risk insurance to create, credit money doesn't have to be borrowed from anyone and therefore doesn't attract interest - credit money is interest-free.

On the other hand, gold-backed money cannot be created as required by the demands of trade - the supply of gold-backed money is limited to the amount of gold in the world. Therefore there's not enough for everyone to trade their goods and services with. Those that are short of gold-backed money have to borrow it from the few that hold the world's gold-backed money and pay them interest for doing so. Gold-backed money bears interest.


The amount of credit money created matches what borrowers can afford and hence matches the amount of goods and services traded in the economy. Credit money is also backed by provisions for bad debt. Therefore the creation of credit money does not contribute to inflation. The gold supply, on the other hand, has no relation to the amount of goods and services traded in the economy. Gold-backed money is therefore inflationary and deflationary.

Share on Google Plus

Traditional diplomacy was about government-to-government relations. Modern diplomacy is more about people-to-people relations. And culture is central here.

Android CAMERA Application



Here, you can open camera using our app and take pictures and store in your SDCARD...


My Main.class  :
package com.example.cam;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Toast;

public class MainActivity extends Activity implements OnClickListener {

 Button b;
 ImageView img;
 int requestcode=0;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        img=(ImageView)findViewById(R.id.img);
        b=(Button)findViewById(R.id.btn);
        b.setOnClickListener(this);
       
}
 @Override
 public void onClick(View v) {
  // TODO Auto-generated method stub
  Intent i=new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
  startActivityForResult(i, 0);
 }
 
 protected void onActivityResult(int requestcode,int resultcode,Intent data)
 {
  super.onActivityResult(requestcode, resultcode, data);
  if(requestcode==0)
  {
   Bitmap image=(Bitmap) data.getExtras().get("data");
   img.setImageBitmap(image);
   
  }
  else if(requestcode==RESULT_CANCELED)
  {
   Toast.makeText(getApplicationContext(), "Camera not working", 3000).show();
  }
   
 }
}

Here: 
Intent i=new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
  startActivityForResult(i, 0);
android.provider.MediaStore.ACTION_IMAGE_CAPTURE is a service in which the Camera action is located.Provider.MediaStore is used to set the Media location && Action_Image_Capture is to Take a Snap using camera.
Here is XML Code:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".MainActivity" >

    <Button
        android:id="@+id/btn"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="capture" />

    <ImageView
        android:id="@+id/img"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:src="@drawable/ic_launcher" />

</LinearLayout>

Android working with Shared Preference

Here is my MAIN CLass ie.., LAUNCHER. I am using a textviewand keeping in Sharedpreference as sp object and calling that textview in other class using sp.getSharedpreferenc Method:
package com.babu.sharedpreferencee;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class MainActivity extends Activity {

 EditText edt;
 SharedPreferences sp;


 @Override
 protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.share);

  edt=(EditText)findViewById(R.id.edt1);

  Button b=(Button)findViewById(R.id.btn1);
  b.setOnClickListener(new OnClickListener() {

   @Override
   public void onClick(View arg0) {
    // TODO Auto-generated method stub
    String s=edt.getText().toString();

    SharedPreferences sp = getSharedPreferences("prefs", 0);

    SharedPreferences.Editor editor = sp.edit();

    editor.putString("enteredname", s);

    editor.commit();
    
    



    Intent i=new Intent(MainActivity.this,Second.class);
    startActivity(i);



   }
  });




 }



}
First XML
1:  First.xml  
2:  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"  
3:    xmlns:tools="http://schemas.android.com/tools"  
4:    android:layout_width="match_parent"  
5:    android:layout_height="match_parent"  
6:    android:paddingBottom="@dimen/activity_vertical_margin"  
7:    android:paddingLeft="@dimen/activity_horizontal_margin"  
8:    android:paddingRight="@dimen/activity_horizontal_margin"  
9:    android:paddingTop="@dimen/activity_vertical_margin"  
10:    tools:context=".MainActivity" >  
11:    <TextView  
12:      android:id="@+id/txt"  
13:      android:layout_width="wrap_content"  
14:      android:layout_height="wrap_content"  
15:      android:text="@string/hello_world" />  
16:  </RelativeLayout>  
Share XML:
1:  <?xml version="1.0" encoding="utf-8"?>  
2:  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"  
3:    android:layout_width="match_parent"  
4:    android:layout_height="match_parent"  
5:    android:orientation="vertical" >  
6:    <EditText  
7:      android:id="@+id/edt1"  
8:      android:layout_width="fill_parent"  
9:      android:layout_height="wrap_content" />  
10:    <Button  
11:      android:id="@+id/btn1"  
12:      android:layout_width="wrap_content"  
13:      android:layout_height="wrap_content"  
14:      android:text="Submit" />  
15:  </LinearLayout>  

Android Text 2 Speech Application

Main CLass:
package android.texttospeech;

import java.util.Locale;


import android.app.Activity;
import android.os.Bundle;
import android.speech.tts.TextToSpeech;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class AndroidTextToSpeechActivity extends Activity implements
TextToSpeech.OnInitListener {
 /** Called when the activity is first created. */

 private TextToSpeech tts;
 private Button btnSpeak;
 private EditText txtText;

 @Override
 public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.main);

  tts = new TextToSpeech(this, this);

  btnSpeak = (Button) findViewById(R.id.btnSpeak);

  txtText = (EditText) findViewById(R.id.txtText);

  // button on click event
  btnSpeak.setOnClickListener(new View.OnClickListener() {

   @Override
   public void onClick(View arg0) {
    speakOut();
    txtText.setText("");
   }

  });
 }

 @Override
 public void onDestroy() {
  // Don't forget to shutdown!
  if (tts != null) {
   tts.stop();
   tts.shutdown();
  }
  super.onDestroy();
 }

 @Override
 public void onInit(int status) {
  // TODO Auto-generated method stub

  if (status == TextToSpeech.SUCCESS) {

   int result = tts.setLanguage(Locale.ENGLISH);

   // tts.setPitch(5); // set pitch level

   // tts.setSpeechRate(2); // set speech speed rate

   if (result == TextToSpeech.LANG_MISSING_DATA
     || result == TextToSpeech.LANG_NOT_SUPPORTED) {
    Log.e("TTS", "Language is not supported");
   } else {
    btnSpeak.setEnabled(true);


    speakOut();
   }

  } else {
   Log.e("TTS", "Initilization Failed");
  }

 }

 private void speakOut() {

  String text = txtText.getText().toString();

  tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);
 }
}
And for XML layout, take a Edit button to enter the Required TExt and press the button to listen the Voice of Text. You can change the Language at :
int result = tts.setLanguage(Locale.ENGLISH);
In the place of ENGLISH you can enter other languages:

XML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" 
    android:background="#ffffff">
    
 <TextView android:layout_width="fill_parent"
       android:layout_height="wrap_content"
       android:text="Text To Speech"
       android:padding="15dip"
       android:textColor="#0587d9"
       android:textSize="26dip"
       android:gravity="center"
       android:textStyle="bold"/>
 
    <EditText android:id="@+id/txtText"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:hint="Enter some text to speak"
        android:layout_marginTop="20dip"        
        android:layout_margin="10dip"/>
    
    <Button android:id="@+id/btnSpeak" 
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:text="Speak Out" 
         android:layout_margin="10dip"/>

</LinearLayout>

Simple Scroll View Android App

Main Class:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
package com.example.scrollview;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class MainActivity extends Activity {

 @Override
 protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.scroll);
 }
}

XML:
1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical" >

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="One" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Two" />

        
        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Three" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Four" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Five" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Six" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Seven" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Eight" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Nine" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Ten" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Eleven" />
    </LinearLayout>

</ScrollView>