Re: [android-beginners] Re: How often does an activity run?

2010-04-20 Thread Daniel Favela
Well, this seems like a good exercise to test my learning and reading as a newbie in the Android scene. If I'm understanding BobG correctly, he means that the calls to onDraw depend entirely on your application. Your *Hello World!* sample renders the text once and never has to render anything

Re: [android-beginners] Screen height?

2010-04-20 Thread Justin Anderson
May I ask why you need something like that? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Apr 19,

[android-beginners] How to Bind data to list?

2010-04-20 Thread Prashant Shelar
Hello, I have a two string arrays: String[] keys={A,B,C,D,E}; String[] values={655,466,627,168,569}; Now i wanted to display a list: A B C

[android-beginners] how to install steel browser

2010-04-20 Thread apoorvi
i want to install steel browser in my android emulator .Can u guys please help me with the steps involved -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at

Re: [android-beginners] How to Bind data to list?

2010-04-20 Thread Justin Anderson
You are going to need to provide a little more information if you want a real answer. I'm assuming you are using a ListActivity? If so, there is a method called onListItemClick that passes a position parameter. Assuming that the items are displayed in the list in the same order as the array you

Re: [android-beginners] how to install steel browser

2010-04-20 Thread nubh bhargava
Hi, I dont know much what are you speaking of. Is it some sort of application? Check for this link I hope you get something useful here http://developer.android.com/guide/developing/tools/emulator.html There are sublinks for your use. Thanks Regards NUBH -- You received this message because

Re: [android-beginners] Using Methods in a Service from an Activity

2010-04-20 Thread Tom F M White
Ok, I've found the problem, for anyone else having trouble. In the tutorial, onBind() returns null, I created a MediaBinder class within MediaService, that implemented my MediaInterface, calling the relevant methods in MediaService. This works nicely. On 19/04/2010 21:43, Mark Murphy wrote:

Re: [android-beginners] Screen height?

2010-04-20 Thread murali raju
WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE); Display dsp = wm.getDefaultDisplay(); On Tue, Apr 20, 2010 at 11:46 AM, Justin Anderson janderson@gmail.comwrote: May I ask why you need something like that?

Re: [android-beginners] Re: Custom Themes

2010-04-20 Thread Chirayu Dalwadi
Thanks all :) -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to

Re: [android-beginners] how to install steel browser

2010-04-20 Thread Mark Murphy
apoorvi wrote: i want to install steel browser in my android emulator .Can u guys please help me with the steps involved http://www.kolbysoft.com/downloads.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books:

[android-beginners] Re: grow or shrink view

2010-04-20 Thread satish bhoyar
Guys anybody knows this ... hw to solve this ...? please help .. thanks On Mon, Apr 19, 2010 at 6:59 PM, satish bhoyar getsatonl...@gmail.comwrote: Hi, I have one problem... like i want my view to grow or shrink in one direction like curtains. What animation i can use for this? is this

[android-beginners] Re: Refreshing GUI listview

2010-04-20 Thread tony obrien
It looks like what you really need is the ListActivity's OnResume(), etc. On Apr 19, 1:54 pm, Patrick Nako nako...@gmail.com wrote: Hello everyone, i'm in the process of creating a application manager/ killer for my high school senior project. Unfortunately i'm running into the issue of my

[android-beginners] Images Reused in a ListView

2010-04-20 Thread Tom F M White
I've made a custom ListAdaptor, with associated View, that displays an icon on the left of each list item, with three lines of text to the right. In MyView.onCreate(), the icons are populated using imageView.setImageDrawable(Drawable.createFromStream(URL)); each item on the list is it's own

Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Martin Obreshkov
Can you paste some code On Tue, Apr 20, 2010 at 5:19 PM, Tom F M White fred...@gmail.com wrote: I've made a custom ListAdaptor, with associated View, that displays an icon on the left of each list item, with three lines of text to the right. In MyView.onCreate(), the icons are populated using

Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Tom F M White
TripleText is just an object for storing 4 strings, 3 for the text, 1 for the image URL. Rest of the code follows, sorry it's quite long... TripleTextView: public class TripleTextView extends LinearLayout { private TextView mText1; private TextView mText2; private TextView mText3;

Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Mark Murphy
Tom F M White wrote: TripleText is just an object for storing 4 strings, 3 for the text, 1 for the image URL. Rest of the code follows, sorry it's quite long... TripleTextView: public class TripleTextView extends LinearLayout { private TextView mText1; private TextView mText2;

Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Tom F M White
Thanks for your help. On 20/04/2010 15:37, Mark Murphy wrote: Tom F M White wrote: TripleText is just an object for storing 4 strings, 3 for the text, 1 for the image URL. Rest of the code follows, sorry it's quite long... TripleTextView: public class TripleTextView extends LinearLayout

