Monday, 22 April 2013

Free Android Ball Shooter Game

Ball Shooter Game


Features:-
1) The Manages Of The Experience Is Very Simple To Learn.
2) You Click On Two Nearby Balls To Exchange Their Roles.
3) Aim To Make Three (Or More) Of The Same Balls In A Line To Remove Them; When All The Ball's  Background Scenes Being Clear.
4) You Will Win The Level(Stage) And Then Pass To The Next Level(Stage) Of The Experience.
Enjoy :)





You can download this android application from here.

Friday, 12 April 2013

Free Katrina Kaif Mania Android Application

Katrina Kaif Mania


Katrina Kaif Mania is an excellent collection of wallpapers and ringtones featuring your all time favorite Katrina Kaif.
You can listen extra ordinary ringtones and enjoy excellent wallpapers together.
Features :
1) Huge Collection of Ringtones and Wallpapers.
2) You can set your desired ringtone as your device's default ringtone by single click.
3) You can set your desired wallpaper as your device's default wallpaper by single click.
4) You can share your love for this app to your friends by simple share.













You can download this android application from here.

Wednesday, 10 April 2013

Free Android Sudoku Game

Android Sudoku Game


Android Sudoku game is available with beautiful graphics.

Features:-

1)  4 Levels - Easy, Normal, Hard, Expert.
2)  Smooth interface and Impressive Graphics.
3)  Auto Save & Resume.
4)  Error Checking.
5) Selected Digit Highlighting.
6) Statistics Tracking.








You can download this android application from here.

Free Ghost Voice Android Application

Ghost Voice


Features:-

1)  Record your voice and change it in scary ways like a Ghost Voice.
2)  You can play converted sound
3)  You can change frequency of voice
4)  You can save converted file in SDCard.





You can download this android application from here.

Free Audio Cutter Android Application

Audio Cutter


Features

1) Cut the part of your audio file you would like and save it as your Ring Tone, Alarm Tone,  Notification Tone.
2) Share it to your Friends via Email, Facebook, Twitter.
3) It is free and supports .mp3, .wav, .aac/mp4, 3gpp/amr format.
4) You can view a scrollable waveform representation of the audio file at 5 zoom levels.
5) You can select area to be chopped from the audio.


           





You can download this android application from here.

Thursday, 14 March 2013

How to Read PDF files in Android?

Read PDF Files from Sdcard in Android

First Create one Android Project in Eclipse after that download PDFViewer.jar file from Internet and then add into project's build path.

After Create one Activity in this Project, Name is Second.java

Second.java

public class Second extends PdfViewerActivity {
   
    @Override
    public void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    }
   
    public int getPreviousPageImageResource() {
    return R.drawable.left_arrow;
    }
   
    public int getNextPageImageResource() {
    return R.drawable.right_arrow;
    }
   
    public int getZoomInImageResource() {
    return R.drawable.zoom_in;
    }
   
    public int getZoomOutImageResource() {
    return R.drawable.zoom_out;
    }
   
    public int getPdfPasswordLayoutResource() {
    return R.layout.pdf_file_password;
    }
   
    public int getPdfPageNumberResource() {
    return R.layout.dialog_pagenumber;
    }
   
    public int getPdfPasswordEditField() {
    return R.id.etPassword;
    }
   
    public int getPdfPasswordOkButton() {
    return R.id.btOK;
    }
   
    public int getPdfPasswordExitButton() {
    return R.id.btExit;
    }
   
    public int getPdfPageNumberEditField() {
    return R.id.pagenum_edit;
    }
}

After that Add below code into your project's main activity and change extends Activity to ListActivity in your java file.

First.java

public class First extends ListActivity {
   
    String[] pdflist;
    File[] imagelist;
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    //setContentView(R.layout.main);
   
    File images = Environment.getExternalStorageDirectory();
    imagelist = images.listFiles(new FilenameFilter() {
    public boolean accept(File dir, String name) {
    return ((name.endsWith(".pdf")));
    }
    });
    pdflist = new String[imagelist.length];
    for (int i = 0; i < imagelist.length; i++) {
    pdflist[i] = imagelist[i].getName();
    }
    this.setListAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, pdflist));
    }
   
    protected void onListItemClick(ListView l, View v, int position, long id) {
    super.onListItemClick(l, v, position, id);
    String path = imagelist[(int) id].getAbsolutePath();
    openPdfIntent(path);
    }
   
    private void openPdfIntent(String path) {
    try {
    final Intent intent = new Intent(First.this, Second.class);
    intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME, path);
    startActivity(intent);
    } catch (Exception e) {
    e.printStackTrace();
    }
    }
}

And Don't Forget to Add Second Activity in Android Manifest file.

Enjoy :--)

Monday, 7 January 2013

Custom Toast in Android

First Create New Android Project and after that add below xml file in res/layout folder and add below code into your MainActivity.java file.

toast.xml

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/toast_layout_root"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:padding="10dp"
    android:background="#ffffff" >
        
    <ImageView android:id="@+id/image"
        android:layout_width="wrap_content"
        android:layout_height="fill_parent"
        android:layout_marginRight="10dp" />

    <TextView android:id="@+id/text"
        android:layout_width="wrap_content"
        android:layout_height="fill_parent"
        android:textColor="#FFF" />
    
</LinearLayout>

Add below code into your MainActivity.java file

MainActivity.java

LayoutInflater inflater = getLayoutInflater();

View layout = inflater.inflate(R.layout.toast_layout, (ViewGroup) findViewById(R.id.toast_layout_root));
 
ImageView image = (ImageView) layout.findViewById(R.id.image);
image.setImageResource(R.drawable.android);
TextView text = (TextView) layout.findViewById(R.id.text);
text.setText("Hello! This is a custom toast!");
 
Toast toast = new Toast(getApplicationContext());
toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0);
toast.setDuration(Toast.LENGTH_LONG);
toast.setView(layout);
toast.show();

Enjoy  :-)

Don’t forget to provide feedback or follow this blog, if you find this blog is useful.