Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.5k Posts
  • Incrementing String value

    Solved
    14
    0 Votes
    14 Posts
    2k Views
    sankarapandiyanS
    please mark the topic as solved
  • Qt OpenGL Graphics Application on Linux

    Unsolved
    2
    0 Votes
    2 Posts
    510 Views
    SGaistS
    Hi and welcome to devnet, I would check with the board documentation whether there's some mirroring that could be implemented at the lowest level.
  • How to get WiFi MAC address of Android device ?

    Solved
    17
    0 Votes
    17 Posts
    8k Views
    raven-worxR
    @Pradeep-P-N Since Android 6.0: https://developer.android.com/about/versions/marshmallow/android-6.0-changes#behavior-hardware-id To provide users with greater data protection, starting in this release, Android removes programmatic access to the device’s local hardware identifier for apps using the Wi-Fi and Bluetooth APIs. The WifiInfo.getMacAddress() and the BluetoothAdapter.getAddress() methods now return a constant value of 02:00:00:00:00:00. To access the hardware identifiers of nearby external devices via Bluetooth and Wi-Fi scans, your app must now have the ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permissions: WifiManager.getScanResults() BluetoothDevice.ACTION_FOUND BluetoothLeScanner.startScan() Note: When a device running Android 6.0 (API level 23) initiates a background Wi-Fi or Bluetooth scan, the operation is visible to external devices as originating from a randomized MAC address. I recommend you use Java (JNI) to get the WiFi MAC Address. (Add android.permission.ACCESS_WIFI_STATE permission) WifiManager manager = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiInfo info = manager.getConnectionInfo(); String address = info.getMacAddress(); Note: some Android devices also have a wired network connection (mostly Android TV devices though)
  • QT5, eglfs no DRM device found

    Unsolved
    2
    0 Votes
    2 Posts
    807 Views
    sierdzioS
    Do you have Qt's EGLFS platform plugin compiled and working? Do you have OpenGL drivers installed via raspi-config?
  • RTSP H264 on Android device

    Unsolved
    1
    0 Votes
    1 Posts
    399 Views
    No one has replied
  • How to get data from URL/.php file and display in my fields

    Solved
    30
    0 Votes
    30 Posts
    7k Views
    VineelaV
    @jsulm yes thnks i cleared the combo box before navigating to that page its ok now
  • Unable to use Data Breakpoints

    Unsolved debugger gdb segfault breakpoint
    1
    0 Votes
    1 Posts
    949 Views
    No one has replied
  • change ApplicationWindow size on Android

    Solved android screen window
    5
    0 Votes
    5 Posts
    1k Views
    raven-worxR
    @morte ApplicationWindow { Item { id: banner x: 0; y: 0 width: parent width; height: 50 } Item { id: content width: parent.width anchors { top: banner.bottom bottom: parent.bottom } } }
  • QtCreator not detecting android GCC

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    K
    @J.Hilk Here is that output: 09:30:03: Running steps for project hellotr... 09:30:03: Configuration unchanged, skipping qmake step. 09:30:03: Starting: "C:\Android\ndk-bundle\prebuilt\windows-x86_64\bin\make.exe" -j4 make: Nothing to be done for `first'. 09:30:04: The process "C:\Android\ndk-bundle\prebuilt\windows-x86_64\bin\make.exe" exited normally. 09:30:04: Starting: "C:\Android\ndk-bundle\prebuilt\windows-x86_64\bin\make.exe" "INSTALL_ROOT=C:/Qt/Examples/Qt-5.12.0/linguist/build-hellotr-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-build" install C:\Android\ndk-bundle\prebuilt\windows-x86_64\bin\make.exe: Interrupt/Exception caught (code = 0xc00000fd, addr = 0000000000420466) 09:30:06: The process "C:\Android\ndk-bundle\prebuilt\windows-x86_64\bin\make.exe" exited with code 255. Error while building/deploying project hellotr (kit: Android for armeabi-v7a (Clang Qt 5.12.0 for Android ARMv7)) When executing step "Copy application data" 09:30:06: Elapsed time: 00:03.
  • building android 64 bit

    Solved android 64 bits
    3
    0 Votes
    3 Posts
    2k Views
    J
    @koahnig So there's config and rebuild needed. Thank you very much for the helpful reply.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    20 Views
    No one has replied
  • Qt NFC, le_oob and QLowEnergyController, possible with current QT BLE framework?

    Unsolved
    1
    0 Votes
    1 Posts
    184 Views
    No one has replied
  • Android not working in Qt5.11.1

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    K
    @jsulm sadly, that didn't work for me either.
  • Analog Clock example; Build & Run on Android

    Unsolved androidqt
    3
    0 Votes
    3 Posts
    1k Views
    B
    There is a Bug filed called "Can't debug Android App": https://bugreports.qt.io/browse/QTCREATORBUG-20379 In one of the comments someone mentions that you'll need to manually update the AndroidManifest.xml file to add the attribute android:debuggable="true" To the Application tag. This gets the Application deployed and starts it up. But looks like the debugger still can't attach. And it also looks like the Manifest gets autogenerated and needs to be updated each time you try to debug. Hopefully there is something one can set to adjust the automatic generation so you don't have to edit that manifest each time you need to deploy.
  • How does the concept of random address type match the whitelist for a BLE peripheral?

    Unsolved
    1
    0 Votes
    1 Posts
    292 Views
    No one has replied
  • QLabel inserts (automatic) a blank line

    Unsolved
    8
    0 Votes
    8 Posts
    878 Views
    P
    EDIT: I noticed something (probably) quite important. If I build my UI so that it is not embraced by a vertical layout, then the QLabels will be displayed correctly. But if I build them up so that all elements are spanned by a vertical layout, then there is the rendering problem (as described above). This extremely strange behavior is comprehensible and man can be switched back and forth: with QVBoxLayout-> display error, without QVBoxLayout-> no errors, and so on ... Here you can see the UI-Code without vertical layout around the UI-elements: [?xml version="1.0" encoding="UTF-8"?] [ui version="4.0"] [class]PrjNameMeldung1_5[/class] [widget class="QMainWindow" name="PrjNameMeldung1_5"] [property name="geometry"] [rect] [x]0[/x] [y]0[/y] [width]375[/width] [height]444[/height] [/rect] [/property] [property name="windowTitle"] [string]MainWindow[/string] [/property] [widget class="QWidget" name="centralwidget"] [widget class="QWidget" name="gridLayoutWidget"] [property name="geometry"] [rect] [x]9[/x] [y]25[/y] [width]361[/width] [height]401[/height] [/rect] [/property] [layout class="QGridLayout" name="gridLayout"] [item row="3" column="0"] [widget class="PrjListControl" name="listWidget"] [property name="sizePolicy"] [sizepolicy hsizetype="Expanding" vsizetype="Expanding"] [horstretch]0[/horstretch] [verstretch]0[/verstretch] [/sizepolicy] [/property] [/widget] [/item] [item row="1" column="0"] [widget class="QLabel" name="m_editTPAggregat"] [property name="text"] [string]TPAggregat[/string] [/property] [/widget] [/item] [item row="2" column="0"] [widget class="QLabel" name="m_labelAuswahl"] [property name="text"] [string]Baugruppe[/string] [/property] [property name="alignment"] [set]Qt::AlignCenter[/set] [/property] [/widget] [/item] [item row="0" column="0"] [widget class="QLabel" name="m_editTP"] [property name="text"] [string]TP[/string] [/property] [property name="alignment"] [set]Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop[/set] [/property] [/widget] [/item] [/layout] [/widget] [widget class="PrjToolBar" name="m_groupMenuBar" native="true"] [property name="geometry"] [rect] [x]9[/x] [y]425[/y] [width]357[/width] [height]16[/height] [/rect] [/property] [property name="sizePolicy"] [sizepolicy hsizetype="Preferred" vsizetype="Fixed"] [horstretch]0[/horstretch] [verstretch]0[/verstretch] [/sizepolicy] [/property] [property name="minimumSize"] [size] [width]0[/width] [height]10[/height] [/size] [/property] [/widget] [widget class="PrjNavigationBar" name="m_groupWindowTitle" native="true"] [property name="geometry"] [rect] [x]9[/x] [y]9[/y] [width]357[/width] [height]16[/height] [/rect] [/property] [property name="sizePolicy"] [sizepolicy hsizetype="Preferred" vsizetype="Fixed"] [horstretch]0[/horstretch] [verstretch]0[/verstretch] [/sizepolicy] [/property] [property name="minimumSize"] [size] [width]0[/width] [height]10[/height] [/size] [/property] [/widget] [/widget] [/widget] [customwidgets] [customwidget] [class]PrjToolBar[/class] [extends]QWidget[/extends] [header location="global"]controls/Prjtoolbar.h[/header] [container]1[/container] [/customwidget] [customwidget] [class]PrjNavigationBar[/class] [extends]QWidget[/extends] [header location="global"]controls/Prjnavigationbar.h[/header] [container]1[/container] [/customwidget] [customwidget] [class]PrjListControl[/class] [extends]QListWidget[/extends] [header location="global"]controls/Prjlistcontrol.h[/header] [/customwidget] [/customwidgets] [resources/] [connections/] [/ui] And here you can see the UI-Code with vertical layout around the UI-elements: [?xml version="1.0" encoding="UTF-8"?] [ui version="4.0"] [class]PrjNameMeldung1_5[/class] [widget class="QMainWindow" name="PrjNameMeldung1_5"] [property name="geometry"] [rect] [x]0[/x] [y]0[/y] [width]375[/width] [height]444[/height] [/rect] [/property] [property name="windowTitle"] [string]MainWindow[/string] [/property] [widget class="QWidget" name="centralwidget"] [layout class="QVBoxLayout" name="verticalLayout"] [item] [widget class="PrjNavigationBar" name="m_groupWindowTitle" native="true"] [property name="sizePolicy"] [sizepolicy hsizetype="Preferred" vsizetype="Fixed"] [horstretch]0[/horstretch] [verstretch]0[/verstretch] [/sizepolicy] [/property] [property name="minimumSize"] [size] [width]0[/width] [height]10[/height] [/size] [/property] [/widget] [/item] [item] [layout class="QGridLayout" name="gridLayout"] [item row="3" column="0"] [widget class="PrjListControl" name="listWidget"] [property name="sizePolicy"] [sizepolicy hsizetype="Expanding" vsizetype="Expanding"] [horstretch]0[/horstretch] [verstretch]0[/verstretch] [/sizepolicy] [/property] [/widget] [/item] [item row="1" column="0"] [widget class="QLabel" name="m_editTPAggregat"] [property name="text"] [string]TPAggregat[/string] [/property] [/widget] [/item] [item row="2" column="0"] [widget class="QLabel" name="m_labelAuswahl"] [property name="text"] [string]Baugruppe[/string] [/property] [property name="alignment"] [set]Qt::AlignCenter[/set] [/property] [/widget] [/item] [item row="0" column="0"] [widget class="QLabel" name="m_editTP"] [property name="text"] [string]TP[/string] [/property] [property name="alignment"] [set]Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop[/set] [/property] [/widget] [/item] [/layout] [/item] [item] [widget class="PrjToolBar" name="m_groupMenuBar" native="true"] [property name="sizePolicy"] [sizepolicy hsizetype="Preferred" vsizetype="Fixed"] [horstretch]0[/horstretch] [verstretch]0[/verstretch] [/sizepolicy] [/property] [property name="minimumSize"] [size] [width]0[/width] [height]10[/height] [/size] [/property] [/widget] [/item] [/layout] [/widget] [/widget] [customwidgets] [customwidget] [class]PrjToolBar[/class] [extends]QWidget[/extends] [header location="global"]controls/Prjtoolbar.h[/header] [container]1[/container] [/customwidget] [customwidget] [class]PrjNavigationBar[/class] [extends]QWidget[/extends] [header location="global"]controls/Prjnavigationbar.h[/header] [container]1[/container] [/customwidget] [customwidget] [class]PrjListControl[/class] [extends]QListWidget[/extends] [header location="global"]controls/Prjlistcontrol.h[/header] [/customwidget] [/customwidgets] [resources/] [connections/] [/ui]
  • Android: how to flush cached data?

    Unsolved android apk install
    1
    0 Votes
    1 Posts
    487 Views
    No one has replied
  • Qt Cross Compilation for Tegra3 - Cannot find crt1.o

    Unsolved
    1
    0 Votes
    1 Posts
    442 Views
    No one has replied
  • 0 Votes
    7 Posts
    6k Views
    L
    @Sungyong I was stuck like you and finally found a workaround like this: Install "Android armV7" and "x86" with Qt MaintenanceTool (under Qt X version). Now you will see the two kits added to QtCreator. I selected armV7 and build went fine.
  • ANDROID TORCH PROBLEM.

    Unsolved
    3
    0 Votes
    3 Posts
    572 Views
    E
    @Pablo-J-Rogina I've try to do this: Camera { id: camera viewfinder.resolution: "640x480" imageProcessing.whiteBalanceMode: CameraImageProcessing.WhiteBalanceFlash flash.mode: Camera.FlashTorch and i create a function for force the flash on function flash_start() { camera.unlock() camera.flash.mode = Camera.FlashOn camera.flash.mode = Camera.FlashTorch } But nothing works.