A unique platform to get tutorials on basic and advance computer skills like blogging, wed development, Programming and Get latest technology updates, tutorials, tips and much more
A unique platform to get tutorials on basic and advance computer skills like programming, blogging. Get latest technology updates,news, tutorials
This tutorial will teach you basic Android programming and will also take you through some basic concepts related to Android application development. WATCH THE VIDEO BELOW TO SHOW YOU THE PRACTICAL STEPS
You will be glad to know that you can start your Android application development on either of the following operating systems −
Microsoft Windows XP or later version.
Mac OS X 10.5.8 or later version with Intel chip.
Linux including GNU C Library 2.7 or later.
Second point is that all the required tools to develop Android applications are freely available and can be downloaded from the Web. Following is the list of software's you will need before you start your Android application programming.
Java JDK5 or later version
Android SDK
Java Runtime Environment (JRE) 6
Android Studio
Eclipse IDE for Java Developers (optional)
Android Development Tools (ADT) Eclipse Plug-in (optional)
Here last two components are optional and if you are working on Windows machine then these components make your life easy while doing Java based application development. So let us have a look how to proceed to set required environment.
Set-up Java Development Kit (JDK)
You can download the latest version of Java JDK from Oracle's Java site: Java SE Downloads. You will find instructions for installing JDK in downloaded files, follow the given instructions to install and configure the setup. Finally set PATH and JAVA_HOME environment variables to refer to the directory that containsjava and javac, typically java_install_dir/bin and java_install_dir respectively.
If you are running Windows and installed the JDK in C:\jdk1.6.0_15, you would have to put the following line in your C:\autoexec.bat file.
set PATH=C:\jdk1.7.0_75\bin;%PATH%
set JAVA_HOME=C:\jdk1.7.0_75
Alternatively, you could also right-click on My Computer, select Properties, thenAdvanced, then Environment Variables. Then, you would update the PATH value and press the OK button.
A unique platform to get tutorials on basic and advance computer skills like programming, blogging. Get latest technology updates,news, tutorials
A man accidently deleted his entire company by typing one line of wrong code. Hosting provider, Marco Marsala while discussing at forum for server experts said that he had accidentally typed a code which had killed his entire details from the server via his personal computer. According to experts, Marsala had accidently wiped out the data of his company including its customers, and there is no method to recover the data.
Man Typed One Line Of Wrong Code Which Resulted in The Deletion of His Entire Company
Marsala had posted query on a forum for server experts namely Server Fault, he posted that his all servers got deleted including offsite backups, and he was seeking help to recover it.
The command which resulted in the deletion of his entire company was “rm-rf”. For reference, ‘rm’ literally means “to remove” whereas “r” means to delete all things within given directory and “f” means “force”. These commands direct the computer to snub the warnings that usually come while deleting files. These codes direct the computer to delete everything, same happened with Marsala.
“I run a small hosting provider with more or less 1535 customers and I use Ansible to automate some operations to be run on all servers. Last night I accidentally ran, on all servers, a Bash script with a rm -rf {foo}/{bar} with those variables undefined due to a bug in the code above this line” posted Marsala.
Marsala also said that due to this code all of the backups were deleted as the drives which were backing up the computers were attached to it, so as a result computer also deleted the backup too.
“All servers got deleted and the offsite backups too because the remote storage was mounted just before by the same script (that is a backup maintenance script)” he posted.
We have mentioned some answers where the users said that there may not be any chance for Marsala to recover the data of his company.
“I feel sorry to say that your company is now essentially dead. You might have an extremely slim chance to recover from this if you turn off everything right now and hand your disks over to a reputable data recovery company. This will be extremely expensive and still extremely unlikely to really rescue you, and it will take a lot of time” answered a user namely Sven.
“If you really don’t have any backups I am sorry to say but you just nuked your entire company.” wrote a user namely André Borie.
“You’re going out of business. You don’t need technical advice, you need to call your lawyer”. wrote a user namely Michael Hampton. This shows how the single line code of code resulted in the deletion of entire company, even that code managed to delete backup from his computer.
A unique platform to get tutorials on basic and advance computer skills like programming, blogging. Get latest technology updates,news, tutorials
Today with an improvement of technology and computerization of everything, demands of programmers are also building up as every hardware or all machines instantly require a computer software to run. So it’s always a programmer who develops and design some particular software to control appropriate machines.
Many of you desire to become a good programmer to work in some enormous company and for making your own live projects like mobile apps and computer software . So in this post, I will tell you the best ways to become a good programmer and make your own live projects and fulfill your dreams.
How To Become A Good Programmer
The word “Programmer” fully concerns to programming which refers to languages of a computer to code a software or to run a particular program. So the necessity element is coding . All the top Programmers in our world are expertise in some of the coding languages. There is no shortcut to becoming a programmer. Many of us don’t like coding just because we think that it’s quite tough and boring. But, believe me coding is not tough only when your source of learning is good. Today you can learn to code at home also, There are about thousands of sites available which can teach you to code for free and you can easily become a good programmer. Below is the initial steps to take in mind while start to learn to program to become a good programmer. Initial things to kept in mind before starting coding
First, select your target or aim ,the purpose for which you want to code(like to build a mobile app, design websites, make a computer software , OS structuring etc).
After selecting your target search for the basic requirement for that , like if you want to make an android app you should go for java and then to android (advance java).
Find the best place to learn the coding to become a good programmer.
Spend your maximum of time to code and always try some of the real time problems in whatever language you have decided to learn. What Is The Best Way to Code
As the aspect of life, we all know is “Keep it Simple and Short”. Simpler is the best way to code. Your code should be very simply represented and much more clear coded that you and anybody else can easily judge each and every step of your logic. Always try to make your code as short as possible, as this will save a lot of space and time.
Where To learn To Become A Good Programmer?
Now the most important thing to start a new language is to find the best place or tutor to learn. You will have two option either you can learn to code offline from the best institute for learning to code or either you can learn to code online. If you want to learn offline then make sure that the institute or anything from where you are learning must be certified.
In my opinion, Online learning is the best method to learn and to become a good programmer. There are many benefits of learning coding online that I have listed below.
Benefits of Learning Programming Online
You can save a lot of time and money.
You can learn to code in any of your free time.
You can revise anything multiple of times.
Now you must select the best website to learn to program to become a good programmer. So just follow our article on Best Websites To Learn Programming.
Can You Learn Coding Through Your Smartphone?
In short yes! You can easily learn to code through your Android smartphone, Some android apps will help you work on your project and you can also spend your free time on programming, this all can be done using your android smartphone. Moreover, you can also test your coding skills using this android app
You can have a complete look at our post on 7 Best Android Apps For Developers or Programmers. This guide will help you out if you are looking for android apps to learn to code.
So preceding is the complete guide for How To Become A Good Programmer. By following the complete guide and concentrating on your target you can easily become a good programmer and can make your own live projects and can make money and fame through it. Don’t forget to share this post and don’t hesitate to comment with us regarding any question that arises in your mind regarding this topic.
A unique platform to get tutorials on basic and advance computer skills like programming, blogging. Get latest technology updates,news, tutorials
As you all know that Android is one of
most used mobile platform in the world. Android is free and open source
operating system so one can easily customize this
operating system. If you have much experience or thought about android
app’s but don’t have any coding experience then this post is going to
benefit you! You can easily create android app’s without any coding
How To Create Android Apps Without Coding
There are lots of websites available on the internet to create android apps without any coding
but will tell you about the conventional ones only. Just follow the
procedure to create your android app free and without any coding.
Features :-
No Need Of Coding.
No Cost.
Earn money by your apps.
Modify apps at any time.
HTML 5 for extra Features.
These are the best sites for android application making without any coding :
AppsGeyser is a FREE service that
converts your content into an App and makes your money. Your app will
have all you need including messaging, social sharing, tabs
and full support for HTML5 enhancements. But forget about the app, Apps
geyser helps you to build a business and profit from mobile!
Appy Pie is the fastest growing cloud
based Mobile Apps Builder Software (App Maker) that allows users with no
programming skills, to create Android & iPhone applications for
mobiles and smartphones; and publish to Google Play & iTunes.
With Appy Pie, there is no need to install or download anything, you
can just drag & drop app pages to create your mobile app online.
Once the App is published, you will receive an HTML5 based hybrid app
that works with Android, iPhone, iPad, Windows Phone and Blackberry
Buzztouch is an open source “app engine”
that powers tens of thousands of iPhone, iPad, and Android
applications. Buzztouch is used in conjunction with the iOS and Android
software developer kits (SDK’s).The BtCentral Control Panel is open
source web-based software that is used to administer mobile apps created
using Buzztouch.
Using AppYet, anyone can create a
professional Android app. There’s no programming knowledge required,
only take a few minutes to build your first app. All you need to provide
is links to RSS/Atom feed or website, they are
automatically converted into stunning 100% pure native apps for Android.
You have freedom to list/sell the app on Google Play and many other
Android Markets.
AppClay , conceived and created by core
development experts at ShepHertz Technologies, is an esteemed intuitive
interface that enables each one of us- become an App developer
effortlessly without any coding, software installation, maintenance and
financial investment. Anyone can use AppClay to create HTML5 and ANDROID native Apps supported by all widely popular devices.
AppsGeyser and above listed websites
are the best sites for android app making without any coding. These
sites provide you to create many types of apps like Website, Page,
Browser, Youtube app ( for you channel ), HTML code, TV, Photo, News,
Book, Audio, Wallpaper and Quiz apps etc. In order to make these apps,
you need to create the free account on this website. After this, you
have to select you app category mentioned above later on you will have
to select app name description about your application. After all these
things you have to click on Create App button. After in few minutes you
will be able to download your created app in app format. You can also
further update your app.
We recommend you to use this site for making the android app without any coding
knowledge. If you know any similar site to create the app without
coding then comment below. If you really found his article helpful then
you Share it. Thanks
A unique platform to get tutorials on basic and advance computer skills like programming, blogging. Get latest technology updates,news, tutorials
A Beginner's Guide To Develop Android Apps Using Android AIDE
Android
is truly an alluring platform and there are reasons for that. The
platform opens up the possibility of new things for developers by
providing them diligent ways to develop and use applications. More and
more developers are attracted to the Android and thus creating apps
that are truly enthralling and engaging.
The
availability of a number of free tools and start-up kits has also
strengthened the process of custom application development. Now, would
be app makers have another robust tool called AIDE (Android Integrated
Design Environment) to develop feature-rich mobile apps using their
Android phone or tablet. The tool is an ideal pick for those developers
who are more inclined towards JavaScript.
Before
its inception, it was quite difficult for developers to set up an
environment for Android. In fact, more challenging was the process of
offline Android installation. For large scale applications, developers
still have the option to use Eclipse SDK, on a PC. But, for small, AIDE
is the only handy choice. Using IDE, Android developers can have a
reliable development package accompanied by an access to code
completion, formatting, editing, refactoring, and real-time code
checking. AIDE runs directly on Smartphones and other mobile devices. It
is also compatible with Eclipse IDE.
In this tutorial, I am going to discuss about the creating an exemplary Android app development using AIDE. The guide is easy to follow and will surely help you in your first Android app project.
Preparing the Ground
Install AIDE from Google Play on your Android device
AIDE comes integrated with a mobile version of the Android SDK, so you don't need to install anything else
Getting Started with the App Project
Opening
the AIDE on your device, you'll be first provided with a screen
prompting you to provide the package name and location of your app. Make
sure that whatever the name you may choose, it should be unique across
all the installed packages.
Once
you are done filling the details, click on the “Create” button.
Selecting the button will take you to a screen which displays all the
related files accompanied by the source code you need to use for your
project. AIDE will create all these files in your SD card. In addition,
it will also provide you with two most important files for editing
purposes. The files are: main.xml and MainActivity.java.
By
default a Git Repository will also be created by AIDE for your new
project. You can turn off this feature in the settings. Please read the
given tutorial to know more about it.
Run the App
The next step is to compile your app using the Run command from the menu just like this:
To
make your app run, AIDE automatically creates an Android Application
Package File (APK) for your app. Android APK is basically a file format
used to install apps and softwares for Android. It features all your
program's code, assets, certificates, resources, and more. An
installation dialogue box is provided to the user to know about the
process.
The following screen will be displayed to the user, if the compilation was successful.
Once the installation is complete, you can see your app listed among all the apps. Just like this:
Just click on the app, and you'll see the result like this:
Let's Play Around the Code
As
of know we have successfully compiled and installed our app, the next
step is create an interface for our application. The Android SDK
provides an XML file format that helps you define the UI for your app.
For
this use the below mentioned code in your res/layout/main.xml file. The
code will help you determine the interface of your app.
Using
the code above, you'll be provided with a linear layout with a vertical
orientation. The layout features 'TextView' to display the static
information. The 'EditText' allows you to accept the input from the
user, whereas OK and Cancel buttons are used to process or clear the
EditView comments.
When
you create “Hello World” app, AIDE automatically opens the main.xml
file which allows you to determine the main activity of your app. Use
the following code should be used with your src/com/MainActivity.java to
define your application Activity.
public class MainActivity extends Activity implements View.OnClickListener { EditText txtName; Button btnOk,btnCancel; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); /* Referencing controls */ txtName=(EditText)findViewById(R.id.txtName); btnOk=(Button)findViewById(R.id.btnOk); btnCancel=(Button)findViewById(R.id.btnCancel); /* Registering the onClick event of the buttons */ btnOk.setOnClickListener(this); btnCancel.setOnClickListener(this); } public void onClick(View view) { if(view==btnOk) { /* Display Welcome message */ Builder builder=new Builder(this); builder.setTitle("Welcome to Android"); builder.setMessage("Hello "+txtName.getText()+"!!!"); builder.setCancelable(true); builder.show(); } if(view==btnCancel) { /* Clear the EditText */ txtName.setText(""); txtName.requestFocus(); } } }
That's all! You can now go on to create buttons and responses for your app to make it function well.
To Wrap Up
AIDE
is a perfect pick for those who want to create a robust Android
application on their device quickly and easily. Those who are getting
into Android app development should consider it as a platform for their
future endeavors.