Re: [Tracker] cannot tracker the attached storage(SD card)



Hi Ivan

   thanks for your quick reply!

are you running the query again? or using the signals of new content?
or using any live model? If not... there is no way your application
can know something has changed in tracker.
If USB device or SD card insert,I will get the signal of mount(new
content) and run the query again.
Is the tracker indexing automatic if new attached device mounts?
Is this indexing process costs some time?

well, first this is libqttracker code. That library is deprecated. You
should use qsparql (Much simpler also). Qsparql + signals or live
models will probably solve your problem.
Yes,I work on the Meego-handset platform using libqttracker.
Would you pls tell me Where I can find some example code about the
Qsparql + signals and live models? 

å 2011-05-13äç 09:22 +0300ïIvan Fradeåéï
Hi!

On 5/13/11, yinxb <yinxb neusoft com> wrote:
Hi All

  case 2:launch the application first,and then insert the SD card,I
cannot get the attached SD card source(only tablet content can be
trackered).I am sure the SD card is mounted.

are you running the query again? or using the signals of new content?
or using any live model? If not... there is no way your application
can know something has changed in tracker.


code using to tracker:
====================
static const QString SqlGetAllVideos = "SELECT nie:url(?video)
WHERE{?video a nmm:Video}";
result = ::tracker()->rawSparqlQuery(SqlGetAllVideos);
====================

well, first this is libqttracker code. That library is deprecated. You
should use qsparql (Much simpler also). Qsparql + signals or live
models will probably solve your problem.

Ivan

Anyone can give me a hint?
Any insight would be appreciated.






---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s)
is intended only for the use of the intended recipient and may be
confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
of this communication is
not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this
communication in error,please
immediately notify the sender by return e-mail, and delete the original
message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list



---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]