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
43,960,090
Ionic 2 File Plugin - Creating Directory Error
<p>I'm trying out some ionic native plugins, so far everything has been great except for the file plugin. I've been trying to create directory in the externalDataDirectory path provided by the file plugin. What am trying to do is check if the directory exists first but that actually seems to be the issue. I keep gettin...
I'm trying out some ionic native plugins, so far everything has been great except for the file plugin. I've been trying to create directory in the externalDataDirectory path provided by the file plugin. What am trying to do is check if the directory exists first but that actually seems to be the issue. I keep getting a...
android|cordova|ionic2|cordova-plugins|ionic-native
2
2017-05-14T03:27:11.220Z
2,017
5
3
6
1,304
0
584
46
5
1
true
true
false
false
false
false
low
44,213,999
Share Android device keyboard to android based jellybean projector Browser
<p>I have an Android device, which I want to connect to the Android-based projector with Jellybean installed into the projector. What I want is to share Android device keyboard to the Android projector virtually, how this can be achieved so that my Android device keyboard is connected to Android projector and text can ...
I have an Android device, which I want to connect to the Android-based projector with Jellybean installed into the projector. What I want is to share Android device keyboard to the Android projector virtually, how this can be achieved so that my Android device keyboard is connected to Android projector and text can be ...
android|keyboard|share
1
2017-05-27T07:03:53.137Z
2,017
5
7
5
25
0
600
74
3
0
false
true
false
false
false
false
low
43,945,006
How can I make my ImageButton behave differently depending on ToggleButton status?
<p>I am trying to add a toggle button, so that my image button switches the direction that it translates based on the status of the toggle button. However, I am running into problems when trying to add it to the media player, and when using the <code>if</code> statement.</p> <pre><code>public class MainActivity extend...
I am trying to add a toggle button, so that my image button switches the direction that it translates based on the status of the toggle button. However, I am running into problems when trying to add it to the media player, and when using the if statement. [CODE] This is my Translations.java. I'm not sure if this is nec...
android|boolean|android-imagebutton|android-togglebutton
1
2017-05-12T19:16:31.417Z
2,017
5
19
4
26
0
348
82
4
2
true
true
false
false
false
false
low
44,292,773
android - how to mock a compiled dynamic library (.so)
<p>To log how a given library, <code>libbinder.so</code>, is used, I would like to do the following:</p> <p>create a mock <code>libbinder.so</code> that would effectively intercept calls from the function, then perform some logging action, then forward the call to the real <code>libbinder.so</code> which I would have ...
To log how a given library, libbinder.so , is used, I would like to do the following: create a mock libbinder.so that would effectively intercept calls from the function, then perform some logging action, then forward the call to the real libbinder.so which I would have renamed libbinder.so.real
android
1
2017-05-31T19:01:21.537Z
2,017
5
19
2
27
0
296
54
1
0
false
true
false
false
false
false
low
44,193,652
The 'configuration' element is not declared in Visual studio 2015
<p>I have some problem about my App visual Studio, especially in my Xamarin, I wanna ask why everytime I compile, this message always come? </p> <p><code>The 'configuration' element is not declared.App4.Android</code></p> <p>this is my Source code,</p> <p>can anybody help me?</p> <pre><code>&lt;?xml version="1.0" ...
I have some problem about my App visual Studio, especially in my Xamarin, I wanna ask why everytime I compile, this message always come? The 'configuration' element is not declared.App4.Android this is my Source code, can anybody help me? [CODE]
c#|android|visual-studio-2015
1
2017-05-26T04:30:40.403Z
2,017
5
4
4
284
0
245
65
3
1
true
true
false
false
false
false
low
44,225,844
My execution remains blocked on Configuring > 3/4 projects react native project
<p>Please I have a soutenance I have to solve the problem, My execution remains blocked on Configuring > 3/4 projects <a href="https://i.stack.imgur.com/Po3Hd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Po3Hd.png" alt="enter image description here"></a></p> <p><a href="https://i.stack.imgur.com/...
Please I have a soutenance I have to solve the problem, My execution remains blocked on Configuring > 3/4 projects package.json
android|debugging|react-native|sdk|execution
2
2017-05-28T09:38:19.417Z
2,017
5
9
6
29
0
127
79
5
0
false
true
false
false
false
false
low
44,220,095
How to develop D-pad navigation on React Native?
<p>I am using React Native to develop app for ODG R-7 smart glasses that run on Android 4.4 KitKat. I'd like to develop D-pad navigation as specified in <a href="https://developer.android.com/training/tv/start/navigation.html" rel="nofollow noreferrer">https://developer.android.com/training/tv/start/navigation.html</a>...
I am using React Native to develop app for ODG R-7 smart glasses that run on Android 4.4 KitKat. I'd like to develop D-pad navigation as specified in https://developer.android.com/training/tv/start/navigation.html . I believe the key would be to correctly set the nextFocusDown, nextFocusUp, nextFocusLeft, nextFocusRigh...
android|react-native|navigation|d-pad
3
2017-05-27T18:02:53.867Z
2,017
5
18
5
541
0
432
48
4
0
false
true
false
false
false
false
low
44,335,168
Loading RequireJS in React-Native app
<p>I've spent the last two days pouring over every shred of documentation and every tangentially related support thread I could find but have run into a dead end on this. </p> <p>Working on a React-Native application for a client. They are insisting we use React-Native, and additionally, want to utilize Bing's Speec...
I've spent the last two days pouring over every shred of documentation and every tangentially related support thread I could find but have run into a dead end on this. Working on a React-Native application for a client. They are insisting we use React-Native, and additionally, want to utilize Bing's Speech-to-Text API....
android|react-native|requirejs|bing-speech
2
2017-06-02T18:17:22.763Z
2,017
6
18
4
541
0
1,205
37
4
1
true
true
false
false
false
false
low
44,034,565
Does Android getProperties method return the flag field of a Bluetooth characteristic?
<p>I’ve been studying the Heart Rate Measurement Characteristic documentation in order to understand what each byte of the characteristic means. My understanding is that the least significant byte of the characteristic corresponds with the flag field. So this line of code (in an Android app) should return the flags:</p...
I’ve been studying the Heart Rate Measurement Characteristic documentation in order to understand what each byte of the characteristic means. My understanding is that the least significant byte of the characteristic corresponds with the flag field. So this line of code (in an Android app) should return the flags: [CODE...
android|bluetooth|android-bluetooth|flags|characteristics
4
2017-05-17T20:50:08.483Z
2,017
5
20
2
286
0
1,035
86
5
3
true
true
false
false
false
false
low
44,012,647
How To Support Devices With Different Capabilities Gracefully
<p>I have written an app whose AndroidManifest.xml has this section in it:</p> <pre><code>&lt;uses-sdk android:minSdkVersion="19" android:targetSdkVersion="25" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt; &lt;uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /&g...
I have written an app whose AndroidManifest.xml has this section in it: [CODE] I have a hunch that these lines are resulting in my application being determined to be "unsupported" for a number of devices, with the most interest class to me being Chromebooks. These permissions are not strictly necessary for the app to f...
android|ionic2|chromebook
1
2017-05-16T22:31:39.453Z
2,017
5
22
1
33
0
713
61
3
1
true
true
false
false
false
false
low
44,240,470
My Android Studio uses jre from file Android/Android Studio in JDK location.
<p>My Android Studio uses JRE from file Android/Android Studio in JDK location in the project structure settings. Is it okay or should I put my JDK location from C drive(where I actually installed JDK)? It works fine with the current path, though. Just wondering if I'm missing any additional features when I put my JDK ...
My Android Studio uses JRE from file Android/Android Studio in JDK location in the project structure settings. Is it okay or should I put my JDK location from C drive(where I actually installed JDK)? It works fine with the current path, though. Just wondering if I'm missing any additional features when I put my JDK loc...
android|android-studio
2
2017-05-29T10:40:31.333Z
2,017
5
10
0
33
0
326
76
2
0
false
true
false
false
false
false
low
43,954,567
Firebase GeoFire using a FirebaseRecylerAdapter
<p>How do I populate a FirebaseRecyclerAdapter using Key Values obtained after perfoming a Geoquery on Firebase?</p> <pre><code>public class MainActivity extends AppCompatActivity implements { private RecyclerView myLocationAds; private FirebaseRecyclerAdapter&lt;MyAds, MyLocAdsViewHolder&gt; myLocAdsAdapter; private...
How do I populate a FirebaseRecyclerAdapter using Key Values obtained after perfoming a Geoquery on Firebase? [CODE] Declarations [CODE] Intialize my RecyclerView [CODE] Here's My FirebaseRecyclerAdapter [CODE] } });}};} Here's My Geoquery That Gives an Output of keys within my Location Range [CODE] How do I populate t...
android|firebase-realtime-database|android-recyclerview|firebaseui|geofire
1
2017-05-13T14:58:30.943Z
2,017
5
14
5
289
0
393
47
5
5
true
true
false
false
false
false
low
43,980,240
Google Maps not working on iOS and TestFlight
<p>I will be eternally in debt and grateful to anyone who can share with me or point me to the right direction on how to make react-native-maps from Airbnb work on iOS TestFlight.</p> <p>Right now following the steps from the react-native-maps guide is impossible, I had to use the example in the repo to have it workin...
I will be eternally in debt and grateful to anyone who can share with me or point me to the right direction on how to make react-native-maps from Airbnb work on iOS TestFlight. Right now following the steps from the react-native-maps guide is impossible, I had to use the example in the repo to have it working on the Si...
android|ios|react-native|react-native-maps
3
2017-05-15T13:00:10.943Z
2,017
5
13
0
289
0
453
45
4
0
false
true
false
false
false
false
low
44,028,459
Android: How to detect a Task Killer (e.g. Clean Master) with accessibility services?
<p>How can I programmatically tell whether <strong>any</strong> task killer (e.g. Clean Master) is installed and has accessibility privileges to force-stop other apps?</p> <p>Example for task killers that can force stop apps:</p> <ul> <li>Clean Master </li> <li>Advanced Task Killer</li> </ul> <p><strong>Note:</stron...
How can I programmatically tell whether any task killer (e.g. Clean Master) is installed and has accessibility privileges to force-stop other apps? Example for task killers that can force stop apps: Clean Master Advanced Task Killer Note: I do not want to specifically detect "Clean Master". I want to detect ANY task ki...
android|task|accessibility|kill|detect
2
2017-05-17T15:00:39.673Z
2,017
5
15
2
289
0
352
85
5
0
false
true
false
false
false
false
low
44,205,069
Android Main Screen glitch on Rapberry Pi3
<p>I'm beginner in Android OS development and I tried to compile Android 6.0.1 from here: <a href="https://github.com/peyo-hd/device_brcm_rpi3/tree/npv" rel="nofollow noreferrer">https://github.com/peyo-hd/device_brcm_rpi3/tree/npv</a> And everything was fine until I installed it on my Raspberry. I faced with some glit...
I'm beginner in Android OS development and I tried to compile Android 6.0.1 from here: https://github.com/peyo-hd/device_brcm_rpi3/tree/npv And everything was fine until I installed it on my Raspberry. I faced with some glitches on the Main screen. When I run application the image is OK. And sometimes the blue frame bl...
android|android-6.0-marshmallow|mainscreen
1
2017-05-26T15:20:21.363Z
2,017
5
15
4
34
0
601
42
3
0
false
true
false
false
false
false
low
44,299,211
android display a response while user performs a gesture
<h1>How to show a response while gesture input is in progress?</h1> <p>I'm using swipe down gesture to reload my WebView. </p> <p>Using this for gesture detection:<a href="https://stackoverflow.com/questions/13095494/how-to-detect-swipe-direction-between-left-right-and-up-down">How to detect swipe direction between ...
How to show a response while gesture input is in progress? I'm using swipe down gesture to reload my WebView. Using this for gesture detection: How to detect swipe direction between left/right and up/down Problem SimpleGestureListener captures the result of user input only. It cannot be used to show a response, e.g. an...
android|gesture
1
2017-06-01T05:32:37.527Z
2,017
6
5
3
34
0
773
56
2
1
true
true
false
false
false
false
low
44,245,844
Phonegap Angular2 with typescript issue with loading files when building app
<p>I have issue with building application with angular 2 and phonegap. On lite-server works great, but when i compile to phonegap, app is stucked on loading. When i opened file in browser that are in <code>platforms/android/assets/www/index.html</code> i get <code>ERR_FILE_NOT_FOUND</code> when i set base href to it us...
I have issue with building application with angular 2 and phonegap. On lite-server works great, but when i compile to phonegap, app is stucked on loading. When i opened file in browser that are in platforms/android/assets/www/index.html i get ERR_FILE_NOT_FOUND when i set base href to it using window.location i get COR...
javascript|android|cordova|phonegap
1
2017-05-29T15:18:55.923Z
2,017
5
15
0
35
0
500
76
4
0
false
true
false
false
false
false
low
44,236,672
Android AVD only allowing multiples of 1GB RAM
<p>When I was setting the value for RAM size in AVD itself in Android Studio, trying values of 512mb, 768mb, and 1536mb, none of the above values were working, with the system itself registering 1024mb RAM. However, setting it to 2048MB works. The same behaviour also applies when running the emulator in the SDK itself ...
When I was setting the value for RAM size in AVD itself in Android Studio, trying values of 512mb, 768mb, and 1536mb, none of the above values were working, with the system itself registering 1024mb RAM. However, setting it to 2048MB works. The same behaviour also applies when running the emulator in the SDK itself fro...
android-studio|avd
1
2017-05-29T07:19:07.373Z
2,017
5
7
0
37
0
424
46
2
0
false
true
false
false
false
false
low
44,284,990
How to send UID value from GPS service to next class public void onLocationChanged Android
<p>We are working on logistics app on Android. App will start independent GPS service that is sending location on change to web server (Apache). GPS service starts with UID and Android Studio log shows that GPS service has this UID working. The problem is that lat and long values are coming to server corretly but UID ...
We are working on logistics app on Android. App will start independent GPS service that is sending location on change to web server (Apache). GPS service starts with UID and Android Studio log shows that GPS service has this UID working. The problem is that lat and long values are coming to server corretly but UID is s...
java|android|gps
1
2017-05-31T12:34:56.373Z
2,017
5
12
2
37
0
443
90
3
1
true
true
false
false
false
false
low
44,136,507
Error calling JSTimersExecution.callTimers in react-native
<p>I am stuck with this error type in react-native. please find the attached screenshot. Please guide me to solve this error.</p> <p><a href="https://i.stack.imgur.com/EmZuH.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EmZuH.jpg" alt="enter image description here"></a> </p> <p>I am using react-...
I am stuck with this error type in react-native. please find the attached screenshot. Please guide me to solve this error. I am using react-native-cli: 2.0.1 react-native: 0.44.0
android|reactjs|react-native|react-native-cli
4
2017-05-23T13:40:09.673Z
2,017
5
13
1
549
0
178
58
4
0
false
true
false
false
false
false
low
44,050,010
How do I set the Id in the MenuItems to use in REPL?
<p>I'm using UiTests/ REPL, to do some tests. I need to use menuItem id, to click (Tap command in REPL) in a menuItem.</p> <p>The Menuitem, is defined in the XML file with android:id="@+id/menu_settings", title and local:showAsAction="never", and appear in the "overflowButton". When I do that, in REPl, using the comma...
I'm using UiTests/ REPL, to do some tests. I need to use menuItem id, to click (Tap command in REPL) in a menuItem. The Menuitem, is defined in the XML file with android:id="@+id/menu_settings", title and local:showAsAction="never", and appear in the "overflowButton". When I do that, in REPl, using the command "tree", ...
android|xamarin|xamarin.android
1
2017-05-18T14:04:24.673Z
2,017
5
14
3
38
0
711
52
3
0
false
true
false
false
false
false
low
44,076,631
Draw, Persist and Delete Balls for an Android 2D Graphics Application
<p>Drawing some balls onto the screen that can be manipulated is simple enough (to be honest even persisting some coordinate data and re-drawing is probably not too hard)</p> <p>The tricky part is that I want the user to be able to long press a given ball to delete it (Note: a restriction would probably be in place to...
Drawing some balls onto the screen that can be manipulated is simple enough (to be honest even persisting some coordinate data and re-drawing is probably not too hard) The tricky part is that I want the user to be able to long press a given ball to delete it (Note: a restriction would probably be in place to prevent ba...
java|android|graphics
1
2017-05-19T18:21:45.630Z
2,017
5
18
4
38
0
919
69
3
0
false
true
false
false
false
false
low
44,352,262
Android Path.approximate() usage in pre Lollipop
<p>This method has been around since Lollipop 5.0 but marked as @hidden. It has then been made public in the latest O preview and it can be (most likely safely) accessed via reflection between API 21 and 25. </p> <p>I'm asking if there is a way to port this back to API 19 and below. Though it seems pretty much impossi...
This method has been around since Lollipop 5.0 but marked as @hidden. It has then been made public in the latest O preview and it can be (most likely safely) accessed via reflection between API 21 and 25. I'm asking if there is a way to port this back to API 19 and below. Though it seems pretty much impossible since it...
android
3
2017-06-04T08:43:12.780Z
2,017
6
8
6
294
0
388
48
1
0
false
true
false
false
false
false
low
43,962,396
my ViewPage does not work correctly in another Fragment
<p>I have Strange problem I Use frame layout and inside it I use Some Fragment Like Below And Handle Fragment With Bottom Bar </p> <p>Now in One Of These Fragment I Use ViewPager And TabLayout Like Below</p> <p>My Problem Is when Change Fragment From for exmple first to Third First time change correctly but for s...
I have Strange problem I Use frame layout and inside it I use Some Fragment Like Below And Handle Fragment With Bottom Bar Now in One Of These Fragment I Use ViewPager And TabLayout Like Below My Problem Is when Change Fragment From for exmple first to Third First time change correctly but for second time it does not w...
android|android-fragments
1
2017-05-14T09:32:13.390Z
2,017
5
9
6
39
0
681
55
2
2
true
true
false
false
false
false
low
44,214,568
How to build some components of android build-tools from sources?
<p>I need to build some components from build-tools from sources. </p> <p>I need to build <code>build-tools/25.0.3/lib/dx.jar</code>. </p> <p>I found the source file what exactly I need (I hope this is it): <a href="https://android.googlesource.com/platform/tools/base/+/gradle_2.3.0/build-system/builder/src/main/java...
I need to build some components from build-tools from sources. I need to build build-tools/25.0.3/lib/dx.jar . I found the source file what exactly I need (I hope this is it): https://android.googlesource.com/platform/tools/base/+/gradle_2.3.0/build-system/builder/src/main/java/com/android/multidex/MainDexListBuilder.j...
android|android-source|android-build|repo
1
2017-05-27T08:15:19.397Z
2,017
5
8
5
39
0
514
65
4
1
true
true
false
false
false
false
low
44,044,779
Open Android app using scheme
<p>How can I open an Android app using an external app like this:</p> <pre><code>app://share/something?id=10&amp;city=london </code></pre> <p>I already tried, without success:</p> <pre><code>&lt;data android:scheme="myapp" android:host="/share/something"/&gt; &lt;data android:scheme="myapp" android:host="/share/so...
How can I open an Android app using an external app like this: [CODE] I already tried, without success: [CODE] Is there any simpler way to handle this case?
java|android
1
2017-05-18T10:07:03.100Z
2,017
5
10
3
40
0
156
29
2
2
true
true
false
false
false
false
low
43,936,007
Appcelerator Hyperloop Android - How to use certain Sensor Manager functions which use a pass by reference structure
<p>I'm stepping into Hyperloop for the first time, specifically for Android currently, and although it's going fairly well I've had one issue which I will explain below. </p> <p>I've successfully been able to get a handle to the Sensor Manager and set up a Sensor listener event to get values from the sensor. </p> <p>...
I'm stepping into Hyperloop for the first time, specifically for Android currently, and although it's going fairly well I've had one issue which I will explain below. I've successfully been able to get a handle to the Sensor Manager and set up a Sensor listener event to get values from the sensor. If anyone needs that ...
android|appcelerator|android-sensors|sensormanager|hyperloop
5
2017-05-12T10:52:42.953Z
2,017
5
10
4
296
0
1,187
116
5
2
true
true
false
false
false
false
low
43,960,838
Android:About the sample rate when recording when using AudioRecord and OpenSL ES
<p>I am investigating the audio recording using AudioRecord and OpenSL ES, and I find some confusion about the sample rate when reading the doc.</p> <p>About the <a href="https://developer.android.com/reference/android/media/AudioRecord.html#AudioRecord(int,%20int,%20int,%20int,%20int)" rel="nofollow noreferrer">Audio...
I am investigating the audio recording using AudioRecord and OpenSL ES, and I find some confusion about the sample rate when reading the doc. About the AudioRecord , it says the sample rate expressed in Hertz. 44100Hz is currently the only rate that is guaranteed to work on all devices, but other rates such as 22050, 1...
android|audiorecord|opensl
1
2017-05-14T06:00:53.190Z
2,017
5
6
6
296
0
878
81
3
0
false
true
false
false
false
false
low
44,026,468
Connecting Android, Webservices and database
<p>What I'm trying to do is connect a Java Android app with a FireBird database that is stored in an enterprise server. I realised i need to use some kind of webserver to avoid connecting to the database directly. In other words, something like this:</p> <p>Android app -> WebServer -> Database</p> <p>My problem is th...
What I'm trying to do is connect a Java Android app with a FireBird database that is stored in an enterprise server. I realised i need to use some kind of webserver to avoid connecting to the database directly. In other words, something like this: Android app -> WebServer -> Database My problem is that although there a...
android|database|webserver
1
2017-05-17T13:35:30.350Z
2,017
5
13
2
41
0
600
44
3
0
false
true
false
false
false
false
low
44,251,927
Memory de-allocation: how much cpu overhead does the java environment
<p>In a real-time 3d application (written using java in Android Studio and OpenGL ES, though that isn't important for this question) the frame rate started dropping significantly because per-frame operations <strong>overloaded the heap/gc</strong> with thread-safe <code>final</code> objects which each cast <code>new</c...
In a real-time 3d application (written using java in Android Studio and OpenGL ES, though that isn't important for this question) the frame rate started dropping significantly because per-frame operations overloaded the heap/gc with thread-safe final objects which each cast new objects for most operations. (E.g. adding...
java|android|memory-management|opengl-es|stack
2
2017-05-30T00:52:56.547Z
2,017
5
0
1
41
0
1,441
69
5
0
false
true
false
false
false
false
low
44,344,615
Taking Photos Simply. onActivityResult null pointer
<p>I have looked through here for help but nothing seems to be completely related or helped me fix the error I am facing. I copied everything from <a href="https://developer.android.com/training/camera/photobasics.html#TaskScalePhoto" rel="nofollow noreferrer">https://developer.android.com/training/camera/photobasics.h...
I have looked through here for help but nothing seems to be completely related or helped me fix the error I am facing. I copied everything from https://developer.android.com/training/camera/photobasics.html#TaskScalePhoto How do I remove the null pointer from this line? [CODE] The rest of the code is here. [CODE] Stack...
android|nullpointerexception
1
2017-06-03T13:48:06.173Z
2,017
6
13
5
42
0
332
51
2
3
true
true
false
false
false
false
low
43,979,541
Virtual Eyewears try on plugin IOS and Android
<p>Anybody knows some plugin or framework to IOS and Android that makes Virtual Eyewear try on. Like this example: </p> <p><a href="http://www.silhouette.com/Content.Node/iMirror/iMirror_promo_940x528.mp4" rel="nofollow noreferrer">http://www.silhouette.com/Content.Node/iMirror/iMirror_promo_940x528.mp4</a></p> <p>Th...
Anybody knows some plugin or framework to IOS and Android that makes Virtual Eyewear try on. Like this example: http://www.silhouette.com/Content.Node/iMirror/iMirror_promo_940x528.mp4 Thanks in advance.
android|ios|plugins|frameworks
1
2017-05-15T12:26:38.797Z
2,017
5
12
0
43
0
203
46
4
0
false
true
false
false
false
false
low
44,253,412
Error:Execution failed for task ':app:processDevelopmentDebugManifest'
<p>Please Help</p> <p>Error:Execution failed for task ':app:processDevelopmentDebugManifest'.</p> <blockquote> <p>com.android.manifmerger.ManifestMerger2$MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.</p> </blockquote>
Please Help Error:Execution failed for task ':app:processDevelopmentDebugManifest'. com.android.manifmerger.ManifestMerger2$MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
android-studio-2.3
1
2017-05-30T04:26:16.047Z
2,017
5
4
1
1,323
0
243
70
1
0
false
true
false
false
false
false
low
43,983,668
Using View.GONE in a proper and right way
<p>Recently while doing a little project of mine, I applied <code>View.GONE</code> in my code and from time to time like randomly I will receive this error below. </p> <pre><code>05-15 15:08:06.426 26589-26589/com.jobforhire.mobile W/View: requestLayout() improperly called by android.widget.LinearLayout{e203993 V.E......
Recently while doing a little project of mine, I applied View.GONE in my code and from time to time like randomly I will receive this error below. [CODE] And I read a couple of post here and there that by using View.GONE will randomly cause the above error. Is there anyway proper way to use View.GONE ? Is it better to ...
android
1
2017-05-15T15:42:49.260Z
2,017
5
15
0
44
0
431
41
1
1
true
true
false
false
false
false
low
44,061,882
How to handle Negative timers countdown Negative timers in ListView?
<p>How to handle Negative timers countdown Negative timers in ListView </p> <pre><code>public class MainActivity extends AppCompatActivity { private ListView lvItems; private List&lt;Product&gt; lstProducts; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); se...
How to handle Negative timers countdown Negative timers in ListView [CODE] } This is my mainactivity here How should i start the timing in negative when it was completed. I am having listview with two textview
android|android-layout|android-studio|android-recyclerview
1
2017-05-19T05:08:45.577Z
2,017
5
5
4
44
0
209
68
4
1
true
true
false
false
false
false
low
44,151,518
How to get all facebook photos after login
<p>I am using this to get all photos and other information but i am not getting all photos after login user.Below is the code that i am using to get information.</p> <pre><code>Bundle parameters = new Bundle(); parameters.putString("fields", "id,first_name,email,cover,albums{picture},picture.type(large),li...
I am using this to get all photos and other information but i am not getting all photos after login user.Below is the code that i am using to get information. [CODE] Blockquote Thanks in advance...
android
1
2017-05-24T07:17:43.780Z
2,017
5
7
2
44
0
197
42
1
1
true
true
false
false
false
false
low
44,116,214
Android REORDER_TO_FRONT with duplicit Activities
<p>is there any possibility how to recall(reorder to front) Activity from backstack when one of the same type (class) is at the top?</p> <p>If there is..HOW? :-D</p> <p>example:</p> <ol> <li>I start <strong>ActivityA</strong> with <code>new Intent(ActivityH.this, ActivityA.class);</code></li> <li>Then I start <stro...
is there any possibility how to recall(reorder to front) Activity from backstack when one of the same type (class) is at the top? If there is..HOW? :-D example: I start ActivityA with new Intent(ActivityH.this, ActivityA.class); Then I start ActivityB with new Intent(ActivityH.this, ActivityB.class); Then ActivityC wit...
android|android-intent|android-activity|flags
2
2017-05-22T14:59:42.947Z
2,017
5
14
0
45
0
833
49
4
0
false
true
false
false
false
false
low
43,930,497
input angular.moment Error: [$injector:unpr] angular.js:9400
<p>I build android with IONIC framework, and i try use type="date" in my project to search but i know field in date like this <code>2017-5-10T17:00:00.000Z</code>. I used angular.moment to filter date be like this <code>2017-5-10</code>. if i use angular.moment field in datepicker was correct but my app error and i lo...
I build android with IONIC framework, and i try use type="date" in my project to search but i know field in date like this 2017-5-10T17:00:00.000Z . I used angular.moment to filter date be like this 2017-5-10 . if i use angular.moment field in datepicker was correct but my app error and i look in console have error Err...
javascript|android|jquery|angularjs
1
2017-05-12T06:13:04.023Z
2,017
5
6
4
47
0
572
60
4
3
true
true
false
false
false
false
low
44,137,202
Autofocus not working on samsung device
<p>I am using below code for autofocus </p> <pre><code>cameraDevice.createCaptureSession( Arrays.asList(surface, previewReader.getSurface()), new CameraCaptureSession.StateCallback() { @Override public void onConfigured(final CameraCaptureSession...
I am using below code for autofocus [CODE] Its working fine with other device but with samsung phones its not working. Thanks in Advance
android|android-camera
2
2017-05-23T14:11:19.020Z
2,017
5
14
1
303
0
136
39
2
1
true
true
false
false
false
false
low
44,321,131
Error: POI 3.16 in android studio ignoring innerclasses attribute for an anonymous inner class
<p>I searched for many solutions for my problem but it didn't work</p> <p>I tried lots of things in proguard-rules.pro but it didn't work</p> <p>-keepattributes EnclosingMethod</p> <p>-keepattributes InnerClasses</p> <p>-dontoptimize</p> <p>-dontwarn InnerClasses</p> <p>-dontoptimize</p> <p>-optimizations !code/...
I searched for many solutions for my problem but it didn't work I tried lots of things in proguard-rules.pro but it didn't work -keepattributes EnclosingMethod -keepattributes InnerClasses -dontoptimize -dontwarn InnerClasses -dontoptimize -optimizations !code/allocation/variable build.gragle: [CODE] Error Log: [CODE] ...
android
3
2017-06-02T05:01:21.297Z
2,017
6
5
4
303
0
351
94
1
2
true
true
false
false
false
false
low
44,329,201
What is the correct command to use to initialize a repo with more than one mirror reference on a local disk?
<p>What is the correct command to use to initialize a repo with more than one mirror reference on a local disk?</p> <pre><code>repo init -u https://android.googlesource.com/platform/manifest -b "branch" --reference="/local/mirror1/dir/aosp" --reference="/local/mirror2/dir/vendordevices" </code></pre> <p>will override...
What is the correct command to use to initialize a repo with more than one mirror reference on a local disk? [CODE] will override reference to /local/mirror2/dir/ Manually editing /.repo/manifests.git/config to include [CODE] does not have the desired effect
reference|android-source|mirror|repo|git-repo
1
2017-06-02T12:39:30.660Z
2,017
6
12
4
559
0
258
108
5
2
true
true
false
false
false
false
low
44,092,510
Modify data in excel using jxl without creating copy
<p>I'm trying to use an excel file as a database and the app constantly needs to read and modify the file. As explained in <a href="https://stackoverflow.com/questions/3605923/modifying-existing-excel-using-jxl">this Q&amp;A</a>, it is necessary to create a copy of original excel file and all the modification has to be...
I'm trying to use an excel file as a database and the app constantly needs to read and modify the file. As explained in this Q&A , it is necessary to create a copy of original excel file and all the modification has to be done there. Is there anyway to modify the excel file without creating a copy because I'll be using...
android|database|sqlite|jxl|sqlhelper
2
2017-05-21T02:11:24.803Z
2,017
5
2
6
48
0
494
52
5
0
false
true
false
false
false
false
low
44,240,175
Text translation issue with Clear Architecture & Nougat
<p>Implemented text translation in Nougat and below by referring <a href="http://gunhansancar.com/change-language-programmatically-in-android/" rel="nofollow noreferrer">http://gunhansancar.com/change-language-programmatically-in-android/</a></p> <p>Working perfect till Marshmallow.</p> <p>In Nougat, messages from ap...
Implemented text translation in Nougat and below by referring http://gunhansancar.com/change-language-programmatically-in-android/ Working perfect till Marshmallow. In Nougat, messages from app module is working perfect. Texts from data module is translating in Device language, not in the app language. eg: Device langu...
android|translation|android-7.0-nougat|clean-architecture
1
2017-05-29T10:25:07.983Z
2,017
5
10
0
49
0
386
55
4
0
false
true
false
false
false
false
low
44,330,395
How can I consistently maintain the Open on Phone option for notifications in Android Wear 1 and Android Wear 2?
<p>In the original version of Android Wear, all notifications automatically created an Open On Phone option. In Android Wear 2, notifications do not automatically create this option.</p> <p>Because my application does not have a companion Android Wear app, I would still like users to be able to open the phone applicat...
In the original version of Android Wear, all notifications automatically created an Open On Phone option. In Android Wear 2, notifications do not automatically create this option. Because my application does not have a companion Android Wear app, I would still like users to be able to open the phone application from a ...
android|android-notifications|wear-os
1
2017-06-02T13:42:14.487Z
2,017
6
13
4
50
0
654
112
3
0
false
true
false
false
false
false
low
44,023,258
How to implement Conference in Android
<p>How to Implement <code>Conference</code> in Android programmatically. I need to track all the call informations from the Phone like,</p> <p>Make a Call, Incoming Call, I want to add a new call to and existing active call (Conference).</p> <p>I found the <a href="https://developer.android.com/reference/android/tele...
How to Implement Conference in Android programmatically. I need to track all the call informations from the Phone like, Make a Call, Incoming Call, I want to add a new call to and existing active call (Conference). I found the Conference API from Android Documentation Which supports from Android version 6.0. Iam new in...
android|phone-call|telephony|conference
1
2017-05-17T11:13:35.183Z
2,017
5
11
2
562
0
431
38
4
0
false
true
false
false
false
false
low
44,230,554
While building an android Softkeyboard, detect change in cursor position when it is manually done by clicking on edittext
<p>I trying to build a Softkeyboard for android and I want to detect changes in cursor position whenever it is manually done by clicking on the textfield. Can you suggest how to go about it. My class extends InputMethodService and implements KeyboardView.OnKeyboardActionListener.</p>
I trying to build a Softkeyboard for android and I want to detect changes in cursor position whenever it is manually done by clicking on the textfield. Can you suggest how to go about it. My class extends InputMethodService and implements KeyboardView.OnKeyboardActionListener.
android|android-softkeyboard|android-input-method
1
2017-05-28T18:20:54.507Z
2,017
5
18
6
51
0
277
121
3
0
false
true
false
false
false
false
low
43,972,770
Can't get the Android SDK Manager to work
<p><strong>Overview:</strong></p> <ul> <li>I cant open the SDK Manager. When I run it, the terminal shuts immediately.</li> <li>I can't open android.bat, it does the same thing as the SDK Manager.</li> <li><p>I can't open the layout in Visual Studio, it comes up with a long error about Java not being configured proper...
Overview: I cant open the SDK Manager. When I run it, the terminal shuts immediately. I can't open android.bat, it does the same thing as the SDK Manager. I can't open the layout in Visual Studio, it comes up with a long error about Java not being configured properly. java.lang.NoClassDefFoundError: com/android/utils/I...
c#|android|visual-studio|android-studio|sdk
1
2017-05-15T06:28:55.140Z
2,017
5
6
0
307
0
1,891
41
5
0
false
true
false
false
false
false
low
43,945,338
Android Google Place Autocomplete Api results
<p>I use Google Place Autocomplete Fragment for Android and I want to filter my results by giving priority to the nearest locations from my location but I notice that there is no access to my location and it gives me random results from many countries. Any suggestion?</p>
I use Google Place Autocomplete Fragment for Android and I want to filter my results by giving priority to the nearest locations from my location but I notice that there is no access to my location and it gives me random results from many countries. Any suggestion?
android
2
2017-05-12T19:41:01.813Z
2,017
5
19
4
52
0
265
45
1
0
false
true
false
false
false
false
low
44,330,784
Rate callback while scan with BLE
<p>I scan using <code>ScanSettings.SCAN_MODE_LOW_LATENCY</code>. When I start my application I have a high rate callback but when the screen goes Off the rate drops too much.</p> <p>I’m testing on Samsung S7 Android 7.0</p> <p>Can anybody explain why it does and how can keep the same high rate when screen is On as mu...
I scan using ScanSettings.SCAN_MODE_LOW_LATENCY . When I start my application I have a high rate callback but when the screen goes Off the rate drops too much. I’m testing on Samsung S7 Android 7.0 Can anybody explain why it does and how can keep the same high rate when screen is On as much as when the screen Off ? I n...
android|bluetooth-lowenergy
2
2017-06-02T14:00:21.873Z
2,017
6
14
4
52
0
365
33
2
0
false
true
false
false
false
false
low
43,957,799
How to get page events bypage_id via Facebook API on Android
<blockquote> <p>Hi everybody. I want to get events from Facebook page. I had permission to handle events. I looked up almost every site that how to use newGraphPathRequest() function. I can get AccessToken correctly but in the line of "/742409965912331?fields=events" gives error. Actually, while i am debuggin...
Hi everybody. I want to get events from Facebook page. I had permission to handle events. I looked up almost every site that how to use newGraphPathRequest() function. I can get AccessToken correctly but in the line of "/742409965912331?fields=events" gives error. Actually, while i am debugging, that line give me X sym...
java|android|json|facebook-graph-api|facebook-access-token
1
2017-05-13T20:42:25.700Z
2,017
5
20
5
308
0
467
60
5
2
true
true
false
false
false
false
low
44,316,432
Android Studio 3.0 Canary 2 Advanced Profiler not working properly
<p>I'm using Android Studio 3.0 Canary 2, and I want to use the Android Profiler tool.<br> So, I've created an AVD (Nexus 5X), ran my app, and I can see the timeline of CPU, Memory and Network, ok. Now, I can't use the "advanced profiling", (I have it enabled in my configuration). I've read the documentation <a href="h...
I'm using Android Studio 3.0 Canary 2, and I want to use the Android Profiler tool. So, I've created an AVD (Nexus 5X), ran my app, and I can see the timeline of CPU, Memory and Network, ok. Now, I can't use the "advanced profiling", (I have it enabled in my configuration). I've read the documentation Enabling Advanced...
android|android-studio|adb|avd
4
2017-06-01T20:19:56.710Z
2,017
6
20
3
2,100
0
620
66
4
0
false
true
false
false
false
false
low
44,242,732
Tabs in Fragment, but layout doesnt show up
<p>Since friday im trying to create 3 tabs in one class (FragmentCV.class) which extends fragment. </p> <p>Now, i thought i figured it out but its still not working right</p> <p>The app doesnt crash and i also dont get any error/warning messages.</p> <p>When i try to open the FragmentCV.java, it should show me the l...
Since friday im trying to create 3 tabs in one class (FragmentCV.class) which extends fragment. Now, i thought i figured it out but its still not working right The app doesnt crash and i also dont get any error/warning messages. When i try to open the FragmentCV.java, it should show me the layout with those 3 tabs. But...
android|android-studio|android-fragments|android-tabs
1
2017-05-29T12:39:02.463Z
2,017
5
12
0
53
0
978
43
4
2
true
true
false
false
false
false
low
44,071,607
Javascript - Android onscreen Keyboard changes background size
<p>I am currently trying to develop an Angular app with bootstrap and have some issues with the background. When the keyboard opens, the background resizes. When changing to the password field the number row of the keyboard appears and triggers another resize.It looks like the picture is "jumping" Is there any way to p...
I am currently trying to develop an Angular app with bootstrap and have some issues with the background. When the keyboard opens, the background resizes. When changing to the password field the number row of the keyboard appears and triggers another resize.It looks like the picture is "jumping" Is there any way to prev...
javascript|android|html|css|angular
1
2017-05-19T13:39:30.373Z
2,017
5
13
4
54
0
609
62
5
3
true
true
false
false
false
false
low
44,104,789
Load XmlDocument/Document object from local XML file in Apache Cordova
<p>I'm currently porting a WinJS JavaScript/Typescript Windows 10 Universal app to Apache Cordova. In the Windows 10 WinJS app, loading local XML files worked well and very fast in the following way:</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippe...
I'm currently porting a WinJS JavaScript/Typescript Windows 10 Universal app to Apache Cordova. In the Windows 10 WinJS app, loading local XML files worked well and very fast in the following way: [CODE] Giving a Windows.Data.Xml.Dom.XmlDocument object upon loading the local XML file. Now in porting this functionality ...
javascript|android|cordova|typescript|winjs
1
2017-05-22T04:40:26.183Z
2,017
5
4
0
310
0
897
70
5
2
true
true
false
false
false
false
low
44,182,204
Zendesk OAuth2.0 implementation in android
<p>Currently, we are using <code>Zendesk Android SDK v1.6.1.1</code> and we do user authentication with help of JWT token. As there are some limitations when you authenticated by JWT token, we are looking for OAuth2.0 base authentication.</p> <p>Is there any provision to do OAuth2.0 authentication through Android SDK?...
Currently, we are using Zendesk Android SDK v1.6.1.1 and we do user authentication with help of JWT token. As there are some limitations when you authenticated by JWT token, we are looking for OAuth2.0 base authentication. Is there any provision to do OAuth2.0 authentication through Android SDK? Or is there any other w...
android|oauth-2.0|jwt|zendesk
1
2017-05-25T13:46:14.230Z
2,017
5
13
3
56
0
337
42
4
0
false
true
false
false
false
false
low
44,291,671
Programmatically show volume dialog for all streams and keep it up
<p>By using this</p> <pre><code> AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); audioManager.adjustStreamVolume(AudioManager.STREAM_MUSIC, AudioManager.ADJUST_SAME, AudioManager.FLAG_SHOW_UI); </code></pre> <p>I can display the small system popup that shows the volu...
By using this [CODE] I can display the small system popup that shows the volume control on screen. Unfortunately, this command only shows one slider with the single stream that I indicate, and not all the other ones. In fact, this command popups the same dialog that is popped up when pressing a volume physical button. ...
android|android-audiomanager
9
2017-05-31T17:56:58.753Z
2,017
5
17
2
825
0
887
66
2
1
true
true
false
false
false
false
medium
44,215,762
Android GeoFencing
<p>I am developing an Android application for location based alerts. I have my several employees working in different parts of city. I want to know when they enter or exit a specific place.<br> I know about Geo-fencing API and I implemented it to set alerts for my own location. Now I am looking a way to use Geo-fencing...
I am developing an Android application for location based alerts. I have my several employees working in different parts of city. I want to know when they enter or exit a specific place. I know about Geo-fencing API and I implemented it to set alerts for my own location. Now I am looking a way to use Geo-fencing to mon...
android|geofencing
2
2017-05-27T10:31:16.003Z
2,017
5
10
5
58
0
466
18
2
0
false
true
false
false
false
false
low
44,331,675
How to create Android APK expansion files with lot of Drawable images
<p>I implemented application which contains so many image in drawables. It leads to increase size of the apk file. I have read the Android developers docs about APK expansion. But my case all my resources (images) are in drawable only, and i am referring these images in xml and java files. Is it possible to convert all...
I implemented application which contains so many image in drawables. It leads to increase size of the apk file. I have read the Android developers docs about APK expansion. But my case all my resources (images) are in drawable only, and i am referring these images in xml and java files. Is it possible to convert all th...
java|android
1
2017-06-02T14:45:59.737Z
2,017
6
14
4
58
0
468
69
2
0
false
true
false
false
false
false
low
44,273,856
How do I handle these UnicodeEncodeErrors using gmusicapi?
<p>I am making a program that copies playlists over from Spotify to Google Music.</p> <p>At this point, I'm testing to see if I can successfully grab the song id from Google Music using my list of Spotify tracks</p> <p>Here is the code for the Spotify list with track information:</p> <pre><code>playlist = sp.user_pl...
I am making a program that copies playlists over from Spotify to Google Music. At this point, I'm testing to see if I can successfully grab the song id from Google Music using my list of Spotify tracks Here is the code for the Spotify list with track information: [CODE] I take this code and use it like so: [CODE] Here ...
android|python|spotipy
1
2017-05-31T00:25:50.833Z
2,017
5
0
2
59
0
1,000
58
3
4
true
true
false
false
false
false
low
44,328,948
Try Again and Retry functions for webservice/API calling in Android
<p>I have been trying to create a custom abstract class which can be used to handle different conditions before and after calling API using Volley in Android. I am handling cases like 1. If the internet is available to show progress else show retry button in inflated layout. 2. If API succeeds remove progress layout el...
I have been trying to create a custom abstract class which can be used to handle different conditions before and after calling API using Volley in Android. I am handling cases like 1. If the internet is available to show progress else show retry button in inflated layout. 2. If API succeeds remove progress layout else ...
java|android|api|view|android-volley
1
2017-06-02T12:26:49.400Z
2,017
6
12
4
59
0
389
67
5
0
false
true
false
false
false
false
low
44,137,339
Switching between Wifi and Mobile data using registerNetworkCallback in android
<p>I have been working in this for quite some time and i am able to make it work in all the makes and devices except in some of the Samsung devices that run Marshmallow and above.</p> <p>Here is the flow. I have an OBD which can be connected through wifi and once connected i can start reading the data through my appl...
I have been working in this for quite some time and i am able to make it work in all the makes and devices except in some of the Samsung devices that run Marshmallow and above. Here is the flow. I have an OBD which can be connected through wifi and once connected i can start reading the data through my application by o...
android|sockets|networking
8
2017-05-23T14:17:03.050Z
2,017
5
14
1
827
0
1,830
79
3
2
true
true
false
false
false
false
medium
44,291,547
generate the waveform of chords in Java (Android)
<blockquote> <p>I want to generate the waveform of chords in Java (Android).<br> The following is an example of a sine wave chord (C, E, G).<br> I would like to create waves of Square, Triangle, Sawtooth ,<br> but it is difficult. <br> can someone tell me an answer?</p> </blockquote> <pre><code>// sine wave A...
I want to generate the waveform of chords in Java (Android). The following is an example of a sine wave chord (C, E, G). I would like to create waves of Square, Triangle, Sawtooth , but it is difficult. can someone tell me an answer? [CODE]
java|android
1
2017-05-31T17:49:52.537Z
2,017
5
17
2
60
0
240
49
2
1
true
true
false
false
false
false
low
44,321,672
When I remove a window from service class then i am facing these errors and window taking too much time to show
<p>I need show a dailog when a outgoing call is detect and remove it when call is disconnect.</p> <p>Please let me know the error and how can I resolve it.</p> <p>Following is my code:</p> <p>My BroadCast</p> <pre><code> @Override public void onReceive(Context context, Intent intent) { this.context = co...
I need show a dailog when a outgoing call is detect and remove it when call is disconnect. Please let me know the error and how can I resolve it. Following is my code: My BroadCast [CODE] My Service class [CODE] And error - [CODE]
android|service|window|broadcast
1
2017-06-02T05:49:20.443Z
2,017
6
5
4
61
0
230
111
4
3
true
true
false
false
false
false
low
44,092,134
No custom icon or sound in Ionic Native Push
<p>I am trying to get this working <a href="https://ionicframework.com/docs/native/push/" rel="nofollow noreferrer">https://ionicframework.com/docs/native/push/</a></p> <p>With FireBase Cloud Messaging</p> <p>Here is the code</p> <pre><code>import { Push, PushObject, PushOptions, AndroidPushOptions, IOSPushOptions }...
I am trying to get this working https://ionicframework.com/docs/native/push/ With FireBase Cloud Messaging Here is the code [CODE] How push looks now: Unfortunately there is still no custom icon or sound or vibration :( I copied the notification png, basically everywhere now in the android/res folder :) Has anyone had ...
android|cordova|ionic-framework
2
2017-05-21T00:41:44.037Z
2,017
5
0
6
317
0
410
44
3
1
true
true
false
false
false
false
low
44,199,589
SimException on proguard build, Android Studio?
<p>I have enabled proguard for my project and I get this exception when I build signed APK</p> <pre><code> Warning:com.google.android.gms.internal.zzbkq: can't find referenced method 'int zzaT(android.os.Parcel)' in program class com.google.android.gms.common.internal.safeparcel.zzb Warning:com.google.android.gms.i...
I have enabled proguard for my project and I get this exception when I build signed APK [CODE] This is my build.gradle [CODE] How do I resolve this error? This is my proguard content -ignorewarnings -keep class * { public void *(android.view.View); public private *; }
android|android-proguard|simexception
1
2017-05-26T10:45:37.217Z
2,017
5
10
4
317
0
268
47
3
2
true
true
false
false
false
false
low
44,223,931
How to implement pagination like whatsApp, messenger Chat page (reverse scroll to load more) using CursorLoader?
<p>My OnCreateLoader &amp; onLoadFinished of ChatActivity are:</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>@Override public Loader&lt;Cursor&gt; onCreateLoader(int...
My OnCreateLoader & onLoadFinished of ChatActivity are: [CODE] This code is working well for whole chatList. But I need to load ex:20 items at first time and on every reverse scroll at top reached load another 20 items to show on list just like WhatsApp. Is it possible to implement this using rawquery like below? Using...
android|listview|pagination|android-contentprovider|android-cursorloader
8
2017-05-28T04:54:15.183Z
2,017
5
4
6
1,597
0
455
112
5
3
true
true
false
false
false
false
medium
43,956,590
Handle large touching surface on Android
<p>I'm implementing an application which detects and draws multiple pointers on an android phone.</p> <p>However, I noticed that when I use the side of my hand, or when I try to make it process large surfaces, my app receives multiple ACTION_CANCEL events. Here's the code I use to handle touch events :</p> <pre class...
I'm implementing an application which detects and draws multiple pointers on an android phone. However, I noticed that when I use the side of my hand, or when I try to make it process large surfaces, my app receives multiple ACTION_CANCEL events. Here's the code I use to handle touch events : [CODE] However, when I ena...
java|android|events|event-handling|touch
2
2017-05-13T18:26:32.723Z
2,017
5
18
5
62
0
515
40
5
1
true
true
false
false
false
false
low
44,357,943
LoaderManager.LoaderCallbacks causes BufferOverflow
<p>I've created an interface to get contacts. Here is the codeL:</p> <pre><code>public class ContactLoader implements LoaderManager.LoaderCallbacks&lt;Cursor&gt; { MainActivity mContext; public static final String QUERY_KEY = "query"; public static final String TAG = "M...
I've created an interface to get contacts. Here is the codeL: [CODE] The code causes a buffer overflow: logcat shows this: onFatalError, processing error from engine(4) com.google.android.apps.gsa.shared.speech.a.g: Error reading from input stream at com.google.android.apps.gsa.staticplugins.recognizer.i.a.a(SourceFile...
java|android|multithreading
1
2017-06-04T19:23:50.580Z
2,017
6
19
6
62
0
2,314
51
3
1
true
true
false
false
false
false
low
43,971,789
Fetch data from a dynamic website in Android
<p>I want to access and display data from a website which is like a notice board, i.e, data content keeps getting updated at irregular intervals. Whenever any new content is updated I want the user to get a notification. The content updated might have links which I want to include in my app.</p> <p>Initially I have to...
I want to access and display data from a website which is like a notice board, i.e, data content keeps getting updated at irregular intervals. Whenever any new content is updated I want the user to get a notification. The content updated might have links which I want to include in my app. Initially I have to login to t...
php|android
1
2017-05-15T04:53:00.117Z
2,017
5
4
0
63
0
522
44
2
0
false
true
false
false
false
false
low
44,163,567
BluetoothGattServerCallback does not call onConnectionStateChange
<p>I have an app (Lollipop) that advertises to a Recon JET which will discover it with its own app. They will successfully connect, and I know this because I have a button that calls BluetoothManager.getConnectedDevices(BluetoothProfile.GATT) and returns a MAC address. Although it connects, it won't call the onConnecti...
I have an app (Lollipop) that advertises to a Recon JET which will discover it with its own app. They will successfully connect, and I know this because I have a button that calls BluetoothManager.getConnectedDevices(BluetoothProfile.GATT) and returns a MAC address. Although it connects, it won't call the onConnectionS...
android|android-studio|bluetooth-lowenergy|gatt
2
2017-05-24T16:10:43.620Z
2,017
5
16
2
320
0
374
65
4
1
true
true
false
false
false
false
low
44,153,365
Trying to save conditions
<p>I have an RemoteCar App that can regulate the AC, Start the engine etc. In my MainActivity there is a FuelBar and a SeekBar(AC). I would like to save those instances for the next run. For example when I set the AC on 20° and close the app, I want the AC to be on 20° just how I left it. But somehow I messed the codin...
I have an RemoteCar App that can regulate the AC, Start the engine etc. In my MainActivity there is a FuelBar and a SeekBar(AC). I would like to save those instances for the next run. For example when I set the AC on 20° and close the app, I want the AC to be on 20° just how I left it. But somehow I messed the coding u...
java|android|android-savedstate
1
2017-05-24T08:46:07.107Z
2,017
5
8
2
65
0
678
25
3
2
true
true
false
false
false
false
low
44,227,494
Call facebook graphrequest multiple times
<p>i'm developpig an app in which i need to call the fb graphrequest multiple times , but those calls needs to be one after the other, the first one will get me the user friends, and the other calls will be done in a loop (for each friend ) get the "likes" that that friend made, now with the code that i made, the first...
i'm developpig an app in which i need to call the fb graphrequest multiple times , but those calls needs to be one after the other, the first one will get me the user friends, and the other calls will be done in a loop (for each friend ) get the "likes" that that friend made, now with the code that i made, the first on...
facebook|facebook-graph-api|android-asynctask
1
2017-05-28T12:48:43.287Z
2,017
5
12
6
68
0
560
41
3
1
true
true
false
false
false
false
low
44,093,075
onLoadFinished() behavior on screen orientation change
<p>I have the following <code>Loader</code> implemented, which is a subclass of <code>AsyncTaskLoader</code>. The <code>LoaderManager</code> <code>initLoaderManager</code>() is called in the Activity's <code>onCreate</code>() method.</p> <p>When I rotate my screen, I see that the <code>onLoadFinished</code>() is getti...
I have the following Loader implemented, which is a subclass of AsyncTaskLoader . The LoaderManager initLoaderManager () is called in the Activity's onCreate () method. When I rotate my screen, I see that the onLoadFinished () is getting called successfully, however I don't see any Loader lifecycle method ( onStopLoadi...
android|android-loadermanager|asynctaskloader
1
2017-05-21T04:08:50.817Z
2,017
5
4
6
69
0
742
54
3
1
true
true
false
false
false
false
low
43,938,497
Scrollview autoscroll with enter key in editext android
<p>I have a layout in which I have 4 edittext in nestedscrollview </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schem...
I have a layout in which I have 4 edittext in nestedscrollview [CODE] WHen I enter text in edittext and press enter from keyboard, scrollview also scroll and with multiple enter, edittext is completely invisible because of scrolling of scrollview. is there any thing wrong in layout?
android-edittext|android-nestedscrollview
1
2017-05-12T13:04:14.237Z
2,017
5
13
4
70
0
283
55
2
1
true
true
false
false
false
false
low
44,139,904
SSL Issue with Google Pixel Test Device
<p>The application that I maintain is coming out with a new feature, while working in the devlopment environment I need to use a vpn to get to the apis that we are using. For this service the vpn is required or it will not work. This isn't a problem with all of my other test devices but with the google pixel we keep ...
The application that I maintain is coming out with a new feature, while working in the devlopment environment I need to use a vpn to get to the apis that we are using. For this service the vpn is required or it will not work. This isn't a problem with all of my other test devices but with the google pixel we keep getti...
android|ssl
1
2017-05-23T16:06:21.943Z
2,017
5
16
1
70
0
632
39
2
0
false
true
false
false
false
false
low
44,140,450
Apk size increase when perform build apk operation in android
<p>If instant run is active then i will test the app on my device using run command.then after install this app takes very less space on my device.But when i will build the apk and install this apk on a device. Then after installation it take very high space on my device. Can any one told me why this happing. </p>
If instant run is active then i will test the app on my device using run command.then after install this app takes very less space on my device.But when i will build the apk and install this apk on a device. Then after installation it take very high space on my device. Can any one told me why this happing.
android|size|apk|android-instant-run
2
2017-05-23T16:35:03.163Z
2,017
5
16
1
70
0
307
61
4
0
false
true
false
false
false
false
low
44,349,413
Arithmetic keys on numeric keyboar android
<p>I have an edit text with:</p> <pre><code>android:inputType="number|numberSigned|numberDecimal" </code></pre> <p>This presents a keyboard that has numbers, but I need an edit text that lets me input arithmetic strings. For example, 5+3-2*4/4.</p> <p>Please help.</p>
I have an edit text with: [CODE] This presents a keyboard that has numbers, but I need an edit text that lets me input arithmetic strings. For example, 5+3-2*4/4. Please help.
android|math|input|android-edittext|keyboard
1
2017-06-03T23:24:57.680Z
2,017
6
23
5
72
0
175
42
5
1
true
true
false
false
false
false
low
43,951,692
How to set the default placeholderImage when using fresco
<p>I custom the SimpleDraweeView in my project, and the placeholderImage is using much time in my project, so I want to set the default placeholderImage, and I can remove the fresco:placeholderImage="@drawable/ic_img_loading" in my xml.</p> <pre><code>&lt;my.packagename.CustomDraweeView android:id="@+id/iv_img...
I custom the SimpleDraweeView in my project, and the placeholderImage is using much time in my project, so I want to set the default placeholderImage, and I can remove the fresco:placeholderImage="@drawable/ic_img_loading" in my xml. [CODE] I also tried to add this code in my CustomDraweeView [CODE] but it did not work...
android|android-layout|fresco
2
2017-05-13T09:51:51.263Z
2,017
5
9
5
584
0
416
57
3
3
true
true
false
false
false
false
low
43,979,600
Sending data in hotspot network
<p>I want to create an app same as Bombsquad. In which one device will create hotspot and any device will connect to it through wifi and then one will send data/number and that will be seen on every device.What should be used for achieving this I think wifi direct will work for this?</p>
I want to create an app same as Bombsquad. In which one device will create hotspot and any device will connect to it through wifi and then one will send data/number and that will be seen on every device.What should be used for achieving this I think wifi direct will work for this?
android|wifi|multiplayer|hotspot
1
2017-05-15T12:28:49.770Z
2,017
5
12
0
73
0
281
31
4
0
false
true
false
false
false
false
low
43,994,971
Get Recent App Button Clicked in Launcher App
<p>I am writing a launcher application which will launch other apps on its <code>OnCreate</code> method. Following is the code:</p> <pre><code>protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...... Intent i = PckManager.getLaunchIntentForPackage("com.app.myApp"); ...
I am writing a launcher application which will launch other apps on its OnCreate method. Following is the code: [CODE] Now on OnResume of LauncherApp , I am restarting my desired app to be remain at top using following code: [CODE] This ensures that MyApp will always remain on top of the activities when user clicked Ho...
java|android|kiosk-mode
2
2017-05-16T07:25:19.740Z
2,017
5
7
1
73
0
758
45
3
2
true
true
false
false
false
false
low
44,079,445
Can Service return types be mixed, using both START_STICKY and START_REDELIVER_INTENT depending on action?
<p>Can onStartCommand() return types be mixed depending on the action? For example, a Service that stays started with START_STICKY, but always gets the first intent redelivered to maintain state.</p> <p>This would be especially useful when the initial intent contains things that aren't easily persisted such as a Pendi...
Can onStartCommand() return types be mixed depending on the action? For example, a Service that stays started with START_STICKY, but always gets the first intent redelivered to maintain state. This would be especially useful when the initial intent contains things that aren't easily persisted such as a PendingIntent. I...
android|android-service
1
2017-05-19T21:44:36.917Z
2,017
5
21
4
73
0
952
106
2
1
true
true
false
false
false
false
low
44,276,597
How to android sqlite3_prepare_v2
<p>I porting to android platform from C sqlite3. It is code below.</p> <pre><code> final String tsql = "select cA, cB from tA where cC=?1 and (cD &amp; 255)=?2 order by cD"; Cursor dbo = DB.db().rawQuery(tsql, new String[] {String.valueOf(101), String.valueOf(102)}); try { if (dbo.moveT...
I porting to android platform from C sqlite3. It is code below. [CODE] In result, Row set was not found. [CODE] Above statement is NG, But the following is OK. [CODE] Why did you ? I want to do it in the way of parameter query. What should i do?
android|sqlite|android-sqlite
1
2017-05-31T05:45:42.603Z
2,017
5
5
2
74
0
245
33
3
3
true
true
false
false
false
false
low
44,012,314
sendmsg socket system call parameters in bionic libc (android)
<p>I was going through the bionic libc socket system calls and noticed something confusing. The android/bionic/libc/include/sys/socket.h has a system call declaration for sendmsg as </p> <p>__socketcall int sendmsg (int, const struct msghdr*, int);</p> <p>Whereas in other places /android/bionic/libc/SYSCALLS.TXT the ...
I was going through the bionic libc socket system calls and noticed something confusing. The android/bionic/libc/include/sys/socket.h has a system call declaration for sendmsg as __socketcall int sendmsg (int, const struct msghdr*, int); Whereas in other places /android/bionic/libc/SYSCALLS.TXT the system call declarat...
android|linux|system-calls|libc|bionic
1
2017-05-16T21:59:38.267Z
2,017
5
21
1
330
0
1,034
62
5
0
false
true
false
false
false
false
low
44,216,317
Genymotion @ Ubuntu 16.04 - AAPT tool not found at this location
<p>After moving Android SDK folder to another location, Genymotion (v 2.9.0) shows warning "AAPT tool not found at this location" under Settings -> ADB and show empty location in pop-up dialog while Android device startup.</p> <p>What and how I need to fix?</p> <p>Thank you</p>
After moving Android SDK folder to another location, Genymotion (v 2.9.0) shows warning "AAPT tool not found at this location" under Settings -> ADB and show empty location in pop-up dialog while Android device startup. What and how I need to fix? Thank you
genymotion|android-sdk-tools
5
2017-05-27T11:30:22.533Z
2,017
5
11
5
842
0
257
64
2
0
false
true
false
false
false
false
low
43,954,417
Galaxy S6 edge touchable area
<p>My Android app uses <code>landscape</code> orientation and has a button at the very bottom of the screen. The display of <code>Galaxy S6 edge</code> is curved at edges and those edges barely respond to touch. So the button in my app can't be pressed on this device.</p> <p>Is it possible to set touchable area to the...
My Android app uses landscape orientation and has a button at the very bottom of the screen. The display of Galaxy S6 edge is curved at edges and those edges barely respond to touch. So the button in my app can't be pressed on this device. Is it possible to set touchable area to the whole screen including edges?
android|touchscreen|samsung-galaxy
1
2017-05-13T14:42:38.020Z
2,017
5
14
5
76
0
313
29
3
0
false
true
false
false
false
false
low
44,055,777
How to add location and description with the photo shared to be shared on facebook using Android
<p>I can successfully share a photo on Facebook from my Android Application using following code of Facebook SDK:</p> <pre><code>SharePhotoContent content = new SharePhotoContent.Builder() .addPhoto(photo) .build(); ShareDialog shareDialog = new ShareDialog(SpecificLocationActi...
I can successfully share a photo on Facebook from my Android Application using following code of Facebook SDK: [CODE] However, I would like to know how to autofill description and attach location with this photo. Although facebook shows these options when ShareDialog is launched, but I want it to be auto filled. Thanks...
android|location|photo|facebook-android-sdk
2
2017-05-18T18:54:21.337Z
2,017
5
18
3
76
0
321
96
4
1
true
true
false
false
false
false
low
44,218,495
How to use Google Place api Current place in background
<p>I am not a native English speaker and I am writing with a translator. I want you to understand if the context is strange.</p> <p>I want to periodically use the Google Place API in the background.</p> <p>MainActivity.java</p> <pre><code>private static final String LOG_TAG = "PlacesAPIActivity"; private static fina...
I am not a native English speaker and I am writing with a translator. I want you to understand if the context is strange. I want to periodically use the Google Place API in the background. MainActivity.java [CODE] MyService.java [CODE] MyActivity.java public class MyActivity extends Application { [CODE] I do not know w...
android|service|background|google-api|google-places-api
1
2017-05-27T15:16:27.993Z
2,017
5
15
5
76
0
379
55
5
3
true
true
false
false
false
false
low
44,259,741
Only app-debug apk is generated while build the project in android studio
<p>Currently I am using android studio 2.3.2.. I am facing an issue that while I run the project it only generate <code>app-debug.apk</code> in the project folder.. to run project in normal device, what should I do to generate its <code>app-debug-unaligned.apk</code>?</p> <p>I had tried <a href="http://entzeroth.com...
Currently I am using android studio 2.3.2.. I am facing an issue that while I run the project it only generate app-debug.apk in the project folder.. to run project in normal device, what should I do to generate its app-debug-unaligned.apk ? I had tried this ,but it didn't work for me. Thanks in advance.
android-studio|apk
1
2017-05-30T10:29:01.263Z
2,017
5
10
1
333
0
304
73
2
0
false
true
false
false
false
false
low
43,950,495
android.media.MediaRecorder.start(Native Method)
<p>I want to make a video recorder app but it crashes when I click the "Start Recording" button. I get an error saying java.lang.IllegalStateException at android.media.MediaRecorder.start(Native Method). I've also attached the log.</p> <pre class="lang-java prettyprint-override"><code>package com.example.cgv.slavecame...
I want to make a video recorder app but it crashes when I click the "Start Recording" button. I get an error saying java.lang.IllegalStateException at android.media.MediaRecorder.start(Native Method). I've also attached the log. [CODE] and I am getting the following error [CODE]
java|android|network-programming|android-camera|android-mediarecorder
2
2017-05-13T07:36:39.290Z
2,017
5
7
5
589
0
279
48
5
2
true
true
false
false
false
false
low
44,032,462
login with firebase in Android
<p>In your app create two activity for login and register, and keep trying.make sure your firebase connection is enable with your app. thanks, here code for login activity.</p> <pre><code>@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout....
In your app create two activity for login and register, and keep trying.make sure your firebase connection is enable with your app. thanks, here code for login activity. [CODE] } and here register activity,you must be add edit text and button in your layout for your each activity. [CODE]
android|firebase|firebase-realtime-database
2
2017-05-17T18:35:35.687Z
2,017
5
18
2
78
0
288
30
3
2
true
true
false
false
false
false
low
44,132,159
unexpected reserved word error in ionic
<p>i build this application based on ionic to run at android/ios.</p> <p>i run my app with ionic serve, and it's run ok. </p> <p>When i run with</p> <pre><code>ionic run android -l -c -s </code></pre> <p>i got this error <a href="https://i.stack.imgur.com/7zf8N.png" rel="nofollow noreferrer"><img src="https://i.sta...
i build this application based on ionic to run at android/ios. i run my app with ionic serve, and it's run ok. When i run with [CODE] i got this error i have no clue on this. already search stack and googling about this error but found nothing related. please help me if i miss something.
android|ionic-framework|ionic3
1
2017-05-23T10:25:16.817Z
2,017
5
10
1
78
0
288
39
3
1
true
true
false
false
false
false
low
44,300,778
when old app build in android 3.0 ginving error
<p>Error:FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: Circular dependency between the following tasks: :app:compileDebugKotlin --- :app:dataBindingExportBuildInfoDebug --- :app:compileDebugKotlin (*)</li> </ul> <p>(*) - details omitted (listed previously)</p> <ul> <li><p>Try: Run with --de...
Error:FAILURE: Build failed with an exception. What went wrong: Circular dependency between the following tasks: :app:compileDebugKotlin --- :app:dataBindingExportBuildInfoDebug --- :app:compileDebugKotlin (*) (*) - details omitted (listed previously) Try: Run with --debug option to get more log output. Exception is: o...
android|kotlin-android-extensions
2
2017-06-01T07:08:41.740Z
2,017
6
7
3
78
0
556
47
2
1
true
true
false
false
false
false
low
44,280,145
By what i can replace ViewTreeObserver.OnComputeInternalInsetsListener that is declared as hidden?
<p>I try to import in my library some android internal source code. however i have some trouble to import this part of code :</p> <pre><code> private final ViewTreeObserver.OnComputeInternalInsetsListener mInsetsComputer = new ViewTreeObserver.OnComputeInternalInsetsListener() { public v...
I try to import in my library some android internal source code. however i have some trouble to import this part of code : [CODE] it's because in ViewTreeObserver.java OnComputeInternalInsetsListener is declared as hidden [CODE] later i use it like this [CODE] so by what i can replace ViewTreeObserver.OnComputeInternal...
android|android-viewtreeobserver
2
2017-05-31T08:58:00.620Z
2,017
5
8
2
334
0
468
98
2
3
true
true
false
false
false
false
low
44,019,643
Android: How to retrive the particular row or item 's view in a recyclerview based on the adapter position?
<p>I m having a recycler view with a list of items. I need to have programmatically scroll to the position of the particular item in recycler view This i had achieved by using</p> <pre><code>final RecyclerView.SmoothScroller smoothScroller = new LinearSmoothScroller(getActivity()) { ...
I m having a recycler view with a list of items. I need to have programmatically scroll to the position of the particular item in recycler view This i had achieved by using [CODE] But after after scrolling to that particular position i need give Fade in animation to that particular view I not getting success in doing t...
android|animation|mobile|android-recyclerview
1
2017-05-17T08:36:44.810Z
2,017
5
8
2
79
0
638
107
4
2
true
true
false
false
false
false
low
44,180,953
couldnot start a service on boot on Vivo Android mobiles
<p>I've been trying to start a service when a device boots up on android,It works on Samsung and Moto mobile but I couldn't get it to work on Vivo and Oppo mobiles. I've looked at online but i could not found any link.</p> <h2>AndroidManifest.xml</h2> <pre><code> &lt;uses-permission android:name="android.permission.R...
I've been trying to start a service when a device boots up on android,It works on Samsung and Moto mobile but I couldn't get it to work on Vivo and Oppo mobiles. I've looked at online but i could not found any link. AndroidManifest.xml [CODE]
android
1
2017-05-25T12:45:10.443Z
2,017
5
12
3
80
0
242
56
1
1
true
true
false
false
false
false
low
44,152,769
custom seekbar not showing
<p>I created a custom seekbar. It looks normal on the Android emulator, but only the thumb is visible on the actual device. If you subtract the android:progressDrawable or android:thumb attributes from the properties of the seekbar in the xml file, the thumb or progressbar will look normal. The seekbar is not visibl...
I created a custom seekbar. It looks normal on the Android emulator, but only the thumb is visible on the actual device. If you subtract the android:progressDrawable or android:thumb attributes from the properties of the seekbar in the xml file, the thumb or progressbar will look normal. The seekbar is not visible prop...
android|xml|seekbar
2
2017-05-24T08:17:31.723Z
2,017
5
8
2
336
0
467
26
3
3
true
true
false
false
false
false
low
44,268,805
How to pass array of dictionaries with Retrofit
<p>I'm working on an Android port of an iOS app and I'm having some issues with passing parameters to the API. On the iOS we used Alamofire and the parameter we pass looks like this on the iOS side </p> <pre><code>["topics": [["slug": "health", "importance": 1], ["slug": "environment", "importance": 2], ["slug": "tech...
I'm working on an Android port of an iOS app and I'm having some issues with passing parameters to the API. On the iOS we used Alamofire and the parameter we pass looks like this on the iOS side [CODE] But I can't seem to replicate the same behavior on the Android side using Retrofit 2. I tried creating a Hashmap for e...
android|retrofit2
1
2017-05-30T17:53:06.070Z
2,017
5
17
1
336
0
606
47
2
2
true
true
false
false
false
false
low
72,116,593
Fragment is leaking in ViewPager2 onDestroyView
<p>I have been trying to resolve one issue with memory leak in ViewPager2. So, I have:</p> <ol> <li>MainActivity - here I initialize the views and setup Navigation component to navigate using bottom navigation view.</li> <li>HomeFragment and Profile Fragment</li> <li>In HomeFragment I have ViewPager2</li> <li>TestFragm...
I have been trying to resolve one issue with memory leak in ViewPager2. So, I have: MainActivity - here I initialize the views and setup Navigation component to navigate using bottom navigation view. HomeFragment and Profile Fragment In HomeFragment I have ViewPager2 TestFragment is a fragemnt that represents each view...
android|kotlin|android-viewpager2
0
2022-05-04T16:43:34.150Z
2,022
5
16
2
256
0
826
47
3
4
true
true
false
false
false
false
zero
71,874,204
Jacoco doesnt report coverage correctly
<p>I'm trying to set up jacoco for an android project, but there are two issues with the generated report.<br /> 1- I declared the destination folder for HTML and XML report but the generated report appears in <code>build/reports/coverage/androidTest/debug</code><br /> 2- the generated report is incorrect and shows tha...
I'm trying to set up jacoco for an android project, but there are two issues with the generated report. 1- I declared the destination folder for HTML and XML report but the generated report appears in build/reports/coverage/androidTest/debug 2- the generated report is incorrect and shows that the adder class is not cov...
jacoco|jacoco-plugin|android-jacoco
0
2022-04-14T15:36:55.863Z
2,022
4
15
3
259
0
406
39
3
3
true
true
false
false
false
false
zero
72,105,431
How to call or use a View or Widget from another android class
<p>I have a little issue in android studio Java code ! Im using switch compact to change the background image from a light one to a dark one instead of NightMode. Every thing works fine in a class called &quot;Category Activity&quot; where the switch compact is there, but i want this to work in another class i mean whe...
I have a little issue in android studio Java code ! Im using switch compact to change the background image from a light one to a dark one instead of NightMode. Every thing works fine in a class called &quot;Category Activity&quot; where the switch compact is there, but i want this to work in another class i mean whenev...
android-darkmode|switchcompat
0
2022-05-03T21:01:09.620Z
2,022
5
21
1
4
0
451
62
2
1
true
true
false
false
false
false
zero