[android-beginners] Re: Tab views, onStart() ???

2009-11-22 Thread Smelly Eddie
Jason In my application i hva etwo tabs. One for inttant queue and one for disc queue(netflix) as the user presses the tabs (back and forth) the listview on each tab refreshes. You can use onTabCHanged to keep control of which tab the user is on, and call a custom method to re-populate the

[android-beginners] Re: Trouble with updating widgets

2009-11-22 Thread niko20
Hi, onUpdate will never fire if you are using onReceive at all. If you override onRecieve you have to handle all the messages yourself inside it, include the update message. -niko On Nov 18, 6:03 pm, DMc davidmcni...@gmail.com wrote: Hello, I am trying to create a widget which updates at a

[android-beginners] Re: Absolutely Infuriating

2009-11-22 Thread Indicator Veritatis
So how was it that he got this error, and you did not? You did say the API demos all compiled for you out of the box, didn't you? Yet they were missing this declaration of mTabHost, and the package imports. On Nov 19, 11:17 pm, Lance Nanek lna...@gmail.com wrote:

[android-beginners] why Java, not Python?

2009-11-22 Thread Esmail
Not trying to start a flame war here, just curious about the decision to use Java as the main language for Android development instead of Python. For one Python is one of the main languages used by Google, and both languages are byte-code interpreted. Python has a very rich set of libraries

[android-beginners] Re: random problem

