Embedded browser upload

2009-01-08 Thread Andrew Gatt
I'm trying to implement a file chooser for the upload dialog signal for an embedded browser using the browser-eal. I've successfully attached the signal, which fires correctly when the browse button is pressed, the file chooser is created and filename_global is filled with the correct filename,

Soundmanager2

2008-12-15 Thread Andrew Gatt
I stumbled across the soundmanager2 library http://schillmania.com/projects/soundmanager2/ and instantly thought of a couple of ideas for using it with the browser in maemo. Unfortunately it didn't initialise properly. It mentioned there may be a security setting that could be preventing it, bu

microb-eal package

2008-06-26 Thread Andrew Gatt
I've installed the new Diablo SDK and I'm trying to install the microb-eal package. However when i try apt-get install microb-eal it fails saying couldn't find package. Can anyone tell me which repository it resides in? My sources.lst contains: deb http://repository.maemo.org/ diablo/sdk free

EAL Example (attempt)

2008-02-12 Thread Andrew Gatt
OK so i'm trying to hack together an EAL example, it seems to be firing up the mozilla-eal, the finished loading signal is triggered, but i'm not getting anything on the display. The finish_status is 0 and the page size is 15000 everytime, so i'm sure i'm doing something wrong. Can anyone spot

Re: gtk_wdiget_size_allocate error

2008-02-12 Thread Andrew Gatt
> Does anyone know why this error would pop up. As far as i can tell, i'm > just adding a widget to a container, but its not liking it. The program > doesn't crash, but the widget doesn't display. > > GLIB WARNING ** Gtk - gtk_widget_size_allocate(): attempt to allocate > widget with width -24

gtk_wdiget_size_allocate error

2008-02-12 Thread Andrew Gatt
Does anyone know why this error would pop up. As far as i can tell, i'm just adding a widget to a container, but its not liking it. The program doesn't crash, but the widget doesn't display. GLIB WARNING ** Gtk - gtk_widget_size_allocate(): attempt to allocate widget with width -24 and height 0

EAL Example

2008-02-11 Thread Andrew Gatt
Hi, I've been trying to get an EAL program to compile. I checked out the browser-ui trunk from the maemo garage as it contains a folder called eal-test which looks like it contains most of what i'm trying to achieve. I first ran "autogen.sh","configure" and "make install" in the browser-eal di

Re: TestGtkEmbed on N800

2008-02-07 Thread Andrew Gatt
Andrew Gatt wrote: > [EMAIL PROTECTED] wrote: > >> Andrew wrote: >> >> >>> You suggest i need a symlink, but i'm still unclear where. The >>> libgtkembedmoz.so is at /usr/lib/ on the device, but ldd says that >>> TestG

Re: TestGtkEmbed on N800

2008-02-07 Thread Andrew Gatt
[EMAIL PROTECTED] wrote: > Andrew wrote: > >> You suggest i need a symlink, but i'm still unclear where. The >> libgtkembedmoz.so is at /usr/lib/ on the device, but ldd says that >> TestGtkEmbed doesn't depend on it anyway. >> >> Using nm on TestGtkEmbed in the armel environment gives "B" addr

Re: TestGtkEmbed on N800

2008-02-07 Thread Andrew Gatt
>> I would like to use the one shipped with the device, to keep any >> installed files to a minimum. >> >> I've patched run-mozilla.sh with the diff file linked above. >> This sets >> the GRE_HOME for you so my command line becomes ./run-mozilla.sh >> ./TestGtkEmbed. I couldn't find the ibid f

Re: TestGtkEmbed on N800

2008-02-07 Thread Andrew Gatt
Andrew Gatt wrote: >>>> or do i need >>>> to copy all these files somewhere to get the TestGtkEmbed working? >>>> >>>> >>>> >>> There is one (ibid) >>> >>> https://gar

Re: TestGtkEmbed on N800

