Onscreen Numeric Keypad

by Siva » Fri, 14 Nov 2008 23:31:10 GMT

Sponsored Links

Is there a sample code for onscreen numeric keypad I can find
somewhere? Please let me know.

Or I appreciate any idea to help me how to accomplish this.


Onscreen Numeric Keypad

by Nathan Maves » Sat, 15 Nov 2008 03:27:51 GMT

 I wrote one last night and it took me only a few hours...   It was
based off the one in the "Hello, Android" book.  So far I would
recommend this book to people just starting out.


Sponsored Links

Onscreen Numeric Keypad

by Siva » Sat, 15 Nov 2008 12:32:06 GMT

 Is the book "Hello, Android" released already> Amazon asks for a pre-


Onscreen Numeric Keypad

by Mark Murphy » Sat, 15 Nov 2008 20:10:18 GMT


At the risk of helping a competing author ;-), the final(?) beta edition 
is available directly from the Pragmatic Programmers Web site 
( http://www.pragprog.com ) as a PDF.

I think the print edition is a few weeks away.

Mark Murphy (a Commons Guy)

Android Training on the Ranch! -- Mar 16-20, 2009


Onscreen Numeric Keypad

by brs » Sun, 16 Nov 2008 00:57:30 GMT

 A very basic example using buttons in a table layout:

Or a more fancy version from the official Android platform calculator:
 http://android.git.kernel.org/?p=platform/packages/apps/Calculator.git ;a=tree;hb=HEAD



Onscreen Numeric Keypad

by Siva » Sun, 16 Nov 2008 02:08:39 GMT

Thanks for this!

Siva G


Other Threads

1. Network interface behaving erratically


I am working on a Peer to Peer application. When I run this
application in debug mode with emulator attached, the application and
send and receive packets, however, when I run the application in
Standalone mode, by simply launching it from the emulator. Sockets
dont give any error, but they do not even send packet outside the

Am I missing on something. Kindly suggest.


2. Custom mockup location providers - what's wrong with this?

I'm trying to make my own mockup location providers, but I just can't
get them to work. I have the following file structure in the emulator:


The kml file is obtained by saving a path in Google Earth.


LocationManager locationManager = (LocationManager) getSystemService(

Location location = locationManager.getCurrentLocation("house");


    <uses-permission android:name="android.permission.ACCESS_GPS" />
android:name="android.permission.ACCESS_ASSISTED_GPS" />
    <uses-permission android:name="android.permission.ACCESS_LOCATION"/

Either the location is null, when executing the code in an intent, or
if I run the code in a service, the following exception is shown in
the log:

ERROR/JavaBinder(520): java.lang.NullPointerException
ERROR/JavaBinder(520):     at
ERROR/JavaBinder(520):     at android.location.ILocationManager
ERROR/JavaBinder(520):     at
ERROR/JavaBinder(520):     at android.dalvik.NativeStart.run(Native

Once again, any advice? :/

3. task manager like application for android

4. Submission evaluation

5. Android Email Team - Email Message Flags and Imap Idle

6. Hardware considerations for application with media

7. get key pressed actively