invoking the application manager programatically in Qt

2010-02-25 Thread ibrahim
greetings; I was hoping to add enable installing some features/add-ons/updates in the form of .deb packages (for example: font packages/ updates to my SW) from within my Qt application. So, I used an approach similar to OTA installation. I add a '.install' file in some server, open the link

QMainWindow crashes when it closes while the menu is visible

2010-02-24 Thread ibrahim
Greetings; I have a little bit strange crash that occurs in my Qt application. I have a QMainWindow Object that has a QMediaObject object inside it to play sound. When the sound player finishes, the QMainWindow sends a signal to its parent, so the parent can close it (programatically, by

Re: QMainWindow crashes when it closes while the menu is visible

2010-02-24 Thread ibrahim
Antonio Aloisio wrote: Hi ibrahim, Are you using 4.5 or 4.6? Could you show us a backtrace? i am using 4.5.3. and iam afraid i don't know how to produce the backtrace. Thanks, Antonio On Wed, Feb 24, 2010 at 7:10 PM, ibrahim ibrahim@asgatech.com mailto:ibrahim@asgatech.com wrote

calling a Qt dbus method from a HILDON desktop widget

2010-02-09 Thread ibrahim
greetings; I was creating an application with Qt that exposes a dbus service. the service returns its output as a QStringList. I tested this dbus service with a client written in Qt and it worked perfectly. I wanted to create a Desktop widget that can consume this dbus service. I created a

how to make a splash screen with Qt

2010-02-08 Thread ibrahim
hello there ; I was wondering how to make a splash screen for my application using Qt, I found this link : http://wiki.maemo.org/Qt4_Hildon#QSplashScreen_not_fully_compatible_with_Hildon-Desktop telling that it is not compitable with maemo, So, it tried many workarounds (like creating a

Re: sensing change in System Clock using Qt

2010-01-31 Thread ibrahim
David Greaves wrote: ibrahim wrote: remi.denis-courm...@nokia.com wrote: Hello, - Message d'origine - But the problem that can face me is the case when the user changes his clock settings (i.e adjust phone's time to a different time). in this case, the timer

Re: sensing change in System Clock using Qt

2010-01-31 Thread ibrahim
nomrasco wrote: ibrahim wrote: I am very sorry for not making my question clear enough. But the situation you just described is JUST what I want to do! Yes, I want to do something exactly as you described; I am now at 4:00 am, I need to make my app do something at - say - 8:00 am (the time

Re: sensing change in System Clock using Qt

2010-01-30 Thread ibrahim
remi.denis-courm...@nokia.com wrote: Hello, - Message d'origine - But the problem that can face me is the case when the user changes his clock settings (i.e adjust phone's time to a different time). in this case, the timer that has been set to some fixed duration can go wrong.

sensing change in System Clock using Qt

