Re: Open new browser window using Qt

2010-01-18 Thread Iñigo Illán Aranburu
Thank you, it worked!

So, why is OSSO_BROWSER_REQ_INTERFACE there? Is there any list of what
interfaces implements which calls? It seems a bit unclear to me...


El lun, 18-01-2010 a las 09:19 +0200, daniel wilms escribió:

> Hi,
> >
> > QDBusInterface browserProxy (OSSO_BROWSER_SERVICE, 
> > OSSO_BROWSER_REQ_PATH, OSSO_BROWSER_REQ_INTERFACE, 
> > QDBusConnection::systemBus());
> > browserProxy.call (OSSO_BROWSER_OPEN_NEW_WINDOW_REQ, url, true);
> this one should work:
> 
> QDBusInterface browserd (OSSO_BROWSER_SERVICE,
>  OSSO_BROWSER_REQ_PATH,
>  OSSO_BROWSER_SERVICE);
> browserd.call (OSSO_BROWSER_OPEN_NEW_WINDOW_REQ,"maemo.org");
> 
> 
> Daniel


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Open new browser window using Qt

2010-01-17 Thread Iñigo Illán Aranburu
Hi! 

I want to open a new browser window programatically using Qt/C++. I have
this little piece of code which doesn't seem to work.

QDBusInterface browserProxy (OSSO_BROWSER_SERVICE,
OSSO_BROWSER_REQ_PATH, OSSO_BROWSER_REQ_INTERFACE,
QDBusConnection::systemBus());
browserProxy.call (OSSO_BROWSER_OPEN_NEW_WINDOW_REQ, url, true);

I can't make it work although it seems to me there's nothing wrong. I
have try both using session bus and system bus. Does someone see
something wrong here?


Bye
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Storing passwords on Maemo 5

2010-01-06 Thread Iñigo Illán Aranburu
Hi list!!

I'm developing an app for Maemo 5 and I have to store a
username/password pair. My application is being developed with Qt/C++
and I wish if Maemo comes with any lib for doing the job (even if it's
Glib/C oriented). I have searched for gnome-keyring but it seems it
doesn't come with Maemo by default. I've looked to Witter for having an
example but the way it does seems a little suboptimal to me. Having a
device oriented mainly to internet but not having a framework for
storing passwords in a safe way seems a huge lack. Have anyone any
suggestion of how to save passwords in a safe way in Maemo5? 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Getting, adding, removing, etc... bookmarks

2008-06-17 Thread Iñigo Illán Aranburu
Great! Thanks!!


On mar, 2008-06-17 at 15:48 +0200, Dave Neary wrote:

> Hi,
> 
> Adding this to http://wiki.maemo.org/Questions_for_Nokia
> 
> Cheers,
> Dave.
> 
> Iñigo Illán Aranburu wrote:
> > I was trying to access programatically to the bookmarks on the N810 when
> > I just get shocked when I've seen this
> > <http://www.webwizardry.net/~timeless/10/licensing-overview.html>. I
> > have try to search for osso-bookmark-* headers on google but there
> > doesn't seem to be anyone. Is true I can't use any of the libraries that
> > provides access to them? There doesn't seem to be any documentation.
> > Also, I don't really understand why a simple library like this is closed
> > source. Has any really great piece of code for this to be done?
> > 
> > 
> > 
> > 
> > ___
> > 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


Getting, adding, removing, etc... bookmarks

2008-06-17 Thread Iñigo Illán Aranburu
I was trying to access programatically to the bookmarks on the N810 when
I just get shocked when I've seen this. I have try to search for
osso-bookmark-* headers on google but there doesn't seem to be anyone.
Is true I can't use any of the libraries that provides access to them?
There doesn't seem to be any documentation. Also, I don't really
understand why a simple library like this is closed source. Has any
really great piece of code for this to be done?
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Ip Address of the device

2008-02-21 Thread Iñigo Illán Aranburu
Command is /sbin/ifconfig


On jue, 2008-02-21 at 17:48 +0530, Basavaraj B wrote:

> Hi,
> 
> I m quite new to Linux.
> How can I find the ip address of the device.
> 
> I tried "ip addr" command in xterm. But command is not present in
> device.
> 
> Regards,
> Basavaraj
> 
> 
> 
> ___
> 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


telepathy-python bindings

2007-04-27 Thread Iñigo Illán Aranburu
Hi!

I have been trying to package the python bindings for telepathy (version
0.13.3 of the bindings) using bora's 3.1 sdk. I'm getting this
traceback:

File "setup.py", line 4, in 
   from telepathy import __version__
