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  wrote:
> 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  wrote:
>> 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 Brooks  wrote:
>>>

 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
 https://dl-ssl.google.com/android/repository/repository.xml, reason:
 Unknown


 What am I doing wrong?

 --
 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
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


>>>
>>>
>>>
>>
>> --
>> 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
>> android-beginners+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-beginners?hl=en
>>
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!
>
> --
> 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
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 button. I
mean in terms of the lifecycle of the activity.


Thank you.

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 on a call to onPause() as a sure indicator that Android is
going to sleep.

Now I realize that the details of what it does when it goes to sleep
and wakes up might be subject to change w/o notice, but even so, it is
easy to see that the developer often needs to know more than just what
that one doc says about sleep and onPause(). A developer also needs to
know, for example, that Alarms are still checked while the phone is
asleep, and can wake up the phone.

On May 4, 10:56 am, Justin Anderson  wrote:
> 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.
> --
>
>
>
> On Tue, May 4, 2010 at 8:29 AM, Michael Dorin  wrote:
> > 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 onCreate or onResume
> > being called as I log those..unless I am missing something
>
> > Thanks,
>
> > -Mike
>
> > --
> > 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
> > android-beginners+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-beginners?hl=en
>
> --
> 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 
> athttp://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-beginners?hl=en

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 device). You wouldn't like it if
those commands were interrupted because we killed the adb daemon.

Xav

On Tue, May 4, 2010 at 6:06 PM, Ubuntu Explorer
 wrote:
> 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 asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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  wrote:
> 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 Brooks  wrote:
>>
>>>
>>> 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
>>> https://dl-ssl.google.com/android/repository/repository.xml, reason:
>>> Unknown
>>>
>>>
>>> What am I doing wrong?
>>>
>>> --
>>> 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
>>> android-beginners+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-beginners?hl=en
>>>
>>>
>>
>>
>>
>
> --
> 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
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 Brooks  wrote:
   

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
https://dl-ssl.google.com/android/repository/repository.xml, reason: Unknown


What am I doing wrong?

--
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

 



   


--
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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  wrote:

> What version of the SDK tools?
>
> What OS/Version of Java?
>
> Xav
>
> On Tue, May 4, 2010 at 5:01 PM, Kevin Brooks  wrote:
> > 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
> > https://dl-ssl.google.com/android/repository/repository.xml, reason:
> Unknown
> >
> >
> > What am I doing wrong?
> >
> > --
> > 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
> > android-beginners+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-beginners?hl=en
> >
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!
>
> --
> 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
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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  wrote:
> 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
> https://dl-ssl.google.com/android/repository/repository.xml, reason: Unknown
>
>
> What am I doing wrong?
>
> --
> 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
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 
https://dl-ssl.google.com/android/repository/repository.xml, reason: Unknown



What am I doing wrong?

--
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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  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?

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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.
--


On Tue, May 4, 2010 at 3:54 PM, Wayne Wenthin  wrote:

> Well to be fair his entire post was in the subject.   ;-)
>
>
> On Tue, May 4, 2010 at 7:01 AM, TreKing  wrote:
>
>> 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 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
>> android-beginners+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-beginners?hl=en
>>
>
>
>
> --
> Follow us on Twitter  @fuliginsoftware
> Join the forums.
> http://www.fuligin.com/forums
>
>  --
> 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
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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  wrote:

> 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 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
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
Follow us on Twitter  @fuliginsoftware
Join the forums.
http://www.fuligin.com/forums

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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

2010-05-04 Thread TreKing
On Tue, May 4, 2010 at 2:30 PM, Justin Anderson wrote:

> 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.

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 look at the list of methods available
on the classes that I am currently working with.

In particular, I had this exact same problem last week...  I looked at the
documentation for the class and found the getExpandableListView() method.

I'm fairly certain that TreKing did the exact same thing as well...

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Tue, May 4, 2010 at 1:19 PM, ScCrow  wrote:

> 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 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
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 the right direction is appreciated.

Thanks ahead of time,
Jeremiah

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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:

cheesecake ingredients

