Android powered devices like mobile phones, tablet computers and home appliances are everywhere nowadays. It is a delight for us to experience a high technology which is less expensive, more powerful and efficient. You know what Android is, you might be grateful, and now you are asking…

Who are the people behind this amazing technology? Today’s article focuses on bringing you a brief answer to that question. So here it is – I think there are three major developers of Android, they are:

Google

Open Handset Alliance

End Users

Google bought Android Inc. on August 2005, and that makes Google as the lead developer of the Android platform. Under Google, Android has seen many updates which vastly improved the operating system. Major version names were named after a sweet dessert:

Android 1.5 – Cupcake (April 2009)

Android 1.6 – Donut (September 2009)

Android 2.0 – Eclair (October 2009)

Android 2.2 – Froyo (May 2010)

Android 2.3 – Gingerbread (December 2010)

Android 3.0 – Honeycomb (February 2011)

Android 4.0 – Ice Cream Sandwich (October 2011)

Android 4.1 – Jelly Bean (July 2012)

Android 5.0 – Key Lime Pie (Unofficial, expected to be released this second quarter of 2013)

Where are the letters ‘A’ and ‘B’? I think they are the Android 1.0 and Android 1.1, but no official names were announced. Google also developed and maintain an online electronic store called Google Play (formerly Android Market) where users can download useful applications (a lot of them are free!) and entertainment products.

The Open Handset Alliance is an association of 80+ technology and mobile companies from around the world who work together for the development of Android. Now imagine what Android can achieve! I believe that these companies have the talent, resources and power to create or develop the Android technology as the best mobile operating system. Companies include:

Yes, I think that we, the users have always been involved with the development of Android. The technical developers gets feedback and innovative or crazy ideas from us to make apps and the platform better. It is us that voices out what we really want to use and experience. We have the power to make Android better than we can imagine!

https://www.codeofaninja.com/wp-content/uploads/2016/06/codeofaninja-logo-100x100-op-80x80.png00Mike Dalisayhttps://www.codeofaninja.com/wp-content/uploads/2016/06/codeofaninja-logo-100x100-op-80x80.pngMike Dalisay2013-04-30 04:33:002016-11-22 09:25:50Who are the Developers of Android?

Hi guys! Today we are going to code on how to send data from Android to PHP server. This is an example app that can post a file and text data to a web server with PHP file as a receiver. Having the ability to (do HTTP Post Request) post data from android app to remote server is required for most apps. Here are some example use of this functionality:

1. You want to get statistics on how your app is being used (you have to tell your user and they must agree of course!)
2. Your app has an upload file feature.
3. A user should register on your database before using more features of your app.

Download HttpComponents Library

In this example, we are using a small library for posting a file, it is called the HttpComponents from the Apache Software Foundation. Please note that you won’t need this library if you’re just posting text data. The download can be found here: HttpComponents

As of the moment, I downloaded the binary 4.2.3.zip

When you extracted the zip file, find the lib folder and copy all the jar files there

Copy those jar files to your project’s lib folder, here’s how to do that:

Go back to eclipse and refresh your project files in the project explorer, now you can see the jar files inside your lib directory. See the screenshot below to visualize the goal of these 5 steps above.

Output Screenshots

Response is what post_date_receiver.php outputs when it receives the posted data.

Posting Text Data. The response array have our key-value pairs.

Posting Text File. The response is the content of my sample.txt file.

What do you think fo this code I came up with? If you have a better solution about how to send data from Android to PHP server, please let us know in the comments section below! We will add your solution or update this post if it deserves to, thanks!

That’s the solution I got on how to show ListView as dropdown in android. If you have any other solutions or suggestions to improve or rewrite this code, please let us know in the comments section below.

Today we are going to take a look at how to programmatically “copy” or “move” a file from one directory to another on Android. In case you want to be clarified about the difference, copying a file means the file will be seen on another directory (target location) without deleting the original file from the source location. Moving a file means the file will be seen in another directory and the original file will be deleted from its former location.

Logcat output when we successfuly copied a file. Click to enlarge.

Here are some situations where I found these functionalities helpful:

Copying a file to another directory is useful when you have to save a file’s version or state in specific time.

Moving a file to another directory can be an advantage when you want to remove a file from a main folder of your application and make it an archive.

Thanks for reading this Copy or Move File From One Directory to Another on Android!

https://www.codeofaninja.com/wp-content/uploads/2016/06/codeofaninja-logo-100x100-op-80x80.png00Mike Dalisayhttps://www.codeofaninja.com/wp-content/uploads/2016/06/codeofaninja-logo-100x100-op-80x80.pngMike Dalisay2013-04-10 17:42:002016-11-22 09:25:56Copy or Move File From One Directory to Another on Android

Get Inspired

★★★★★ “Learning to write programs stretches your mind, and helps you think better, creates a way of thinking about things that I think is helpful in all domains.”

Bill Gates

Co-Founder & Technology Advisor, Microsoft Corporation

★★★★★ “In fifteen years, we'll be teaching programming just like reading and writing ... and wondering why we didn't do it sooner.”