All posts by Piyush Patil

Applications Component and Some Additional Component to Build Android Application

Hello everyone welcome to knowledgesuttra. In the last blog of Android Development, we saw the Quick Guide ON Android Studio Installation. Before starting Application Development we have to know about Applications component. In the today’s blog, we get some idea about Application components and there application or work. This will help you to Develop Android Application. Other than that we will discuss Additional components which help you to make your Application more batter and efficient.

Application Manifest

Before we go for the Applications component we have to know about the Manifest file. It is an xml file which describes how components interact and Manifest file tail about each component and their application. The components are loosely coupled by the application Manifest file. If we need to use any System components like camera, ringtone, wifi, etc. we have to take permission in the Manifest file. This will act as an interface between your application and the Android operating system. If your components are not declared in this file, they won’t be considered by the operating system.

Android Resources file

This is also important file in Development of Android Application. Is this use to manage all resources, you can manage other Resources apart from application code. It will use to manage resources like user interface string, colors, bitmaps, animation instruction, layout definitions, images, etc. these resources will be maintained in separate subdirectories.

Applications Component

Name of Components

  • Activities
  • Services
  • Broadcast Receivers
  • Content Providers

All this are Application Components. We will discuss all these components in brief.

Activities: – Activity is nothing but the user interface and control of that UI to the smartphone screen. Activity represents a screen with a user interface. For example, everyone uses Whats app Application in their mobile phones you will better understand with this example, in Whats app you have one activity that shows a list of your chats, other activity to chat with the particular person, and one activity shows status. If an application has more than one activity, then one of them should be marked as the activity that is presented when the application is launched.

public class MainActivity extends Activity 


Services: – A component that runs in the background to do tasks and operations which require Application. For example services like play music, camera, internet, SMS, etc. it does not disturb activity it work in background.

public class MyService extends Service 



Broadcast Receivers: – Broadcast Receivers just react to broadcast messages from different applications or from the framework. For instance, applications can likewise start communicates to tell different applications that a few information has been downloaded to the device and is accessible for them to utilize, so this is communicated beneficiary who will catch this correspondence and will start a fitting activity.

public class MyReceiver  extends  BroadcastReceiver 



Content Providers: – As the name Content provider it provides contents or Data from one application to other application on request. The requests are handled by the ContentResolver class. The data will be stored in the file system like database or somewhere else entirely.

public class MyContentProvider extends  ContentProvider 



All this are Application Components, other than that we are having some Additional Components as well which are used to construction of components and their logic.

Additional Components

  • Fragments
  • Layouts
  • Views
  • Intents
  • Manifest
  • Resources

Fragments: – Fragments will likely become a staple of almost every real app you make. They are so useful; there are so many reasons to use them; and once you get used to them, they are so simple. There is almost no reason not to use them.

Layouts: – Layouts are, as their name suggests, used to lay out all the other elements within them. What is key, however, and will become apparent as we progress, is how different layouts are more suited to different situations. In addition, we can use the same widgets on different types of layouts, and the XML code that will be generated for us will vary quite a lot.

Views: – Android provides a facility of Views in this we can give many types of views directly just like webView for the browser, imageView for Images, listView for the list,etc.

Intents: – In perhaps its most common use, an Intent object allows us to switch between activities. But, of course, activities are classes. So, what happens to their data when we switch between them? Intents handle this problem for us, as well, by allowing us to pass data between activities. For example, we could provide a link in our app for the user to send e-mail, make a phone call, interact with social media, and open a web page in a browser and have the e-mail, dialer, browser, or relevant social media app do all the work.

Hence we discuss Components and Additional components in this Blog if you have any quarry related to this topic you can ask in the Comment below.

A Quick Guide On Android Studio Installation

Hello everyone welcome to KnowledgeSuttra. In the last blog we saw Introduction to Android Application development. In that blog we just get idea about Android. In today’s blog we see how to install Android studio Step by Step. Friends do you know the most difficult part in Android Development is Installation of Android studio. If the Android studio not install properly it will give you error and you can’t understand why it is happening. For that take your time with this section and make sure you follow each step exactly. After this, you might have some small issues depending on your system configuration.

