Re: I've installed the Maemo 5 development environment, then what?
Hi Peter, the SDK you are using is still in beta state. But anyway you can run your applications in the X86 target and the Fremantle UI within the SDK. Instructions how to start it, you will find in the installation instructions [1], even though unfortunately the address book is not part of it. But it will be there in the final version. So please have a little bit of patience. For the address book API, you could check out this page out of the documentation [2]. In general you can add applications in the SDK by using aptitude. For example if you add this line to your sources list (/etc/apt/sources.list): deb http://repository.maemo.org/extras-devel fremantle free non-free and run apt-get update and finally: apt-get install application-name you can install and test some applications in the SDK, but in some cases with limited functionality. Your own app you can test and run as well with the command run-standalone.sh excecutable file [1] http://maemo.org/development/sdks/maemo_5_beta_2_sdk_installation/#StartUI [2] http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Generic_Platform_Components/Using_Address_Book_API I hope this helped you a bit, Cheers Daniel ext Peter Follo wrote: I guess I'm missing something pretty obvious here but I've been looking for an answer for a few days now without success. :-/ Worth to mention I'm a totally maemo newbie. I've followed the instructions on how to setup the maemo 5 SDK on ubuntu and it went just fine (I think) but I was ecxpeting more, greedy as I am. How do I add apps. Lets say I want to develop an app for the upcomming nokia n900 that brings up the address book for the user to pick a contact in it. Ok, I found the libosso-abook package and I guess it will do the trick but I miss the actual adressbook application to be launched. Can I get it somewhere? Is there a repo to add or some downloads to get a n900 emulator? Med Windows Live kan du ordna, redigera och dela med dig av dina foton. http://www.microsoft.com/sverige/windows/windowslive/products/photo-gallery-edit.aspx ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Nokia PUSH N900. Now open for submissions.
On Tue, Sep 15, 2009 at 9:56 AM, Quim Gil quim@nokia.com wrote: Maemo developers, don't miss this: Nokia PUSH N900. Now open for submissions. http://blogs.nokia.com/pushn900/?p=365 Site is broken, links to submission lead to the same blog page, no forms there. -- / Alexander Bokovoy ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Maemo contacts
Hi Jacob, did I get you right, that you want to implement an application, which syncs the OS's contact database with your google voice contacts? Therefore you could have a look into the documentation of the address-book api [1]. There was as well earlier a thread on talk.maemo.org [2] where you could start and continue. [1] http://maemo.org/maemo_release_documentation/maemo4.1.x/node8.html#SECTION0087 [2] http://talk.maemo.org/showthread.php?t=29251 Cheers Daniel ext Wilfred Jacob wrote: Hello, I am new to maemo development. I have a N800 and would like to get my feet wet by trying something relatively small. I use google voice and the dialcentral application to make calls over WiFi. I would like to integrate the google voice contacts into the OS's central contact database so that: 1) Contacts in the OS's database have an updated version of google voice contacts. This can be updated whenever dialcentral starts up. 2) Contacts in the OS's database have a new field Phone Number which has the number from the google voice db. 3) Call the number using dialcentral, directly from the contacts application. I was hoping for pointers to documentation, or source code that implement similar functionality so that I can get started. Any help will be greatly appreciated. Thanks for your help in advance. Regards, Jacob. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Need information for MIME type recognisation
Hello, I am new to maemo development. I have installed Maemo 5 Beta 2 SDK on ubuntu jaunty. Is there any file recogniser available on Maemo 5 depending on MIME type? I want to register particular MIME type and make sure my application is invoked when User selects that file with specified MIME type. Regards Venugopal 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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Nokia PUSH N900. Now open for submissions.
On Tue, Sep 15, 2009 at 8:15 AM, Alexander Bokovoy a...@samba.org wrote: On Tue, Sep 15, 2009 at 9:56 AM, Quim Gil quim@nokia.com wrote: Maemo developers, don't miss this: Nokia PUSH N900. Now open for submissions. http://blogs.nokia.com/pushn900/?p=365 Site is broken, links to submission lead to the same blog page, no forms there. Works here: http://blogs.nokia.com/pushn900/index.php/submit-an-idea/ Best, -- Valério Valério http://www.valeriovalerio.org -- / Alexander Bokovoy ___ 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: Nokia PUSH N900. Now open for submissions.
Yeah they seem to have fixed most of it, according to this twitter: PUSHN900 Morning. Everything (pretty much) is live on the site now, so dive in and let us know what you think. Aniello 2009/9/15 Valerio Valerio vdv...@gmail.com: On Tue, Sep 15, 2009 at 8:15 AM, Alexander Bokovoy a...@samba.org wrote: On Tue, Sep 15, 2009 at 9:56 AM, Quim Gil quim@nokia.com wrote: Maemo developers, don't miss this: Nokia PUSH N900. Now open for submissions. http://blogs.nokia.com/pushn900/?p=365 Site is broken, links to submission lead to the same blog page, no forms there. Works here: http://blogs.nokia.com/pushn900/index.php/submit-an-idea/ Best, -- Valério Valério http://www.valeriovalerio.org -- / Alexander Bokovoy ___ 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 -- -- anidel Sent from London, Eng, United Kingdom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Nokia PUSH N900. Now open for submissions.
Hacker's Guide released: http://bit.ly/3epzBN Any info if the sample projects will make it to the Maemo Summit? On Tue, Sep 15, 2009 at 7:00 AM, Aniello Del Sorbo ani...@gmail.com wrote: Yeah they seem to have fixed most of it, according to this twitter: PUSHN900 Morning. Everything (pretty much) is live on the site now, so dive in and let us know what you think. Aniello 2009/9/15 Valerio Valerio vdv...@gmail.com: On Tue, Sep 15, 2009 at 8:15 AM, Alexander Bokovoy a...@samba.org wrote: On Tue, Sep 15, 2009 at 9:56 AM, Quim Gil quim@nokia.com wrote: Maemo developers, don't miss this: Nokia PUSH N900. Now open for submissions. http://blogs.nokia.com/pushn900/?p=365 Site is broken, links to submission lead to the same blog page, no forms there. Works here: http://blogs.nokia.com/pushn900/index.php/submit-an-idea/ Best, -- Valério Valério http://www.valeriovalerio.org -- / Alexander Bokovoy ___ 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 -- -- anidel Sent from London, Eng, United Kingdom ___ 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: Nokia PUSH N900. Now open for submissions.
On Tue, Sep 15, 2009 at 4:47 PM, Reggie Suplido reg...@internettablettalk.com wrote: Hacker's Guide released: http://bit.ly/3epzBN Any info if the sample projects will make it to the Maemo Summit? Dunno, but according to the Tinker.it! guys, they will release the source code (mainly pygame bits) of the sample projects and all the instructions to build similar one's. PS. I'm uploading some videos of the projects in action ;) Cheers, -- Valério Valério http://www.valeriovalerio.org On Tue, Sep 15, 2009 at 7:00 AM, Aniello Del Sorbo ani...@gmail.comwrote: Yeah they seem to have fixed most of it, according to this twitter: PUSHN900 Morning. Everything (pretty much) is live on the site now, so dive in and let us know what you think. Aniello 2009/9/15 Valerio Valerio vdv...@gmail.com: On Tue, Sep 15, 2009 at 8:15 AM, Alexander Bokovoy a...@samba.org wrote: On Tue, Sep 15, 2009 at 9:56 AM, Quim Gil quim@nokia.com wrote: Maemo developers, don't miss this: Nokia PUSH N900. Now open for submissions. http://blogs.nokia.com/pushn900/?p=365 Site is broken, links to submission lead to the same blog page, no forms there. Works here: http://blogs.nokia.com/pushn900/index.php/submit-an-idea/ Best, -- Valério Valério http://www.valeriovalerio.org -- / Alexander Bokovoy ___ 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 -- -- anidel Sent from London, Eng, United Kingdom ___ 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 ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
GtkRadioActionEntry
Hi, I have an issue with my interface. I've created my interface using GtkUIManager from an xml file. In this file I've created a toolbar: toolbar action='HildonToolBar' toolitem action='Pen'/ toolitem action='Eraser'/ toolitem action='Highlighter'/ toolitem action='Text'/ /toolbar in the code I've this gtkradioaction entries: static GtkRadioActionEntry hildon_tools_radio_entries[] = { { Pen, pen, N_(_Pen), controlshiftP, NULL, 0 }, { Eraser, eraser, N_(_Eraser), controlshiftE, NULL, 1 }, { Highlighter, highlighter, N_(_Highlighter), controlshiftH, NULL, 2 }, { Text, text, N_(_Text), controlshiftT, NULL, 3 } }; that I add to an action group like this: gtk_action_group_add_radio_actions (action_group, hildon_tools_radio_entries, G_N_ELEMENTS(hildon_tools_radio_entries), 0, NULL, hildon_window); They show up fine, I can click on them and only one at a time is selected. And that's fine. But now, how can I set up a callback action whenever, for example, a Pen button is toggled? It worked for menus as the action entries for those had a callback entry I used to specify the callback function. But I am lost on how to connect those radio buttons to actual function in order to perform what they need. Also I want them to reflect the choice the user makes in the menu (actually, I have not dug into the menu issue yet, but I've noticed there are buttons now in Fremantle). Anyway.. suggestions? Thanks! -- anidel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: GtkRadioActionEntry
Actually I think I should use the on_change callback function in gtk_action_group_add_radio_actions. Trying it.. Will report. Aniello 2009/9/15 Aniello Del Sorbo ani...@gmail.com: Hi, I have an issue with my interface. I've created my interface using GtkUIManager from an xml file. In this file I've created a toolbar: toolbar action='HildonToolBar' toolitem action='Pen'/ toolitem action='Eraser'/ toolitem action='Highlighter'/ toolitem action='Text'/ /toolbar in the code I've this gtkradioaction entries: static GtkRadioActionEntry hildon_tools_radio_entries[] = { { Pen, pen, N_(_Pen), controlshiftP, NULL, 0 }, { Eraser, eraser, N_(_Eraser), controlshiftE, NULL, 1 }, { Highlighter, highlighter, N_(_Highlighter), controlshiftH, NULL, 2 }, { Text, text, N_(_Text), controlshiftT, NULL, 3 } }; that I add to an action group like this: gtk_action_group_add_radio_actions (action_group, hildon_tools_radio_entries, G_N_ELEMENTS(hildon_tools_radio_entries), 0, NULL, hildon_window); They show up fine, I can click on them and only one at a time is selected. And that's fine. But now, how can I set up a callback action whenever, for example, a Pen button is toggled? It worked for menus as the action entries for those had a callback entry I used to specify the callback function. But I am lost on how to connect those radio buttons to actual function in order to perform what they need. Also I want them to reflect the choice the user makes in the menu (actually, I have not dug into the menu issue yet, but I've noticed there are buttons now in Fremantle). Anyway.. suggestions? Thanks! -- anidel -- -- anidel Sent from London, Eng, United Kingdom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: GtkRadioActionEntry
Hi Joaquim, indeed the on_change callback function was the path to follow. A switch in it solves everthing. The Toggle doesn't apply in my case, as I need the Radio concept (if you select a Pen, you've got to deselect Eraser). Thanks. Aniello 2009/9/15 Joaquim Rocha jro...@igalia.com: Hi Aniello, That callback in gtk_action_group_add_radio_actions connects to the changed signal of the radio actions. And from the docs: The ::changed signal is emitted on every member of a radio group when the active member is changed. The signal gets emitted after the ::activate signals for the previous and current active members. So, this way you can check which of the actions was changed (1st argument of the cb) and the one that got activated (2nd argument of the cb). On the other hand, the approach you mentioned (having a callback when the user presses the pen button) may be accomplished using GtkToggleAction objects with which you can assign a callback for every action. Since a radio button is a toggle button, it might work. Cheers, -- Joaquim Rocha Aniello Del Sorbo wrote: Actually I think I should use the on_change callback function in gtk_action_group_add_radio_actions. Trying it.. Will report. Aniello 2009/9/15 Aniello Del Sorbo ani...@gmail.com: Hi, I have an issue with my interface. I've created my interface using GtkUIManager from an xml file. In this file I've created a toolbar: toolbar action='HildonToolBar' toolitem action='Pen'/ toolitem action='Eraser'/ toolitem action='Highlighter'/ toolitem action='Text'/ /toolbar in the code I've this gtkradioaction entries: static GtkRadioActionEntry hildon_tools_radio_entries[] = { { Pen, pen, N_(_Pen), controlshiftP, NULL, 0 }, { Eraser, eraser, N_(_Eraser), controlshiftE, NULL, 1 }, { Highlighter, highlighter, N_(_Highlighter), controlshiftH, NULL, 2 }, { Text, text, N_(_Text), controlshiftT, NULL, 3 } }; that I add to an action group like this: gtk_action_group_add_radio_actions (action_group, hildon_tools_radio_entries, G_N_ELEMENTS(hildon_tools_radio_entries), 0, NULL, hildon_window); They show up fine, I can click on them and only one at a time is selected. And that's fine. But now, how can I set up a callback action whenever, for example, a Pen button is toggled? It worked for menus as the action entries for those had a callback entry I used to specify the callback function. But I am lost on how to connect those radio buttons to actual function in order to perform what they need. Also I want them to reflect the choice the user makes in the menu (actually, I have not dug into the menu issue yet, but I've noticed there are buttons now in Fremantle). Anyway.. suggestions? Thanks! -- anidel -- -- anidel Sent from London, Eng, United Kingdom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: GtkRadioActionEntry
Hi Aniello, Aniello Del Sorbo wrote: Hi Joaquim, indeed the on_change callback function was the path to follow. A switch in it solves everthing. The Toggle doesn't apply in my case, as I need the Radio concept (if you select a Pen, you've got to deselect Eraser). You can set the radio's group easily, for example with: hildon_gtk_radio_button_new_from_widget I wasn't suggesting for you to use toggle buttons but only the toggle actions which you could connect to the radios (I never tried it but in *theory* I think this could work). -- Joaquim Rocha ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Fremantle initialisation scripts
How am I supposed to install an initialisation script in Fremantle? If I do it as normal, the init script gets installed into /etc/init.d and update-rc.d gets called and the symlinks are setup. However, the postinst includes a call to invoke-rc.d, which just exits without running the script and, worse, the init script is not run on the next reboot. I heard that Fremantle includes upstart but I can't find any documentation on how to use it! Can someone point me to it? The documentation on upstart.ubuntu.com seems not to apply to the Maemo installation because there is no /etc/init directory. Graham ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Fremantle initialisation scripts
On Tuesday 15 September 2009 19:19:34 Graham Cobb wrote: How am I supposed to install an initialisation script in Fremantle? I have worked out the answer. I heard that Fremantle includes upstart but I can't find any documentation on how to use it! Can someone point me to it? The documentation on upstart.ubuntu.com seems not to apply to the Maemo installation because there is no /etc/init directory. The upstart documentation on http://upstart.ubuntu.com/getting-started.html is OK except that the jobs directory seems to be called /etc/event.d. I will add section to the http://wiki.maemo.org/QA_Porting_to_Fremantle Wiki page. If anyone has more info or better recommendations for how to handle this in packages, please udpate that page. Graham ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers