RSS
 

Posts Tagged ‘Programming’

AIDE – Java IDE for Android Devices

07 Mar

AIDE is an integrated development environment (IDE) for developing real Android Apps directly on Android devices. AIDE supports the full edit-compile-run cycle: write code with the feature rich editor offering advanced features like code completion, real-time error checking, refactoring and smart code navigation, and run your App with a single click.

AIDE will turn your Android tablet with keyboard into a real development box. AIDE will turn your Android Phone into a small development computer to browse and touch your code on the go.

Read the rest of this entry »

 

Starting with Python On Eclipse in Ubuntu

22 Sep

Eclipse is a universal toolset for development and is used in many of the companies for software development . Originally created back in November 2001 by IBM Eclipse supports development in many languages one of which is but not limited to Python. For this purpose Eclipse uses plugins that extends its functionality and makes it much more usable for that particular language.One such plugin is pydev which is makes Eclipse more like IDE for Python Development

Read the rest of this entry »

 

Geany – A basic programming IDE for Linoobs

09 Jun

While learning Programming we do need tools to make our work simpler. One such tool is Geany which is basically a text editor with IDE like features, and focuses on simplicity rather than features. It supports a variety of languages which include (but not limited to) C, Java, JavaScript, PHP, HTML, CSS, Python, Perl, Ruby, Pascal and Haskell.

Installing Geany

Geany is in Ubuntu repos and can be easily installed via Synaptic, Software Center, and obviously through terminal.

sudo apt-get install geany

The Interface

As it can be seen from the screen shot, Geany has a pretty basic interface and new users won’t really be lost as it is like any other text editor in terms of simplicity.

How it works

Geany works on the file extension principle. When you save a text file of a program code with an extension, Geany corresponds to the appropriate compiler and interpreter and thus serves multiple languages. For example for .c extension it corresponds to gcc, .py for Python, .rb for Ruby, .pl for Perl, etc.
It does not have the advanced features of IDEs like Eclipse or Code::Blocks, but it serves perfectly for learning programming.
Also note that it’s only an IDE and does not have the corresponding compiler or interpreter. For that you need to download and set that separately. For instance you can install C/C++ compiler by:

sudo apt-get install build-essential

Geany having a very simple interface can be easily used for practicing programming or creating basic programs. For instance, you can create a C program like this:

#include<stdio.h>
int main()
{
    printf("Hello, World!");
    return 0;
}

Now you have to save the file with a .c extension, and compile the code by going to Build->Compile or simply pressing F8. To link the code you have to go to Build->Build or press F9. If your program has been compiled and linked correctly, you can simply execute it as Build->Execute or pressing F5.

And in case of Python:

#!/usr/bin/env python
print "Hello, World!"
#

Now in case of Python you simply execute the code by pressing F5, since Python is an interpreted language. You can also “compile” which basically checks for few syntax errors.

Similarly Geany works in plenty of languages and saves a lot of time particularly for beginner programmers since they don’t really have to change to a particular directory and invoke compiler by terminal.

Happy Programming.