[maemo-developers] Query Regarding "hildon_mime_open" API
From: Venugopal Rao Gubbala Venugopal.Gubbala at tanla.comDate: Tue Sep 22 15:28:32 EEST 2009
- Previous message: Query Regarding "hildon_mime_open" API
- Next message: N900 camera control - focus movement, white balance, auto-focus calcs, etc.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi kimmo, I have checked the code but I can't figure it out exactly.. This is the call back function which is called :: gint dbus_req_handler(const gchar * interface, const gchar * method, GArray * arguments, gpointer data, osso_rpc_t * retval); Can you tell me in which parameter I will get the file path and how to retrieve it? In code I can see they are keep the file path in Glist and sending dbus message. Regards Venugopal ________________________________________ From: Kimmo Hämäläinen [kimmo.hamalainen at nokia.com] Sent: Tuesday, September 22, 2009 4:46 PM To: Venugopal Rao Gubbala Cc: maemo-dev Subject: Re: Query Regarding "hildon_mime_open" API On Tue, 2009-09-22 at 11:24 +0200, ext Venugopal Rao Gubbala wrote: > Hello, > > I have query regarding message received by calling "hildon_mime_open()" function. > > I have written 2 applications one is for handling mime type and another application which selects file type and calls hildon_mime_open(). > > Steps I have followed is: > > 1. I have registered mime type in desktop file, create XML file for mime type and entered mapped desktop file in default lists file. > 2. By calling the hildon_mime_open() with the mime type I registered. My application is launching properly and I am receiving "mime_open" message. > > Printf messages I received is as follows :: > > interface :: com.nokia.sample > Arguments :: 0�� > Method :: mime_open > return value :: -1076890648 > data :: � The file path should be in the message. See how the 'mime_launch' function creates the message and puts the paths as arguments: https://stage.maemo.org/svn/maemo/projects/haf/trunk/libhildonmime/libhildonmime/hildon-mime-open.c -Kimmo > > 3. Until this everything is fine. But my problem here is I am not getting file path user has selected. > > Can anyone tell me how can I get the file path I have given in my application? I am stuck here.. > > Regards > Venugopal Rao G > > > > Download Tanla Mobile Marketing and Advertising Guide. http://www.tanla.com/MobileGuide.htm > ***************************************************************************************************************** > > "This e-mail is intended only for the addressee. If you are not the intended recipient, then dissemination, > distribution or copying of this email is strictly prohibited. If received in error, please destroy > the e-mail and notify the sender immediately. This mail has been checked for viruses. However recipients > should undertake their own virus check. Tanla Solutions Limited and its subsidiaries will not be liable for any losses." > > ****************************************************************************************************************** > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers Download Tanla Mobile Marketing and Advertising Guide. http://www.tanla.com/MobileGuide.htm ***************************************************************************************************************** "This e-mail is intended only for the addressee. If you are not the intended recipient, then dissemination, distribution or copying of this email is strictly prohibited. If received in error, please destroy the e-mail and notify the sender immediately. This mail has been checked for viruses. However recipients should undertake their own virus check. Tanla Solutions Limited and its subsidiaries will not be liable for any losses." ******************************************************************************************************************
- Previous message: Query Regarding "hildon_mime_open" API
- Next message: N900 camera control - focus movement, white balance, auto-focus calcs, etc.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]