File "/home/ignacius/msn/telepathy-python-0.13.3/telepathy/__init__.py",
line 28, in 
import telepathy.server as server
File
"/home/ignacius/msn/telepathy-python-0.13.3/telepathy/server/__init__.py", line 
23, in 
from telepathy.server.connmgr import *
File
"/home/ignacius/msn/telepathy-python-0.13.3/telepathy/server/connmgr.py", line 
26, in 
class ConnectionManager(dbus.service.Object):
File
"/home/ignacius/msn/telepathy-python-0.13.3/telepathy/server/connmgr.py", line 
104, in ConnectionManager
@dbus.service.method(CONN_MGR_INTERFACE, in_signature='s',
out_signature='a(susv)')
File
"debian/python2.5-dbus/usr/lib/python2.5/site-packages/dbus/decorators.py", 
line 24, in decorator
File "dbus_bindings.pyx", line 84, in dbus_bindings.SignatureIter.next
TypeError: exceptions must be strings, classes, or instances, not type

I think the problem is somewhere inside dbus bindings. Has anyone the
expertise for helping me?

P.D: I get the traceback on both SDK_ARMEL and SDK_X86. 
P.D.D: AFAIK Ubuntu Edgy sells with this versions of both telepathy and
dbus bindings.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Detecting N800 camera position

2007-03-03 Thread Iñigo Illán Aranburu
Hello again Tim!

I suppose my code didn't worked for you. It's something very strange
what's happening here... but also I think I can help you. When I first
discovered this gconfv4l2src stuff I really do many things to try to
achieve this thing. As I was trying to do it with python, I didn't know
exactly how to do it like I'm going to explain but in C it should be
straighforward. AFAIK v4l2src element implements the
GstVideoOrientation[1] interface. So with
gst_video_orientation_set_hflip function and polling sysfs entry you
should be able to make it work (not sure if its hflip or vflip
function). Also, I suggest you to watch more in-depth what's the problem
with gconfv4l2src. I think the kernel sends a message to userspace which
is injected by a daemon through DBUS, and this should be catched by
another daemon which modifies the gconf key. Maybe for some reason these
daemon dies or is never launched on startup. I'm sorry I can help you
more with the names of this daemons, but I think you should have
something wrong in your system.

Hope at least it helps!

Bye.

P.S: I know I said to you I would like to help on this project, but you
know, sometimes there isn't many time to be involved on this things.
Also I would be happy to see your project launching a first version and
maybe in the future colaborate on some parts.

[1]
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideoorientation.html

On sáb, 2007-03-03 at 18:11 +0100, Tim Teulings wrote:
> Hello!
> 
> > you could also check:
> > 
> > /sys/devices/platform/gpio-switch/cam_act/
> > /sys/devices/platform/gpio-switch/cam_turn/
> 
> I'm really lost in detecting and changing camer position.
> 
> My application uses gstreamer but is not a GTK application and thus not
> actively using the gtk, gnome, osso,hildon infrastruture.
> 
> Using gconfv4l2src works in that I get an image but the video image does
> not automatically flip horizontally.
> 
> As a next step I tried to add a notifier for the gconf configuration
> value. But this does not work. The notifier callback is never called.
> Perhaps because I do not use a gtk main event loop.
> 
> As a next try I tried to use gconf directly to poll the state. But this
> does not work either.
> 
> After that I checked the /sys/-values and they change. So now I will
> regulary poll this values as "I don#t like it but it works" solution.
> 
> However how to I flip the video manually using gstreamer?
> 
> P.S.:
> And yes, image/video flipping does work in principle as tested with the
> video conferencing tool.
> 
> P.P.S.: If I got this working I will release a small, simple GUI driven
> camera application...
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Opera, MiniMo, Epiphany?

2007-02-26 Thread Iñigo Illán Aranburu
On lun, 2007-02-26 at 13:31 -0500, Michael Wiktowy wrote:
> On 2/26/07, Iñigo Illán Aranburu <[EMAIL PROTECTED]> wrote:
> > Well, I wasn't talking about Web 2.0 only. There are some more things
> > that are annoying with Opera. For example:
> >
> > + If my girlfriend goes to gmail with my N800 and the browser has some
> > username/password saved for you, it's imposible for her to autenticate
> > with her account.
> 
> Log out of your GMail session using the sign out option at the top.
> This is a "feature" on desktop systems too. I use two gmail accounts
> on the 770 and N800 just fine.

Well, I'm able to log in but its still anoying.

> 
> > + Sometimes Opera gets "stalled" for some extrange reason: You click on
> > some link and nothing happens until you persist (and I know the system
> > is catching the click because of the sound)
> 
> I have noticed this far less in the N800 and I think it is an out of
> memory issue. Try increasing the size of your Flash memory cache file.

I will try it.

> 
> > + On ebay if I save a password for the overall server it persist on
> > trying to save my allready saved password.
> 
> Don't know what could be going on here ... maybe ebay builds a session
> ID into its URL making it look significantly different each time.

Yes it does. But I'm talking about saving the user/pass for the overall
server not only for the page.

