B4A Question Getting a package name from OSLibrary's getRecentTasks command - Erel (first post)    Oct 9, 2012 As OperatingSystem
Dim tasks As List = o.getRecentTasks(10, 0)
For Each task As Object In tasks
Dim r As Reflector
r.Target = task
Dim bi As Object = r.GetField... B4A Question Recents app - Erel (first post)    May 18, 2016 You can use getRecentTasks to find the recent apps: https://www.b4x.com/android/forum/pages/results/?query=getRecentTasks However it will not work on Android 5+ as Google has removed this feature.... B4A Question Getting a List of Running Apps - treehousefrog    May 11, 2015 Hey guys, So I used to use the following method to get a list of running apps with their images: Dim packman1 As PackageManager Dim whichapp As String Dim o As OperatingSystem Dim tasks As List = o.getRecentTasks(20, 0) For Each task As Object In tasks Dim r As Reflector r.Target = task Dim bi As Object = r.GetField("baseIntent") If bi <> Null Then r.Target = bi r.Target = r.RunMethod("getComponent"... B4A Tutorial Android 5.0 Information and Resource Thread - thedesolatesoul    Jan 11, 2015   (33 reactions) , setVisibilty for privacy) Also getRecentTasks is deprecated (invalidates my MSOS library). Contents...) getRecentTasks and getRunningTasks: Was used to find which apps were on top or were run recently... B4J Library (b4j)[juuid] Get Unique hardware ID - behnam_tr    Mar 21, 2024   (17 reactions) Get Unique hardware ID in b4j tested on windows only you can test on mac or linux 8 method to get... methods two new method added Get_HWID1 Get_HWID2 updated v2.0 Using java standard functions without modification Changed Lib Name to juuid (jpadina deprecated) added Get_MachineID2 added Email Validation updated v2.1 added Get_HddId3 updated v2.2 added Get_HddID4(String Driveletter) updated v2.3 added Get_LocalHardisk_Info updated v2.4 Added : Get_CPUID2 Get_CPUName Get_TotalPhysicalMemory... B4A Tutorial Creating a sticky service - long running background tasks - Erel    Dec 9, 2018   (14 reactions)   tags: Services . There are several ways to handle background tasks. 1. You can use StartServiceAt to schedule a service to run... running task and you don't want the OS to kill your process when there is no visible activity then... it will also be recreated again. Related tutorial: The result of swiping an app from the recent apps list... B4A Tutorial Device Owner / TaskLock / Kiosk apps 2017 - Erel    Jul 18, 2017   (38 reactions)   tags: #kiosk https://www.b4x.com/basic4android/images/SS-2017-07-18_13.19.46.png Starting from Android 5 (API 21) there is better support for kiosk applications. Kiosk applications = applications that the user cannot exit from. As you can see in this screenshot, the home button and recent apps button are missing. The top notifications drawer is also inaccessible. This solution is good for devices that serve a specific purpose. For example point of sale solutions or tourist information stands. Device... B4A Tutorial The result of swiping an app from the recent apps list - Erel    Dec 21, 2021   (8 reactions) One of the new features of Android 4 is the more powerful recent apps list. The user can remove tasks or applications from the list with a swipe gesture. The result of this action is not fully documented. So I ran some tests and these are the findings: As expected the activities are destroyed. What happens with the running services is a bit more complicated: - Any "standard" services.... This is a different, and usually better, behavior than with some of the third party task killers... B4A Question Get unique id for user - webhost.company    Nov 9, 2020 According to Android rules, We cannot use android_id or device_id or mac_address in new version android As well, Use sms is not good idea for this Please suggest to me for use unique id in each device for user I need to it for use payment and other Thanks... B4i Tutorial Dummies Guide to Getting Started with B4i - Falcon    Aug 11, 2021   (33 reactions) try and make it as simple as possible to get to grips with the Basics of setting up your Apple... first be obtained - see the 'GET UDID'S OF DEVICES' section below. 1. From... 'GET UDID'S OF DEVICES' section, into the 'Device ID (UDID)' text box and give... file in your 'Keys' folder, then you will get an error when trying to compile... Profile type file in your 'Keys' folder, then you will get an error when trying to compile... Page: 1   2   3   4   5   6   7   |