My question is pretty simple. I have created several apps that tell me what sensors I have and also to display the data, Accelerometer, GPS, etc... One thing I am trying to do is to create an app that will display what apps my phone currently has on it. I looked around online but have not come up with any way to do this. Is this a permission issue? anyway to do this? Thanks for your help.
I implemented a sample application a while ago that displays a list of currently installed applications. It uses getInstalledApplications() as Commonsware suggests. You can find a link to the application's source code in this blog post.
anyway to do this?
Use PackageManager, and methods like getInstalledApplications().
Related
I have been trying to get user location in a weather app I am building. Since I'm pretty new to android development this is quite tough and so I have tried finding sources on how to make this, though after trying many different things it always ends up being a way too outdated version that no longer works.
So my question is what is currently the best way the get a user's location.
Thanks in advance for anyone that can help me with this!
It's enough to start reading from official doc: https://developer.android.com/training/location
or from here ready solution https://www.geeksforgeeks.org/how-to-get-current-location-in-android/
I'm trying to make my react native app appear in the share apps list, for example from youtube. How do I do this exactly?
If someone could please guide me on what I have to add to my java files on android, that'd be great, as I have close to no experience with java.
Thanks.
You can use Deep Linking by react-navigation for your application. Related article here.
Please refer to my comment instead.
Im planning to develop an android app which allows the user to add different items to a List. My goal is to display every new added item immediately to an User with the Same app on a different device.
Im looking for a good approach without using any server to store the data. Now i know there are syncadaper but im not quite sure how to apply this concept to my use case. Basically a solution similar to a chat peogram is what a have in mind.
I already did my research but couldnt find a good fitting answer.
So i would appreciate any Suggestions.
Thanks in advance
Hi I am designing an Android App using Android Studio for my class and one of the requirement is that the app should link two users together as "partners" so that they can receive notifications or messages from each other. I already have google sign in available but I don't know how to link two users together. Can someone point me in the right direction to get started? Thank you.
You're looking to create an app that can connect users wirelessly and then do whatever tasks you wish to do. Now I'm not going to give you the code or anything like that, but I'm going to point you in the right direction as you asked.
The Android Developers site is a good place to start: Building Apps with Connectivity
The first two categories are closely related to your type of question, and will give you the stepping stone you need to start developing an app that fits your purpose.
Anytime you have an actual issue with coding it, StackOverflow will have countless solutions I'm sure.
I'm trying to implement an Android activity witch shows a list of images of the user's friends that use the same app also (like in Tinder app). I've searched the web for days and everything I found is too old or doesn't seem to work properly (mainly because they are all based on earlier versions of facebook SDK).
Can somebody please attached an explanation, or even better, an open source of example like that.
There's an example in the docs. I wonder how you didn't find that...
See
https://developers.facebook.com/docs/android/scrumptious/show-friends