[android-beginners] Retrieving a Layout/View programmatically problem

2010-05-04 Thread MobDev
Hi there, I am retrieving several layout's programmatically an trying to add them one to the other... I noticed I was always getting a null as a response so I actually simplified it to just retrieving one single layout, or actually it's containing View, but still to no avail :( This is my xml

Re: [android-beginners] Re: [android-developers] ubuntu 10.04 emulator not launching

2010-05-04 Thread Riaz Ur Rahaman
I am using ubuntu 64bit version and have nvidia graphics card. I switched between different nvidia drivers but that didn't help. Using eclipse 64bit version. After some googling I found that this error is an ok thing. Since when I run glxgears and close the window I see the same error on 9.04

[android-beginners] Re: Retrieving a Layout/View programmatically problem

2010-05-04 Thread MobDev
found the problem : had to use setContentView(main); before actually trying to extract it... On 4 mei, 11:44, MobDev developm...@mobilaria.com wrote: Hi there, I am retrieving several layout's programmatically an trying to add them one to the other... I noticed I was always getting a null as

Re: [android-beginners] Whats the current View?

2010-05-04 Thread TreKing
On Mon, May 3, 2010 at 4:19 PM, ScCrow andr...@isildo.com wrote: Since there was no xml, there was no R.layout.x. Then you must be creating the view programmatically, so you'll have it SOMEWHERE. Also, this:

Re: [android-beginners] Titkle bar display

2010-05-04 Thread TreKing
On Tue, May 4, 2010 at 12:24 AM, Revathi K J Ramanan revathiramana...@gmail.com wrote: Is it possible to disable title bar display dynamically after setting the content view by setting the NoTitlebar theme? Yes. Try this:

Re: [android-beginners] NEED help--working on twitter app want list click to be expanded and again shrinked on another click plz help

2010-05-04 Thread TreKing
Do you really expect to get a response to an empty post? - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this

[android-beginners] Creating Calendar events - not appearing on calender widget

2010-05-04 Thread Vikram Bhuskute
Hi, I am writing an app to create and read Calender Event, I am using Calendar content provider. I could successfully read calender events. I also seems to be able to write calendar events. However the added event is not visible from the default calendar widget , i.e. it should be seen

[android-beginners] what happens exactly when android goes to sleep?

2010-05-04 Thread Michael Dorin
Exactly what happens to your activity when android goes to sleep? Either via the power button or letting it sit idle? Sometimes my app does not wake up nicely...It even crashes giving a register dump...other times it seems to be 'half awake'. What methods are invoked? I don't seem to see

[android-beginners] How can I access the images of a specific directory from sdcard

2010-05-04 Thread Yousuf Faheem
Hi All, I am creating an application that access the sdcard and retrieves all the image files presents in all the directories. Now I want the user to select the directory from which he wants to view the pictures and display the images of that folder. I am using cursor =

[android-beginners] Re: Download a file from a URL extremely slow, am I doing it right?

2010-05-04 Thread jrichards1...@googlemail.com
Im having the exact same issues on the emulator. its takes ages just to download a 30k file.. Im trying to download a apk file thats in our apache web server and trying to install it using this: Intent intent = new Intent();

[android-beginners] monitoring the http traffic

2010-05-04 Thread prajakta choudhari
Hello All: I need to monitor all the http traffic on my android. Since my android is non-rooted, I could not get access to the Downloads content provider. Is there any other way to monitor all the http traffic without rooting the android phone at the application level. Thank you. Regards,

[android-beginners] Re: Whats the current View?

2010-05-04 Thread ScCrow
My code follows the exmple at the android site, http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList3.html. The only change to the sample is code to retrieve data from a db instead of hardcoding it. So, assuming that you are correct, what

Re: [android-beginners] Re: Whats the current View?

2010-05-04 Thread TreKing
On Tue, May 4, 2010 at 11:34 AM, ScCrow andr...@isildo.com wrote: So, assuming that you are correct, what in this code defines the view. Nothing - at least not directly. The expandable list activity already manages one which is populate by the adapter that's been set up. Or rather, what can

Re: [android-beginners] what happens exactly when android goes to sleep?

2010-05-04 Thread Justin Anderson
http://developer.android.com/guide/topics/fundamentals.html#actlife -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Opa

2010-05-04 Thread Mashood Oshodi
http://sites.google.com/site/efsgt465yuths/pbhe1m -- Education is a progressive discovery of our own ignorance. -- 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

[android-beginners] Screen lock customization for android

2010-05-04 Thread DeAviator
Hi frens I'm planning to explore the possibilities on how to make a screen lock better (like pattern based). It will be great help if someone points out the difficulty level or where to actually start digging. This is going to be my project idea for minor research paper. What do u guys think or if

[android-beginners] onTouchEvent, how often is the MotionEvent updated?

2010-05-04 Thread Jeremiah Sellars
Hello everyone! I'd like to use some motion events in my GLSurfaceView. I've already created some basic functionality with simple ACTION_UP and ACTION_DOWN events, but I'm a bit confused at how often ACTION_MOVE is triggered and how to gain access to the points that are recorded. Any nudge in

[android-beginners] Hello all

2010-05-04 Thread Ybot
long time listener, first time caller:) I'm trying to perform have my app perform a google search for specific values, programmatically. What api or class is best to use for this purpose. Just to give a little more information, I want to be able to have the application kick off a search like:

[android-beginners] Re: Whats the current View?

