Science and Technology Explained

Stories, News, Books, and Videos on Science, Technology, Computers, Environment and the Realites of Life, for the general, smart public

Follow me on TwitterRSS Feeds

  • Home
  • Book Review
  • Environment
    • Energy
    • Peak Oil
  • Health
  • Pictures
  • Science
    • Medicine
    • Mind / Brain
    • Psychology / Behavior
    • Quantum Physics
    • Theory of Evolution
  • Space
  • Technology
    • Cyberwarfare
    • Information Security
    • Information Technology
    • Networking
    • Programming
      • Android Programming
      • C language
      • C#
      • Java Programming
      • Web Programming
    • Quantum Computers
  • The Magazine
  • Videos

Peak Oil and Dire Straits – Securing the world oil supply – But for whom?

Mar 21st

Posted by kawa in Energy

2 comments

Peak Oil and Dire Straits - Securing the world oil supply - But for whom?
biofuels, debt, economy, energy crisis, finance, peak oil, shale gas

Creationism vs. Evolution (Who will win the debate?) – Video (Michael Ruse, Eugenie C. Scott, Barry Lynn, and Kenneth Miller)

Mar 20th

Posted by kawa in Mind / Brain

5 comments

Creationism vs. Evolution (Who will win the debate?) – Video (Michael Ruse, Eugenie C. Scott, Barry Lynn, and Kenneth Miller)
abiogenesis, animal behavior, atheism, critical thinking, evidence for evolution, evolutionary psychology, human behavior, human evolution, life, panspermia, skepticism

What you should know before you start application development on the Android system

Mar 20th

Posted by kawa in Android Programming

3 comments

What you should know before you start application development on the Android system

        First of all, if you want to start developing Android applications you’re going to first have to get used to the Java programing language because this is the means by which you’ll code your applications. Of course, if you pretty savvy with C++ or some other object oriented language then simply having some good Java tutorials bookmarked (i like this one) and learning it on the way will not be a problem if you think you’re up to challenges that lie ahead.

Now, what is an Android system? It’s practically a complete development environment with a complete software stack which contains the operating system (based on the Linux 2.6 kernel), a middle-layer application framework, a set of C/C++ libraries used by various components of the system to which you have access through the application framework mentioned above, and some core applications that you can also have access to, programmatically (I’ll explain below how why this is possible).

Having the Linux 2.6 Kernel at the core of the operating systems makes the platform pretty safe and well established when considering the Linux Kernel process management, memory management, networking stack, and driver model have undergone a long and arduous process of R&D for years.

        The most important thing you need to know is that each application runs in its own safe-box: it has a unique user ID assigned by the OS, a unique process and therefore a unique virtual machine. No application can access the files or the memory of another one without being allowed to do so by Android’s kernel system.

Application Components:

The second most important thing is the way applications are structured. Each application can be comprised of four distinct parts called Application Components: the Activities, Services, Content Providers and Broadcast Receivers components. What is remarkable is that from your application you can access components that belong to a different application and this is not achieved by loading the code of that component into your process’ address space; no, it’s simply executed within its own kernel assigned process that has its uniquely assigned user ID. Because the Android system allows every application to start another application’s component you can practically use components from already developed applications into your own as if they are an integral part of your program. Pretty neat!

Because each application is loaded by its own process into its own address space, and because each application can start (use) any others’ component this means that there is no central station, no entry point of the whole system or as Android’s Documentation puts it “Android applications don’t have a single entry point (there’s no main() function, …..)“.

        What are the application components? Activities are simply a singe screen or window that contains a user interface. A certain application can contain lots of activities designed to achieve a specific goal. They all are part of the application even though they are treated as separate when you program their functionality.

Services are simply background processes which can run for the whole execution time of the application. You can think of them as the core/heart of you application because they can coordinate the activities for the other components, they can trigger specific actions at certain times, they can access the network, etc.

Broadcast receivers are simply listeners for system broadcasts or application broadcasts. Your own application can generate broadcasts that can be catched by Broadcast receivers. These components can have a wide variety of uses one being that they can be used as triggers in your application’s workflow logic when certain system events or other application generated events take place.

Android Architecture

Android Architecture

And finally, Content Providers. They are data storage providers: databases, file system data, web storage, etc., these can all be accessed by means of a Content Provider. What’s interesting is that different applications can share (read, modify) data contained in the same Content Provider object which is practically a shared set of application data; one interesting example is the contacts (ContactsContract.Data) Content Provider which contains user contact information (such as a phone number) and its associated metadata (such as whether it is a work or home number, email, etc) and can be accessed and modified by applications that have the appropriate privileges (meaning the ones that have been programmed to have these privileges, and subsequently have been installed by the user of the device).

More >

android development, android howto, android java programming, android programming, android software

Shinkansen Hayabusa – The ultimate bullet train – VIDEO

Mar 19th

Posted by kawa in Technology

No comments

Shinkansen Hayabusa - The ultimate bullet train - VIDEO
bullet trains, japanesse bullet trains, shinkansen hayabusa

Peak Growth – Are Humans Smarter Than Yeast?

Mar 17th

Posted by kawa in Energy

No comments

