[android-beginners] Re: About the screen width and height???

2008-11-20 Thread Dennis Wilmsmann
int w = getWindowManager().getDefaultDisplay().getWidth(); int h = getWindowManager().getDefaultDisplay().getHeight(); Unfortunately, I have no answer to your second question; I don't understand the question. ;) Dennis On 20 Nov., 08:00, SinFrancis [EMAIL PROTECTED] wrote: I wanna konw the

[android-beginners] Re: View.SetBackgroundColor(int color) simple question

2008-11-19 Thread Dennis Wilmsmann
Use the pre-defined colors from Java: int i = Color.RED; int j = Color.BLUE; ... Dennis On 19 Nov., 16:34, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So the android documentation helpfully tells me that: color:  the color of the background How do you express a colour as an int?

[android-beginners] Re: Importing Jars

2008-11-18 Thread Dennis Wilmsmann
Are the JAR files shown under Referenced Libraries in eclipse and included inside the Java Build Path of your project? Dennis On 18 Nov., 18:48, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hey all, I wanted to know how to bring in external Jars into the Android Application? The issue I'm

[android-beginners] Re: data encryption

2008-11-17 Thread Dennis Wilmsmann
Packages from javax.crypto and java.security are available in Android, so encryption sould be no problem. Have a look at this (old) example from SUN: http://java.sun.com/developer/technicalArticles/Security/AES/AES_v1.html Dennis On 15 Nov., 03:41, yakuza [EMAIL PROTECTED] wrote: Has there

[android-beginners] Re: java + android newbie! - help on saving data.

2008-11-17 Thread Dennis Wilmsmann
I'm currently using db4o instead of SQLite to store data. The usage of db4o is easy and quick to learn; the tutorials provide good sample code. http://www.db4o.com/android/ Dennis On 14 Nov., 19:01, moazzamk [EMAIL PROTECTED] wrote: You can also try storing it in a database. Here's a post I

[android-beginners] Re: Drawing a path line

2008-11-12 Thread Dennis Wilmsmann
Do you want to show driving directions? I think this isn't possible anymore without getting the information via HTTP vom Google Maps directly. The class com.google.googlenav.DrivingDirection isn't available anymore in the SDK 1.0. Dennis On 12 Nov., 01:47, Allan Valeriano [EMAIL PROTECTED]

[android-beginners] Re: emulator isn't launching

2008-11-12 Thread Dennis Wilmsmann
Have you tried to clean your emulator? emulator -wipe-data Dennis On 11 Nov., 23:56, error404 [EMAIL PROTECTED] wrote: Hi. I have problem with android emulator when I'm launching application. It's writing on eclipse console NAND: could not write file D:\Android

[android-beginners] Re: Drawing a path line

2008-11-12 Thread Dennis Wilmsmann
A to point B. --Valeriano On Wed, Nov 12, 2008 at 6:32 AM, Dennis Wilmsmann [EMAIL PROTECTED] wrote: Do you want to show driving directions? I think this isn't possible anymore without getting the information via HTTP vom Google Maps directly. The class

[android-beginners] Re: mark the location on the map

2008-11-06 Thread Dennis Wilmsmann
Read the hints regarding Location-based Service APIs: http://code.google.com/android/toolbox/apis/lbs.html Some sample code from my app (there are much more samples around here or at the android developers list): LocationManager lm = (LocationManager) getSystemService(LOCATION_SERVICE); /* *

[android-beginners] Re: Map Frustrations

2008-11-05 Thread Dennis Wilmsmann
On 4 Nov., 23:42, shubaduaaa! [EMAIL PROTECTED] wrote: I don't believe I have proxy enabled.  How can I check? Check your browser settings. If there are no proxy servers set, you probably don't need a proxy. ;) Other approaches on your problem: - Have you added uses-library