2010-01-24 Thread ibrahim
Greetings; I am creating a Qt application that depends on system clock (get the current system time/date) to do time-dependent calculations. (calculate duration from current time to a specifed/calculated duration in the future, and set a QTimer's interval to that duration). But the problem

running application automatically at system startup

2010-01-17 Thread ibrahim
cheers; I wonder how to make my application run automatically at system startup. I've read about many ways to do so ( different ways for different linux distributions) but I'm not sure which way is the right one. I don't want to mess things up by using an inappropriate way. So, is there any

running application automatically at system startup

2010-01-17 Thread ibrahim
---BeginMessage--- cheers; I wonder how to make my application run automatically at system startup. I've read about many ways to do so ( different ways for different linux distributions) but I'm not sure which way is the right one. I don't want to mess things up by using an inappropriate

User-specific files for maemo packages

2010-01-11 Thread ibrahim
hi there; I wonder how can I put some user-specific files on the filesystem that can't get removed when my application package is uninstalled. for normal Linux systems, I can fimd user-settings/specific files stored inside hidden folders inside the /home/user_name folder ( for example:

how to show installed application icon on the App manager's Uninstall menu

2010-01-10 Thread ibrahim
Hi there; I have a question regarding the way applications are installed/removed using the Application manager. Since I failed to install my application using a .install file with a local repository. I wonder if an application package was installed from command-line using dpkg -i

Re: how to show installed application icon on the App manager's Uninstall menu

2010-01-10 Thread ibrahim
Andrew Flegg wrote: On Sun, Jan 10, 2010 at 11:39, ibrahim ibrahim@asgatech.com wrote: Since I failed to install my application using a .install file with a local repository. I wonder if an application package was installed from command-line using dpkg -i package_name.deb can

Re: can't install application to phone from local repository

2010-01-06 Thread ibrahim
Kees Jongenburger wrote: Hi ibrahim, On Sun, Oct 25, 2009 at 11:37 AM, ibrahim ibrahim@asgatech.com wrote: cheers; I created a local repository to host some test applications for Maemo fremantle device - and YES, the repository folders are visible to the phone- Added some packages

Re: can't install application to phone from local repository

2010-01-06 Thread ibrahim
Jeremiah Foster wrote: On Jan 6, 2010, at 14:05, ibrahim wrote: Kees Jongenburger wrote: Hi ibrahim, On Sun, Oct 25, 2009 at 11:37 AM, ibrahim ibrahim@asgatech.com wrote: you might want to look a what extra's devel's structure looks like #source.list #extras-devel deb http

Re: VS: QWebView keeps crashing in maemo qt4.5.3

2009-12-31 Thread ibrahim
Antonio Aloisio wrote: Hi, Could you show us a backtrace? Antonio On Mon, Dec 28, 2009 at 1:05 PM, mikko.j.te...@nokia.com mailto:mikko.j.te...@nokia.com wrote: What is the value of myurl, it should contain protocol and domain name. If it is wrong nothing will be shown.

Daemonizing Qt app

2009-12-31 Thread ibrahim
Greetings; I am trying to create a background application (starts with system startup, and keeps running in the background ) . the only solution i found is to make it as daemon. searching the internet about how to create a daemon http://www.enderunix.org/docs/eng/daemon.php , I built a small

Re: VS: QWebView keeps crashing in maemo qt4.5.3

2009-12-28 Thread ibrahim
it contains a fully working url (contains protocol(http) and a domain name ) mikko.j.te...@nokia.com wrote: What is the value of myurl, it should contain protocol and domain name. If it is wrong nothing will be shown. -- Mikk0 Terh0 - Alkuperäinen viesti -

QWebView keeps crashing in maemo qt4.5.3

2009-12-27 Thread ibrahim
greetings; I am having a very strange problem with the QWebView Component. It keeps crashing when it loads about 39% of the web page!! I created a dialog that contains a webView instance, and loaded a page just like the Qt Documentation says : ui-webView-load(QUrl(MY_URL)); nothing more !!! i

Can't get Finger Scrolling to work for Qt4.5.3 Applications

2009-12-23 Thread ibrahim
Greetings; I've been trying to enable Finger scrolling feature on Some Qt4.5 controls (scrollArea and ListView). I tried the solutions suggested in : http://wiki.maemo.org/Qt/Finger_Scrolling AND http://wiki.maemo.org/Qt4_Hildon#FREMANTLE_.28Qt_4.5.29 : that is : setting the property

Re: how to create a desktop applet

2009-11-17 Thread ibrahim
daniel wilms wrote: Hi I can't seem to find the APIs needed to do such thing. where should a look to find something like that? there is a good tutorial how to do that in the developer guide:

how to create a desktop applet

2009-11-16 Thread ibrahim
greetings; I am tryting to make an applet to show some information on the desktop. I can't seem to find the APIs needed to do such thing. where should a look to find something like that? thanx ___ maemo-developers mailing list

how to manage phone Profiles in Maemo

2009-11-11 Thread ibrahim
cheers; I was wondering if there are APIs to programatically manage/change the phone profile (normal-silent-offline-meeting ..etc) in Maemo 5. Can I put the phone to silent or make it offline for sometime ??? Is this controllable? What component of Maemo

Re: How to get n900 IMEI code in C

2009-11-11 Thread ibrahim
again for your fast response cheers; Faheem Pervez wrote: Here is a quick example I've posted up: http://talk.maemo.org/showpost.php?p=371496postcount=45 Best Regards, Faheem On Tue, Nov 10, 2009 at 12:01 PM, ibrahim ibrahim@asgatech.com wrote: greetings; I wonder if there is an API

Re: how to manage phone Profiles in Maemo

2009-11-11 Thread ibrahim
thank you for the fast response; #define MCE_DEVICE_MODE_CHANGE_REQ req_device_mode_change WoW!, that looks promising. But how can I use this inside my application to force changing of the Profile/mode of the phone ?? thanks in advance; daniel wilms wrote: Hi, I was wondering if there

How to get n900 IMEI code in C

2009-11-10 Thread ibrahim
greetings; I wonder if there is an API to get the n900 device IMEI code . I've been searching for a long time with no result except for : http://talk.maemo.org/showthread.php?t=34058 which didn't give me sufficient information. Can anybody help??? thanx alot

How to Send SMS programatically in Maemo

2009-11-04 Thread ibrahim
greetings; I Want To Implement An App For Sending And Receiving SMS. I looked for telepathy and DBus APIs ,took a look at articles and books like http://people.collabora.co.uk/~danni/telepathy-book/ , but didn't help me much I also read the Bluetooth example code provided in maemo.org

can't install application to phone from local repository

2009-10-25 Thread ibrahim
---BeginMessage--- cheers; I created a local repository to host some test applications for Maemo fremantle device - and YES, the repository folders are visible to the phone- Added some packages and ran the dpkg-scanpackages utility to generate the Package and Package.gz files with no

can't install application to phone from local repository

2009-10-22 Thread ibrahim
cheers; I created a local repository to host some test applications for Maemo fremantle device - and YES, the repository folders are visible to the phone- Added some packages and ran the dpkg-scanpackages utility to generate the Package and Package.gz files with no errors. _the contents of