B4A Library PhoneLibrary: Updated PhoneSms.Send - Sorin Pohontu Apr 02, 2015 (6 reactions) PendingIntent.getBroadcast(BA.applicationContext, requestCode, mDeliveryIntent, PendingIntent.FLAG_UPDATE_CURRENT) : null;
if (Text.length() > 160) {
ArrayList<String> parts = sm.divideMessage(Text);
int numParts = parts.size();
ArrayList<PendingIntent> sentIntents = new B4A Question Select SIM card slot to send SMS - ehsan gilassi (first post) Aug 21, 2022 (1 reaction) PendingIntent.getBroadcast(BA.applicationContext, 0, i2, 134217728) : null;
sm.sendTextMessage(PhoneNumber, null, Text, pi, pi2);
}
#End If B4A Question Disable the Power button. - Philip Prins (first post) Apr 10, 2025 (1 reaction) Sub Activity_WindowFocusChanged (Focused As Boolean) If Starter.PhotoMode = True Then Return If Focused = False And VMP.ChkLocked = True And Starter.PhoneDetails1.ScreenOn = True Then Dim i As Intent i.Initialize("android.intent.action.CLOSE_SYSTEM_DIALOGS", "") Dim B4A Question Trap SMS 'failed to send' when Phone number is invalid - Jmu5667 Nov 07, 2022 PendingIntent.getBroadcast(BA.applicationContext, requestCode, mDeliveryIntent, PendingIntent.FLAG_UPDATE_CURRENT) : null;
ArrayList<String> parts = sm.divideMessage(Text);
numParts = parts.size();
ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>();
ArrayList<Pend B4A Question [resolved] close the notifications drawer - Erel (first post) Nov 11, 2018 (2 reactions) I now understand the question. Add this code to Service_Start of the service that handles the actions: Dim intent As Intent intent.Initialize("android.intent.action.CLOSE_SYSTEM_DIALOGS", "") 'close the notifications drawer Dim p As Phone p.SendBroadcastIntent(intent) B4A Question How to add "Home Screen" Shortcuts with a button? - luisftv (first post) Jul 08, 2015 (2 reactions) SendBroadcastIntent(in) DoEvents End Sub The libraries in use are "Core" and "Phone". In the Designer, I have a button called "CreateShortcut" and it is found in the Main activity, in the "Sub Globals" section as a button. Once the button is pressed, it will create a shortcut icon on the B4A Question Intent Issue - techknight (first post) Jan 28, 2016 (2 reactions) I found my issue. Instead of StartActivity(Intent1), I did phone.SendBroadcastIntent, and that works... Spanish Error al intentar guardar imagen de camara en algunos dispositivos - edgar_ortiz (first post) Jan 06, 2018 (1 reaction) DeSoft, Hace tiempo hice una aplicación que tomaba una foto y después la procesaba... también utilizaba "File.DirDefaultExternal", el problema era que entre la "captura" de la foto y el tratar de "abrirla" el archivo aun no estaba disponible. Despues de: i.PutExtra("output", ParseUri("file://" & B4A Question sendBroadcast & sendOrderedBroadcast - Erel (first post) Mar 26, 2015 You can use Phone.SendBroadcastIntent to broadcast an intend. If you need to call sendOrderedBroadcast then it can be done with JavaObject. B4A Question [HALTED]Broadcast intent - Erel (first post) Oct 30, 2019 Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_MAIN, "")
Intent1.SetComponent("abc.android.Appname.TurnOff")
Intent1.PutExtra("UDN","SwichDevice_Sk1")
Dim Phone As Phone
Phone.SendBroadcastIntent(Intent1) Page: 1 2 3 4 5 6 7 Powered by ColBERT |