Re: [maemo-developers] new application installed on nokia 770

2006-08-18 Thread Dionisis Petromanolakis



read this mail

  - Original Message - 
  From: 
  Dionisis 
  Petromanolakis 
  To: maemo-developers@maemo.org 
  Sent: Friday, August 18, 2006 1:34 
  PM
  Subject: [maemo-developers] new 
  application installed on nokia 770 
  
  hi all,
   
  i have made a test application and i have 
  installed it in nokia 770. I did everything i had to do in order to create a 
  .deb package with armel and i moved it to memory card of the device. then i 
  open the file with the application manager and i installed it successfully 
  according to the message i get from the device. My problem is that i cant (or 
  i dont know how to start the application).
   
  Also i didnt create a seperate folder for gui 
  programs, a .h file for application data and a separate main file for 
  initializing them, as in the maemopad example. Is this a problem. I only 
  created a main file that contains everything. Also the application works fine 
  in maemo (SDK_PC) but i dont get any graphical interface in armel (SDK_ARMEL). 
  Do i have to create those files and folders in order everything to work 
  fine?
   
  thanks in advance
  Dionysis
  
  

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


[maemo-developers] new application installed on nokia 770

2006-08-18 Thread Dionisis Petromanolakis



hi all,
 
i have made a test application and i have installed 
it in nokia 770. I did everything i had to do in order to create a .deb package 
with armel and i moved it to memory card of the device. then i open the file 
with the application manager and i installed it successfully according to the 
message i get from the device. My problem is that i cant (or i dont know how to 
start the device).
 
Also i didnt create a seperate folder for gui 
programs, a .h file for application data and a separate main file for 
initializing them, as in the maemopad example. Is this a problem. I only created 
a main file that contains everything. Also the application works fine in maemo 
(SDK_PC) but i dont get any graphical interface in armel (SDK_ARMEL). Do i have 
to create those files and folders in order everything to work fine?
 
thanks in advance
Dionysis
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Programming Questions 2

2006-07-22 Thread Dionisis Petromanolakis



Hi all,
 
1. question
the last few days i ve found some information about 
using xml parsers and i m a little bit confused. I found that there is expat 
parser, libxml2 parser and python-xml. From what I ve found libxml2 uses expat 
and makes it faster and python-xml is a python api for handling libxml2 right? 

So if i use python would i have a faster 
parser than using only expat and also an easy to use api? And also if i use 
expat would i have a slower parser but with less memory demands?
So far i have choosed to use expat because i think 
it is more suitable for running in NOKIA 770 because it doesnt need much memory. 
Is my decision correct? Can someone give me some pros and cons on using one of 
the three parsers i mentioned above instead of the others?
 
2. question
Also i want to use GSList form GLib to create lists 
in my project. Do you think that i would have a problem to compile and 
run my application on armel and NOKIA 770?
 
3. question
i choosed to use gtk commands in order to create my 
graphical interface instead of using python. Do you think that my development 
time would be slow and my interface of lower quality. Also there is Gazpacho 
available (but i cant run it for some reason), do you think i should use 
it?
 
dionysis
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] XML Question

2006-07-17 Thread Dionisis Petromanolakis



hi all,
 
i need a tool, written in c, to 
create an xml document automatically with c commands. Does 
anyone know if there is one available in maemo or i should create my 
own?
 
regards
dionysis 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Gazpacho problem

2006-07-16 Thread Dionisis Petromanolakis



hi all,
 
i m trying to install gazpacho following the 
instruction in the "how to" section but i fail all the times. 
I downloaded the three pachages from repository.maemo.org/pool/mistral/free 
and i installed them inside scratchbox. Then i m trying to run the application 
following the commands from the how to. I always get some warnings and some 
errors and nothing more. 
Also i have the beta version of maemo 2 installed 
and not the final. Is there any problem with that? Does anyone have an idea to 
solve the problem?
 
regards,
dionysis 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] http://repository.maemo.org/mistral

2006-07-14 Thread Dionisis Petromanolakis



hi all,
 
i m trying to download gazpacho packages from 

http://repository.maemo.org/mistral, 
but the site seems thath isnt working.
is there an alternative directory that i can download them?
regards,
dionysis
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Re: D-BUS question

2006-07-14 Thread Dionisis Petromanolakis


- Original Message - 
From: "Ross Burton" <[EMAIL PROTECTED]>

To: 
Sent: Friday, July 14, 2006 8:03 PM
Subject: [maemo-developers] Re: D-BUS question



On Fri, 2006-07-14 at 19:55 +0300, Dionisis Petromanolakis wrote:

Hi all,

i want to make an application running on a normal desktop computer to
communicate with maemo. Has anyone done something similar, are there
any sources, tutorial available that could help me?

Can i do this using D-BUS or i have to do it through normal unix
sockets? I ve read about D-BUS and everywhere says that it is created
for applications placed in the same computer. All the sample code i
can find is about communication on a single computer, but in the site
of d-bus it says that it can also be used for application that are not
in the same machine.


You can do D-Bus over TCP, but it's not advised.  You'd be better
creating your own protocol, or re-using an existing one.

Ross

--
Ross Burton mail: [EMAIL PROTECTED]
 jabber: [EMAIL PROTECTED]
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF



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




hi Ross,

do you have any links for a protocol that i could use or at least use as a 
reference to create mine?


thanx
dionysis 




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


[maemo-developers] D-BUS question

