Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.6k Posts
  • QML or QT widget app to communicate with a arduino (android)

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Using GPS receiver from Android device

    2
    0 Votes
    2 Posts
    1k Views
    M
    I have been trying to find tutorials that explain how to access android methods to access android llibarys. "Qandroidjnienvironment":http://qt-project.org/doc/qt-5/qandroidjnienvironment.html seems to be the way to go but i have no clue how to use it. I would like some help in that too
  • [Solved]How could I include new jar file on android?

    4
    0 Votes
    4 Posts
    4k Views
    M
    I have been looking for ways to use third party library but to no avail. Anybody now links that explain how to use the methods of a third party jar file
  • Unable to debug Android device

    2
    0 Votes
    2 Posts
    2k Views
    C
    Here is the full debug log: "http://pastebin.com/emvK6y5P":http://pastebin.com/emvK6y5P Things seem to be going well, up to the point at which gdb asks: @>&"target remote tcp::5039\n" ~"A program is being debugged already. Kill it? (y or n) [answered Y; input not from terminal]\n"@ And then the debugger exits.
  • Modifying default virtual keyboard on mobile devices

    2
    0 Votes
    2 Posts
    606 Views
    SGaistS
    Hi, If you want to modify the keyboard for your application, you'll have to go native API
  • Blank screen on Android devices. Works on emulator

    7
    0 Votes
    7 Posts
    4k Views
    P
    Qt 5.4 fixes this issue.
  • 0 Votes
    1 Posts
    839 Views
    No one has replied
  • Basic XLib functionality test failed!

    6
    1 Votes
    6 Posts
    21k Views
    K
    Thank you for the reply. I did solve the problem by installing the following libraries @ sudo apt-get install libx11-dev libfreetype6-dev libavahi-gobject-dev libSM-dev libXrender-dev libfontconfig-dev libXext-dev @
  • 0 Votes
    8 Posts
    7k Views
    K
    Hi Greg, Thank you for the response and sorry for delayed reply. I did find the solution. My target was running on 5.05 version of SDK and I was cross compiling for 7.0 version of SDK. Because of mismatch in the version, I was not able to execute the application. After loading the right version of SDK, I was able to run the application in embedded device. Thank you for the help! Regards, Kumar
  • Qt 5.3.2 QML iOS : Manually set keyboard orientation

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QML applications do not run on WEC7

    2
    0 Votes
    2 Posts
    907 Views
    K
    I found the dlls in \windows folder after setting option "show hidden files" and "show protected files". But the issue still exists.
  • Parsing UDP data failure (solved)

    2
    0 Votes
    2 Posts
    619 Views
    H
    I can solved the problem by setting different variable size qint8 a; qint32 b; qint64 c; and push QDatastream into each variable by sequence using in keyword. in>>a>>b>>c
  • Qt works with NFC protocol on android or iphone?

    3
    0 Votes
    3 Posts
    985 Views
    S
    of course i already read it. but i could build and deploy some nfc examples of qt 5.4 on my android phone and it did run without any errors! but actually i'm not sure if it really works on android. -locke [quote author="kolegs" date="1415347785"]acording to the docs http://qt-project.org/doc/qt-5/qtnfc-index.html it does not support Android or iOS[/quote]
  • 0 Votes
    2 Posts
    2k Views
    _
    solution: https://bugreports.qt-project.org/browse/QTBUG-40458
  • How can i fix this problem? *size matter*(!)

    3
    0 Votes
    3 Posts
    923 Views
    S
    sierdzio, thanks for a repley! i installed qt 5.4 beta on my windows system and deployed a new app on my android phone. i see, yes, the square of checkbox gots a little bigger than the past. but still smaller than its text. except for that, there's nothing different. my radiobutton and combobox UIs are still small. is there any other special setting for that? i don't know what to do for it.
  • Limitations with Android and good tutorials

    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    Then it looks like your going to also be interested in the Scene Graph part
  • Video playing from SD Card

    13
    0 Votes
    13 Posts
    3k Views
    SGaistS
    It depends if you are writing the QML by hand or using the qml designer. The video format supported will depend on the backend, so if's linux, it should be what gstreamer supports.
  • Qt 5.x Android: Send e-mail with file attached

    12
    1 Votes
    12 Posts
    6k Views
    N
    [quote author="ltr6" date="1415182621"]What does your AndroidManifest.xml look like? I think in the <activity> you have to set android:name="de.myApp.Mailer"[/quote] You are the man ;-) Thank you. That was exactly the problem. I just added android:name="de.myApp.Mailer" in <activity> of the AndroidManifest.xml and now the Mailer java object gets instantiated like expected. To allow another app (some mailing app) to access the file to attach we must make sure the file is not in the sandboxed app environment. I use for file creation: @ QString tempDir = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation); @ Important: Need to rebuild project Thank you
  • [QT 5.3 for Android] How to change app orientation dynamically?

    3
    0 Votes
    3 Posts
    2k Views
    A
    here is something for you, package com.exercise.AndroidOrientation; import android.app.Activity; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.view.View; import android.widget.Button; public class AndroidOrientationActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button buttonSetPortrait = (Button)findViewById(R.id.setPortrait); Button buttonSetLandscape = (Button)findViewById(R.id.setLandscape); buttonSetPortrait.setOnClickListener(new Button.OnClickListener(){ @Override public void onClick(View arg0) { // TODO Auto-generated method stub setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); }}); buttonSetLandscape.setOnClickListener(new Button.OnClickListener(){ @Override public void onClick(View arg0) { // TODO Auto-generated method stub setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); }}); } }
  • How to rotate screen in Qt5

    5
    0 Votes
    5 Posts
    3k Views
    A
    QScreen *s = app.primaryScreen(); qDebug() << "nativeOrientation: " << s->nativeOrientation(); qDebug() << "orientation: " << s->orientation(); qDebug() << (s->isLandscape(s->nativeOrientation()) ? "nativeOrientation lanscape" : "nativeOrientation not lanscape"); qDebug() << (s->isLandscape(s->orientation()) ? "orientation lanscape" : "orientation not lanscape"); qDebug() << (s->isPortrait(s->nativeOrientation()) ? "nativeOrientation portrait" : "nativeOrientation not portrait"); qDebug() << (s->isPortrait(s->orientation()) ? "orientation portrait" : "orientation not portrait");