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. Error Building Eclair for a generic ARM target w/ ALSA

One other thing: I had also added <project path="external/alsa-utils"
name="platform/external/alsa-utils"/> to the local_manifest.xml file
and still got the same errors.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. input method

Hi there,

I want to implement a custom input method for certain EditTexts within
my app. I understand I need to extend the InputMethodService class,
but how do I then add this to certain views? I've tried just using the
class name in the android:inputMethod XML property, but this seems not
to work.

Using the SoftKeyboard example in the 1.5 SDK, my manifest is as
follows:


--------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="Softkeyboard.example"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <service android:name="SoftKeyboard"
 
android:permission="android.permission.BIND_INPUT_METHOD">
            <intent-filter>
                <action android:name="android.view.InputMethod" />
            </intent-filter>
            <meta-data android:name="android.view.im"
android:resource="@xml/method" />
        </service>
        <activity android:name=".SoftkeyboardEx"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

    </application>
    <uses-sdk android:minSdkVersion="3" />

</manifest>
--------------------------------------

and the xml code:


--------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="@string/hello"
    />
<EditText
        android:id="@+id/EditText01"
        android:layout_height="wrap_content"
        android:layout_width="fill_parent"
        android:inputMethod="SoftKeyboard">
</EditText>
</LinearLayout>
--------------------------------------


The app fails with a ClassNotFoundException. However removing
'android:inputMethod="SoftKeyboard"' fixes it, and I can select
SoftKeyboard as an input method for the EditText when it is running.

What am I doing wrong? Have I declared something wrongly in the
manifest?

Thanks

-- 

3. list view &spinner

4. Custom Key-/Truststore in WebView

5. SSL handshake failure when client certificate is requested

6. customlistadapter simple question

7. MediaPlayer - Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported