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 and etc. For questions other ...

0
votes
0answers
6 views

Parsing specific value in JSON using retrofit

Hi currently I'm studying retrofit, I'm trying to parse my json response which is this : { "code": 0, "message": "Success", "billers": [ { "billerCode": "001 ", ...
0
votes
0answers
6 views

Performance in BottomNavigationView Scrollable Activities or Fragments

I would like to implement a BottomNavigationView and wondered if it makes any differences using using scrollable Activities or Fragments. Is it better to use Fragments or Activities for that purpose? ...
0
votes
0answers
4 views

How to get Android HttpURLConnection to handle a redirect

I'm making an app that basically downloads an image from the URL that I define and save it to the user's device. I'm doing this with: URL url = new URL("http://speedtest.clotheslinedigital.com"); ...
0
votes
0answers
6 views

How to pan and zoom .svg on android?

I'm using webview to view a .svg file (located in assets folder). In the preview mode of the.svg on android studio, I can pan and zoom perfectly. But when I export to .apk, pan and zoom is not working ...
0
votes
0answers
7 views

How to capture Data Points from latest 5 second in Android SensorEventListener?

I am very new to Android programming. I am trying to plot latest data from light sensor every 5 second to the real-time GraphView. This is what I am trying @Override public void onSensorChanged(...
0
votes
1answer
15 views

How to implement encryption in android?

I have this application where I save device code, access token, and refresh token. And I want to add encryption to them. But I never tried it on android so if it would be lovely if you can share me a ...
0
votes
0answers
6 views

Pause progress of ObjectAnimator

I'm implementing a custom view which draws some kind ProgressBar view, taking two views as parameters (origin and destination). Like this: This is the complete class: class BarView @JvmOverloads ...
0
votes
0answers
7 views

How to sort leaderboard data in firebase database for a specific date query

I'm storing scoreboard along with date in milliseconds and query the date using startat and endat. And this is giving me all the users in that date range, now I want to sort the users based on score; ...
0
votes
3answers
19 views

toggle button to start a service

I have made a toggle button with which i need to start and stop a service. The service is defined in WatcherService.java but i am unable to call it. pls help me. this is my MainActivity.java code **...
1
vote
1answer
12 views

Can't toast on a thread that has not called, RxJava2

I have this code: compositeDisposable.add(RetrofitClient .getApi() .getData() .flatMap(response -> { Data data; if (response....
0
votes
0answers
7 views

How can I run flutter in memu emulator

Can I actually run the flutter in 'outside emulator'? Something like, memu emulator or andy emulator, or something else? Well, if I run my flutter app in AVD in android studio, it will be really slow ...
0
votes
0answers
6 views

Using File Constructor with PapaParse Stream in Cordova/PhoneGap App

I'm switching from just turning my CSV into an array to creating a data stream with PapaParse. I've followed the guidelines in the documentation, but am missing how to target a local file, since the ...
1
vote
3answers
22 views

SQLite Android Select Random Row Excluding Certain Columns

Is it possible to select a random row from an SQLite table however have the row return only specific column information for that row using Android rawquery sort by random? Example: Table1 C1 ...
-1
votes
0answers
12 views

Android Security, Encryption, Keyloggers

So I wrote an Android app that encrypts some texts, and is protected by a password. My questions are: can an app like this offer any privacy at all if some keylogger is installed on the phone? Is ...
0
votes
0answers
9 views

MP Android is not showing X axis value

I am able to plot MP Android chart successfully but If I click the particular bar then its not showing the X axis value. I am using kotlin and below is the part of the sample code. Working Code: val ...

15 30 50 per page