Android admob quarantined by symantec

This morning I came back to my computer with this alert, see the image (the lower window is the properties of one of the entries above): How do I investigate this? Can i use the hash presented to see if it is a false positive? Has anyone else enco...
more »

2017-07-18 09:07 (1) Answers

When chinese word in mysql where statement

how to select 主页报修上广告 $sql = "SELECT text,pic FROM newstable where type='在线报修上广告' order by id desc limit 0,1"; but you may find the return value is null But i try to use this $sql = "SELECT ...
more »

2017-07-18 09:07 (1) Answers

Custom byteArray data to WebRTC videoTrack

I need to use WebRTC for android to send specific cropped(face) video to the videoChannel. I was able manipulate Camera1Session class of WebRTC to get the face cropped. Right now I am setting it to an ImageView. listenForBytebufferFrames() of Camera1...
more »

2017-07-18 01:07 (2) Answers

Archived APK file size very huge - Xamarin.Android

After archiving my app, my apk size is 71.82MB (estimated app store size). There are not lot of images also in my application too. Also, i set my linker to Don't link which is the only option that works for me. It is too big for users. When i set l...
more »

2017-07-17 16:07 (2) Answers

Cannot mock final Kotlin class using Mockito 2

I am unable to mock a Kotlin final class using Mockito 2. I am using Robolectric in addition. This is my test code: @RunWith(RobolectricTestRunner.class) @Config(constants = BuildConfig.class, sdk = 21) public class Test { // more mocks @...
more »

2017-07-17 13:07 (2) Answers

How to keep the same state of the app on rotation?

In my android app, how to keep the current scrolling position of the activity when the device is rotated from portrait to landscape mode? Is this needed to be done dynamically? Should I force use loaders instead of AsyncTask to achieve this condition...
more »

2017-07-16 19:07 (1) Answers

HTTP calls in same wireless network glassfish

I have an endpoint which is available at following url: http://localhost:18080/app/register (via POST request). I want to make calls to this endpoint from my Android device, which is in the same Wireless network (the IP for the laptop running the ser...
more »

2017-07-16 17:07 (0) Answers

Dotted dash line in GraphView

I want a dotted line, as described in the official documentation: futureSeries.setDrawDataPoints(true); Paint paint = new Paint(); paint.setStyle(Paint.Style.STROKE); paint.setStrokeWidth(10); paint.setPathEffect(new DashPathEff...
more »

2017-07-16 14:07 (1) Answers

how to check value in JSON

i have this JSON i want check in this JSON has "song" or "fun" and then get value and key "price": { "has_error": false, "response": { "song": { "price": "2000" }, "jok": { "price": "free_for_n...
more »

2017-07-16 10:07 (3) Answers

Query Firebase list with object value

Hi i am using DatabaseReference#push method to add object to reference. This object has property id. Next time i have id and i wish to get that user object from that list, how can i get that. I there any simple way to directly Query, or we need to pu...
more »

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

iFrames not loading on mobile or tablet

I haven't been able to find an answer that works. I have an iframe (yes, I have to use an iframe on this occasion) that works fine on PC, but won't load on mobile or tablet at all. There is some Javascript on the page but removing it doesn't fix the...
more »

2017-07-15 13:07 (0) Answers

Firebase pagination in Android

I am making a image posting app in which I want to fetch first five records and then when the user scrolls down to bottom next 5 records should be fetched automatically . I am ordering by "negative_time stamp" so that the latest post comes at the top...
more »

2017-07-15 13:07 (1) Answers

How to get recyclerview image data in mainactivity

What i am trying to do is getting images from gallery and camera and placing it in an recyclerview. Now main parts comes after image is now placedd in the recyclerview , but can anyone just tell me how can i get back these images shown in the recycle...
more »

2017-07-15 13:07 (1) Answers

Saving data on android APP

Hello I'm working on app android which notices the scores of a card's game. I'm looking for how to save the actual scores and teams' name when the app getting destroyed or stopped to find them when i open it again. public class ShowScore extends App...
more »

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