Impossible to write someting on a field

by Aur茅lien » Mon, 11 Oct 2010 05:31:44 GMT


Sponsored Links
 Hi,

I have build a sort of split view for one of my android applications.
I have made an activity which is a container of a listview and a
framelayout. I use the listview for a menu and in my framelayout, I
load views of different activities. I have read the source code of the
TabHost for building this system.

TabHost source code :
 http://android.git.kernel.org/?p=platform/frameworks/base.git ;a=blob;f=core/java/android/widget/TabHost.java

Activities that I load in my framelayout could contain a webview.

The system work pretty well but I have a big issue. When I click on a
field in a webview, the soft keyboard doesn't appear and typing on the
physical keyboard has no affect.

I have made many many researches and I found nothing :'( I really
appreciate if somebody could give me an idea for solving this issue.

--



Other Threads

1. driving a Service through a versioned interface

How is an app supposed to be able to use an underlying service whose
name does not change, but whose AIDL file has changed from one Android
version to another?

The only way I can guess at it allows me to start the remote service
just fine, but it gives me a security exception when I try to use the
interface, as the name of the AIDL file and its interface has
changed.  Here is the method I tried.

Suppose the interface file is com/android/IFoo.aidl and in Android 2.x
it has been changed in an incompatible way.

I tried copying it to com/android/IFoo2.aidl and renaming the
interface within the file.

In startService(), I connect it to the same service name:

    public boolean bindToService(
                ServiceConnection callback) {

        final String CLASS_NAME = "Foo";
        final String PACKAGE = "com.android";

        ComponentName cn =  sActivity.startService(
                                (new Intent()).setClassName(PACKAGE, PACKAGE + 
"." +
CLASS_NAME));

        if (cn == null) {
                Log.d(TAG, "failed to startService()");
        }

        ServiceBinder sb = new ServiceBinder(callback);
        sConnectionMap.put(sActivity, sb);
        return sActivity.bindService((new Intent()).setClassName
(PACKAGE,
                        PACKAGE + "." + CLASS_NAME), sb, 0);
    }

in onServiceConnected(), I assign it to sService =
com.android.IFoo2.Stub.asInterface(service);

    private static class ServiceBinder implements ServiceConnection {
        ServiceConnection mCallback;
        ServiceBinder(ServiceConnection callback) {
            mCallback = callback;
        }

        public void onServiceConnected(ComponentName className,
android.os.IBinder service) {
                sService = com.android.IFoo2.Stub.asInterface(service);

            if (mCallback != null) {
                mCallback.onServiceConnected(className, service);
            }
        }

        public void onServiceDisconnected(ComponentName className) {
            if (mCallback != null) {
                mCallback.onServiceDisconnected(className);
            }
            sService = null;
        }
    }


Suggestions?

2. Another slider from android ?

Keren bentuknya kaya miley...

sent from Milestone...




Tertarik karena tipis
Laennya sih biasa aja XD



@engadget: Inbrics M1 is the thinnest Android slider we've seen, probably
everything we ever wanted http://bit.ly/7qdHma

Twitter Link: http://twitter.com/engadget/statuses/7579352277

Sent via SocialScope Lite (www.socialscope.net)


Regards
Dzikki
--
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. Fw: WTI: Inbrics M1 is the thinnest Android slider we've seen, probably everything we ever wanted

4. alertdialog, under what circumstances will invoking .show directly cause problems?

5. RockOn - Music Player..

6. "Something wrong here" error message

7. no package identifier when getting value for resource