Unable to play audio file in Scratchbox
Hello, I want to play an audio file in Scratchbox (Fremantle-X86) . Below is the code sample for the same. But this code doesnt work. When i checked the return value it displays the message Not playing. Can anybody tell me whats going wrong in the code. Code: #include gst/gst.h int main( int argc, char* argv[] ) { gst_init (argc,argv); GstElement *player; GMainLoop* loop; loop = g_main_loop_new (NULL, FALSE); player = gst_element_factory_make (playbin, player); g_assert (player != NULL); g_object_set (G_OBJECT (player), uri, /home/pallavi/MyDocs/.sounds/clip2.mp3, NULL); int ret1 = gst_element_set_state (player, GST_STATE_PLAYING); if(ret1 == GST_STATE_CHANGE_FAILURE ) g_print(\n Not Playing); if(ret1 == GST_STATE_CHANGE_SUCCESS ) g_print(\n Playing); g_main_loop_run(loop); return 0; } Thanks. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
1.2
http://conversations.nokia.com/2010/05/25/nokia-n900-software-update-release-1-2/ -- Ville M. Vainio http://tinyurl.com/vainio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Unable to play audio file in Scratchbox
Hi Pallavi! You probably already noticed that quite many things do not work in scratchbox. The same thing with mp3 codecs, they are not available in scratchbox. Thanks, Daniil. On Tue, May 25, 2010 at 9:25 AM, Pallavi Kandhare pallavi.kandh...@yahoo.com wrote: Hello, I want to play an audio file in Scratchbox (Fremantle-X86) . Below is the code sample for the same. But this code doesnt work. When i checked the return value it displays the message Not playing. Can anybody tell me whats going wrong in the code. Code: #include gst/gst.h int main( int argc, char* argv[] ) { gst_init (argc,argv); GstElement *player; GMainLoop* loop; loop = g_main_loop_new (NULL, FALSE); player = gst_element_factory_make (playbin, player); g_assert (player != NULL); g_object_set (G_OBJECT (player), uri, /home/pallavi/MyDocs/.sounds/clip2.mp3, NULL); int ret1 = gst_element_set_state (player, GST_STATE_PLAYING); if(ret1 == GST_STATE_CHANGE_FAILURE ) g_print(\n Not Playing); if(ret1 == GST_STATE_CHANGE_SUCCESS ) g_print(\n Playing); g_main_loop_run(loop); return 0; } Thanks. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: N810, GPS and Java
Navit and Maemo Mapper both contain code to use gpsd. Did you already take a look at them? still having some trouble trying to put together an interface to the GPS device on the N810. Overall I need to retrieve the current location (not sure what kind of data the GPS driver (or the gpsd) returns on the N810) that eventually I can feed into Google Maps API (or something equivalent) to show me my current location on a map. If anyone has ventured along these paths and has some suggestions I would greatly appreciate it. If existing apps are out there that can already performed these operations it would even be better so that I don't re-invent the wheel. Thanks and regards ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers -- Willem-Jan de Hoog ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: N810, GPS and Java
On Tue, 2010-05-25 at 00:28 -0400, Demetris wrote: Hi all, still having some trouble trying to put together an interface to the GPS device on the N810. Overall I need to retrieve the current location (not sure what kind of data the GPS driver (or the gpsd) returns on the N810) that eventually You can connect to gpsd using a normal socket connection, gpsd listens on localhost:2947 By default it speaks gpsd protocol, but you can switch it to raw NMEA by sending a proper command, r+ (+ \r\n). Then you can parse the NMEA messages yourself for whatever gps data you need for your application. -- Kaj-Michael Lang mil...@tal.org ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: N810, GPS and Java
Hello! still having some trouble trying to put together an interface to the GPS device on the N810. Overall I need to retrieve the current location (not sure what kind of data the GPS driver (or the gpsd) returns on the N810) that eventually I can feed into Google Maps API (or something equivalent) to show me my current location on a map. If anyone has ventured along these paths and has some suggestions I would greatly appreciate it. If existing apps are out there that can already performed these operations it would even be better so that I don't re-invent the wheel. GPSJinni sources contain for accessing the GPS via liblocation (and there is also some code to access gpsd via libgps) for N810 and N900 and visualizes most of the raw data returned. Contact me for details. -- Gruß... Tim ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Autobuilder maintenance break now.
Hi, The autobuilder will be updated to the latest Maemo 5 SDK to align with the PR1.2 release. During the update the incoming queue for the builder will be paused. Update will take about half an hour. -- Niels Breet maemo.org webmaster ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Autobuilder maintenance break now.
Hi 2010/5/25 Niels Breet ni...@maemo.org Hi, The autobuilder will be updated to the latest Maemo 5 SDK to align with the PR1.2 release. During the update the incoming queue for the builder will be paused. Update will take about half an hour. Will the promotion block for Qt 4.6 apps be lifted at the same time? -Timo ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: Autobuilder maintenance break now.
-Original Message- From: maemo-developers-boun...@maemo.org [mailto:maemo-developers- boun...@maemo.org] On Behalf Of ext Timo Härkönen Sent: 25 May, 2010 14:24 To: ni...@maemo.org Cc: maemo-developers@maemo.org Subject: Re: Autobuilder maintenance break now. Hi 2010/5/25 Niels Breet ni...@maemo.org Hi, The autobuilder will be updated to the latest Maemo 5 SDK to align with the PR1.2 release. During the update the incoming queue for the builder will be paused. Update will take about half an hour. Will the promotion block for Qt 4.6 apps be lifted at the same time? Yes :) Tero -Timo ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: Autobuilder maintenance break now.
-Original Message- From: maemo-developers-boun...@maemo.org [mailto:maemo-developers- boun...@maemo.org] On Behalf Of Kojo Tero (Nokia-D/Helsinki) Sent: 25 May, 2010 14:33 To: timop.harko...@gmail.com; ni...@maemo.org Cc: maemo-developers@maemo.org Subject: RE: Autobuilder maintenance break now. -Original Message- From: maemo-developers-boun...@maemo.org [mailto:maemo-developers- boun...@maemo.org] On Behalf Of ext Timo Härkönen Sent: 25 May, 2010 14:24 To: ni...@maemo.org Cc: maemo-developers@maemo.org Subject: Re: Autobuilder maintenance break now. Hi 2010/5/25 Niels Breet ni...@maemo.org Hi, The autobuilder will be updated to the latest Maemo 5 SDK to align with the PR1.2 release. During the update the incoming queue for the builder will be paused. Update will take about half an hour. Will the promotion block for Qt 4.6 apps be lifted at the same time? Yes :) Ok, on request correcting myself :) The ban won't be lifted. But repackaging to point to the proper 4.6 libraries in the SDK (and device) will let you get those 4.6 dependent apps forward. Tero -Timo ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: 1.2
Anyone know if there will be legacy (HW2001) firmwares available for 1.2? Its been long enough since the last firmware upgrade (as in it tests my memory not that I'm ungrateful for the development/QA done) that I forgot where/how I got the legacy variant. If I remember right from last time, the main firmware is different but the EMMC is the same? Thanks Ed Page (epage) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
maemo.org Packages interface maintenance break now.
Hi, The maemo.org Packages interface will be updated now. New SDK repositories and firmware package versions will be imported, during the update you might see some error messages or broken pages. I'll reply to this list when the update is done. -- Niels Breet maemo.org webmaster ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Nokia N900 Theme Chooser Not Working
Hi All, 1) I am facing weird issue with my Nokia n900 running Maemo5. I am not able to run theme chooser application (settings - Personalization - Themes) . What is the application name which shoots when we cllick on *themes* ? 2) I have accidentally restored 3 months old backup. Any way to revert back ? Most of the data is intact except that I have lost all my Contacts. Is there any way to get contact(address book) ? I saw following files in my .osso-abook dir. Nokia-N900-42-11:/home/user# ls -l .osso-abook/db/ -rw-r--r--1 user users 12288 Mar 20 01:14 PC Suite Data Sync.changes.db -rw-r--r--1 user users 81920 May 25 05:05 addressbook.db -rw-r--r--1 user users 12288 May 25 06:00 fre1.changes.db -rw-r--r--1 user users8192 May 25 05:05 index_email.db -rw-r--r--1 user users 16384 May 25 05:05 index_first_last.db -rw-r--r--1 user users 16384 May 25 05:05 index_full_name.db -rw-r--r--1 user users 16384 May 25 05:05 index_im_jabber.db -rw-r--r--1 user users 20480 May 25 05:05 index_last_first.db -rw-r--r--1 user users 16384 May 25 05:05 index_phone.db *-rw-r-1 user users 1769902 May 25 05:05 log.01 *-rw-r--r--1 user users 12288 May 25 05:05 running_id.db drwx--2 user users4096 May 25 06:02 tp-cache * *Any help would be appreciated. Thanks Regards, flukebox ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Nokia N900 Theme Chooser Not Working
fluke box wrote: I am facing weird issue with my Nokia n900 running Maemo5. I am not able to run theme chooser application (settings - Personalization - Themes) . You probably have the Maemo6/MeeGo/DUI widgets demo installed. I think it is called something with widgetgallery in the name. For some reason it disables the normal theme selector. Cheers, Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Nokia N900 Theme Chooser Not Working
Thanks Conny ! Yeah, Un-installing Widget Gallery solved my first problem. Any help regarding second problem ? Mainly my all conversations and contacts are gone :-( and all other things are intact. Thanks Regards, flukebox On Tue, May 25, 2010 at 7:10 PM, Cornelius Hald h...@icandy.de wrote: fluke box wrote: I am facing weird issue with my Nokia n900 running Maemo5. I am not able to run theme chooser application (settings - Personalization - Themes) . You probably have the Maemo6/MeeGo/DUI widgets demo installed. I think it is called something with widgetgallery in the name. For some reason it disables the normal theme selector. Cheers, Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Nokia N900 Theme Chooser Not Working
fluke box wrote: Thanks Conny ! Yeah, Un-installing Widget Gallery solved my first problem. Any help regarding second problem ? Not really. Restore a more recent backup. If you don´t have one, I think, you´re out of luck. Sorry. Anyways, I don´t really think those are topics for the developers list. Cheers, Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
PR1.2 for an old proto
Hi, while waiting for my N900 to be delivered, my company gave me an old prototype (hardware revision 1802). Unfortunately this is too old for the PR1.2 image on tablet-devs.nokia.com. Is waiting for the new device the only option, or is there a way to install PR1.2 on this old proto? Thanks ~ Akos. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: PR1.2 for an old proto
Is this a pre-production device ? Yellow label next to the battery with an L4 on it ? If so I am having issues as well in flashing the device.. On 25 May 2010 07:41, Akos Polster a...@pipacs.com wrote: Hi, while waiting for my N900 to be delivered, my company gave me an old prototype (hardware revision 1802). Unfortunately this is too old for the PR1.2 image on tablet-devs.nokia.com. Is waiting for the new device the only option, or is there a way to install PR1.2 on this old proto? Thanks ~ Akos. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers -- anidel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: maemo.org Packages interface maintenance break now.
hi 2010/5/25 Niels Breet ni...@maemo.org Hi, The maemo.org Packages interface will be updated now. New SDK repositories and firmware package versions will be imported, during the update you might see some error messages or broken pages. I'll reply to this list when the update is done. I don't know if you're done yet but anyway it seems like usage of libqt4-maemo5 [1] package prevents promotion of Qt applications. the package is a part of stable Qt 4.6. -Timo http://maemo.org/packages/view/libqt4-maemo5/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: maemo.org Packages interface maintenance break now.
hi 2010/5/25 Niels Breet ni...@maemo.org Hi, The maemo.org Packages interface will be updated now. New SDK repositories and firmware package versions will be imported, during the update you might see some error messages or broken pages. I'll reply to this list when the update is done. I don't know if you're done yet but anyway it seems like usage of libqt4-maemo5 [1] package prevents promotion of Qt applications. the package is a part of stable Qt 4.6. Yes it is a mess. Someone thought that adding a meta stable package named the same as the unstable testing libs in extras-testing was a good idea. Will add a special case for this tomorrow. -Timo -- Niels Breet maemo.org webmaster ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: maemo.org Packages interface maintenance break now.
Most repositories have been updated in the Packages interface. Tomorrow I will add the fremantle-1.2 repository for Extras and add the SSU repository so the new Qt dependencies can be properly resolved by the interface. - Niels Hi, The maemo.org Packages interface will be updated now. New SDK repositories and firmware package versions will be imported, during the update you might see some error messages or broken pages. I'll reply to this list when the update is done. -- Niels Breet maemo.org webmaster ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Disable wlan scan with qt-mobility bearer and gconf
Hi! I want to disable wlan scanning in a qt-mobility based app to use the interface with wpa_supplicant/iwconfig and be sure the system does not use it, and I prefer to use a way that may be further compatible with qt, but I'm not able to find an api to achieve that. Reading other projects sources I found that a possible solution is to use gconf and set osso parameters, is that the right way? in that case is it safe/supported/helpful using libgq-gconf-dev? is it planned that library will reach extras? Best Regards Niko ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers