Re: HAL context initializing failure

2010-05-18 Thread Daniil Ivanov
Hi Pallavi!

   Note that HAL is supported on desktop, so you can try HAL related code there.

Thanks, Daniil.

On Wed, May 19, 2010 at 7:55 AM, Pallavi Kandhare
 wrote:
>
> Hi Daniel,
> Yes I was running the app in scratchbox. Thanks for informing me that HAL is 
> not supported in Scratchbox.
>
>
>
> ___
> 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: Simple GL application fails to start

2010-05-18 Thread Aapo Rantalainen
> And/or can someone compil the code for me to check if it runs with my phone?
> http://wiki.maemo.org/User:Javispedro/SDL-GLES

gles2 compiles without warnings
gles2 works on N900, no any warnings

gles1 compiles without warnings
gles1 works on N900, no any warnings


>
> Finally, there is two versions of libSDL linked to the binary.
> Is it normal? Please note that I have no idea how to link against
> SDL-1.2 or SDL-1.3, using one version and excluding the other.

ldd ./gles2
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x4000c000)
libSDL_gles-1.2.so.0 => /usr/lib/libSDL_gles-1.2.so.0 (0x4006c000)
libEGL.so => /usr/lib/libEGL.so (0x40076000)
libGLESv2.so => /usr/lib/libGLESv2.so (0x40081000)
libc.so.6 => /lib/libc.so.6 (0x41028000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x42308000)
libm.so.6 => /lib/libm.so.6 (0x4132)
libdl.so.2 => /lib/libdl.so.2 (0x412c8000)
libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0x400c6000)
libpulse.so.0 => /usr/lib/libpulse.so.0 (0x400d1000)
libpthread.so.0 => /lib/libpthread.so.0 (0x41168000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4115)
libIMGegl.so => /usr/lib/libIMGegl.so (0x400f9000)
libsrv_um.so => /usr/lib/libsrv_um.so (0x4010d000)
/lib/ld-linux.so.3 (0x4100)
librt.so.1 => /lib/librt.so.1 (0x4119)
libpulsecommon-0.9.15.so => /usr/lib/libpulsecommon-0.9.15.so 
(0x40129000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x41288000)
libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x4271)


Maybe you should uninstall another libSDL (on crosscompiler)?
libSDL1-2 works for me.

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


Re: HAL context initializing failure

2010-05-18 Thread Pallavi Kandhare

Hi Daniel,
Yes I was running the app in scratchbox. Thanks for informing me that HAL is 
not supported in Scratchbox.
 
 


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


Simple GL application fails to start

2010-05-18 Thread martin
Hello,

   I have some issues with a small opengl application I wrote. It
compiled fine under sbox-FREMANTLE_ARMEL but, when run in my n900, SDL
initialisation fails with those errors :
SDL_init(SDL_INIT_VIDEO) says "No OpenGL support in video driver"
and with Mix_OpenAudio(...), SDL_GetError gives "pulse not available"


So I decided to give a try to the test applications found in
http://wiki.maemo.org/User:Javispedro/SDL-GLES

both ./gles2 and ./gles1 show the same output
gles1: gles1.c:74: main: Assertion `res == 0' failed.
gles2: gles2.c:115: main: Assertion `res == 0' failed.
74 et 115 are the lines containing the assertion following this call :
res = SDL_GLES_Init(SDL_GLES_VERSION_2_0);

There's also this huge list of -what seem to be- unmapped keys in the output :
Keyboard layout unknown, please send the following to the SDL
mailing list (s...@libsdl.org):
code = 1, sym = 0xFF1B (Escape) scancode = 41 (Escape)
code = 14, sym = 0xFF08 (BackSpace) scancode = 42 (Backspace)
[...]
code = 235, sym = 0x1008FF5B (XF86Documents) scancode = 0 ()


I don't understand what I did wrong.
Could opengl drivers be not installed? AngryBird works fine and
capsule ( and small 3d viewer ) runs smoothly.

