intent

  1. PracticalBot

    B4X FEED Intents and receivers

    With the new imodules that allow you to work better with the intent and receivers, it is necessary to develop some examples of how to use them (even before it could be done but not in such a direct way). I start with an example that through the use intent it is possible to 'hear' when a usb...
  2. practicalsoft

    B4X FEED No pdf viewer found in some users' phones

    In an app, I'm searching if at least one pdf viewer is installed, in order to open pdf files there. In order to do that I use: B4X: Dim INTENT1 As Intent INTENT1.Initialize(INTENT1.ACTION_VIEW,pdfFileName) INTENT1.SetType("application/pdf") INTENT1.Flags=1...
  3. practicalsoft

    B4X FEED [Solved] Trying to start my App via click on a specially registerd file

    I'm trying to start my app by the click on a file (which contains data to be read by the app). I used following intent filter setting in the manifest editor. Project manifest: AddActivityText(Main, <intent-filter> <action android:name="android.intent.action.VIEW" />...
  4. practicalsoft

    B4X FEED Open My App separat and not in WhatsApp

    With this code i can open my app from a url (from whatsapp for example), but the app is open in whatsapp and not as own app. If i open the Taskmanager i see, my app is in whatsapp, how can i open my app as its own task? B4X: AddActivityText("main", <intent-filter> <action...
  5. practicalsoft

    B4X FEED Video capture problem time limit

    I try to capture a video but stop and my app is running fine. How can I resolved that. Here Error B4X: Main display is 1920x1200 @60.00fps (orientation=1) Configuring recorder for 1280x720 video/avc at 20.00Mbps Content area is 1152x720 at offset x=64 y=0 Time limit reached Encoder stopping...
  6. practicalsoft

    B4X FEED Video capture problem

    I try to capture a video but stop and my app is running fine. How can I resolved that. Here Error B4X: Main display is 1920x1200 @60.00fps (orientation=1) Configuring recorder for 1280x720 video/avc at 20.00Mbps Content area is 1152x720 at offset x=64 y=0 Time limit reached Encoder stopping...
  7. practicalsoft

    B4X FEED Trying to start my App via click on a specially registerd file

    I'm trying to start my app by the click on a file (which contains data to be read by the app). I used following intent filter setting in the manifest editor. Project manifest: AddActivityText(Main, <intent-filter> <action android:name="android.intent.action.VIEW" />...
  8. practicalsoft

    B4X FEED B4A - Leggere un file da DropBox

    Vorrei realizzare una App che legga un file di testo che ho sul mio DropBox. Ho scaricato la libreria di DonManfred ma ho trovato molte difficolta perche si salta da un post all'altro per via di aggiornamenti, variazioni, intervenute incompatibilità ecc. Inoltre va aggiornato il file manifest...
  9. practicalsoft

    B4X FEED Access to DropBox. File manifest and substitute "xxx" with...?

    I'm getting the error message for the XML file. B4X: Sub btnStartOAuth_Click auth.startOAuth2Authentication End Sub Error occurred on line: 108 (Main) java.lang.IllegalStateException: URI scheme in your app's manifest is not set up correctly. You should have a...
  10. practicalsoft

    B4X FEED try / Catch Intent

    Hi All ! I want to direct the user to the settings for disabling the phone mobile network in all platform. in android 10 "android.settings.DATA_USAGE_SETTINGS" intent will work correctly. But in some another APIs, "com.android.phone.NetworkSetting" works good. So what I can why this code does...
  11. practicalsoft

    B4X FEED B4x pages GetStartingIntent

    When you're trying to get the starting intent of the activity from a B4xPage class object, add this sub to the activity you want to get the Intent from: B4X: Public Sub GetStartingIntent as Intent return Activity.GetStartingIntent End Sub And when you need to get it in the B4xPage call it...
  12. practicalsoft

    B4X FEED Can Intent based Alarm triggers my B4A activity?

    Intent based alarm looks so consistent though with many glaring limitations. Based on google developer documentation, it seems programmers can manipulate it beyond its simple below demonstration: 'usage SetAlarm(18,17,Array As Int(2,3,4,5,6)) Sub SetAlarm(Hour As Int, Minutes As Int, days As...
عقب
بالا