I need to complete Authorization Code Flow with Proof Key for Code Exchange. In step 4, I get an error 400 – bad request {“error”:”invalid_request”,”error_description”:”Invalid client secret”}. Why need to client secret if it is PKCE. What do I wrong? Do y…
Tag: android
display image in a splash screen
I am a novice android developer. I am trying to create a splash screen. I have a png image. I have created an empty splash screen with a text box.I have 2 activities – MainActivity and SecondActivity. code: activity_main.xml: But app:srcCompat=”@drawable/geeks” is in red color. Means it is n…
How to enable adding bookmarks in android webview
I am creating a browser app for android and I want know is there any code that helps to enable adding bookmarks in android webview. Answer This is something you will have to add yourself, a WebView literally just displays html content. It doesn’t come with all features like for example Chrome. To add/sa…
Frida Casting object to List of Strings
I have been trying to print out the contents of a list when hooking an android app with Frida but am not having any luck. The object I want to hook in Java looks like this There aren’t any getters for this public object so I have to resort to using another object (Let’s call the object “Bye&…
Android onclick listeners not recognized in drawer/sidebar template
On creating a new project in android studio, I chose the drawer template: I began working on my project and in the XML file (fragment_home.xml), I added an onclick listener to a button in the fragment_home.xml All the code of fragment_home.xml Anf then… I went to the MainActivity.java file and added two…
firebase getting exact childs from database
i have problem to get exact childs from database and add it to the list of “teams”. is that possible? i can’t find proper way to solve this problem. please help me. image of my actual …
Android/Java: how to set background color of MaterialShapeDrawable with int Color?
I have a TextView with rounded corners. Here is my code: Now, I want to change programmatically the background color of the textView. When I do : it works; the background color is changed. Now, I want to change the background color with an int color like Color.RED or any random color defined with Color.RGB(r,…
How to make firebase Realtime database writable according to authentic users
I am making an android app where anyone can read the data but only an authentic user (whom we added in Realtime database as ‘User’ with email id) can modify or add. I want that no one other than authentic user can write in his /her database. Others can only read. Here is my database structure:- An…
How to retrieve a list of custom objects from Cloud Firestore in Android
I posted before but was not aware of the post standards for questions, so I have reformatted with code to back my issue. I’m working on an app that uses Google Maps to take you on local tours and keep track of which Landmarks you have visited. I have managed to write to the database (As shown in picture…
Data retrieve on Data Change in firebase getting Error
I am making an android app based on firebase. My logcat showing error on data change. Here is the code: Can anybody improve it? Here is my logcat error message: It is showing error on this line. “at my_project_name.SheetActivity$3.onDataChange(SheetActivity.java:156)” I have tried a lot. Sometimes…