[android-beginners] Content provider example besides Contacts.

2010-04-20 Thread Gabriel A. Zorrilla
Hi there. I'm trying to develop a simple APN changer. I checked the tutorials and the CP are basicaly some sql databases accesed with a pointer. The thing is, for example, that the APN value seems to be in the settings DB? I dont find a clear reference to that in the API nor i can access it using

[android-beginners] Re: Screen height?

2010-04-20 Thread BobG
On Apr 20, 2:16 am, Justin Anderson janderson@gmail.com wrote: May I ask why you need something like that? === Dev phone 2, supposed to be 320x480, so I go to draw a graph from 0 to 319 and it looks like its too big by the size of the

Re: [android-beginners] Re: Screen height?

2010-04-20 Thread Justin Anderson
After I asked my question, murali answered yours... I wasn't sure, but was curious why you needed it. The Display class is what you want. -- There are only 10 types of people in the world... Those who know binary and those who

[android-beginners] play an audio file on a voice call

2010-04-20 Thread george
Hi all i want to play an audio file on a voice call as following the application initiates a call from device X to device Y when Y replies application on device X should inject an audio file in the stream of the call so device Y hears this audio file if any help i'm waiting Thanks much

[android-beginners] Re: How often does an activity run?

2010-04-20 Thread Indicator Veritatis
It is most definitely not a zombie process. A zombie process, by definition, is one not even the shell command 'kill' can kill. The process you just described is still able to receive events -- and will the next time the OS decides to call onDraw. It is Android that decides when to call onDraw().

[android-beginners] Re: Android Emulator don't show up (Linux Fedora 12 x86_64)

2010-04-20 Thread Indicator Veritatis
I didn't have to follow that many steps to get it up and running. Yet I am running under Fedora, too. For example, 'yum' will allow wild-cards, so that where he ran many yum commandlines, I needed only one. Nor do I remember having to twiddle with permissions. Then again, I am still running SDK

[android-beginners] ImageView in ListActivity won't scale...

2010-04-20 Thread MagouyaWare
I posted this same question on StackOverflow two days ago and haven't received a response yet so I figured I would try my luck on here. For those interested here is the link to stackoverflow: http://stackoverflow.com/questions/2661223/imageview-scale-type-not-working-in-list-activity I have used

[android-beginners] Re: Is there a concept like DLL in Andoirds?

2010-04-20 Thread Indicator Veritatis
So the short answer to his original question, whether or not there is a 'DLL concept' in Android, is 'no'. If he really wants to, he can use the NDK as you suggest, but that sounds like a lot of custom work for trying to support a C/C++ paradigm in a Java world, an approach that is likely to

[android-beginners] Any idea why the following code crashes the app? It happens in calculateGmt()

2010-04-20 Thread Traveler
package Adkins.GMTpackage; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.TextView; import android.widget.EditText; public class GMTactivity extends Activity

Re: [android-beginners] Re: Android Emulator don't show up (Linux Fedora 12 x86_64)

2010-04-20 Thread Michael Cheselka
Hello Indicator, Of course this is true. I did this in anticipation of trouble and afterwards found none. I'd still twiddle the permissions just for safeties sake. Regards, Michael Cheselka 650-488-4820 On Tue, Apr 20, 2010 at 15:54, Indicator Veritatis mej1...@yahoo.com wrote: I didn't