I have the following schema I am implementing for counting button taps for a user . For example if the the user clicks on apple button I would like to store the type as primary key which would be a unique entry followed by the count for the number of times the user taps on apple button and for each
Tag: android
android 10 is crashed when starting bluetooth service
in a couple of days before, I wrote some lines of code to connect application to a HC-05(a Bluetooth module) via a service. I know that a simple service can not be alive in a android 8+. so I modify my service using some free tutorials available on YouTube channels like the following: https://www.youtube.com/…
How to open recent avtivity after app reopen in android studio
How to open recent activity after app reopen in android studio For Example, we create a book application Then after reopening the app, open the last page where we are Answer Create a Default activity as a launcher activity `public class Default extends AppCompatActivity { }` //In MainActivity while saving pre…
Android Java Notification Not Displaying
This is my first time working with Notifications and I can’t seem to figure out the issue. What I am Trying To do: In short, I have a service that checks for a variable in a firebase document, if it’s true, show a notification. And before you say it, I can’t use Cloud Functions in this scena…
How to show Notification body in upper side on Display when notification is comming?
In my Android Application i don’t have a problem how to use notification in service. But i don’t know how to show my notification in upper side of display and always on top of all activites when it’s comming. For example, it happens when an incoming SMS message is received, the part of the s…
FIXED What is wrong with my return in onCreateView
I have a problem with my Kotlin Android App. So far I haven’t written such a large project in Kotlin, so I totally don’t know what’s wrong. When I try to start my application, I recive a wall of red lines. I found some solutions (for Java) and tried to implement them to my code, but it didn&…
How to push/get data from Firebase and add to a bidimensional array using Java?
I already have TOPSIS algorithm that can calculate data from an array[][]. Now I’m going to use the data from: dummy data: to database’s data My Item_pc.class Condition: I can get data from firebase using arraylist I can calculate data using dummy array with TOPSIS algorithm problem : how to calcu…
Image not being initialized
I am makin a tic tac toe game. My circle image does not initialize and shows out of memory error. It shows this in Run: I tried using other image but it does not work. My java code and so on for 9 buttons Thanks in advance and hope this question is clear!. Answer Solution: change the configuration on the
Is there a way to use rosjava in ROS noetic
I want to make mobile control inteface in my robot .So I make a mobile application , but ros java did not install . When I try to install, I get the package not found error. $ sudo apt-get install ros-noetic-rosjava [sudo] password for abdulsamet: Reading package lists… Done Building dependency tree Rea…
How sshhould i design the layout of this image recived from designer? [closed]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 11 months ago. Improve this question ent…