2010-05-04 Thread ScCrow
Well, I found the answer, prior to reading your reply. So thanks anyway. And no, I had not tried it because I didnt know it existed, ergo the post, I was trying to find this method. The Answer is registerForContextMenu(getExpandableListView()); -- You received this message

Re: [android-beginners] Re: Whats the current View?

2010-05-04 Thread Justin Anderson
* And no, I had not tried it because I didnt know it existed, ergo the post, I was trying to find this method. * Did you even TRY to read through the docs for these classes? I run into situations like this all the time when using a class I'm not that familiar with... The very first thing I do is

Re: [android-beginners] Re: Whats the current View?

2010-05-04 Thread TreKing
On Tue, May 4, 2010 at 2:30 PM, Justin Anderson janderson@gmail.comwrote: I'm fairly certain that TreKing did the exact same thing as well... Pretty much =) It's amazing how far you can get by reading the docs and doing some Googling.

Re: [android-beginners] NEED help--working on twitter app want list click to be expanded and again shrinked on another click plz help

2010-05-04 Thread Wayne Wenthin
Well to be fair his entire post was in the subject. ;-) On Tue, May 4, 2010 at 7:01 AM, TreKing treking...@gmail.com wrote: Do you really expect to get a response to an empty post? - TreKing -

Re: [android-beginners] NEED help--working on twitter app want list click to be expanded and again shrinked on another click plz help

2010-05-04 Thread Justin Anderson
Exactly he should expand on that and provide samples and examples of what he has tried and what exactly is not working. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] NEED help--working on twitter app want list click to be expanded and again shrinked on another click plz help

2010-05-04 Thread TreKing
On Tue, May 4, 2010 at 4:54 PM, Wayne Wenthin wa...@fuligin.com wrote: Well to be fair his entire post was in the subject. ;-) Which wasn't very clear, IMO. Can you help the OP out based on the title of the post?

[android-beginners] Error trying to update SDK

2010-05-04 Thread Kevin Brooks
When I try to use the SDK and AVD Manager to update the SDK I receive the following error. XML verification failed for https://dl-ssl.google.com/android/repository/repository.xml. Error: cvc-elt.1: Cannot find the declaration of element 'sdk:sdk-repository'. Failed to fetch URL

Re: [android-beginners] Error trying to update SDK

2010-05-04 Thread Xavier Ducrohet
What version of the SDK tools? What OS/Version of Java? Xav On Tue, May 4, 2010 at 5:01 PM, Kevin Brooks bear35...@gmail.com wrote: When I try to use the SDK and AVD Manager to update the SDK I receive the following error. XML verification failed for

Re: [android-beginners] Error trying to update SDK

2010-05-04 Thread Ubuntu Explorer
Maybe this link could help. http://groups.google.com/group/android-developers/browse_thread/thread/6544e484dd4a32bc On Wed, May 5, 2010 at 9:59 AM, Xavier Ducrohet x...@android.com wrote: What version of the SDK tools? What OS/Version of Java? Xav On Tue, May 4, 2010 at 5:01 PM, Kevin

[android-beginners] ADB is not killed

2010-05-04 Thread Ubuntu Explorer
Hi, Even after closing eclipse, adb still alive. Has anyone seen this issue before? ps -aef | grep adb 1464 1 0 08:28 ?00:00:02 adb fork-server server Regards, UE -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try

Re: [android-beginners] Error trying to update SDK

2010-05-04 Thread Kevin Brooks
OS = Windows Vista Home Basic Service Pack 2 SDK Tools version = Revision 2 On 5/4/2010 7:59 PM, Xavier Ducrohet wrote: What version of the SDK tools? What OS/Version of Java? Xav On Tue, May 4, 2010 at 5:01 PM, Kevin Brooksbear35...@gmail.com wrote: When I try to use the SDK and AVD

Re: [android-beginners] Error trying to update SDK

2010-05-04 Thread Xavier Ducrohet
Yes, definitively download the newer tools directly from http://developer.android.com/index.html From then on, the tools will be able to let you update tools and platform alike no matter what. Xav On Tue, May 4, 2010 at 6:26 PM, Kevin Brooks bear35...@gmail.com wrote: OS = Windows Vista Home

Re: [android-beginners] ADB is not killed

2010-05-04 Thread Xavier Ducrohet
This is normal. Eclipse does start the adb daemon on start but never kills it (unless it is to restart it right after). The reason is that we cannot be sure that quitting Eclipse means you don't have a shell/command prompt that is currently running some adb commands (such as a shell on the

[android-beginners] Re: what happens exactly when android goes to sleep?

2010-05-04 Thread Indicator Veritatis
All this document says is that when Android goes to sleep, it calls onPause(). But that does not tell what ELSE Android does when it goes to sleep. For that matter, the same doc says that onPause() is also called when another app takes the foreground, so the application developer cannot even rely

[android-beginners] The notepad tutorial

2010-05-04 Thread NeeravA
In the notepad tutorial part3, in step 1 it is mentioned The current application has some problems — hitting the back button when editing causes a crash, and anything else that happens during editing will cause the edits to be lost. Can someone explain why does it crash on hitting the back

Re: [android-beginners] Error trying to update SDK

2010-05-04 Thread Kaustubh Padegaonkar
Yeah, try changing the https to http. Will work. Kaustubh Padegaonkar, thetuxra...@gmail.com On Wed, May 5, 2010 at 6:59 AM, Xavier Ducrohet x...@android.com wrote: Yes, definitively download the newer tools directly from http://developer.android.com/index.html From then on, the tools will