> 
> > + I don't know if its totally feasible but I would also like Opera to
> > maintain on screen the part of the html I was reading if I go from
> > fullscreen to windowed mode and viceversa.
> 
> That is a handy feature ... I thought it already did that though.

In my browser at least doesn't work

> 
> > + The look-what-you-are-typing-on-a-password-entry-for-a-moment idea is
> > good, but Opera doesn't seem to support it.
> 
> Not sure what you are referring to here. I can see the point behind
> not echoing any of your password on the screen for security purposes.

When doing it with gtk (for example when you enter a Wep key), you get
for a moment the caracter you are typing so you know exactly what key
you have pressed. I think this is very handy when you have so reduced
keyboard and you don't know exactly what you typed.


> 
> > + I would like to see a totally gtk integrated browser. At least on
> > OS2006 the fullscreen keyboard doesn't work for writting an email on
> > gmail. Some other times, the keyboard gets lazy and offers me to enter a
> > capitalize letter in a middle of a phrase (It didn't happened to me
> > outside Opera).
> 
> I have also been seeing this random capitalization problem. I don't
> know if someone has submitted a bug report yet.
> 
> > Also I think it should consume less memory than a
> > browser with his own toolkit, and in no related topic I would like to
> > see it on my desktop.
> >
> > These are little things but makes me feel frustrated with it sometimes.
> > Also, is good to know there are some improvements coming on flash and
> > Opera.
> 
> Unfortunately, the source code is out of the communities control (and
> it would seem Nokia's control as they just license the code for a
> third party). So improvements might have to wait until the N9xx series
> as precedent would dictate that Nokia won't pay for the license to
> include a new version in previous tablet models ... which is their
> call to make.

Yes. This is why some Open source browser would rock. Because no one but
Opera can access to the source.


Also, one thing I missed to say is that I would like to see some
integration of the bookmarks inside the browser with del.icio.us

> 
> /Mike
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Opera, MiniMo, Epiphany?

2007-02-26 Thread Iñigo Illán Aranburu
I'm sorry you get annoyed, it wasn't my intention.

Webkit is Safari's (the browser used in MacOS) browsing engine, which is
Open Source and it was being ported to gtk by Nokia as seen on
http://gtk-webcore.sourceforge.net

On dom, 2007-02-25 at 23:57 -0600, Paul Klapperich wrote:
> 
> 
> On 2/25/07, Iñigo Illán Aranburu <[EMAIL PROTECTED]> wrote:
> Please, Nokia people. I will admit the Internet Tablet is not
> a PDA and
> thus there isn't any PIM software instaled by default, but if
> many
> peoble are just frustrated about the browsing experience, it
> seems to me 
> there is something really wrong with it.
> 
> I think there was a post earlier that said the next maemo for the n800
> would have an updated Opera with updated Flash, but I could be
> wrong... 
> 
> I admit Minimo is not the solution because it consumes a lot
> of resources
> but please, please, please push that webkit port to gtk
> definetely and
> nobody will cry anymore about this.
> 
> I'm sorry. I'm not a Nokia person, but what's webkit? And please,
> please, please don't say please so much, it's really annoying 
> 
> --Paul 
> 
> 
> 
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: DateEditor

2007-02-26 Thread Iñigo Illán Aranburu
Thank you! I didn't know GObject had this capability but surely is good
to hear of!

