native

  1. yo3ggx

    B4J Question MacSigner with native libraries

    I have an application that use two native libraries: jssc.dylib and libopus.dylib. The application is running as expected when linked with MacSigner and the native files for the x86-64 architecture are copied in the temp/build/lib folder. When I package the application with MacSigner and I'm...
  2. yo3ggx

    B4J Question Native library

    Hello. I've build a B4J library using Eclipse. Some native libraries are used inside the library jar file. In a test application (directly in Eclipse), everything is working as expected. I added the library jar file in the External libraries folder in B4J (including the library containing the...
  3. N

    Android Question A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x740078008d

    I am getting the crash mentioned in the title. It occurs quite often and randomly, only on Android 11. I have the tombstone file, which I paste below. But I can't debug it using ndk-stack, as there is something I am missing: when issuing the command: ndk-stack -sym...
  4. M

    Android Question Show time picker dialog

    Hi everyone, there is a way to show this native-looking dialog to choose a time with B4A? From: https://androidexample365.com/material-time-picker-for-developer/ Or something like: Thanks in advance!
  5. M

    iOS Code Snippet Input Dialog (modal) - slightly modified from the Erel one

    The original code: https://www.b4x.com/android/forum/threads/inputdialog-function.52811/post-331242 I modified the code to be able to add two buttons, and receive the "Success" parameter to distinguish when the user tap on the positive button or cancel button. Sub Button1_Click Dim no As...
  6. M

    Android Question Native Input Dialogs Android (No B4XDialogs)

    Hi everyone, how can implement the native input dialogs of Android in my app? i found this code here, but i don't know how to convert it: private void showForgotDialog(Context c) { final EditText taskEditText = new EditText(c); AlertDialog dialog = new AlertDialog.Builder(c)...
  7. M

    iOS Question Get an UIview height (or convert from Objective C)

    Hi, i made a post before about the centering of a switch. i noticed that the switch is positioned in the top left corner of his hitbox. I need to center it. So the only way, i think, is to make the hitbox height (and width) equal to the effective height (and width) of the ios switch. There is...
  8. M

    iOS Question iOS Switch Centering

    hi everyone, i'm trying to center properly a native ios switch in a panel, but i don't get it done in a reliable way. in the designer How can i manage to get it done properly? :( Thanks in advance
  9. SMOOTSARA

    Android Question make admob Native ads

    Hello friends:) I'm going to set AdMob Native ads in my app. These ads must be displayed after each panel in the scroll but only at the end of the scroll is displayed:( where is the problem ? please guide me;) Thank you #Region Activity Attributes #FullScreen: False #IncludeTitle...
  10. wonder

    Android Tutorial How to fix the multiple native libraries problem

    Error: It might happen that, when combining multiple native (JNI) libraries, your Android app will crash with an UnsatisfiedLinkError. Why does this happen? Well long-story-short, your libraries differ from each other in terms of ABIs (target CPU architecture). For a detailed explanation...
  11. Alexander Stolte

    Android Question Good Emulators to debug my App with a Native Library

    Hello, i've been using Genymotion for a long time, but now that I need to use a native library, I can not install the app anymore and have to look for a good alternative. Since my Samsung S7 Edge still does not support Android 8, but I want to prepare the app so slowly on API 26, I need an...
  12. appie21

    Android Question Opening wrong facebook page in nativeapp

    Hello I try to open the facebook app with a page (in this case B4a) Sub BtnFacebook_Click Dim fURI As String = "https://www.facebook.com/b4xdev/" Dim in As Intent in.Initialize(in.ACTION_VIEW, "fb://facewebmodal/f?href=" & fURI) Try StartActivity(in) Catch...
  13. Patent

    B4J Question fatal error in jfxwebkit.dll ???

    Dear community, i am dealing with a really standard webview in a b4j splitpane, nothing special at all. (loaded site is youtube.com, but i think that did not matter, no video playing, just browsing through..) from time to time i am getting a fatal error of the jvm. i cant reproduce it, but i...
Top