Twilio sending texts on android problems

First time poster, sorry if anything is not formatted correctly. I am creating an android app for school which will need to send text messages. I have had twilio recommended by several people so I decided to go with it. Following this tutorial: https...
more »

2017-12-03 23:12 (1) Answers

ScheduledExecutorService behaving unexpectedly

I have the following code snippet, using a ScheduledExecutorService to run every 3'000 milliseconds a check whether it should call a function onOutTimeout() or not. At least that's the idea. private void launchOutTimeoutChecker(){ Runnable chec...
more »

2017-12-03 21:12 (2) Answers

Identity logo not mobile friendly

How are you? Does anybody know how can i make a logo mobile friendly on devices and in particular phones? It is optimized for tablets but for some reason it enlarges it on phones? Is there a line I could possibly add something? Thank you, Ke...
more »

2017-12-03 16:12 (0) Answers

Floating Action Button appears too low

I have made a tabbed activity and i want to put a FAB to the bottom right of a fragment which appears when i press the corresponding tab.My problem is that the FAB appears too low as the following screenshot shows. My activity_main.xml is this: <...
more »

2017-12-03 03:12 (1) Answers

My app background won't fill the screen

How do I make the background image fill the screen? I have tried several different suggestions and nothing seems to work. Below is the code for my activity_main.xml: <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.Cons...
more »

2017-12-02 21:12 (2) Answers

Can't add CircularSeekBar to my project

Hey, I've been trying for hours to add this to my project to make a fuel gauge. I've been doing everything as it is shown in the instructions. But I happen to encounter some problems that I can't resolve. I've pasted the .java file as instructed e...
more »

2017-12-02 21:12 (1) Answers

Two separate behaviors for back button pressed

Rather new to Android development and I'm having a difficult time trying to solve this odd behavior. The back button in the upper left corner of my application acts differently then the back button built into the phone. The back button in the app w...
more »

2017-12-02 16:12 (1) Answers

how can I Get MAC ADDRESS android 7.0

I can't get the mac address can anyone help me please I am newbies in android development please help me manifest.xml <receiver android:name="com.example.v3rlu.authentification.DeviceAdmin" android:permission="android.perm...
more »

2017-12-02 13:12 (2) Answers

How to get search results quickly?

I have a database of objects in the firebase database, and I need a function to return some search results; if I receive a string to search the "Title" aspect of objects for some substring, I need to return a list of all of the objects which satisfy ...
more »

2017-12-02 06:12 (1) Answers

How to replace google dependencies with jar file

I am going to implement google firebase messaging to my android project. Google documentation offers using dependencies. I am confused if I can import JAR files instead of dependencies or JAR and dependencies are both needed? Would importing JAR file...
more »

2017-12-01 19:12 (1) Answers

Crashlytics and AsyncTask

I'm adding Crashlytics into an app and I ran a couple tests. When I throw an exception within an async task the report didn't appear in the console. Is this a known issue or should it be coming through? AsyncTask.execute(new Runnable()) { @Overr...
more »

2017-12-01 18:12 (1) Answers

How to delay onError() in RxJava 2 and Android?

I'm Trying to load some data from a web server in my application. And Because of the async nature of the operation, there is no way to know ahead of time how long it will take to complete. To alert the user that the operation is “in progress.”, I...
more »

2017-12-01 16:12 (2) Answers

What is generateStubs configuration in Kotlin?

What is generateStubs for Kotlin? Here is my configuration in build.gradle. I can not find it in public document here : http://kotlinlang.org/docs/reference/kapt.html kapt { generateStubs = true } If I'm using Java and Kotlin(1.2) in my projec...
more »

2017-12-01 06:12 (1) Answers

Android video recorder: failed to get surface

Hi I am trying to use the camera v2 API to record video using a Raspberry Pi 3 device that uses the Raspberry Pi camera module attached to it. I am developing this using Android Things with Kotlin. Here is how my video recording code looks like. ...
more »

2017-11-30 22:11 (1) Answers

Android studio html view in ArrayList

I am making a math quiz where a mathematical question will be asked in the form of a formula. I put my questions in an ArrayList: public class DEasy extends AppCompatActivity { private TextView countLabel; private TextView questionLabel; private Bu...
more »

2017-11-30 22:11 (1) Answers

Move packages from android studio to eclipse

I would like to use the android.os package from Android Studio and SDK in eclipse. This is so that I can run a java application on my computer to take data off of a sd card on a phone when it is plugged in via USB. I have both Android Studio and Ecli...
more »

2017-11-30 22:11 (1) Answers