parse the resulting search and infer that ingredients are stuff like
milk, cheese, sugar, etc I know I could use httpunit java class
and parse the resulting web page, but was wondering if there was a
more elegant solution?  Thoughts?

Thanks in advance

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 anyone has more ideas worth exploring, I would like to
consider it. Or can I make necessary changes in original source code
of android and compile+build..
Regards

Deaviator

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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.
--


On Tue, May 4, 2010 at 8:29 AM, Michael Dorin  wrote:

> 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 onCreate or onResume
> being called as I log those..unless I am missing something
>
> Thanks,
>
> -Mike
>
> --
> 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
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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

2010-05-04 Thread TreKing
On Tue, May 4, 2010 at 11:34 AM, ScCrow  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 I use so I can register my list for a context menu,
> which has a parm of type View?
>

Did you even try getExpandableListView()?

Also make sure you read this thoroughly before continuing:
http://developer.android.com/intl/fr/reference/android/app/ExpandableListActivity.html

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 in
this code defines the view.  Or rather, what can I use so I can
register my list for a context menu, which has a parm of type View?

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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,
Prajakta

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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();

intent.setAction(android.content.Intent.ACTION_VIEW);
intent.setDataAndType( 
Uri.parse("file://"+fileName), "application/
vnd.android.package-archive" );
mContext.startActivity(intent);

But i keep getting a Parse error dialogue box popping up :(

On Mar 26, 10:31 pm, Stormtap Studios 
wrote:
> Just as a followup in case anyone reads this later, it turns out 
> thedownloadwas only slow on my Android Dev Phone 2, my client installed
> the app on their Nexus One and the code downloads thefilein
> approximately 10 seconds.
>
> Time to figure out what's up with my dev phone!
>
> Mark thanks again for all the help.
>
> Rob
>
> On Mar 23, 7:54 pm, Stormtap Studios  wrote:
>
>
>
> > Yourfiledownloadquickly on my emulator, however on my device in the
> > debugger it downloaded at the same slow rate.  So I then tested the
> > release / no debugger version (by exporting, and then installing
> > the .apk with adb).  Same issue, equally slow as the debugger + device
> > combo.  This was with the debuggable value set to false this time as
> > well (which seemed to change nothing, probably just prevents mangling
> > of the code in the package is my bet).
>
> > I thought maybe something might be wrong with my device's WIFI.  I put
> > it right near the wireless router for full signal, no change in speed.
>
> > Tomorrow I'll be able to load the app onto another Android device, so
> > we'll see then whether it's just my device that has the issue.  I'll
> > report back if any success on that front.
>
> > In the meantime thanks Mark for the thorough help, and for hosting
> > thisfileto test with, good idea!
>
> > Thanks,
>
> > Rob
>
> > On Mar 23, 4:39 pm, Mark Murphy  wrote:
>
> > > Stormtap Studios wrote:
> > > > Yes on WiFi, no the browser doesn't seem to perform similarly
> > > > sluggish, although I'm not able to get it todownloada largefileso
> > > > I can't compare that.  Is there a way to test that?  I did go to
> > > > Google and do an image search though and some of those thumbnails were
> > > > quite slow to load.
>
> > > Well, the speed difference is over 40x (~14 seconds to 600+ seconds), so
> > > I would think if the Browser had similar problems, it'd be bindlingly
> > > obvious.
>
> > > > When you say in an emulator image do you mean through the debugger
> > > > targeted at the emulator?  Or do you mean installing it to the
> > > > emulator with adb (same as I installed it to the device)?
>
> > > I mean "on an emulator". How you get it there (Eclipse, ant, adb,
> > > manually poking hex values into flash) is up to you. :-)
>
> > > > I have
> > > > tried it on the emulator and it's even slower on there, everything is
> > > > slower.  This is an emulator built for Android 1.5 (my app's target).
>
> > > I just tried it on an Android 1.5 emulator. It took exactly 14 seconds.
>
> > > Switch your code todownloadthisfile:
>
> > >http://commonsware.com/misc/test.mp4
>
> > > to:
>
> > > /sdcard/test.mp4
>
> > > and see what happens. If this works much more quickly for you, then
> > > there's something afoot with the Web server you're downloading from.
>
> > > --
> > > Mark Murphy (a Commons 
> > > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > > Android Development Wiki:http://wiki.andmob.org

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 =
managedQuery(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,NULL,NULL,NULL,NULL);




Any idea how to do this?

Thanks in advance.

Yousuf.

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 onCreate or onResume
being called as I log those..unless I am missing something

Thanks,

-Mike

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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
w.r.t. to particular date , which is not getting seen on
the UI.

Version : Android 1.6
Phone   : HTC Magic

 Please let me know how to add this calendar event so that it is visible
through default application.

 Regards

Vikram

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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:
http://developer.android.com/intl/fr/guide/appendix/faq/commontasks.html#configurewindowproperties



>
> All the posts I have read told that any title bar changes we can make only
> before setContentView() call.
>

I believe that refers to the theme only being able to be set before
setContetView(). You can show / hide the title bar at any time.

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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

2010-05-04 Thread TreKing
On Mon, May 3, 2010 at 4:19 PM, ScCrow  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:
http://developer.android.com/intl/fr/reference/android/app/ExpandableListActivity.html#getExpandableListView()

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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  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 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 layout :
> 
>    xmlns:android="http://schemas.android.com/apk/res/android";
>   android:id="@+id/layout_main"
>   android:layout_height="fill_parent"
> android:layout_width="fill_parent" android:orientation="vertical"
> android:background="@drawable/mygradient">
> 
>
> and this is my code within the app :
> public void onCreate(Bundle savedInstanceState)
>     {
>         super.onCreate(savedInstanceState);
>
>         inflater = this.getLayoutInflater();
>
>         LinearLayout main = (LinearLayout)
>         testGenresView.this.findViewById(R.id.layout_main);
>
>         //LinearLayout titleLayout =
> (LinearLayout)findViewById(R.layout.genre_title);
>         //ScrollView bodyScrollView =
> (ScrollView)findViewById(R.layout.genre_scrollview);
>         //genresLayout.addView(titleLayout);
>
>         setContentView(main);
>
>     }
>
> This line :
>  LinearLayout main = (LinearLayout)
>         testGenresView.this.findViewById(R.id.layout_main);
>
> will consistently return null, any idea why ???
>
> --
> 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 
> athttp://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-beginners?hl=en

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 as well.


"XIO: fatal IO error 11 (Resource temporarily unavailable) on X server 
":0.0" "


After the XIO: fatal IO error I am getting a segmentation fault. This 
should be the main problem. Don't know why I am getting the segmentation 
fault.


- Riaz

On 05/04/2010 10:44 AM, Kaustubh Padegaonkar wrote:

Guys,
he is asking help because his emulator isnt working. :) All we have
replied is that its working one mine! Any suggestions?

Kaustubh Padegaonkar,
thetuxra...@gmail.com



On Tue, May 4, 2010 at 12:55 AM, Greg Donald  wrote:
   

On Mon, May 3, 2010 at 2:30 AM, riazrahaman  wrote:
 

Was not able to launch the emulator on Ubuntu 10.04.

Is this a known issue with the 10.04 Lucid lynx ubuntu?
   

Works fine for me.  Just tested, all mine work.


--
Greg Donald
destiney.com | gregdonald.com

--
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

 
   


--
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 layout :

http://schemas.android.com/apk/res/android";
  android:id="@+id/layout_main"
  android:layout_height="fill_parent"
android:layout_width="fill_parent" android:orientation="vertical"
android:background="@drawable/mygradient">


and this is my code within the app :
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);

inflater = this.getLayoutInflater();

LinearLayout main = (LinearLayout)
testGenresView.this.findViewById(R.id.layout_main);

//LinearLayout titleLayout =
(LinearLayout)findViewById(R.layout.genre_title);
//ScrollView bodyScrollView =
(ScrollView)findViewById(R.layout.genre_scrollview);
//genresLayout.addView(titleLayout);

setContentView(main);

}


This line :
 LinearLayout main = (LinearLayout)
testGenresView.this.findViewById(R.id.layout_main);

will consistently return null, any idea why ???

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en