Finally, there is two versions of libSDL linked to the binary.
Is it normal? Please note that I have no idea how to link against
SDL-1.2 or SDL-1.3, using one version and excluding the other.
~ $ ldd ./gles2
libSDL-1.3.so.0 => /usr/lib/libSDL-1.3.so.0 (0x40001000)
libpthread.so.0 => /lib/libpthread.so.0 (0x41168000)
libSDL_gles-1.2.so.0 => /usr/lib/libSDL_gles-1.2.so.0 (0x400ba000)
libEGL.so => /usr/lib/libEGL.so (0x46628000)
libGLESv2.so => /usr/lib/libGLESv2.so (0x45eb8000)
libc.so.6 => /lib/libc.so.6 (0x41028000)
libm.so.6 => /lib/libm.so.6 (0x4132)
libdl.so.2 => /lib/libdl.so.2 (0x412c8000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4115)
/lib/ld-linux.so.3 (0x4100)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x400c6000)
libIMGegl.so => /usr/lib/libIMGegl.so (0x46448000)
libsrv_um.so => /usr/lib/libsrv_um.so (0x44e08000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x42308000)
libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0x40126000)
libpulse.so.0 => /usr/lib/libpulse.so.0 (0x40131000)
librt.so.1 => /lib/librt.so.1 (0x4119)
libpulsecommon-0.9.15.so => /usr/lib/libpulsecommon-0.9.15.so
(0x40159000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x41288000)
libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x4271)
Under scratchbox ldd segfaults :
[sbox-FREMANTLE_ARMEL: ~/prog/test_gl] > ldd ./gles2
Segmentation fault (core dumped)

Any suggestions?
May I attach the binaries (gles1 and 2) so someone can test them with
his/her phone?
And/or can someone compil the code for me to check if it runs with my phone?
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Announcing the Maemo Brainstorm 2010

2010-05-18 Thread Nicola Mfb
On Tue, May 18, 2010 at 9:48 PM, Dave Neary  wrote:
> What should maemo.org and the Maemo Community look like in six months?
> What are the top priorities of the Maemo project? What should the
> maemo.org staff be concentrating on?

Hi Dave,
it seems the community is very confused in this moment, so this is a
very nice and great idea! Let's hope to have a big feedback :)

Regards

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


Announcing the Maemo Brainstorm 2010

2010-05-18 Thread Dave Neary
What should maemo.org and the Maemo Community look like in six months?
What are the top priorities of the Maemo project? What should the
maemo.org staff be concentrating on?

We need to set some bigger, more concrete and measurable goals for Maemo
for the coming months. To help gather ideas and prioritise them, we are
running a one-week brainstorming session, similar to the one in 2008 [1]
which led to 100Days [2], to set some near-term direction and priorities
for the Maemo project. To do this, we are announcing the Great Maemo
Brainstorm 2010 [3]

Brainstorm ideas are being discussed in Talk threads prefixed by
[Brainstorm 2010] on the Community forum [4], and should be gathered in
the wiki [4] and synthesized, summarized and prioritized for the
community to set our agenda for the next six months.

Thanks!
Dave.

[1] http://maemo.org/news/announcements/maemo-brainstorm/
[2] http://wiki.maemo.org/100Days
[3] http://talk.maemo.org/showthread.php?p=664650
[4] http://talk.maemo.org/forumdisplay.php?f=16
[5] http://wiki.maemo.org/Brainstorm_2010

-- 
maemo.org docsmaster
Email: dne...@maemo.org
Jabber: bo...@jabber.org

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


Re: Proposed reorganization of documentation bug reporting

2010-05-18 Thread Andre Klapper
Am Dienstag, den 18.05.2010, 13:42 +0200 schrieb Dave Neary:
> jarmo.ti...@nokia.com wrote:
> Looking at this: http://is.gd/cevlF it appears that these bugs are being
> opened against applications which do not follow UI specifications,
> rather than being documentation bugs.

No, as these reports are about issues in the (mostly non-public) UI
specifications of applications.
It's correct that they have nothing to do with public documentation.

andre
-- 
Andre Klapper (maemo.org bugmaster)

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


RE: Proposed reorganization of documentation bug reporting

2010-05-18 Thread Andre Klapper
Yo.