On lun, 2007-02-26 at 10:31 +0200, Vire Markku wrote:
> Hi,
> 
> HildonDateEditor has properties for the day, month and year (even though I
> still didn't see them in the documentation web page?). In order to detect
> changes you can use property notification service provided by GObject:
> 
>   g_signal_connect(editor, "notify::year", G_CALLBACK(my_callback), data);
> 
> and similarly for the day and month as well. It's worth to note that the
> signature of the notify handler contains extra GParamSpec parameter:
> 
>   void my_callback(GObject *obj, GParamSpec *param, gpointer data)
> 
> -Markku-
> 
> > I'm writting a program and I want to catch an event when a DateEditor
> > widget changes it's status (when the date changes). Is this possible? I
> > haven't seen any event on the API documentation.
> >
> > Thanks for your help!
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Opera, MiniMo, Epiphany?

2007-02-26 Thread Iñigo Illán Aranburu
Well, I wasn't talking about Web 2.0 only. There are some more things
that are annoying with Opera. For example:

+ If my girlfriend goes to gmail with my N800 and the browser has some
username/password saved for you, it's imposible for her to autenticate
with her account. 

+ Sometimes Opera gets "stalled" for some extrange reason: You click on
some link and nothing happens until you persist (and I know the system
is catching the click because of the sound)

+ On ebay if I save a password for the overall server it persist on
trying to save my allready saved password. 

+ I don't know if its totally feasible but I would also like Opera to
maintain on screen the part of the html I was reading if I go from
fullscreen to windowed mode and viceversa. 

+ The look-what-you-are-typing-on-a-password-entry-for-a-moment idea is
good, but Opera doesn't seem to support it.

+ I would like to see a totally gtk integrated browser. At least on
OS2006 the fullscreen keyboard doesn't work for writting an email on
gmail. Some other times, the keyboard gets lazy and offers me to enter a
capitalize letter in a middle of a phrase (It didn't happened to me
outside Opera). Also I think it should consume less memory than a
browser with his own toolkit, and in no related topic I would like to
see it on my desktop.

These are little things but makes me feel frustrated with it sometimes.
Also, is good to know there are some improvements coming on flash and
Opera.

Bye!

On lun, 2007-02-26 at 08:28 +0200, Quim Gil wrote: 
> On Sun, 2007-02-25 at 17:35 +0100, ext Iñigo Illán Aranburu wrote:
> > many people are just frustrated about the browsing experience
> 
> This is a known problem and we are working on it. Ari Jaaksi provided
> some hints in his blog [1]. Nobody questions that all the """Web 2.0"""
> stars should work like a charm in the Internet Tablets. It just takes
> time to update and improve what needs to be updated and improved.
> 
> BTW, it would be interesting to break down the features implied in the
> "Web 2.0" label, having a checklist to test against. Maybve someone has
> already done it, dunno. "YouTube works" or "Google Mail works" are
> better indicators than "Web 2.0 compliant" but still are not objective
> parameters. An agreed list of websites to test against would also help,
> though.
> 
> [1] http://jaaksi.blogspot.com/2007/02/high-level-roadmap.html
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Opera, MiniMo, Epiphany?

2007-02-25 Thread Iñigo Illán Aranburu
Please, Nokia people. I will admit the Internet Tablet is not a PDA and
thus there isn't any PIM software instaled by default, but if many
peoble are just frustrated about the browsing experience, it seems to me
there is something really wrong with it. I admit Minimo is not the
solution because it consumes a lot of resources but please, please,
please push that webkit port to gtk definetely and nobody will cry
anymore about this.

On dom, 2007-02-25 at 08:57 -0600, David Hagood wrote:
> Many people would like to replace Opera with something else, for various 
> reasons. One of the candidates has been MiniMo, but that seems to have 
> stagnated.
> 
> Has anybody considered porting Epiphany to Maemo? It's already GTK 
> based, so I would think that it would be easier to port to Maemo than 
> some of the other choices.
> 
> I've tried the current Epiphany with one of my pet "problem sites" 
> (AAA's TripTiks page), and it works, so it would seem to me that it 
> would be more compatible with Web 2.0 sites than the Opera 6 that is in 
> the Nokia. It is Free Software and so could be part of the Maemo source 
> distro.
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


DateEditor

2007-02-25 Thread Iñigo Illán Aranburu
Hi!

I'm writting a program and I want to catch an event when a DateEditor
widget changes it's status (when the date changes). Is this possible? I
haven't seen any event on the API documentation.

Thanks for your help!

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Detecting N800 camera position

2007-02-08 Thread Iñigo Illán Aranburu
Hi!

Well, what I wanted to achieve can be done transparently with the
gconfv4l2src element than comes with n800. It handles the rotation of
the webcam transparently. Can I suggest specifying this on the maemo
camera API tutorial[1]. Also, Im interested on this malomo project. I
was thinking on doing some similar project and thus I have some ideas
and I would like to join to this effort.

[1] http://www.maemo.org/platform/docs/howtos/howto_camera_api_bora.html

On jue, 2007-02-08 at 00:35 +0200, Janne Kataja wrote:
> Zeeshan Ali wrote:
> >  Fortunately, there are two very useful self-explainatory boolean
> > gconf keys for these things:
> > 
> > 1. /system/osso/af/camera-is-out
> > 2. /system/osso/af/camera-has-turned
> > 
> >  BTW, since it's gconf, you can set-up notification callback in your
> > applications for these events to, in case you need that. Hope this
> > helps!
> > 
> > P.S There is a D-Bus way to do the same thing as well but i think
> > gconf is much simpler to deal with as compared to D-Bus.
> 
> Thanks for the infos!
> 
> What would be needed to launch an application other than messenger when 
> a camera-is-out event takes place? On garage project malomo [1] we've 
> thought of making a control panel applet to choose between launching 
> messenger or camera application.
> 
> [1] https://garage.maemo.org/projects/malomo
> 
> 
> Janne

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Detecting N800 camera position

2007-02-07 Thread Iñigo Illán Aranburu
Hello everyone!

I was trying to write a simple program, and I would like to know if
there is some way to detect when the camera gets rotated to the point
that it should "flip" the image as does the internet call application
that comes with OS2007.

Thanks in advance for your help.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers