[android-developers] HTC Incredible, unified media content provider for internal/external storage

2010-04-29 Thread Filipe Abrantes
Hi all, Maybe this is an easy question but I couldn't find the answer by myself. Does anyone have an idea whether it is possible to get the users music in internal _and_ external storage through a simple content provider query? Right now we have to do something along the lines of:

[android-developers] Re: The app got crashed on SDK 1.5 which is working fine on SDK 1.0

2009-05-11 Thread Filipe Abrantes
I remember reading that Tabs would add also 3 levels (in depth) to your layout, so you need to be even more restricitve on the layout when using them. Cheers, Filipe Streets Of Boston wrote: I'm not absolutely sure, but i remember reading that sdk1.5 is much much more conservative on the

[android-developers] Define a [style] theme programatically and make it default

2009-05-11 Thread Filipe Abrantes
Hi all, What would be the best way to create a theme programatically and set it as the theme of an activity. Not using onCreate, but rather really embed it in the package in a way that if a define a background it will appear even after onCreate finishes. My first guess is to use the

[android-developers] MediaPlayer play() processing priority

2009-05-07 Thread Filipe Abrantes
Hi all, whenever I call the play() method of MediaPlayer, the UI suffers heavy glitches (very noticeable if some animation is running for example) even if it is called from a service or other thread. My question if there is a way to lower the processing priority of the MediaPlayer call, or if

[android-developers] Possible to change BroadcastReceiver priority from within Activity

2009-05-05 Thread Filipe Abrantes
Hi all, I have developed a music player and the application defines a bradcast receiver that handles MediaButton intents: ... application... receiver android:name=MediaButtonIntentReceiver intent-filter android:priority=32000 action

[android-developers] Re: Possible to change BroadcastReceiver priority from within Activity

2009-05-05 Thread Filipe Abrantes
to handle the button. On Tue, May 5, 2009 at 8:22 AM, Filipe Abrantes filipe.abran...@gmail.com mailto:filipe.abran...@gmail.com wrote: Hi all, I have developed a music player and the application defines a bradcast receiver that handles

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-05-03 Thread Filipe Abrantes
indeed... i am experiencing this problem. my app uses a background service that sometimes gets killed by the system. When that happens the sharedprefs are lost. If the app force closes due to some unhandled exception the prefs are also lost for good. Im moving to good old .conf files :P...

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-05-03 Thread Filipe Abrantes
Mark Murphy wrote: Filipe Abrantes wrote: indeed... i am experiencing this problem. my app uses a background service that sometimes gets killed by the system. When that happens the sharedprefs are lost. If the app force closes due to some unhandled exception the prefs are also lost

[android-developers] Is there a recommended method for app updates?

2009-04-29 Thread Filipe Abrantes
Hi all, I heard from some users that they need to check the Market updates. My question is if there is standard, or recommended way of checking for app updates? My impression is that Android would greatly benefit if all apps used the same API to do this. Cheers, Filipe

[android-developers] Re: Webview leak (was Re: Debugging memory leaking)

2009-04-06 Thread Filipe Abrantes
or is it the intended behaviour? @Everyone: be careful with webview ;) I'll be double posting Cheers, Filipe fadden wrote: On Mar 31, 2:40 am, Filipe Abrantes filipe.abran...@gmail.com wrote: so can the the XML inflater be causing this leak? can we get a leak from the xml itself? How

[android-developers] Re: Problem with Rotate3dAnimation using WebView

2009-04-06 Thread Filipe Abrantes
Hi Vince I'm not sure if this is your problem ro if you are doing it already, but... try rotating between 0 to 90 and then 270 to 360, instead of 0 to 90 and 90 to 180... Hope it helps, Filipe Abrantes Vince wrote: Hi all, I'm using the demo API 3d Transition to switch between a ListView

[android-developers] Debugging memory leaking

2009-03-31 Thread Filipe Abrantes
[sorry created the previous post in another thread, so reposting] Hi everyone, What would be the best way to debug a leaking program? I have developed a media player (includes a background service doing the playing, and a UI, and I access getResources(), MediaStore and things like this

[android-developers] Video call support at Cupcake version.

2009-03-31 Thread Filipe Abrantes
ooops, sorry for changing the subject should not have replied to the message... changing subject again... and starting this in a new thread On Mar 31, 10:29 am, Filipe Abrantes filipe.abran...@gmail.com wrote: Hi everyone, What would be the best way to debug a leaking program? I have

[android-developers] Translate Animation unable to update Button onClick area

2008-10-24 Thread Filipe Abrantes
Hi all, I'm having a bit of trouble getting this code to work. I set up a RelativeLayout menu with a couple of buttons and ,when a certain action is performed, this menu changes its position through a translate animation. the problem is that the clickable area of the buttons is not updated,

[android-developers] (Multiple) Shape drawing with XML

2008-10-20 Thread Filipe Abrantes
Hi all, I have been experimenting shape drawing through AIDL. My question is if it is possible to draw shapes inside shapes. This would be nice to create some more advanced button forms (adding lightning effects and that kind of stuff). I did some experiments but was unable to create the

[android-developers] (Multiple) Shape drawing with XML

2008-10-20 Thread Filipe Abrantes
Hi all, I have been experimenting shape drawing through AIDL. My question is if it is possible to draw shapes inside shapes. This would be nice to create some more advanced button forms (adding lightning effects and that kind of stuff). I did some experiments but was unable to create the

[android-developers] Re: MediaRecorder recording video?

2008-09-28 Thread Filipe Abrantes
Hi Mega, Is there a plan regarding this, that is, does Google know when (or if) Android will support Video Recording? What held up this feature (licensing, simple lack of time, too complex, etc)? Cheers, Filipe Megha Joshi wrote: The video recording feature is not supported in 1.0. We

[android-developers] Running the emulator without keyboard

2008-09-05 Thread Filipe Abrantes
Hi all, Is it possible to run the emulator without the keyboard on the screen? The idea is to get the 'real' look and feel Android would have on a netbook/laptop/PC (by having the android screen occupy the whole netbook screen). [Probably with a custom invisible device skin]. Cheers, Filipe

[android-developers] Low-level APIs (Wifi/Bluetooth)

2008-06-04 Thread Filipe Abrantes
Hi all, This is a question mostly to those working directly on Android development. Is there an expected date on the availability of low level APIs (on the SDK) that will give us access to the WLAN or Bluetooth devices? Cheers, Filipe --~--~-~--~~~---~--~~ You