Am Dienstag, den 18.05.2010, 12:14 +0200 schrieb jarmo.ti...@nokia.com:
> What I am still wondering is "UI Specification" product under "Maemo
> Official Platform" classification here:
> https://bugs.maemo.org/enter_bug.cgi?classification=Maemo%20Official%
> 20Platform
> Those UI specs are now released as separate tutorials

No. Two UI specs were released, but not all the other internal UI Specs.
But that's up to Nokia and not my business...

> *
> Under classification "Websites" there is wrong description for
> "Maemo.org Website" product saying that documentation bugs should be
> filed under "Development Platform" classification when they now should
> be filed under "Documentation" classification.

Thanks! Fixed.

andre
-- 
Andre Klapper (maemo.org bugmaster)

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


Re: HAL context initializing failure

2010-05-18 Thread Dave Neary
Hi Pallavi,

Pallavi Kandhare wrote:
> I did include the sample code in my previous mail.

This code does not compile - there is no main function declaration, no
header declarations, no compilation instructions... An extra 6 lines and
it is a compilable cut & paste, without it you are requiring people to
know a certain number of things before helping. Like I said, please do a
little extra to make it easy for people to help.

> I am including the code again for your reference:
> I am getting the error "_HAL context initializing failure_" in my below code
> When i debug the code it says unable to access memory at 0x0.


#include 
#include 
#include 

int main (void)
{
> DBusConnection *connection;
> DBusError error;
> LibHalContext *ctx;
> dbus_error_init(&error);
> if((connection = dbus_bus_get(DBUS_BUS_SYSTEM,&error)) == NULL)
> {
> printf("Error %s\n",error.message);
> return 1;
> }
> if ( dbus_error_is_set(&error) )
> {
> printf("Unable to connect to DBus: %s\n",error.message);
> return 1;
> }
> if((ctx = libhal_ctx_new())==NULL)
> {
> printf("Error %s\n",error.message);
> return 1;
> }
> if ( !libhal_ctx_set_dbus_connection(ctx, connection) )
> {
> printf("Error %s\n",error.message);
> return 1;
> }
> if ( !libhal_ctx_init(ctx, &error) )
> {
> printf("Hal context initializing failure %s\n",error.message);
> return 1;
> }
> else
> {
>printf("Success");
>return 0;
> }
}

Compiled with
gcc -ggdb  `pkg-config --cflags hal dbus-1` hal_context.c -o hal_context
`pkg-config --libs hal dbus-1`

It looks like HAL is not running on your OS. This code works fine for
me. Check if hald is in the process list.

Cheers,
Dave.

-- 
maemo.org docsmaster
Email: dne...@maemo.org
Jabber: bo...@jabber.org

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


Re: HAL context initializing failure

2010-05-18 Thread daniel wilms

ext Pallavi Kandhare wrote:


Hi Daniel,
Running in Scratchbox. Using Fremantle X86




HAL is not supported in Scratchbox.

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


Re: Using libosso-abook getting package requirement error

2010-05-18 Thread David King

On 2010-05-18 05:35, Pallavi Kandhare  wrote:

All these steps we had done at the time of installation. When i give foll 
command at prompt the output is as follows:
 
pall...@pallavi-desktop:/scratchbox$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission 
denied)
E: Unable to lock the list directory

pall...@pallavi-desktop:/scratchbox$ fakeroot apt-get install libosso-abook-dev
The program 'fakeroot' can be found in the following packages:
 * fakeroot
 * fakeroot-ng
Try: sudo apt-get install 
fakeroot: command not found

pall...@pallavi-desktop:/scratchbox$
 
Are there any PKG_CHECK_MODULES and libraries to be added in the code?


Are you sure that you are executing the commands _inside_ Scratchbox? 
That is, have you executed:


/scratchbox/login

before trying any of the commands above? I ask because your prompt 
does not look like a regular scratchbox prompt, which includes the 
target name.


--
David King | http://amigadave.com/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Proposed reorganization of documentation bug reporting

2010-05-18 Thread Jarmo.Tikka
Hi,

