Tampilkan postingan dengan label code. Tampilkan semua postingan
Tampilkan postingan dengan label code. Tampilkan semua postingan

APK PAIDâ„¢ DroidEdit Pro code editor 1 17 2 Full Cracked


DroidEdit Pro (code editor) 1.17.2

Try Hackers Keyboard for a developer friendly virtual keyboard.
You should try the ad supported DroidEdit Free before buying this app. The ad free version has exactly the same functionality as the paid version except it doesnt have SFTP support, Dropbox support, Custom themes and root mode.




Features:DroidEdit Pro (code editor) 1.17.2 Free Android Download
Syntax Highlighting for several languages (C, C++, C#, Java, HTML, CSS, Javascript, Python, Ruby, Lua, LaTeX, SQL, ...)
Several color themes
Infinite undo & redo
Search & replace
Auto & block indentation
Keep opened files and changes between sessions
Open files directly from dropbox or a file manager
Character encoding support
Keyboard shortcuts (List below)
Share documents with other services (dropbox, email,)
Preview HTML files in browser
Bracket matching
Go to line
Run Scripts in SL4A directly



Pro version only features:
SFTP support (not FTP)
Dropbox support
Custom themes
Run external commands through SSH
Root mode

Shortcuts:DroidEdit Pro (code editor) 1.17.2 APK DOWNLOAD
Ctrl-N New Document
Ctrl-S Save Document
Ctrl-O Open Document
Ctrl-C Close Document
Ctrl-Shift-D Open/Close Document List Menu
Ctrl-Z Undo
Ctrl-Y Redo
Ctrl-A Select All
Ctrl-D Duplicate Line
Ctrl-F Open/Close Find Menu
Ctrl-L Go to Line
F3 Find again
Ctrl-Shift-N New Document (with encoding)
Ctrl-Shift-O Open Document (with encoding)
Ctrl-Shift-S Save Document As…
Ctrl-W/Ctrl-E or Home/End Goto Line Start/End
Ctrl-Left/Ctrl-Right Goto Previous/Next Word
Ctrl-1 to Ctrl-9 Go to opened document

Using different character encodings:
To open a document with a different character encoding than the default: long press the open file button
To create a new document with a different character encoding than the default: long press the new file button
You can make this behavior the default in the preference screen

Long pressing the save document button allows you to save a document with a different filename
DroidEdit is specially useful for new generation android tablets with external keyboards like the Asus Transformer.
Whats in this version : (Updated : Feb 4, 2013)

Fix: FTP Permission Denied problems
Possible Fix for clipboard crash
Added Finnish language
Updated Spanish, Japanese and Polish languages
FTP parser Unix by Default

Required Android O/S : 2.1+


More info:


[How To Install] [Download Data]
http://ul.to/q3yb6jbb
Apk Download: Direct Download
http://ul.to/q3yb6jbb


Android Apk
Read More..

Java code to print the factorial of a number using recursion

/*
Program to print the factorial of a number using recursion.
*/
import java.io.*;
class factorial
{
public static void main(String args[]) throws IOException
{
BufferedReader br = new BufferedReader(new
InputStreamReader(System.in));
factorial call = new factorial();
System.out.print("Enter a number : ");
int n = Integer.parseInt(br.readLine());
System.out.println("Factorial = " +call.fact(n));
}
int fact(int n)
{
if(n<2)
return 1;
else
return n*fact(n-1);
}
}

/**
* ALGORITHM :
* ---------
* 1. Start
* 2. Accept a number n from the user.
* 3. Using method of recursion, multiply all the numbers upto n.
* 4. Print the Factorial.
* 5. End
*/

/*
OUTPUT :
------
Enter a number : 5
Factorial = 120
*/


Read More..

Code Layout Example in Android Programming

This example shows how you can create your own layout through code instead of xml.
Algorithm:
1.) Create a new project by File-> New -> Android Project name it CodeLayoutExample.
2.) Run for output.
Steps:
1.) Create a project named CodeLayoutExample and set the information as stated in the image.
Build Target: Android 4.0
Application Name: CodeLayoutExample
Package Name: com. example. CodeLayoutExample
Activity Name: CodeLayoutExample
Min SDK Version: 11
2.) Open CodeLayoutExample.java file and write following code there:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.example.codelayoutexample;
 
import android.app.ActionBar.LayoutParams;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;
 
public class CodeLayoutExample extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        LayoutParams params1 = new LayoutParams(LayoutParams.MATCH_PARENT,LayoutParams.WRAP_CONTENT);
 
        TextView text = new TextView(this);
        text.setText("I am TextView");
        text.setLayoutParams(params1);
        EditText edit = new EditText(this);
        edit.setHint("This is EditView....");
        edit.setLayoutParams(params1);
        Button button = new Button(this);
        button.setText("Click me");
        button.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast makeText = Toast.makeText(v.getContext(), "Clicked", Toast.LENGTH_SHORT);
                makeText.show();
            }
        });
        LinearLayout layout = new LinearLayout(this);
        layout.setOrientation(LinearLayout.VERTICAL);
        layout.setPadding(10, 10, 10, 10);
        layout.addView(text);
        layout.addView(edit);
        layout.addView(button);
        setContentView(layout);
    }
}
3.) Compile and build the project.
Output
Read More..