Reply
Thread Tools Search this Thread
Posts: 32 | Thanked: 6 times | Joined on Aug 2007
#1
Hello all,
I want to develop a plug-in for home area (Home Screen applet) of the internet tablet N810. I have some progress. I have two source file, "*.h" and "*.c". There are some code referred by web. There is no main() function there. According to the web "http://maemo.org/api_refs/5.0/beta/tutorial/html/ch11.html" i have made a "*.so" by the command inside scratchbox "[sbox-FREMANTLE_X86: ~] > gcc -shared `pkg-config gtk+-2.0 libosso hildon-1 libhildondesktop-1 --libs --cflags` lib-timeout-home-applet.c -o lib-timeout-home-applet.so". I have a *.desktop file too. The desktop entry is:
[Desktop Entry]
Name=TimeOut
Comment=Execute an action at a given time
Type=default
X-Path=lib-timeout-home-applet.so

i have put the *.so inside "/usr/lib/hildon-desktop" and the *.desktop inside "/usr/share/application/hildon-home". The application is showing in the "Home->Select Applets" list of the device. But when i am selecting the application it is not launching. What may be the problem? I would be grateful for any kind of help. Please.......
Golam Sarower
 
Posts: 432 | Thanked: 640 times | Joined on Mar 2009
#2
but in which target are you running the widget?? Or are you running it on the device??

cheers daniel
 
Posts: 32 | Thanked: 6 times | Joined on Aug 2007
#3
Hi daniel,
i have tried to run it in the device. Actually i want to run both in device and emulator. How i can do that? How i can run in a target (maemo sdk 5). I have seen no home area in the emulator of sdk 5.

Sarower
 
Posts: 432 | Thanked: 640 times | Joined on Mar 2009
#4
Hi,

please use the SDK according to the version of your device. I don't know which device you have, but most likely it will be Diablo. If you don't know, which version you are running on your device you get some information here.

When you have set up the SDK, then you have two targets (armel and X86). I saw that you compiled in the X86. For application testing within the SDK the X86 target is fine and you should do it there. But if you want to compile for your device use the ARMEL target. Further and more detailed information you find in the release notes.

If you have already a device I would suggest to try it first in this environment and then I can help you with the Fremantle things. But be aware that Maemo 5 will not work with the older devices. Why?

So try this first and if you have further questions/problems, don't hesitate to ask.

Cheers Daniel
 

The Following 2 Users Say Thank You to danielwilms For This Useful Post:
Posts: 32 | Thanked: 6 times | Joined on Aug 2007
#5
Hi daniel,
Thank you very much. I am trying it in the emulator (In PC). Hope that I will success. Of course i will knock you. It would be better if I have any contact ID (mail or skype ID) of you please.

Cheers
Sarower
 
Posts: 432 | Thanked: 640 times | Joined on Mar 2009
#6
just ping me in irc.

cheers daniel
 
Posts: 32 | Thanked: 6 times | Joined on Aug 2007
#7
Hi Daniel,
Thank you very much for your kind support. It is now ok that i am able to run a plug-in in the emulator of SDK 5. I have run "maemo-example" from "https://garage.maemo.org/svn/maemoexamples/branches/fremantle-sdk-testing/maemo-examples/". Now i need to build a package for the device. I know how to make a package for normal application. What are additional thing that is needed for plug-in? Any help?

Cheers, Sarower
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,642 times | Joined on Jun 2008 @ Praha, Czech Republic
#8
golam.sarower: Just to make sure: You know that Fremantle applications won't easily run on a N810?
__________________
maemo.org Bugmaster
 

The Following 2 Users Say Thank You to Andre Klapper For This Useful Post:
Posts: 432 | Thanked: 640 times | Joined on Mar 2009
#9
Originally Posted by Andre Klapper View Post
golam.sarower: Just to make sure: You know that Fremantle applications won't easily run on a N810?
good point! but anyway, if you're already experienced in packaging, there's information in the wiki, what is special in Maemo packaging. You can check it out there.
 
Posts: 32 | Thanked: 6 times | Joined on Aug 2007
#10
That's good point but is there anything special for home screen applet application ? I have another .h and .c file and I want to use a function from other .c file. but it does not work. Any solution?

Cheers,
Sarower
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 02:53 AM.