What we need to setup Android Development environment


  • We need JDK 7- Java Development Kit.
  • Android SDK Manager (Included in Android studio or you can externally Download).
  • Android Studio

    Also Read:

Before we start installation of JDK, you need to know your system configuration. Which operating system your system having and whether it is 32 or 64 bit. If you don’t know, then follow the little step to know about your system configuration.JDK

  • Right-click on My Computer/ This PC icon, then left-click on the Properties option and you will get the system configuration.

After knowing system configuration we are ready to install the JDK.

  • Follow the link to download (
  • First of all do web search for Java JDK download. Click on 1st2/3 links which is for JRE instead.
  • Then you will see window of Java SE Development kit 7.
  • 1stof all you have to click on Accept License Agreement, then find file according to your system configuration and download it.

After Downloading you have to install it.

  • If it is zip file then first you have to extract it or open zip file and find .exe file.
  • Right-click on that .exe extension file and select Run as administrator.
  • Then you will see the Setup window.
  • Click on Next.
  • Then you will see Custom Setup window.
  • No need to do any changes just clicks on Next
  • Then you will see Change Folder window.
  • If you want to change folder, then select folder there or give path blow and click OK
  • Otherwise directly click on ok
  • Then you will see Destination Folder window. Click on Next (it is exceptional).
  • Then Installation process will be start, it takes few minutes or more.
  • After process it shows Successfully Installed, then click on Close.
  • Then you see on dialog box just click on ok.
  • We install JDK7 successfully.

Installation of Android Studio

After successfully installation of JDK7 we have to install Android studio. For that follow the given steps blow. And make sure you don’t miss any step.

  • First of all we have to Download Android studio. For that just follow this link ( If link has changed, Simply Search for Download Android Studio or click here
  • After opening download window it show Terms and Conditions page. Click on the checkbox I have read and agree with the above terms and conditions.
  • Now click on Download Android Studio for Windows.

After successfully download Android studio follow the step for installation of Android studio.

  • Make sure your system is internet connected before starting may download missing files and folders.
  • Open folder where you have downloaded Android studio. Right-click on that android-studio.exe (name will be different) file and select Run as administrator.
  • You will see the Welcome window of Android Studio Setup.
  • Just click on Next
  • After that it asks for Choose components. Make sure all components options have a ticked before click on Next

  • If it showing no SDK found click on It will open SDK components Setup windows
  • Make sure all checkbox are ticked, and then click on
    • Then it show Verify Settings, just click on Next
    • It starts downloading components.
    • After downloading all components just click on finish


  • If you have already SDK file then after clicking on Next, it ask for Configuration Settings.
  • From hare you can change Android studio Installation location and Android SDK Installation location. By clicking on Browse button you can select location/change location.
  • Then click on Next
  • After that it will ask for Emulator setup, fill the configuration which are Recommended there.
  • Then click on Next
  • Next window showing Completing Android Studio Setup.
  • Just click on Next
  • Hurray!!  we successfully installed Android studio.

Go through all this steps to install Android Studio in your system, if any difficulty comes or for any quarry’s you can comment blow, I will definitely help you out.

Introduction to Android Application development

Hello everyone welcome to KnowledgeSuttra. Guys from today we are starting a blog related to Android application development. We provide proper and complete information about Android App Development from beginning to expert level step by step. Today we just get an introduction to Android Application development. We will see what exactly Android is, how Android and Java work together and what is Android API. And we will see what tools and software required for the development environment.


  1. About Android History
  2. What Exactly Android is
  3. Which Are Android Programming Languages
  4. What Is Android API

About Android History

Android was acquired by Google in 2005, but peoples didn’t have much interested in it. Google announced its first Android phone that was G1 in 2008. The G1 was the first publicly released Android device. At that time it is having fewer features and poor look as compare to Apple’s iPhone. They putting some effort into the product and make it better for users. Quite quickly the number of the Android user increases because it giving a good option in both price-conscious as well as the fashion-conscious as compare to Apple’s iPhone. Android starts with the Android “1.0 – BASE” and now we are using Android version “9.0 – P”. Right now, Android is in huge demand and the result is that the platform with the Android App development is turning into one of the major options, instead of taking second place to Apple’s iOS.

What Exactly Android is

Android is a customizable, ready-made and low-cost operating system that can be used with high-tech devices and for this reason; it is popular with technology companies. Android is an operating system for mobiles developed by the Google Corporation. Android is a Linux kernel based operating system. The user interface of the Android operating system is direct manipulation based. Android is open source and this encouraged a huge community of enthusiasts and developers to use its code for developing community-driven projects with which they can add additional features for advanced users. They can also install Android on devices that run on other OS.

 This is primarily designed for touchscreen smartphones and tablets. Apart from these, Android can also be used for wrist watches (Android wear), televisions (Android TV) and cars (Android auto). The operating system makes use of the touch inputs which loosely correspond to the real world actions, like pinching, tapping, swiping and reverse pinching for manipulating the virtual keyboard and the on-screen objects. This is not all, Android is also used with digital cameras, gaming consoles, personal computers and a few other electronics. Of all the operating systems in the market, Android holds the largest installed base.

Which Are Android Programming Languages

The Android operating system consists of Java code, some of the framework is not written in Java. Small amounts of XML in use to addition with Java in Android apps designing All the Android applications are written in Java language. But it is not necessary we can make Android application only with the java we can use C and C++ also for the development. Google Announced Official Language For Android Development: Kotlin.

 Which Are Android Programming Languages+knowledgesuttra Kotlin is very advanced and easy language it is a little bit similar to Java but much easier than Java. You can use any of this language but you have to know about the XML for the designing of UI (user interface). It is must to know about XML before starting Android Application Development. But the Android Studio reduces that problem also. Android studio is IDE for Android Application Development which provides drag and drops option for UI designing. There are many IDEs are available to developing an Android Application but mostly we use IntelliJ, Android Studio, and eclipse. I also recommend using Android Studio it is the best option to develop fast and good Android Application.

What Is Android API

The Android API is the code that makes it extremely simple to do remarkable things. Basically, Android API is an interface which gives us the more user-friendly environment to develop batter Android Application. A straightforward similarity could be drawn with a machine.

For example, bike when you advance on the accelerator, an entire pack of things occurs in the engine. We don’t have to comprehend about burning or fuel pumps in light of the fact that a shrewd designer has given an interface to us. For this situation, a mechanical interface—the accelerator pedal.

How Solar wind affecting Earth

Hello everyone welcome to KnowledgeSuttra. Friends today we are talking about the solar wind and how solar wind affecting Earth. The solar wind consists of plasma and particles from the sun out into space in the form of wind. The sun’s outer layer “corona” reaches temperatures up to 2 million degrees Fahrenheit nearly up to 1.1 degrees Celsius. At this condition, sun’s gravity can’t hold the speedily moving particles and they stream away from the sun.

What is the solar wind and what causes it?+knowledgesuttraCredit :-NASA’s Goddard Space Flight Center/Lisa Poje

What is the solar wind and what causes it?

The solar wind is a flood of charged particles discharged from the upper environment of the Sun, called the corona. This plasma comprises for the most part electrons, protons and alpha particles with thermal energy in the vicinity of 1.5 and 10 kV. The solar wind fluctuates in density, temperature, and speeds after some time and over the sun oriented scope and longitude. Its particles can get away from the Sun’s gravity due to their high energy coming about because of the high temperature of the corona, which this is a consequence of the coronal magnetic field.

What happens when solar winds hit the planets?

Where the solar wind meets with a planet that has an all around created magnetic field just like Earth, Jupiter or Saturn the particles are avoided by the Lorentz force. This locale, known as the magnetosphere, makes the particles travel around the planet as opposed to barraging the atmosphere or surface. The magnetosphere is generally formed like a side of the equator as an afterthought confronting the Sun, at that point is attracted out a long wake on the opposite side. The limit of this region is known as the magnetopause, and a portion of the particles can infiltrate the magnetosphere through this district by fractional reconnection of the magnetic field lines.

NASA's IMAGE Spacecraft View of Aurora Australis from Space

The solar wind is responsible for the general state of Earth’s magnetosphere. Variances in its speed, density, direction, and entrained magnetic field emphatically influence Earth’s nearby space condition. For instance, the levels of ionizing radiation and radio obstruction can fluctuate by variables of hundreds to thousands; and the shape and area of the magnetopause and bow shock wave upstream of it can change by a few Earth radii, presenting geosynchronous satellites to the direct solar wind. These wonders are all things considered called space weather.

Structure of solar wind

The solar wind is seen to exist in two principal states, named the moderate solar wind or slow solar wind and the quick solar wind or fast solar wind, however, their disparities expand well past their speeds. In close Earth space, the slow solar wind is seen to have a speed of 300– 500 km/s, a temperature of 1.4– 1.6×106 K and an arrangement that is a nearby match to the corona. By differentiate, the fast solar wind has a run of the mill speed of 750 km/s, a temperature of 8×105 K and it almost coordinates the arrangement of the Sun’s photosphere. The slow solar wind is twice as thick and more factor in nature than the fast solar wind.

The slow solar wind starts from the region around the Sun’s best known as the “streamer belt”. The correct coronal structures associated with slow solar wind arrangement and the strategy by which the material is discharged is still under level-headed discussion. Perceptions of the Sun in the vicinity of 1996 and 2001 demonstrated that outflow of the slow solar wind happened at scopes up to 30– 35° amid the solar least at the time of most reduced solar action at that point extended toward the shafts as the solar cycle moved toward greatest. At solar greatest, the posts were likewise emanating from a slow solar wind.

The fast solar wind starts from coronal holes, which are channel-like locales of open field lines in the Sun’s magnetic field. Such open lines are especially predominant around the Sun’s magnetic posts. The plasma source is little magnetic fields made by convection cells in the sun oriented environment. These fields limit the plasma and transport it into the tight necks of the coronal channels, which are found just 20,000 kilometers over the photosphere. The plasma is discharged into the coronal funnel when these magnetic field lines reconnect.

1 million time faster Computer Speed using lasers

Hello everyone welcome to KnowledgeSuttra. Guys today we discuss about how can we make computers faster and how much operations will done per second after making computers fast. The new computer technique that uses laser light pulses to make a prototype of fundamental unit of computing which is known as bit.

A bit is consist of two states and it switch between them on and off or ‘1’ and ‘0’ states. In the modern computers it’s about 1 million times faster than the bits. Ordinary computers like adding machine to the cell phone or workstation you’re utilizing to peruse this think in term of 1s and 0s. All that they do, from taking care of math issues, to speaking to the universe of a computer game, adds up to an extremely expound accumulation of 1-or-0, yes-or-no tasks. Furthermore, a typical computer in 2018 can utilize silicon bits to perform pretty much 1 billion of those activities for every second.

Quantum computing at room temperature

The scientists additionally raised the likelihood that their cross section could be utilized for quantum computing at room temperature. That is a sort of blessed vessel for quantum computing since most existing quantum computers expect specialists to first cool their quantum bits down to close total zero, the coldest conceivable temperature. The scientists demonstrated that it’s hypothetically conceivable to energize the electrons in this cross section to “superposition’s” of the 1 and 0 tracks — or equivocal conditions of being somewhat kind of fuzzily on the two tracks in the meantime — that are essential for quantum- computing estimations.

“Over the long haul, we see a reasonable shot of presenting quantum data gadgets that perform activities quicker than a solitary wavering of a lightwave,”

For a computer billion operations per second is not so cool. Now a days the cool think is that a million billion operations per second. This will be possible with the help of laser light pulses.

NASA’s new VASIMR plasma engine could get us to mars in only 39 days

Hello everyone welcome to KnowledgeSuttra. Today we are discussing about the plasma engine. Guys do you know NASA is working on the plasma engine for space crafts. The plasma engine increases the speed of space crafts and reduces it’s time to reach at any planet.

  Most of the rockets are chemical rockets they use chemicals for the launch. With the help of chemicals reaction they make explosion for launch. Chemical rockets are heavy and fast-burning, which is good for the rocket launch from earth but it is not good for the long distance mission’s outer solar system.

How VASIMR work?

A rocker engine is a canister containing the high pressure gas. When we open a hole from one end, the gas will squirts out and the rocket goes to the other way. The speed of Rocket is totally depending on the hotness of the stuff in the canister. But the problem is that it is too hot it can melt the canister.

But the VASIMR engine is very much different from this. The fuel of VASIMR is electrically charged, when the gas gets heat and reached above 10,000kelvines, it gets converted into the plasma an electrically charges soup of the particle. Then the created particle can be held together with the help of magnetic field. And that magnetic field becomes the canister and this canister having no limit to contain plasma doesn’t matter how much it is hot.

Speed of VASIMR

With the help of advanced technologies reduces the total specific mass to less than 2 kg/kW. With the 200 MW of electrical power trip times of less than 60 days will be possible. It is assuming that the one way trips to mars lasting less than 39 days are conceivable using 200 MW of power. Assuming the speed of VASIMR rocket is nearly 123,000 mph.

Parker Solar Probe:a mission to Explore sun

Hello everyone welcome to KnowledgeSuttra. NASA is now targeting to explore the sun . Over the years Scientists have tail so many truths about the sun, but there are so many things which we still don’t know about the sun.

NASA’s Parker Solar Probe is scheduled for launch in 2018 to explore the Sun’s outer atmosphere. According to the statement of NASA, the spacecraft well within the orbit of mercury and go closer to the surface that any spacecraft has gone before. The spacecraft will enter into the Sun’s atmosphere as close as 6.2 million kilometers to our star’s surface.

Parker solar probe

The spacecraft is of very small in size it about a size of a small car. It will directly insert into the sun’s atmosphere. The essential science objectives for the mission are to follow how vitality and warmth travel through the sun powered crown. The mission will be for comprehension of the sun. The spacecraft is having very high speed. The speed of spacecraft is approximately 430,000mph.


NASA missions are frequently renamed after dispatch and affirmation. For this circumstance, given Parker’s accomplishments inside the field, and how immovably balanced this mission is with his examination, the decision was made to regard him before dispatch, keeping` mind the end goal to attract regard for his imperative commitments to heliophysics and space science.

Parker Solar Probe is a bit of NASA’s Living with a Star Program, or LWS, to research parts of the Sun-Earth structure that clearly impact life and society. LWS is overseen by the NASA’s Goddard Space Flight Center in Greenbelt, Maryland, for NASA’s Science Mission Directorate in Washington. The Johns Hopkins Applied Physics Laboratory, in Laurel, Maryland, deals with the Parker Solar Probe mission for NASA. APL is planning and building the rocket and will likewise work it.

How Asteroid Delivered Water to Earth shown by Cannon Experiment

Hello everyone welcome to KnowledgeSuttra. Today’s topic is how asteroid delivered water to the earth trying to find out by the cannon experiment. The biggest questions in the planetary science is that the origin and transportation of water and volatile. Scientists just try to find out how water delivered to the earth. To find that they do cannon experiment.

Water on the earth

The hypothesis that Earth’s water may have originated from space asteroid isn’t another one. Truth be told, past research has demonstrated that the water on our planet has a comparable structure of isotopes as water found in carbonaceous asteroids antiquated, water-rich space shakes that much of the time beat Earth amid the planet’s initial years. The group created an investigation that utilized shotgun impacts to recreate the power of high-speed asteroid effects and test how much water content if any could be exchanged through such crashes.

Space experts initially felt that Earth’s water came for the most part from comets. Be that as it may, late research has pegged asteroids as the plausible fundamental conveyance framework. Estimations have demonstrated that water found on Earth has a comparative synthesis of isotopes variations of a similar substance component that vary in the quantity of neutrons as water contained in carbonaceous asteroid. At the point when the scientists shot their smaller than normal shooting stars at the little Earths, they watched that a huge extent of the water from the shots got caught in rock both in the stuff that was softened by the warmth of the effect and in the material that blended from the clutter of effect flotsam and jetsam, a kind of rock known as a breccia.

“We’re recommending that the water vapor gets ingested into the melts and breccia’s as they form”. “So despite the fact that the impactor loses its water, some of it is recovered as the melt quickly extinguishes.”

Featured image credit:- NASA, ESA, M.A. Garlick (, University of Warwick, and University of Cambridge.

Mysterious ingredient of Dark Matter: “WHITE HOLES”

Hello everyone welcome to KnowledgeSuttra. Today we are talking about the White Hole.  you have any idea about the White Hole, the experts assuming from the theory it is opposites of black hole. As we know the major portion of the mysterious dark matter that make up most of the matter in the universe. Researchers said that some of these bizarre White Holes may even predate the Big Bang according to the new study.

As we know about the Black Hole, it possesses gravitational pulls so powerful that not even light, which is fastest thing in the universe. Black Hole is one of the predictions of Einstein’s theory of general relativity. Another prediction is about White Hole, which is like a Black Hole in reverse. In the Black Hole nothing can be escape event horizon just like its opposite in the White Hole nothing can enter a White Hole’s event horizon.

Notwithstanding, earlier work in the 1970s recommended that Black Hole likewise could have started inside a moment after the Big Bang, because of arbitrary changes of density in the hot, quickly growing infant universe. Regions, where these vacillations concentrated matter together, could have felled to shape Black Hole.

Indeed, white holes with minuscule distances across could, in any case, be very monstrous, similarly as Black Hole littler than a sand grain can measure more than the moon. Albeit dark matter is thought to make up five-sixths of all matter in the universe, researchers don’t comprehend what it’s made of. As its name proposes, the dull issue is imperceptible; it doesn’t emanate, reflect or even square light. Subsequently, the dark matter can at present be followed just by its gravitational consequences for the normal matter, for example, that making up stars and worlds. The idea of the dark matter is as of now one of the best mysteries in science.

There Are A Steady Tornadoes on Sun

Hello everyone welcome to KnowledgeSuttra. Friends do you know according to new research on our sun there are Tornadoes but they do not spin like earth based tornadoes do. These tornadoes first observed over 100 years ago. It is known as Giant solar tornadoes.

There Are Tornadoes on Sun But They Don’t Spin Like Earth-Based Cousins Do Composite image of a solar prominence, observed by NASA’s Solar Dynamics Observatory on August 31, 2012. Image via NASA/SDO/GSFC/EWASS and NAM.


The Giant solar tornadoes also called as prominences. Few years back NASA’s Solar Dynamics Observatory take spectacular images and the images shown that this giant structure is same as the structure of tornadoes on earth we say them down here.

What is the size of Giant solar tornadoes and its structure

This is the massive object it is large in size it is having the size more than the size of Earth. It is made up of a hot gas comprised of electrically changed hydrogen, plasma and helium that comes out of the sun. They shape over timescales of about a day, and stable ones may hold on for a while, circling a huge number of miles into space. In any case, up to this point, with just two-dimensional pictures as a guide, researchers had figured they may rotate like tornadoes do. Yet, that may not be the situation.

Ka-Booooooom! [hd video]

Presently, utilizing the Doppler impact to add a third measurement to their information, stargazers have estimated the speed of the moving plasma and in addition its direction, temperature and thickness. Utilizing quite a while of perceptions, they are presently ready to develop an entire photo of the attractive field structure that backings the plasma.

Brigitte Schmieder, another researcher engaged with the work, said that “sun based tornadoes sound alarming however in certainty they ordinarily have no observable outcomes for us. Be that as it may, when a tornado noticeable quality ejects, it can cause what’s known as space climate, conceivably harming force, satellite and correspondence arranges on Earth.”