2009-11-22 Thread Indicator Veritatis
True. Even then, this is probably not the code he really wants. Instead of using casts on a Random method returning doubles, he could use the java.lang.util.Random.nextInt() method to get an integer in the range he specifies. Then instead of (int( (Math.random()*9)+1 he could have, after a

[android-beginners] Re: Absolutely Infuriating

2009-11-22 Thread Lance Nanek
The missing member variable is in one of the tutorials. It isn't in the API demos. On Nov 22, 1:44 pm, Indicator Veritatis mej1...@yahoo.com wrote: So how was it that he got this error, and you did not? You did say the API demos all compiled for you out of the box, didn't you? Yet they were

Re: [android-beginners] why Java, not Python?

2009-11-22 Thread Shawn Brown
Again, not trying to start any arguments, just curious if anyone has any background on this. Well consider that Google AppEngine started in python and then added java support. In some ways, the python version is more advanced. I don't know why java was chosen but you have to believe that

[android-beginners] Re: cannot find symbol error when build CTS after update few source code

2009-11-22 Thread Chenny
Anybody has worked on CTS? I tried many times, but failed. On Nov 20, 3:36 pm, Chenny chenny...@gmail.com wrote: Dear friends, I am working the CTS test. And I would like to update some source code for my own codec test. So final int resid = R.raw.testvideo; from MediaPlayerTest.java has

[android-beginners] Re: Android SDK and AVD Manager Failed to fetch URL:HTTPS SSL error

2009-11-22 Thread Niels Heirbaut
You can try two things (or both): 1. Start the android command in the following way: GDK_NATIVE_WINDOWS=true android 2. Change the permissions on the directory ~/.android (temporarily) to 777: chmod 777 ~/.android It should now be possible to force the HTTPS connection to be an HTTP connection.

[android-beginners] Access to exchange email server

2009-11-22 Thread jbrum
I am trying to use Locale to change my exchange email server when I go from 3G coverage to WiFI coverage inside my corporate building. Anyone have any idea where that is stored and how to access it? -- You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Re: Trouble passing a KML file to the DDMS Location Emulator

2009-11-22 Thread joshwe...@gmail.com
If you are getting KML from Google Earth then you may have to replace the default namespace with the following: kml xmlns=http://earth.google.com/kml/2.x; On Sep 25, 3:29 pm, tarek.attia tarek.m.at...@gmail.com wrote: Hey,,Did you know how to do tht,,i'm facing the same

[android-beginners] surfaceCreated() and CreateSurface() in camera preview application

2009-11-22 Thread android-newbie
I have some questions regarding the code below for camera preview applicaiton. I am hoping someone can help me out. Thanks in advance. 1. How does surfaceCreated() and CreateSurface() relate? Is this surface created via createSurface() from SurfaceFlinger client to SurfaceFlinger server? If

[android-beginners] downloading and Building Android source for ARM9

2009-11-22 Thread Mr_Nerd
Hi, Can anyone please help me in downloading and building the Android source for ARM 9 platform. My main aim is to download the Android image to the ARM board and to boot the device with Android. Please help me doing this. thanks Anks -- You received this message because you are subscribed

Re: [android-beginners] Hello World not even running in Emulator

2009-11-22 Thread Mr. Baseball 34
SNIP the emulator startup time can take any where from a few minutes to hours. SNIP Now that has to be the most ludicrous thing I've ever heard. What is the problem that it takes so long? -- You received this message because you are subscribed to the Google Groups Android Beginners group. To

[android-beginners] UNIX domain socket used on PhoneFactory.java

2009-11-22 Thread LV
Hi, I am looking on the PhoneFactory.java file and I found the following code: try { // use UNIX domain socket to // prevent subsequent initialization new LocalServerSocket (com.android.internal.telephony);

Re: [android-beginners] I just gotta say

2009-11-22 Thread Mark Murphy
Wayne Wenthin wrote: Sometimes it pays to go back and read books I just restarted Mark Murphy's Busy Coders book and picked up some great tips. Thanks! Of course I no longer support 1.5 doing them but hey... Well, further back in the book, there are some tips for supporting multiple API

[android-beginners] Help! My simple app works in Eclipse Emulator but not on droid

2009-11-22 Thread andrew android
My simple app - with no fancy stuff - just one preferences screen and simple while loop logic keeps crashing on my droid though it works fine in the emulator ... I've tried everything I could find online for possible answers, I think... is there something very basic I'm missing? I get a blank

[android-beginners] Programmatically setting the layout_above value

2009-11-22 Thread Becca
Hello, I need to dynamically change the layout_above value for a ListView within a RelativeLayout. I know that within the XML, all you need is android:layout_above=@id/myid, but what is the equivalent if I want to do this in my java code? Thanks, Becca -- You received this message because

[android-beginners] Selecting which applications load on power-up

2009-11-22 Thread Brad Gibson
Whenever I start up my HTC Hero, many applications start automatically. How do I select/deselect which ones do this? -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To

[android-beginners] Re: Delayed actions

2009-11-22 Thread hepmehepme
Answered it myself: timer.schedule(new TimerTask(...)) On Nov 20, 8:53 am, dumontf hepmehe...@comcast.net wrote: Hello, I am trying to get 4 sounds to play in sequence.   Something along the lines of: playSound(1) delay(100) playSound(2) delay(100) playSound(3) delay(100)

[android-beginners] Runtime Exception before OnCreate()

2009-11-22 Thread Berek
I'm trying to run (debug) my Android application in Eclipse for the first time. Each time I run it I get a RuntimeException before the OnCreate() method of the initial activity is invoked. I have no idea why. Thread Group [main] Thread [3 main] (Suspended (exception RuntimeException))

[android-beginners] Re: Hello World not even running in Emulator

2009-11-22 Thread teichholtz
There now seem to be many of us who are experiencing this behaviour. I have an emulator running now which has been running for over 24 hours and still has not displayed the home page. I have a gut feeling that it is a video card issue, although I have only two data points so far: 1. Dell laptop

[android-beginners] Launching Raw Contact Picker in Android 2.0

2009-11-22 Thread James Chou
I would like to know if it's possible to launch the Contact Picker and allow the user to choose a specific phone # or email address from a Contact. I know how to launch the contact list, but all that lets the user do is choose a specific contact. I need to be able to let the user choose a specific

[android-beginners] Beginning to use OpenGL ES on Android

2009-11-22 Thread maximus-dev
Hello Everyone! The more I study the examples in the ApiDemo folder, the more I'm beginning to understand how everything is meant to work. I do need some minor clarification on something. In the docs there is this quick snippet: Here's how to use the API at an extremely high level: 1. Write

[android-beginners] Network down issue

2009-11-22 Thread Ali Adnan
Hi, In my application i get response from web service and show its result from resultant stream at activity, i get stream as try { String connectTo = webService + webServiceMethod + queryString; connectTo = connectTo.replaceAll( , %20); URL url = new URL(connectTo);

[android-beginners] android sdk in /usr/local

2009-11-22 Thread dodtsair
I am trying to run android-sdk in linux under a diretory structure that would all the sdk to be installed and used by multiple people. I have already resolved the export GDK_NATIVE_WINDOWS=true problem. I used root to update the sdk. No I have something like: drwxr-xr-x 7 root root 4096

[android-beginners] Re: ADT Plugin for Eclipse on Ubuntu 9.10

2009-11-22 Thread gritty
I am running Ubuntu 9.10 with eclipse (3.5.1) installed from the Ubuntu repository. I have been able to add the Android Plugin but when I try to create an Android project: File-New-Project...-Android-Android Project-Next It brings up a New Android Project dialog. However the Build Target list

[android-beginners] Re: Installing ADT in Eclipse 3.5.1 (Ubuntu)

2009-11-22 Thread tongcc8
Android Development on UB2 9.1 I followed the below procedures and installation succeed: 1. update Ubuntu sudo apt-get update sudo apt-get upgrade 2. install JAVA sudo apt-get install sun-java6-jdk java -version javac -version 3. install Eclipse At Ubuntu Softwar Center / Programming 4.

[android-beginners] my trouble in displaying hello,Android

2009-11-22 Thread Julio Huang
Hi,I'm a beginner of Android,I use eclipse3.5+ADT 0.9.4+Android SDK2.0 As I followed the guide of SDK to display my first hello Android,I met with a problem the edited code is as follows: package com.android.hello; import android.app.Activity; import android.os.Bundle; import

[android-beginners] android-sdk-mac_x86-1.5_r3.zip

2009-11-22 Thread Cherry
I need the android-sdk-mac_x86-1.5_r3.zip file. the developers page only has the new version and I need the original version of the file. If anyone has it PLEASE let me know. -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this

[android-beginners] activating g1 without wifi

2009-11-22 Thread Cherry
Someone please help me. I am trying to register my g1 through a wifi. It is rc29 but i can't get it to shell to my mac. i type in the commands in my terminal after I download android-sdk-mac but it says command not found. I think it is because the new version of android- sdk-mac doesn't have

Re: [android-beginners] why Java, not Python?

2009-11-22 Thread ryan alford
Anybody know what the number of Python developers vs. the number of Java developers? I would think that Java would have more developers. Maybe they were trying to go with the biggest developer base in hopes to get more apps up and running quickly. Ryan On Sun, Nov 22, 2009 at 7:07 PM, Shawn

[android-beginners] Re: Can't update view

2009-11-22 Thread keyvez
Can anyone answer this questions or is this not a beginner question? On Nov 4, 3:14 am, keyvez key...@gmail.com wrote: I am populating (through inflation) an XML file and then I want to update the textSize of each TextView and redraw it, but it's not updating the view with new textSize. Here

[android-beginners] Re: Hello World not even running in Emulator

2009-11-22 Thread Julio Huang
I have run the emulator for one day!But it still shows the image of the picture android2 On 11月21日, 上午1时46分, Justin Anderson janderson@gmail.com wrote: The emulator takes extremely long to load. If you have a phone, you would notice that the second android image that you reference is

Re: [android-beginners] Restore factory settings

2009-11-22 Thread Xu Bill
I‘m not sure, but if you can see the logcat while you click restore button in system setting, you may see action name that which you need~ 2009/11/21 Nemat nemate...@gmail.com Hi friends I have to restore factory settings of phone programmatically..Is that possible?if yes,How can

Re: [android-beginners] why Java, not Python?

2009-11-22 Thread Tom Chen
This is my theory. One of the creators of Android company, which android is based on, came from an company called Danger in mountain view. Danger made the sidekick - The applications made on the sidekick are all done in java. http://developer.danger.com/site/faq/show#q5 An natural evolution of

Re: [android-beginners] why Java, not Python?

2009-11-22 Thread Lee Olayvar
To my knowledge, Java is simply faster. That, and Python is also rather big. With any luck, Unladen Swallow might find its way onto our devices.. then perhaps we can get Python onto Android. Personally, i would give my right leg for Python on android. (And by that, i mean Python working as well

[android-beginners] Re: why Java, not Python?

2009-11-22 Thread Fred Grott(Android Developer, http://mobilebytes.wordpress.com)
It has to do with how scripted oop languages are implemented..in tis case Python is implemented via C. Most mobile app languages base don C have higher learning curves and break easier..such as Symbian C, and Apple's own Objective C for iPhone.. While the learning curve to python might be lower

[android-beginners] Re: using a simpleCursorAdapter to bind data from a database to a spinner

2009-11-22 Thread RxRick
I'm having the same problem, did you ever figure it out? On Oct 15, 1:33 pm, JasonMP hyperje...@gmail.com wrote: Im trying to fill a spinner with data from a table.  That part works fine.  What i cant figure out is how to use the selection made through the spinner.  if i use :  String

[android-beginners] Custom inputType

2009-11-22 Thread Leigh
I have editText which accepts numeric details with an optional text suffix, (ie. 90.895t). I am using addTextChangedListeners and pattern/match to ensure correct data entry. Planning to call text soft keyboard in number/symbol view initally, with text view obtainable from this keyboard. I

[android-beginners] licence apache 2.0

2009-11-22 Thread gian
Hi, I'm getting good results in the creation of a program with Android but so far I have taken just pieces of code from ApiDemos, Notepads, etc.. . I saw that the code of these programs is released under Apache License 2.0. I looked at the license in English but I understand (i am italian) that i

[android-beginners] How to know deletion of Media Store.

2009-11-22 Thread eaindra nilar
Hello Everyone, I want to access from Media Store such as all audio, video and images.. I can access all information of Media Store and I want to know this problems. If some file is deleted and updated , how do I know ? All tables of primary key is not auto increment. So far, I cannot know