[android-developers] Re: playing local 3gp video file causes PVMFErrNotSupported

2009-07-21 Thread MannyNS
, 11:48 pm, Mark Murphy wrote: > MannyNS wrote: > > Do you, by any chance, know how I can embed the 3gp file in the apk? I > > would like to have it in the subdirectory "/files/". > > In general, those are mutually exclusive. > > You can have it as a raw reso

[android-developers] Re: playing local 3gp video file causes PVMFErrNotSupported

2009-07-21 Thread MannyNS
> probably want to make that a nice full file: Uri, perchance > > > > > > >You should specify the full path to the file, not just its name. > > >On Tue, Jul 21, 2009 at 1:58 PM, MannyNS wrote: > > >>  Hi everyone, > > >>  I plan to have a 3g

[android-developers] playing local 3gp video file causes PVMFErrNotSupported

2009-07-21 Thread MannyNS
Hi everyone, I plan to have a 3gp video file that will come with the installation package, it will be placed in /files/ subdirectory, and I would like to ask the native Android media player to play it when I want that. Here is what I have planned to do/code: Intent intent = new Intent(android.c

[android-developers] setAdapter for ListView does not always work

2009-07-14 Thread MannyNS
Hello everyone, here is a simple example that drives me crazy. I have been debugging it for a few days now, with a limited success. If anyone can take a look, and tell me what I am doing wrong, I would be deliriously happy. I have got a TabActivity, and in onCreate I do this: LayoutInflater myI

[android-developers] Re: Content Provider notifications?

2009-06-15 Thread MannyNS
, etc. So I am looking for a nice way to synchronize two address books as soon as change occurs. On Jun 16, 1:03 am, Marco Nelissen wrote: >  On Mon, Jun 15, 2009 at 3:00 PM, MannyNS wrote: > > > > > Only if you had Kara Trace in your address book already. But if you > >

[android-developers] Re: Content Provider notifications?

2009-06-15 Thread MannyNS
n *any* contact changes (by using a URI like > "content://contacts/people"), or specifically when the contact info for > Starbuck is changed (by using a URI like "content://contacts/people/1") > > > > On Mon, Jun 15, 2009 at 10:53 AM, MannyNS wrote: > >

[android-developers] Content Provider notifications?

2009-06-15 Thread MannyNS
Anyone? On Jun 10, 5:38 pm, MannyNS wrote: > Using ContentResolver and ContentObserver, it is possible to receive > notifications in the function onChange() when some data is changed > within the content provider. However, I fail to see if there is a way > to see the URI which t

[android-developers] Getting change details from content provider notifications

2009-06-10 Thread MannyNS
Using ContentResolver and ContentObserver, it is possible to receive notifications in the function onChange() when some data is changed within the content provider. However, I fail to see if there is a way to see the URI which triggered the notification. For instance, if I want to play a sound wh

[android-developers] Re: file system monitoring?

2008-05-13 Thread MannyNS
Sorry, there is no way to do this.  Monitoring all of the files on a > file system is expensive, so it is something we made sure we didn't > need to do. > > On May 12, 4:47 pm,MannyNS<[EMAIL PROTECTED]> wrote: > > > Is there a way to subscribe to (all) file sys

[android-developers] file system monitoring?

2008-05-12 Thread MannyNS
Is there a way to subscribe to (all) file system notifications from Android? I know there is android.os.FileObserver, but unless one instance is created and linked for every single folder on the phone, it is useless. Is there anything like SHChangeNotifyRegister? How did Android creators fulfill t