2

Qt Android (Necessitas) soft-keys control volume.

Posted by George Calugar on 29 February, 2012 in How To, Necessitas |

To control application volume from Necessitas the following changes are required into QtActivity.java file import android.media.AudioManager; public class QtActivity extends Activity { private AudioManager audio; …….. } and add into public boolean onKeyDown(int keyCode, KeyEvent event) following code: public boolean onKeyDown(int keyCode, KeyEvent event) { switch (keyCode) { case KeyEvent.KEYCODE_VOLUME_UP: audio.adjustStreamVolume(AudioManager.STREAM_MUSIC, AudioManager.ADJUST_RAISE, AudioManager.FLAG_SHOW_UI); return true; [...]

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • Digg
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
  • Google

Tags: , ,

6

How to use Java from Qt/C++ in Necessitas

Posted by George Calugar on 28 February, 2012 in How To, Necessitas, Qt |

This steps are valid for Necessitas Alpha 3 Update 4 Add your java class inside org.kde.necessitas.origo (i will refer in this article as JavaManager.Java) Edit qtmain_android.cpp Replace static JavaVM *m_javaVM = NULL; static JNIEnv *m_env = NULL; static jobject objptr; with JavaVM *m_javaVM = NULL; static JNIEnv *m_env = NULL; jobject objptr; //new pointer to [...]

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • Digg
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
  • Google

Tags: , , , ,

2

Qt/Necessitas Lock orientatin in landscape / portrait

Posted by George Calugar on 16 January, 2012 in Necessitas |

Necessitas doesn’t have for the moment an option into Qt Creator to lock the screen orientation, but this can be easily made manually. Go to Android directory (in your project),open AndroidManifest.xml and add next information into activity tag: <activity android:name=”org.kde.necessitas.origo.QtActivity” android:configChanges=”orientation|locale|fontScale|keyboard|keyboardHidden” android:label=”@string/app_name” android:screenOrientation=”portrait” > Share and Enjoy

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • Digg
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
  • Google

Tags: , , ,

0

Necessitas alpha 3 update 3 released today

Posted by George Calugar on 15 January, 2012 in Necessitas, Qt |

Bogdan Vatra just announce the the latest Qt for Android (aka Necessitas) was released today: Hello folks, Today we push the last update of alpha 3 release, this update should fix a few issues of new keyboard implementation [1]. Regarding alpha4 and beta1 schedules, I can’t tell you much today, because it depends *IF* more [...]

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • Digg
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
  • Google

Tags: , , ,

0

Holiday present – Qt Developer Days 2011 videos

Posted by George Calugar on 20 December, 2011 in Qt |

You asked for them, waited for them, and we promised they would be worth the wait. Videos of the tech sessions from Qt Developer Days have been encoded and uploaded, and are now available for your viewing pleasure. The link you need is http://developer.qt.nokia.com/videos Use the Qt Developer Days tag on the left side to filter [...]

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • Digg
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
  • Google

Tags: , , , ,

0

Nokia Qt SDK 1.1.4 a fost lansat

Posted by George Calugar on 8 November, 2011 in Nokia, Qt |

Noul SDK de la Nokia si Digia a fost lansat. Este vorba de Qt SDK 1.1.4, care doreste sa aduca imbunatatiri majore in ceea ce priveste stabilitatea, performantele si functionalitatea. Noul SDK aduce pe langa imbunatarile pentru MeeGo, aduce in cele din urma si Qt 4.7.4 Pentru Symbian ^3/Anna/Belle.   Prin acesasta lansare Nokia reuseste [...]

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • Digg
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
  • Google

Tags: , ,

Copyright © 2011-2012 Symbian, Android &iOS blog – most of them powered by Qt All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.0.1, from BuyNowShop.com.