LibGDX: Parallax effect with tiled maps

Need to make parallax effect in the game with LibGDX and tiled map. Background should move with different speed then foreground. In the docs said: By rendering each layer separately and modifying t...
more »

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

What is the best way for mobile chatting app?

talented developers. I am a mobile developer for 10+ years. To make mobile chatting app, I studied many libraries and ways. In summary, there are some ways. Firebase Realtime database Chatting Xmpp Openfire chatting FCM Push Notification Chatting S...
more »

2017-11-15 13:11 (2) Answers

Android Studio 3.0 migration AAPT2 error

After migrating my existing project to Android Studio 3.0, it is not compiling. Below are the log details: Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: AAPT2 er...
more »

2017-11-15 09:11 (3) Answers

Android 7 buttons are not showing in XML

I have a App with Login Layout So I have added 2 Buttons Save,Cancel this is my XML Layout <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="" xmlns:tools="http://schema...
more »

2017-11-15 07:11 (2) Answers

Google Assistance integration with Android App

I want to integrate Google Assistant in my app. I am not just for launching the the app, also to operate on it like below: App: Hi! What are you looking for? User: T-shirts App: What is the size? User: 40 App: What is the color? User: Any / Red and ...
more »

2017-11-15 05:11 (1) Answers

Gradle sync Error on Android Studio 3.1 Canary 3

Hey fellows after update Android Studio to 3.1 Canary 3 I've just created fresh project but gradle synchronization failed due:
more »

2017-11-14 21:11 (1) Answers

Android Studio 3.1 Canary 3 - Gradle sync failed

For a unknown reason Android Studio 3.1 Canary 3 is bugged and stopped to work, I updated gradle to 3.1-alpha03 and it stopped working, no matter if I download the project again, already downloaded Android Studio again too. I've already checkout old...
more »

2017-11-14 17:11 (6) Answers

placing a text right beside another text

I have designed a simple layout in android where I needed to place an element right beside another element. On attempting to do that the textview jumps below the textview that is supposed to be at the side of it. Here is my approach <LinearLayout...
more »

2017-11-14 09:11 (3) Answers

xamarin.forms httpclient lte too slow

in my Crossplatform App I work with httpClient and NativeMessageHandler. I call an webservice through httpclient. When i call the webservice with WLAN ON it works perfectly, with no WLAN, so LTE on iPhone it works perfectly, too. But if I have LTE ac...
more »

2017-11-13 17:11 (0) Answers

RxJava. Sequential execution

In my Android App I have a presenter which handles user interactions, contains kind of request manager and if needed sends user input over request manager to request manager. Request manager itself contains server api and handles server request usin...
more »

2017-11-13 13:11 (2) Answers

Notify user when a date is near

I'm currently working on an Android app that uses several Firebase functions. In the Realtime Database I have a date (the date a book is due) and I need to notify the user when that date is near (say, 1 day before the date in the database). Firebase ...
more »

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

How to handle onPause/onResume in Flutter App?

I'm new to Dart/Flutter and would like to build a simple app where a LinearProgressBar gets updated every second. Without getting too much into the actual code, I have the following setup working. A function that calculates the progress, based on ...
more »

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

Firebase Child and Value listeners

First of all, I am aware that this question has been asked multiple times, but a recent trouble with my app has piqued my interest in this matter. And I have read the Firebase documentation as well. What is the difference between ChildEventListener ...
more »

2017-11-12 15:11 (2) Answers

How to overlap two Barcharts over each other?

I am creating a Bar Chart in android. I am trying to overlap two Bar Charts on each other. I am using CombinedChart provided in the MPAndroidChart. But problem is both the Bar Charts are coming one beside another. Here is the screenshot of the chart...
more »

2017-11-12 08:11 (1) Answers

What is the best way to use OnClick event?

There are 2 ways to use OnClick event in android studio. First method is, Btn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { } }; Second way is, in MainActivity Btn.setOnClic...
more »

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

Corrupt APK after the update of android studio 3.0

I had the android studio 2.3.3 with which I was developing an application with OpenCV that tested it in a physical terminal instead of in an emulator. Everything worked perfect and I never had any problem. My problem started when I accepted the upda...
more »

2017-11-12 02:11 (0) Answers

Infinite scroll of finite items

I have a GridView that has items inside 5x50. I need to scroll them in all directions and instead of stopping when reached the end just start from the top/left. for example left-to-right scroll before scroll 1 2 3 4 5 6 7 8 9 10 after scroll to...
more »

2017-11-11 22:11 (2) Answers