You might get it to work if you request the focus for EditText on
creation.  Either add "editText.requestFocus()" in your onCreate(), or
add a <requestFocus/> tag inside the EditText's XML layout.
<EditText ....>
  <requestFocus/>
</EditText>

-Matt

On Jul 23, 4:52 am, harshe <[email protected]> wrote:
> no it didnot work :(
> am working in android sdk 2.2
>
> my manifest is
> <?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
>       package="com.android.keyboard"
>       android:versionCode="1"
>       android:versionName="1.0">
>       >
>     <application android:icon="@drawable/icon" android:label="@string/
> app_name">
>         <activity android:name=".sample"
>                   android:label="@string/app_name"
>
> android:windowSoftInputMode="stateAlwaysVisible">
>            <intent-filter>
>                 <action android:name="android.intent.action.MAIN" />
>                 <category
> android:name="android.intent.category.LAUNCHER" />
>             </intent-filter>
>
>        </activity>
>         </application>
>
>     </manifest>
> please help me ..
> Thanks
> Harshe
>
> On Jul 23, 5:51 am, Matt <[email protected]> wrote:
>
>
>
> >http://developer.android.com/guide/topics/manifest/activity-element.h...
>
> > On Jul 22, 8:54 am, harshe <[email protected]> wrote:
>
> > > i have an activity with few edit text views and a button. TheSoft
> > >Keyboardis visible when I click the edit text view. But i want the
> > >softkeyboardto be visible  during the launch itself , without
> > > clicking the edit text itself i must get thesoftkeyboardon the
> > > screen. Can  anyone plzzz help me out in this ....

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to