[android-beginners] Zooming on android dev - google maps becomes slower .

2010-02-15 Thread sheikahmed
Hi developers, I've developed a GPS app in which i record the user routes and show it on the map...but Panning around on the map when reviewing my route is painfully slow, it takes at least 4 or 5 seconds for the map to respond the finger swipes.. I've overridden the onDraw() method and

Re: [android-beginners] Getting item on a ExpandableListView

2010-02-15 Thread Alessandro Pellizzari
Il giorno sab, 13/02/2010 alle 12.34 -0600, TreKing ha scritto: > On Sat, Feb 13, 2010 at 11:44 AM, Alessandro Pellizzari > wrote: > it seems nobody ever documented ExpandableListViews, > Yes, they did: > http://developer.android.com/reference/android/widget/ExpandableListView.html I me

[android-beginners] Re: illegal characer in URI ?

2010-02-15 Thread Indicator Veritatis
Judging from all the sample code ignoring the recommendation, I'd say not many people did know. That is why I posted the quote from the API docs. OTOH, it is a mild nuisance that URI throws URISyntaxException, which isn't even an IOException. So I suspect the desire to avoid dealing with this is t

[android-beginners] Re: illegal characer in URI ?

2010-02-15 Thread ivanchan
thanks all for the feedback, Using uri = new URI("http", "finance.yahoo.com", "/q/hp?s=^DJI", ""); , I got 404 not found, Using path = URLEncoder.encode("finance.yahoo.com/q/hp?s=^DJI", "UTF-8"); uri = new URI("http://"; + path); I got E/AndroidRuntime( 311): Caused by: java.lang.IllegalArgumentE

[android-beginners] Share intent

2010-02-15 Thread Michael Dorin
I am trying to share camera images as well as text. i.putExtra(Intent.EXTRA_STREAM, uri); i.putExtra(Intent.EXTRA_TEXT, "The Text"); i.putExtra(Intent.EXTRA_SUBJECT, "The Subject"); So far the image goes through just fine to anything I share with. However the text and the subject are only picked

[android-beginners] Re: illegal characer in URI ?

2010-02-15 Thread -DC-
More info: http://java.sun.com/docs/books/tutorial/networking/urls/creatingUrls.html On Feb 15, 11:29 am, ivanchan wrote: > thanks all for the feedback, > > Usinguri= newURI("http", "finance.yahoo.com", "/q/hp?s=^DJI", > ""); , > I got 404 not found, > Using path = URLEncoder.encode("finance.yaho

[android-beginners] Can we write android Junit testcases even we dont have source files?

2010-02-15 Thread ganesh
Hi Can any one please help with answers for the below questions. 1. Can we write android Junit Testcases for an application, without building the application In detail: I would like to test Calculator application and I dont have the Calculator Application source code. How Can I write Junit testca