[android-beginners] EditText

2010-02-21 Thread André
Hello, I have a EditText window that fills up most of the screen. But when I start typing in it always starts on the left side in the middle. I want it to start top left corner. How do I do this? regards André -- You received this message because you are subscribed to the Google Groups Android

Re: [android-beginners] EditText

2010-02-21 Thread Mark Murphy
André wrote: Hello, I have a EditText window that fills up most of the screen. But when I start typing in it always starts on the left side in the middle. I want it to start top left corner. How do I do this? Set the gravity of the EditText widget to left|top. -- Mark Murphy (a Commons

[android-beginners] Problems with executing 'substring':

2010-02-21 Thread Prabakar
Hello, I am wondering whether 'substring' support is there or not on Android 1.1 minimum SDK set in Eclipse project. Actually i installed Android 1.6 SDK. I use the following parse function, where-in i use 'substring' for few places. I am not getting any result from the 'substring' code and it

[android-beginners] Fast way of drawing lines between two points anywhere on screen. OpenGL ES.

2010-02-21 Thread M
Hi guys, I'm getting closer to wrapping up my game project but facing an interesting issue now with the game so looking for help on how to do this. I need to draw lines (lasers) in orthogonal 2D coordinate space using OpenGL but I cannot nail down a quick way to do so. Usually I draw everything

Re: [android-beginners] How to get reference of (SQLiteDatabase) to use android contact database

2010-02-21 Thread Yuvi
Take a look here: http://developer.android.com/intl/fr/guide/topics/providers/content-providers.html On Sat, Feb 20, 2010 at 11:59 PM, Walt Armour waltarm...@gmail.com wrote: I'm pretty sure that is not the desired access method. You should probably use the contacts ContentProvider. In

[android-beginners] Re: Google AdSense Account Status

2010-02-21 Thread bakiyaraj p
http://online-jop.blogspot.com/ http://onlinr-jop-100.blogspot.com/ http://online-job-adsens.blogspot.com/ http://friend-finder-1.blogspot.com/ http://friend-finder-1.blogspot.com/ http://jackie-chan001.blogspot.com/

[android-beginners] Deactivate any calls to Log methods before publishing app

2010-02-21 Thread mikek
In the Android publishing How-To guide it says, * Deactivate any calls to Log methods in the source code. I assume this refers to calls in the app like, Log.i(Application.TAG, connectClient connect... ); I thought these log messages would automatically be supressed when, * Remove the

Re: [android-beginners] Problems with executing 'substring':

2010-02-21 Thread Prabakar
UPDATED: I tried putting this code in onCreate place itself directly instead of under Timer code as i said earlier, and found that it throws message as source not found - ThreadGroup.class file when crossing 'substring' line of code. --- On Sun, 2/21/10, Prabakar prabhu_mp...@yahoo.com wrote:

[android-beginners] Re: Fast way of drawing lines between two points anywhere on screen. OpenGL ES.

2010-02-21 Thread Lance Nanek
Make a single large buffer ahead of time and put things in it as needed. The glDrawArrays method takes first and count arguments, so you never have to draw the entire buffer, just whatever part of it you are currently using. Note that you can draw multiple lines per draw call if your lines are

Re: [android-beginners] Problems with executing 'substring':

2010-02-21 Thread Prabakar
I could able to resolve 'source not found' problem after following the steps mentioned in the following link: http://android.opensourceror.org/2010/01/18/android-source/ But still 'substring' doesn't work. It does nothing there seems to be, don't know why? --- On Mon, 2/22/10, Prabakar

Re: [android-beginners] Re: setting the volume of a media player

2010-02-21 Thread Prajakta Shitole
Hi Indicator, Thanks for the link, but I had seen that link previously and had tried using a variable which would have the current volume and then either add values ranging from 0 to 1 to raise the volume. Eg. float currentVolume = some float value; float increaseBy = some float value;

[android-beginners] LinearLayout Questions

2010-02-21 Thread Michael Dorin
I have a LinearLayout, horizontal, with an EditText and a ImageView. I want everything on oneline but the imageView shoved as far right as possible, and the EditText as far left as possible. The ImageView holds a small icon. I want the EditText to consume the rest of the space on the line. I

Re: [android-beginners] LinearLayout Questions

2010-02-21 Thread Mark Murphy
Michael Dorin wrote: I have a LinearLayout, horizontal, with an EditText and a ImageView. I want everything on oneline but the imageView shoved as far right as possible, and the EditText as far left as possible. The ImageView holds a small icon. I want the EditText to consume the rest of