Android. List all running activities in android above 5 - java

Please help me.
How i can get list of all running activities in Android above 5?
I tryed a few samples, but did not get right result..

Related

Sparkfun nRF52832 breakout board not connecting to BluetoothLeGatt source code from Android Studio

I am trying to pair my Sparkfun nRF52832 breakout board (programed through Arduino, using this link: nRF52832 Breakout Board Hookup Guide with a BLE android app (which I hope to make) so that I can turn on/off the LED on the board (baby steps). Since I am new to Bluetooth LE, I decided to use the BluetoothLeGatt source code on Android Studio. After going through the code, I understand how it works.
Picture of the BluetoothLeGatt source code sample page (image)
I connected my Samsung Galaxy S8+ and installed the BluetoothLeGatt source app to see if it can scan for the nRF52832. At first I got a red text in the logcat which said that I needed to give Coarse location permission, so I did that in the manifest.xml. Then I ran it again, but I still got the same red text in the logcat.
At first I googled the problem and found this somewhat similar question, however, I wasn't able to get a suitable answer. I also tried to see if I could find source code for the nRF connect app, however, that is also not available. So I'm super confused about what I should do to get rid of that and need help.
manifest.xml file with permissions (image)
Red text in logcat (image)
Thank you for taking the time to read my first post! I truly appreciate any help you can provide.
You need to request this permission in runtime.
More info: https://developer.android.com/training/permissions/requesting.html

Getting all subway stations on Android app

I'm looking for a way to get all subway stations from a country on Android app but I found nothing on how to do it. Seems there is already a feature request about it (https://issuetracker.google.com/issues/35827961) but it's 4 years old. Is there any another way to get that list please?

My android emulator can't run my card view project successfully

Please, anytime I create a project with CardViews, my android emulator can't successfully run the app. Please help me, it's been happening for 2 days now. I followed this tutorial to learn how to use card views, which returned no errors but my emulator can't run the app successfully https://www.androidhive.info/2016/05/android-working-with-card-view-and-recycler-view/

Android in app billing error:"error processing purchase bm-cch-17"

I am trying to add the functionality on "android in app billing" in my android apps.All method and functionality are okay and it work well for some android device.But it does not work well in my client device when he test the apps then he got a error.The error are "error processing purchase bm-cch-17".For checking the problem i also test it another my device the i got the error.But now yet i can not able to solve the problem.I also shared a screenshot which i get the error.
Please help to me how i can solve the issue.
Please check your google wallet settings.
http://productforums.google.com/forum/#!topic/wallet/hJNGInC9m3I%5B1-25-true%5D
Go to your settings then google, remove one of your email account s by simply clicking on it than it gives you an option to remove account, then it has to work 100% sure.

How to create new application for nokia 6212

I try to run my P2P NFC project in nokia 6212 emulator. but the application is not showing on the emulator screen.
so, my question is it is possible to create an application for nokia6212. if it does then kindly inform me the steps.
actually, m running my p2p java projects in eclipse. Please help me
Thanks
The answer: Yes.
Take a look at this example.
All needed steps, including code examples, getting started, tutorials, etc.. are here.

Categories