Onscreen Numeric Keypad

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


Sponsored Links
 Hi,

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.

Thanks,
Siva
--~--~---------~--~----~------------~-------~--~----~



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-
order!




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



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)
 http://commonsware.com 

Android Training on the Ranch! -- Mar 16-20, 2009
 http://www.bignerdranch.com/schedule.shtml 

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



Onscreen Numeric Keypad

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


 A very basic example using buttons in a table layout:
 http://code.google.com/p/android-labs/source/browse/trunk/BistroMath/src/com/google/android/bistromath/BistroMath.java 

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

Bernhard




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



Onscreen Numeric Keypad

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


 Bernhard,
Thanks for this!

Siva G




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



Other Threads

1. Request for test of a game on an Evo

Hi,

Can someone help me out and try a game I've released on an Evo? A user
has reported that the controls are the wrong way round on the device.
Like most arrogant developers :) I initially thought "dumb user
error", but I suppose it *might* draw with the Y axis reversed.

The game is Pocket Racing Lite. Touching the left side of the screen
should turn the car anti-clockwise, and the right side - clockwise.

Thanks,

Neil

-- 

2. Application state being lost

I have a situation where my input fields are losing their contents.  I
have reviewed the sections on saving instance state and believe I have
coded it correctly, however, the problem persists.  I actually wonder
if the problem might have to do with a second instance of the
application running as opposed to the original instance being
resumed.  The reason I say this is because I have seen times where my
application presents itself as an empty page and hitting the "return"
button displays my application with all the data as it had been
entered.  Can you tell me more about the manifest entries concerning
android:alwaysRetainTaskState="true"
and/or android:launchMode="singleTask"  Also, I discovered an
attribute on the EditText control called android:saveEnabled="true".

Can you assist in clearing up this seemingly trivial use case?

Peace,
Scott

-- 

3. tentang init.rc

4. Desire Froyo FRF85B + 720p HD Video Recordin

5. Twitter Contact

6. Android FROYO finally!!

7. SOLD ! WTS : BattBox