Peak Growth - Are Humans Smarter Than Yeast?
biofuels, economy, energy crisis, finance, human behavior, peak oil, richard heinberg, shale gas, solar energy

Peak Everything – Are Humans Smarter Than Yeast?

Mar 16th

Posted by kawa in Energy

No comments

Peak Everything - Are Humans Smarter Than Yeast?
biofuels, economy, energy crisis, finance, human behavior, peak oil, richard heinberg, shale gas, solar energy
12345»10...Last »
    • en  English
      • de  Deutsch (German)
      • ru  Русский (Russian)
      • ro  Română (Romanian)
  • Search

    • Recent comments
    • Popular posts
    • Archives
    • Tags
    • Categories
    • Book Review (14)
    • Environment (11)
      • Energy (9)
      • Peak Oil (11)
    • Health (8)
    • Pictures (4)
    • Science (83)
      • Medicine (1)
      • Mind / Brain (12)
      • Psychology / Behavior (28)
      • Quantum Physics (5)
      • Theory of Evolution (59)
    • Space (9)
    • Technology (22)
      • Information Security (1)
      • Information Technology (3)
      • Networking (1)
      • Programming (5)
        • Android Programming (1)
        • C language (1)
        • C# (1)
        • Web Programming (1)
      • Quantum Computers (1)
    • The Magazine (4)
    • Videos (59)
    animal behavior atheism biofuels brain theories bullet train charles darwin cognition consciousness creationism jokes critical thinking daniel dennett debt economy energy crisis evidence for evolution finance free will high speed train hominids hominins human behavior human behaviour human evolution human mating jealousy life peak oil podarcis sicula pod kopiste pod mrcaru pseudoscience richard dawkins sex differences shale gas shinkansen train skepticism solar energy доказательства эволюции дэниел деннет пик нефтедобычи познание сознание финансы экономика энергетический кризис
    • March 2011 (8)
    • February 2011 (3)
    • January 2011 (1)
    • December 2010 (3)
    • November 2010 (1)
    • October 2010 (6)
    • September 2010 (3)
    • August 2010 (2)
    • July 2010 (3)
    • June 2010 (8)
    • May 2010 (16)
    • April 2010 (29)
    • March 2010 (20)
    • February 2010 (10)
    • How to move the position of a certain bit within a byte ( coding the C language ) (11)
    • Creationism vs. Evolution (Who will win the debate?) – Video (Michael Ruse, Eugenie C. Scott, Barry Lynn, and Kenneth Miller) (5)
    • Peak Oil Video Update – Interview with Colin Campbell (3)
    • What you should know before you start application development on the Android system (3)
    • Breakthrough in Human Emotional Signaling! Why do you cry? (2)
    • Are you tall? Then you shouldn’t be so jealous anymore! (2)
    • Amazing Passing japanese bullet trains (Shinkansen 500, 700 and N700 series) – PART III (2)
    • Finally, in 2010 IEA admits crude Peak Oil happened in 2006 – How does the future of energy look like? (2)
    • C# UDP Datagram Client and Server on the local computer (2)
    • How to write a “Hello World” Safari Extension in Windows (2)
    • bloodhound: Well say that to tom cruise. ;)
    • Al Mubarak: Al Mubarak: Hi, Im new guy for scocket programming. here i uploaded my console application...
    • Al Mubarak: Hi, Im new guy for scocket programming. here i uploaded my concole application project for transfer...
    • ej sor: comparing other religion related terrorists to uk hooligans behavior and would not give a clear...
    • Mike: I'm not even going to look at the videos. Reality, or the lack of it dictates that you can't...
    • Matt Osborne: It is quite possible to make renewables into the backbone of America's energy system in time to...
    • Jack: Diamond is yet another multicult priest, trying to instill doubt in the obvious, no races are equal.
    • Lowbagger: In video #4 PZ makes an error when discussing the separation of church and state in the US...
  • About

  • Blogroll

    • RADUS.ME Programming Blog
  • Sponsored Links

  • Amazon.com

  • FACEBOOK FRIENDS

  • My latest tweets

    Loading tweets...
    Follow me on Twitter!
  • Recent Posts

    • Peak Oil and Dire Straits – Securing the world oil supply – But for whom?
    • Creationism vs. Evolution (Who will win the debate?) – Video (Michael Ruse, Eugenie C. Scott, Barry Lynn, and Kenneth Miller)
    • What you should know before you start application development on the Android system
    • Shinkansen Hayabusa – The ultimate bullet train – VIDEO
    • Peak Growth – Are Humans Smarter Than Yeast?
  • Archives

    • March 2011
    • February 2011
    • January 2011
    • December 2010
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
  • Support our website!

  • Tags

    animal behavior atheism biofuels brain theories bullet train charles darwin cognition consciousness creationism jokes critical thinking daniel dennett debt economy energy crisis evidence for evolution finance free will high speed train hominids hominins human behavior human behaviour human evolution human mating jealousy life peak oil podarcis sicula pod kopiste pod mrcaru pseudoscience richard dawkins sex differences shale gas shinkansen train skepticism solar energy доказательства эволюции дэниел деннет пик нефтедобычи познание сознание финансы экономика энергетический кризис
2010-2011 SciTechExplained.com
XHTML 1.1 CSS 3.0 Top