> -Original Message-
> From: Dave Neary [mailto:nea...@gmail.com] On Behalf Of ext Dave Neary
> Sent: 18 May, 2010 14:42
> Subject: Re: Proposed reorganization of documentation bug reporting
> 
> Hi,
> 
> jarmo.ti...@nokia.com wrote:
> > What I am still wondering is "UI Specification" product under "Maemo
> > Official Platform" classification here:
> >
> https://bugs.maemo.org/enter_bug.cgi?classification=Maemo%20Official%20
> Platform
> 
> Looking at this: http://is.gd/cevlF it appears that these bugs are
> being
> opened against applications which do not follow UI specifications,
> rather than being documentation bugs.

Thanks, I did not check those actual bugs this product has.
> 
> I suggest leaving them there - and if people really feel there is
> confusion, changing the name of the component to just "UI".

This is ok for me as these are really Maemo application bugs not documentation 
bugs.

Our UI team together with Maemo community can decide do they want to have this 
product here or should these bugs be reported to applications that do not 
follow specifications.

Cheers,
//Jarmo

> 
> Cheers,
> Dave.
> 
> --
> maemo.org docsmaster
> Email: dne...@maemo.org
> Jabber: bo...@jabber.org

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


Re: HAL context initializing failure

2010-05-18 Thread Pallavi Kandhare
Hi Dave,
 
I did include the sample code in my previous mail. 
 
http://www.gossamer-threads.com/lists/maemo/developers/61353
 
I am including the code again for your reference:
I am getting the error "HAL context initializing failure" in my below code
When i debug the code it says unable to access memory at 0x0.


Code: 

DBusConnection *connection; 
DBusError error; 
LibHalContext *ctx; 
dbus_error_init(&error); 
if((connection = dbus_bus_get(DBUS_BUS_SYSTEM,&error)) == NULL) 
{ 
printf("Error %s\n",error.message); 
return 1; 
} 
if ( dbus_error_is_set(&error) ) 
{ 
printf("Unable to connect to DBus: %s\n",error.message); 
return 1; 
} 
if((ctx = libhal_ctx_new())==NULL) 
{ 
printf("Error %s\n",error.message); 
return 1; 
} 
if ( !libhal_ctx_set_dbus_connection(ctx, connection) ) 
{ 
printf("Error %s\n",error.message); 
return 1; 
} 
if ( !libhal_ctx_init(ctx, &error) ) 
{ 
printf("Hal context initializing failure %s\n",error.message); 
return 1; 
} 
else
{
   printf("Success");
   return 0;
}
 
Thanks & Regards.


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


Re: Using libosso-abook getting package requirement error

2010-05-18 Thread Pallavi Kandhare

Hi David,
All these steps we had done at the time of installation. When i give foll 
command at prompt the output is as follows:
 
pall...@pallavi-desktop:/scratchbox$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission 
denied)
E: Unable to lock the list directory

pall...@pallavi-desktop:/scratchbox$ fakeroot apt-get install libosso-abook-dev
The program 'fakeroot' can be found in the following packages:
 * fakeroot
 * fakeroot-ng
Try: sudo apt-get install 
fakeroot: command not found

pall...@pallavi-desktop:/scratchbox$ 
 
Are there any PKG_CHECK_MODULES and libraries to be added in the code?
 
Sorry for the trouble.
 
Regards,
Pallavi.
Thanks.


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


Re: HAL context initializing failure

2010-05-18 Thread Dave Neary
Hi,

Pallavi Kandhare wrote:
> Please can anybody tell me why am I getting this error in foll code?

Which error? Please try to be precise about what you have done, and what
problem you are having, it reduces the work people need to do to help you.

Please include a compilable code sample if you would like people to test.

Thanks!
Dave.

-- 
maemo.org docsmaster
Email: dne...@maemo.org
Jabber: bo...@jabber.org

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


Re: Using libosso-abook getting package requirement error

2010-05-18 Thread David King

On 2010-05-18 04:47, Pallavi Kandhare  wrote:

No i dont have it installed.
I had a look at this site:
http://62.61.85.167/platform/docs/howtos/howto_using_abook.html#basics
 
and they said to follow this link : Using Nokia binaries in rootstrap
 
But this link is not working.
Pls can u guide me regarding how to install the required things?


