Using Data Streams in Java

Data streams read and write strings,integers,floating-point numbers,and other data. The DataInputStream and DataOutputStream classes read and write the primitive Java data types (boolean,int,double,etc.) and strings in a particular,well-defined,platform-independent format. Since DataInputStream and DataOutputStream use the same formats,they’re complementary. These classes are especially useful when you need . . . →Read More:Using Data Streams in Java

Share

Using Sound Recorder activity for capturing audio in Android

One more solution for capturing audio in Android. You can use existing application which can capture audio for you. I am going to show example which shows how to start Sound Recorder activity:

import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.provider.MediaStore;import android.view.View;import android.widget.Button;public class MultitargetOutputStream . . . →Read More:Multitargeting output streams in Java

Share

Using PushBackInputStream in Java

The PushbackInputStream class provides a pushback buffer so a program can “unread”bytes. In other words,it can add bytes to the stream and then read them. This class allows to add data to the stream while they’re reading it. The next time data is read from the stream,the unread bytes are reread. Example:

. . . →Read More:Using PushBackInputStream in Java

Share

Using buffered streams in Java

Buffered input streams read more data than they initially need into a buffer (an internal array of bytes). When one of the stream’s read() methods is invoked,data is removed from the buffer rather than from the underlying stream. When the buffer runs out of data,the buffered stream refills its buffer from the underlying . . . →Read More:Using buffered streams in Java

Share

Eclipse 3.6 M6 (Helios) available for download

It great news from Eclipse community. You can download this milestone from here. What’s new in this release you can find here.

Share

Using Filter Streams in Java

Filter input streams read data from a preexisting input stream such as a FileInputStream and have an opportunity to work with or change the data before it is delivered to the client program. Filter output streams write data to a preexisting output stream such as a FileOutputStream and have an opportunity to work with or . . . →Read More:Using Filter Streams in Java

Share

Android Development Tools 0.9.6 is out

Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful,integrated environment in which to build Android applications. New version 0.9.6 is available for download/update.

What’s new:

Dependencies

ADT 0.9.6 is designed for use with SDK Tools r5 and later. Before updating to ADT 0.9.6, . . . →Read More:Android Development Tools 0.9.6 is out

Share

Android NDK r3 is out

The third release of the Android Native Development Kit (NDK) is now available. It can be used to target devices running Android 1.5 and higher. New features:

Toolchain improvement OpenGL ES 2.0 support

Details are here.

Share

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna,tincidunt vitae molestie nec,molestie at mi. Nulla nulla lorem,suscipit in posuere in,interdum non magna.