[android-developers] Re: content providers for reading and displaying images

2008-03-24 Thread wonderoid
Hi, just stumbled upon this a while ago: content://media/images is the URI string that would return a list of all images on the device. You acn read more in contentproviders.html in the api docs. Hope this is what youre looking for. On 20 Mart, 13:51, sharmi <[EMAIL PROTECTED]> wrote: > Hi All

[android-developers] Re: Eclipse hangs when launching program file.. AGAIN !

2008-03-26 Thread wonderoid
Anyone found a fix for this yet? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: Eclipse 19% BUG

2008-03-27 Thread wonderoid
This bug might have cost me more than %10 of my total development time. It hangs on about every 3-5 runs, then you have to kill and restart Eclipse, and then restart the emulator (which is REALLY painful on a slow machine). Please address this issue as soon as possible. --~--~-~--~~---

[android-developers] Motion event getEventTime() and getDownTime()

2008-03-28 Thread wonderoid
Hi; I am unable to understand how to convert these values into the format of System.getCurrentTimeMillis(). Appearantly they are both long (at least the document says so), however their 0 point seems to be different. For example; I handle a touch event in dispatchMotionEvent() method of a view a

[android-developers] Re: Motion event getEventTime() and getDownTime()

2008-03-28 Thread wonderoid
Cheers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTE

[android-developers] EnumSet bugged

2008-03-28 Thread wonderoid
I think EnumSet has a bug at handling an enum with lots of elements. for(SomeEnum e : mEnumSet) { //do whatever, or do nothing.. } results in : ERROR/AndroidRuntime(603): java.lang.ArrayIndexOutOfBoundsException ERROR/AndroidRuntime(603): at java.util.HugeEnumSet $HugeEnumSetIterator.next(

[android-developers] A question on Reflection

2008-03-30 Thread wonderoid
Hi; i was thinking to build a somewhat polymorphic ViewSwitcher. It will not be limited to a single type of (or a limited set of predefined) views, but i don't want to create a new view for every child that will be shown and i also do not want to add all of these and keep them (As in a ViewAnimato

[android-developers] Foreign keys in SQLite tables

2008-04-01 Thread wonderoid
Hi, do foreign keys work in SQLite in the emulator? And if it is supported, does it work as is, without specifying anything else and just defining them while creating the table. I've read something in the SQLite documentation that foreign key definitions exists but does nothing if you do not speci

[android-developers] Re: MapActivity onTouchEvent

2008-04-02 Thread wonderoid
You could try overriding the dispathTouchEvent method, i think it's called before onTouchEvent On 2 Nisan, 22:37, Alex B <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone managed to override onTouchEvent within MapActivity? I > know that overriding onTouchEvent in MapView is possible, and I have >

[android-developers] Content Provider and notifying changes

2008-04-07 Thread wonderoid
Let's say i update a certain note in a database and it has a uri like the following: ".../notes/2". Now when i notify a change in this uri using ContentResolver.notifyChange(uri); is it only cursors having a single item " ../notes/2" that will be notified? If i have another cursor that holds

[android-developers] Re: Content Provider and notifying changes

2008-04-07 Thread wonderoid
cursorAdapters as default though or i am making some other mistake. Going to decompile stuff and double check... On 7 Nisan, 15:03, wonderoid <[EMAIL PROTECTED]> wrote: > Let's say i update a certain note in a database and it has a uri like > the following: ".../notes/2". Now whe

[android-developers] Listview & animation problem

2008-04-07 Thread wonderoid
I have some custom animated icons in a listview. These items are animated by calling invalidate() on their onDraw() method (Just assume a simple animation, like setting a different background color on every draw). Now when i scroll the listview using keys all is fine; however when i scroll it with

[android-developers] Re: Listview & animation problem

2008-04-08 Thread wonderoid
a > scroll to get better performance. You can try turning off the caching > (see the documentation for XML attributes in ViewGroup and > AbsListView). > > On Mon, Apr 7, 2008 at 7:05 AM, wonderoid <[EMAIL PROTECTED]> wrote: > > > I have some custom animated icons in a listvi