Sure. You must install the nokia-binaries package, from the Nokia 
binaries repository. Accept the license agreement at:


http://tablets-dev.nokia.com/eula/index.php

Add the URL that you get from that page to the /etc/apt/source.list 
file inside Scratchbox. Inside Scratchbox, you must then execute:


apt-get update
fakeroot apt-get install libosso-abook-dev

You can install all the other Nokia binaries and application with:

fakeroot apt-get install nokia-binaries nokia-apps

This information is in the wiki article regarding Maemo SDK 
installation, but not very well organised, so I will fix this up 
soon:


http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation#Manual_Installation

--
David King | http://amigadave.com/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Getting the siz of the Memory Card

2010-05-18 Thread Sampo Savola


If you are using Qt you may get that information also with 
QSystemStorageInfo class.


http://doc.qt.nokia.com/qtmobility-1.0/qsystemstorageinfo.html


//Sampo

ext Thomas Perl wrote:

2010/5/18 sandeep kodimela :
  

I'm just trying to find out the size of the memory card,and the amount used and 
the amount free.Can anyone suggest me with the API for the same.
Thanks in advance



Check the output of the "df" command. You can also use GIO:

http://library.gnome.org/devel/gio/unstable/GFile.html#g-file-query-filesystem-info

HTH.
Thomas
___
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: Proposed reorganization of documentation bug reporting

2010-05-18 Thread Jarmo.Tikka
Hi,

I need to stop replying to my own emails soon but those UI Guides disappeared 
again :).

We continue investigating which server in our cluster has not deployed those UI 
guides properly.

Cheers,
//Jarmo

> -Original Message-
> From: Tikka Jarmo (Nokia-D/Helsinki)
> Sent: 18 May, 2010 14:55
> To: 'ext Andre Klapper'
> Cc: 'maemo-developers@maemo.org'; 'dne...@maemo.org'; 'maemo-
> commun...@maemo.org'; Hamalainen Aapi (EXT-Nomovok/Helsinki); 'ext
> Saine Jussi'
> Subject: RE: Proposed reorganization of documentation bug reporting
> 
> Hi again,
> 
> > -Original Message-
> > From: Tikka Jarmo (Nokia-D/Helsinki)
> > Sent: 18 May, 2010 13:15
> >
> > Those UI specs are now released as separate tutorials "Maemo Hildon
> 2.2
> > UI Guide" and "Maemo Hildon 2.2 UI Widget Guide" in Maemo Info
> Center.
> > See http://library.maemodocs.nokia.com/fremantle/index.jsp?nav=/1
> >
> > Bugs for these Hildon guides should be reported under "Documentation"
> > classification to the "Tutorials" product.
> >
> > NOTICE there seems to be some hickup either in Maemo Info Center
> > deployment for our Info Center clusters or in Akamai world wide cache
> > network configuration because I cannot find those docs from Info
> Center
> > anymore. They are anyhow still downloadable from here
> >
> http://library.maemodocs.nokia.com/documents/fremantle/Maemo_5_SDK_Docu
> > mentation/
> >
> > I will try to check which problem this is and fix it asap.
> 
> Those Hildon 2.2. UI docs are back again in Info Center.
> http://library.maemodocs.nokia.com/fremantle/index.jsp?nav=/1
> 
> We are still investigating what actually was wrong in Info Center to be
> able to prevent this to happen again. Problem was not related to Akamai
> cache servers but most probably Info Center cluster deployment or our
> loadbalancer configurations was somewhat broken.
> 
> Anyhow docs are back again for people to file bugs...
> 
> Cheers,
> //JAmro
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Proposed reorganization of documentation bug reporting

2010-05-18 Thread Jarmo.Tikka
Hi again,

> -Original Message-
> From: Tikka Jarmo (Nokia-D/Helsinki)
> Sent: 18 May, 2010 13:15
> 
> Those UI specs are now released as separate tutorials "Maemo Hildon 2.2
> UI Guide" and "Maemo Hildon 2.2 UI Widget Guide" in Maemo Info Center.
> See http://library.maemodocs.nokia.com/fremantle/index.jsp?nav=/1
> 
> Bugs for these Hildon guides should be reported under "Documentation"
> classification to the "Tutorials" product.
> 
> NOTICE there seems to be some hickup either in Maemo Info Center
> deployment for our Info Center clusters or in Akamai world wide cache
> network configuration because I cannot find those docs from Info Center
> anymore. They are anyhow still downloadable from here
> http://library.maemodocs.nokia.com/documents/fremantle/Maemo_5_SDK_Docu
> mentation/
> 
> I will try to check which problem this is and fix it asap.

