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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
44,045,759 | How to add extra labels at specified points in LineChart? | <p>I would like to add some extra labels to a <code>LineChart</code> (<a href="https://github.com/PhilJay/MPAndroidChart" rel="nofollow noreferrer">MPAndroidChart</a>) like in the image below. Notice the "Advanced", "Novice" etc labels. </p>
<p><a href="https://i.stack.imgur.com/bZ0zC.png" rel="nofollow noreferrer"><i... | I would like to add some extra labels to a LineChart ( MPAndroidChart ) like in the image below. Notice the "Advanced", "Novice" etc labels. How could I add those to specified y-axis positions so they will always show up like y-axis labels but perhaps on the inside of the graph as shown - or on the right side if necess... | android|mpandroidchart | 1 | 2017-05-18T10:51:00.170Z | 2,017 | 5 | 10 | 3 | 814 | 1 | 472 | 57 | 2 | 1 | true | false | false | false | false | false | low |
44,073,064 | Load images from url stored in Firebase in android | <p>I have a firebase database in which multiple urls of images are stored.
I have another activity in which i have to display all the images in imageview.</p>
<pre><code>String temp = postSnapshot.getValue().toString();
Picasso.with(MainActivity.this).load(temp).fit().centerCrop().into(mImageView);
<... | I have a firebase database in which multiple urls of images are stored. I have another activity in which i have to display all the images in imageview. [CODE] In the above way i am fetching the data but only one image url is fetched and displayed in imageview.How to do this for all the images.Thanks | java|android|firebase-realtime-database|imageview | 1 | 2017-05-19T14:48:41.080Z | 2,017 | 5 | 14 | 4 | 814 | 1 | 300 | 50 | 4 | 1 | true | false | false | false | false | false | low |
44,079,817 | In Android, How do I create a ring with dynamically changing colors and a transparent center / outside? | <p>I am trying to copy this dynamic image:</p>
<p><a href="https://i.stack.imgur.com/DFGIc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DFGIc.png" alt="enter image description here"></a></p>
<p>The goal here is to alter the percentage of the circle with a certain color and the rest of a circle t... | I am trying to copy this dynamic image: The goal here is to alter the percentage of the circle with a certain color and the rest of a circle the other color depending on circumstances via java code in real-time. (IE, setting 50/50 would be half purple and half blue) The tricky part is that the circle itself has solid c... | android|android-layout|progress-bar|android-custom-view|android-progressbar | 0 | 2017-05-19T22:26:03.823Z | 2,017 | 5 | 22 | 4 | 814 | 1 | 1,467 | 103 | 5 | 1 | true | false | false | false | false | false | zero |
44,292,860 | Change polyline points | <p>I'm trying to change polyline after placing it on map, but it's point list appears to be unchangable. CRUD operations on points list of polyline not working.</p>
<pre><code>PolylineOptions polylineOptions = new PolylineOptions() //New PolylineOptions
.add(new LatLng(FromNode.Lat, FromNode.Lon)) //wi... | I'm trying to change polyline after placing it on map, but it's point list appears to be unchangable. CRUD operations on points list of polyline not working. [CODE] | java|android|google-maps | 1 | 2017-05-31T19:06:15.307Z | 2,017 | 5 | 19 | 2 | 814 | 1 | 164 | 22 | 3 | 1 | true | false | false | false | false | false | low |
44,039,969 | Does amazon SNS support window desktop notification? | <p>Does Amazon SNS support notifications for windows desktop?</p>
<p>I am quite new to push notification services. I want to enable push notifications in my project. I was searching for and I read that Amazon SNS can send push notifications to Windows Mobile and iOS mobiles. But I want to enable notification in my web... | Does Amazon SNS support notifications for windows desktop? I am quite new to push notification services. I want to enable push notifications in my project. I was searching for and I read that Amazon SNS can send push notifications to Windows Mobile and iOS mobiles. But I want to enable notification in my web app also. | android|amazon-web-services|push-notification|amazon-sns | 7 | 2017-05-18T06:17:06.757Z | 2,017 | 5 | 6 | 3 | 1,070 | 1 | 319 | 52 | 4 | 0 | false | false | false | false | false | false | medium |
44,283,613 | Display Application widget on Lock screen android | <p>I am stuck with one of my client requirement , it seems not be feasible to me as i am not able to find anything related to this particular requirement.I am goggling but does not came up with proper clue.I though studied the below mentioned link which states that it is not supportive . <strong>Here is the link</stron... | I am stuck with one of my client requirement , it seems not be feasible to me as i am not able to find anything related to this particular requirement.I am goggling but does not came up with proper clue.I though studied the below mentioned link which states that it is not supportive . Here is the link :- How to force a... | android|android-widget|lockscreen | 2 | 2017-05-31T11:31:42.270Z | 2,017 | 5 | 11 | 2 | 1,582 | 1 | 593 | 49 | 3 | 0 | false | false | false | false | false | false | low |
43,984,164 | How do I replicate a website's JSON Request in my Android App | <p>It is possible to replicate a JSON request from a website? For example, if I want to pull publicly available date from a website into my android application, can i use chrome's dev tools to lookup the way the website requests the data and replicate it?
Here is an example, I want to get an estimate of Moneygram trans... | It is possible to replicate a JSON request from a website? For example, if I want to pull publicly available date from a website into my android application, can i use chrome's dev tools to lookup the way the website requests the data and replicate it? Here is an example, I want to get an estimate of Moneygram transfer... | android|json|header|request|httpurlconnection | 0 | 2017-05-15T16:07:43.250Z | 2,017 | 5 | 16 | 0 | 47 | 1 | 558 | 61 | 5 | 0 | false | false | false | false | false | false | zero |
43,989,522 | How to get an contact Uri from mail | <p>Hi boys and girls (of course)</p>
<p>How do I get the Uri of from mail contact? And from there I get the rest of the information from this( I already have this implemented)
I saw an example in <a href="https://stackoverflow.com/questions/28272558/android-get-contact-photo-from-phone-number">Android - Get Contact Ph... | Hi boys and girls (of course) How do I get the Uri of from mail contact? And from there I get the rest of the information from this( I already have this implemented) I saw an example in Android - Get Contact Photo from phone number to do it with the number and get the photo, but I do not know what to do to do it from t... | android | 0 | 2017-05-15T22:06:35.833Z | 2,017 | 5 | 22 | 0 | 47 | 1 | 335 | 35 | 1 | 0 | false | false | false | false | false | false | zero |
44,083,068 | All steps to add "Change language" to Android Preferences | <p>I've seen many post, but they just mention the part <a href="https://stackoverflow.com/questions/31183732/changing-language-in-run-time-with-preferences-android">how to change the language</a> from the activities, but not where they have located the language in their android project. Also in the <a href="https://dev... | I've seen many post, but they just mention the part how to change the language from the activities, but not where they have located the language in their android project. Also in the official Android developer guide it it said to create a new directory, e.i. "values-es", but I just want to change the language (string.x... | java|android|xml|android-preferences | 0 | 2017-05-20T07:19:33.393Z | 2,017 | 5 | 7 | 5 | 47 | 1 | 755 | 57 | 4 | 0 | false | false | false | false | false | false | zero |
44,097,589 | Android app - Information screen | <p>I'm developing an android app that is going to be used on a information screen. This app contains 5 (weather, next run, opening hours, etc...) activities, the plan is to loop through these activities with a timeinterval. So it starts with first activity, sleeps for like 5 seconds and then jump to next activity, and ... | I'm developing an android app that is going to be used on a information screen. This app contains 5 (weather, next run, opening hours, etc...) activities, the plan is to loop through these activities with a timeinterval. So it starts with first activity, sleeps for like 5 seconds and then jump to next activity, and whe... | android|android-activity | -1 | 2017-05-21T13:41:48.740Z | 2,017 | 5 | 13 | 6 | 47 | 1 | 754 | 32 | 2 | 0 | false | false | false | false | false | true | negative |
44,147,948 | How to send data use broadcastreceiver? | <p>I can get notification when BLE send me </p>
<p>The time is 50ms</p>
<p>I want to send data to BLE when I get broadcastreceiver</p>
<p>It can send a period of time(have callback)</p>
<p>But after a period of Time</p>
<p>Example 1 minutes </p>
<p>It can't send(can't get callback)</p>
<p>Why?</p>
<p>How can I... | I can get notification when BLE send me The time is 50ms I want to send data to BLE when I get broadcastreceiver It can send a period of time(have callback) But after a period of Time Example 1 minutes It can't send(can't get callback) Why? How can I do? No one have the same problem? | android|bluetooth-lowenergy | 0 | 2017-05-24T02:28:09.510Z | 2,017 | 5 | 2 | 2 | 47 | 1 | 284 | 39 | 2 | 0 | false | false | false | false | false | false | zero |
44,192,449 | How to set onClick event per each divisions in map? | <p>Let say I have this kind of image in my android imageView. Now each state consists of it's own region. </p>
<p>How to set <code>onClick</code> event based on each state in map? Example for my expected output would be if I click region <code>Alor Setar</code> then <code>Log.i("map","Alor Setar")</code> Is it any be... | Let say I have this kind of image in my android imageView. Now each state consists of it's own region. How to set onClick event based on each state in map? Example for my expected output would be if I click region Alor Setar then Log.i("map","Alor Setar") Is it any better ideas for this requirement? Help me, thanks! I ... | android | 0 | 2017-05-26T02:00:26.033Z | 2,017 | 5 | 2 | 4 | 47 | 1 | 361 | 51 | 1 | 2 | true | false | false | false | false | false | zero |
44,354,002 | How to create a PopUpWindow in android which can be closed anywhere on the display? | <p>how can I create a popupwindow, which only opens then I press a button, but closes when I tap anywhere on the screen?</p>
<p>In this PopUpWindow should only be text information.</p>
<p>Thank you</p> | how can I create a popupwindow, which only opens then I press a button, but closes when I tap anywhere on the screen? In this PopUpWindow should only be text information. Thank you | android|popup|popupwindow | 0 | 2017-06-04T12:17:23.290Z | 2,017 | 6 | 12 | 6 | 47 | 1 | 180 | 83 | 3 | 0 | false | false | false | false | false | false | zero |
43,954,918 | Android camera.open(0) returns null on galaxy s7 | <p>I'm trying to open my camera on samsung galaxy s7, but it always returns null.
I have my permissions in the manifest.xml:</p>
<pre><code><uses-permission android:name="android.permission.CAMERA">
</uses-permission>
<uses-feature android:name="android.hardware.camera" android:required="true" />
<... | I'm trying to open my camera on samsung galaxy s7, but it always returns null. I have my permissions in the manifest.xml: [CODE] Here is where i want to open it: [CODE] Why I always get null on Camera.open()? The cameraId is 0. | android | 0 | 2017-05-13T15:36:03.553Z | 2,017 | 5 | 15 | 5 | 559 | 1 | 227 | 48 | 1 | 2 | true | false | false | false | false | false | zero |
44,266,460 | ACTION_HOVER_ENTER event repeats previous coordinates | <p>I have a custom view that overrides dispatchHoverEvent() so it can implement some support for talkBack features, it has the following code for testing:</p>
<pre><code>int action = event.getActionMasked();
switch (action) {
case MotionEvent.ACTION_HOVER_ENTER: {
Log.d("dispatchHoverEvent", "A... | I have a custom view that overrides dispatchHoverEvent() so it can implement some support for talkBack features, it has the following code for testing: [CODE] The output for this after two gestures is (removed some ACTION_HOVER_MOVE log outputs): [CODE] The problem is the ACTION_HOVER_ENTER events, specifically the fol... | android|hover|accessibility|motionevent | 0 | 2017-05-30T15:36:41.483Z | 2,017 | 5 | 15 | 1 | 559 | 1 | 988 | 53 | 4 | 3 | true | false | false | false | false | false | zero |
44,155,935 | Android Studio Error (Instant run related) | <p>I get this error message after I moved my project folder to another location on my pc and tried to run my app.</p>
<p><a href="https://i.stack.imgur.com/Wi7q2.png" rel="nofollow noreferrer">Error Message</a></p>
<pre><code>Installation failed with message Invalid File:
C:\Users\Zhong\AndroidStudioProjects\HappyBir... | I get this error message after I moved my project folder to another location on my pc and tried to run my app. Error Message [CODE] But actually my project folder is currently under D:\\ Everything works fine with instant run disabled, but if I enable instant run and click the run button, this error message will appear... | android|android-studio | -2 | 2017-05-24T10:37:10.693Z | 2,017 | 5 | 10 | 2 | 815 | 1 | 541 | 42 | 2 | 1 | true | false | false | false | false | true | negative |
44,192,201 | Subclass of AsyncTask in Kotlin - unable to use primary constructor parameter within onPostExecute | <p>I have a subclass of <code>AsyncTask</code> implemented in Kotlin:</p>
<pre><code>class SignUpTask(responseHandler: SignUpTaskResponseHandler): AsyncTask<Agent, Void, Boolean>() {
override fun doInBackground(vararg params: Agent?): Boolean {
// Some awesome code
return true
}
overr... | I have a subclass of AsyncTask implemented in Kotlin: [CODE] Problem is - I am getting below error at this line responseHandler.agentCreationSucceeded() : Unresolved reference: responseHandler I can make it work by explicitly declaring a property and assigning it the parameter passed in constructor: [CODE] Any ideas on... | android|android-asynctask|kotlin|android-studio-3.0 | 0 | 2017-05-26T01:28:40.500Z | 2,017 | 5 | 1 | 4 | 2,095 | 1 | 374 | 98 | 4 | 2 | true | false | false | false | false | false | zero |
44,034,398 | Android Studio - Order an Array of 2 dimensions by 3 different Columns | <p>I'm facing problems about how to order a 2 dimensions array by several columns.
Maybe I shouldn't use arrays. I would like to know your opinion and if there is an elegant way to do it.</p>
<p>I have the file "Example.txt" with the following rows:</p>
<p>1|A|C|Something</p>
<p>2|A|V|Something </p>
<p>2|B|C|Someth... | I'm facing problems about how to order a 2 dimensions array by several columns. Maybe I shouldn't use arrays. I would like to know your opinion and if there is an elegant way to do it. I have the file "Example.txt" with the following rows: 1|A|C|Something 2|A|V|Something 2|B|C|Something 3|B|C|Something 3|A|C|Something ... | java|android|arrays|sorting | -2 | 2017-05-17T20:39:44.043Z | 2,017 | 5 | 20 | 2 | 48 | 1 | 1,096 | 70 | 4 | 1 | true | false | false | false | false | true | negative |
44,040,650 | How should I put the BroadcastReceiver class code in a Service class so that I can register and unregister it inside the service class? | <p>I am making a <strong>Countdown Timer Android app</strong> in which I am starting a <strong>service</strong> named TimerService to keep the timer running even if the app is sent to background. I want to <strong>set an alarm</strong> of the timer duration within the service when the timer is started. And when the ala... | I am making a Countdown Timer Android app in which I am starting a service named TimerService to keep the timer running even if the app is sent to background. I want to set an alarm of the timer duration within the service when the timer is started. And when the alarm is triggered, I want to notify the user with a Noti... | java|android|android-service|alarmmanager | 0 | 2017-05-18T06:55:45.457Z | 2,017 | 5 | 6 | 3 | 48 | 1 | 1,208 | 135 | 4 | 3 | true | false | false | false | false | false | zero |
44,048,324 | Customize textview in android | <p>I want to customize my <code>textview</code> as per my requirement. I have to add <code>padding</code> or <code>margin</code> dynamically when <code>text</code> is too long and it should look like my <code>screenshot</code> which I have attached here. Can anyone help me how can I implement it and below is my <code>... | I want to customize my textview as per my requirement. I have to add padding or margin dynamically when text is too long and it should look like my screenshot which I have attached here. Can anyone help me how can I implement it and below is my screenshot . | android|textview | -1 | 2017-05-18T12:52:37.273Z | 2,017 | 5 | 12 | 3 | 48 | 1 | 257 | 29 | 2 | 0 | false | false | false | false | false | true | negative |
44,082,641 | how to send automatic email from android app through cpanel mail server | <blockquote>
<p>I want to send my customers password with email to them?
My server is linux server(Cpanel).
I know how to make relation between android and my sql(php).
but i dont know how to make mail server and connect php web service to it?</p>
</blockquote> | I want to send my customers password with email to them? My server is linux server(Cpanel). I know how to make relation between android and my sql(php). but i dont know how to make mail server and connect php web service to it? | android|email|server | 0 | 2017-05-20T06:24:20.303Z | 2,017 | 5 | 6 | 5 | 48 | 1 | 227 | 71 | 3 | 0 | false | false | false | false | false | false | zero |
44,219,655 | xamarin android project properties | <p>I want to make an application in xamarin for android 5.1.1 version.</p>
<p>But i dont know how to change target framework version. I do not have options that i can see in tutorials:</p>
<p>This is my view:
<a href="https://i.stack.imgur.com/kapxC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k... | I want to make an application in xamarin for android 5.1.1 version. But i dont know how to change target framework version. I do not have options that i can see in tutorials: This is my view: And i have only Android 6.0 option. And i do not even have an options: - minimum android to target - target android version What... | xamarin.android | 0 | 2017-05-27T17:16:36.957Z | 2,017 | 5 | 17 | 5 | 48 | 1 | 353 | 34 | 1 | 0 | false | false | false | false | false | false | zero |
44,224,178 | Android service works only when USB plugged , error occurs after USB disconnected | <p>I am writing a <strong>Android service</strong> that pulls <strong>network data from Instagram</strong> every ten seconds,
and then send a <strong>notification</strong> if there is anything new.</p>
<p>It works very well when <strong>USB debugging</strong> is on, (Can see something on Logcat)
but an error will occu... | I am writing a Android service that pulls network data from Instagram every ten seconds, and then send a notification if there is anything new. It works very well when USB debugging is on, (Can see something on Logcat) but an error will occur after I disconnect the USB ! I have no idea to debug or check the log what is... | android|android-service|instagram-api|android-debug | 0 | 2017-05-28T05:39:10.240Z | 2,017 | 5 | 5 | 6 | 48 | 1 | 609 | 81 | 4 | 2 | true | false | false | false | false | false | zero |
44,361,407 | How to use two google api keys simultaneously? | <p>I wanna use google map and google place
So, I have got map api and place api.</p>
<p>But the tutorial teaches me one api usage.</p>
<p>for example
example-project of google map is</p>
<pre><code><meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_maps_key" />
</code>... | I wanna use google map and google place So, I have got map api and place api. But the tutorial teaches me one api usage. for example example-project of google map is [CODE] example-pro ject of google place is [CODE] How can I use this two apis simultaneously?? | android|google-api | -1 | 2017-06-05T03:48:53.333Z | 2,017 | 6 | 3 | 0 | 48 | 1 | 260 | 46 | 2 | 2 | true | false | false | false | false | true | negative |
44,361,847 | View property information by hovering over it in Layout Editor? | <p>So there used to be a way to view information about a specific property of a view/layout in the layout editor by hovering over it however it stopped working when I updated Android Studio. Is there any way to bring it back? Here's a picture so you can better understand what I'm referring to.</p>
<p><a href="https://... | So there used to be a way to view information about a specific property of a view/layout in the layout editor by hovering over it however it stopped working when I updated Android Studio. Is there any way to bring it back? Here's a picture so you can better understand what I'm referring to. | java|android|android-layout|android-studio|android-view | 0 | 2017-06-05T04:49:57.310Z | 2,017 | 6 | 4 | 0 | 48 | 1 | 291 | 63 | 5 | 0 | false | false | false | false | false | false | zero |
44,036,836 | How to set build variant config fields and resource values in Android Studio 3.0? | <p>Android Studio 3.0 and the associated gradle plugin update have removed the gradle build variant API. Does anyone know how to achieve functionality similar to what i've written below with AS 3.0 and gradle 4.0?</p>
<pre><code>applicationVariants.all { variant ->
variant.buildConfigField "String", "SEARCH_SUGG... | Android Studio 3.0 and the associated gradle plugin update have removed the gradle build variant API. Does anyone know how to achieve functionality similar to what i've written below with AS 3.0 and gradle 4.0? [CODE] | android|android-studio|android-gradle-plugin | 2 | 2017-05-18T00:40:47.773Z | 2,017 | 5 | 0 | 3 | 304 | 1 | 217 | 81 | 3 | 1 | true | false | false | false | false | false | low |
44,056,963 | Android Studio 2.3 Instant Run Not Working & Won't Fix in 2.3 | <p>When using:</p>
<ul>
<li>Using Android Studio 2.3.x</li>
<li>Debug (not Run) </li>
</ul>
<p>Apply changes / Instant Run <strong><em>always restarts app</em></strong>.</p>
<p><a href="https://i.stack.imgur.com/Qvtf0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qvtf0.png" alt="Apply Changes Bu... | When using: Using Android Studio 2.3.x Debug (not Run) Apply changes / Instant Run always restarts app . What am I doing wrong? | android|android-studio|android-instant-run | 0 | 2017-05-18T20:10:54.480Z | 2,017 | 5 | 20 | 3 | 304 | 1 | 127 | 61 | 3 | 0 | false | false | false | false | false | false | zero |
43,967,451 | When and why deliverResult is called in AsyncTaskLoader? | <p>I want to establish a good understanding of the AsyncTaskLoader lifecycle. I checked several resources, everything is clear but the usage of deliverResult. According to this picture from the internet (<a href="https://www.google.com.sa/search?q=loader%20lifecycle%20android&safe=strict&tbm=isch&tbo=u&... | I want to establish a good understanding of the AsyncTaskLoader lifecycle. I checked several resources, everything is clear but the usage of deliverResult. According to this picture from the internet ( available here ): onStartLoading will be called, then if there is data already loaded, deliverResult is called, then i... | android|callback|loader|asynctaskloader | 0 | 2017-05-14T18:28:39.177Z | 2,017 | 5 | 18 | 6 | 816 | 1 | 1,721 | 56 | 4 | 2 | true | false | false | false | false | false | zero |
44,122,996 | using circular seekbar in android studio | <p>I tried to use circular seekbar in android studio and I found <a href="https://github.com/neild001/SeekArc" rel="nofollow noreferrer">this</a></p>
<p>and I execute every thing he said
the gradle is:</p>
<pre><code>buildscript {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependenc... | I tried to use circular seekbar in android studio and I found this and I execute every thing he said the gradle is: [CODE] and the build.gradle(Module app) is : [CODE] the problem is it gives me error: [CODE] I wish someone helps me to find the error because I am new in this field | android|seekbar | 1 | 2017-05-22T22:22:13.940Z | 2,017 | 5 | 22 | 0 | 816 | 1 | 281 | 40 | 2 | 3 | true | false | false | false | false | false | low |
44,098,715 | Add application to protected apps in huawei (check autorun) | <p>I've done a lot of research about Protected Apps on Huawei phones. On phones like Huawei P8 when using background services or BroadcastReceivers the app should be added to Protected Apps list, otherwise, services or broadcast receivers get shut down in certain conditions:</p>
<ul>
<li>the app is closed from recents... | I've done a lot of research about Protected Apps on Huawei phones. On phones like Huawei P8 when using background services or BroadcastReceivers the app should be added to Protected Apps list, otherwise, services or broadcast receivers get shut down in certain conditions: the app is closed from recents the phone is loc... | java|android|huawei-mobile-services | 2 | 2017-05-21T15:41:31.380Z | 2,017 | 5 | 15 | 6 | 2,608 | 1 | 596 | 59 | 3 | 0 | false | false | true | false | false | false | low |
44,188,683 | How to (sort of) control android device from webapp? | <p>I need to be able to control Android phone through my webapp. I need to know which permissions do I need to take from user from his/her google account. For example I need another user to be able to send an address to this user and this should open his Google Map with that address shown. Or send a message and it shou... | I need to be able to control Android phone through my webapp. I need to know which permissions do I need to take from user from his/her google account. For example I need another user to be able to send an address to this user and this should open his Google Map with that address shown. Or send a message and it should ... | android|django|google-maps|google-maps-api-3 | -1 | 2017-05-25T19:46:09.363Z | 2,017 | 5 | 19 | 3 | 49 | 1 | 445 | 52 | 4 | 0 | false | false | false | false | false | true | negative |
44,202,758 | User location coordinates being null when passed into url | <p>I'm building a simple five-day weather forecast Android app using the open weather map API. I am trying to insert the user coordinates into my request URL using the Google Play Services but values for latitude and longitude are null when I am passing them into the URL. I am just wondering if there is any way to solv... | I'm building a simple five-day weather forecast Android app using the open weather map API. I am trying to insert the user coordinates into my request URL using the Google Play Services but values for latitude and longitude are null when I am passing them into the URL. I am just wondering if there is any way to solve t... | java|android|mobile | 0 | 2017-05-26T13:23:35.990Z | 2,017 | 5 | 13 | 4 | 49 | 1 | 698 | 57 | 3 | 1 | true | false | false | false | false | false | zero |
44,225,645 | Automatically translated resources in Android | <p>Does anyone know if there are string resources that are automatically translated to the user's language? </p>
<p>I observed the Google "Sign in" button text has this characteristic of adapting to the user's language</p>
<p><a href="https://i.stack.imgur.com/lKxSH.jpg" rel="nofollow noreferrer"><img src="https://i.... | Does anyone know if there are string resources that are automatically translated to the user's language? I observed the Google "Sign in" button text has this characteristic of adapting to the user's language xml: com.google.android.gms.common.SignInButton/> Any other resources with this behaviour there? I would need fo... | android|string | 0 | 2017-05-28T09:17:44.747Z | 2,017 | 5 | 9 | 6 | 49 | 1 | 548 | 45 | 2 | 0 | false | false | false | false | false | false | zero |
44,278,597 | Does iOS have the similar function as getScaledMaximumFlingVelocity in Android? | <p>I want to know the max velocity in pan gesture, and I find that there is a function named <code>getScaledMaximumFlingVelocity</code>in Android, does iOS have the similar function to get the max velocity of gesture movement?</p> | I want to know the max velocity in pan gesture, and I find that there is a function named getScaledMaximumFlingVelocity in Android, does iOS have the similar function to get the max velocity of gesture movement? | android|ios|uipangesturerecognizer | 0 | 2017-05-31T07:41:22.797Z | 2,017 | 5 | 7 | 2 | 49 | 1 | 211 | 79 | 3 | 0 | false | false | false | false | false | false | zero |
44,306,328 | Android, List of items not showing correctly | <p>Got a list (recyclerview) that should show an image for certain types of Class X, everything is working perfectly, the thing is that after I start another activity and finish to go back to it, all of the images are removed, except for the ones that don't have a type 1 after them, so it seems there is a reason that c... | Got a list (recyclerview) that should show an image for certain types of Class X, everything is working perfectly, the thing is that after I start another activity and finish to go back to it, all of the images are removed, except for the ones that don't have a type 1 after them, so it seems there is a reason that caus... | java|android|android-recyclerview | 0 | 2017-06-01T11:31:01.597Z | 2,017 | 6 | 11 | 3 | 49 | 1 | 394 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
44,370,638 | Couldnt find solution for - Error:Execution failed for task | <p>I have tried everything what i found while googling but still have a mistake.</p>
<p>Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.</p>
<blockquote>
<p>com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/... | I have tried everything what i found while googling but still have a mistake. Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/zzbut.class My gradle [CODE] | java|android | 0 | 2017-06-05T13:56:02.683Z | 2,017 | 6 | 13 | 0 | 49 | 1 | 314 | 59 | 2 | 1 | true | false | false | false | false | false | zero |
44,013,956 | How to use an aar including other aar in Xamarin.Android | <p>I'm developing an APP using Xamarin, which needs to use other aar developed by Android Studio (AS).</p>
<p>In AS, I created a Java Library module named like "javaLib". After built, I got javaLib-debug.aar. Then I created a Bindings Library (Android) project and added this aar. After built, I got AarBinding.dll.</p>... | I'm developing an APP using Xamarin, which needs to use other aar developed by Android Studio (AS). In AS, I created a Java Library module named like "javaLib". After built, I got javaLib-debug.aar. Then I created a Bindings Library (Android) project and added this aar. After built, I got AarBinding.dll. In Xamarin.And... | android|azure|xamarin|binding|aar | 1 | 2017-05-17T01:16:26.903Z | 2,017 | 5 | 1 | 2 | 305 | 1 | 985 | 56 | 5 | 0 | false | false | false | false | false | false | low |
44,344,074 | Android Material Stepper - How to create ListView in Fragment? | <p>I am new to android Programming as well as Java, and right now I am making an app that requires a wizard. So, I am using a stepper library called Android Material Stepper by Stepstone.
In this wizard I have 3 step. the first step (First Fragment) contains an editText where the user fill in some text with certain pat... | I am new to android Programming as well as Java, and right now I am making an app that requires a wizard. So, I am using a stepper library called Android Material Stepper by Stepstone. In this wizard I have 3 step. the first step (First Fragment) contains an editText where the user fill in some text with certain patter... | android|listview|android-fragments | 0 | 2017-06-03T12:43:55.157Z | 2,017 | 6 | 12 | 5 | 561 | 1 | 1,057 | 62 | 3 | 1 | true | false | false | false | false | false | zero |
43,930,000 | How to get Height of ImageView when it is set to wrap_content | <p>So deal is i am setting image dynamically to imageview and i have set imageview height as wrapcontent, so how can i get height of imageview layout after setting image from server i tried this code but its giving height of drawable, </p>
<pre><code>imageView.getDrawable().getIntrinsicHeight();
</code></pre>
<p>and ... | So deal is i am setting image dynamically to imageview and i have set imageview height as wrapcontent, so how can i get height of imageview layout after setting image from server i tried this code but its giving height of drawable, [CODE] and i also tried with this but was getting height as zero. [CODE] actually there ... | android|android-layout|imageview|android-imageview | -1 | 2017-05-12T05:35:09.497Z | 2,017 | 5 | 5 | 4 | 817 | 1 | 517 | 61 | 4 | 2 | true | false | false | false | false | true | negative |
44,186,024 | How to pass Latitude and Longtitude from (FCM) push notification to an Android activity | <p>**All i want to do is to pass latitude and longtitude as notification and by clicking it, to open Android Google Maps on that location. I have read many posts but i couldn't figure it out, if i have to pass the coordinates as URL or something and be passed to my application Activity **</p>
<p>To open the activity ... | **All i want to do is to pass latitude and longtitude as notification and by clicking it, to open Android Google Maps on that location. I have read many posts but i couldn't figure it out, if i have to pass the coordinates as URL or something and be passed to my application Activity ** To open the activity (SomeActivit... | android|google-maps|firebase|android-intent|firebase-cloud-messaging | 0 | 2017-05-25T17:03:36.843Z | 2,017 | 5 | 17 | 3 | 817 | 1 | 500 | 87 | 5 | 2 | true | false | false | false | false | false | zero |
44,266,737 | i.MX7D board detected as Android ADB Interface but adb devices does not show the device | <p>I recently got an Android Thing kit with NXP i.MX7D board. I tried to follow the instruction to flash the board with Android and found a glitch which I have not found a solution yet.</p>
<p>I'm running Windows 10 PC and when I plugged the board <a href="https://i.stack.imgur.com/008TY.png" rel="nofollow noreferrer"... | I recently got an Android Thing kit with NXP i.MX7D board. I tried to follow the instruction to flash the board with Android and found a glitch which I have not found a solution yet. I'm running Windows 10 PC and when I plugged the board Devices Manager detected the device as Android ADB Interface. But when I tried to ... | android|android-things | 0 | 2017-05-30T15:50:30.673Z | 2,017 | 5 | 15 | 1 | 817 | 1 | 710 | 87 | 2 | 0 | false | false | false | false | false | false | zero |
44,268,609 | How to get LatLngBounds of visible region in titled map in andorid | <p>I tried the following code.</p>
<pre><code> LatLngBounds b = googleMap.getProjection()
.getVisibleRegion().latLngBounds;
LatLng bNE = b.northeast;
LatLng bSW = b.southwest;
</code></pre>
<p>It's not giving correct bounding coordinates if tilt is set to the map</p> | I tried the following code. [CODE] It's not giving correct bounding coordinates if tilt is set to the map | android|google-maps|android-mapview|android-maps-v2|android-maps-utils | 1 | 2017-05-30T17:40:54.297Z | 2,017 | 5 | 17 | 1 | 1,329 | 1 | 105 | 66 | 5 | 1 | true | false | false | false | false | false | low |
44,211,709 | Glide change the cache key of dynamic url | <p>I am trying to use Glide to load an image from the server. But the problem is dynamic URL and every time I open the page, it load the same image from server</p>
<p>this is my code</p>
<pre><code>@android.databinding.BindingAdapter("imageurl")
public static void loadImageFromUrl(ImageView imageView, String url) {
... | I am trying to use Glide to load an image from the server. But the problem is dynamic URL and every time I open the page, it load the same image from server this is my code [CODE] | android|picasso|android-glide | 0 | 2017-05-27T00:24:13.863Z | 2,017 | 5 | 0 | 5 | 1,585 | 1 | 179 | 41 | 3 | 1 | true | false | false | false | false | false | zero |
44,171,879 | Xamarin forms Master detail Icon | <p>I am trying to add an image next to the hamburger menu in my app. I am using a master detail page and it renders fine in ios and android. I tried using setting the icons for the detail pages. but the icons never showed. How do I achive this. I am looking to add an image similar to the amazon app. </p>
<p><a href="h... | I am trying to add an image next to the hamburger menu in my app. I am using a master detail page and it renders fine in ios and android. I tried using setting the icons for the detail pages. but the icons never showed. How do I achive this. I am looking to add an image similar to the amazon app. | ios|xamarin|xamarin.ios|xamarin.android|xamarin.forms | 0 | 2017-05-25T03:38:12.043Z | 2,017 | 5 | 3 | 3 | 1,841 | 1 | 297 | 32 | 5 | 0 | false | false | false | false | false | false | zero |
44,016,797 | I'm trying to display an image and a message from phpmyadmin database | <p>This is the code to display the image and a message.
It displays the image in binary and does not display the message.
Also im not able to store the image sent from my android app to the database.</p>
<pre><code> <?php
error_reporting(E_ALL);
ini_set("display errors",1);
$servername = "localhost";... | This is the code to display the image and a message. It displays the image in binary and does not display the message. Also im not able to store the image sent from my android app to the database. [CODE] This is the code to receive the code from the android app and store in the database. [CODE] | php|android|phpmyadmin | 1 | 2017-05-17T06:05:15.403Z | 2,017 | 5 | 6 | 2 | 50 | 1 | 295 | 69 | 3 | 2 | true | false | false | false | false | false | low |
44,025,851 | can't save rss feed to database and display it on a listview | <p>I want to save rss feed (json request) to a new sqllite database and then display it in a list view. Will be greatfull for any help. Have a log </p>
<p>05-17 15:30:19.971 16775-16775/com.example.buh.rssfeed E/AndroidRuntime: FATAL EXCEPTION: main ... | I want to save rss feed (json request) to a new sqllite database and then display it in a list view. Will be greatfull for any help. Have a log 05-17 15:30:19.971 16775-16775/com.example.buh.rssfeed E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.buh.rssfeed, PID: 16775 java.lang.RuntimeException: Unable t... | android | 0 | 2017-05-17T13:09:03.577Z | 2,017 | 5 | 13 | 2 | 50 | 1 | 2,873 | 60 | 1 | 4 | true | false | false | false | false | false | zero |
44,041,640 | in option menu can't show android option.(Show red mark) | <p><a href="https://i.stack.imgur.com/3Qyj8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Qyj8.png" alt="enter image description here"></a></p>
<p>in option menu can't show android option.(Show red mark)</p> | in option menu can't show android option.(Show red mark) | android|android-menu | -1 | 2017-05-18T07:46:30.617Z | 2,017 | 5 | 7 | 3 | 50 | 1 | 56 | 56 | 2 | 0 | false | false | false | false | false | true | negative |
44,080,747 | Determining if FireBase ChildEventListener made all its work before proceeding Android | <p>I wrote a class which receives data from Firebase and puts it into sharedPreferences. But sometimes it is null and sometimes I get the correct data. My code is in below.</p>
<pre><code>private void userLogin() {
progressDialog.setMessage("Please wait");
progressDialog.show();
fir... | I wrote a class which receives data from Firebase and puts it into sharedPreferences. But sometimes it is null and sometimes I get the correct data. My code is in below. [CODE] So I search in FirebaseDB to find an element with the email I want and get its username. Then I try to put this username to SharedPreferences b... | android|asynchronous|firebase|firebase-realtime-database | 0 | 2017-05-20T00:39:02.243Z | 2,017 | 5 | 0 | 5 | 50 | 1 | 373 | 86 | 4 | 1 | true | false | false | false | false | false | zero |
44,268,848 | Hi I am trying to create a e commerce app UI design like the image below | <p><a href="https://i.stack.imgur.com/Uvvfp.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>I have a activity and i have to display multiple fragments cards as shown in the below image.How do i organize layouts.
Please help me how to achieve the below design.</p> | enter image description here I have a activity and i have to display multiple fragments cards as shown in the below image.How do i organize layouts. Please help me how to achieve the below design. | android|e-commerce|cardview | -2 | 2017-05-30T17:56:16.267Z | 2,017 | 5 | 17 | 1 | 50 | 1 | 196 | 72 | 3 | 0 | false | false | false | false | false | true | negative |
44,271,711 | Sending Buttons to the back of Layout | <p>I am trying to add List Session header and add hidden buttons at the back.</p>
<p>Kindly help me to send Del Button and Edit Button to back of session header. It will be viewed after a swipe.</p>
<p>I also tried bringToFront and sendToBack on buttons which dint work.</p>
<p>To Set Z Order, I need to set Project m... | I am trying to add List Session header and add hidden buttons at the back. Kindly help me to send Del Button and Edit Button to back of session header. It will be viewed after a swipe. I also tried bringToFront and sendToBack on buttons which dint work. To Set Z Order, I need to set Project min SDK to 21 which I dont w... | java|android|layout|android-relativelayout|programmatically | 0 | 2017-05-30T20:51:51.607Z | 2,017 | 5 | 20 | 1 | 50 | 1 | 365 | 37 | 5 | 1 | true | false | false | false | false | false | zero |
44,360,651 | How to allow clicking a button "n" times and then disappear for a month | <p>Implement a simple button, which changes information but I need that information only change 3 times, I need to disappear that button
When Exceed of the three clicks but I do not know how to do it and how to disappear it for 3 months</p> | Implement a simple button, which changes information but I need that information only change 3 times, I need to disappear that button When Exceed of the three clicks but I do not know how to do it and how to disappear it for 3 months | android|date|button|time | 0 | 2017-06-05T01:47:41.827Z | 2,017 | 6 | 1 | 0 | 50 | 1 | 233 | 71 | 4 | 0 | false | false | false | false | false | false | zero |
44,155,360 | KSOAP2 is adding id property to SOAP request | <p>I'm using this code to consume a SOAP web service from my Android app:</p>
<pre><code>SoapObject request = new SoapObject(NAMESPACE, METHOD);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.dotNet = false;
envelope.setOutputSoapObject(request);
HttpTr... | I'm using this code to consume a SOAP web service from my Android app: [CODE] but at the server side i'm getting an error like this: Attribute 'id' is not allowed to appear in element 'n1:listAssignments' ...this is the XML request generated [CODE] As you can see, the generated XML request contains an "id" and "c:root"... | android|soap|ksoap2 | 0 | 2017-05-24T10:11:35.473Z | 2,017 | 5 | 10 | 2 | 306 | 1 | 392 | 44 | 3 | 2 | true | false | false | false | false | false | zero |
44,224,400 | How to deploy Servlet project to some online server hosting | <p>I have zero experience on deploying my Servlet project to some real server. What I did were usually start the server locally and ping the IP to my Android device.</p>
<p>This only works locally. Let's say if I never start the server, the app won't works. I am starting to think about how to actually deploy the Servl... | I have zero experience on deploying my Servlet project to some real server. What I did were usually start the server locally and ping the IP to my Android device. This only works locally. Let's say if I never start the server, the app won't works. I am starting to think about how to actually deploy the Servlet project ... | java|android|mysql|tomcat|servlets | 0 | 2017-05-28T06:18:23.450Z | 2,017 | 5 | 6 | 6 | 306 | 1 | 889 | 59 | 5 | 0 | false | false | false | false | false | false | zero |
44,284,914 | No broadcast completed INSTALL_REFERRER | <p>I'm trying to have install referrer on my android app, but failed for something.</p>
<p>I need to receive variables when someone download/install my app form appstore. So I install a cordova plugin, android-referrer-plugin, into my app. And then try it:</p>
<p><code>adb shell</code></p>
<p>and then </p>
<pre><co... | I'm trying to have install referrer on my android app, but failed for something. I need to receive variables when someone download/install my app form appstore. So I install a cordova plugin, android-referrer-plugin, into my app. And then try it: adb shell and then [CODE] And then I've got a response like this: [CODE] ... | android|cordova|cordova-plugins|install-referrer | 0 | 2017-05-31T12:32:12.663Z | 2,017 | 5 | 12 | 2 | 818 | 1 | 584 | 39 | 4 | 3 | true | false | false | false | false | false | zero |
44,111,775 | google tango / opencv android camera app crashes/hangs | <p>I am developing a prototype app, utilizing the tango depth camera for template matching. So far, I have been able to solve all problems with the help of already answered questions, documentation etc.</p>
<p>However, now I seem to have come to a stop. Last major change I made, was to draw a contour on the camera pre... | I am developing a prototype app, utilizing the tango depth camera for template matching. So far, I have been able to solve all problems with the help of already answered questions, documentation etc. However, now I seem to have come to a stop. Last major change I made, was to draw a contour on the camera preview image,... | java|android|opencv|android-camera|google-project-tango | 0 | 2017-05-22T11:30:49.770Z | 2,017 | 5 | 11 | 0 | 1,074 | 1 | 3,737 | 54 | 5 | 1 | true | false | false | false | false | false | zero |
44,368,884 | Content type mismatch when sending json request from Android to Laravel | <p>About the problem</p>
<p>I am trying to send JSON request using Volley using an api written in Laravel and when I request check on server to make sure that the response should also be of type JSON....it says <code>$request->expectsJson()</code> is false.</p>
<p>Am I doing anything wrong?</p>
<p>What is expects... | About the problem I am trying to send JSON request using Volley using an api written in Laravel and when I request check on server to make sure that the response should also be of type JSON....it says $request->expectsJson() is false. Am I doing anything wrong? What is expectsJson in Laravel?: https://laravel.com/api/5... | php|android|json|laravel | 0 | 2017-06-05T12:23:57.357Z | 2,017 | 6 | 12 | 0 | 1,842 | 1 | 485 | 71 | 4 | 2 | true | false | false | false | false | false | zero |
44,286,497 | What Firebase-cloud-messaging Intent-filter to use for a BroadcastReceiver? | <p>I am trying to get the Android BroadcastReceiver to run when a Firebase Cloud message notification is received by the Android system.</p>
<pre><code>public class MyBroadcastReceiver extends BroadcastReceiver {
private static final String TAG = "MyBroadcastReceiver";
@Override
public void onReceive(final Context c... | I am trying to get the Android BroadcastReceiver to run when a Firebase Cloud message notification is received by the Android system. [CODE] It is required in the AndroidManifest to specify receiver tags as such: [CODE] As you can see in the Manifest above I've added: [CODE] to make sure the BroadcastReceiver fires whe... | android|firebase|broadcastreceiver|firebase-cloud-messaging | 7 | 2017-05-31T13:44:35.750Z | 2,017 | 5 | 13 | 2 | 5,170 | 1 | 569 | 75 | 4 | 4 | true | false | true | false | false | false | medium |
44,049,632 | Is it possible to use shogun in android ndk? | <p>I want to use shogun C++ in Android NDK. Thus I am wondering: </p>
<ol>
<li><p>what is the C++ library dependencies for shogun?</p>
<p>a quick look at the shogun github repo, it seems that there are quick many dependecies as there is many Findxxx.cmake inside the project. </p>
<p>Also, shogun does provide interfa... | I want to use shogun C++ in Android NDK. Thus I am wondering: what is the C++ library dependencies for shogun? a quick look at the shogun github repo, it seems that there are quick many dependecies as there is many Findxxx.cmake inside the project. Also, shogun does provide interface to other languages, e.g. python, ru... | c++|android-ndk|shogun | 0 | 2017-05-18T13:49:50.003Z | 2,017 | 5 | 13 | 3 | 51 | 1 | 715 | 44 | 3 | 0 | false | false | false | false | false | false | zero |
44,062,535 | Android Horizontal Graph Matrix (see atached design) | <p>I try MPChart Android Library but unable to create this type of layout .</p>
<p>There are 1-24 are fixed and 5 type of hours fix, only we have to set data for these 5 hours.</p>
<p>Please see this image and help me for the solution </p>
<p><a href="https://i.stack.imgur.com/CgDuJ.png" rel="nofollow noreferrer">en... | I try MPChart Android Library but unable to create this type of layout . There are 1-24 are fixed and 5 type of hours fix, only we have to set data for these 5 hours. Please see this image and help me for the solution enter image description here | android|android-layout|mpandroidchart|android-graphview | -2 | 2017-05-19T06:05:31.090Z | 2,017 | 5 | 6 | 4 | 51 | 1 | 246 | 52 | 4 | 0 | false | false | false | false | false | true | negative |
44,065,435 | What is the best way for keep running state of activity(or app) on android platform? | <p>I gonna find out the way to start my app's main activty from service when the main activity is not forground running. For example in the case the activity is destroyed while executing for crash, need to start activity again. I 'd like to create one service for it to check my activity's running status. if not running... | I gonna find out the way to start my app's main activty from service when the main activity is not forground running. For example in the case the activity is destroyed while executing for crash, need to start activity again. I 'd like to create one service for it to check my activity's running status. if not running my... | android|android-activity|service|status | 0 | 2017-05-19T08:48:29.547Z | 2,017 | 5 | 8 | 4 | 51 | 1 | 499 | 84 | 4 | 0 | false | false | false | false | false | false | zero |
44,083,385 | How to send string value from one activity to other if string is public to be used in second activity? | <p>I am creating a book like app which has 3 buttons on opening.
I want to display different PDF files when user clicks on different buttons, each button opens certain PDF file present in assets folder.</p>
<p><strong>Button Onclicklistener, Intent</strong></p>
<p><div class="snippet" data-lang="js" data-hide="false"... | I am creating a book like app which has 3 buttons on opening. I want to display different PDF files when user clicks on different buttons, each button opens certain PDF file present in assets folder. Button Onclicklistener, Intent [CODE] pdfviewer.java [CODE] anyone please help to solve my problem | android|string|android-intent | -1 | 2017-05-20T07:58:28.237Z | 2,017 | 5 | 7 | 5 | 51 | 1 | 298 | 102 | 3 | 2 | true | false | false | false | false | true | negative |
44,125,132 | FireFox Android: how long does a webextensions background script last? | <p>Specifically, if I crate a variable in my <code>background.js</code>, and I close firefox (to the point that all tabs must be re-loaded, but are still saved), will the variable still exist in the state I left it?</p>
<p>In my specific case, I want to store some data about tabs whenever they update. I can't rely on ... | Specifically, if I crate a variable in my background.js , and I close firefox (to the point that all tabs must be re-loaded, but are still saved), will the variable still exist in the state I left it? In my specific case, I want to store some data about tabs whenever they update. I can't rely on the data being there wh... | javascript|android|firefox|firefox-addon-webextensions|firefox-android | 0 | 2017-05-23T03:08:12.950Z | 2,017 | 5 | 3 | 1 | 51 | 1 | 618 | 70 | 5 | 1 | true | false | false | false | false | false | zero |
44,160,024 | Android: Interface vs get method | <p>In each default fragment there is an interface, like this:</p>
<pre><code>public interface OnFragmentInteractionListener
{
void onFragmentInteraction(String string);
}
</code></pre>
<p>which is called in this way:</p>
<pre><code>@Override
public void onAttach(Context context)
{
super.onAttach(context);
... | In each default fragment there is an interface, like this: [CODE] which is called in this way: [CODE] It is useful to send data to the activity with the implementation of the method of the interface: [CODE] Also I can do the same with a get method in the fragment [CODE] which is called by the activity in this way: [COD... | java|android|interface|fragment | 0 | 2017-05-24T13:36:53.067Z | 2,017 | 5 | 13 | 2 | 51 | 1 | 490 | 32 | 4 | 5 | true | false | false | false | false | false | zero |
44,181,935 | Webview renders images fail when there are too many image | <p>In my app, when the webviews load a html contains too many image, some image may render fail, but the coresponding images are downloaded successfully.</p>
<p><a href="https://i.stack.imgur.com/0OLAz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0OLAz.jpg" alt="enter image description here"></a>... | In my app, when the webviews load a html contains too many image, some image may render fail, but the coresponding images are downloaded successfully. | android|webview | 0 | 2017-05-25T13:33:55.357Z | 2,017 | 5 | 13 | 3 | 51 | 1 | 150 | 57 | 2 | 0 | false | false | false | false | false | false | zero |
44,209,555 | If I implement Android MediaPlayer in Activity instead of Service, what'll be the problems? | <p>I've already implemented an Android music player just in an activity instead of Service. MediaPlayer class runs in background (<code>onPause()</code>) for a long time and I noticed it doesn't stop until I destroy the app instance. So why do I need Service for media player? Is it really necessary?</p> | I've already implemented an Android music player just in an activity instead of Service. MediaPlayer class runs in background ( onPause() ) for a long time and I noticed it doesn't stop until I destroy the app instance. So why do I need Service for media player? Is it really necessary? | java|android|media-player | 0 | 2017-05-26T20:17:31.883Z | 2,017 | 5 | 20 | 4 | 51 | 1 | 286 | 91 | 3 | 0 | false | false | false | false | false | false | zero |
44,310,661 | Response to MediaBttuon not working when Trying to play sound over BluetoothSco | <p>I have implemented handling MediaButton event according to developers guide Both in UI Activity and Active Media Session. When I try to play sound over bluetoothSco it starts to miss MediaButton events. this are the lines of code I added to play sound over BluetoothSCO</p>
<p>AudioManager localAudioManager;
... | I have implemented handling MediaButton event according to developers guide Both in UI Activity and Active Media Session. When I try to play sound over bluetoothSco it starts to miss MediaButton events. this are the lines of code I added to play sound over BluetoothSCO AudioManager localAudioManager; localAudioManager ... | android | 1 | 2017-06-01T14:45:04.937Z | 2,017 | 6 | 14 | 3 | 51 | 1 | 540 | 79 | 1 | 0 | false | false | false | false | false | false | low |
44,176,685 | SwipeRefreshLayout stops working / RecyclerView inconsistently triggers SwipeRefreshLayout | <p>I'm seeing an issue with RecyclerView inconsistently activating SwipeRefreshLayout on a Nexus 6P API 25 7.1.1 simulator.
We are on the very latest versions of the support libraries:</p>
<pre><code>compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.an... | I'm seeing an issue with RecyclerView inconsistently activating SwipeRefreshLayout on a Nexus 6P API 25 7.1.1 simulator. We are on the very latest versions of the support libraries: [CODE] I have a RecyclerView with a dataset that gets prepended to when the pull to refresh occurs (adding items to the top), it's declare... | android|android-recyclerview|android-support-library|swiperefreshlayout | 0 | 2017-05-25T09:13:28.993Z | 2,017 | 5 | 9 | 3 | 307 | 1 | 813 | 90 | 4 | 3 | true | false | false | false | false | false | zero |
44,335,744 | Android Emulator from Mac to Parallels with Web API on Local IIS | <p>I am developing a React Native mobile app in a Mac environment for both iOS and Android devices (iOS is running perfect as usual). I have Android Studio installed with all the necessary dependencies from the SDK Manager, and the project builds and starts up successfully on both Android emulator and iOS simulator. </... | I am developing a React Native mobile app in a Mac environment for both iOS and Android devices (iOS is running perfect as usual). I have Android Studio installed with all the necessary dependencies from the SDK Manager, and the project builds and starts up successfully on both Android emulator and iOS simulator. Here'... | android|iis|mobile|genymotion|parallels | 0 | 2017-06-02T18:58:26.723Z | 2,017 | 6 | 18 | 4 | 307 | 1 | 1,443 | 64 | 5 | 2 | true | false | false | false | false | false | zero |
44,171,272 | A/libc Fatal signal 11 (SIGSEGV) - PJSIP, Android & Marmalade | <p>I'm building an application that runs on Android using Marmalade that can make video calls to another application on mobile devices. The video calls are handled by the PJSIP library. When connecting the video feed I get this error:</p>
<pre><code>A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 7813... | I'm building an application that runs on Android using Marmalade that can make video calls to another application on mobile devices. The video calls are handled by the PJSIP library. When connecting the video feed I get this error: [CODE] Which causes the application to crash. What is the cause of this? I think it may ... | android|sip|fatal-error|pjsip|marmalade | 0 | 2017-05-25T02:22:05.893Z | 2,017 | 5 | 2 | 3 | 563 | 1 | 793 | 61 | 5 | 3 | true | false | false | false | false | false | zero |
44,233,911 | Fragment DrawerLayout | <p>I am new to android and I have implemented android studios drawerlayout. I designed the main page of my app in content_main. But now I want to switch pages by using the DrawerLayout to connect me to my CurrentSongsFragment that I created. Here is the code that is in my MainActivity.java class: </p>
<pre><code>publi... | I am new to android and I have implemented android studios drawerlayout. I designed the main page of my app in content_main. But now I want to switch pages by using the DrawerLayout to connect me to my CurrentSongsFragment that I created. Here is the code that is in my MainActivity.java class: [CODE] Here is what's in ... | java|android|android-fragments | 0 | 2017-05-29T02:33:29.043Z | 2,017 | 5 | 2 | 0 | 563 | 1 | 603 | 21 | 3 | 2 | true | false | false | false | false | false | zero |
44,356,922 | Is it possible to read the Slog in android monitor? | <p>In the android source code i see often line like <code>Slog.v(WindowManagerService.TAG, "First window added to " + this + ", creating SurfaceSession");</code> How can i see those <strong>Slog</strong> under android monitor ? And what the difference between Slog and Log?</p> | In the android source code i see often line like Slog.v(WindowManagerService.TAG, "First window added to " + this + ", creating SurfaceSession"); How can i see those Slog under android monitor ? And what the difference between Slog and Log? | android|android-log | 2 | 2017-06-04T17:31:05.343Z | 2,017 | 6 | 17 | 6 | 819 | 1 | 240 | 51 | 2 | 0 | false | false | false | false | false | false | low |
44,058,356 | Previous Fragment Momentarily Visible Before Transitioning | <p>I am using fragments with an activity:</p>
<p><strong>CameraActivity:</strong></p>
<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {
setTheme(R.style.CameraFullScreenTheme);
super.onCreate(savedInstanceState);
if (getSupportActionBar() != null) {
getSupportActionBar().h... | I am using fragments with an activity: CameraActivity: [CODE] CameraFragment: [CODE] EditSavePhotoFragment: [CODE] return PhotoUri invokes another activity using startActivityForResult . Before the new activity is started, the CameraFragment is momentarily visible before the transition. [CODE] Finally, in the onActivit... | android|android-fragments | 2 | 2017-05-18T21:54:00.973Z | 2,017 | 5 | 21 | 3 | 52 | 1 | 380 | 58 | 2 | 4 | true | false | false | false | false | false | low |
44,114,258 | Android. dont work ListFragment onListItemClick() | <p>I have one Activity that uses TabLayout 5 Fragment, one Fragment using mapview, and another Fragment using "ListFragment", but I have a problem:</p>
<blockquote>
<p>ListFragment not activate onListItemClick()</p>
</blockquote>
<p>I've done a lot, but it's hard to solve.</p>
<p>This code my code:</p>
<pre><code... | I have one Activity that uses TabLayout 5 Fragment, one Fragment using mapview, and another Fragment using "ListFragment", but I have a problem: ListFragment not activate onListItemClick() I've done a lot, but it's hard to solve. This code my code: [CODE] ^ Activity XML [CODE] ^ list_layout_xml using one ImageView, one... | java|android|fragment|android-listfragment | 0 | 2017-05-22T13:32:36.973Z | 2,017 | 5 | 13 | 0 | 52 | 1 | 425 | 49 | 4 | 3 | true | false | false | false | false | false | zero |
44,139,258 | Make always reverts to old version | <p>I'm building Android on an Ubuntu 16.04. To get the build working on 16.04 make 3.81 is required. I installed the older version through dpkg </p>
<pre><code>sudo dpkg -i ~/Downloads/make_3.81-8.2ubuntu3_amd64.deb
</code></pre>
<p>But now and then make is reverted back to version 4.1 just from alone. There's no sp... | I'm building Android on an Ubuntu 16.04. To get the build working on 16.04 make 3.81 is required. I installed the older version through dpkg [CODE] But now and then make is reverted back to version 4.1 just from alone. There's no special event like reboot for this to happen. When i just run dpkg again everything is ok.... | android|linux|gnu-make|ubuntu-16.04|android-source | 0 | 2017-05-23T15:35:21.720Z | 2,017 | 5 | 15 | 1 | 52 | 1 | 477 | 34 | 5 | 1 | true | false | false | false | false | false | zero |
44,202,441 | What is the purpose of throwing an exception in accept() method? | <p>What is the purpose of throwing an exception in <code>accept()</code> method? </p>
<pre><code>public interface Consumer<T> {
/**
* Consume the given value.
* @param t the value
* @throws Exception on error
*/
void accept(@NonNull T t) throws Exception;
}
</code></pre> | What is the purpose of throwing an exception in accept() method? [CODE] | android|rx-java2 | 0 | 2017-05-26T13:07:34.367Z | 2,017 | 5 | 13 | 4 | 52 | 1 | 71 | 64 | 2 | 1 | true | false | false | false | false | false | zero |
44,216,253 | search ListView with EditText but plays wrong sounds | <pre><code> public static ListView lv1;
public String[] soundnamen = {"text1","text2"};
public int[] soundId = {R.raw.sound1,R.raw.sound2};
public ArrayAdapter<String> listapdapter;
public Intent teilintent;
EditText inputSearch1;
View contentView;
@Nullable
@Override
... | [CODE] when I search the listview with the EditText it only shows the right items but it plays the wrong sound. How to fix that? Do I have to use BaseAdapter? I searched the whole internet and didn't found anything about that. | android|listview | 1 | 2017-05-27T11:24:09.363Z | 2,017 | 5 | 11 | 5 | 52 | 1 | 226 | 52 | 2 | 1 | true | false | false | false | false | false | low |
44,220,403 | duplicate contacts as vcf file android | <p>I found this code around the forum for creating a vcf file with all contacts stored in the phone. well i get all contacts but duplicate does anyone know how to fix it? i am only interested in the contacts displayed in the contacts book not google contacts etc. THANKS</p>
<pre><code> private void getVcardString() t... | I found this code around the forum for creating a vcf file with all contacts stored in the phone. well i get all contacts but duplicate does anyone know how to fix it? i am only interested in the contacts displayed in the contacts book not google contacts etc. THANKS [CODE] | java|android | 0 | 2017-05-27T18:36:37.137Z | 2,017 | 5 | 18 | 5 | 52 | 1 | 274 | 38 | 2 | 1 | true | false | false | false | false | false | zero |
44,314,073 | Comparsion with the actual image and screenshot taken from the mobile device | <p>Problem:</p>
<p>We have a web page which we load inside the Android App and iOS App. the web page is having a header slot and footer slot and a banner slot for the image. </p>
<p>When developers attach the URL's of the images to the header, footer and banner slots most of the times the images are not fitting withi... | Problem: We have a web page which we load inside the Android App and iOS App. the web page is having a header slot and footer slot and a banner slot for the image. When developers attach the URL's of the images to the header, footer and banner slots most of the times the images are not fitting within the screens. 1. Th... | java|android|image|image-processing|automation | 0 | 2017-06-01T17:49:40.803Z | 2,017 | 6 | 17 | 3 | 52 | 1 | 972 | 76 | 5 | 0 | false | false | false | false | false | false | zero |
44,341,464 | Reading resource from imported jar in Android | <p>Im using a jar created for a desktop application in Android.</p>
<p>This jar contains some configuration files and read them through </p>
<pre><code>(code from .jar)
InputStream fXmlFile = Object.class.getResourceAsStream("/aaa/config/interface_config.xml");
DocumentBuilderFactory dbFactory = DocumentBuilderFacto... | Im using a jar created for a desktop application in Android. This jar contains some configuration files and read them through [CODE] The above code works fine in the desktop application, but when used on Android as imported library gives the following: [CODE] which suggests that Object.class.getResourceAsStream("/aaa/c... | java|android|eclipse | 1 | 2017-06-03T07:21:21.650Z | 2,017 | 6 | 7 | 5 | 52 | 1 | 678 | 45 | 3 | 2 | true | false | false | false | false | false | low |
43,957,351 | Xamarin Android Custom ImageRenderer Canvas.DrawBitmap flipping image | <p>I have two images: one that is an empty jar, and one that is the same jar but with a fill. My goal is to use a custom renderer to draw the empty jar, do a calculation of the percentage, and then copy a subset of the full jar onto the empty one to simulate the jar responsively filling based on a value. To do this, I ... | I have two images: one that is an empty jar, and one that is the same jar but with a fill. My goal is to use a custom renderer to draw the empty jar, do a calculation of the percentage, and then copy a subset of the full jar onto the empty one to simulate the jar responsively filling based on a value. To do this, I am ... | xamarin|xamarin.android|xamarin.forms|custom-renderer | 0 | 2017-05-13T19:45:47.930Z | 2,017 | 5 | 19 | 5 | 564 | 1 | 705 | 69 | 4 | 2 | true | false | false | false | false | false | zero |
44,209,606 | Register library activity in manifest | <pre><code><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.fitnesscircle.snapo">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />... | [CODE] Even though i register its still says cant find explicit activity class. am new to android coding. is anything i need to change so i get rid of this ActivityNotFoundException Unable to find explicit activity class {com.fitnesscircle.snapo/com.afollestad.materialcamera.CaptureActivity}; have you declared this act... | android|xml|manifest|activitynotfoundexception | 4 | 2017-05-26T20:21:22.903Z | 2,017 | 5 | 20 | 4 | 2,612 | 1 | 365 | 37 | 4 | 1 | true | false | true | false | false | false | low |
44,107,076 | What are the differences between traceview and hugo(a plugin)? | <p>'Hugo' is a plugin in android studio which uses annotation to print out runtime of functions(this 'hugo' is different from another 'Hugo' written by go language).Either 'hugo' or 'traceview' i have used,but i haven't found the essential difference between them.Or,they don't have essential difference??</p> | 'Hugo' is a plugin in android studio which uses annotation to print out runtime of functions(this 'hugo' is different from another 'Hugo' written by go language).Either 'hugo' or 'traceview' i have used,but i haven't found the essential difference between them.Or,they don't have essential difference?? | android|android-studio | 1 | 2017-05-22T07:29:49.770Z | 2,017 | 5 | 7 | 0 | 53 | 1 | 302 | 62 | 2 | 0 | false | false | false | false | false | false | low |
44,168,748 | android firebase reads all the database | <p>i am trying to read a specific child in Firebase which i named Tags. the problem is, i just can't put the object from tags (dados.getValue) into a ArrayList to later populate in my ListView.</p>
<p>I know is simple, sorry about that, ut i am new here in android</p>
<pre><code>@Override
public void onCreate(Bun... | i am trying to read a specific child in Firebase which i named Tags. the problem is, i just can't put the object from tags (dados.getValue) into a ArrayList to later populate in my ListView. I know is simple, sorry about that, ut i am new here in android [CODE] here is my database: h | android|listview|firebase|arraylist|firebase-realtime-database | 0 | 2017-05-24T21:28:08.037Z | 2,017 | 5 | 21 | 2 | 53 | 1 | 284 | 39 | 5 | 1 | true | false | false | false | false | false | zero |
44,179,815 | How can I use realm database to store strings for recyclerView? | <p>Currently I am using array of strings to store 'title' and 'content' for textviews inside cardView but realm database sounds to be a better idea for this purpose. How can I accomplish this? Here is my recycler adapter:</p>
<pre><code>public class RecyclerAdapter extends RecyclerView.Adapter<RecyclerAdapter.ViewH... | Currently I am using array of strings to store 'title' and 'content' for textviews inside cardView but realm database sounds to be a better idea for this purpose. How can I accomplish this? Here is my recycler adapter: [CODE] | android|database|database-connection|realm|android-database | 0 | 2017-05-25T11:46:35.993Z | 2,017 | 5 | 11 | 3 | 53 | 1 | 225 | 63 | 5 | 1 | true | false | false | false | false | false | zero |
44,236,005 | Links on maps, do not work | <p>I have an app with an integrated map using the Google Maps v3 API. In the map I show some markers with an infowiew with the client's name, his address and a link to establish the route.</p>
<p>The link once clicked should go to the native application of Google Maps, but it does not respond. The same happens with ot... | I have an app with an integrated map using the Google Maps v3 API. In the map I show some markers with an infowiew with the client's name, his address and a link to establish the route. The link once clicked should go to the native application of Google Maps, but it does not respond. The same happens with other links o... | javascript|android|google-maps|google-maps-api-3 | 0 | 2017-05-29T06:37:16.083Z | 2,017 | 5 | 6 | 0 | 53 | 1 | 654 | 26 | 4 | 1 | true | false | false | false | false | false | zero |
44,251,292 | C++ questions for android development | <p>I have a few questions regarding the c++ support in Android Studio.</p>
<p>First, can I add c++ code to an already built project in which I didn't check off the "include c++ support" feature? The internet always leads me to guides that start from 'New Project.'
Secondly, if I were to start a new project, why does i... | I have a few questions regarding the c++ support in Android Studio. First, can I add c++ code to an already built project in which I didn't check off the "include c++ support" feature? The internet always leads me to guides that start from 'New Project.' Secondly, if I were to start a new project, why does it remove th... | java|c++|android-studio|android-ndk | 0 | 2017-05-29T23:13:32.760Z | 2,017 | 5 | 23 | 0 | 53 | 1 | 643 | 37 | 4 | 0 | false | false | false | false | false | false | zero |
44,284,066 | App button as keyboard press | <p>I'm trying to map a button in my fragment layout as a keypress on a keyboard.
This is my button press:</p>
<pre><code>Button down = (Button)(myView.findViewById(R.id.btnDOWN));
down.setOnTouchListener(new View.OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
... | I'm trying to map a button in my fragment layout as a keypress on a keyboard. This is my button press: [CODE] I wasn't able to find any library which would allow me to do so, all I've found was reverse case, when a keyboard or controller press would be sent to device. What I'm trying to generally do here, is an app tha... | java|android | 0 | 2017-05-31T11:52:03.667Z | 2,017 | 5 | 11 | 2 | 53 | 1 | 457 | 28 | 2 | 1 | true | false | false | false | false | false | zero |
44,309,594 | Is it possible to to target Amazon Appstore devices in the Android manifest to have different hardware permissions than Google Play devices? | <p>Is it possible to to target Amazon Appstore devices in the Android manifest to have different hardware permissions than Google Play devices? In the example below only Amazon devices would have request the permission to SEND_SMS. </p>
<p>For example:</p>
<pre><code><Amazon-sdk>
<uses-permission android:nam... | Is it possible to to target Amazon Appstore devices in the Android manifest to have different hardware permissions than Google Play devices? In the example below only Amazon devices would have request the permission to SEND_SMS. For example: [CODE] | android|google-play|android-manifest|amazon|android-permissions | 0 | 2017-06-01T13:58:48.393Z | 2,017 | 6 | 13 | 3 | 53 | 1 | 248 | 140 | 5 | 1 | true | false | false | false | false | false | zero |
44,327,855 | Scene2D actor flashing on screen for 1 frame when supposed to be invisible | <p>I am trying to create an actor with Scene2D, that appears on the screen only when a certain event is triggered. To do so, I use the following code:</p>
<pre><code>blackRectangle.addAction(Actions.alpha(0));
optionalStage.addActor(blackRectangle);
blackRectangle.addAction(Actions.delay(0.5f,Actions.alpha(0.7f, 0.5f)... | I am trying to create an actor with Scene2D, that appears on the screen only when a certain event is triggered. To do so, I use the following code: [CODE] The problem I am having is that when the rectangle is added to the optionalStage, the rectangle appears on the screen for 1 frame, disappears, and then proceeds to f... | java|android|libgdx|scene2d | 1 | 2017-06-02T11:30:41.763Z | 2,017 | 6 | 11 | 4 | 53 | 1 | 488 | 74 | 4 | 2 | true | false | false | false | false | false | low |
44,108,086 | Android Action Bar options menu display issue | <p>Okay, so i got a small problem that i really don't know how to fix this.</p>
<p>So i have an application where i use my own style for an Action Bar</p>
<pre><code><resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat">
<item name="windowAct... | Okay, so i got a small problem that i really don't know how to fix this. So i have an application where i use my own style for an Action Bar [CODE] The menu that is displayed [CODE] This works great for almost all places, except when i try to display my options menu. I have added the options menu and the handler for it... | java|android|android-optionsmenu | 0 | 2017-05-22T08:28:39.130Z | 2,017 | 5 | 8 | 0 | 309 | 1 | 1,000 | 45 | 3 | 5 | true | false | false | false | false | false | zero |
44,170,468 | NDK vs Java: is there a difference in access to API? | <p>My previous question was marked as duplicate and linked to a question that was too general and whose answers were scattered and unfocused. </p>
<p>I'm not asking about development time or runtime speed or memory footprint.</p>
<p>Is there ANY difference in API or OS access between NDK and Java?</p> | My previous question was marked as duplicate and linked to a question that was too general and whose answers were scattered and unfocused. I'm not asking about development time or runtime speed or memory footprint. Is there ANY difference in API or OS access between NDK and Java? | android|android-ndk|android-sdk-tools | 0 | 2017-05-25T00:29:49.577Z | 2,017 | 5 | 0 | 3 | 309 | 1 | 280 | 52 | 3 | 0 | false | false | false | false | false | false | zero |
44,021,687 | Is purchaseToken of Android IAB globally unique? | <p>I know that we can't use <code>orderId</code> as globally unique transaction ID in testing because <code>orderId</code> can be null.</p>
<p>In <a href="https://developer.android.com/google/play/billing/billing_testing.html" rel="noreferrer">https://developer.android.com/google/play/billing/billing_testing.html</a><... | I know that we can't use orderId as globally unique transaction ID in testing because orderId can be null. In https://developer.android.com/google/play/billing/billing_testing.html Note: Test purchases don't have an orderId field. To track test purchases, you use the purchaseToken field instead. It is not clear to me w... | android|in-app-purchase|in-app-billing | 7 | 2017-05-17T10:03:16.253Z | 2,017 | 5 | 10 | 2 | 565 | 1 | 629 | 48 | 3 | 0 | false | false | false | false | false | false | medium |
44,139,481 | App crash on huawaei device(Android 6.0 api 23) | <p>I try to debug my app on my device(with AVD no problem),in my MainActivity when the breakpoint is on this raw(with blue background) the Application crash:
<img src="https://i.stack.imgur.com/WYtOl.png" alt="Raw of MainActivity"></p>
<p>This is my Manifest.xml:</p>
<pre><code><?xml version="1.0" encoding="utf-8"... | I try to debug my app on my device(with AVD no problem),in my MainActivity when the breakpoint is on this raw(with blue background) the Application crash: This is my Manifest.xml: [CODE] Finally is the logcat: [CODE] | android|performance | 0 | 2017-05-23T15:45:26.850Z | 2,017 | 5 | 15 | 1 | 565 | 1 | 216 | 47 | 2 | 2 | true | false | false | false | false | false | zero |
43,966,444 | Android - getSupportFragmentManager from Adapter RecyclerView in a Fragment | <p>hi? i have a <code>Fragment</code> with <code>RecyclerView</code>, on the <code>Adapter</code> of <code>RecyclerView</code> i want to <code>setOnClickListener</code> to open another Fragment, just <code>getSupportFragmentManager().add()</code>, but i cant call the support <code>getSupportFragmentManager()</code>.</p... | hi? i have a Fragment with RecyclerView , on the Adapter of RecyclerView i want to setOnClickListener to open another Fragment, just getSupportFragmentManager().add() , but i cant call the support getSupportFragmentManager() . this is my adapter's Constructor : [CODE] this is my onClickListener : [CODE] how to getSuppo... | android|android-fragments | 0 | 2017-05-14T16:42:07.277Z | 2,017 | 5 | 16 | 6 | 821 | 1 | 338 | 75 | 2 | 2 | true | false | false | false | false | false | zero |
44,324,091 | Calculating Total Distance Between Way Points android google api | <p>I have develop an application which draws the route between start point and the destination and also user will be able to mark some waypoints along that path and the route will be drawn correctly. But I can only get the distance when I only mark 2 places on the map. If I mark 2, 3 places it will not give me the dist... | I have develop an application which draws the route between start point and the destination and also user will be able to mark some waypoints along that path and the route will be drawn correctly. But I can only get the distance when I only mark 2 places on the map. If I mark 2, 3 places it will not give me the distanc... | android|google-maps|google-maps-api-3|google-distancematrix-api | 0 | 2017-06-02T08:20:08.430Z | 2,017 | 6 | 8 | 4 | 1,077 | 1 | 518 | 64 | 4 | 4 | true | false | false | false | false | false | zero |
44,258,824 | Create draw route direction with offline Google Maps | <p>I was just wondering as to how to draw route direction(two point) of Google Maps in order for it to work offline. We have already downloaded offline Google Maps and then want navigation but do not know how to.</p>
<p>I was thinking of creating a navigation system with offline Google Maps, but I don't know how to dr... | I was just wondering as to how to draw route direction(two point) of Google Maps in order for it to work offline. We have already downloaded offline Google Maps and then want navigation but do not know how to. I was thinking of creating a navigation system with offline Google Maps, but I don't know how to draw route di... | android|google-maps|draw|mapbox | 1 | 2017-05-30T09:45:37.900Z | 2,017 | 5 | 9 | 1 | 1,333 | 1 | 707 | 52 | 4 | 0 | false | false | false | false | false | false | low |
44,083,507 | Android bottom navigation bar customization | <p>I have successfully implementing simple bottom bar and it looks like picture 1. But I wanted to customize it further so it can looks like the bottom bar in Youtube's android apps, which when you clicked in one of the item, it will spread shadowing effect.</p>
<p>My current bottom bar:</p>
<p><a href="https://i.sta... | I have successfully implementing simple bottom bar and it looks like picture 1. But I wanted to customize it further so it can looks like the bottom bar in Youtube's android apps, which when you clicked in one of the item, it will spread shadowing effect. My current bottom bar: Youtube's bottom bar I would also like to... | android|material-design|bottomnavigationview|android-bottomnav|bottombar | 4 | 2017-05-20T08:13:48.660Z | 2,017 | 5 | 8 | 5 | 12,597 | 1 | 478 | 43 | 5 | 0 | false | false | true | true | false | false | low |
43,932,636 | Is There any onPermissionChangeListener for android | <p>So in my app Im use push notifications and I store the notification status of the users (true|false, if they have enabled notifications or not).</p>
<p>But lets say that the user is using the app and then he goes to the settings while the app open and changes the notifications permissions or while he is using the a... | So in my app Im use push notifications and I store the notification status of the users (true|false, if they have enabled notifications or not). But lets say that the user is using the app and then he goes to the settings while the app open and changes the notifications permissions or while he is using the app a notifi... | android|permissions|listener | 0 | 2017-05-12T08:09:03.020Z | 2,017 | 5 | 8 | 4 | 54 | 1 | 484 | 51 | 3 | 0 | false | false | false | false | false | false | zero |
43,950,987 | API19 doesn't show Child with layout_height="match_parent" in a RelativeLayout with layout_height="wrap_content" in a RecyclerView | <p>I have a RecyclerView that has to inflate the following layout in the ViewHolder: </p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:minWidth="25px"
and... | I have a RecyclerView that has to inflate the following layout in the ViewHolder: [CODE] The RelativeLayout's content changes (image, video, text, etc.) so I'm not able to know the height (the width is the width of the device). I have to add a view (my premiumBlockerView LinearLayout) that I will show as semi transpare... | android|android-layout | 0 | 2017-05-13T08:34:36.580Z | 2,017 | 5 | 8 | 5 | 54 | 1 | 746 | 130 | 2 | 1 | true | false | false | false | false | false | zero |
43,988,347 | API for getting specific GooglePlay app reviews | <p>Is it possible to user this api in order to get the reviews of a specific application?</p>
<p><a href="https://www.googleapis.com/androidpublisher/v2/applications/packageName/reviews" rel="nofollow noreferrer">https://www.googleapis.com/androidpublisher/v2/applications/packageName/reviews</a></p>
<p>Or we can get ... | Is it possible to user this api in order to get the reviews of a specific application? https://www.googleapis.com/androidpublisher/v2/applications/packageName/reviews Or we can get only the reviews for my own apps in google play? | android|google-api|google-play | 0 | 2017-05-15T20:33:29.617Z | 2,017 | 5 | 20 | 0 | 54 | 1 | 229 | 47 | 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.