id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
53,497,390
NavigationView item's not set rtl
<p>i want to create a navigation View in my app. it's open from right. but the menu items are be ltr direction. how i can set them rtl. also i must to set supportRtl="false" in manifest. so solution except that.</p> <p>this is activitymain.xml : </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;inclu...
i want to create a navigation View in my app. it's open from right. but the menu items are be ltr direction. how i can set them rtl. also i must to set supportRtl="false" in manifest. so solution except that. this is activitymain.xml : [CODE] and activity_main_drawer.xml : [CODE] https://i.stack.imgur.com/lWAic.jpg
android
1
2018-11-27T10:17:19.113Z
2,018
11
10
1
32
0
316
33
1
2
true
true
false
false
false
false
low
53,373,455
open DevTools chrome apps for android remote device by linux terminal command
<p>I am android app developer and I am using android debugger that it works on DevTools in Chrome Browser but I have a problem with it when I open DevTools window for my app if I restart android application from IDE ,DevTools say Deattached from the target and there isn't any button for refresh when android app attache...
I am android app developer and I am using android debugger that it works on DevTools in Chrome Browser but I have a problem with it when I open DevTools window for my app if I restart android application from IDE ,DevTools say Deattached from the target and there isn't any button for refresh when android app attached a...
android|google-chrome
2
2018-11-19T11:16:10.353Z
2,018
11
11
0
288
0
752
77
2
0
false
true
false
false
false
false
low
53,558,576
How to get string values from web services and make into spinner selected item?
<p>I am working on a project where user will fill his details through a profile activity, including the user needs to tell what sports(Rugby, Basketball, etc..) he is favorite with and what level(beginner, intermediate, expert) he is good in that sport. He can enter multiple games from the selected event.</p> <p>After...
I am working on a project where user will fill his details through a profile activity, including the user needs to tell what sports(Rugby, Basketball, etc..) he is favorite with and what level(beginner, intermediate, expert) he is good in that sport. He can enter multiple games from the selected event. After he entered...
java|android|android-spinner
1
2018-11-30T13:32:50.300Z
2,018
11
13
4
33
0
757
79
3
2
true
true
false
false
false
false
low
53,773,970
How to run sdkmanage on JDK 11
<p>sdkmanage can not run on JDK 11.</p> <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.&lt;init&gt;(SchemaModule.java:156) at com.android.repository.api.SchemaModule.&lt;init&gt;(Sc...
sdkmanage can not run on JDK 11. [CODE] After add -XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee Show [CODE] I know JDK 11 has removed ee module. So, any idea to run sdkmanage on JDK 11?
java|android|sdk|flutter|java-11
1
2018-12-14T05:29:50.743Z
2,018
12
5
4
33
0
197
30
5
2
true
true
false
false
false
false
low
53,578,538
How to use lifecycleObserver for ON_CREATE before the method is called
<p>I use RealmDB and per the documentations, the best practice is to get an instance of the DB on "onCreate" methods and clear it on "onDestroy", so far so good - I've done that.</p> <p>Since we have multiple schemas for various data objects, I want to make my code cleaner by using something like this:</p> <pre><code...
I use RealmDB and per the documentations, the best practice is to get an instance of the DB on "onCreate" methods and clear it on "onDestroy", so far so good - I've done that. Since we have multiple schemas for various data objects, I want to make my code cleaner by using something like this: [CODE] Activities and frag...
android|realm|android-lifecycle
1
2018-12-02T08:13:27.627Z
2,018
12
8
6
290
0
1,020
70
3
2
true
true
false
false
false
false
low
53,395,827
How to tag on point of image with text with React Native?
<p>I am going to program an Android application with React Native framework and i want to tag on a point of image with text like Instagram application. I have searched about it but I did not find a good way.</p> <p>Any idea?</p>
I am going to program an Android application with React Native framework and i want to tag on a point of image with text like Instagram application. I have searched about it but I did not find a good way. Any idea?
javascript|android|react-native
2
2018-11-20T15:02:19.743Z
2,018
11
15
1
37
0
214
57
3
0
false
true
false
false
false
false
low
53,416,700
How to read body of a POST request into Android WebView
<p>I have to submit a form to an external URL, that provides into my WebView a series of interaction with the user. At the end of this process this external service does a redirect to my another URL (that is fake) through a POST call, sending some data that I need to show at the user. </p> <p>I tried to catch this PO...
I have to submit a form to an external URL, that provides into my WebView a series of interaction with the user. At the end of this process this external service does a redirect to my another URL (that is fake) through a POST call, sending some data that I need to show at the user. I tried to catch this POST request in...
android|post|webview|sdk|request
1
2018-11-21T16:37:16.520Z
2,018
11
16
2
293
0
709
55
5
0
false
true
false
false
false
false
low
53,665,679
How is it possible that i get wrong class for my Session in onCreate()?
<p>I have the strangest error in my Google play console. It only happened for one user and on one device (Galaxy XCover4), but still.</p> <p>I have a custom Application object. In onCreate() i retrieve it. It's been like this for many years:</p> <pre><code>public void onCreate(Bundle savedInstanceState) { super.o...
I have the strangest error in my Google play console. It only happened for one user and on one device (Galaxy XCover4), but still. I have a custom Application object. In onCreate() i retrieve it. It's been like this for many years: [CODE] Now, for my latest release, i got a classcastexception on the cast row in the goo...
java|android|android-lifecycle
2
2018-12-07T08:20:05.430Z
2,018
12
8
4
38
0
774
71
3
1
true
true
false
false
false
false
low
53,691,143
Requesting more Environment directories in one intent
<p>I want to request access for more directories:</p> <ul> <li>Environment.DIRECTORY_RINGTONES</li> <li>Environment.DIRECTORY_ALARMS</li> <li>Environment.DIRECTORY_NOTIFICATIONS</li> </ul> <p>I am following <a href="https://developer.android.com/training/articles/scoped-directory-access" rel="nofollow noreferrer">sco...
I want to request access for more directories: Environment.DIRECTORY_RINGTONES Environment.DIRECTORY_ALARMS Environment.DIRECTORY_NOTIFICATIONS I am following scoped directory access guidelines . I have following code: [CODE] This works well for Environment.DIRECTORY_RINGTONES , however I need to as for the three menti...
android|android-intent|permissions|storage
1
2018-12-09T09:55:33.360Z
2,018
12
9
6
38
0
818
53
4
1
true
true
false
false
false
false
low
53,692,027
How to upload different photos to localhost
<p>I have created following code to upload photos from an android app to localhost with php. But when we are uploading different photos with different names it uploaded same photo that uploaded first with the new name. How can i upload different photos to the local host using different names?Any help will be highly app...
I have created following code to upload photos from an android app to localhost with php. But when we are uploading different photos with different names it uploaded same photo that uploaded first with the new name. How can i upload different photos to the local host using different names?Any help will be highly appric...
php|android
1
2018-12-09T11:49:41.617Z
2,018
12
11
6
38
0
333
43
2
1
true
true
false
false
false
false
low
53,383,905
Handling volume buttons with screen locked
<p>Currently, I'm working on my simple android studio script, and I must use volume down while the mobile screen is locked.</p> <p>Please, take a look at my script:</p> <pre><code>public class MainActivity extends AppCompatActivity { public MediaPlayer mediaPlayer; @Override protected void onCreate(Bund...
Currently, I'm working on my simple android studio script, and I must use volume down while the mobile screen is locked. Please, take a look at my script: [CODE] What should I do to fix this issue? There are no errors, the script only works when I'm with my screen unlocked. Can you help me with this? Thank you very muc...
java|android-studio
1
2018-11-19T23:04:45.710Z
2,018
11
23
0
39
0
322
42
2
1
true
true
false
false
false
false
low
53,708,168
How to use a single bitmap as a multiple mask for another bitmap?
<p>I have an original image and a mask image that has different colors for different regions of the original image. I want to let user see only the part of the original image that he tapped. End goal is to let users to paint the original image part by part by tapping each part. </p> <p>Currently I am doing this with f...
I have an original image and a mask image that has different colors for different regions of the original image. I want to let user see only the part of the original image that he tapped. End goal is to let users to paint the original image part by part by tapping each part. Currently I am doing this with floodfill how...
android|android-canvas|android-bitmap
1
2018-12-10T14:54:03.430Z
2,018
12
14
0
39
0
515
65
3
0
false
true
false
false
false
false
low
53,788,505
WebSocket in ForegroundService stops
<p>i am currently building an Android App that connects via a WebSocket <a href="https://github.com/TooTallNate/Java-WebSocket" rel="nofollow noreferrer">(via Java WebSockets from TooTallNate)</a> to a Server.The Problem is that on my Moto Z Play (Android 8.0) and my Acer Iconia A3-A40 (Android 6.0) the WebSocket gets ...
i am currently building an Android App that connects via a WebSocket (via Java WebSockets from TooTallNate) to a Server.The Problem is that on my Moto Z Play (Android 8.0) and my Acer Iconia A3-A40 (Android 6.0) the WebSocket gets closed after a random time (between 8 and 25 Minutes). On my HTC ONE (Android 5.0) this d...
android|websocket|foreground-service|doze
2
2018-12-15T00:27:19.593Z
2,018
12
0
5
295
0
1,172
36
4
4
true
true
false
false
false
false
low
53,448,606
View becomes invisible when I add attach custom view background to the view
<p>I am trying to add a custom background to a button to make two sides rounded. But when I attach or add custom view background, the button becomes invisible. Here is my xml code: </p> <pre><code>&lt;android.support.constraint.ConstraintLayout Have Some Code there &lt;Button android:id="@+id/Top" androi...
I am trying to add a custom background to a button to make two sides rounded. But when I attach or add custom view background, the button becomes invisible. Here is my xml code: [CODE] Code for custom view from drawable folder is here: [CODE] Image is below: ( https://imghostr.com/BwBwqrc1 )
android-custom-view|android-drawable|android-constraintlayout
1
2018-11-23T14:34:52.667Z
2,018
11
14
4
40
0
292
75
3
2
true
true
false
false
false
false
low
53,590,382
HintRequest show 3 sim number
<p>When <code>Hint</code> is open I got 3 mobile numbers where as device has only 2 sim inserted so how can I solve this ?</p> <p>I want something like <a href="https://i.stack.imgur.com/GxtLz.jpg" rel="nofollow noreferrer">this</a></p> <p>Here it is my code to fetch mobile number using <code>HintRequest</code>.</p> ...
When Hint is open I got 3 mobile numbers where as device has only 2 sim inserted so how can I solve this ? I want something like this Here it is my code to fetch mobile number using HintRequest . [CODE] Thanks in advance.
android|google-api
2
2018-12-03T09:00:30.353Z
2,018
12
9
0
296
0
221
29
2
1
true
true
false
false
false
false
low
53,378,820
Firebase Cloud Messaging Error in Android app
<p>I'm trying to integrate FCM in my android app to enable it to receive push notifications from server. As reference, I followed all the steps in this page: <a href="https://firebase.google.com/docs/cloud-messaging/android/client" rel="nofollow noreferrer">https://firebase.google.com/docs/cloud-messaging/android/clien...
I'm trying to integrate FCM in my android app to enable it to receive push notifications from server. As reference, I followed all the steps in this page: https://firebase.google.com/docs/cloud-messaging/android/client to configure my client android app. PROBLEM ENCOUNTERED: When I try to send a notification to my andr...
android|firebase|push-notification|google-cloud-messaging|firebase-cloud-messaging
2
2018-11-19T16:23:18.600Z
2,018
11
16
0
553
0
677
45
5
2
true
true
false
false
false
false
low
53,404,981
Cannot read NFC tag over Sceneform ux ArFragment
<p>I am trying to read an NFC tag over a sceneform ux ArFragment. The idea is that I wish to have a 3D model appear, and change that model based on what NFC tag was scanned (like an Amiibo). Using the same code I was able to read NFC tags through another activity, but not the same activity where the ArFragment is.</p> ...
I am trying to read an NFC tag over a sceneform ux ArFragment. The idea is that I wish to have a 3D model appear, and change that model based on what NFC tag was scanned (like an Amiibo). Using the same code I was able to read NFC tags through another activity, but not the same activity where the ArFragment is. [CODE]
android|nfc|arcore|sceneform
1
2018-11-21T03:46:17.317Z
2,018
11
3
2
42
0
319
48
4
1
true
true
false
false
false
false
low
53,424,747
Detecting Multiple Boxes in Object Detection using Tensorflow in Android App
<p>I am trying to train my custom model for detecting "Raccoon" in the Android App with <strong>ssd_mobilenet_v1_pets.config</strong>. I have used <strong>ssd_mobilenet_v2_coco_2018_03_29</strong> pre-trained model. After 20K training steps, I am getting successfully <code>frozen_inference_graph.pb</code> file. But whe...
I am trying to train my custom model for detecting "Raccoon" in the Android App with ssd_mobilenet_v1_pets.config . I have used ssd_mobilenet_v2_coco_2018_03_29 pre-trained model. After 20K training steps, I am getting successfully frozen_inference_graph.pb file. But when I used this file in my Android App result is no...
android|tensorflow|object-detection|object-detection-api|tensorflow-lite
2
2018-11-22T06:02:08.690Z
2,018
11
6
3
298
0
549
76
5
0
false
true
false
false
false
false
low
53,499,379
Empty black space at the bottom of Phonegap / cordova android app
<p>I am building Android app using Phonegap Build, but am getting app with empty black area slightly more than size of navigation bar where navigation bar is supposed to be present.</p> <p><a href="https://i.stack.imgur.com/vpB5m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vpB5m.png" alt="App in...
I am building Android app using Phonegap Build, but am getting app with empty black area slightly more than size of navigation bar where navigation bar is supposed to be present. My config.xml is below [CODE] I have tried preference FullScreen and most of the plugins related to screen, immersive view and navigation bar...
android|cordova|phonegap-build
2
2018-11-27T12:09:14.020Z
2,018
11
12
1
298
0
427
65
3
1
true
true
false
false
false
false
low
53,362,522
Google play resource override string value
<p>I have app that supports few languages. When I use one of supported languages everything works pretty well, but when I use default language (phone on unsupported language(hebrew)) one of my strings overrides by string from play services package. As the result this specific string translates to unsupported language.(...
I have app that supports few languages. When I use one of supported languages everything works pretty well, but when I use default language (phone on unsupported language(hebrew)) one of my strings overrides by string from play services package. As the result this specific string translates to unsupported language.(Heb...
android|resources
2
2018-11-18T15:31:36.260Z
2,018
11
15
6
44
0
395
42
2
1
true
true
false
false
false
false
low
53,446,956
Device with compatible configuration is not compatible on the Play Market
<p>My <code>build.gradle</code> default config:</p> <pre><code>android { compileSdkVersion 27 defaultConfig { applicationId "my.app" minSdkVersion 19 targetSdkVersion 27 multiDexEnabled true versionCode 1 versionName "1" vectorDrawables.useSupportLibrary ...
My build.gradle default config: [CODE] But for a Samsung Galaxy J1 using Android version 6.0.1 it says that the device is not compatible. Question: What can be a reason? Note: The project uses mixed Kotlin and Java code. What more data should I share to help find an answer?
android|google-play|build.gradle
1
2018-11-23T12:44:26.427Z
2,018
11
12
4
44
0
274
73
3
1
true
true
false
false
false
false
low
53,688,494
Android Studio: Try to change Background based on Shared Pref, but reset to default background when force close
<p>So, i try to change Background based on Shared Preference onCreate like this:</p> <pre><code>**strong text** @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_setting); prefManager = new PrefManager(this); ...
So, i try to change Background based on Shared Preference onCreate like this: [CODE] It work fine for this function but the problem is, when the application force close it always return the background picture to the default background (in layout) for example: [CODE] I check the value of my shared Preference is not rese...
android|background|restart
1
2018-12-09T01:01:08.373Z
2,018
12
1
6
44
0
427
111
3
2
true
true
false
false
false
false
low
53,431,953
Tracking firebase user purchase details
<p>Is there any way to write firebase user id to purchase details ? Basically i need to know which payment comes from which user.</p>
Is there any way to write firebase user id to purchase details ? Basically i need to know which payment comes from which user.
android|in-app-purchase|in-app-billing
1
2018-11-22T13:22:20.653Z
2,018
11
13
3
46
0
126
39
3
0
false
true
false
false
false
false
low
53,544,126
Can I split defaultConfig in multiple blocks?
<p>My <code>defaultConfig</code> block is growing thanks to multiple configurations for libraries. Room, for example, needs an <code>annotationProcessorOptions</code>.</p> <p>Trying to get a clearer config, I created a second <code>defaultConfig</code> block in the bottom of <code>android</code> block and threw Room c...
My defaultConfig block is growing thanks to multiple configurations for libraries. Room, for example, needs an annotationProcessorOptions . Trying to get a clearer config, I created a second defaultConfig block in the bottom of android block and threw Room configuration there, followed by an also needed sourceSets bloc...
android|gradle|android-gradle-plugin|build.gradle
1
2018-11-29T17:04:02.310Z
2,018
11
17
3
46
0
477
45
4
0
false
true
false
false
false
false
low
53,507,272
Partially relative date and time using Android DateUtils
<p>I am trying to format timestamps in a partially relative format: today, tomorrow or the weekday for the day; time always in absolute hh:mm. Example:</p> <ul> <li>Monday 11:00</li> <li>Tomorrow 10:30</li> </ul> <p>Timestamps are always in the future and always less than a week from today.</p> <p>I have tried the f...
I am trying to format timestamps in a partially relative format: today, tomorrow or the weekday for the day; time always in absolute hh:mm. Example: Monday 11:00 Tomorrow 10:30 Timestamps are always in the future and always less than a week from today. I have tried the following: [CODE] However, this gives me weird thi...
android|date|formatting
1
2018-11-27T20:02:21.447Z
2,018
11
20
1
47
0
854
56
3
1
true
true
false
false
false
false
low
53,655,947
Android Studio - Open module from within app
<p>This might sound a bit messy, but it is the easiest way i could figure out. I am making an app containing both 2d and 3d screens. After hours of trying to make the 3D functionality work in Android Studio, i gave up and started making it in Unity instead..</p> <p>Now I have made a sample project in Unity, exported i...
This might sound a bit messy, but it is the easiest way i could figure out. I am making an app containing both 2d and 3d screens. After hours of trying to make the 3D functionality work in Android Studio, i gave up and started making it in Unity instead.. Now I have made a sample project in Unity, exported it to Androi...
android|android-studio|unity3d|merge
2
2018-12-06T16:40:43.217Z
2,018
12
16
3
47
0
767
44
4
0
false
true
false
false
false
false
low
53,671,087
Filling a shape of multiple paths
<p>I have created a shape with multiple paths on a canvas and now I want to fill that shape with a color, I tried using <code>paint.setStyle(Paint.Style.FILL);</code> but that only seems to fill the paths separately, my question is how to fill the whole shape.</p> <p>Here is the code I use:</p> <pre><code>Bitmap outp...
I have created a shape with multiple paths on a canvas and now I want to fill that shape with a color, I tried using paint.setStyle(Paint.Style.FILL); but that only seems to fill the paths separately, my question is how to fill the whole shape. Here is the code I use: [CODE] Thanks in advance!
android|android-canvas|android-paint
1
2018-12-07T14:01:06.860Z
2,018
12
14
4
47
0
294
33
3
1
true
true
false
false
false
false
low
53,745,799
Excluding a single java file from indexing?
<p>There are 'demo', 'full' flavors and three Calculator.java files each for 'main', 'demo' and 'full'.</p> <p>I want to use </p> <ul> <li>demo/java/Calculator.java file for demo flavor</li> <li>full/java/Calculator.java file for full flavor</li> </ul> <p>while not removing Cacluator.java in main/java directory.</p>...
There are 'demo', 'full' flavors and three Calculator.java files each for 'main', 'demo' and 'full'. I want to use demo/java/Calculator.java file for demo flavor full/java/Calculator.java file for full flavor while not removing Cacluator.java in main/java directory. [CODE] Looks duplicated: Calculator.java files but co...
android|android-studio|intellij-idea|android-gradle-plugin
1
2018-12-12T15:00:32.830Z
2,018
12
15
2
48
0
582
43
4
1
true
true
false
false
false
false
low
53,763,827
Android Gradle unable to find valid certification path to requested target
<p>I have problem with gradle download dependencies from <strong>jcenter</strong>.</p> <p>I work in coprorative network and connect to internet via proxy.</p> <p>I maked all necessary settings in gradle.properties for proxy:</p> <pre><code>systemProp.org.gradle.internal.http.connectionTimeout=360000 systemProp.org.g...
I have problem with gradle download dependencies from jcenter . I work in coprorative network and connect to internet via proxy. I maked all necessary settings in gradle.properties for proxy: [CODE] Also add necessary server's certificates in: [CODE] Also add necessary server's certificates in Android Studio settings: ...
android|ssl|gradle|keystore
1
2018-12-13T14:14:15.807Z
2,018
12
14
3
816
0
1,312
74
4
5
true
true
false
false
false
false
low
53,537,548
How to do handshake with between Client and Server using Noise Framework in Android
<p>I want to connect My Android phone with the server(echo) using <a href="https://noiseprotocol.org/" rel="nofollow noreferrer">Noise</a> Framework, there are some classes provided by them for <a href="https://github.com/rweather/noise-java" rel="nofollow noreferrer">JAVA</a> but there is no example that how it actual...
I want to connect My Android phone with the server(echo) using Noise Framework, there are some classes provided by them for JAVA but there is no example that how it actually works, also i read the documentation for Noise but its not that much useful. Please help, Thanks in Advance
java|android|noise|echo-server
2
2018-11-29T11:03:37.403Z
2,018
11
11
3
49
0
281
83
4
0
false
true
false
false
false
false
low
53,680,215
How to load updated image from server using Picasso/Glide?
<p>I have more than 300 images in the app. I need to show three at a time in the screen. But loading the image every time from the server takes 1-2 secs sometimes. I want to cache the images but when image gets updated from the server the url remains same. How to use cache and automatically update image and cache it fo...
I have more than 300 images in the app. I need to show three at a time in the screen. But loading the image every time from the server takes 1-2 secs sometimes. I want to cache the images but when image gets updated from the server the url remains same. How to use cache and automatically update image and cache it for f...
java|android|picasso|android-glide
1
2018-12-08T06:40:18.320Z
2,018
12
6
5
49
0
331
58
4
0
false
true
false
false
false
false
low
53,764,364
¿How to retain scroll of TabLayout when adding new Tabs?
<p>I have the next problem, when I add tabs manually with a button to TabLayout then the scroll move and the first tab is not visible to the user. I want to retain the position of scroll.</p> <p>In the next code, I add tabs when I press a button.</p> <pre><code>private void addRandomTab() { Random r = new Random...
I have the next problem, when I add tabs manually with a button to TabLayout then the scroll move and the first tab is not visible to the user. I want to retain the position of scroll. In the next code, I add tabs when I press a button. [CODE] Thanks. Greetings.
android|tabs|horizontal-scrolling
1
2018-12-13T14:43:41.363Z
2,018
12
14
3
49
0
262
56
3
1
true
true
false
false
false
false
low
53,513,501
Updating gradle wrapper in Unity3D
<p>I'm using Unity3D to build an Android game, but it looks like Unity is using old versions of Gradle. For example it's using Gradle Wrapper 4.6 instead of the latest one 5.0, or at least the previous latest 4.10.2.</p> <p>I've tried replacing the gradle lib folder in <code>Unity\Editor\Data\PlaybackEngines\AndroidPl...
I'm using Unity3D to build an Android game, but it looks like Unity is using old versions of Gradle. For example it's using Gradle Wrapper 4.6 instead of the latest one 5.0, or at least the previous latest 4.10.2. I've tried replacing the gradle lib folder in Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle...
android|unity3d|gradle
6
2018-11-28T06:36:45.943Z
2,018
11
6
2
1,841
0
498
34
3
0
false
true
false
false
false
false
medium
53,726,320
android:descendantFocusability="afterDescendants" change the layout (seems scrolled)
<p>I have changed my layout from:</p> <pre><code> android:descendantFocusability="blocksDescendants" </code></pre> <p>to</p> <pre><code> android:descendantFocusability="afterDescendants" </code></pre> <p>as follows:</p> <pre><code> &lt;android.support.v4.widget.NestedScrollView android:id="@+i...
I have changed my layout from: [CODE] to [CODE] as follows: [CODE] to this: [CODE] and it seems the layout has changed. *The shadow is bolder and it seems the elevation is higher *the width became wider Why has this happened? What's the proper way to fix this? elevation, l How can i be accurate?
android|focus|accessibility|android-elevation
1
2018-12-11T14:31:39.990Z
2,018
12
14
1
562
0
296
84
4
4
true
true
false
false
false
false
low
53,473,670
My RelativeLayout does not show latest addView()
<p>I'm trying to add a child <code>RelativeLayout</code> to a parent <code>RelativeLayout</code> programmatically on a <code>Fragment</code>'s <code>onCreateView()</code>. However, after running my application, it does not feature the added child layout via <code>RelativeLayout.addView()</code>. </p> <p>I have created...
I'm trying to add a child RelativeLayout to a parent RelativeLayout programmatically on a Fragment 's onCreateView() . However, after running my application, it does not feature the added child layout via RelativeLayout.addView() . I have created a function for returning the programmatically created RelativeLayout . He...
java|android|layout|android-relativelayout
1
2018-11-26T01:23:40.180Z
2,018
11
1
0
52
0
764
48
4
3
true
true
false
false
false
false
low
53,394,948
select query gives strange characters as output
<p>I have a problem when executing select query in android with sqlite database. In database there is a field based on sinhala characters. I populate the database using DB browser in UTF-8 encoding. I used SQLiteAssetHelper to access database in assets folder. when i try to use select query and display in android textv...
I have a problem when executing select query in android with sqlite database. In database there is a field based on sinhala characters. I populate the database using DB browser in UTF-8 encoding. I used SQLiteAssetHelper to access database in assets folder. when i try to use select query and display in android textview...
android|sqlite|select|select-query
1
2018-11-20T14:14:27.303Z
2,018
11
14
1
53
0
685
47
4
0
false
true
false
false
false
false
low
53,478,547
Embed a PlaceAutocompleteFragment in a RecyclerView
<p>How can I use <code>PlaceAutoCompleteFragment</code> in RecyclerView. Plus which is the best practice to apply place autocomplete. According to the documentation.</p> <p>There are two options for adding the autocomplete widget to your app:</p> <p>Option 1: Embed a <code>PlaceAutocompleteFragment</code>. </p> <p>O...
How can I use PlaceAutoCompleteFragment in RecyclerView. Plus which is the best practice to apply place autocomplete. According to the documentation. There are two options for adding the autocomplete widget to your app: Option 1: Embed a PlaceAutocompleteFragment . Option 2: Use an intent to launch the autocomplete act...
java|android
1
2018-11-26T09:54:35.333Z
2,018
11
9
0
53
0
398
51
2
0
false
true
false
false
false
false
low
53,556,680
How verify json input with yaml schema in Android
<p>I have a Yaml schema that is used to describe valid JSON files (3rd party developed).</p> <p>Now I get JSON input from 3rd party source and I would like to validate against that .yaml schema file to see if the JSON input conforms to the yaml schema describing the JSON file structure.</p> <p>How would I do that? Wh...
I have a Yaml schema that is used to describe valid JSON files (3rd party developed). Now I get JSON input from 3rd party source and I would like to validate against that .yaml schema file to see if the JSON input conforms to the yaml schema describing the JSON file structure. How would I do that? What library can I us...
java|android|json|yaml
1
2018-11-30T11:29:23.600Z
2,018
11
11
4
53
0
387
49
4
0
false
true
false
false
false
false
low
53,637,541
RealVnc android viewer sample app unkown error
<p>I've ran into some error when trying to connect to my RaspberryPi( VNC server) , I did not make any edits to the code so I don't know why its not working Im sending run log so maybe someone will push me into right direction</p> <pre><code>E/AndroidRuntime: FATAL EXCEPTION: Thread-2 Process: com.realvnc.vncsdk.s...
I've ran into some error when trying to connect to my RaspberryPi( VNC server) , I did not make any edits to the code so I don't know why its not working Im sending run log so maybe someone will push me into right direction [CODE]
java|android|vnc
1
2018-12-05T17:17:15.200Z
2,018
12
17
2
53
0
230
46
3
1
true
true
false
false
false
false
low
53,466,733
Android how to get Earfcn data?
<p>is there a way I could get earfcn from my device, when my app is at api &lt;= 23? I know I can use CellIdentityLte from CellInfo and call for getEarfcn(), how ever it's only for api 24 and above.</p>
is there a way I could get earfcn from my device, when my app is at api <= 23? I know I can use CellIdentityLte from CellInfo and call for getEarfcn(), how ever it's only for api 24 and above.
android|cellinfo
1
2018-11-25T10:52:38.547Z
2,018
11
10
6
309
0
192
31
2
0
false
true
false
false
false
false
low
53,721,699
Systrace not generating html report or collecting output, exception getting results from atrace
<p>I have recently started to research <code>systrace</code>, but have not succeded in running a trace that produces an html report as it should. I have tried tracing on two different units:</p> <p>Samsung Galaxy A3 - Android 7.0</p> <p>Samsung Xcover 3 - Android 5.1 </p> <p>The traceback produced from <code>systrac...
I have recently started to research systrace , but have not succeded in running a trace that produces an html report as it should. I have tried tracing on two different units: Samsung Galaxy A3 - Android 7.0 Samsung Xcover 3 - Android 5.1 The traceback produced from systrace is identical i both cases, screenshot below....
android|systrace
2
2018-12-11T10:05:22.350Z
2,018
12
10
1
309
0
470
95
2
0
false
true
false
false
false
false
low
53,355,245
facebook app links not working on my Android app
<p>I am trying to put facebook app links in my app because I want when someone opens a path like this</p> <blockquote> <p>www.example.com/users/userid</p> </blockquote> <p>I get the user id in my Android app and I did that but it is still not working in my <code>index.html</code> which should be in <code>www.exampl...
I am trying to put facebook app links in my app because I want when someone opens a path like this www.example.com/users/userid I get the user id in my Android app and I did that but it is still not working in my index.html which should be in www.example.com this is the html prefix http://ogp.me/ns#"> and the tags are ...
android|android-intent|facebook-android-sdk|intentfilter
1
2018-11-17T20:25:04.850Z
2,018
11
20
5
54
0
471
48
4
2
true
true
false
false
false
false
low
53,701,392
Android issue NavigationView with NavigationDrawer
<p>I am using NavigationView with DrawerLayout.</p> <p><strong>My code:</strong></p> <pre><code>NavHeaderMainBinding navHeaderMainBinding = DataBindingUtil.inflate(getLayoutInflater(), R.layout.nav_header_main, mActivityMainBinding.navigationView, false); mActivityMainBinding.navigationView.addHeaderV...
I am using NavigationView with DrawerLayout. My code: [CODE] now the issue is that when I click on second item many times from navigation drawer its create many objects and create an issue in the back press. When I back press its close all object of the second fragment then return to the first fragment. I want to creat...
android|navigation|android-jetpack
2
2018-12-10T07:45:57.360Z
2,018
12
7
0
54
0
436
50
3
1
true
true
false
false
false
false
low
53,602,764
ANR from a JobIntentService that is doing very little
<p>I have a JobIntentService that is not doing a lot of work at all, but caused an ANR today.</p> <p>Is there anything wrong with calling code from the companion object in the following way?</p> <pre><code>class MyIntentService : JobIntentService() { @Inject lateinit var myObject: MyObject override fun ...
I have a JobIntentService that is not doing a lot of work at all, but caused an ANR today. Is there anything wrong with calling code from the companion object in the following way? [CODE] There isn't anything in onHandleWork() that is causing the ANR because the method is invoked from a separate thread, per the documen...
android|kotlin|android-8.0-oreo|jobintentservice
3
2018-12-03T22:15:09.477Z
2,018
12
22
0
310
0
700
53
4
1
true
true
false
false
false
false
low
53,789,234
Android UI Design : viewpager inside coordinatorlayout
<p>I want to make awesome design like this. but I have some questions about making it.</p> <ol> <li><p>Is it using coordinatorlayout? If is so, How can I put fragment inside it like this?</p></li> <li><p>How can I stack cards when using viewpager? (it doesn't have to be viewpager, just want to know how)</p></li> </ol>...
I want to make awesome design like this. but I have some questions about making it. Is it using coordinatorlayout? If is so, How can I put fragment inside it like this? How can I stack cards when using viewpager? (it doesn't have to be viewpager, just want to know how)
android|user-interface
2
2018-12-15T03:18:37.213Z
2,018
12
3
5
55
0
269
54
2
0
false
true
false
false
false
false
low
53,798,747
Why isn't an activity of mine responding to a change I made within my styles file?
<p>I'm trying to change the color of a textView of mine without changing all of it's other features. I created a style that this particular textView follows so t change the background of this textView, I simply changed the background of the style. However, it didn't make a difference. I'd appreciate if you told me why....
I'm trying to change the color of a textView of mine without changing all of it's other features. I created a style that this particular textView follows so t change the background of this textView, I simply changed the background of the style. However, it didn't make a difference. I'd appreciate if you told me why. XM...
javascript|java|android|android-studio|android-layout
2
2018-12-16T01:40:34.120Z
2,018
12
1
6
55
0
411
82
5
2
true
true
false
false
false
false
low
53,573,941
Can I use Firebase ML Kit Real-Time face detection in background as service?
<p>I am making a kids learning app that will detect facial expressions of a kid in real-time and when the kid will get bored it will automatically change the learning process to some kind of poem or song. I am doing it using the firebase ML Kit. I have the code that is detecting faces in real-time but I want it to dete...
I am making a kids learning app that will detect facial expressions of a kid in real-time and when the kid will get bored it will automatically change the learning process to some kind of poem or song. I am doing it using the firebase ML Kit. I have the code that is detecting faces in real-time but I want it to detect ...
java|android|firebase|android-service|firebase-mlkit
1
2018-12-01T18:43:49.090Z
2,018
12
18
5
311
0
421
76
5
0
false
true
false
false
false
false
low
53,466,012
Android - Revert View back to old position after view.animate() used for dragging
<p>I have a view which I have to make it draggable. After the user leaves the drag it is to be animated down from current position. Now for dragging I have used the below code</p> <pre><code> switch (event.getAction()) { case MotionEvent.ACTION_DOWN: dY = view.getY() - event.getRawY(); ...
I have a view which I have to make it draggable. After the user leaves the drag it is to be animated down from current position. Now for dragging I have used the below code [CODE] The dragging is working fine, and after the container is animated down when user releases the drag. But when I press the button to open the ...
android|animation|android-animation|viewanimator
1
2018-11-25T08:57:52.337Z
2,018
11
8
6
56
0
444
81
4
1
true
true
false
false
false
false
low
53,389,175
View move to top after remove Relativelayout Rule in android
<p>I've added <code>RelativeLayout</code> into <code>RelativeLayout</code> by using below code.</p> <pre><code>var _root: ViewGroup? = null private var _xDelta: Float = 0F private var _yDelta: Float = 0F lateinit var layoutParams: RelativeLayout.LayoutParams override fun onCreate(savedInstanceState: Bundle?) { s...
I've added RelativeLayout into RelativeLayout by using below code. [CODE] If I touch the view and I move the finger, It will move the view to follow my finger. Below is the code for it :- [CODE] But when I touch the view, it moves to the top - left corner. I want it to be at my finger touch area only. It works fine aft...
android|kotlin|android-relativelayout|android-layoutparams
1
2018-11-20T08:45:16.877Z
2,018
11
8
1
57
0
372
60
4
2
true
true
false
false
false
false
low
53,390,626
Why Method beaconinfo.getforobserved from Proximity Beacon API returns Bad request (Response code = 400)?
<p>I am trying to get the attachments from the beacons registered in my Google developer console project with API_KEY. As described in Proximity Beacon API, the request can be made by just using the API Key and sending the body in POST request. I have done all that shown below. 1) The method to make http request:</p> ...
I am trying to get the attachments from the beacons registered in my Google developer console project with API_KEY. As described in Proximity Beacon API, the request can be made by just using the API Key and sending the body in POST request. I have done all that shown below. 1) The method to make http request: [CODE] T...
android|httpurlconnection|google-nearby|google-beacon-platform|proximityapi
1
2018-11-20T10:08:53.163Z
2,018
11
10
1
57
0
614
105
5
2
true
true
false
false
false
false
low
53,646,416
Scrolling to checked menu item
<p>I have a <code>SubMenu</code> with a list of checkable <code>MenuItems</code> as shown below:</p> <p><a href="https://i.stack.imgur.com/vsutT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vsutT.png" alt="enter image description here" /></a></p> <p>The number of menu items in <code>SubMenu</code>...
I have a SubMenu with a list of checkable MenuItems as shown below: The number of menu items in SubMenu is too long and the problem is when user selects a menu item located at the end of the list, and then reopen the SubMenu , menu items list is shown from the top with unchecked items and user has to scroll to bottom t...
android|scroll|menu|menuitem|android-menu
2
2018-12-06T07:23:07.933Z
2,018
12
7
3
58
0
465
30
5
0
false
true
false
false
false
false
low
53,701,314
Change the font family in WebView
<p>I wish to change the font used for displaying the text in WebView. I have tried several possible threads at StackOverflow but ended up in failure in getting the results. Following is my code that deals with the webview. </p> <p>XML Code:</p> <pre><code> &lt;WebView android:id="@+id/web_view" android:layout...
I wish to change the font used for displaying the text in WebView. I have tried several possible threads at StackOverflow but ended up in failure in getting the results. Following is my code that deals with the webview. XML Code: [CODE] Here is my PostDetailsActivity.java file which uses this: [CODE] I have another fil...
android|webview|android-webview
2
2018-12-10T07:38:46.400Z
2,018
12
7
0
58
0
466
33
3
2
true
true
false
false
false
false
low
53,502,697
Android MediaPlayer: MediaPlayerNative: info/warning (10973, 0)
<p>When i am playing 4-5 mp3 files, one after another, I get the following warning on logcat for every playback. What does it mean? and how to solve it?</p> <blockquote> <p>MediaPlayerNative: info/warning (10973, 0)</p> </blockquote> <p>I checked <a href="https://android.googlesource.com/platform/frameworks/base/+/...
When i am playing 4-5 mp3 files, one after another, I get the following warning on logcat for every playback. What does it mean? and how to solve it? MediaPlayerNative: info/warning (10973, 0) I checked here , but no luck Thanks in advance
android|service|android-mediaplayer
5
2018-11-27T15:15:48.510Z
2,018
11
15
1
314
0
239
63
3
0
false
true
false
false
false
false
low
53,381,469
Why does requestScope cause the error 12501?
<p>I create my <code>GoogleSignInOptions</code> object like so:</p> <pre><code>gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestScopes(Games.SCOPE_GAMES_LITE) .requestEmail() .build(); </code></pre> <p>and I get error 12501... when I do </p> <pre>...
I create my GoogleSignInOptions object like so: [CODE] and I get error 12501... when I do [CODE] everything works fine (except that I then lack the GAMES_LITE scope later on...) Why does the requestScope cause a crash? What can I do?
android|google-signin
3
2018-11-19T19:35:16.160Z
2,018
11
19
0
59
0
233
44
2
2
true
true
false
false
false
false
low
53,405,849
Android update manager clear data & clear cache
<p>My Android application uses an update manager. Is this a method that can be added in an if else statement? If the user updates this application the update manager should help to clear data &amp; cache.</p> <pre><code>//Version Update if (obj.has("ForceCode")) { int ForceCode = Integer.parseInt(obj.getString("Fo...
My Android application uses an update manager. Is this a method that can be added in an if else statement? If the user updates this application the update manager should help to clear data & cache. [CODE]
android
1
2018-11-21T05:39:41.093Z
2,018
11
5
2
59
0
204
47
1
1
true
true
false
false
false
false
low
53,449,349
Cropping of ImageViews in Custom ViewGroup
<p><a href="https://i.stack.imgur.com/qGhxx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qGhxx.jpg" alt="enter image description here"></a></p> <p>I am implementing custom ViewGroup which has overlapping ImageViews. I load images with GlideApp. Problem is that some images are cropped a little (v...
I am implementing custom ViewGroup which has overlapping ImageViews. I load images with GlideApp. Problem is that some images are cropped a little (visible on the left side) and I cannot prevent this. The drawables which get cropped are Vector drawables and their mDrawableWidth & mDrawableHeight are larger than the hei...
android
1
2018-11-23T15:29:21.450Z
2,018
11
15
4
60
0
523
42
1
3
true
true
false
false
false
false
low
53,579,166
Android testing - simulate multiple users
<p>I'm a beginner in testing applications, so I have many doubts. My app is a game where users play with others. Game starts at a certain time and finish in 60 seconds. During this time players play together, and when game is finished the score will be saved on mysql db with php.</p> <p>So I would like to test what ha...
I'm a beginner in testing applications, so I have many doubts. My app is a game where users play with others. Game starts at a certain time and finish in 60 seconds. During this time players play together, and when game is finished the score will be saved on mysql db with php. So I would like to test what happen when m...
php|android|testing|automated-tests|android-espresso
1
2018-12-02T09:59:21.490Z
2,018
12
9
6
60
0
545
41
5
0
false
true
false
false
false
false
low
53,775,324
only show toolbar when enterAlways in CollapsingToolbarLayout with other view
<p><strong>Layout</strong> structure.</p> <pre><code>&lt;android.support.v4.widget.DrawerLayout .... &gt; &lt;android.support.design.widget.CoordinatorLayout .... &gt; &lt;android.support.design.widget.AppBarLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android....
Layout structure. [CODE] First look like this. When scroll down... TabLayout will set on top. Then scroll up a little, will expand part of CollapsingToolbarLayout (should be the toolbar's height). Continue scrolling to the top, finally just like the first image. My purpose is to show only Toolbar but not whole Collapsi...
android|android-collapsingtoolbarlayout
1
2018-12-14T07:36:39.133Z
2,018
12
7
4
61
0
435
77
2
1
true
true
false
false
false
false
low
53,723,087
ItemTouchHelper.Callback let me open only one item
<p>I'm trying to implement a swipe for action in android base on this article: [<a href="https://codeburst.io/android-swipe-menu-with-recyclerview-8f28a235ff28]" rel="nofollow noreferrer">https://codeburst.io/android-swipe-menu-with-recyclerview-8f28a235ff28]</a></p> <p>I'm trying to implement that way that when user ...
I'm trying to implement a swipe for action in android base on this article: [ https://codeburst.io/android-swipe-menu-with-recyclerview-8f28a235ff28] I'm trying to implement that way that when user is swipe on a close item, it will close the open one and swipe the new one. i've already 2 days on it and very appreciate ...
android|swipe|itemtouchhelper
1
2018-12-11T11:21:54.513Z
2,018
12
11
1
317
0
344
50
3
1
true
true
false
false
false
false
low
53,667,705
Ml kit never detect more than 2 QrCode in an image
<p>I am currently writing a real time QrCode detector through Camera in a Mobile device.</p> <p>I want to be able to detect all QrCode in a frame, but ML kit never detects more than two QrCode in a frame.</p> <p>There is an option of <code>FirebaseVisionBarcodeDetector</code> or some thinking like that, for detecting...
I am currently writing a real time QrCode detector through Camera in a Mobile device. I want to be able to detect all QrCode in a frame, but ML kit never detects more than two QrCode in a frame. There is an option of FirebaseVisionBarcodeDetector or some thinking like that, for detecting more than tow QrCode in the sam...
android|firebase-mlkit
1
2018-12-07T10:31:24.947Z
2,018
12
10
4
62
0
328
50
2
0
false
true
false
false
false
false
low
53,697,905
Show data point only on selected data point?
<p>I am using GraphView library (<a href="http://www.android-graphview.org/legend/" rel="nofollow noreferrer">http://www.android-graphview.org/legend/</a>) to build my chart. I have a listener in my chart and the purporse is to start with zero data points at the begining. I want to when I click on a specific position f...
I am using GraphView library ( http://www.android-graphview.org/legend/ ) to build my chart. I have a listener in my chart and the purporse is to start with zero data points at the begining. I want to when I click on a specific position from the chart to show the data point icon from the position I clicked. Example of ...
android|graph|charts
1
2018-12-09T23:56:40.460Z
2,018
12
23
6
62
0
406
44
3
1
true
true
false
false
false
false
low
53,483,819
EXPO Android - makeDirectoryAsync() error “could not be created”
<p>We are getting Sentry reports from our Android customers who get errors during makeDirectoryAsync(). The error is:</p> <pre><code> Error: Directory 'file:///data/user/0/companyName/cache/ExperienceData/%2540companyName%252FappName/content/' could not be created.. </code></pre> <p>The issue seem only to be related...
We are getting Sentry reports from our Android customers who get errors during makeDirectoryAsync(). The error is: [CODE] The issue seem only to be related to users with Huawei phones (SKD 24-27). The error accrue during our initial setup of the cache and this is the code. [CODE] Expo sdk => 30.0.0 related issues: http...
javascript|android|react-native|filesystems|expo
2
2018-11-26T14:58:15.680Z
2,018
11
14
0
574
0
503
64
5
2
true
true
false
false
false
false
low
53,492,706
Use Deep Links instead of Intent Navigation
<p>I read a blog post that deep links can be used to replace the normal Intent navigation in the android app.</p> <p>Is this method efficient ie does using deep links pose any significant overhead?</p> <p>Does deep links pose any problem to the normal working of the app in some circumstances like no Internet etc?</p>
I read a blog post that deep links can be used to replace the normal Intent navigation in the android app. Is this method efficient ie does using deep links pose any significant overhead? Does deep links pose any problem to the normal working of the app in some circumstances like no Internet etc?
android|deep-linking|deeplink|android-deep-link
1
2018-11-27T04:20:47.760Z
2,018
11
4
1
63
0
297
43
4
0
false
true
false
false
false
false
low
53,600,985
Telegram client for android: how to get last message?
<p>I want to built a custom Telegram client for android with a function to save messages into file. As a base project, I'm using official source code: <a href="https://github.com/DrKLO/Telegram" rel="nofollow noreferrer">https://github.com/DrKLO/Telegram</a> And I can't find a way to actually get a message. In Document...
I want to built a custom Telegram client for android with a function to save messages into file. As a base project, I'm using official source code: https://github.com/DrKLO/Telegram And I can't find a way to actually get a message. In Documentation for Telegram mentioned method getChatHistory https://core.telegram.org/...
java|android|telegram
1
2018-12-03T19:56:27.767Z
2,018
12
19
0
575
0
1,036
53
3
1
true
true
false
false
false
false
low
53,425,530
How can we send more than 10 textual custom parameters with custom event to Firebase analytics
<p>My app requirement is to send more than 10 textual custom parameter to Firebase analytics but in Firebase analytics console is not permitting more than 10 textual parameter per project. </p> <p>How can we track our custom event that is required more than 10 textual custom parameters? </p>
My app requirement is to send more than 10 textual custom parameter to Firebase analytics but in Firebase analytics console is not permitting more than 10 textual parameter per project. How can we track our custom event that is required more than 10 textual custom parameters?
android|firebase|firebase-analytics
2
2018-11-22T07:06:42.087Z
2,018
11
7
3
64
0
276
94
3
0
false
true
false
false
false
false
low
53,527,875
Clicking on soft home button in navigation bar also triggers underlying click listener for a view
<p>Some newer Android devices have removed the hard Home Button and replaced it with a soft pop up navigation bar at the bottom of the screen that appears when the user swipes up. I've found that the Home Button can also be accessed by hard pressing (not just long clicking, kind of like iOS force touch) the area where ...
Some newer Android devices have removed the hard Home Button and replaced it with a soft pop up navigation bar at the bottom of the screen that appears when the user swipes up. I've found that the Home Button can also be accessed by hard pressing (not just long clicking, kind of like iOS force touch) the area where the...
android|android-studio|android-studio-3.0
1
2018-11-28T20:49:00.650Z
2,018
11
20
2
65
0
711
97
3
0
false
true
false
false
false
false
low
53,744,631
I get java error when I want to build apk
<p>For using the Line login in my app I read the Line API documentation and did exactly what was in the documentation.</p> <p>Line documentation : <a href="https://developers.line.biz/en/docs/android-sdk/integrate-line-login/" rel="nofollow noreferrer">https://developers.line.biz/en/docs/android-sdk/integrate-line-log...
For using the Line login in my app I read the Line API documentation and did exactly what was in the documentation. Line documentation : https://developers.line.biz/en/docs/android-sdk/integrate-line-login/ When I wanted to build apk of my project I got this error : Process 'command 'C:\AndroidStudio\jre\bin\java.exe''...
java|android
1
2018-12-12T13:56:07.547Z
2,018
12
13
2
66
0
659
41
2
1
true
true
false
false
false
false
low
53,491,366
Crash in some com.google.android.gms.* module
<p>I have updated my unity game with latest(November 13, 2018) Google Play Services modules. And now, I see crashes in my play console:</p> <pre><code>java.lang.Error: FATAL EXCEPTION [main] Unity version : 2018.3.0b10 Device model : samsung SM-A520F Device fingerprint: samsung/a5y17ltexx/a5y17lte:8.0.0/R16NW...
I have updated my unity game with latest(November 13, 2018) Google Play Services modules. And now, I see crashes in my play console: [CODE] I guess this bug is on modules side, because I didn't saw it on the old versions.
android|unity3d|crash|crash-reports|android-gps
2
2018-11-27T01:06:02.647Z
2,018
11
1
1
578
0
221
45
5
1
true
true
false
false
false
false
low
53,407,624
Android RecyclerView - implement Drag and Drop without rearranging of elements
<p>I need to implement drag and drop in RecyclerView. But I do not want to rearrange item orders while dragging. I want rather dragging content from one item to another item. Like in standard Drag And Drop. </p> <ol> <li><p>I long press on item </p></li> <li><p>Then I modify content of dragged item (ex. change backgro...
I need to implement drag and drop in RecyclerView. But I do not want to rearrange item orders while dragging. I want rather dragging content from one item to another item. Like in standard Drag And Drop. I long press on item Then I modify content of dragged item (ex. change background colour) Then I show preview of dra...
android|android-recyclerview|drag-and-drop
1
2018-11-21T08:06:31.887Z
2,018
11
8
2
67
0
677
78
3
0
false
true
false
false
false
false
low
53,486,113
Firestore recyclerview
<p>Hi i'm stuck on this part where i have 2 collections first one is users and second one is friends. I want my recyclerview to display my friends on the list with the help of current user because on currentUser other peoples id are stored and i want it to display it on the recyclerview but when it displays it i want t...
Hi i'm stuck on this part where i have 2 collections first one is users and second one is friends. I want my recyclerview to display my friends on the list with the help of current user because on currentUser other peoples id are stored and i want it to display it on the recyclerview but when it displays it i want to g...
android|android-fragments|android-recyclerview
2
2018-11-26T17:21:23.180Z
2,018
11
17
0
67
0
738
22
3
3
true
true
false
false
false
false
low
53,687,554
Android bluetooth scanner in c#
<p>i'm trying to develop an application in c# (in Xamarin workspace) which displays all nearby Bluetooth devices ( Classic and BLE devices ). All the devices must be loaded into a list view. Can someone help me with how to start doing this application, or to direct me to identical projects that i can learn from them h...
i'm trying to develop an application in c# (in Xamarin workspace) which displays all nearby Bluetooth devices ( Classic and BLE devices ). All the devices must be loaded into a list view. Can someone help me with how to start doing this application, or to direct me to identical projects that i can learn from them how t...
c#|android|visual-studio|bluetooth
1
2018-12-08T22:21:41.073Z
2,018
12
22
5
67
0
329
31
4
0
false
true
false
false
false
false
low
53,605,679
How AlarmManager work with Doze mode in case 9 minutes?
<p>Below information is from Developer Android side</p> <blockquote> <p>Note: Neither setAndAllowWhileIdle() nor setExactAndAllowWhileIdle() can fire alarms more than once per 9 minutes, per app.</p> </blockquote> <p>I want to be more clear for this case.</p> <p><strong>Example case:</strong></p> <p>I use AlarmManager ...
Below information is from Developer Android side Note: Neither setAndAllowWhileIdle() nor setExactAndAllowWhileIdle() can fire alarms more than once per 9 minutes, per app. I want to be more clear for this case. Example case: I use AlarmManager with method setExactAndAllowWhileIdle() to set two alarms, first Alarm is 7...
android|alarmmanager|android-doze
3
2018-12-04T04:25:53.847Z
2,018
12
4
1
323
0
777
55
3
0
false
true
false
false
false
false
low
53,431,269
Unity screen freezes in android sometime and sometime works perfectly and in Editor everything is working perfectly
<p>I'am switching between 2 scenes when camera detects some image (say if image 1 then to scene 1 and when image 2 then to scene 2) and while switching I am displaying a canvas with a loading text on it. But on android(not in Unity editor) sometime the scene does not load i can only see the canvas saying loading that's...
I'am switching between 2 scenes when camera detects some image (say if image 1 then to scene 1 and when image 2 then to scene 2) and while switching I am displaying a canvas with a loading text on it. But on android(not in Unity editor) sometime the scene does not load i can only see the canvas saying loading that's it...
android|unity3d
1
2018-11-22T12:40:54.957Z
2,018
11
12
3
324
0
736
115
2
1
true
true
false
false
false
false
low
53,563,819
Android Room Relationships -- List of Foreign Keys
<p>I'm having trouble understanding how to set up my Room relationships. I haven't found an example analogous to mine anywhere online.</p> <p>I have a User object (I've left out getters and setters):</p> <pre><code>@Entity public class User { @PrimaryKey @NonNull private String userId; @ColumnInfo private String na...
I'm having trouble understanding how to set up my Room relationships. I haven't found an example analogous to mine anywhere online. I have a User object (I've left out getters and setters): [CODE] and a Seminar object: [CODE] The list "seminarsAttended" in the User object is a list of seminarIds. The User class is link...
android|android-room
2
2018-11-30T19:35:46.810Z
2,018
11
19
4
69
0
741
50
2
2
true
true
false
false
false
false
low
53,534,798
Does startForegroundService() replace WakefulBroadcastReceiver?
<p>WakefulBroadcastReceiver is deprecated and the documentation says that you should use a JobScheduler instead. Of course, this does not make sense if you actually want to start a service.</p> <p>I am hoping that startForegroundService() does not suffer from the fact that you need to hold a WakeLock while starting it...
WakefulBroadcastReceiver is deprecated and the documentation says that you should use a JobScheduler instead. Of course, this does not make sense if you actually want to start a service. I am hoping that startForegroundService() does not suffer from the fact that you need to hold a WakeLock while starting it from the b...
android|foreground-service
1
2018-11-29T08:36:39.540Z
2,018
11
8
3
70
0
348
63
2
0
false
true
false
false
false
false
low
53,751,195
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. " i tried my best but i could not resolve it.."
<p>I'm getting this error after I update my android studio...</p> <blockquote> <p>More than one file was found with OS independent path 'org/jsoup/nodes/entities-full.properties'</p> </blockquote> <p>My "app Build.gradle"</p> <pre><code>apply plugin: 'com.android.application' android { compileSdkVersion 28...
I'm getting this error after I update my android studio... More than one file was found with OS independent path 'org/jsoup/nodes/entities-full.properties' My "app Build.gradle" [CODE] My "project build.gradle" [CODE] My "library Build.Gradle" [CODE] Can anyone help me figuring out what's causing this error? Any ideas ...
java|android|android-studio|android-gradle-plugin|build.gradle
1
2018-12-12T20:54:46.873Z
2,018
12
20
2
70
0
449
134
5
3
true
true
false
false
false
false
low
53,526,435
unexpected token - android studio
<p><a href="https://i.stack.imgur.com/9I0vm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9I0vm.png" alt="enter image description here"></a></p> <p>I have a problem with my layout text code. Instead of displaying the code I wrote, it shows a bunch of weird symbols like :</p> <p>"IHDR 0 0 �1...
I have a problem with my layout text code. Instead of displaying the code I wrote, it shows a bunch of weird symbols like : "IHDR 0 0 �1 I thought this issue had to do with the file encoding, but I changed the global encoding to UTF-8 and still doesn´t show the code I wrote. All suggestions are welcome. Thanks in advan...
android|android-layout|unexpected-token
1
2018-11-28T19:06:36.733Z
2,018
11
19
2
327
0
323
33
3
0
false
true
false
false
false
false
low
53,593,719
getViewTreeObserver for 2 views
<p>Haven't found something to understand how to use it correctly.</p> <p>I need to measure 2 views. For first view i use this:</p> <pre><code> viewPager.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { @Override public void onGlobalLayout() { ...
Haven't found something to understand how to use it correctly. I need to measure 2 views. For first view i use this: [CODE] So what should i do for second view: i should use another same block of code, but for second view or can i put second measurement inside viewpager's measurements? Added: logically it can be differ...
android
1
2018-12-03T12:17:25.850Z
2,018
12
12
0
72
0
498
31
1
1
true
true
false
false
false
false
low
53,797,487
Getting firebase data based on a value selected in a dropdown
<p>Thеre is a database with categories, each category has a list of values ​​inside. How can I make it so that when a category is selected, a list of items that fall into the selected category is displayed? Now my category names are displayed. I use RecyclerView.</p> <pre><code>reference = FirebaseDatabase.getInstance...
Thеre is a database with categories, each category has a list of values ​​inside. How can I make it so that when a category is selected, a list of items that fall into the selected category is displayed? Now my category names are displayed. I use RecyclerView. [CODE] For example, a person chooses the category "Dairy pr...
android|firebase|firebase-realtime-database|android-recyclerview
1
2018-12-15T21:39:33.473Z
2,018
12
21
5
328
0
498
61
4
1
true
true
false
false
false
false
low
53,790,688
Android studio - How to save an image to SECONDARY_STORAGE
<p>I want to save an image to <code>SECONDARY_STORAGE</code> (Not saved to phone memory, which android understands is SdCard ), this is code:</p> <p>In the <code>manifests</code> file:</p> <pre><code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"&gt;&lt;/uses-permission&gt; &lt;uses-perm...
I want to save an image to SECONDARY_STORAGE (Not saved to phone memory, which android understands is SdCard ), this is code: In the manifests file: [CODE] Java code: [CODE] When I run with Debug I get this error Error at: myImage.compress(Bitmap.CompressFormat.JPEG, 85, out); and it didn't save. This is the code for r...
android|android-studio|android-storage
1
2018-12-15T08:14:58.780Z
2,018
12
8
5
73
0
620
58
3
4
true
true
false
false
false
false
low
53,424,412
Pixel 2 running Android 9 doesn't honor setAllowedNetworkTypes
<p>We have an IoT app where we need to force sending requests over wifi, even when the OS thinks it should be using mobile data instead (e.g. when google is not reachable over the current wifi network)</p> <p>DownloadManager.Request allows specifying which network interfaces are allowed per-request, with the setAllowe...
We have an IoT app where we need to force sending requests over wifi, even when the OS thinks it should be using mobile data instead (e.g. when google is not reachable over the current wifi network) DownloadManager.Request allows specifying which network interfaces are allowed per-request, with the setAllowedNetworkTyp...
android|iot|android-networking
1
2018-11-22T05:28:51.053Z
2,018
11
5
3
75
0
958
62
3
1
true
true
false
false
false
false
low
53,615,859
How to get all the views in a dialog?
<p>In my case i have 15 elements in dialog. By </p> <pre><code>dialog.setOnShowListener(new DialogInterface.OnShowListener() { @Override public void onShow(DialogInterface dialogInterface) { ListView list = dialog.getListView(); list.setOnItemClickListener(new A...
In my case i have 15 elements in dialog. By [CODE] method using dialog.getListView() i get 10 elements which displayed in dialog window. [CODE] By the above code I could able to disable last four elements (7-10). On scroll accessing 11th element (visible) i get null pointer exception. How to access views which are not ...
android|listview|dialog|android-alertdialog
1
2018-12-04T15:07:07.310Z
2,018
12
15
1
75
0
387
37
4
2
true
true
false
false
false
false
low
43,987,877
Unable to compile drools-examples-android project in droolsjbpm-integration repo
<p>I am trying to compile the <code>drools-examples-android</code> project in <code>droolsjbpm-integration</code> repo, but with no success until now.</p> <p>I have installed the dependencies as was mentioned in the <code>install-dependencies.sh</code>, but when I run <code>mvn clean install -DskipTests</code> I get t...
I am trying to compile the drools-examples-android project in droolsjbpm-integration repo, but with no success until now. I have installed the dependencies as was mentioned in the install-dependencies.sh , but when I run mvn clean install -DskipTests I get the following error: [CODE]
android|maven|drools
2
2017-05-15T20:03:22.473Z
2,017
5
20
0
259
0
284
80
3
1
true
true
false
false
false
false
low
44,336,437
Calling swipe() on navigation bar area causes appium error due to bounds
<p>I am testing a program on Android with Appium v1.6.3 with an LG K7 and Samsung Galaxy S6 Edge+, on Linux with Python v2.7.</p> <p>I am performing swipe gestures in my test program at different areas across the width of the screen. On the Galaxy, I have no issues whatsoever. However, with the LG, which has a navigat...
I am testing a program on Android with Appium v1.6.3 with an LG K7 and Samsung Galaxy S6 Edge+, on Linux with Python v2.7. I am performing swipe gestures in my test program at different areas across the width of the screen. On the Galaxy, I have no issues whatsoever. However, with the LG, which has a navigation bar, I ...
android|appium|python-appium
1
2017-06-02T19:49:46.547Z
2,017
6
19
4
261
0
1,470
72
3
0
false
true
false
false
false
false
low
44,080,984
Android Auto initiate SMS via voice
<p>Is it possible to create/send SMS using voice commands in Android Auto? I'm not seeing anything about it in the docs at <a href="https://developer.android.com/training/auto/messaging/index.html" rel="nofollow noreferrer">https://developer.android.com/training/auto/messaging/index.html</a></p> <p>I have an HTC 10 an...
Is it possible to create/send SMS using voice commands in Android Auto? I'm not seeing anything about it in the docs at https://developer.android.com/training/auto/messaging/index.html I have an HTC 10 and when the stock HTC "Messages" app is set as the default, I can tap the mic and say something like "Text Alice" or ...
android|android-intent|android-speech-api
1
2017-05-20T01:24:20.407Z
2,017
5
1
5
263
0
1,710
35
3
0
false
true
false
false
false
false
low
44,060,998
Cannot use preview camera in webView
<p>My app use webView. However, it can't preview camera because webView overlay on camera on android app. It's show white/blank screen but I can take a photo.</p> <p><a href="https://i.stack.imgur.com/3xvKR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3xvKR.jpg" alt="enter image description here"...
My app use webView. However, it can't preview camera because webView overlay on camera on android app. It's show white/blank screen but I can take a photo. I tried set background transparent webView. But it isn't work. I tried set "bring to front" with camera. But it isn't work. I tried set padding and margin to 0. But...
android|ionic-framework|webview|camera|cordova-plugins
1
2017-05-19T03:35:37.717Z
2,017
5
3
4
521
0
731
36
5
1
true
true
false
false
false
false
low
44,280,613
WebView can't get location
<p>I'm trying to open Google maps in webView with custom <code>WebChromeClient</code> and get my location, but map says that it can not set the location. Full code:</p> <pre><code> import android.Manifest; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.support.v4.app.Ac...
I'm trying to open Google maps in webView with custom WebChromeClient and get my location, but map says that it can not set the location. Full code: [CODE] In onGeolocationPermissionsShowPrompt Log.d is silent, means void not calling. But why? Manifest: [CODE] In layout only webView [CODE] What is the problem? Thanks i...
android|webview|geolocation|webchromeclient
1
2017-05-31T09:17:36.903Z
2,017
5
9
2
523
0
357
26
4
3
true
true
false
false
false
false
low
44,314,782
Layout destroys Childs of ViewGroup when switching Tabs
<p>Can I prevent that android destroys (or deletes) all children of my custom viewgroup in the leaving fragment when I switch tabs? The children are custom views too.</p>
Can I prevent that android destroys (or deletes) all children of my custom viewgroup in the leaving fragment when I switch tabs? The children are custom views too.
android|tabs|viewgroup
1
2017-06-01T18:37:17.963Z
2,017
6
18
3
14
0
163
55
3
0
false
true
false
false
false
false
low
44,039,217
How to call https services and how to import .crt file in android studio project
<p>actually, i have created one project. in that project, i am calling web services through HTTP helper classes. now those services are becoming secured they put some SSL certificates to call those services. </p> <p>what my questions are</p> <p>how to import .crt file in Android studio project? how to call those http...
actually, i have created one project. in that project, i am calling web services through HTTP helper classes. now those services are becoming secured they put some SSL certificates to call those services. what my questions are how to import .crt file in Android studio project? how to call those https services? please h...
android|web-services|android-studio|ssl-certificate|webservices-client
2
2017-05-18T05:24:28.860Z
2,017
5
5
3
272
0
354
80
5
0
false
true
false
false
false
false
low
44,296,716
Robolectric tests failing when run on CLI
<p>Tests are running fine in Android Studio, but not when I run them on the CLI with Gradle. I am guessing something with the classpath. Here is the stacktrace. Any ideas?</p> <p>I get the same results with robolectric 3.3.2 or 3.4-rc1 and 3.4-rc1</p> <pre><code>java.lang.RuntimeException: java.lang.NullPointerExcep...
Tests are running fine in Android Studio, but not when I run them on the CLI with Gradle. I am guessing something with the classpath. Here is the stacktrace. Any ideas? I get the same results with robolectric 3.3.2 or 3.4-rc1 and 3.4-rc1 [CODE]
android|android-studio|robolectric|gradlew
5
2017-06-01T00:37:49.427Z
2,017
6
0
3
272
0
244
41
4
1
true
true
false
false
false
false
low
44,306,629
How to get Image URLs of Google search in android
<p>I need to show Google search images in list view, Google search API is deprecated and I heard that custom google search will help, But That is not working I tried This link <a href="https://fbombmedia.com/set-google-custom-search-api-app/" rel="nofollow noreferrer">https://fbombmedia.com/set-google-custom-search-api...
I need to show Google search images in list view, Google search API is deprecated and I heard that custom google search will help, But That is not working I tried This link https://fbombmedia.com/set-google-custom-search-api-app/ Can anyone help Thanks
android|google-custom-search
2
2017-06-01T11:44:56.327Z
2,017
6
11
3
272
0
252
49
2
0
false
true
false
false
false
false
low
44,090,364
ContentResolver query selection where value is in range or array
<p>I am working on a basic project involving <code>CalendarContract.Calendars</code> and <code>CalendarContract.Events</code>. I have selected a calendar list with a simple selection rule( with a wildcard), so I essentially have a list of calendar ids I want. My goal is to select events only with calendar IDs that are ...
I am working on a basic project involving CalendarContract.Calendars and CalendarContract.Events . I have selected a calendar list with a simple selection rule( with a wildcard), so I essentially have a list of calendar ids I want. My goal is to select events only with calendar IDs that are in the list of IDs from prev...
android|selection|android-contentresolver
2
2017-05-20T20:08:01.923Z
2,017
5
20
5
528
0
709
64
3
1
true
true
false
false
false
false
low
44,167,057
Android ExifInterface Horizontal Flip Undefined
<p>After taking a picture using the Google Vision Library (<a href="https://developers.google.com/android/reference/com/google/android/gms/vision/CameraSource" rel="nofollow noreferrer">CameraSource</a>) I grab the orientation from Exif data using</p> <pre><code>int orientationValue = exifInterface.getAttributeInt(Exi...
After taking a picture using the Google Vision Library ( CameraSource ) I grab the orientation from Exif data using [CODE] This is giving me the rotation of the camera at the time the image was taken however I can't get information on which camera was being used (front or back). There is a warning in the logs from the ...
android|android-camera|exif
2
2017-05-24T19:33:29.317Z
2,017
5
19
2
528
0
637
47
3
2
true
true
false
false
false
false
low
43,973,115
Camera - TextureView preview flicker in some devices
<p>I have implemented my custom CamerView with TextureView which works perfectly fine. Though in some devices such as <em>Motorolla G4 - MarshMallow, Lenovo KNote - Lollipop</em> Camera Preview flickers with Green Square View appears on the screen.</p> <p>Here's my CameraTextureView</p> <pre><code>public class Camera...
I have implemented my custom CamerView with TextureView which works perfectly fine. Though in some devices such as Motorolla G4 - MarshMallow, Lenovo KNote - Lollipop Camera Preview flickers with Green Square View appears on the screen. Here's my CameraTextureView [CODE] Though while taking screenshot it appears normal...
android|android-textureview
1
2017-05-15T06:51:26.727Z
2,017
5
6
0
273
0
335
52
2
1
true
true
false
false
false
false
low
43,936,391
AAC stream (android mediaCodec) to PCM (in java)
<p>i'm trying to stream audio from <code>android app</code> to <code>java-server</code>. first of all i've tried simple streaming <code>PCM</code> data with <a href="https://stackoverflow.com/a/23603738">CMG711</a> compression but it kills the <code>wifi-network</code> as a lot of data sends. So the solution was to mak...
i'm trying to stream audio from android app to java-server . first of all i've tried simple streaming PCM data with CMG711 compression but it kills the wifi-network as a lot of data sends. So the solution was to make better compression i guess. I prepared code based on this one [CODE] and the wifi-network become fells ...
java|android|audio|pcm|aac
1
2017-05-12T11:10:38.827Z
2,017
5
11
4
785
0
1,543
48
5
4
true
true
false
false
false
false
low
43,999,850
Ionic build --release android - Throwing errors about iOS
<p>I have come back to make some updates on an Ionic 1 project today that was last built around a year ago.</p> <p>I have made the changes and ran:</p> <pre><code>ionic build --release android </code></pre> <p>I am receiving this error:</p> <pre><code>Error: The provided path "/Users/hinge/Desktop/apps/my-app- name...
I have come back to make some updates on an Ionic 1 project today that was last built around a year ago. I have made the changes and ran: [CODE] I am receiving this error: [CODE] I don't even have iOS as a platform installed... any ideas why it wont just build the android app. Thanks.
android|ionic-framework|build
1
2017-05-16T11:11:03.697Z
2,017
5
11
1
18
0
285
57
3
2
true
true
false
false
false
false
low
44,033,539
determine in code if android WebView web contents debugging enabled
<p>Is it possible to tell at runtime if an android (cordova) application's WebViews are remote debug enabled (eg via chrome inspector) and if so how ?</p> <p>So for instance, if the WebView started out as non-debuggable (a typical release build app) and then at some point <code>static void WebView.setWebContentsDebu...
Is it possible to tell at runtime if an android (cordova) application's WebViews are remote debug enabled (eg via chrome inspector) and if so how ? So for instance, if the WebView started out as non-debuggable (a typical release build app) and then at some point static void WebView.setWebContentsDebuggingEnabled(true) ...
android|cordova|webview|android-ndk
1
2017-05-17T19:44:04.557Z
2,017
5
19
2
274
0
493
67
4
0
false
true
false
false
false
false
low
44,107,134
In-App Purchase track free monthly ususge Android
<p>I am creating a android application where I have integrated In-App purchase functionality of Google.</p> <p>Now I want to give following feature in the application.</p> <p><strong>For the Paid service, If user not sub-scripted for the particular, user can access the functionality 1 time in a month</strong></p> <p...
I am creating a android application where I have integrated In-App purchase functionality of Google. Now I want to give following feature in the application. For the Paid service, If user not sub-scripted for the particular, user can access the functionality 1 time in a month I searched the docs n all but not able to t...
android|in-app-purchase
1
2017-05-22T07:33:16.517Z
2,017
5
7
0
21
0
376
49
2
0
false
true
false
false
false
false
low
44,371,297
Adapter View is refreshing while on notifying
<p>I have List View like Facebook, it has video View and like button etc, what is my problem, while video is playing on list if that time i will click on like button video is getting started again from starting, </p> <p>what is my requirement, If video is playing and if i click on like button video should interrupted....
I have List View like Facebook, it has video View and like button etc, what is my problem, while video is playing on list if that time i will click on like button video is getting started again from starting, what is my requirement, If video is playing and if i click on like button video should interrupted. How can I s...
android|adapter
2
2017-06-05T14:30:44.250Z
2,017
6
14
0
23
0
336
45
2
0
false
true
false
false
false
false
low
44,259,072
LeadingMarginSpan not indented correctly for multilevel/nested bullets
<p>I create a custom <code>BulletSpan</code> by extending <code>LeadingMarginSpan</code> to draw a custom bulleted items in a <code>TextView</code>. The documentation of <code>LeadingMarginSpan</code> says it can be nested (i.e. multilevel bullets):</p> <blockquote> <p>There can be multiple leading margin spans on a...
I create a custom BulletSpan by extending LeadingMarginSpan to draw a custom bulleted items in a TextView . The documentation of LeadingMarginSpan says it can be nested (i.e. multilevel bullets): There can be multiple leading margin spans on a single paragraph; they will be rendered in order, each adding its margin to ...
android|spannable|bulletedlist
1
2017-05-30T09:58:00.937Z
2,017
5
9
1
535
0
889
70
3
4
true
true
false
false
false
false
low