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. Map Problem on Android emulator

Hi all,

I am using android SDK1.0 and trying to load google map.
I am able to browse maps.google.com site from android emulator so I
feel internet may not be the problem.
I also have obtained the Map API key as mentioned in the the
document.

My AndroidManifest.xml file looks like this.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="bst.GoogleMap"
android:versionCode="1"
android:versionName="1.0.0">
<uses-permission android:name="android.permission.INTERNET" />
<application android:icon="@drawable/icon" android:label="@string/
app_name">
<uses-library android:name="com.google.android.maps" />
<activity android:name=".MapsActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>

main.xml file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

<com.google.android.maps.MapView
android:id="@+id/mapView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:enabled="true"
android:clickable="true"
android:apiKey = "012_Xi3bU6NpfpRxR11DEmea0n9wLHPgD1ThJ2w"

/>
</RelativeLayout>


Java Codes :

package bst.GoogleMap;

import android.os.Bundle;

import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;

public class MapsActivity extends MapActivity
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

}

@Override
protected boolean isRouteDisplayed() {
return false;
}
}

As mentioned, this should display Map on map view. But I see only Gids
nothing else.

What could be the problem.......

Helps are appreciated..


I also would like to add that we have firewall in our office....

after few settings, I am able to browse internet from android
emulator..

Can we assume that now there is no internet problem ?

Log file indicates.....

05-28 13:47:58.237: INFO/ActivityManager(51): Start proc bst.GoogleMap
for activity bst.GoogleMap/.MapsActivity: pid=651 uid=10024 gids=
{3003}
05-28 13:47:58.326: INFO/jdwp(651): received file descriptor 13 from
ADB
05-28 13:47:58.677: WARN/Maps_Persistence(651): Couldn't find file: /
data/data/bst.GoogleMap/files/DATA_Tiles
05-28 13:47:58.917: INFO/MapActivity(651): Handling network change
notification:CONNECTED
05-28 13:47:58.917: ERROR/MapActivity(651): Couldn't get connection
factory client
05-28 13:47:59.048: INFO/ActivityManager(51): Displayed activity
bst.GoogleMap/.MapsActivity: 924 ms
05-28 13:47:59.647: WARN/AndroidHttpConnectionFactory(651):
IOException in HttpClient: Host is unresolved: www.google.com:80
05-28 13:48:00.156: DEBUG/dalvikvm(651): GC freed 5140 objects /
336944 bytes in 78ms
05-28 13:48:00.207: WARN/AndroidHttpConnectionFactory(651):
IOException in HttpClient: Host is unresolved: www.google.com:80
05-28 13:48:00.457: WARN/AndroidHttpConnectionFactory(651):
IOException in HttpClient: Host is unresolved: www.google.com:80
05-28 13:48:00.717: WARN/AndroidHttpConnectionFactory(651):
IOException in HttpClient: Host is unresolved: www.google.com:80
05-28 13:48:00.986: WARN/AndroidHttpConnectionFactory(651):
IOException in HttpClient: Host is unresolved: www.google.com:80


Regards,
Kamal

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

2. Singles dating online

Singles dating online
Click below the link and see how to prepare
For dating with online soulmate.
www.reallyfreee.blogspot.com
Everything for clear details about online
Dating preferences

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

3. How to make ImageView fill vertically within RelativeLayout

4. Android emu on Mac OS X 10.5.7

5. How can I use the hidden provider?

6. why would InputStreamReader returns null

7. ACCURACY_COARSE and ACCURACY_FINE