Hack-A-N900/Development Notes: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 16: Zeile 16:
To install TpSession using scratchbox you need to install TelepathyQt4 on your workstation (for emulator), apt-get install libtelepathy-qt4-dev, and you need to install the nokia closed source libs for your target (requires serial number). Then compile TpSession (git clone https://vcs.maemo.org/git/tpsession) for your workstation and/or target. Then you have to copy the lib to the root dir of your target and add the location to the INCLUDES of the .pro file for the project. (thread discussion[http://talk.maemo.org/showthread.php?t=56602]).  Command log for using lib on local emulator:
To install TpSession using scratchbox you need to install TelepathyQt4 on your workstation (for emulator), apt-get install libtelepathy-qt4-dev, and you need to install the nokia closed source libs for your target (requires serial number). Then compile TpSession (git clone https://vcs.maemo.org/git/tpsession) for your workstation and/or target. Then you have to copy the lib to the root dir of your target and add the location to the INCLUDES of the .pro file for the project. (thread discussion[http://talk.maemo.org/showthread.php?t=56602]).  Command log for using lib on local emulator:


 
<pre>
sudo apt-get install libtelepathy-qt4-dev libsqlite3-dev
sudo apt-get install libtelepathy-qt4-dev libsqlite3-dev
git clone https://vcs.maemo.org/git/tpsession
git clone https://vcs.maemo.org/git/tpsession
Zeile 22: Zeile 22:
find ./ -name Makefile -exec rm -f {} \;
find ./ -name Makefile -exec rm -f {} \;
qmake && make && make install
qmake && make && make install
</pre>


Might need to edit the INCLUDES in projects .pro file. For using on a target you need to install the nokia closed source libs and recompile tpsession for the phone and then:
Might need to edit the INCLUDES in projects .pro file. For using on a target you need to install the nokia closed source libs and recompile tpsession for the phone and then:
 
<pre>
cp tpsession/libtpsession.so*  
cp tpsession/libtpsession.so*  
 
</pre>


==== In MADDE? ====
==== In MADDE? ====

Version vom 12. Oktober 2010, 02:05 Uhr

N900 Development Notes

Not meant as a public resources. Just cluttered notes (meaning written in a hurry) that src, cyphunk are sharing with each other for remote collaboration on a project.

SDK Types

Nokia have switch mental frames of thought for how they want to develop their phones and the result is a few different paths one must choose from.

  • Maemo Scratchbox
  • Maemo MADDE
  • Meego SDK

Installing libraries

There are the nokia closed-source libraries and other libraries from the community that you might want to use in your application. For example, I would like to use TpSession[1] which is an abstraction for the TelepathyQt4 API letting one manage sms's, phone calls, etc.

In Scratchbox

To install TpSession using scratchbox you need to install TelepathyQt4 on your workstation (for emulator), apt-get install libtelepathy-qt4-dev, and you need to install the nokia closed source libs for your target (requires serial number). Then compile TpSession (git clone https://vcs.maemo.org/git/tpsession) for your workstation and/or target. Then you have to copy the lib to the root dir of your target and add the location to the INCLUDES of the .pro file for the project. (thread discussion[2]). Command log for using lib on local emulator:

sudo apt-get install libtelepathy-qt4-dev libsqlite3-dev
git clone https://vcs.maemo.org/git/tpsession
cd tpsession/tpsession-0.1/
find ./ -name Makefile -exec rm -f {} \;
qmake && make && make install

Might need to edit the INCLUDES in projects .pro file. For using on a target you need to install the nokia closed source libs and recompile tpsession for the phone and then:

cp tpsession/libtpsession.so* 

In MADDE?

Qt API's

Saving Application Settings

[3]