Those Hildon 2.2. UI docs are back again in Info Center. 
http://library.maemodocs.nokia.com/fremantle/index.jsp?nav=/1

We are still investigating what actually was wrong in Info Center to be able to 
prevent this to happen again. Problem was not related to Akamai cache servers 
but most probably Info Center cluster deployment or our loadbalancer 
configurations was somewhat broken.

Anyhow docs are back again for people to file bugs...

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


Re: Getting the siz of the Memory Card

2010-05-18 Thread Thomas Perl
2010/5/18 sandeep kodimela :
> I'm just trying to find out the size of the memory card,and the amount used 
> and the amount free.Can anyone suggest me with the API for the same.
> Thanks in advance

Check the output of the "df" command. You can also use GIO:

http://library.gnome.org/devel/gio/unstable/GFile.html#g-file-query-filesystem-info

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


Re: Using libosso-abook getting package requirement error

2010-05-18 Thread David King

On 2010-05-18 04:37, Pallavi Kandhare  wrote:

I want to display all contacts from phone. For that I am using libosso-abook. I 
am adding following lines to configure.ac
 
PKG_CHECK_MODULES(libosso, osso-addressbook-1.0)
 
and to Makefile.am :
myproj_LDADD = \
 $(LIBOSSO_LIBS)
 
But i get foll error:
Package requirements (osso-addressbook-1.0) were not met: configure.ac 
 
Pls do help me in this matter


Do you have libosso-abook-dev installed, for the development 
headers, pkg-config file, etc.?


http://maemo.org/packages/view/libosso-abook-dev/

--
David King | http://amigadave.com/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Proposed reorganization of documentation bug reporting

2010-05-18 Thread Dave Neary
Hi,

jarmo.ti...@nokia.com wrote:
> What I am still wondering is "UI Specification" product under "Maemo
> Official Platform" classification here:
>
https://bugs.maemo.org/enter_bug.cgi?classification=Maemo%20Official%20Platform

Looking at this: http://is.gd/cevlF it appears that these bugs are being
opened against applications which do not follow UI specifications,
rather than being documentation bugs.

I suggest leaving them there - and if people really feel there is
confusion, changing the name of the component to just "UI".

Cheers,
Dave.

-- 
maemo.org docsmaster
Email: dne...@maemo.org
Jabber: bo...@jabber.org

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


Using libosso-abook getting package requirement error

2010-05-18 Thread Pallavi Kandhare
I want to display all contacts from phone. For that I am using libosso-abook. I 
am adding following lines to configure.ac 
 
PKG_CHECK_MODULES(libosso, osso-addressbook-1.0)
 
and to Makefile.am :
myproj_LDADD = \
 $(LIBOSSO_LIBS)
 
But i get foll error:
Package requirements (osso-addressbook-1.0) were not met: configure.ac 
 
Pls do help me in this matter
 
Thanks.


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


Re: HAL context initializing failure

2010-05-18 Thread daniel wilms

Hi,

ext Pallavi Kandhare wrote:

Please can anybody tell me why am I getting this error in foll code?
Your help is appreciated


Code:
DBusConnection *connection;
DBusError error;
LibHalContext *ctx;
dbus_error_init(&error);
if((connection = dbus_bus_get(DBUS_BUS_SYSTEM,&error)) == NULL)
{
printf("Error %s\n",error.message);
return 1;
}
if ( dbus_error_is_set(&error) )
{
printf("Unable to connect to DBus: %s\n",error.message);
return 1;
}
if((ctx = libhal_ctx_new())==NULL)
{
printf("Error %s\n",error.message);
return 1;
}
if ( !libhal_ctx_set_dbus_connection(ctx, connection) )
{
printf("Error %s\n",error.message);
return 1;
}
if ( !libhal_ctx_init(ctx, &error) )
{
printf("Hal context initializing failure %s\n",error.message);
return 1;
}