2008-02-06 Thread Andrew Gatt
>>> or do i need >>> to copy all these files somewhere to get the TestGtkEmbed working? >>> >>> >> There is one (ibid) >> >> https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb- >> engine/debian/patches/125_MICROB_autoset_grehome_display.diff >> +export GRE_HOM

Re: TestGtkEmbed on N800

2008-02-06 Thread Andrew Gatt
>> GRE is the Gecko Runtime Environment, >> which under scratchbox is setup in the /dist/bin folder of the VMWare >> device. I now suppose the question is, is there a GRE already in the >> rootfs somewhere that i need to specify to the GRE_HOME= , >> > > This too can be answered w/ google

Re: TestGtkEmbed on N800

2008-02-06 Thread Andrew Gatt
Andrew Gatt wrote: > [EMAIL PROTECTED] wrote: > >> Andrew Gatt wrote: >> >> >>>>> I've been playing around with the TestGtkEmbed program under the >>>>> VMWare device downloaded from >>>>> http://wiki.mozilla.or

Re: TestGtkEmbed on N800

2008-02-06 Thread Andrew Gatt
[EMAIL PROTECTED] wrote: > Andrew Gatt wrote: > >>>> I've been playing around with the TestGtkEmbed program under the >>>> VMWare device downloaded from >>>> http://wiki.mozilla.org/Mobile/Build/Maemo_Build_Instructions and >>&g

TestGtkEmbed on N800

2008-02-06 Thread Andrew Gatt
Hi, I've been playing around with the TestGtkEmbed program under the VMWare device downloaded from http://wiki.mozilla.org/Mobile/Build/Maemo_Build_Instructions and i'd l ike to test it out on my N800. I've copied over TestGtkEmbed and run-mozilla.sh and as before run; GRE_HOME=. ./run-mozill

Re: Embed microb

2007-12-05 Thread Andrew Gatt
> OK so i followed this http://scratchbox.org/wiki/Apophis-r4 under > Crocodile heading which allowed me to compile libidl and libidl-dev > which are now both installed using dpkg -i. Going back to the > libgtkembedmoz svn checkout and running dpkg-buildpackage -rfakeroot > thr

Re: Embed microb

2007-12-05 Thread Andrew Gatt
Andrew Gatt wrote: > [EMAIL PROTECTED] wrote: >> Andrew Gatt wrote: >> >>> OK so i followed this http://scratchbox.org/wiki/Apophis-r4 under >>> Crocodile heading which allowed me to compile libidl and libidl-dev >>> which are now both

Re: Embed microb

2007-12-05 Thread Andrew Gatt
Andrew Gatt wrote: > tonikitoo (Antonio Gomes) wrote: > >>> Thanks "use 'dpkg-buildpackage -rfakeroot' " is what i was looking for. >>> However now i've got a different problem. Using this command spots a >>> dependency issu

Re: Embed microb

2007-12-05 Thread Andrew Gatt
tonikitoo (Antonio Gomes) wrote: >> Thanks "use 'dpkg-buildpackage -rfakeroot' " is what i was looking for. >> However now i've got a different problem. Using this command spots a >> dependency issue with libidl-dev. Trying apt-get install libidl-dev gives: >> >> Reading package lists... Done >> Bu

Re: Embed microb

2007-12-04 Thread Andrew Gatt
tonikitoo (Antonio Gomes) wrote: > On 12/4/07, Andrew Gatt <[EMAIL PROTECTED]> wrote: > >> Tuomas Kulve wrote: >> >>> Andrew Gatt wrote: >>> >>> >>>> Hi all, >>>> >>>> Does anyone know if its po

Re: Embed microb

2007-12-04 Thread Andrew Gatt
Tuomas Kulve wrote: > Andrew Gatt wrote: > >> Hi all, >> >> Does anyone know if its possible to embed the browser in a new window of >> your own program. This was possible with the original 770 OS, but they >> removed ability in later versions. Now they&#x

Embed microb

