I'm seeing code and docs , but in my BB JRE doesn't appear this function in Graphics .
Link of the docs
That is because fillTriangle is part of javax.microedition.lcdui.Graphics ,while you are using net.rim.device.api.ui.Graphics which doesnt have that method.
Related
I'm trying to program the STM32F446 using the CubeMX code generator
and the uVision 5 IDE on Windows 10 in order to use the CAN bus.
I've configured my CubeMX project for the STM32-F446RE Nucleo board.
I have PA12 configured as CAN1TX and PA11 configured as CAN1RX.
The rest of the pins are on default for the STM32-F446RE Nucleo board.
I've generated the code for the uVision 5 IDE.
To get started, I'm trying to follow the instructions on how to use the HAL and driver by following the instructions in the comments of stm32f4xx_hal_can.c as well as the instructions on page 120 of the HAL documentation DocID025834 Rev 5.
This page gives the following instructions:
Enable the CAN controller interface clock using __HAL_RCC_CAN1_CLK_ENABLE() for CAN1, __HAL_RCC_CAN2_CLK_ENABLE() for CAN2 and __HAL_RCC_CAN3_CLK_ENABLE() for CAN3 In case you are using CAN2 only, you have to enable the CAN1 clock.
CAN pins configuration
**Enable the clock for the CAN GPIOs using the following function:
__GPIOx_CLK_ENABLE() **
....
The first substep of step 2 is the problem. I cannot find the function
__GPIOx_CLK_ENABLE(). I've noticed in some other forum that there may be an alternate name for the function, __HAL_RCC_GPIOx_CLK_ENABLE(); but it is not recognized by the IDE either. Am I missing an include file? Is the "x" supposed to be replaced by some number like the pin number of the pin I want to use?
If so, what format should the pin be expressed?
To my further confusion, I've looked at various youtube videos and none of them seem to mention the steps above mentioned in the HAL manual.
I have installed on my IDE the following, amongst others:
Generic:
ARM::CMISS-Driver version 2.3.0 and 2.2.0,
ARM::CMISS version 5.4.0 and version 5.3.0.
Device Specific info:
Keil::STM32F4xx_DFP version 2.13.0.
Keil::STM32NuceloBSP version 1.6.0.
I've been looking around for information but without success,
and would very much appreciate your help.
This is my first post, not sure this is the correct place for it, if not please let me know.
I have C++ code running using VLCLib (from 0.x to 2.2.8) which works the way I intended.
Background info: I simply do a loadlibrary on libvlc.dll and then do a GetProcAddress on the entry points. (This works fine on both 2.2.x and 3.0)
Here is my new issue/question.
Using 2.2.8 I can play a file and it loops infinitely as requested, running the exact same code with VLC 3.0 plays the file only once, and does not loop/repeat.
// This is the line of code responsible for the looping.
pfnlibvlc_media_add_option(m_pVLCMedia, "input-repeat=-1");
In VLC 3.0 I set the libvlc_MediaPlayerEndReached event, but it never hits, I tried other events as sanity checks such as libvlc_MediaPlayerPlaying and this triggered.
Does anyone know if VLC 3.0 functionality has changed? I searched both the VLC wiki and StackOverflow and I can't find anything on this.
Thanks for the advice,
Marc
So, for the VLC >3.0 you can't add the negative value of "input-repeat" to the parameter. Your string must look like input-repeat=65545 References to the issue - https://github.com/ZeBobo5/Vlc.DotNet/issues/96
when my application is deploying in production enviroment, I can´t disable the Swagger documentation . This document is always active .
Please, how can I disable swagger documentation?
I have updated the Appnode/config.ini file with the property
"bw.rest.docApi.port=7777"
to
"#bw.rest.docApi.port=7777" but the swagger is active.
thanks and regards.
Can you please try adding the following to VM arguments (for studio design time) or java.extended.properties (in appnode TRA for runtime) to see if it helps?
-DBW_DISABLE_SWAGGER_UI=true
Hi i am trying to stream video to http webpage, I have tried the following applications source code Android-eye project and im getting the following error.
03-23 17:12:47.672: E/AndroidRuntime(27063): java.lang.UnsatisfiedLinkError: Couldn't load mp3encoder from loader dalvik.system.PathClassLoader[dexPath=/data/app/teaonly.droideye-1.apk,libraryPath=/data/app-lib/teaonly.droideye-1]: findLibrary returned null
Any help would be gratefully appreciated..
If anyone can suggest a tutorial for streaming live camera android video to VLC or webpage that would be great .
Thanks
I resolved this issue by rebuild the JNI code for all those beginners like me who are not NDK friendly,
All you need to install the NDK from below URL:
http://developer.android.com/tools/sdk/ndk/index.html
Please make sure that you have set the environment variables like
NDK_HOME -- \android-ndk-r9 {directory must contain `ndk-build` file}
Path -- %NDK_HOME%
open the command prompt go to the directory where JNI code exist, mine under the below path
cd C:{rootpath}\android-eye-master\jni
C:{rootpath}\android-eye-master\jni>ndk-build
Then refresh your android project in eclipse and run as Android Application.
Fixed the problem, I didn't have the NDK installed .
viTables only seems to work with python 2.5. I have downloaded HDFView, but when I try to open a table I created following this tutorial, I get the following error message:
Failed to open file C:\tutorial.h5
java.io.IOException: Unsupported fileformat - C:\tutorial.h5
Any ideas for getting HDFView to work?
Is there something I need to do when I'm using pyTables from python to make the format more generic?
Any other good HDF viewers?
Btw, I've just discovered PyTables, and I'm really excited about it.
ViTables works for me with python 2.6 on windows. It is supposed also to work with 2.7.
However the version on the official site did not work for me and crashed. In a mailinglist posting I found the link to the berlios ftp server where I got a version that works like a charm.
Have you seen ViTables?
http://vitables.berlios.de/