Storing emojis in SQL Server table

So I have been trying to save emojis received via a POST HTTP request from an Android app into an SQL Server table using Laravel. Though special characters work fine, emojis give syntax error as following- SQLSTATE[HY000]: General error: 20018 In...
more »

2017-02-13 13:02 (1) Answers

How to install app silently on Android devices?

So, I found this answer here by #CommonsWare about allowing an app to install apps silently to the phone like Google Play does. There, it is mentioned that the app should be either signed with the firmware-signing certificate or so, or add the app to...
more »

2017-02-13 10:02 (1) Answers

get imageview position inside listview

I have a List view that I fill the rows via mysql database. This is a view of what I have done: This names that you saw are coming from my database and the PLAY ImageView is from my layout list that appears in each row(when I add a row into my da...
more »

2017-02-13 09:02 (1) Answers

Google Play testing in-app billing with open beta

I currently have an Android app set up for beta testing in the Google Play store. It is currently a closed beta group, but I am getting ready to switch to an open beta. My app uses a paid subscription model. It is free to download and install, but o...
more »

2017-02-13 04:02 (1) Answers

Android Battery Level Detect Issue

I am a new user to stackoverflow, this is my first post, if I have done anything wrong please feel free to tell me, thanks. I am developing an android application to monitor the battery level and change screen brightness, but I were got a weird prob...
more »

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

Floating Action Button gravity not working

I have a floating action button which should be in the bottom right corner, but apparently the gravity isn't working. It is shown in the top left corner. Here is my code: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout android:id="@+...
more »

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

how to get position of image view inside Listview

I have a List view that I fill the rows via mysql database. This is a view of what I have done: This names that you saw are coming from my database and the PLAY ImageView is from my layout list that appears in each row(when I add a name into my d...
more »

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

ListFragment doesn't show changes in present time

All! I'am new in android app. Now I have some problem. I can't see the result of changing list right away (after updating listView in my ListFragment). For example, i called method addNewItem and I didn't see any changes on the screen. But if I t...
more »

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

Display JSON data on Android using GSON and Volley

Hello I'm new to android programming and trying to learn it. I followed this tutorial and it's working fine however I don't know how to display the records in the listview. The PostActivity.java file is from the tutorial is below, package com.kylew...
more »

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

Creating a snapchat settings like UI for android

Is there a build-in Android class that has the capability of creating multiple rows with different texts with a view at the end in them just like in the attached image or the only possible way is to create multiple textviews with an imageView? ...
more »

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

Find position of an Imageview inside listview

I have a List view that I fill the rows via mysql database. This is a view of what I have done: This names that you saw are coming from my database and the PLAY ImageView is from my layout list that appears in each row(when I add a name into my d...
more »

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

Android Firebase multiple image upload

I am writing an app to test out firebase where a user can list a product with images. I'm having issues with the upload as although the pictures are stored, they are not linked to the product (images array not being passed?) and LeakCanary signals an...
more »

2017-02-11 17:02 (1) Answers

Find position of button inside listview

I have a List view that I fill the rows via mysql database. This is a view of what I have done: This names that you saw are coming from my database and the PLAY ImageView is from my layout list that appears in each row(when I add a name into my d...
more »

2017-02-11 10:02 (1) Answers

how to Search Data on firebase database in android

I want to make an application that will allow users to buy and sell Items, and this application should use Firebase. It will use Firebase storage for the images uploaded by the users and use Firebase database to store the products description. My que...
more »

2017-02-10 22:02 (0) Answers

Can't start a Handler on the main thread

I'm working on a .jar api to read Google Fit data from Unity3D. The problem that I'm facing right now is that when I want to execute this block of code: private void buildFitnessClient() { mClient = new GoogleApiClient.Builder(myContext).addApi(...
more »

2017-02-10 16:02 (0) Answers

Check text on position in recycler

I have method, where i click on position my recyclerView: Espresso.onView(ViewMatchers.withId(R.id.recyclerView)) .perform(RecyclerViewActions.actionOnItemAtPosition<CurrencySelectorItemHolder>(1, ViewActions.click())) But how i can ...
more »

2017-02-10 14:02 (2) Answers

Where is permissions in Android stored?

The developer doc: Requesting Permissions at Run Time clearly mentions what runtime permission is and how to use it. And I am able to execute them as well. However, the question is : where does Android store the run-time permission values? ie, when...
more »

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