2007-12-02 Thread Andrew Gatt
Hi all, Does anyone know if its possible to embed the browser in a new window of your own program. This was possible with the original 770 OS, but they removed ability in later versions. Now they've moved over to the microb engine and the new 2008 OS maybe its possible again? Does anyone have

Completely Hide Toolbar Browser N800

2007-08-01 Thread andrew gatt
Is there any way to completely hide the browser toolbar in fullscreen mode on the N800? Deselecting the toolbar for the fullscreen view from the browser menu hides it, but when loading a different page it pops up again, spending time pushing all the graphics around instead of just loading the p

Xephyr

2007-06-26 Thread andrew gatt
I think my Xephyr installation inside the VMWare image available is broken, or at least doesn't work with the framework included with the 2.2 SDK. I've recently read a couple of mails saying that there are less stable versions of Xephyr about and that they have used the latest git version with

Xephyr Maemo VMware

2007-06-25 Thread andrew gatt
I've been trying out the VMware image, although i guess this question could relate to any installation. I'm trying to get both 2.2 and 3.1 on the same scratchbox to work properly. The rootstrap seems to have installed fine and i can log in and compile programs in the 2.2 SDK, however the xephyr

Where is libgdk_pixbuf-2.0.la (was Compiling gtk-webcore)

2007-05-18 Thread andrew gatt
> I'm trying to have a play with gtk-webcore. I've managed to compile in > maemo-3.0 osb-nrcore and osb-jscore. When it came to osb-nrcit it > complained about librsvg. After a bit of a search i found monkey bubble > had a reported librsvg compiled for bora. This went in alright after > trying

Compiling gtk-webcore

2007-05-17 Thread andrew gatt
I'm trying to have a play with gtk-webcore. I've managed to compile in maemo-3.0 osb-nrcore and osb-jscore. When it came to osb-nrcit it complained about librsvg. After a bit of a search i found monkey bubble had a reported librsvg compiled for bora. This went in alright after trying twice to i

Re: Launch maemo browser in fullscreen mode

2007-03-19 Thread andrew gatt
There is no way to open the opera browser into fullscreen, i spent quite a bit of time trying various solutions and even tried implementing the "open embedded browser" via dbus, however these calls are deprecated. The only hope is to use a different browser solution as a base. Andrew Tomàs Ji

Re: [maemo-developers] UDP and souce code

2007-02-10 Thread andrew gatt
I've been using UDP sockets to broadcast and receive packets. As far as i've used them they are exactly the same as the desktop version. I'd have been surprised if they were any different. General Linux UDP programming tutorials will be a good start. Andrew Javi H.U. wrote: Hi! I have just

Re: [maemo-developers] Local DNS

2007-01-31 Thread andrew gatt
I'm trying to keep a client / server situation simple to set up. As the tablet requires DHCP to function (by default) i was going to make the server use DHCP and set up dynamic DNS so the tablet can find the server with just the name. However as pointed out this doesn't work i.e. just putti

Re: [maemo-developers] Local DNS

2007-01-31 Thread andrew gatt
Marius Gedminas wrote: I received a copy of this email (with a different message-ID) personally, and I replied to it personally. Here's my reply, because I think it may be useful to others. Sorry reply failure (reply instead of all)! I'm trying to keep a client / server situation simple to

Re: [maemo-developers] Local DNS

2007-01-31 Thread andrew gatt
Marius Gedminas wrote: On Mon, Jan 29, 2007 at 08:36:05PM +0200, Marius Gedminas wrote: On Mon, Jan 29, 2007 at 05:37:06PM +, andrew gatt wrote: The resolver is NOT accepting the "option domain-name" from the DHCP server - so even if the server says "You are in

Re: [maemo-developers] Local DNS

2007-01-29 Thread andrew gatt
David Hagood wrote: In browser address bar: http://myserver The only system this doesn't work on is the 770 with ITOS2007 (i don't have any other versions). Am i doing something wrong or is the DNS resolving not set up properly on the 770? The resolver is NOT accepting the "option domain-

