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,372,653 | No file with given name found | <pre><code>Facemark fm = Face.createFacemarkKazemi();
fm.loadModel("assets/face_landmark_model.dat"); <--error
</code></pre>
<p><strong>build.gradle(Module:app):</strong></p>
<pre><code>sourceSets {
main {
jni.srcDirs = ['src/main/jniLibs/']
assets.srcDirs=['src/main/assets/']
} }... | [CODE] build.gradle(Module:app): [CODE] How fix that? | java|android | 0 | 2018-11-19T10:30:50.817Z | 2,018 | 11 | 10 | 0 | 74 | 1 | 53 | 29 | 2 | 2 | true | false | false | false | false | false | zero |
53,524,058 | OnRecomputeFinished won't get invoked | <p>i'm using a listener for computing the route once it's invoked by code throuter Route.Compute(...), but when i go out of the computed route , the method "OnRecomputeStarted" doesn't fire !
this is my code :</p>
<p>Router.RouteComputeListener mRouteComputeListener = new Router.RouteComputeListener() {
@... | i'm using a listener for computing the route once it's invoked by code throuter Route.Compute(...), but when i go out of the computed route , the method "OnRecomputeStarted" doesn't fire ! this is my code : Router.RouteComputeListener mRouteComputeListener = new Router.RouteComputeListener() { @Override public void onC... | android|sygic-mobile-sdk|sygic-maps | 0 | 2018-11-28T16:31:05.803Z | 2,018 | 11 | 16 | 2 | 74 | 1 | 392 | 37 | 3 | 1 | true | false | false | false | false | false | zero |
53,542,558 | How to catch ''unable to instantiate application" errors? | <p>We recently encountered an error on Android API 28 devices:</p>
<blockquote>
<p>E/AndroidRuntime: FATAL EXCEPTION: main Process: com.my.company, PID:
18245 java.lang.RuntimeException: Unable to instantiate application
com.my.company.MainApplication: java.lang.ClassNotFoundException:
Didn't find class "com.m... | We recently encountered an error on Android API 28 devices: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.my.company, PID: 18245 java.lang.RuntimeException: Unable to instantiate application com.my.company.MainApplication: java.lang.ClassNotFoundException: Didn't find class "com.my.company.MainApplication" on pa... | android|crash-dumps | 0 | 2018-11-29T15:37:28.767Z | 2,018 | 11 | 15 | 3 | 74 | 1 | 820 | 57 | 2 | 0 | false | false | false | false | false | false | zero |
53,400,064 | Draw Line in View using Vector (in Android Studio) | <p>I'm trying to draw a line, I managed to do it before but the first point somehow was always 0, 0. Now my logic is, there are two Vectors, one to store each point that is clicked, and another to store the Line, which is made by two points clicked by the user. I do the verifications to see if the Vector is not empty a... | I'm trying to draw a line, I managed to do it before but the first point somehow was always 0, 0. Now my logic is, there are two Vectors, one to store each point that is clicked, and another to store the Line, which is made by two points clicked by the user. I do the verifications to see if the Vector is not empty and ... | java|android|android-studio|vector | 1 | 2018-11-20T19:19:46.427Z | 2,018 | 11 | 19 | 1 | 330 | 1 | 688 | 50 | 4 | 2 | true | false | false | false | false | false | low |
53,639,479 | Branch.io - AttributionListener onResult called when app returns to the foreground from the task switcher | <p>In our app, the onResult method of AttributionListener is getting invoked not in response to the user clicking a link, but whenever the app comes to the foreground after another app was in the foreground. </p>
<p>We don't want to perform deep linking behavior if a link was not clicked.</p>
<p>In our case, the app ... | In our app, the onResult method of AttributionListener is getting invoked not in response to the user clicking a link, but whenever the app comes to the foreground after another app was in the foreground. We don't want to perform deep linking behavior if a link was not clicked. In our case, the app was previously launc... | android|deep-linking|branch.io | 1 | 2018-12-05T19:31:36.970Z | 2,018 | 12 | 19 | 2 | 330 | 1 | 1,064 | 105 | 3 | 2 | true | false | false | false | false | false | low |
53,494,703 | Java Annotation Processing how to check if VariableElement is a primitive type(int, float) or an object some class | <p>I have a class </p>
<pre><code>public class SomeClass {
@CustomAnnotation1
String stringProperty = "LALALA";
@CustomAnnotation1
int integerProperty;
@CustomAnnotation1
ClassObject classObject;
}
</code></pre>
<p>CustomAnnotation1 is a custom annotation defined by me which can be put over... | I have a class [CODE] CustomAnnotation1 is a custom annotation defined by me which can be put over any Field. Suppose class ClassObject is something like [CODE] What I want to achieve - If my annotation is put on any field which is not a primitive type, I want to access all the fields of that class. My Approach - Get a... | java|annotations|android-annotations|annotation-processing|annotation-processor | 4 | 2018-11-27T07:29:18.393Z | 2,018 | 11 | 7 | 1 | 586 | 1 | 809 | 114 | 5 | 3 | true | false | false | false | false | false | low |
53,683,225 | Dealing with Samsung Internet Browser's forced font scaling | <p>I have a site with a nicely formatted and scaled front-end, which the "Samsung Internet Browser" gleefully ruins with its forced, non-standard font and viewport scaling.</p>
<p>I've been researching ways to detect this scaling level and have come up short. How can can detect the forced zoom level this browser impo... | I have a site with a nicely formatted and scaled front-end, which the "Samsung Internet Browser" gleefully ruins with its forced, non-standard font and viewport scaling. I've been researching ways to detect this scaling level and have come up short. How can can detect the forced zoom level this browser imposes so I can... | android|zooming|scaling | 1 | 2018-12-08T13:55:42.050Z | 2,018 | 12 | 13 | 5 | 586 | 1 | 354 | 59 | 3 | 0 | false | false | false | false | false | false | low |
53,655,865 | Retrieved data is not showing up in widget | <p>I have a json file hosted on my server which looks like this.</p>
<pre><code>{
"score": "23/6"
}
</code></pre>
<p>The score is always updating and I want my flutter app to show the realtime score.</p>
<p>Flutter code is here:</p>
<pre><code>import 'package:flutter/material.dart';
import 'dart:async';
import 'd... | I have a json file hosted on my server which looks like this. [CODE] The score is always updating and I want my flutter app to show the realtime score. Flutter code is here: [CODE] I managed to get the score to my app but it needs to refresh the app to show updated score. How can I make this update the score with an in... | android|asynchronous|flutter|hybrid-mobile-app | 0 | 2018-12-06T16:36:48.980Z | 2,018 | 12 | 16 | 3 | 842 | 1 | 327 | 42 | 4 | 2 | true | false | false | false | false | false | zero |
53,723,297 | Have the WebView still play the video while in background | <p>I wish to play my video, coming from youtube, in the background. To stream any youtube video, I simply do:</p>
<pre><code> webView = FindViewById<WebView>(Resource.Id.test);
WebSettings settings = webView.Settings;
settings.JavaScriptEnabled = true;
webView.SetWebChromeClient(n... | I wish to play my video, coming from youtube, in the background. To stream any youtube video, I simply do: [CODE] However, putting the activity to the background stops the video. Once returned, the video will start over. This is not how I want this. I want the video to keep playing, but invisible (yet still audible). I... | android|xamarin.android | 1 | 2018-12-11T11:33:31.273Z | 2,018 | 12 | 11 | 1 | 1,098 | 1 | 658 | 57 | 2 | 2 | true | false | false | false | false | false | low |
53,797,351 | Xamarin.UITest, System Drawing Reference Error | <p>I came into this when I tried to install Xamarin.UITest as NuGet package in an Android project.
When I try to compile the project I have that error:</p>
<blockquote>
<p>Can not resolve reference: System.Drawing, referenced by Xamarin.UITest. Please add a NuGet package or assembly reference for System.Drawing, or ... | I came into this when I tried to install Xamarin.UITest as NuGet package in an Android project. When I try to compile the project I have that error: Can not resolve reference: System.Drawing, referenced by Xamarin.UITest. Please add a NuGet package or assembly reference for System.Drawing, or remove the reference to Xa... | c#|xamarin|xamarin.forms|xamarin.android|xamarin.uitest | 1 | 2018-12-15T21:19:35.607Z | 2,018 | 12 | 21 | 5 | 1,354 | 1 | 347 | 46 | 5 | 0 | false | false | false | false | false | false | low |
53,451,426 | Background image not filling layout and taking extra space above and below | <p><a href="https://i.stack.imgur.com/PkMQS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PkMQS.png" alt="Linear Layout with white card as background"></a></p>
<p>The blue bordered part is a <code>LinearLayout</code> and the white card part is the background image I have used. The background image... | The blue bordered part is a LinearLayout and the white card part is the background image I have used. The background image is not filling the layout. I have tried keeping an ImageView in a FrameLayout and making scale type as centerCrop but even that didn't work. I can use a CardView instead but I want this type of sha... | java|android|background-image | 0 | 2018-11-23T18:23:18.697Z | 2,018 | 11 | 18 | 4 | 75 | 1 | 426 | 74 | 3 | 1 | true | false | false | false | false | false | zero |
53,454,147 | Next steps after succesfully taking image / selecting from gallery | <p>I succesfully made this simple app of where you can either choose and image from gallery or take a picture: <a href="https://demonuts.com/pick-image-gallery-camera-android/" rel="nofollow noreferrer">Pick Image From Gallery Or Camera In Android Studio Programmatically</a>. But for my purpose, where the selected imag... | I succesfully made this simple app of where you can either choose and image from gallery or take a picture: Pick Image From Gallery Or Camera In Android Studio Programmatically . But for my purpose, where the selected image needs to serve as a profile image, I want the image to be square. Also, some photos that are sel... | android | 0 | 2018-11-24T00:20:43.613Z | 2,018 | 11 | 0 | 5 | 75 | 1 | 552 | 66 | 1 | 0 | false | false | false | false | false | false | zero |
53,546,490 | My activity won't open while working with a SQLite database | <p>Currently following a YouTube tutorial regarding a Quiz App in Android that has SQLite integration. Link here: <a href="https://www.youtube.com/watch?v=pEDVdSUuWXE" rel="nofollow noreferrer">https://www.youtube.com/watch?v=pEDVdSUuWXE</a></p>
<p>I've been following him to the finest detail, but when I start my app ... | Currently following a YouTube tutorial regarding a Quiz App in Android that has SQLite integration. Link here: https://www.youtube.com/watch?v=pEDVdSUuWXE I've been following him to the finest detail, but when I start my app on my emulator in Android Studio, the intended activity won't start when I press the button on ... | java|android|sql|database|sqlite | 0 | 2018-11-29T19:47:14.437Z | 2,018 | 11 | 19 | 3 | 75 | 1 | 565 | 59 | 5 | 2 | true | false | false | false | false | false | zero |
53,791,084 | problem with writing to mifareclassic tag | <p>I am trying to read and write to a MifareClassic tag. so far I have been able to set up my application to receive intents in foreground. to read a tag I first get a MifareClassic instance, authenticate to it and read a block. it works fine.</p>
<p>but when I write to the tag nothing happens. the code seems to be ex... | I am trying to read and write to a MifareClassic tag. so far I have been able to set up my application to receive intents in foreground. to read a tag I first get a MifareClassic instance, authenticate to it and read a block. it works fine. but when I write to the tag nothing happens. the code seems to be executed with... | android|exception|mifare | 0 | 2018-12-15T09:19:42.260Z | 2,018 | 12 | 9 | 5 | 75 | 1 | 624 | 41 | 3 | 1 | true | false | false | false | false | false | zero |
53,557,104 | Android Studio Unable to locate AdB | <p>when ever i try to play my application it says unable to locate adb
here is error log
Unable to locate adb
java.lang.IllegalArgumentException: Unable to locate adb
at com.android.tools.idea.run.editor.DeployTargetPickerDialog.(DeployTargetPickerDialog.java:128)
at com.android.tools.idea.run.editor.ShowChoose... | when ever i try to play my application it says unable to locate adb here is error log Unable to locate adb java.lang.IllegalArgumentException: Unable to locate adb at com.android.tools.idea.run.editor.DeployTargetPickerDialog.(DeployTargetPickerDialog.java:128) at com.android.tools.idea.run.editor.ShowChooserTargetProv... | java|android-studio|sdk | 0 | 2018-11-30T11:57:31.773Z | 2,018 | 11 | 11 | 4 | 331 | 1 | 3,072 | 35 | 3 | 0 | false | false | false | false | false | false | zero |
53,638,074 | Espresso finding row in RecyclerView that could be off screen | <p>I have a RecyclerView which could contain any number of items. I need to be able to get a single row from that list so i can check its contents or click/long click on that row.</p>
<p>I am struggling greatly to figure out how to do this as unlike ListView's "onData" there is no built in functionality to scroll thr... | I have a RecyclerView which could contain any number of items. I need to be able to get a single row from that list so i can check its contents or click/long click on that row. I am struggling greatly to figure out how to do this as unlike ListView's "onData" there is no built in functionality to scroll through the Rec... | android|android-recyclerview|android-espresso | 1 | 2018-12-05T17:53:16.683Z | 2,018 | 12 | 17 | 2 | 331 | 1 | 1,482 | 61 | 3 | 2 | true | false | false | false | false | false | low |
53,366,514 | Difference between notifyDataSetChanged() and Adapter.this.notifyDataSetChanged() | <p>I am new to programming. Can you please explain what the difference between <code>notifyDataSetChanged()</code> and <code>Adapter.this.notifyDataSetChanged()</code> is? I think it has something to do with that context stuff?
I´m wondering which one I should use for my RecyclerView changes.</p> | I am new to programming. Can you please explain what the difference between notifyDataSetChanged() and Adapter.this.notifyDataSetChanged() is? I think it has something to do with that context stuff? I´m wondering which one I should use for my RecyclerView changes. | android|android-recyclerview|adapter | -2 | 2018-11-18T23:33:58.387Z | 2,018 | 11 | 23 | 6 | 76 | 1 | 264 | 81 | 3 | 0 | false | false | false | false | false | true | negative |
44,068,665 | Firebase Unity SDK doesn't work with custom ROM android device | <p>I'm using Firebase Unity SDK for an Unity Android game, it works on normal android devices but fail on custom ROM android devices.These devices have not installed Google Play Services.
Does Firebase Unity just work only on devices have Google Play Services ?
How can i use Firebase services for Unity game on custom R... | I'm using Firebase Unity SDK for an Unity Android game, it works on normal android devices but fail on custom ROM android devices.These devices have not installed Google Play Services. Does Firebase Unity just work only on devices have Google Play Services ? How can i use Firebase services for Unity game on custom ROM ... | android|firebase|unity3d | 0 | 2017-05-19T11:17:13.580Z | 2,017 | 5 | 11 | 4 | 256 | 1 | 336 | 62 | 3 | 0 | false | false | false | false | false | false | zero |
44,217,330 | ConcurrentModificationException with ORMlite on Android | <p>I'm having tons of <code>ConcurrentModificationException</code> when doing some update operations with my database using ORMlite. I'm wrapping the code that does the actual update into <code>rx.Observables</code> to make it asynchronously. Looks like this:</p>
<pre><code>@Override
public void setFavoriteTeams(List&... | I'm having tons of ConcurrentModificationException when doing some update operations with my database using ORMlite. I'm wrapping the code that does the actual update into rx.Observables to make it asynchronously. Looks like this: [CODE] Ironically, a while ago I started using Interator instead of a for-loop to avoid a... | android|sqlite|rx-java|ormlite|concurrentmodification | 0 | 2017-05-27T13:18:02.323Z | 2,017 | 5 | 13 | 5 | 256 | 1 | 880 | 55 | 5 | 3 | true | false | false | false | false | false | zero |
44,352,632 | I get RecycleView in Fragment and after click on recycleview element i need to send data to this fragment and restart it | <p>Hi i have recycleView in my fragment</p>
<pre><code>@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_list_petrole, container, false);
recyclerView = (RecyclerView)view.findViewById(R.id.recycle_view)... | Hi i have recycleView in my fragment [CODE] In RecycleView adapter i set OnClickListener in onBindViewHolder, so i need after click on some raw sent back to Fragment some info(position) and then make some changes(resent this info to Activity and add some new view there on Gmaps) This onBindViewHolder: [CODE] and i don'... | android|android-fragments|android-recyclerview | 0 | 2017-06-04T09:30:03.903Z | 2,017 | 6 | 9 | 6 | 256 | 1 | 353 | 120 | 3 | 2 | true | false | false | false | false | false | zero |
44,053,696 | Send GPS coordinates over either SMS or Email | <p>If I want to send GPS coordinates by either SMS or Email to a recipient, does it exists any standardized formats, so when the recipient receives the coordinates, he is able to just click on the coordinates and the default map app opens? In the same way as it works with links, email addresses or with telefon numbers.... | If I want to send GPS coordinates by either SMS or Email to a recipient, does it exists any standardized formats, so when the recipient receives the coordinates, he is able to just click on the coordinates and the default map app opens? In the same way as it works with links, email addresses or with telefon numbers. I'... | android|ios|email|gps|sms | -1 | 2017-05-18T16:50:45.723Z | 2,017 | 5 | 16 | 3 | 512 | 1 | 436 | 45 | 5 | 0 | false | false | false | false | false | true | negative |
44,075,673 | How to stop android from restoring state when the app process is killed? | <p>I'm facing an issue with the way android handles the launch of an activity after the app process has been killed.
It tries to restore the activity with some previously collected data but that makes my app to crash (I did some research and found out that the usage of <code>?attr:themeAttr</code> in the xml layouts wa... | I'm facing an issue with the way android handles the launch of an activity after the app process has been killed. It tries to restore the activity with some previously collected data but that makes my app to crash (I did some research and found out that the usage of ?attr:themeAttr in the xml layouts was the reason) I ... | android | 2 | 2017-05-19T17:18:47.857Z | 2,017 | 5 | 17 | 4 | 512 | 1 | 906 | 72 | 1 | 0 | false | false | false | false | false | false | low |
44,173,682 | How to remove a (RelativeLayout.ALIGN_START) rule | <p>I am developing an Android app where I have two different views. Both views are actually canvas drawings (drawn programmatically) with a bunch of text views and buttons on top. The positions of these buttons and text views need to be changed depending on the view selection. I created a relative layout with my drawin... | I am developing an Android app where I have two different views. Both views are actually canvas drawings (drawn programmatically) with a bunch of text views and buttons on top. The positions of these buttons and text views need to be changed depending on the view selection. I created a relative layout with my drawing a... | android | 1 | 2017-05-25T06:26:20.630Z | 2,017 | 5 | 6 | 3 | 512 | 1 | 1,370 | 49 | 1 | 2 | true | false | false | false | false | false | low |
44,325,425 | How to get streaming bitrate with MediaPlayer? | <p>I'm developing a stream video app in Android with <code>MediaPlayer</code>. The problem is that I need to show the current bitrate, but I haven't found any valid suggestions on how to do get it?</p>
<p>Here is how I'm setting the video url to play:</p>
<pre><code> mediaPlayer = new MediaPlayer();
try {
... | I'm developing a stream video app in Android with MediaPlayer . The problem is that I need to show the current bitrate, but I haven't found any valid suggestions on how to do get it? Here is how I'm setting the video url to play: [CODE] I don't know if the only way to get that working is using ExoPlayer (which I've rea... | java|android|android-mediaplayer | 3 | 2017-06-02T09:29:21.167Z | 2,017 | 6 | 9 | 4 | 1,280 | 1 | 366 | 46 | 3 | 1 | true | false | false | false | false | false | low |
44,231,180 | Graphical Editing of constraint is very slow in Android Studio 2.3.1 | <p>I am using constraint layout for most of UI in android studio but designing it in graphical editor is very slow.
Applying constraint is very slow.</p>
<p>My laptop is good .i7 5th gen 16 gb ram and 500 ssd. i think there should be no performance limitations. the issue is in android studio.
how to increase performan... | I am using constraint layout for most of UI in android studio but designing it in graphical editor is very slow. Applying constraint is very slow. My laptop is good .i7 5th gen 16 gb ram and 500 ssd. i think there should be no performance limitations. the issue is in android studio. how to increase performance of graph... | android|android-studio|layout|constraints | 6 | 2017-05-28T19:26:52.550Z | 2,017 | 5 | 19 | 6 | 1,536 | 1 | 405 | 68 | 4 | 0 | false | false | false | false | false | false | medium |
44,181,945 | Kotlin Property: "Type parameter of a property must be used in its receiver type" | <p>I have the following simple Kotlin extension functions:</p>
<pre><code>// Get the views of ViewGroup
inline val ViewGroup.views: List<View>
get() = (0..childCount - 1).map { getChildAt(it) }
// Get the views of ViewGroup of given type
inline fun <reified T : View> ViewGroup.getViewsOfType() : List&... | I have the following simple Kotlin extension functions: [CODE] This code compiles and works fine. But, I want the function getViewsOfType to be a property, just like the views . Android Studio even suggests it. I let AS do the refactoring and it generates this code: [CODE] But this code doesn't compile. It causes error... | android|generics|kotlin | 19 | 2017-05-25T13:34:26.473Z | 2,017 | 5 | 13 | 3 | 5,376 | 1 | 478 | 81 | 3 | 2 | true | false | true | false | true | false | medium |
44,096,263 | How to call onCreateView with 2 fragment in ViewPager | <p>So i have 2 fragments and i want the second fragment call onCreateView every time the user swipes on it. Also, as i can understand, FragmentPagerAdapter creates n+1 fragments and .setOffscreenPageLimit(0) will not work. setUserVisibleHint is also not quite what i want.</p> | So i have 2 fragments and i want the second fragment call onCreateView every time the user swipes on it. Also, as i can understand, FragmentPagerAdapter creates n+1 fragments and .setOffscreenPageLimit(0) will not work. setUserVisibleHint is also not quite what i want. | android|android-fragments | 0 | 2017-05-21T11:21:28.343Z | 2,017 | 5 | 11 | 6 | 257 | 1 | 269 | 53 | 2 | 0 | false | false | false | false | false | false | zero |
44,158,201 | Save highscore in localstorage (Javascript snake game) | <p>So the problem I'm having is rather simple and yet I can't seem to get it to work within all the functions.
I simply want the highscore to be saved in the localstorage and automatically updated when the game is over.
I'm thankful for any specific solutions! Thanks!</p>
<p>Bonus question: The game should work on and... | So the problem I'm having is rather simple and yet I can't seem to get it to work within all the functions. I simply want the highscore to be saved in the localstorage and automatically updated when the game is over. I'm thankful for any specific solutions! Thanks! Bonus question: The game should work on android (cordo... | javascript|android|css|html|cordova | 0 | 2017-05-24T12:16:21.080Z | 2,017 | 5 | 12 | 2 | 513 | 1 | 484 | 54 | 5 | 0 | false | false | false | false | false | false | zero |
44,049,091 | How to get an activity on onclicklistener | <p>I have a fragment, two activities use it, inside the fragment I have a button that must do something depending on the activity in which it is, but I can not get the activity in the onclicklistener. How should I do this?
It only occurred to me to make a switch, but I do not know what to put in the cases</p>
<pre><co... | I have a fragment, two activities use it, inside the fragment I have a button that must do something depending on the activity in which it is, but I can not get the activity in the onclicklistener. How should I do this? It only occurred to me to make a switch, but I do not know what to put in the cases [CODE] | android|android-fragments | 1 | 2017-05-18T13:27:03.317Z | 2,017 | 5 | 13 | 3 | 769 | 1 | 310 | 41 | 2 | 1 | true | false | false | false | false | false | low |
44,284,702 | Graphics in Android Emulator | <p>I have installed Android Studio 2.3.2 with Android Emulator(API 24).
The graphics in emulator seems very much unclear. The text is not clear as well.
<a href="https://i.stack.imgur.com/INq84.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/INq84.png" alt="enter image description here"></a></p>
<p>... | I have installed Android Studio 2.3.2 with Android Emulator(API 24). The graphics in emulator seems very much unclear. The text is not clear as well. I have already gone through other answers which suggests to change the emulated performance setting for graphics. But the problem is that, I am not able to edit the Graph... | android|android-emulator | 1 | 2017-05-31T12:22:14.993Z | 2,017 | 5 | 12 | 2 | 2,049 | 1 | 466 | 28 | 2 | 0 | false | false | false | false | false | false | low |
43,999,901 | Android service not called | <p>This is my service:</p>
<pre><code>public class KeepAliveService extends Service {
Alarm alarm = new Alarm();
public void onCreate()
{
Log.i("","KEEPALIVE onCreate");
super.onCreate();
}
@Override
public int onStartCommand(Intent intent, int flags, int startId)
{
alarm.setAlarm(this);
Log.i("","KE... | This is my service: [CODE] I have it declared like this in my manifest, after my : [CODE] [CODE] And on my onCreate of my BaseActivity, I do this: [CODE] I debugged, my breakpoint at startService does stop, but OnCreate is not called. why? | android|broadcastreceiver|android-service|android-manifest|android-permissions | 1 | 2017-05-16T11:12:59.677Z | 2,017 | 5 | 11 | 1 | 514 | 1 | 239 | 26 | 5 | 4 | true | false | false | false | false | false | low |
44,348,274 | MVVM // ViewModel event being fired on Activity rotation (recreated) | <p>Reading the <a href="https://developer.android.com/topic/libraries/architecture/viewmodel.html#sharing_data_between_fragments" rel="nofollow noreferrer">Google docs</a> I found (sort of) an example of using a <code>selectedItem</code> in order to propagate an event being fired to other observers, this is my current ... | Reading the Google docs I found (sort of) an example of using a selectedItem in order to propagate an event being fired to other observers, this is my current implementation: ViewModel [CODE] View [CODE] And when the user clicks the list: [CODE] All good and all it works , the problem is when the user rotates the scree... | android|mvvm|architecture|components|lifecycle | 0 | 2017-06-03T20:27:25.917Z | 2,017 | 6 | 20 | 5 | 770 | 1 | 715 | 68 | 5 | 3 | true | false | false | false | false | false | zero |
44,031,117 | How to render Android's YUV-YV12 camera image on the background in libgdx with OpenGLES 2.0 in real-time? | <p>This question refers to this one : <a href="https://stackoverflow.com/questions/22456884/how-to-render-androids-yuv-nv21-camera-image-on-the-background-in-libgdx-with-o">How to render Android's YUV-NV21 camera image on the background in libgdx with OpenGLES 2.0 in real-time?</a></p>
<p>It is well explained in t... | This question refers to this one : How to render Android's YUV-NV21 camera image on the background in libgdx with OpenGLES 2.0 in real-time? It is well explained in the best answer given by the author, but I have a little different issue concerning YV12 instead of NV12. (Here are some specs : https://wiki.videolan.... | android|opengl-es|shader | 1 | 2017-05-17T17:13:56.760Z | 2,017 | 5 | 17 | 2 | 1,538 | 1 | 1,051 | 105 | 3 | 0 | false | false | false | false | false | false | low |
43,972,394 | cannot find symbol class android.net.ConnectivityManager.NetworkCallback | <p>I got an error in Android. Try to use</p>
<pre><code>registerNetworkCallback(NetworkRequest request, ConnectivityManager.NetworkCallback networkCallback)
</code></pre>
<p>The api is for registers to receive notifications about all networks which satisfy the given NetworkRequest. <a href="https://developer.android.... | I got an error in Android. Try to use [CODE] The api is for registers to receive notifications about all networks which satisfy the given NetworkRequest. https://developer.android.com/reference/android/net/ConnectivityManager.html The error message is [CODE] My understanding is NetworkCallback is a nested static class ... | android|android-proguard | 1 | 2017-05-15T05:56:04.280Z | 2,017 | 5 | 5 | 0 | 2,050 | 1 | 519 | 72 | 2 | 5 | true | false | false | false | false | false | low |
44,139,374 | Cannot restart mobile application after each test using Protractor and Appium | <p>I'm new to automation and I have started writing tests with Protractor.
I have put 5 tests in spec and I need to reset Android application after each test (not to uninstall, just to clear data).</p>
<p>In my conf file I have put noReset to true, fullReset to false, also tried with noReset to false.</p>
<p>I tried... | I'm new to automation and I have started writing tests with Protractor. I have put 5 tests in spec and I need to reset Android application after each test (not to uninstall, just to clear data). In my conf file I have put noReset to true, fullReset to false, also tried with noReset to false. I tried to put driver.quit(... | android|automation|protractor|appium | 1 | 2017-05-23T15:40:34.940Z | 2,017 | 5 | 15 | 1 | 259 | 1 | 765 | 77 | 4 | 0 | false | false | false | false | false | false | low |
43,929,964 | href in area tag not clickable in android gmail app | <p>Following code is the part of HTML email. It works in all browsers but in android Gmail App it's not working. </p>
<pre><code><area alt="" title="" href="http://google.com" shape="rect" coords="754,1338,1044,1602" style="outline:none;" target="_self" />
</code></pre> | Following code is the part of HTML email. It works in all browsers but in android Gmail App it's not working. [CODE] | android|html|email|gmail | 0 | 2017-05-12T05:31:39.640Z | 2,017 | 5 | 5 | 4 | 515 | 1 | 116 | 51 | 4 | 1 | true | false | false | false | false | false | zero |
44,263,309 | android gradle plugin 3.0.0-alpha2: Error inflating class android.support.v4.widget.NestedScrollView | <p>After upgrading to gradle 3.0.0-alpha2</p>
<p>With stacktrace</p>
<pre><code>Caused by: android.view.InflateException: Binary XML file line #75: Error inflating class android.support.v4.widget.NestedScrollView
Caused by: java.lang.NoSuchMethodEx... | After upgrading to gradle 3.0.0-alpha2 With stacktrace [CODE] What I have tried: reimporting project cleaning up running without proguard --> it works but I need proguard | android|android-gradle-plugin | 1 | 2017-05-30T13:13:45.550Z | 2,017 | 5 | 13 | 1 | 260 | 1 | 170 | 100 | 2 | 1 | true | false | false | false | false | false | low |
44,333,590 | Keyboard hides on orientation change | <p>Similar question has already appeared several times, but I have found strange regularity which I think should not occur.</p>
<p>There is <code>Activity</code> with <code>EditText</code> in its layout. When user clicks on that field, soft input appears. With flag <code>android:windowSoftInputMode="stateUnchanged"</c... | Similar question has already appeared several times, but I have found strange regularity which I think should not occur. There is Activity with EditText in its layout. When user clicks on that field, soft input appears. With flag android:windowSoftInputMode="stateUnchanged" added to AndroidManifest , everything works a... | android|android-fragments|keyboard|android-orientation|window-soft-input-mode | 2 | 2017-06-02T16:30:56.670Z | 2,017 | 6 | 16 | 4 | 260 | 1 | 1,544 | 36 | 5 | 0 | false | false | false | false | false | false | low |
44,123,837 | Facebook login with ionic v1 | <p>I'm trying to develop an ionic app using facebook login. But I got some issues with Facebook configuration.</p>
<p>I'm using this GitHub project (<a href="https://github.com/chanusukarno/Angular-Ionic-OAuth" rel="nofollow noreferrer">https://github.com/chanusukarno/Angular-Ionic-OAuth</a>) as example and I'd config... | I'm trying to develop an ionic app using facebook login. But I got some issues with Facebook configuration. I'm using this GitHub project ( https://github.com/chanusukarno/Angular-Ionic-OAuth ) as example and I'd configured the Facebook app into https://developers.facebook.com . The problem is: in my localhost it works... | android|angularjs|facebook|ionic-framework|oauth | -2 | 2017-05-23T00:08:47.637Z | 2,017 | 5 | 0 | 1 | 516 | 1 | 611 | 28 | 5 | 0 | false | false | false | false | false | true | negative |
44,158,307 | Can't get android.support.v14.preference.MultiSelectListPreference to work | <p>Can't figure out what's wrong. Error log is of no help, I tried a few solutions mention here too.</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>05-24 17:32:05.674 228... | Can't figure out what's wrong. Error log is of no help, I tried a few solutions mention here too. [CODE] Here is the preference [CODE] Corresponding string arrays [CODE] Preference Fragment: [CODE] | android|android-preferences|android-multiselectlistpreference | 0 | 2017-05-24T12:21:37.780Z | 2,017 | 5 | 12 | 2 | 516 | 1 | 197 | 74 | 3 | 4 | true | false | false | false | false | false | zero |
43,989,855 | BLE notification subscription gets 133 | <p>1 Android phone (N5X 6.0.1) is running a BLE server, another one (N5X O) is subscribing.
Notification for a characteristic can be enabled however, on the write descriptor part, I'm consistently getting a 133.</p>
<p><code>Server.java</code></p>
<pre><code>private void createServer() {
bluetoothGattServer = blu... | 1 Android phone (N5X 6.0.1) is running a BLE server, another one (N5X O) is subscribing. Notification for a characteristic can be enabled however, on the write descriptor part, I'm consistently getting a 133. Server.java [CODE] All the other UUIDs have been created from here . Client.java [CODE] logcat [CODE] Note: if ... | android|bluetooth-lowenergy|rxandroidble | 5 | 2017-05-15T22:38:41.653Z | 2,017 | 5 | 22 | 0 | 1,028 | 1 | 687 | 38 | 3 | 3 | true | false | false | false | false | false | low |
43,950,703 | Nativescript Accept Android SDK License | <p>currently I'm trying to get into NativeScript. </p>
<p>How Ever, running the command:</p>
<pre><code>tns run android
</code></pre>
<p>gives me the following error message:</p>
<p><code>You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 25, Android SDK Platform ... | currently I'm trying to get into NativeScript. How Ever, running the command: [CODE] gives me the following error message: You have not accepted the license agreements of the following SDK components: [Android SDK Build-Tools 25, Android SDK Platform 25] I already tried to completely uninstall Android SDK Build-Tools a... | android|nativescript|nativescript-cli | 0 | 2017-05-13T08:01:02.403Z | 2,017 | 5 | 8 | 5 | 261 | 1 | 515 | 39 | 3 | 1 | true | false | false | false | false | false | zero |
44,034,621 | Using Retrofit to get list of mail from RESTAPI from outlook? | <p>How I can use this GET (<a href="https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_list_messages" rel="nofollow noreferrer">https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_list_messages</a>)
with Retrofit</p>
<p>I am trying with this but doesnt work</p>
<pre>... | How I can use this GET ( https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_list_messages ) with Retrofit I am trying with this but doesnt work [CODE] [CODE] | android|json|retrofit|microsoft-graph-api|outlook-restapi | 0 | 2017-05-17T20:54:39.807Z | 2,017 | 5 | 20 | 2 | 261 | 1 | 183 | 61 | 5 | 2 | true | false | false | false | false | false | zero |
44,053,558 | Android - How can is see who called zxing onActivityResult method? | <p>Hi Am using zxing for my QR Code reader. I have two buttons on my screen and each one of them will open the QR Code scanner. I then have a onActivityResult method that is called once the scanner reads the code.</p>
<p>How could I see which button was pressed that called the QR scanner INSIDE onActivityResult </p>
... | Hi Am using zxing for my QR Code reader. I have two buttons on my screen and each one of them will open the QR Code scanner. I then have a onActivityResult method that is called once the scanner reads the code. How could I see which button was pressed that called the QR scanner INSIDE onActivityResult Here is my code: ... | java|android|zxing | 1 | 2017-05-18T16:42:56.697Z | 2,017 | 5 | 16 | 3 | 261 | 1 | 326 | 66 | 3 | 1 | true | false | false | false | false | false | low |
44,150,106 | Android: Video Picker options | <p>What is difference between these two options to pick video files and which one is recommended. </p>
<pre><code>Intent intent = new Intent();
intent.setType("video/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(intent, REQUEST_VIDEO);
</code></pre>
<p>and this</p>
<pre><code>Intent intent... | What is difference between these two options to pick video files and which one is recommended. [CODE] and this [CODE] Also, the second option having an issue in Nougat, it doesn't show any videos though it shows gallery. Any idea? | android|video | 0 | 2017-05-24T05:59:32.697Z | 2,017 | 5 | 5 | 2 | 1,029 | 1 | 230 | 29 | 2 | 2 | true | false | false | false | false | false | zero |
44,183,004 | Android Password toggle want to set text instead of image | <p>I am using TextInputEditText as a password field. I want to use password toggle feature available with support library 24.2.0. <em>passwordToggleDrawable</em> allows me to set drawable to change based on toggle state. I want to show TextView instead of drawable to show toggle state i.e. I want show text '<strong>SHO... | I am using TextInputEditText as a password field. I want to use password toggle feature available with support library 24.2.0. passwordToggleDrawable allows me to set drawable to change based on toggle state. I want to show TextView instead of drawable to show toggle state i.e. I want show text ' SHOW ' to allow passwo... | android|android-textinputlayout | 0 | 2017-05-25T14:25:37.087Z | 2,017 | 5 | 14 | 3 | 1,541 | 1 | 564 | 57 | 2 | 1 | true | false | false | false | false | false | zero |
44,067,850 | Google play game services Leaderboard with custom UI using Unity3d plugin of google | <p>We want to display all leaderboard data into our custom created UI for the game. for that we want to access top scores info such as Profile Picture,Score and Name of the player.</p>
<p>All data will be shown in our custom created UI</p>
<p>we are using following unity3d plugin of google
<a href="https://github.com... | We want to display all leaderboard data into our custom created UI for the game. for that we want to access top scores info such as Profile Picture,Score and Name of the player. All data will be shown in our custom created UI we are using following unity3d plugin of google https://github.com/playgameservices/play-games... | android|unity3d|google-play-games|leaderboard | 0 | 2017-05-19T10:36:38.633Z | 2,017 | 5 | 10 | 4 | 4,101 | 1 | 411 | 83 | 4 | 0 | false | false | true | false | false | false | zero |
44,070,418 | What is the difference between ionic1, ionic2 and ionic3? Is ionic2 and ionic3 are same? | <p>I have created project with ionic cli 2.2.1. But when i enter into project directory and type "ionic info" it gives the following result.</p>
<p>Your system information:</p>
<p>Cordova CLI: 6.0.0
Ionic Framework Version: 3.2.1
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.7
... | I have created project with ionic cli 2.2.1. But when i enter into project directory and type "ionic info" it gives the following result. Your system information: Cordova CLI: 6.0.0 Ionic Framework Version: 3.2.1 Ionic CLI Version: 2.2.3 Ionic App Lib Version: 2.2.1 Ionic App Scripts Version: 1.3.7 ios-deploy version: ... | android|node.js|cordova|ubuntu|ionic-framework | 4 | 2017-05-19T12:41:16.820Z | 2,017 | 5 | 12 | 4 | 6,917 | 1 | 608 | 88 | 5 | 0 | false | false | true | false | false | false | low |
44,195,172 | VS2017 Android and SQLite | <p>Perhaps a dumb question but I can't find an answer anywhere! </p>
<p>I have a sqlite pre-populated database in my application which I need to copy to the device when the user install the application, I have the database in the Assets folder in VS2017 and have marked it as Embedded Resource but I can't seem to find ... | Perhaps a dumb question but I can't find an answer anywhere! I have a sqlite pre-populated database in my application which I need to copy to the device when the user install the application, I have the database in the Assets folder in VS2017 and have marked it as Embedded Resource but I can't seem to find the right pa... | android|visual-studio|android-sqlite | 0 | 2017-05-26T06:38:35.817Z | 2,017 | 5 | 6 | 4 | 262 | 1 | 481 | 25 | 3 | 0 | false | false | false | false | false | false | zero |
44,343,564 | Javascript setTimeout is sometimes not triggered in WebView | <p>We have a small Android app which mainly consists of a WebView. In this WebView, we load an Angular 2 App (Angular 2.4) which regularily polls an API. To trigger the polling regularily, we use a recursive call:</p>
<pre><code>private xxx() {
console.log("Beginning of xxx");
...
http.get(url).then( => {
... | We have a small Android app which mainly consists of a WebView. In this WebView, we load an Angular 2 App (Angular 2.4) which regularily polls an API. To trigger the polling regularily, we use a recursive call: [CODE] Polling usually works well, however, after some time (~ 1-2 min), polling stops. From our logging, we ... | javascript|android|angular|android-webview | 0 | 2017-06-03T11:45:51.067Z | 2,017 | 6 | 11 | 5 | 774 | 1 | 669 | 59 | 4 | 1 | true | false | false | false | false | false | zero |
44,187,277 | Getting padding in fullscreen camera view (FrameLayout) | <p>I have this layout:</p>
<p>`</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:orientation="vertica... | I have this layout: ` [CODE] ` I am getting black padding in camera view like this, on the right side, notice the vertical black space/strip on right: Don't mind the capture button in middle of screen, I'll position it later. But the question I have is, how to remove the unwanted padding and make FramLayout full screen... | android|xml|android-layout|android-camera|android-framelayout | 0 | 2017-05-25T18:17:29.383Z | 2,017 | 5 | 18 | 3 | 263 | 1 | 321 | 55 | 5 | 1 | true | false | false | false | false | false | zero |
44,151,068 | Jquery UI autocomplete not working in android webview for phone with low resolution | <p>I am using Jquery UI for autocoomplete</p>
<p>1:-Its working fine in every browser including IE, Chrome, Firefox.
2:-Its Working fine on android phone with high reolution
3:-Its working fine even on low reolution in browser
4:-But its not working on webview of android</p>
<p>When i first click then it doesnt work ... | I am using Jquery UI for autocoomplete 1:-Its working fine in every browser including IE, Chrome, Firefox. 2:-Its Working fine on android phone with high reolution 3:-Its working fine even on low reolution in browser 4:-But its not working on webview of android When i first click then it doesnt work after click on 3-4 ... | javascript|android|jquery|webview|autocomplete | 0 | 2017-05-24T06:56:18.657Z | 2,017 | 5 | 6 | 2 | 775 | 1 | 449 | 83 | 5 | 2 | true | false | false | false | false | false | zero |
44,184,070 | Fragments in TabLayout do not bind to viewmodel | <p>I've been struggling with this for 2 days now and am quite simply stuck. The binding of the fragments simply will not kick in for some reason. The page is shown correctly and the tabs do work fine. I can swipe from tab 1 to 2 and vice versa. The TextView should show some text from the viewmodel. When I debug the con... | I've been struggling with this for 2 days now and am quite simply stuck. The binding of the fragments simply will not kick in for some reason. The page is shown correctly and the tabs do work fine. I can swipe from tab 1 to 2 and vice versa. The TextView should show some text from the viewmodel. When I debug the constr... | c#|android|mvvmcross|android-tablayout | -1 | 2017-05-25T15:19:33.847Z | 2,017 | 5 | 15 | 3 | 1,287 | 1 | 797 | 47 | 4 | 9 | true | false | false | false | false | true | negative |
44,195,615 | Android webview not rendering CSS and angular | <p>I am trying to load a URL in to android native webview, but it does not render <code>CSS</code> and <code>Angular</code></p>
<p><strong>CODE:</strong></p>
<pre><code> WebView wvFAQs = (WebView) mFragmentView.findViewById(R.id.wvUrls);
Map<String, String> headersMap = new HashMap<>();
headersM... | I am trying to load a URL in to android native webview, but it does not render CSS and Angular CODE: [CODE] ERRORS: "Uncaught ReferenceError: _ is not defined", "Uncaught ReferenceError: angular is not defined", "Uncaught ReferenceError: $ is not defined", but this URL works fine in mobile... | javascript|android|angularjs|webview|android-webview | 0 | 2017-05-26T07:04:52.950Z | 2,017 | 5 | 7 | 4 | 1,799 | 1 | 592 | 45 | 5 | 1 | true | false | false | false | false | false | zero |
44,287,848 | Is there any Callback that gives me feedback about lost packages in Twilio beta8 SDK? | <p>I'm developing an app in Android that uses Twilio to communicate through VoIP the users. I´m using beta-8 of the Voice SDK. My problem is that the call sometimes goes to "black" and you can´t hear anything from one side or another. This is because of the network, because I have been monitoring this. </p>
<p>My ques... | I'm developing an app in Android that uses Twilio to communicate through VoIP the users. I´m using beta-8 of the Voice SDK. My problem is that the call sometimes goes to "black" and you can´t hear anything from one side or another. This is because of the network, because I have been monitoring this. My question is if t... | android|twilio | 0 | 2017-05-31T14:44:54.097Z | 2,017 | 5 | 14 | 2 | 8 | 1 | 489 | 85 | 2 | 0 | false | false | false | false | false | false | zero |
44,026,258 | Get HTTP status code from AWS API Gateway Android SDK | <p>I'm trying to use the AWS generated Android SDK for my API Gateway project. Based on the information on this <a href="http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-generate-sdk-android.html" rel="nofollow noreferrer">Site</a> I created a client interface with a API method like this:</p>
<p><div... | I'm trying to use the AWS generated Android SDK for my API Gateway project. Based on the information on this Site I created a client interface with a API method like this: [CODE] So when I want to call my API I used the following code: [CODE] is there any way to retrieve the APIResponse Headers from the amazon mobile c... | android|amazon-web-services|aws-api-gateway | 0 | 2017-05-17T13:26:46.583Z | 2,017 | 5 | 13 | 2 | 264 | 1 | 338 | 53 | 3 | 2 | true | false | false | false | false | false | zero |
43,954,424 | How to stop an observable upon click in RxAndroid? | <p>I'm learning RxAndroid/RxBinding. I'm trying to stop an observable sequence upon a button click event but don't know how to do it.</p>
<pre><code>FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
Button bt = (Button)findViewById(R.id.button);
RxView.clicks(fab).subscribe(view ->Snackbar.... | I'm learning RxAndroid/RxBinding. I'm trying to stop an observable sequence upon a button click event but don't know how to do it. [CODE] As you can see that I have two buttons each subscribed to an observable sequence, what I want is: (1) If I click a button first then click the other button later, the observable acti... | android|rx-java|rx-android|rx-java2|rx-binding | 0 | 2017-05-13T14:43:06.783Z | 2,017 | 5 | 14 | 5 | 520 | 1 | 558 | 50 | 5 | 1 | true | false | false | false | false | false | zero |
44,219,621 | Android: Slider image viewPager is not showing anything | <p>I have seen all the question related to this topic but didn't find solution, in my case viewpager is not showing anything, its simple image slider, moreover toast are appearing as i'm swaping but didn't see image and text, and when im adding these lines(as other solutions said) </p>
<pre><code> ((ViewPager) contain... | I have seen all the question related to this topic but didn't find solution, in my case viewpager is not showing anything, its simple image slider, moreover toast are appearing as i'm swaping but didn't see image and text, and when im adding these lines(as other solutions said) [CODE] it gives me error android.support.... | java|android|layout|android-viewpager|adapter | 3 | 2017-05-27T17:12:54.143Z | 2,017 | 5 | 17 | 5 | 2,056 | 1 | 594 | 55 | 5 | 4 | true | false | false | false | false | false | low |
44,324,373 | Cookies are not being stored in Android Webview | <p>I have a pure HTML+CSS+JS app that I'm trying to embed into an Android app using the Webview. The app all works fine except, the cookies aren't stored. I've already tried the suggestions in these QA, but none of them seem to work:</p>
<p><a href="https://stackoverflow.com/questions/5404274/make-android-webview-not-... | I have a pure HTML+CSS+JS app that I'm trying to embed into an Android app using the Webview. The app all works fine except, the cookies aren't stored. I've already tried the suggestions in these QA, but none of them seem to work: Make Android WebView not store cookies or passwords Cookie doesn't work properly in w... | javascript|java|android|cookies|webview | 0 | 2017-06-02T08:34:43.287Z | 2,017 | 6 | 8 | 4 | 2,056 | 1 | 997 | 47 | 5 | 3 | true | false | false | false | false | false | zero |
44,279,691 | Error while waiting for device: Could not start AVD | <p>I run my application on android studio but it dosen't run. it returns this, "Error while waiting for device: Could not start AVD" and stops. My intel HAXM is installed and up to date. pls help solve.</p> | I run my application on android studio but it dosen't run. it returns this, "Error while waiting for device: Could not start AVD" and stops. My intel HAXM is installed and up to date. pls help solve. | java|android | 0 | 2017-05-31T08:36:35.877Z | 2,017 | 5 | 8 | 2 | 3,080 | 1 | 199 | 51 | 2 | 0 | false | false | true | false | false | false | zero |
44,304,107 | How to have create an anonymous interface implementation in my Kotlin class and use it? | <p>How can I have something like this java code in Kotlin?
Even the IDE does not convert it to Kotlin perfectly!</p>
<pre><code>/** Defines callbacks for service binding, passed to bindService() */
private ServiceConnection mConnection = new ServiceConnection() {
@Override
public void onServiceConnected(Compo... | How can I have something like this java code in Kotlin? Even the IDE does not convert it to Kotlin perfectly! [CODE] I tried using inner class but then I was not able to use it like this: [CODE] | java|android|android-studio|interface|kotlin | 2 | 2017-06-01T09:45:56.913Z | 2,017 | 6 | 9 | 3 | 3,080 | 1 | 194 | 87 | 5 | 2 | true | false | true | false | false | false | low |
43,999,197 | Convert Audiorecord Data to process FFT | <p>I have been implementing a Polyphonic signal pitch detector so I started to code my Program doing (RecordData, Convert Data, Zero-padding, Windowing, FFT, Peak detection). At first I tested it with sounds I already new which values I should get, and it worked perfectly.</p>
<p>The problem I have is when recording w... | I have been implementing a Polyphonic signal pitch detector so I started to code my Program doing (RecordData, Convert Data, Zero-padding, Windowing, FFT, Peak detection). At first I tested it with sounds I already new which values I should get, and it worked perfectly. The problem I have is when recording with my Phon... | android|signal-processing|fft|audiorecord|pitch-detection | 0 | 2017-05-16T10:40:50.807Z | 2,017 | 5 | 10 | 1 | 265 | 1 | 790 | 39 | 5 | 2 | true | false | false | false | false | false | zero |
44,321,043 | Inconsistent FloatingActionButton padding with useCompatPadding on API 21 or higher | <p>I have two mini FABs next to each other as follows:</p>
<pre class="lang-xml prettyprint-override"><code><LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.design.widget.FloatingActionButton
androi... | I have two mini FABs next to each other as follows: [CODE] This looks fine in most cases, except if one of the buttons is disabled (using fab.setEnabled(false) ) before the layout is drawn. Then it looks like this . The zoom out FAB seems to have less padding on the left and while you can't see it in this particular im... | android|android-layout|android-support-library | 1 | 2017-06-02T04:52:44.913Z | 2,017 | 6 | 4 | 4 | 1,033 | 1 | 913 | 83 | 3 | 1 | true | false | false | false | false | false | low |
44,361,722 | Inflating only a specific action bar menu | <p>I have an action bar menu defined in my main activity. Now, one of the fragments I am using in that activity has its own action bar menu but when I click on the menu option, I get both the fragment's as well as the activity's menu items. How to ensure that only that fragment's menu item is displayed?</p>
<p>My java... | I have an action bar menu defined in my main activity. Now, one of the fragments I am using in that activity has its own action bar menu but when I click on the menu option, I get both the fragment's as well as the activity's menu items. How to ensure that only that fragment's menu item is displayed? My java code for t... | android|android-fragments|android-actionbar | 1 | 2017-06-05T04:33:46.437Z | 2,017 | 6 | 4 | 0 | 1,033 | 1 | 380 | 41 | 3 | 2 | true | false | false | false | false | false | low |
44,001,935 | Increase loading speed of frequently used webpages in Android webview | <p>I have a webview in my Android application which will display webpages of 1 particular website only and I want the webpage to be loaded efficiently. So is there any way to get the page loading efficiency improved by means of techniques like caching or something else so that the URL loading is in the most optimized w... | I have a webview in my Android application which will display webpages of 1 particular website only and I want the webpage to be loaded efficiently. So is there any way to get the page loading efficiency improved by means of techniques like caching or something else so that the URL loading is in the most optimized way ... | android|webview|android-webview | 1 | 2017-05-16T12:48:12.350Z | 2,017 | 5 | 12 | 1 | 1,289 | 1 | 329 | 69 | 3 | 0 | false | false | false | false | false | false | low |
44,301,669 | How to release android app only for specific user.? | <p>I want to Release app in Google PlayStore only for <strong>specific Users</strong>.</p>
<p><strong>E.g.</strong> Android Application <strong>only visible</strong> if user login with <strong>example@gmail.com</strong></p>
<p>How to do that?</p> | I want to Release app in Google PlayStore only for specific Users . E.g. Android Application only visible if user login with example@gmail.com How to do that? | android|release-management | 1 | 2017-06-01T07:52:35.843Z | 2,017 | 6 | 7 | 3 | 1,545 | 1 | 158 | 51 | 2 | 0 | false | false | false | false | false | false | low |
44,178,065 | Difference between getExternalStorageDirectory and getExternalStoragePublicDirectory? | <p>According to google one returns the primary shared/external storage directory and the other gets a top-level shared/external storage directory for placing files of a particular type. Can anyone explain in simple language and example?</p> | According to google one returns the primary shared/external storage directory and the other gets a top-level shared/external storage directory for placing files of a particular type. Can anyone explain in simple language and example? | java|android|android-studio|permissions|storage | 7 | 2017-05-25T10:21:18.720Z | 2,017 | 5 | 10 | 3 | 2,057 | 1 | 233 | 85 | 5 | 0 | false | false | false | false | false | false | medium |
44,139,915 | Gradle sync failed, 'debugCompile' directly is not allowed | <p>I have update Android Studio to <code>3.0 Canary 1</code>, so I've update my project gradle to <code>4.0-milestone-1</code> and build tools gradle to <code>3.0.0-alpha1</code>, when I try to sync project this error happens:</p>
<blockquote>
<p><strong>Error</strong>:Could not determine the dependencies of task ':... | I have update Android Studio to 3.0 Canary 1 , so I've update my project gradle to 4.0-milestone-1 and build tools gradle to 3.0.0-alpha1 , when I try to sync project this error happens: Error :Could not determine the dependencies of task ':extractIncludeAospProto'. Resolving configuration 'debugCompile' directly is no... | android|android-studio|android-gradle-plugin | 7 | 2017-05-23T16:07:10.327Z | 2,017 | 5 | 16 | 1 | 2,569 | 1 | 428 | 58 | 3 | 1 | true | false | false | false | false | false | medium |
44,185,940 | Displaying website om APP | <p>I have my website wedeb.tk.
I wanted that I could also run that site on my phone using an app. But I dont know how to make an app such that the project is made</p>
<p>Kindly suggest some way</p>
<p>Thanks</p> | I have my website wedeb.tk. I wanted that I could also run that site on my phone using an app. But I dont know how to make an app such that the project is made Kindly suggest some way Thanks | php|android|html|android-studio | -1 | 2017-05-25T16:57:55.860Z | 2,017 | 5 | 16 | 3 | 10 | 1 | 190 | 25 | 4 | 0 | false | false | false | false | false | true | negative |
44,343,333 | How to remove previous installed android app when singature changed? | <p>After changing the signature Keystore from auto-generated one to a really Keystore that on disk via Gradle: </p>
<pre><code>signingConfigs{
key{
keyAlias 'xxx'
keyPassword 'xxx'
storeFile file('D:/work/game/xxx.keystore')
storePassword 'xxx'
}
}
... | After changing the signature Keystore from auto-generated one to a really Keystore that on disk via Gradle: [CODE] There is an error yield when I hit the Play Button on the android studio. Note that I have tried: of course press the OK button uninstall the app from my testing device. restart the testing device. But non... | android | 0 | 2017-06-03T11:18:22.643Z | 2,017 | 6 | 11 | 5 | 10 | 1 | 399 | 68 | 1 | 1 | true | false | false | false | false | false | zero |
43,955,201 | Payment Request API: What is the Payee Account? | <p>I was looking at the Payment Request API which is apparently available on some browsers but I was wondering, where/how do you set the account to which the payments get sent? I see nowhere in the following code that specifies an account to which the payment will be sent upon success:</p>
<pre><code>function onBuyCl... | I was looking at the Payment Request API which is apparently available on some browsers but I was wondering, where/how do you set the account to which the payments get sent? I see nowhere in the following code that specifies an account to which the payment will be sent upon success: [CODE] Ref. https://developers.googl... | payment-processing|android-pay|payment-request-api | 0 | 2017-05-13T16:03:41.733Z | 2,017 | 5 | 16 | 5 | 266 | 1 | 460 | 47 | 3 | 1 | true | false | false | false | false | false | zero |
44,217,124 | Kotlin automatic code calling in delegation pattern | <p>I am making use of the Kotlin delegation pattern to mix and match several components into bigger components. This has sped up my code, made it easier to read, more modular, more consistent etc. All good things. However, one thing I'm struggling with is a good pattern to deallocate my delegates. Most of them have... | I am making use of the Kotlin delegation pattern to mix and match several components into bigger components. This has sped up my code, made it easier to read, more modular, more consistent etc. All good things. However, one thing I'm struggling with is a good pattern to deallocate my delegates. Most of them have a disp... | android|kotlin | 0 | 2017-05-27T12:55:51.770Z | 2,017 | 5 | 12 | 5 | 266 | 1 | 833 | 51 | 2 | 1 | true | false | false | false | false | false | zero |
44,282,023 | ObjectMapper can't map the variables of inner class | <p>ObjectMapper mapper = new ObjectMapper();</p>
<pre><code> try {
attractionMainResponse = mapper.readValue(response,AttractionMainResponse.class);
} catch(IOException io) {
showToast("Something went wrong");
FirebaseCrash.log(io.toString());
finish();
}
</code></pre>
<p>At... | ObjectMapper mapper = new ObjectMapper(); [CODE] AttractionMainResponse : @JsonIgnoreProperties (ignoreUnknown = true) public class AttractionMainResponse { [CODE] } AttractionDetailModel : @JsonIgnoreProperties (ignoreUnknown = true) public class AttractionDetailModel { [CODE] } AddressDataAttractions : @JsonIgnorePro... | java|android|objectmapper | -2 | 2017-05-31T10:17:22.880Z | 2,017 | 5 | 10 | 2 | 266 | 1 | 685 | 51 | 3 | 5 | true | false | false | false | false | true | negative |
44,198,039 | Image touch selection area | <p>We are developing image mapping for education.
The teacher can add question with image.
The schema answer is based on the image touched selection by the teacher.</p>
<p>For example;</p>
<ul>
<li>Which are the area represent district that having gold.
<a href="https://i.stack.imgur.com/Nvlrt.jpg" rel="nofollow nore... | We are developing image mapping for education. The teacher can add question with image. The schema answer is based on the image touched selection by the teacher. For example; Which are the area represent district that having gold. then the teacher can choose the correct answer(B and E district) by pressing the schema a... | android|svg | 4 | 2017-05-26T09:24:36.673Z | 2,017 | 5 | 9 | 4 | 522 | 1 | 573 | 26 | 2 | 0 | false | false | false | false | false | false | low |
44,320,812 | Android Keystore KeyPairGeneratorSpec Where do I get X500Principal | <p>I am building a keystore that I will hide my authorization and refresh tokens in. I am on API 19. Looking at the examples for KeyPairGeneratorSpec. Most of the examples use a dummy certificate (X500Principal). I haven't worked much with certificates. I am not sure where I get this "subject." Is this the certificate ... | I am building a keystore that I will hide my authorization and refresh tokens in. I am on API 19. Looking at the examples for KeyPairGeneratorSpec. Most of the examples use a dummy certificate (X500Principal). I haven't worked much with certificates. I am not sure where I get this "subject." Is this the certificate use... | android|android-keystore | 1 | 2017-06-02T04:28:58.377Z | 2,017 | 6 | 4 | 4 | 522 | 1 | 714 | 66 | 2 | 1 | true | false | false | false | false | false | low |
44,362,819 | On Back press traversing through last two tabs not working properly in BottomNavigationView? | <p><strong>On click of back button, navigate to the previous tab that was opened. You will exit the app only by traversing through last two tabs you have opened.how to achieve it</strong></p>
<p>I just want to traverse all the tabs that I have opened and then app should exit</p>
<p><a href="https://i.stack.imgur.com/... | On click of back button, navigate to the previous tab that was opened. You will exit the app only by traversing through last two tabs you have opened.how to achieve it I just want to traverse all the tabs that I have opened and then app should exit Here is the layout: [CODE] Here is the activity: [CODE] Please help me ... | java|android|xml|android-linearlayout | 0 | 2017-06-05T06:20:17.323Z | 2,017 | 6 | 6 | 0 | 522 | 1 | 330 | 92 | 4 | 2 | true | false | false | false | false | false | zero |
44,043,474 | How to return the value when Observable is complete? | <p>I've made this Observable to compress Bitmap:</p>
<pre><code>public static Uri compressBitmapInBackground(Bitmap original, Context context)
{
Uri value;
Observable.create((ObservableOnSubscribe<Uri>) e ->
{
ByteArrayOutputStream out = new ByteArrayOutputStream();
original.compre... | I've made this Observable to compress Bitmap: [CODE] my problem is that I want to return the result when the Observable is completed: is there a way to do it? Because I could call the presenter from my function on the onNext() but I prefer to avoid it. Thank you | android|rx-java|rx-java2 | 0 | 2017-05-18T09:13:18.150Z | 2,017 | 5 | 9 | 3 | 778 | 1 | 262 | 52 | 3 | 1 | true | false | false | false | false | false | zero |
44,103,225 | Prevent Location Manager from stopping location updates when phone goes to sleep Xamarin.Android | <p>I have been quite successfull starting a service. But inside this service, I have a location manager wich i start to get location updates from the gps provider.</p>
<p>The location manager successfully send callback to my ILocationListener .
But at the second the phone goes into sleep (((PowerManager)GetSystemServi... | I have been quite successfull starting a service. But inside this service, I have a location manager wich i start to get location updates from the gps provider. The location manager successfully send callback to my ILocationListener . But at the second the phone goes into sleep (((PowerManager)GetSystemService(Context.... | android|xamarin|service|xamarin.android|locationmanager | 1 | 2017-05-22T00:54:31.447Z | 2,017 | 5 | 0 | 0 | 1,034 | 1 | 778 | 96 | 5 | 2 | true | false | false | false | false | false | low |
44,123,032 | Save Edittext values of Recycerview with different layouts when clicking a button | <p>I have to recreate a questionnaire with instructions, questions and response field. To reproduce the layout i use a <code>RecyclerView.Adapter</code> that shows different view types: <code>textview</code> for instructions and <code>textinputlayout</code> with hint used as actual question.<br>
Below my <code>recycler... | I have to recreate a questionnaire with instructions, questions and response field. To reproduce the layout i use a RecyclerView.Adapter that shows different view types: textview for instructions and textinputlayout with hint used as actual question. Below my recyclerview there is a button that, when clicked, should sa... | android|android-recyclerview|adapter | -2 | 2017-05-22T22:26:24.533Z | 2,017 | 5 | 22 | 0 | 267 | 1 | 730 | 81 | 3 | 4 | true | false | false | false | false | true | negative |
44,346,521 | Unable to move and animate an ImageView along a path in Android using ObjectAnimator | <p>I'm trying to move an <code>ImageView</code> along a <code>path</code> using <code>ObjectAnimator</code>. I'm facing an <code>NPE</code>. Here's the code I'm trying.</p>
<pre><code>path = new Path();
path.moveTo((float)(maxX/2)+(maxX/4),maxY/4);
path.quadTo((float)(maxX/2)+(maxX/4),maxY/4, (float)(maxX/2)+(maxX/4)+... | I'm trying to move an ImageView along a path using ObjectAnimator . I'm facing an NPE . Here's the code I'm trying. [CODE] The exception is : [CODE] If there's anything I'm doing wrong, Can somebody please help me animate via a path. SOmebody, Please help! Thanks. | android|android-animation|android-canvas|objectanimator | -1 | 2017-06-03T17:06:19.780Z | 2,017 | 6 | 17 | 5 | 267 | 1 | 264 | 84 | 4 | 2 | true | false | false | false | false | true | negative |
44,350,510 | Realm in IntentService - thread created crash | <p>I have a Realm thread that is causing a crash, and I'm not sure why this isn't allowed, or how to get around it. Here's some sample code of what's going on:</p>
<pre><code>public class UploadPostService extends IntentService {
public UploadPostService() {
super("UploadPostService");
}
@Override
protected voi... | I have a Realm thread that is causing a crash, and I'm not sure why this isn't allowed, or how to get around it. Here's some sample code of what's going on: [CODE] After the API finishes with the Retrofit call, It crashes on the setting of any field on the "Post" object with the exception: [CODE] I'm curious what the c... | android|realm | 0 | 2017-06-04T03:28:33.030Z | 2,017 | 6 | 3 | 6 | 267 | 1 | 720 | 45 | 2 | 2 | true | false | false | false | false | false | zero |
44,363,026 | Play mp3 in google Play Music | <p>How can I play a mp3 song using Google Play Music.</p>
<p>I am trying to play, pause, next etc in Google Play Music.</p>
<p>I have set the music player as default.</p>
<p>I am able to broadcast the Next and previous by using the below commands.</p>
<pre><code> public static final String CMD_NAME = "CMD_NAME";... | How can I play a mp3 song using Google Play Music. I am trying to play, pause, next etc in Google Play Music. I have set the music player as default. I am able to broadcast the Next and previous by using the below commands. [CODE] How can I broadcast for play a song for a particular mp3 file (input as mp3 file name) . | android|google-play|media-player | 0 | 2017-06-05T06:36:45.443Z | 2,017 | 6 | 6 | 0 | 267 | 1 | 319 | 29 | 3 | 1 | true | false | false | false | false | false | zero |
44,000,076 | Creating Kotlin classes in Android Studio using intention actions | <p>When using Java on Android Studio I must often don't have to create files, I just type the name of the class I want to use and use "Intent Actions" to solve the problem and create the necessary file. The problem is, when using Kotlin, if I need, lets say an Interface, when I hit the Intent Action, Android Studio cre... | When using Java on Android Studio I must often don't have to create files, I just type the name of the class I want to use and use "Intent Actions" to solve the problem and create the necessary file. The problem is, when using Kotlin, if I need, lets say an Interface, when I hit the Intent Action, Android Studio create... | android-studio|kotlin | 1 | 2017-05-16T11:20:15.403Z | 2,017 | 5 | 11 | 1 | 523 | 1 | 475 | 65 | 2 | 0 | false | false | false | false | false | false | low |
44,019,695 | OverrideDeadline in Job Scheduler | <p>I'm using <code>jobSchedular</code> with <code>setMinimumLatency</code> and any network type is required but as i read from the documentation if the requirement doesn't met and i want to force start services after a certain time i need to call <code>setOverrideDeadline</code> but even after calling it the service d... | I'm using jobSchedular with setMinimumLatency and any network type is required but as i read from the documentation if the requirement doesn't met and i want to force start services after a certain time i need to call setOverrideDeadline but even after calling it the service doesn't start if network constraints doesn't... | android | 0 | 2017-05-17T08:39:18.487Z | 2,017 | 5 | 8 | 2 | 1,291 | 1 | 401 | 33 | 1 | 1 | true | false | false | false | false | false | zero |
44,252,786 | Android - Live audio streaming from server | <p>I have a live audio stream hosted on ice cast server. There is an API that returns the information about the audio played and also details of the actual audio being played (mp3 file). </p>
<p>I would like to know how to play an live audio stream from server in android app? I believe I will have to use Ice cast clie... | I have a live audio stream hosted on ice cast server. There is an API that returns the information about the audio played and also details of the actual audio being played (mp3 file). I would like to know how to play an live audio stream from server in android app? I believe I will have to use Ice cast client? Are ther... | android|audio|icecast|internet-radio | 1 | 2017-05-30T03:06:57.223Z | 2,017 | 5 | 3 | 1 | 1,291 | 1 | 434 | 42 | 4 | 0 | false | false | false | false | false | false | low |
43,947,193 | adb shell command to find the device RAM | <p>I am trying to find device RAM (512 MB or 1GB) using adb shell commands.</p>
<p>Following commands giving more details about the free,used & total memory. But how to find the device overall RAM?</p>
<pre><code>adb shell "cat /proc/meminfo"
adb shell dumpsys meminfo
adb shell procrank
</code></pre> | I am trying to find device RAM (512 MB or 1GB) using adb shell commands. Following commands giving more details about the free,used & total memory. But how to find the device overall RAM? [CODE] | android|performance|adb|android-memory | 1 | 2017-05-12T22:17:35.270Z | 2,017 | 5 | 22 | 4 | 10,763 | 1 | 194 | 40 | 4 | 1 | true | false | true | false | false | false | low |
44,000,373 | Increment list with Parse LiveQuery (Android)? | <p>I'm trying to display the number of new objects that appear in my database in real-time using this library: <a href="https://github.com/parse-community/ParseLiveQuery-Android" rel="nofollow noreferrer">https://github.com/parse-community/ParseLiveQuery-Android</a>.</p>
<p>I'm listening for new objects that appear in... | I'm trying to display the number of new objects that appear in my database in real-time using this library: https://github.com/parse-community/ParseLiveQuery-Android . I'm listening for new objects that appear in my Notifications class. How would I increment that value in my StringHolder below each time a new Notificat... | java|android|list|parse-platform|parse-server | 0 | 2017-05-16T11:34:54.117Z | 2,017 | 5 | 11 | 1 | 268 | 1 | 456 | 46 | 5 | 1 | true | false | false | false | false | false | zero |
44,330,906 | Using Microsoft Cognitive Services Emotion API for local video in Android | <p>I am building a application in android which would record the video, store it in local storage and send it for analysis to the Emotion API. However, I am unable to form the request body. I am using the following example:
<a href="https://westus.dev.cognitive.microsoft.com/docs/services/5639d931ca73072154c1ce89/oper... | I am building a application in android which would record the video, store it in local storage and send it for analysis to the Emotion API. However, I am unable to form the request body. I am using the following example: https://westus.dev.cognitive.microsoft.com/docs/services/5639d931ca73072154c1ce89/operations/56f8d4... | java|android|apache|microsoft-cognitive|emotion | 0 | 2017-06-02T14:06:06.433Z | 2,017 | 6 | 14 | 4 | 268 | 1 | 412 | 73 | 5 | 0 | false | false | false | false | false | false | zero |
44,031,764 | How to get current location using uber api & provide functionality for selecting pickup & drop off location? | <p>I am trying to integrate Uber API. How do I get the user's current location in order to set the default pickup location? Secondly, how do I add the functionality of selecting pick up & drop off location similar to Uber App? Any references which could help me in integrating the above-discussed functionality.</p> | I am trying to integrate Uber API. How do I get the user's current location in order to set the default pickup location? Secondly, how do I add the functionality of selecting pick up & drop off location similar to Uber App? Any references which could help me in integrating the above-discussed functionality. | android|google-maps|google-places-api|uber-api | 0 | 2017-05-17T17:52:33.250Z | 2,017 | 5 | 17 | 2 | 524 | 1 | 308 | 108 | 4 | 0 | false | false | false | false | false | false | zero |
44,298,557 | RxAndroidBle scanBleDevices(UUID...) not firing | <p>I am having trouble using the scanBleDevices method when passing it a (valid) UUID - the subscribe will never fire. Currently I have a working prototype using the usual android methods of scanning, connecting, read/write, but I want to update my syntax of RxAndroidBle to make things more safe and more easy to read.... | I am having trouble using the scanBleDevices method when passing it a (valid) UUID - the subscribe will never fire. Currently I have a working prototype using the usual android methods of scanning, connecting, read/write, but I want to update my syntax of RxAndroidBle to make things more safe and more easy to read. Her... | rx-android|rxandroidble | 2 | 2017-06-01T04:28:20.410Z | 2,017 | 6 | 4 | 3 | 524 | 1 | 1,267 | 47 | 2 | 0 | false | false | false | false | false | false | low |
44,264,982 | How to hand " An unhandled exception occured." visual studio Xamarin Android? | <p>Sometimes a visual studio will not catch all Android error.</p>
<p>so I use the logcat inside visual studio</p>
<p>but it's somehow limited? is there and alternative </p>
<p><a href="https://i.stack.imgur.com/r2750.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r2750.png" alt="logcat visual st... | Sometimes a visual studio will not catch all Android error. so I use the logcat inside visual studio but it's somehow limited? is there and alternative | visual-studio|exception|xamarin|xamarin.android | 0 | 2017-05-30T14:26:31.660Z | 2,017 | 5 | 14 | 1 | 780 | 1 | 151 | 77 | 4 | 0 | false | false | false | false | false | false | zero |
44,248,685 | Xamarin Android Right Navigation Drawer - only right | <p><a href="https://www.youtube.com/watch?v=itfCvwZqR9g" rel="nofollow noreferrer">This tutorial</a> focuses on how to implement a right navigation drawer in conjunction with a left navigation drawer using the action bar drawer toggle from support library v7.</p>
<p>I want only Right Navigation Drawer
how to?</p>
<... | This tutorial focuses on how to implement a right navigation drawer in conjunction with a left navigation drawer using the action bar drawer toggle from support library v7. I want only Right Navigation Drawer how to? Menu icon to right? not left | android|xamarin|xamarin.android|navigation-drawer | -1 | 2017-05-29T18:38:09.027Z | 2,017 | 5 | 18 | 0 | 1,036 | 1 | 245 | 52 | 4 | 0 | false | false | false | false | false | true | negative |
44,335,097 | Android Studio - "waiting for target device to come online" | <p>I am trying to run an application developed in Android Gingerbread (API 10) emulator in Android Studio 2.3.2.</p>
<p>When running, it shows the message,"waiting for target device to come online" and it stays on that even after the emulator has come online, and does not go beyond that point.
I tried to:
1. Update l... | I am trying to run an application developed in Android Gingerbread (API 10) emulator in Android Studio 2.3.2. When running, it shows the message,"waiting for target device to come online" and it stays on that even after the emulator has come online, and does not go beyond that point. I tried to: 1. Update libraries 2. ... | android|android-studio|android-emulator | 1 | 2017-06-02T18:12:21.960Z | 2,017 | 6 | 18 | 4 | 1,548 | 1 | 620 | 59 | 3 | 0 | false | false | false | false | false | false | low |
44,101,791 | Reading XML with jsoup | <p>I'm new to java, and certainly new to jsoup. In this preliminary step of my program, I'm trying to get a web based XML file into an object I can start using to output my content. (It is a huge XML file, and I want to eventually be able to add filters)</p>
<p>Here is some sample XML.</p>
<pre><code><spell>
... | I'm new to java, and certainly new to jsoup. In this preliminary step of my program, I'm trying to get a web based XML file into an object I can start using to output my content. (It is a huge XML file, and I want to eventually be able to add filters) Here is some sample XML. [CODE] Here is my code so far. [CODE] What ... | java|android|jsoup | 1 | 2017-05-21T21:06:31.020Z | 2,017 | 5 | 21 | 6 | 2,828 | 1 | 406 | 22 | 3 | 3 | true | false | true | false | false | false | low |
44,089,120 | How to access image view of an activity from fragment? | <p>I have an activity which has a toolbar, in that toolbar I have added one image view and have set the logo in it. </p>
<p>Also I have created different fragments, now when I see the fragment I want to hide that image view and set the title to the toolbar of an activity.</p>
<p>I have set the image view and toolbar ... | I have an activity which has a toolbar, in that toolbar I have added one image view and have set the logo in it. Also I have created different fragments, now when I see the fragment I want to hide that image view and set the title to the toolbar of an activity. I have set the image view and toolbar as public static in ... | java|android|android-fragments|android-imageview|android-toolbar | 1 | 2017-05-20T17:51:48.173Z | 2,017 | 5 | 17 | 5 | 3,084 | 1 | 556 | 54 | 5 | 2 | true | false | true | false | false | false | low |
43,969,091 | Queries regarding firebase realtime database | <p>I am using the firebase realtime database in my android app. I only want the last entry inserted into the database and not an entire database sync.I am doing the following. </p>
<pre><code>FirebaseDatabase.getInstance().getReference("reference").limitToLast(1).addValueEventListener(this);
</code></pre>
<p>Her... | I am using the firebase realtime database in my android app. I only want the last entry inserted into the database and not an entire database sync.I am doing the following. [CODE] Here's what I could not clearly understand : 1.When I do a limitToLast and add a listener, does it download the entire data from the databas... | android|firebase|firebase-realtime-database | 0 | 2017-05-14T21:45:37.530Z | 2,017 | 5 | 21 | 6 | 269 | 1 | 664 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
44,028,763 | Android gradle Error:(69, 0) Gradle DSL method not found: 'compile()' | <p>I'm having this very frustrating issue with my build.gradle file. It started when I decided to add new library to my project: "Deter-master" lib. </p>
<p>This is the error message: </p>
<blockquote>
<p>Gradle sync failed: Could not find method compile() for arguments
[com.android.support:appcompat-v7:25.0.0] o... | I'm having this very frustrating issue with my build.gradle file. It started when I decided to add new library to my project: "Deter-master" lib. This is the error message: Gradle sync failed: Could not find method compile() for arguments [com.android.support:appcompat-v7:25.0.0] on DefaultExternalModuleDependency{grou... | java|android|android-gradle-plugin|build.gradle | 0 | 2017-05-17T15:13:40.393Z | 2,017 | 5 | 15 | 2 | 269 | 1 | 635 | 69 | 4 | 3 | true | false | false | false | false | false | zero |
44,196,038 | How to press on first button, release on second button and get touch events of second button? | <p>I have 2 buttons. This is what I am doing:</p>
<ol>
<li>I press button 1</li>
<li>Then I move my finger to button 2</li>
<li>I release on button 2</li>
</ol>
<p><a href="https://i.stack.imgur.com/Wd6Na.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Wd6Na.png" alt="enter image description here">... | I have 2 buttons. This is what I am doing: I press button 1 Then I move my finger to button 2 I release on button 2 I set touch listeners for 2 buttons. It is logging touch events for both buttons: [CODE] This code logs following information: Button 1: DOWN Button 1: MOVE Button 1: MOVE ... Button 1: MOVE Button 1: MOV... | android|button|ontouchlistener | 1 | 2017-05-26T07:31:34.793Z | 2,017 | 5 | 7 | 4 | 269 | 1 | 491 | 93 | 3 | 1 | true | false | false | false | false | false | low |
44,190,175 | Problems setting up SQLDelight | <p>I'm trying to use SQLDelight in my project. Everything seems to be working alright in respect of code generation. Unfortunately I can't use the interfaces generated under <code>/build/generated/source/sqldelight/...</code> in my project. When I try to create a class implementing a generated model it gets underlined ... | I'm trying to use SQLDelight in my project. Everything seems to be working alright in respect of code generation. Unfortunately I can't use the interfaces generated under /build/generated/source/sqldelight/... in my project. When I try to create a class implementing a generated model it gets underlined with the error c... | android|sqldelight | 0 | 2017-05-25T21:33:11.670Z | 2,017 | 5 | 21 | 3 | 525 | 1 | 476 | 30 | 2 | 0 | false | false | false | false | false | false | zero |
44,369,098 | Access to network usage history and statistics before Marshmallow | <p>Using Neworkstats manager i am able to access to network usage history and statistics from marshmallow devices.If that app runs in below marshmallow unfortunately stopping with the below error.</p>
<p>Caused by: java.lang.ClassNotFoundException: Didn't find class "android.app.usage.NetworkStatsManager" on path</p>
... | Using Neworkstats manager i am able to access to network usage history and statistics from marshmallow devices.If that app runs in below marshmallow unfortunately stopping with the below error. Caused by: java.lang.ClassNotFoundException: Didn't find class "android.app.usage.NetworkStatsManager" on path My app shoul wo... | android|android-api-levels|networkstatsmanager | 0 | 2017-06-05T12:37:33.167Z | 2,017 | 6 | 12 | 0 | 525 | 1 | 428 | 65 | 3 | 0 | false | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.