About Java.io files

by Salmin » Sat, 03 Jan 2009 07:23:12 GMT


Sponsored Links
 Hi,

is a package named 'Java.IO' that contains the
basic java classes related to Input/Output. But after downloading the
Android source code , I failed to find this
'Java.IO' package or classes. Can anybody please help me to find these
classes?

Thanks
--~--~---------~--~----~------------~-------~--~----~



About Java.io files

by rktb » Sat, 03 Jan 2009 08:50:01 GMT


 Do you mean this?
 http://java.sun.com/j2se/1.4.2/docs/api/java/io/package-summary.html 





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


About Java.io files

by Jean-Baptiste Queru » Sat, 03 Jan 2009 10:29:37 GMT


 You might be looking for this:

 http://android.git.kernel.org/?p=platform/dalvik.git ;a=tree;f=libcore/luni/src/main/java/java/io;h=2c46b9978eb210aa3d140303fd6b0b90ab8774d9;hb=HEAD

JBQ





-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. WXGA behaving like a normal size screen in emulator

What defines whether an AVD running in the emulator is a small/normal/
large/xlarge screen?

hw.lcd.density can be used to set the density, but where is the screen
size defined?

I'm asking because using the WXGA skin for API 11 (hw.lcd.density=160,
ie the default) it is applying resources from the values-normal-port
folder. Ie as if the screen in the AVD was normal size.

The app has

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="11"/>
<supports-screens android:smallScreens="false"
      android:normalScreens="true"
      android:largeScreens="true"
      android:xlargeScreens="true"
      android:anyDensity="true"

The normal screen AVDs get the resources from values-normal-port.
The large screen gets the default resources.
But the xlarge (WXGA) screen gets resources from values-normal-port.

Why?
Is WXGA actually a normal screen? Shouldn't it be xlarge?
Where is that defined and how can I change it?

William

-- 

2. IPC Mechanism in android

Hi All,

I have an NDK application(written in C++) packaged as an executable
and deployed in android. I also have a Java apk file in the
application layer. Now my NDK app does some processing and outputs a
string of data in the format "name = value". Basically the output from
NDK looks like this:
name1 = value1
name2 = value2... Now i want each of these name value pairs to be
passed to java application one by one. Currently i am writing the
output from NDK to a file in sdcard and the java app reads from the
file. But i want to use an IPC mechanism which is devoid of explicit
file writing and reading and instead use something like sending and
listening to a socket. I am not sure what is the best way of passing
message between native code and java. Also i am not using JNI
interface as i have some issue with root permissions as the C++ Native
code runs as root userid and Java apk runs in application level and i
can't combine both of them. Please give me suggestions on how to
perform IPC between native code and java apk. I am using android
developer phone 1 as the device.

Thanks,
aravind

-- 

3. Content Provider for Private Database?

4. How to fix the java.lang.UnsupportedOperationException

5. GPS not starting on Samsung Galaxy Spica i5700 (Portal)

6. [WTA] Saran HP basis Android kisaran 2-4jt

7. [WTPamer] Chocolate and Vanilla cupcakes..