[maemo-developers] Local DNS

2007-01-29 Thread andrew gatt
I have a router that also runs DHCP and DNS, i can request a lease with a udhcpc client. Using the -H hostname switch i can also update the DNS entry for the given IP address. However when i try and access this server doesn't work from the 770. It works from all my other machines (Windows and L

[maemo-developers] Forcing wifi b

2007-01-25 Thread andrew gatt
Is there any way to force the tablet to try for a b type wifi connection instead of g. I'm guessing if it is possible its more dependant on the driver than anything. Thanks Andrew ___ maemo-developers mailing list maemo-developers@maemo.org https://ma

[maemo-developers] osso-browser-interface.h

2007-01-16 Thread Andrew Gatt
So, i'm still struggling to get a browser window to embed, but i came across this maemo garage project: https://garage.maemo.org/projects/browser/ If you download the maemo-browser-interface tarball, it seems to define osso-browser-interface.h. This version misses out the define for the new embed

Re: [maemo-developers] dbus_bus_activate_service

2007-01-15 Thread andrew gatt
Kimmo Hämäläinen wrote: On Sat, 2007-01-13 at 17:28 +, ext andrew gatt wrote: Is there any way to compile and use dbus_bus_service_activate under maemo. https://stage.maemo.org/svn/maemo/projects/email/osso-email/trunk/src/ui/viewcallback.c Seems to suggest you can, however i can&#

[maemo-developers] dbus_bus_activate_service

2007-01-13 Thread andrew gatt
Is there any way to compile and use dbus_bus_service_activate under maemo. https://stage.maemo.org/svn/maemo/projects/email/osso-email/trunk/src/ui/viewcallback.c Seems to suggest you can, however i can't get the function to compile, the compiler flags it as an undefined reference with all the h

Re: [maemo-developers] Re: gethostbyname() ?? Unable to become root

2007-01-13 Thread andrew gatt
(sorry about the title, i'll keep it the same so the answer is in the same thread) Looks like you just have to launch it from the menu, you can't just ./example_libosso to execute it. Andrew andrew gatt wrote: Hi, I'm just trying to get example_libosso.c to compile and

Re: [maemo-developers] Re: gethostbyname() ?? Unable to become root

2007-01-13 Thread andrew gatt
Hi, I'm just trying to get example_libosso.c to compile and run. Compiling seems fine, but when i run it, the osso_initialize fails. I thought this was because it didn't have the D-Bus service file and the .desktop file so i added those and it still fails. I was hoping someone could point out

Re: [maemo-developers] Creating Home Applet

2006-12-19 Thread andrew gatt
e the F6 key and send that to the application, therefore faking the hardware keypress? I only want to start the application in fullscreen mode and after that leave control to the user. Thanks Andrew On 12/18/06, andrew gatt <[EMAIL PROTECTED]> wrote: I want to create a home apple

Re: [maemo-developers] Creating Home Applet

2006-12-19 Thread andrew gatt
Also is there a dbus message which turns off the toolbar as well? Or is this only accessible through the browser menu. Andrew On 12/18/06, andrew gatt <[EMAIL PROTECTED]> wrote: I want to create a home applet (and task navigator entry) that can exist alongside the current web shortcut

Re: [maemo-developers] Creating Home Applet

2006-12-19 Thread andrew gatt
Thanks for all the help. There is just one question left though, what dbus message do i send to make the browser window go full screen? Thanks Andrew On 12/18/06, andrew gatt <[EMAIL PROTECTED]> wrote: I want to create a home applet (and task navigator entry) that can exist alongsi

[maemo-developers] Creating Home Applet

2006-12-18 Thread andrew gatt
I want to create a home applet (and task navigator entry) that can exist alongside the current web shortcut applet, but basically provide the same function. Even if someone could just point me in the right direction of the source code it would probably be enough. I basically want an applet tha