2006-07-14 Thread Dionisis Petromanolakis



Hi all,
 
i want to make an application running on a normal 
desktop computer to communicate with maemo. Has anyone done something similar, 
are there any sources, tutorial available that could help me?
 
Can i do this using D-BUS or i have to do it 
through normal unix sockets? I ve read about D-BUS and everywhere says that it 
is created for applications placed in the same computer. All the sample code i 
can find is about communication on a single computer, but in the site of d-bus 
it says that it can also be used for application that are not in the same 
machine.
 
any ideas are more than welcome,
 
regards,
dionysis
 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] programming questions

2006-07-10 Thread Dionisis Petromanolakis



hi all,
 
i m new to maemo and i have two questions on 
programming,
 
1. how can i create and use threads?
 
2. how can i use xml parser (xpat), is it installed 
somewhere or i have to download it? Is there an rdf/xml parser available in 
maemo?
 
Also i assoume that i can read/write from/to files 
using normal 'C' commands, right?
 
thanks in advance,
dionysis
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] cannot compile example_libosso.c

2006-07-07 Thread Dionisis Petromanolakis



hi Laszlo and all,
 
what do you mean with makefile?I just downloaded 
the file from the maemo.org. I didnt find a makefile. Instead im trying to 
compile it from the command prompt. but the compilation always fails. The 
command i use is "gcc -o example_libosso example_libosso.c 'pkg-config --cflags 
gtk+-2.0 hildon-libs' -ansi -Wall 'pkg-config --libs gtk+-2.0 hildon-libs'", is 
something wrong with the command? Do i need to specify the libosso library from 
path /usr/lib directory. I assume that the program may cannot see this library. 
I tried to include /usr/lib/libosso.so in the compilation but it didnt find the 
file. 
Do i need to download another file? Do i need to 
use another command option?
 
regards,
Dionysis

  - Original Message - 
  From: 
  Laszlo T. 
  To: Dionisis Petromanolakis 
  Cc: maemo-developers@maemo.org 
  Sent: Friday, July 07, 2006 1:30 AM
  Subject: Re: [maemo-developers] cannot 
  compile example_libosso.c
  
  2006/7/6, Dionisis Petromanolakis <[EMAIL PROTECTED]>:
  


hi all,
 
i m trying to compile file example_libosso.c 
from the tutorial of maemo and everything goes wrong. First of all, there 
wasnt i directory dbus but a directory dbus-1.0 which contains this. I 
removed it outside of dbus-1.0 in order the files to find it. 
Then, the file dbus-arch-deps.h wasnt there so i downloaded 
it from the internet and put it inside dbus. Then i get the following 
message. I assumed that the program (example_libosso.c) couldnt find the 
declaration of the functions so i redeclared them inside my program, still 
nothing happend. So, this is the output i get:
 
"example_libosso.c: In function 
`exit_event_handler':example_libosso.c:65: warning: implicit declaration 
of function `gtk_infoprint'/var/tmp/ccvvWU3o.o: In function 
`dbus_req_handler':example_libosso.c:(.text+0x64): undefined reference to 
`osso_system_note_infoprint'/var/tmp/ccvvWU3o.o: In function 
`main':example_libosso.c:(.text+0xbe): undefined reference to 
`osso_initialize':example_libosso.c:(.text+0x22e): undefined reference 
to `osso_rpc_set_cb_f':example_libosso.c:(.text+0x270): undefined 
reference to 
`osso_application_set_exit_cb':example_libosso.c:(.text+0x2c1): 
undefined reference to `osso_deinitialize'collect2: ld returned 1 exit 
status"
 
does anyone has an idea in order to fix it? how 
can i compile the program?
 
regards,
dionysis
 
___maemo-developers 
mailing listmaemo-developers@maemo.org 
https://maemo.org/mailman/listinfo/maemo-developersmake?use 
  Makefile
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] cannot compile example_libosso.c

2006-07-06 Thread Dionisis Petromanolakis



hi all,
 
i m trying to compile file example_libosso.c from 
the tutorial of maemo and everything goes wrong. First of all, there wasnt i 
directory dbus but a directory dbus-1.0 which contains this. I removed it 
outside of dbus-1.0 in order the files to find it. Then, the file 
dbus-arch-deps.h wasnt there so i downloaded it from the internet and put 
it inside dbus. Then i get the following message. I assumed that the program 
(example_libosso.c) couldnt find the declaration of the functions so i 
redeclared them inside my program, still nothing happend. So, this is the output 
i get:
 
"example_libosso.c: In function 
`exit_event_handler':example_libosso.c:65: warning: implicit declaration of 
function `gtk_infoprint'/var/tmp/ccvvWU3o.o: In function 
`dbus_req_handler':example_libosso.c:(.text+0x64): undefined reference to 
`osso_system_note_infoprint'/var/tmp/ccvvWU3o.o: In function 
`main':example_libosso.c:(.text+0xbe): undefined reference to 
`osso_initialize':example_libosso.c:(.text+0x22e): undefined reference to 
`osso_rpc_set_cb_f':example_libosso.c:(.text+0x270): undefined reference to 
`osso_application_set_exit_cb':example_libosso.c:(.text+0x2c1): undefined 
reference to `osso_deinitialize'collect2: ld returned 1 exit 
status"
 
does anyone has an idea in order to fix it? how can 
i compile the program?
 
regards,
dionysis
 

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