B4A Question Create a broadcast receiver when app loads using inline java - Jmu5667    Apr 16, 2015 (); registerReceiver(new MyReceiver(), new IntentFilter("com.hmkcode.android.USER_ACTION"... B4A Question Help Ok Google - DonManfred (first post)    Feb 14, 2020   (1 reaction)
how can I create an Intentfilter?
https://www.b4x.com/android/forum/pages/results/?query=intentfilter... German eigene B4A-App für Google Maps zum Teilen anbieten? - DonManfred (first post)    May 5, 2020   (2 reactions) Der folgende Intentfilter muss gesetzt sein. Zumindest laut:
https://stackoverflow.com/questions/3526700/how-to-add-your-application-to-the-share-this-place-list-in-google-maps
<intent-filter>
<action android:name="android.intent.action.MAIN" />... IntentFilter in B4A definiert wird.... B4A Question Android Device with Built In Scanner - DonManfred (first post)    Jun 22, 2018   (2 reactions)   tags: Scanner can I consume this without using an SDK?
Maybe yes. Looks like.
Check Intent Filters - Intercepting SMS messages in the background
try to change then intentfilter to the one needed by the Scanner. "com.zkc.scancode"
If a Intentfilter does not work (i guess it should) you also can try to use Broadcastreceiverlib and setup a BCR.... Java Question Help setting up a reference. Not sure if my implementation or the manifest is wrong - DonManfred    Mar 23, 2020 import android.app.Service; import android.content.Intent; import android.content.IntentFilter;... found."); } IntentFilter filter = new IntentFilter(); filter.addAction... Java Question Pass activity as parameter - XverhelstX    Aug 27, 2013 Hi I need to use an B4A activity instance in a B4A library. What is the correct way to do this? public void SaveTag(ActivityWrapper activity) { Activity act = activity.getObject(); //getObject() is a BALayout } I need an activity instance to pass for enabling foreground dispatch on that activity public void enableForegroundDispatch (Activity activity, PendingIntent intent, IntentFilter filters, String techLists) Regards, Tomas... B4A Question laser bar code intent - Setlodi (first post)    Nov 14, 2022 .setText(code);
}
}
};
private void registerReceiver() {
IntentFilter filter = new IntentFilter();
filter.addAction(ACTION_DATA_CODE_RECEIVED);
registerReceiver(receiver, filter);
}... B4A Question get "current Ampere" java code to b4a ? - dongsool    Feb 22, 2022 public static int getBatteryAveragePower(final Context context) { int voltage; int current = 0; Intent receiver = context.registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)); if (receiver == null) return -1; voltage = receiver.getIntExtra(BatteryManager.EXTRA_VOLTAGE, 0); BatteryManager manager = (BatteryManager) context.getSystemService(Context.BATTERY_SERVICE); if (manager != null) { current = manager.getIntProperty... B4A Question java.lang.IllegalStateException: Not allowed to start service Intent - DonManfred (first post)    Jan 28, 2019   (1 reaction) i think is when the main start. when main start it start the starter service too. Not really. The starter service WAS running and your app was in background. Something causes your STARTER Service to start. Maybe an Intentfilter? Or a Broadcastreceiver?... B4A Question [SOLVED] Detect wireless charging? - stevel05 (first post)    Nov 2, 2017   (5 reactions) ",Array("batterymanager"))
Dim IntentFilter As JavaObject
IntentFilter.InitializeNewInstance("android.content.IntentFilter",Array("android.intent.action...,Array(Null,IntentFilter))
' Dim Status As Int = BatteryStatus.GetExtra(BatteryManager... Page: 1   2   3   4   5   6   7   |