close

  1. R

    Android Question Close ResultSet if declared locally?

    Is there any benefit in closing a resultset if it is only declared locally? I am guessing resources are freed and the cursor is closed in any case if the Sub has finished. RBS
  2. alirezahassan

    B4J Question move form with panel

    hi all, i set this code MainForm.SetFormStyle("TRANSPARENT") so i have a window without decorations. and i want the user to be able to move the form through the panel. what should i do?
  3. Peter Simpson

    B4R Code Snippet Using a PIR to rotate a servo (Emulating PIR opening/closing powered doors)

    SubName: Reading PIR sensor on digital pin 5 to rotate a servo on digital pin 4. Description: Basically this example is emulating opening and closing powered doors like in a shopping centre (shopping mall), superstore etc. You can use this simple code to monitor PIR sensors HC-SR501 or HC-SR505...
  4. janderkan

    iOS Question How to close PreferenceDialog programmatically

    Hi I use B4XPages and in 1 page I open a PreferenceDialog Wait For (prefdialog.ShowDialog(prefMap, Main.Loc.Localize("txt_save"), Main.Loc.Localize("txt_cancel"))) Complete (Result As Int) Based on an event I close the page, but next time I open the page, the PreferenceDialog is still there...
  5. M

    Android Question [SOLVED] KeyPress Event Unmanageable

    Hi, everyone, i'm coding an app, and i wanted to do it graphically catchy, so i designed my own msgBox in the designer, and i display it using the custom B4XDialog and loading the layout i did. Now, the problem is that it doesn't aumatic handle the KeyPress Back event, so you have to do it...
  6. R

    Android Question ResultSet RowCount after Close

    Noticed that after closing a ResultSet (closing the ResultSet and freeing resources) the RowCount remains as before closing the ResultSet. As I have a number of module level ResultSets that remain open I added a Sub to keep track of these and close all open ResultSets if there was a memory...
  7. tznikos

    Android Question There are Control when the OS CLose my application ?

    During my application is the background the operating system close my application, there is a way to know when that happen, something like application_error for example application_Dispose or application_finish Thanks
  8. A

    Android Question Wakeup App

    hi, I wanted to create a wake-up ap with some features, but i dont know how to do that whan the user close the app, the app will open in the specific hour. does someone knows how can I do that?
  9. M

    B4J Question B4J Packager problem

    im using the B4J Packager but i have a problem. I made a program that connects to the serial port, once open it writes and reads the serial port, at compiling the program as jar works perfect but when compiling as installer an tries to connect to the serial port it closes without any visible...
Top