Questions tagged [android]

Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT). For topics related to Android, use Android-specific tags such as android-intent, android-activity, android-adapter, etc. For questions other than development or programming, but related to the Android framework, use this link: https://android.stackexchange.com.

0
votes
0answers
11 views

Error: recyclerview No adapter attached; skipping layout | when try to feth data

i got error message : recyclerview No adapter attached; skipping layout when i try to fetch data and store to recyclerview here is my code: public class MainActivity extends AppCompatActivity { ...
0
votes
0answers
5 views

Can't Find /storage/emulated/0 on Chromebook

I have an app I'm building to run on HP Chromebook. It runs in the Linux environment. The app is supposed to display images stored in a folder. I was originally using the Environment....
0
votes
0answers
5 views

How save Image State of a ImageView

Hi I'm developing an app where the user have to set an image in ImageView. But when the app is restarted the ImageView automatically resets to default. Now I would like to know how to save the state ...
0
votes
0answers
7 views

How to update state in react native expo on button click

I used react-native-countdown-timer component. I have used useEffect previously to start timer which is running perfectly but when I change to on press function react state is not updating This is the ...
0
votes
1answer
11 views

read response from redirection url using webView in flutter

I was trying to add a payment gateway using WebView flutter library.On successful completion of payment, the gateway redirects to a return url or webhook with transaction response. Now instead of ...
0
votes
0answers
12 views

onClickListener on item inside RecyclerView on tablayout with viewpager

i tried to have onClickListener on each item inside my recyclerview, but idk how to do so. Heres my code: ViewPagerAdapter class ViewPagerAdapter(private val mContext: MainActivity, fm:FragmentManager)...
0
votes
0answers
7 views

Change recyclerview item's single component without redrawing whole item

I have been given a task recently to build a list with data that is being updated by SignalR client, so my data is live and is updated every time a change is happened in database. What I am trying to ...
0
votes
0answers
10 views

How to save RSS feed data into SQLite in Android?

I am able to parse RSS feeds successfully in android studio, but I would like to save the parsed data into database, so if I am offline, i will still be able to retrieve from the saved data. here is ...
0
votes
0answers
12 views

Android Accessbility Service TakeScreenshot get exception: java.lang.SecurityException: Services don't have the capability of taking the screenshot

The following code running in AccessbilityService got exception. Android API Level 30 (Android 11) It didn't hit the callback nor "onSuccess" nor "onFailure". Just throw exception ...
0
votes
0answers
9 views

My custom Calendar wont show dates in recyclerview android studio java

I am building a custom calendar for my project. I am using LocalDate for this purpose. The problem is that the dates won't show in recyclerview. I went through the code multiple times but couldn't ...
0
votes
1answer
34 views

Cant get pass this exception

So I was writing code for login and register in android studio let me paste it here: package com.example.myapplication.database; import android.content.ContentValues; import android.content.Context; ...
-2
votes
0answers
22 views

Cannot resolve method 'getName' in 'Object'

i AM GETTING THIS PROBLEM :Cannot resolve method 'getName' in 'Object' Can anyone tell how to resolve this.
0
votes
0answers
4 views

How to configure Bare React Native App hosted on custom server to use expo-updates?

I ejected from expo and started using react-native cli to build my app. I am required to host this app in App Stores other than Google Play Store/ Apple App Store (Maybe our own custom server). Can ...
3
votes
0answers
20 views

It is possible to upload List<Class> to firebase Realtime database

I have a Simple class named Questions which contain : public class Questions { String question,optionA,optionB,optionC,optionD; int correctAns; public Questions() { } public Questions(String ...
0
votes
0answers
8 views

Android ViewPager Doesn't React to First Fake Drag

I have a ViewPager that I want to navigate using arrow keys rather than touch-swipe. I'm using FakeDrag() to do that. However, it doesn't react the first time I press an arrow key --- the screen just ...

15 30 50 per page
1
2 3 4 5
90916