Where are you running it, inside scratchbox or on device?

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


HAL context initializing failure

2010-05-18 Thread Pallavi Kandhare
Please can anybody tell me why am I getting this error in foll code? 
Your help is appreciated 


Code: 

DBusConnection *connection;
DBusError error;
LibHalContext *ctx;
dbus_error_init(&error);
if((connection = dbus_bus_get(DBUS_BUS_SYSTEM,&error)) == NULL)
{
printf("Error %s\n",error.message);
return 1;
}
if ( dbus_error_is_set(&error) )
{
printf("Unable to connect to DBus: %s\n",error.message);
return 1;
}
if((ctx = libhal_ctx_new())==NULL)
{
printf("Error %s\n",error.message);
return 1;
}
if ( !libhal_ctx_set_dbus_connection(ctx, connection) )
{
printf("Error %s\n",error.message);
return 1;
}
if ( !libhal_ctx_init(ctx, &error) )
{
printf("Hal context initializing failure %s\n",error.message);
return 1;
}


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


Re: Getting the running Processes information In maemo

2010-05-18 Thread Kimmo Hämäläinen
On Tue, 2010-05-18 at 08:41 +0200, ext sandeep kodimela wrote:
> Hi all,
> I want to get the list of running processes as well as Running applications 
> from the phone.
> Can anybody suggest where do i start?
> Thanks in advance

For getting list of applications (application windows), see the e-mail

   Subject: 
Re: Displaying the information of
the MMC card and the phone memory
  Date: 
Wed, 12 May 2010 14:43:57 +0200
(15:43 EEST)

on this mailing list. Hildon-desktop uses a similar approach.

-Kimo

> 
> Regards
> Sandeep  
> 
> ___
> 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: Proposed reorganization of documentation bug reporting

2010-05-18 Thread Jarmo.Tikka
Hi again,

> From: Tikka Jarmo (Nokia-D/Helsinki)
> I will check new structure today or tomorrow.

I just went through new documentation structure in Maemo Bugzilla.

Actual structure under "Documentation" classification looks fine for me.
https://bugs.maemo.org/enter_bug.cgi?classification=Documentation

*
What I am still wondering is "UI Specification" product under "Maemo Official 
Platform" classification here: 
https://bugs.maemo.org/enter_bug.cgi?classification=Maemo%20Official%20Platform

Those UI specs are now released as separate tutorials "Maemo Hildon 2.2 UI 
Guide" and "Maemo Hildon 2.2 UI Widget Guide" in Maemo Info Center. See 
http://library.maemodocs.nokia.com/fremantle/index.jsp?nav=/1.

Bugs for these Hildon guides should be reported under "Documentation" 
classification to the "Tutorials" product.

NOTICE there seems to be some hickup either in Maemo Info Center deployment for 
our Info Center clusters or in Akamai world wide cache network configuration 
because I cannot find those docs from Info Center anymore. They are anyhow 
still downloadable from here 
http://library.maemodocs.nokia.com/documents/fremantle/Maemo_5_SDK_Documentation/

I will try to check which problem this is and fix it asap.

*
Under classification "Websites" there is wrong description for "Maemo.org 
Website" product saying that documentation bugs should be filed under 
"Development Platform" classification when they now should be filed under 
"Documentation" classification.

Cheers,
//Jarmo


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


Getting the siz of the Memory Card

2010-05-18 Thread sandeep kodimela
Hi all,
I'm just trying to find out the size of the memory card,and the amount used and 
the amount free.Can anyone suggest me with the API for the same.
Thanks in advance

Cheers
Sandy

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


Package web interface and conditional dependencies

2010-05-18 Thread Cornelius Hald

Hi,

it looks like the package interface has problems with conditional 
dependencies. Should I report it as bug or is it already worked on?


http://maemo.org/packages/package_instance/view/diablo_extras-devel_free_armel/conboy/0.6.3.9-1/

It shows "Warning: The package has missing dependencies!". However, I 
had no troubles installing it on my N810.


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