Numeric-Only Virtual Keypad

by Armond Avanes » Sun, 09 Aug 2009 03:14:44 GMT


Sponsored Links
 Hi Folks,

I want to replace the default virtual/soft keyboard with a numeric keypad
(with big keys) to simplify number entry. Anyone has any such experiences or
knows any guide/tutorial about this?

Best Regards,
Armond


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



Numeric-Only Virtual Keypad

by Mark Murphy » Sun, 09 Aug 2009 03:53:08 GMT


 


There is a sample input method editor (IME, a.k.a. soft keyboard) in the
SDK, and the source code to other IMEs (e.g., LatinIME) is available in
the Android open source repository.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Looking for Android opportunities?  http://wiki.andmob.org/hado 

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


Sponsored Links


Other Threads

1. Custom dialog issues

Hi,

I try to implement an custom dialog .... sadly when i call "show"
method i get this stac:

Thread [<3> main] (Suspended (exception WindowManager
$BadTokenException))
        ViewRoot.setView(View, WindowManager$LayoutParams, View) line: 491
        WindowManagerImpl.addView(View, ViewGroup$LayoutParams, boolean)
line: 177
        WindowManagerImpl.addView(View, ViewGroup$LayoutParams) line: 91
        Dialog.show() line: 238
        BudgetMonitoringActivity.itemClicked(long) line: 292
        BudgetMonitoringActivity.onItemLongClick(AdapterView, View, int,
long) line: 318
        ListView(AbsListView).performLongPress(View, int, long) line: 1693
        AbsListView.access$500(AbsListView, View, int, long) line: 71
        AbsListView$CheckForLongPress.run() line: 1651
        ViewRoot(Handler).handleCallback(Message) line: 587
        ViewRoot(Handler).dispatchMessage(Message) line: 92
        Looper.loop() line: 123
        ActivityThread.main(String[]) line: 4203
        Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
        Method.invoke(Object, Object...) line: 521
        ZygoteInit$MethodAndArgsCaller.run() line: 791
        ZygoteInit.main(String[]) line: 549
        NativeStart.main(String[]) line: not available [native method]

I tried with an simple layout like this and i get the same error
stack:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
              android:id="@+id/layout_root"
              android:orientation="horizontal"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:padding="10dp"
              >
    <TextView android:id="@+id/text"
              android:layout_width="wrap_content"
              android:layout_height="fill_parent"
              android:textColor="#FFF"
              />
</LinearLayout>

And my code just do this:

Context mContext = getApplicationContext();
Dialog dialog = new Dialog(mContext);
dialog.setContentView(R.layout.customdialog);
dialog.show();

Just one thing the current activity is launch in a tab host.

Somebody have an idea?
Regards.

-- 

2. Where in the source code of the default Browser perform the function of resolving domain name?

i mean, there must be some Java methods or classes employed in the
source code of the default Browser on the Android platform to perform
the function of resolving domain names to IP addresses. I want to know
where are they, or what the exact names of these classes or/and
methods are. Point out only one location performing this function is
OK, many thanks!

-- 

3. TranslateAnimation problem

4. How to receive the sync calendar notification?

5. PhoeneGap Android JavaScript execution exceeds timeout

6. Google Maps API - Route Points - GPS-Data

7. Change in behavior in X509TrustManager callback on Android 2.3