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,150,158 | Publishing a different apk in the play store | <p>I have already published an app for the google play store, and now it is in use by around 1000 users and is still growing. However, I find that the code which I used is quite cluttered for me to add new features, and so I am planning to write a different version of the app. I have two questions:-</p>
<ol>
<li>Is it... | I have already published an app for the google play store, and now it is in use by around 1000 users and is still growing. However, I find that the code which I used is quite cluttered for me to add new features, and so I am planning to write a different version of the app. I have two questions:- Is it possible to publ... | android|google-play | -1 | 2017-05-24T06:03:22.140Z | 2,017 | 5 | 6 | 2 | 63 | 1 | 635 | 44 | 2 | 0 | false | false | false | false | false | true | negative |
44,357,114 | How can I open a file content placed in a listView? | <p>So, I manage to list all the files that I saved from and edit text into a <code>listview</code> and it works fine. What I want now is to open them into an edit text field. There is my code down below. How can I do that ? I hope you'll help me.</p>
<pre><code>import java.io.BufferedReader;
import java.io.File;
impor... | So, I manage to list all the files that I saved from and edit text into a listview and it works fine. What I want now is to open them into an edit text field. There is my code down below. How can I do that ? I hope you'll help me. [CODE] | java|android|file|listview|inputstream | 0 | 2017-06-04T17:50:34.847Z | 2,017 | 6 | 17 | 6 | 63 | 1 | 237 | 51 | 5 | 1 | true | false | false | false | false | false | zero |
44,248,734 | MediaPlayer not correctly releasing? | <p>I'm implementing Simon Says in Android for a suite of Audiogames. The game is working fine but I can't seem to make the onPause and onStop methods work: with the current state of my code the MediaPlayers I use don't get released and if I add <code>mediaPlayer.reset()</code> or <code>mediaPlayer.stop()</code> the app... | I'm implementing Simon Says in Android for a suite of Audiogames. The game is working fine but I can't seem to make the onPause and onStop methods work: with the current state of my code the MediaPlayers I use don't get released and if I add mediaPlayer.reset() or mediaPlayer.stop() the application crashes giving me th... | java|android|android-mediaplayer | 0 | 2017-05-29T18:41:54.290Z | 2,017 | 5 | 18 | 0 | 319 | 1 | 1,073 | 36 | 3 | 6 | true | false | false | false | false | false | zero |
44,277,517 | Xamarin Android Oxyplot refresh doesnt work | <p>I have a problem with refreshing Oxyplot graph in Xamarin Android. I'm using Model.InvalidatePlot(true) but still doesnt work. </p>
<p>In my ViewModel I have property PlotModel and method for Refresh like code below. GroupSales is my MvxObservableCollection of GroupSale.</p>
<pre><code> public void RefreshTest(... | I have a problem with refreshing Oxyplot graph in Xamarin Android. I'm using Model.InvalidatePlot(true) but still doesnt work. In my ViewModel I have property PlotModel and method for Refresh like code below. GroupSales is my MvxObservableCollection of GroupSale. [CODE] After call method RefreshTest my MvxObservableCol... | c#|xamarin|xamarin.android|mvvmcross|oxyplot | 2 | 2017-05-31T06:45:50.760Z | 2,017 | 5 | 6 | 2 | 319 | 1 | 777 | 43 | 5 | 3 | true | false | false | false | false | false | low |
44,363,712 | getContentView() from android BottomSheetDialog | <p>Is there any way to get <code>ContentView</code> from android <code>BottomSheetDialog</code> ? In <code>PopupWindow</code> , I can get <code>PopupWindow</code> 's view by <code>popupWindow.getContentView()</code> method. But, I cann't find any method to get <code>ConentView</code> from <code>BottomSheetDialog</code>... | Is there any way to get ContentView from android BottomSheetDialog ? In PopupWindow , I can get PopupWindow 's view by popupWindow.getContentView() method. But, I cann't find any method to get ConentView from BottomSheetDialog . | android|bottom-sheet | 1 | 2017-06-05T07:21:57.043Z | 2,017 | 6 | 7 | 0 | 831 | 1 | 228 | 47 | 2 | 0 | false | false | false | false | false | false | low |
44,102,559 | Start application when bluetooth device is connected | <p>How can I start application in my android phone when some bluetooth device is connected?</p>
<p>I'm trying to do this with broadcast receiver, but I have one problem... when I finish activity (exit application), the broadcast receiver must be unregistered... so there is no way to listen to connected devices...</p>
... | How can I start application in my android phone when some bluetooth device is connected? I'm trying to do this with broadcast receiver, but I have one problem... when I finish activity (exit application), the broadcast receiver must be unregistered... so there is no way to listen to connected devices... How to keep thi... | android|bluetooth|broadcastreceiver | 0 | 2017-05-21T22:53:21.470Z | 2,017 | 5 | 22 | 6 | 1,855 | 1 | 664 | 52 | 3 | 2 | true | false | false | false | false | false | zero |
44,358,440 | How can I set an ImageView's position dynamically in Constraint Layout | <p>I have a dynamically created <code>ImageView</code> in one <code>ConstraintLayout</code>. Once I run the app the ImageView is showing on left top corner because no position is defined for the <code>ImageView</code>.</p>
<p>How can I set the position(let's say CENTER) of the ImageView dynamically?</p>
<p>I have writt... | I have a dynamically created ImageView in one ConstraintLayout . Once I run the app the ImageView is showing on left top corner because no position is defined for the ImageView . How can I set the position(let's say CENTER) of the ImageView dynamically? I have written the below code: [CODE] Any suggestion is highly app... | android|android-constraintlayout | 4 | 2017-06-04T20:25:00.553Z | 2,017 | 6 | 20 | 6 | 4,415 | 1 | 329 | 70 | 2 | 1 | true | false | true | false | false | false | low |
43,936,861 | Clicked item updates other items in the recyclerview? | <blockquote>
<p>I have a recycler view which contains a checkbox on click of the check
box I update the value for quantity.The problem is if I select the
first checkbox in my recycler view for some instances even the 5th
check box gets auto checked.</p>
</blockquote>
<p>Following is my code for onActivityResul... | I have a recycler view which contains a checkbox on click of the check box I update the value for quantity.The problem is if I select the first checkbox in my recycler view for some instances even the 5th check box gets auto checked. Following is my code for onActivityResult where I call updateBooks which is responsibl... | java|android|android-recyclerview | -1 | 2017-05-12T11:35:27.613Z | 2,017 | 5 | 11 | 4 | 64 | 1 | 440 | 53 | 3 | 3 | true | false | false | false | false | true | negative |
44,053,376 | App crashed when trying to get ID from SQLite | <p>When button is clicked, I want to get the data ID from SQLite. Unfortunately my app crashed. This happen when I try to retrieve the data ID from SQLite.</p>
<p><strong>LogCat</strong></p>
<pre><code>05-17 01:00:54.873 16093-16093/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
android.database.CursorIndexOutOfBoundsExc... | When button is clicked, I want to get the data ID from SQLite. Unfortunately my app crashed. This happen when I try to retrieve the data ID from SQLite. LogCat [CODE] Line 49 [CODE] Any help would be much appreciated. What I have tried: [CODE] DatabaseHelper [CODE] | android|sqlite | 1 | 2017-05-18T16:34:21.993Z | 2,017 | 5 | 16 | 3 | 64 | 1 | 265 | 45 | 2 | 4 | true | false | false | false | false | false | low |
44,055,962 | android clicking debug chooses release variant | <p>In Android Studio, when I click the "debug" icon in the tool bar, gradle is appearing to try to make a release build.</p>
<p>First, it shows me the "edit configuration" popup. At the bottom, it has a message "the apk for your currently selected variant (app-release-unsigned.apk) is not signed. Please specify a sign... | In Android Studio, when I click the "debug" icon in the tool bar, gradle is appearing to try to make a release build. First, it shows me the "edit configuration" popup. At the bottom, it has a message "the apk for your currently selected variant (app-release-unsigned.apk) is not signed. Please specify a signing configu... | android-studio|gradle | 0 | 2017-05-18T19:05:46.893Z | 2,017 | 5 | 19 | 3 | 64 | 1 | 498 | 46 | 2 | 1 | true | false | false | false | false | false | zero |
44,087,845 | screencast of app is blinking with Crosswalk enabled for android, cordova | <p>I switched from GapDebug to Crosswalk remote debugging. Everything is fine with exception of 'screencast' in Developer Tools, which is blinking with 5 fps (when I use Crosswalk).</p>
<p>If I switch to 'Elements' tab and move mouse over any DOM element (make it active), the blinking stops. With GapDebug I had no iss... | I switched from GapDebug to Crosswalk remote debugging. Everything is fine with exception of 'screencast' in Developer Tools, which is blinking with 5 fps (when I use Crosswalk). If I switch to 'Elements' tab and move mouse over any DOM element (make it active), the blinking stops. With GapDebug I had no issue. It was ... | android|cordova|debugging|crosswalk|screencast | 0 | 2017-05-20T15:44:03.977Z | 2,017 | 5 | 15 | 5 | 64 | 1 | 436 | 73 | 5 | 0 | false | false | false | false | false | false | zero |
44,095,941 | Progress Notification not being cancelled | <p>When I press the "Cancel" button in the notification, the notification still remains in the notification bar, and every time I press "Cancel" the notifications closes but still appears in the top bar, and when I open the notifications is still there, the notification is not being removed properly.</p>
<p>This is th... | When I press the "Cancel" button in the notification, the notification still remains in the notification bar, and every time I press "Cancel" the notifications closes but still appears in the top bar, and when I open the notifications is still there, the notification is not being removed properly. This is the code to c... | java|android|notifications | 0 | 2017-05-21T10:49:50.717Z | 2,017 | 5 | 10 | 6 | 64 | 1 | 505 | 41 | 3 | 2 | true | false | false | false | false | false | zero |
44,264,579 | Embedded Image Exceeds WidthConstraint of Layout (RelativeLayout) | <p>I have an issue with image resource embedded within relative layout. Image itself scales perfectly even though its large image, but somehow its width exceeds given width constraint within layout.</p>
<p>Following code shows Relative layout with image (Koala.jpg) in question:</p>
<pre><code><RelativeLayout Horiz... | I have an issue with image resource embedded within relative layout. Image itself scales perfectly even though its large image, but somehow its width exceeds given width constraint within layout. Following code shows Relative layout with image (Koala.jpg) in question: [CODE] image exceeds defined layout width The "Hote... | android|image|xamarin|layout|android-relativelayout | 0 | 2017-05-30T14:08:41.567Z | 2,017 | 5 | 14 | 1 | 64 | 1 | 1,205 | 65 | 5 | 2 | true | false | false | false | false | false | zero |
44,332,654 | Error when I am creating xml file in Android | <p>I have the following code that creates an xml file and saves it in the device.</p>
<pre><code>package com.ex.createXml;
import android.app.Activity;
import android.os.Bundle;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import org.xmlpull.v... | I have the following code that creates an xml file and saves it in the device. [CODE] When I am running the app I get these errors [CODE] I have add these permissions to the manifest [CODE] One of the errors is /sdcard/Downloads/new.xml (No such file or directory). Can you give me a proper path to save my file or any i... | java|android|xml | 0 | 2017-06-02T15:37:31.910Z | 2,017 | 6 | 15 | 4 | 64 | 1 | 362 | 44 | 3 | 3 | true | false | false | false | false | false | zero |
44,337,697 | Which version of NDK should I use with a Titanium Android module? | <p>According to the <a href="https://github.com/appcelerator/titanium_mobile/blob/master/android/package.json#L22" rel="nofollow noreferrer">source</a> and <a href="https://wiki.appcelerator.org/display/guides2/Installing+the+Android+NDK" rel="nofollow noreferrer">wiki</a>, Titanium requires r9 of the Android NDK. But ... | According to the source and wiki , Titanium requires r9 of the Android NDK. But in the Android archives , the oldest version available is r10e (May 2015). The current version is r14b. With r14b (and r13b) I get compilation failures from ndk-build involving a C++ type mismatch. [ERROR] /Users/jdee/Library/Application Su... | android|module|android-ndk|appcelerator|appcelerator-titanium | 0 | 2017-06-02T21:30:50.387Z | 2,017 | 6 | 21 | 4 | 320 | 1 | 722 | 65 | 5 | 0 | false | false | false | false | false | false | zero |
44,155,737 | linkify not work when update text | <p>I using <a href="https://developer.android.com/reference/android/text/util/Linkify.html" rel="nofollow noreferrer">linkify</a> to highlight URL and Emails in my text view, it work correctly in first render but when i try to change text not work.<br>
in my text view i use spannable to append see more and see less whe... | I using linkify to highlight URL and Emails in my text view, it work correctly in first render but when i try to change text not work. in my text view i use spannable to append see more and see less when text length more than specific number of string. the following my span function that append text [CODE] and i use it... | android|textview|highlight|linkify | 0 | 2017-05-24T10:27:53.940Z | 2,017 | 5 | 10 | 2 | 576 | 1 | 613 | 33 | 4 | 3 | true | false | false | false | false | false | zero |
44,186,439 | Setting the Thumb and progress dialog color in Android using Yahoo library for RangeSeekBar | <p>I am not able to provide color of my choice to Thumb and progress dialog using "com.yahoo.mobile.client.android.util.rangeseekbar:rangeseekbar-library:0.1.0" library.</p>
<p>Below are the ways which I have tried:</p>
<ol>
<li>rangeseekBar.setDrawingCacheBackgroundColor(Color.BLACK);</li>
<li>rangeseekBar.setColorF... | I am not able to provide color of my choice to Thumb and progress dialog using "com.yahoo.mobile.client.android.util.rangeseekbar:rangeseekbar-library:0.1.0" library. Below are the ways which I have tried: rangeseekBar.setDrawingCacheBackgroundColor(Color.BLACK); rangeseekBar.setColorFilter(Color.YELLOW, PorterDuff.Mod... | android|colors|rangeseekbar | 0 | 2017-05-25T17:29:46.800Z | 2,017 | 5 | 17 | 3 | 576 | 1 | 468 | 91 | 3 | 0 | false | false | false | false | false | false | zero |
44,010,357 | Can't Parse XML file, no such file or directory | <p>I am trying to parse traffic data. This is my first attempt at parsing XML so please be kind!</p>
<p>I have this code -</p>
<pre><code>SAXParserFactory parserFactory = SAXParserFactory.newInstance();
SAXParser parser = null;
try {
parser = parserFactory.newSAXParser();
} catch ... | I am trying to parse traffic data. This is my first attempt at parsing XML so please be kind! I have this code - [CODE] In my manifest I have - [CODE] But when I run the app in the emulator it never asks for permission like locations does. The error I get is - [CODE] Why does it miss a / after http:/? Is that the probl... | android|xml-parsing | -1 | 2017-05-16T19:47:43.283Z | 2,017 | 5 | 19 | 1 | 832 | 1 | 473 | 47 | 2 | 3 | true | false | false | false | false | true | negative |
44,042,123 | How to filter and populate second spinner based on first spinner with PHP and MySQL on Android | <p>Please help!, How to use two spinner on android that second spinner data is filtered by first spinner with PHP & MySQL. im already set the second php url to filter the data, but i have no idea how to populate the second spinner with <code>doInBackground</code> ,<code>populateSpinner</code>, <code>onItemSelected<... | Please help!, How to use two spinner on android that second spinner data is filtered by first spinner with PHP & MySQL. im already set the second php url to filter the data, but i have no idea how to populate the second spinner with doInBackground , populateSpinner , onItemSelected etc. [CODE] | php|android|mysql|spinner|android-spinner | 1 | 2017-05-18T08:12:12.803Z | 2,017 | 5 | 8 | 3 | 832 | 1 | 294 | 94 | 5 | 1 | true | false | false | false | false | false | low |
43,931,174 | Android: Intercept touch gesture handling from the parent to the child view | <p>So I have the following view structure:</p>
<ul>
<li>LinearLayout
<ul>
<li>HorizontalScrollView</li>
<li>Other Child Views</li>
</ul></li>
</ul>
<p>The parent LinearLayout is clickable has a custom selector (changes color when pressed). I want to be able to touch the HorizontalScrollView within the LinearLayout a... | So I have the following view structure: LinearLayout HorizontalScrollView Other Child Views The parent LinearLayout is clickable has a custom selector (changes color when pressed). I want to be able to touch the HorizontalScrollView within the LinearLayout and still handle the touch in the LinearLayout as long as it is... | android|ontouchlistener|motionevent | 1 | 2017-05-12T06:54:24.523Z | 2,017 | 5 | 6 | 4 | 1,344 | 1 | 1,672 | 75 | 3 | 2 | true | false | false | false | false | false | low |
44,351,830 | React Native - Error calling AppRegistry.runApplication | <p>When I run a simple "AwesomeProject" app as stated in React Native Getting started page, the app runs on Nexus6 API 23 but <a href="https://i.stack.imgur.com/zgGSB.png" rel="noreferrer">error</a> is shown. I also tried the following methods to solve the error:</p>
<ul>
<li><p>adb reverse tcp:8081 tcp:8081... | When I run a simple "AwesomeProject" app as stated in React Native Getting started page, the app runs on Nexus6 API 23 but error is shown. I also tried the following methods to solve the error: adb reverse tcp:8081 tcp:8081, but doesn't work. "react-native start" in command line before running the a... | android|react-native | 5 | 2017-06-04T07:39:43.723Z | 2,017 | 6 | 7 | 6 | 1,600 | 1 | 474 | 55 | 2 | 0 | false | false | false | false | false | false | low |
43,958,190 | Android internet app doesn't render mobile website version properly | <p>So the case is - when I run my website under Android Chrome, it's all ok, but when I open it up in the default "internet" app, it doesn't render some html markup and js is run only to some extent. I used the Aurelia.js framework for coding it. How can I debug this behavior? Is there a way to somehow see the errors i... | So the case is - when I run my website under Android Chrome, it's all ok, but when I open it up in the default "internet" app, it doesn't render some html markup and js is run only to some extent. I used the Aurelia.js framework for coding it. How can I debug this behavior? Is there a way to somehow see the errors in j... | javascript|android|aurelia | 1 | 2017-05-13T21:32:32.273Z | 2,017 | 5 | 21 | 5 | 65 | 1 | 363 | 67 | 3 | 0 | false | false | false | false | false | false | low |
43,984,661 | Android toolbar abstract behaviour | <p>I want to make a toolbar with a simple about button.
I have tons of activities but I don't want to implement the same onOptionItemSelected and onCreateOptionsMenu as many times as many activities I have. Is there any way to give this toolbar some kind of abstraction?</p>
<p>Thank you!</p> | I want to make a toolbar with a simple about button. I have tons of activities but I don't want to implement the same onOptionItemSelected and onCreateOptionsMenu as many times as many activities I have. Is there any way to give this toolbar some kind of abstraction? Thank you! | android|toolbar|abstraction | 0 | 2017-05-15T16:34:49.463Z | 2,017 | 5 | 16 | 0 | 65 | 1 | 278 | 34 | 3 | 0 | false | false | false | false | false | false | zero |
44,021,208 | Android Wear Message API Encoding and Decoding Byte[] | <p>I've written a simple app the uses the Android Wear Messaging API. I followed a number of guides that all use a similar style of code for sending the message with some data which should be in byte[] form. </p>
<p>The code sending the message is </p>
<pre><code>Wearable.MessageApi.sendMessage(client, nodeId, messag... | I've written a simple app the uses the Android Wear Messaging API. I followed a number of guides that all use a similar style of code for sending the message with some data which should be in byte[] form. The code sending the message is [CODE] and the receiving code is [CODE] This seems to fit with a number of differen... | android|arrays|wear-os | 0 | 2017-05-17T09:44:21.517Z | 2,017 | 5 | 9 | 2 | 65 | 1 | 642 | 53 | 3 | 3 | true | false | false | false | false | false | zero |
44,046,049 | How to retrieve URL content using JAVA? | <p>I store the sensor data in a <em>web page</em> using GPRS and I want to retrieve this data to display it in an <strong>Android mobile</strong> application but i don't know how.</p>
<p>How can I read the content from a <strong><em>URL</em></strong> using <strong>JAVA?</strong> </p> | I store the sensor data in a web page using GPRS and I want to retrieve this data to display it in an Android mobile application but i don't know how. How can I read the content from a URL using JAVA? | java|android|url | -1 | 2017-05-18T11:06:37.317Z | 2,017 | 5 | 11 | 3 | 65 | 1 | 200 | 39 | 3 | 0 | false | false | false | false | false | true | negative |
44,070,039 | How to drag any view only on edges? | <p>Right now i'm trying to drag an ImageButton on edges i've used an tutorial but achive this:</p>
<p>Want to drag in Edges
<img src="https://i.stack.imgur.com/S9tF3.jpg" alt=""></p>
<p>Its dragging Everywhere-Its my output</p>
<p><img src="https://i.stack.imgur.com/lnxaW.jpg" alt=""></p>
<p>This is my code:</p>
<... | Right now i'm trying to drag an ImageButton on edges i've used an tutorial but achive this: Want to drag in Edges Its dragging Everywhere-Its my output This is my code: [CODE] | android | 0 | 2017-05-19T12:23:15.087Z | 2,017 | 5 | 12 | 4 | 65 | 1 | 175 | 35 | 1 | 1 | true | false | false | false | false | false | zero |
44,075,732 | '?' is not a valid resource character | <p>I need help adding '?' to my string values</p>
<pre><code><string name="use_budget_as_default_budget?">USE BUDGET AS DEFAULT BUDGET</string>
</code></pre>
<p><a href="https://i.stack.imgur.com/0u9Ld.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0u9Ld.png" alt="enter image descripti... | I need help adding '?' to my string values [CODE] | android|xml | -1 | 2017-05-19T17:23:15.070Z | 2,017 | 5 | 17 | 4 | 65 | 1 | 49 | 37 | 2 | 1 | true | false | false | false | false | true | negative |
44,217,826 | getting data from firebase but face Index error | <p>I want to display user name, but face index issues. All the markers show the same text.</p>
<p>I initialize the value of <code>i</code> on the top with <code>0</code>. What can I do the line <code>userbattery.setText("user battery:" + fcmUsers.get(i-1).Battery.toString());</code> that can display all the markers va... | I want to display user name, but face index issues. All the markers show the same text. I initialize the value of i on the top with 0 . What can I do the line userbattery.setText("user battery:" + fcmUsers.get(i-1).Battery.toString()); that can display all the markers value separately? [CODE] | android|firebase-realtime-database|google-maps-markers|indexof|android-maps | 0 | 2017-05-27T14:07:56.320Z | 2,017 | 5 | 14 | 5 | 65 | 1 | 293 | 47 | 5 | 1 | true | false | false | false | false | false | zero |
44,216,085 | DocumentFile.createDirectory() which will be writable as File object | <p>I have some paths on sd card on Android 7, which are unwritable using instant access requiring, so I have to use StorageVolume.createAccessIntent and therefore use DocumentFile later instead of File. But the problem is that I need to use File, because db lib(realm), that I'm using, simply uses File object to store d... | I have some paths on sd card on Android 7, which are unwritable using instant access requiring, so I have to use StorageVolume.createAccessIntent and therefore use DocumentFile later instead of File. But the problem is that I need to use File, because db lib(realm), that I'm using, simply uses File object to store data... | android|realm|android-permissions|android-sdcard|android-memory | 0 | 2017-05-27T11:06:20.127Z | 2,017 | 5 | 11 | 5 | 321 | 1 | 502 | 68 | 5 | 0 | false | false | false | false | false | false | zero |
44,291,002 | How to use the isEnabled method to disable child ListView items in android | <p>Well I want to disable some listview items. I understand I can override them in adapter. But I dont understand the part </p>
<p>// return false if position == position you want to disable</p>
<pre><code>public boolean isEnabled(int position) {
// return false if position == position you want to disable
}
</cod... | Well I want to disable some listview items. I understand I can override them in adapter. But I dont understand the part // return false if position == position you want to disable [CODE] Shall you mean I put it onCreate with something like [CODE] is it true by default? I am a bit confused | android|listview | 0 | 2017-05-31T17:15:33.853Z | 2,017 | 5 | 17 | 2 | 321 | 1 | 289 | 74 | 2 | 2 | true | false | false | false | false | false | zero |
44,312,696 | Avoid flicker when switching from low res image to GIF using Fresco | <p>I'm loading GIFs into SimpleDraweeViews in a RecyclerView using Fresco.</p>
<p>I'd like to load a static thumbnail first while the GIF is downloading and then the GIF as soon as it's available.</p>
<p>It's working, but there's a white flicker when the thumbnail is swapped for the GIF. Is there any way of avoiding ... | I'm loading GIFs into SimpleDraweeViews in a RecyclerView using Fresco. I'd like to load a static thumbnail first while the GIF is downloading and then the GIF as soon as it's available. It's working, but there's a white flicker when the thumbnail is swapped for the GIF. Is there any way of avoiding it? Setting the fad... | android|fresco | 0 | 2017-06-01T16:23:35.577Z | 2,017 | 6 | 16 | 3 | 321 | 1 | 706 | 67 | 2 | 2 | true | false | false | false | false | false | zero |
44,367,401 | Openh264 for arm android can't build | <p>I'm trying to build openh264 for arm(and arm64) of android but fail!!It's succees to other platform(x86/x64/mip/mip64).
OS : Ubuntu 14.04-i386 (hyper-v)
Nasm : is 2.10.9</p>
<p>Error message: </p>
<blockquote>
<p>ikaros@ikaros-Virtual-Machine:~/openh264/v1.6/openh264$ make os=android NDKROOT=~/ndk/android-ndk-r1... | I'm trying to build openh264 for arm(and arm64) of android but fail!!It's succees to other platform(x86/x64/mip/mip64). OS : Ubuntu 14.04-i386 (hyper-v) Nasm : is 2.10.9 Error message: ikaros@ikaros-Virtual-Machine:~/openh264/v1.6/openh264$ make os=android NDKROOT=~/ndk/android-ndk-r14b/ TARGET=android-12 ARCH=arm64 AP... | android|c++|ubuntu-14.04|openh264 | 1 | 2017-06-05T10:55:47.357Z | 2,017 | 6 | 10 | 0 | 321 | 1 | 21,924 | 36 | 4 | 0 | false | false | false | false | false | false | low |
44,290,768 | "Life-cycle" of device group in FCM | <p>I have managed to do an implementation that allows me to create a device group, add and remove registration ids from it and send messages to it, but now I have come to realize I don't understand when should I be calling this methods.</p>
<p>What I initially thought was </p>
<ul>
<li>Create a device group when a us... | I have managed to do an implementation that allows me to create a device group, add and remove registration ids from it and send messages to it, but now I have come to realize I don't understand when should I be calling this methods. What I initially thought was Create a device group when a user registers to the app Ad... | android|firebase|firebase-cloud-messaging | 0 | 2017-05-31T17:03:37.330Z | 2,017 | 5 | 17 | 2 | 833 | 1 | 1,994 | 35 | 3 | 0 | false | false | false | false | false | false | zero |
44,195,376 | Notification was not showing full layout | <p>I was working in android Custom Notifications, for that I designed Custom Layout. but when I got notification Some part of this layout was not showing. <a href="https://i.stack.imgur.com/8vSFt.png" rel="nofollow noreferrer">please check the screen shot of Notification</a></p>
<p>please some one suggest me how to us... | I was working in android Custom Notifications, for that I designed Custom Layout. but when I got notification Some part of this layout was not showing. please check the screen shot of Notification please some one suggest me how to use custom layouts for Notifications.how ever My code was like below. my actual custom la... | android|custom-notification | 0 | 2017-05-26T06:50:55.370Z | 2,017 | 5 | 6 | 4 | 1,089 | 1 | 421 | 40 | 2 | 2 | true | false | false | false | false | false | zero |
44,028,357 | Java StreamCorruptedException attempting deserialize the object read from SharedPreferences Android | <p>I'm trying to serialize an object from within it and deserialize it using this answer: <a href="https://stackoverflow.com/questions/8887197/reliably-convert-any-object-to-string-and-then-back-again">Reliably convert any object to String and then back again
</a></p>
<p>But I get StreamCorruptedException while deseri... | I'm trying to serialize an object from within it and deserialize it using this answer: Reliably convert any object to String and then back again But I get StreamCorruptedException while deserializing. [CODE] Here is the Class : [CODE] } I'm calling the load() function like this: [CODE] Since the Context is not seriliza... | java|android|serialization|sharedpreferences|deserialization | 1 | 2017-05-17T14:55:43.167Z | 2,017 | 5 | 14 | 2 | 1,345 | 1 | 373 | 99 | 5 | 3 | true | false | false | false | false | false | low |
44,295,340 | How to Invert boolean 'false' in typescript (ionic3 and cordova) | <p>I'm having a somewhat unexpected problem with inverting booleans in my application.</p>
<p><strong>Environment:</strong>
I'm having an application, written in typescript with Ionic 3 and I deploy it with help of cordova on an android device.</p>
<ul>
<li>Android API 25</li>
<li>Cordova version: 7.0.1</li>
<li>"@an... | I'm having a somewhat unexpected problem with inverting booleans in my application. Environment: I'm having an application, written in typescript with Ionic 3 and I deploy it with help of cordova on an android device. Android API 25 Cordova version: 7.0.1 "@angular/core": "4.1.0" "ionic-angular": "3.2.1" "@ionic/cli-pl... | android|angular|cordova|typescript|ionic3 | 0 | 2017-05-31T22:00:51.257Z | 2,017 | 5 | 22 | 2 | 1,345 | 1 | 751 | 64 | 5 | 2 | true | false | false | false | false | false | zero |
44,246,053 | AsyncStorage not working properly with react native on android | <p>AsyncStorage is not letting me overwrite or remove data.</p>
<p>This is my data</p>
<pre><code>const allData = [
{
txnId: '012',
category: '',
time: 'Today, 2:00pm',
amount: 129,
type: 'Personal',
images: [],
},
{
txnId: '011',
category: '',
time: 'Today, 1:00pm',
amou... | AsyncStorage is not letting me overwrite or remove data. This is my data [CODE] The following functions are where I want to save and retrieve from AsyncStorage. [CODE] My render function contains the following [CODE] There is nothing wrong with the state and props. Commenting out all the AsyncStorage stuff and logging ... | android|react-native|asyncstorage | 2 | 2017-05-29T15:31:37.530Z | 2,017 | 5 | 15 | 0 | 4,673 | 1 | 646 | 62 | 3 | 3 | true | false | true | false | false | false | low |
43,992,849 | Tween object array elements to one corner on touch-LibGdx | <p>In my game,I have array of coins appearing on a particular action.Once I touch the coins,coins have to move off smoothly(like flying) to one corner of the screen,one by one.
I am creating and drawing coin array like this:</p>
<pre><code>private Coin coins[] = new Coin[10];//coin array
for(int i=0;i<coins.length... | In my game,I have array of coins appearing on a particular action.Once I touch the coins,coins have to move off smoothly(like flying) to one corner of the screen,one by one. I am creating and drawing coin array like this: [CODE] draw coins [CODE] for detecting touch on coin: [CODE] I now want to use Universal TweenEngi... | java|android|libgdx|tween|universal-tween-engine | 0 | 2017-05-16T05:01:41.183Z | 2,017 | 5 | 5 | 1 | 66 | 1 | 550 | 57 | 5 | 3 | true | false | false | false | false | false | zero |
44,071,517 | Do I have to change the package name of com.amazonaws.mobilehelper to something else for the AWS MobileHub example | <p>I am using the MobileHub example app v0.16 to build my own app with it. I changed the application ID in build.gradle (Module:app). Do I also have to modify the package in the AWSMobileHelper manifest to avoid conflicts with other apps?</p> | I am using the MobileHub example app v0.16 to build my own app with it. I changed the application ID in build.gradle (Module:app). Do I also have to modify the package in the AWSMobileHelper manifest to avoid conflicts with other apps? | android|aws-mobilehub | 0 | 2017-05-19T13:34:55.117Z | 2,017 | 5 | 13 | 4 | 66 | 1 | 235 | 114 | 2 | 0 | false | false | false | false | false | false | zero |
44,098,451 | Transmit android sensors to pc server | <p>I am working on a project that gives notifications to a web application when some phone sensors change their values rapidly. I am new to android and even though I know how to get the sensors values in my phone, I'm not sure how to transmit them to my pc server. I will look into sockets for network/bluetooth transmit... | I am working on a project that gives notifications to a web application when some phone sensors change their values rapidly. I am new to android and even though I know how to get the sensors values in my phone, I'm not sure how to transmit them to my pc server. I will look into sockets for network/bluetooth transmittin... | android|python|sockets|server | 0 | 2017-05-21T15:14:30.467Z | 2,017 | 5 | 15 | 6 | 66 | 1 | 673 | 37 | 4 | 0 | false | false | false | false | false | false | zero |
44,152,902 | Android achartengine doughnut chart | <p>Hi all I am trying to reduce the inner radius of doughnut chart in Android development by using <code>achartengine</code>. I declared my chart layout as such:</p>
<pre><code><LinearLayout
android:id="@+id/doughtnut_chart"
android:layout_width="match_parent"
android:layout_height="match_parent"
... | Hi all I am trying to reduce the inner radius of doughnut chart in Android development by using achartengine . I declared my chart layout as such: [CODE] Then, I customized the renderer by using this: [CODE] However, the radius of the circle is not reducing. I can't find any solution online either. Any ideas? Thanks in... | java|android|achartengine | 0 | 2017-05-24T08:23:34.880Z | 2,017 | 5 | 8 | 2 | 66 | 1 | 329 | 35 | 3 | 2 | true | false | false | false | false | false | zero |
44,280,671 | Cant resize the ImageView to smaller size | <p>I am creating an application where when a service is started it will open a chat head like view overlay(Image). But I was able to achieve this while the image is very large and I could not change the size:</p>
<p>onCreate in service:</p>
<pre><code>public void onCreate() {
super.onCreate();
prefs ... | I am creating an application where when a service is started it will open a chat head like view overlay(Image). But I was able to achieve this while the image is very large and I could not change the size: onCreate in service: [CODE] | android|imageview | 0 | 2017-05-31T09:20:33.167Z | 2,017 | 5 | 9 | 2 | 66 | 1 | 233 | 41 | 2 | 1 | true | false | false | false | false | false | zero |
44,329,662 | SeeTest - Element not clicked | <p>I am new to mobile automation(using SeeTest) and tried to automate Gmail account on mobile browser. There is a "Switch account" element, which is captured while recording. But while execution, the driver is unable to find the element. What needs to be checked/done to solve this.</p> | I am new to mobile automation(using SeeTest) and tried to automate Gmail account on mobile browser. There is a "Switch account" element, which is captured while recording. But while execution, the driver is unable to find the element. What needs to be checked/done to solve this. | c#|android|selenium|seetest | 0 | 2017-06-02T13:02:20.233Z | 2,017 | 6 | 13 | 4 | 66 | 1 | 279 | 29 | 4 | 0 | false | false | false | false | false | false | zero |
44,208,306 | What is the difference between layout gravity and gravity in android? | <p>I always struggled when and where to use layout_gravity and gravity. Pleaae help me</p> | I always struggled when and where to use layout_gravity and gravity. Pleaae help me | android|android-layout | -4 | 2017-05-26T18:45:37.643Z | 2,017 | 5 | 18 | 4 | 578 | 1 | 83 | 69 | 2 | 0 | false | false | false | false | false | true | negative |
44,074,092 | Android drag and drop, endless layout | <p>I want a screen to arrange rectangles with drag & drop. Elements can be moved freely, so it's not a grid or list. I think I should use absolute positions.</p>
<p>My main problem is that I need an endless screen (when drag to right, scroll the screen to the right). One solution I found was to set width and heigh... | I want a screen to arrange rectangles with drag & drop. Elements can be moved freely, so it's not a grid or list. I think I should use absolute positions. My main problem is that I need an endless screen (when drag to right, scroll the screen to the right). One solution I found was to set width and height to 10000dp an... | android|drag-and-drop | 0 | 2017-05-19T15:42:06.307Z | 2,017 | 5 | 15 | 4 | 67 | 1 | 465 | 37 | 2 | 0 | false | false | false | false | false | false | zero |
44,096,464 | Xamarin, Android; GPS: Why is my app going into "OnProviderEnabled"? | <p>When I implement the ILocationManager, VS automatically adds this interface:</p>
<pre><code>public void OnProviderDisabled(string provider)
{
throw new NotImplementedException();
}
public void OnProviderEnabled(string provider)
{
throw new NotImplementedException();
}
public void OnStatusChanged(string pr... | When I implement the ILocationManager, VS automatically adds this interface: [CODE] Now, after it initialized the location manager, my app jumps into the "OnProviderEnabled" function. But why is that? Of course, it crashes and gives me: "System.NotImplementedException: The method or operation is not implemented." I don... | android|xamarin|gps|xamarin.android | 2 | 2017-05-21T11:45:30.763Z | 2,017 | 5 | 11 | 6 | 67 | 1 | 443 | 68 | 4 | 1 | true | false | false | false | false | false | low |
44,108,018 | listview toggle button click to stop alarmManager of different class | <p>So i have a listview in my main activity that contains a toggle button
i want to initialize and use toggle button
what i know is that i should initialise it in my getView..not in my onCreate since its in the listview
but whether i set it in onCreate or getView i get a null pointer exception pointing to my line tog... | So i have a listview in my main activity that contains a toggle button i want to initialize and use toggle button what i know is that i should initialise it in my getView..not in my onCreate since its in the listview but whether i set it in onCreate or getView i get a null pointer exception pointing to my line toggle.s... | android|listview|togglebutton|getview | 0 | 2017-05-22T08:24:35.797Z | 2,017 | 5 | 8 | 0 | 67 | 1 | 458 | 68 | 4 | 1 | true | false | false | false | false | false | zero |
44,111,587 | Fragments influence each other in Android ,how to prevent? | <p>I'm using 1 Activity and 4 TabFragment in Android. When I add a keylistener in second TabFragment using EditText , My first TabFragment opens keyboard. I controlled that 2 xml_layout different each other.</p>
<p>So any idea why Fragments affect each other and how to prevent this ? . Did you anyone face that proble... | I'm using 1 Activity and 4 TabFragment in Android. When I add a keylistener in second TabFragment using EditText , My first TabFragment opens keyboard. I controlled that 2 xml_layout different each other. So any idea why Fragments affect each other and how to prevent this ? . Did you anyone face that problem ? tab_frag... | android|android-edittext|fragment | -1 | 2017-05-22T11:22:05.617Z | 2,017 | 5 | 11 | 0 | 67 | 1 | 480 | 58 | 3 | 3 | true | false | false | false | false | true | negative |
44,127,301 | Multiple application of xamarin android created | <p>I'm learning Xamarin Android using Visual Studio 2017. Debugging the application using the emulator is very slow and tedious so I started using android phone to test and debug the application. At the initial stages, there was no any issue. But as the number of activities increases the number of application in the ph... | I'm learning Xamarin Android using Visual Studio 2017. Debugging the application using the emulator is very slow and tedious so I started using android phone to test and debug the application. At the initial stages, there was no any issue. But as the number of activities increases the number of application in the phone... | xamarin.android | 2 | 2017-05-23T06:28:05.517Z | 2,017 | 5 | 6 | 1 | 67 | 1 | 726 | 47 | 1 | 0 | false | false | false | false | false | false | low |
44,174,461 | Don't encode json from php | <p>I have 2 files php: connect.php and getsp.php. As follow:</p>
<p><strong>- Connect.php:</strong></p>
<pre><code> $host = "localhost";
$username = "root";
$password = "";
$database = "thietbi";
$conn = mysqli_connect($host, $username, $password, $database);
mysqli_query($conn, "SET NAMES 'uf... | I have 2 files php: connect.php and getsp.php. As follow: - Connect.php: [CODE] - Getsp.php [CODE] When I run file "Getsp.php", result is white blank page. I replace getsp.php with content: [CODE] The result is not. Where did I wrong? I tried 2 ways: [CODE] and [CODE] The results are not encode JSON. Hope to get help f... | php|android|json | 0 | 2017-05-25T07:12:24.020Z | 2,017 | 5 | 7 | 3 | 67 | 1 | 333 | 26 | 3 | 5 | true | false | false | false | false | false | zero |
44,260,136 | ReactNativeFCM Notifications | <p>I am sending a notification with both notification and data payloads from a server to an Android app. When the application is in background and notification arrives, when I tap and open it, the data (which is an image URL) is shown to the client. So far so good. My problem is the following: After I reload javascript... | I am sending a notification with both notification and data payloads from a server to an Android app. When the application is in background and notification arrives, when I tap and open it, the data (which is an image URL) is shown to the client. So far so good. My problem is the following: After I reload javascript, F... | javascript|android|firebase|react-native|firebase-cloud-messaging | 0 | 2017-05-30T10:47:50.760Z | 2,017 | 5 | 10 | 1 | 67 | 1 | 475 | 28 | 5 | 0 | false | false | false | false | false | false | zero |
44,295,279 | SQLite database saves String as "0" | <p>I've just learned how to use SQLite database in Android. And i have one error which i cant figure out.</p>
<p>When i try to save string in my sqlite database, it saves it always as "0", no matter which string i use as an input. This is my code example.</p>
<pre><code> ContentValues values = new ContentValues();... | I've just learned how to use SQLite database in Android. And i have one error which i cant figure out. When i try to save string in my sqlite database, it saves it always as "0", no matter which string i use as an input. This is my code example. [CODE] I have class Crime which have it's unique UUID, title, date and if ... | java|android|database|sqlite | -3 | 2017-05-31T21:56:01.417Z | 2,017 | 5 | 21 | 2 | 67 | 1 | 767 | 35 | 4 | 2 | true | false | false | false | false | true | negative |
44,333,031 | Switch android device from user to engineer version and vise-versa? Root device to Unrooted device? | <p>I am looking for an option to switch device software from Engineer version to user version i.e device have root access but need to disable root access of an Android device.</p>
<p>Is there a way such that we can toggle between root enable/disable option. </p> | I am looking for an option to switch device software from Engineer version to user version i.e device have root access but need to disable root access of an Android device. Is there a way such that we can toggle between root enable/disable option. | android|shell|operating-system|adb | 0 | 2017-06-02T15:57:17.947Z | 2,017 | 6 | 15 | 4 | 67 | 1 | 247 | 99 | 4 | 0 | false | false | false | false | false | false | zero |
44,027,227 | Add animations for Multi-Screen intro tutorial - Xamarin.Android | <p>I need to make multi-screen intro tutorial for our app. It should look like this--> <em>First screen has animation and it automatically starts->user swipes to change page (screen)->Second screen has animation and it automatically starts->user swipes...</em> And so on for four screens. </p>
<p>I have made an example... | I need to make multi-screen intro tutorial for our app. It should look like this--> First screen has animation and it automatically starts->user swipes to change page (screen)->Second screen has animation and it automatically starts->user swipes... And so on for four screens. I have made an example which works perfect ... | c#|android|animation|xamarin|xamarin.android | 0 | 2017-05-17T14:08:06.030Z | 2,017 | 5 | 14 | 2 | 323 | 1 | 1,293 | 64 | 5 | 4 | true | false | false | false | false | false | zero |
44,288,187 | Is proguard minifying my constants? | <p>In a recent release of my App I added proguard. A weird error started to show up:</p>
<pre><code>Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'java.lang.String com.siplay.myapp.b.e.e.b()' on a null object reference
</code></pre>
<p>The error is being triggered in this line:</p>
... | In a recent release of my App I added proguard. A weird error started to show up: [CODE] The error is being triggered in this line: [CODE] MEDIA_TYPE_VIDEO is a constant and is declared like this: [CODE] I read in many posts that Proguard doesn't mess with the constants declarations. However it must be the offuscated c... | android|proguard|android-lifecycle | 1 | 2017-05-31T14:59:28.027Z | 2,017 | 5 | 14 | 2 | 323 | 1 | 508 | 35 | 3 | 4 | true | false | false | false | false | false | low |
44,103,901 | How to Replace data in SQLite Table - Android C# Xamarin | <p>I am trying to make it so I can Edit data in the SQLite Table, but it is giving me and error. What I want to do is to Click the Edit button and have the data already displayed in the ListView be edited with a new string from an Alert Dialog.</p>
<p>Update / Edit Code:</p>
<pre><code>public void UpdateNote(String n... | I am trying to make it so I can Edit data in the SQLite Table, but it is giving me and error. What I want to do is to Click the Edit button and have the data already displayed in the ListView be edited with a new string from an Alert Dialog. Update / Edit Code: [CODE] This will be called from an Alert Dialog Positive B... | c#|android|mysql|sqlite|xamarin | 1 | 2017-05-22T02:44:54.027Z | 2,017 | 5 | 2 | 0 | 579 | 1 | 607 | 56 | 5 | 5 | true | false | false | false | false | false | low |
44,367,245 | How to save google-services.json file | <p>I'm trying to connect my app to firebase. What do I need to do to save the google-services.json file? My computer automatically download it to text file (I uploaded the pic of the download). How to open and download it? </p>
<p><img src="https://i.stack.imgur.com/zKA6L.png" alt="enter image description here"></p> | I'm trying to connect my app to firebase. What do I need to do to save the google-services.json file? My computer automatically download it to text file (I uploaded the pic of the download). How to open and download it? | android|android-studio|firebase | 0 | 2017-06-05T10:46:39.797Z | 2,017 | 6 | 10 | 0 | 579 | 1 | 219 | 37 | 3 | 0 | false | false | false | false | false | false | zero |
44,371,711 | Android customised box plot chart | <p>How do I implement a box plot graph on Android like this? It seems to be similar to CandleStick Chart of MPAndroidChart. Is there any other good way?</p>
<p><img src="https://i.stack.imgur.com/0OcGF.jpg" alt="a box and whiskers chart"></p> | How do I implement a box plot graph on Android like this? It seems to be similar to CandleStick Chart of MPAndroidChart. Is there any other good way? | android|charts|mpandroidchart | 0 | 2017-06-05T14:53:04.360Z | 2,017 | 6 | 14 | 0 | 579 | 1 | 149 | 33 | 3 | 0 | false | false | false | false | false | false | zero |
43,936,828 | How to let react native <Text> recognize Icon characters which are set as String type | <p>I am in a react native project using Iconfont characters.</p>
<p>I set a object like this:</p>
<pre><code>rowData = {iconCode: '&#xe655;'}
</code></pre>
<p>I want to put iconCode into <code><Text>{rowData.iconCode}</Text></code>. But after rendered, the result is <code><Text>'&#xe655;'&l... | I am in a react native project using Iconfont characters. I set a object like this: [CODE] I want to put iconCode into <Text>{rowData.iconCode}</Text> . But after rendered, the result is <Text>''</Text> . So how can I turn String type '' into plain characters  like <Text></Text> ? React ... | javascript|android|react-native | 0 | 2017-05-12T11:33:46.667Z | 2,017 | 5 | 11 | 4 | 68 | 1 | 428 | 85 | 3 | 1 | true | false | false | false | false | false | zero |
43,945,627 | How to go about setting up routing for android application user interface? | <p><a href="https://i.stack.imgur.com/lHnut.png" rel="nofollow noreferrer">App Background</a></p>
<p>I am attempting to create a small indoor position system for my university. I'm currently trying to figure out the best course of action to design a routing algorithm, and how that would work on the user interface.</p>... | App Background I am attempting to create a small indoor position system for my university. I'm currently trying to figure out the best course of action to design a routing algorithm, and how that would work on the user interface. For example, say the "user" is at a specific (x, y) point on the map, and I want to route ... | android|android-layout|routing|indoor-positioning-system | 0 | 2017-05-12T20:00:42.710Z | 2,017 | 5 | 20 | 4 | 68 | 1 | 737 | 74 | 4 | 0 | false | false | false | false | false | false | zero |
43,948,035 | ionic ios simulator not scrolling (Android ok) | <p>I am new to ionic and setup a simple test app with a couple lists. I launched in the ios simulator and it wouldn't scroll - there wasn't even any feedback to suggest it understood the UI interaction. It worked fine in the android simulator.</p>
<p>I worked it out and I wanted to put this out there for any others ... | I am new to ionic and setup a simple test app with a couple lists. I launched in the ios simulator and it wouldn't scroll - there wasn't even any feedback to suggest it understood the UI interaction. It worked fine in the android simulator. I worked it out and I wanted to put this out there for any others in this situa... | android|ios|scroll|ionic2 | 0 | 2017-05-13T00:21:12.817Z | 2,017 | 5 | 0 | 5 | 68 | 1 | 325 | 46 | 4 | 0 | false | false | false | false | false | false | zero |
44,280,823 | App name in shared facebook post need to navigate to facebook page | <p>I want to navigate from app name to facebook page.
I shared post from my android app.</p>
<p>Location of app name</p>
<p>In developers.facebook I tried with add platform and have option to add web site, but can't add facebook link to fb page.
Is there way to do this?
Only solution that comes to my mind is to add... | I want to navigate from app name to facebook page. I shared post from my android app. Location of app name In developers.facebook I tried with add platform and have option to add web site, but can't add facebook link to fb page. Is there way to do this? Only solution that comes to my mind is to add url to some website ... | android|facebook|android-facebook | 1 | 2017-05-31T09:26:03.690Z | 2,017 | 5 | 9 | 2 | 68 | 1 | 372 | 66 | 3 | 0 | false | false | false | false | false | false | low |
44,365,698 | Android mosby Access to view from presenter | <p>I would like to access to view widgets such as <code>TextView</code> or <code>EditText</code> from presenter, how can i do that,</p>
<p>in my activity main i want to change <code>scheduleDateTimeNotify</code> text from presenter</p>
<pre><code>public class ActivityChannelContent extends MvpActivity<ActivityChan... | I would like to access to view widgets such as TextView or EditText from presenter, how can i do that, in my activity main i want to change scheduleDateTimeNotify text from presenter [CODE] Presenter: [CODE] ActivityChannelContentPresenterImpl: [CODE] ActivityChannelContentViewModel: [CODE] ActivityChannelContentView i... | android|mosby | 0 | 2017-06-05T09:24:03.703Z | 2,017 | 6 | 9 | 0 | 324 | 1 | 336 | 43 | 2 | 5 | true | false | false | false | false | false | zero |
44,014,852 | When registering a new version APK how to do a partial update? | <p>When I register my app and upload it to a new version, I know that users who are already installed download only the updated part.
But when I check it, every time I upgrade, I get updates as much as the full size of my app.
I used one obb file and every time I made a new version, I uploaded a new version code apk, a... | When I register my app and upload it to a new version, I know that users who are already installed download only the updated part. But when I check it, every time I upgrade, I get updates as much as the full size of my app. I used one obb file and every time I made a new version, I uploaded a new version code apk, a ne... | android|google-play-services|apk-expansion-files | -2 | 2017-05-17T03:07:57.230Z | 2,017 | 5 | 3 | 2 | 580 | 1 | 527 | 62 | 3 | 0 | false | false | false | false | false | true | negative |
43,972,834 | Android. Do I need to dispose Maybe inside onBindViewHolder? | <p>I'm executing a heavy request inside <code>MayBe</code> observable in my adapter.</p>
<pre><code>@Override
public void onBindViewHolder(MyViewHolder holder, int position) {
final RealmArticle obj = getItem(position);
int idTask = obj.getIdTask();
Disposable mayBeCount = Maybe.fromCallable(()->
... | I'm executing a heavy request inside MayBe observable in my adapter. [CODE] The question is: Should I dispose the mayBeCount ? If so, in what life cycle moment is it better to do this? | android|realm|rx-java2 | 1 | 2017-05-15T06:32:18.937Z | 2,017 | 5 | 6 | 0 | 836 | 1 | 184 | 60 | 3 | 1 | true | false | false | false | false | false | low |
43,942,045 | Get trending (mostPopular) channels and playlist of Youtube based on region | <p>As I know we have a Youtube API to get trending youtube videos based on a region by using below API detail:</p>
<p><code>https://developers.google.com/youtube/v3/docs/videos/list</code> and giving <code>chart=mostPopular</code>.</p>
<p>I have a similar requirement:</p>
<p>1). To get trending channels and playlist... | As I know we have a Youtube API to get trending youtube videos based on a region by using below API detail: https://developers.google.com/youtube/v3/docs/videos/list and giving chart=mostPopular . I have a similar requirement: 1). To get trending channels and playlist of youtube based on region. 2). Get users video his... | android|youtube|youtube-api|youtube-data-api|android-youtube-api | 1 | 2017-05-12T16:01:40.120Z | 2,017 | 5 | 16 | 4 | 1,092 | 1 | 435 | 75 | 5 | 0 | false | false | false | false | false | false | low |
43,991,405 | Firebase RealTime Database + Google Sign In | <p>How can I use Firebase Realtime Database when I only want to use the Google Sign-In? Is there a way to tell the database that I am logged in?</p>
<p>As default the rules say:</p>
<pre><code>write: auth != null
read: auth != null
</code></pre>
<p>How can I tell the DB that after I signed in through Google Sign-In... | How can I use Firebase Realtime Database when I only want to use the Google Sign-In? Is there a way to tell the database that I am logged in? As default the rules say: [CODE] How can I tell the DB that after I signed in through Google Sign-In that "auth != null" . I hope I made myself clear, if not please let me know. ... | android|firebase|firebase-realtime-database|firebase-authentication|firebase-security | 0 | 2017-05-16T02:03:53.643Z | 2,017 | 5 | 2 | 1 | 1,092 | 1 | 603 | 43 | 5 | 3 | true | false | false | false | false | false | zero |
44,343,320 | Where from is READ_PHONE_STATE permission injected to my AndroidManifest? | <p>In my application, out of nowhere, there's a <code>READ_PHONE_STATE</code> permission added.
It is not included in my AndroidManifest.xml</p>
<p>I've tried to trace where it comes from, and I have found it in <code>manifest-merger-release-report.txt</code> file, however, it says:</p>
<pre><code>MERGED from [com.an... | In my application, out of nowhere, there's a READ_PHONE_STATE permission added. It is not included in my AndroidManifest.xml I've tried to trace where it comes from, and I have found it in manifest-merger-release-report.txt file, however, it says: [CODE] I've checked all of those AndroidPermission.xml files and none of... | android|android-gradle-plugin|android-manifest | 0 | 2017-06-03T11:16:40.873Z | 2,017 | 6 | 11 | 5 | 1,348 | 1 | 752 | 73 | 3 | 1 | true | false | false | false | false | false | zero |
44,173,531 | How to add pause/resume audio recording functionality in android app | <p>I want to implement pause and resume functionality in my audio recoreder.I have searched about it but there i found that i have to stop and merge audio files.How can i do it?please help me, any help will be greatly appreciated.</p>
<pre><code> record.setOnClickListener(new View.OnClickListener() {
@O... | I want to implement pause and resume functionality in my audio recoreder.I have searched about it but there i found that i have to stop and merge audio files.How can i do it?please help me, any help will be greatly appreciated. [CODE] | java|android|audio-recording|android-mediarecorder | 2 | 2017-05-25T06:14:07.063Z | 2,017 | 5 | 6 | 3 | 1,604 | 1 | 234 | 68 | 4 | 1 | true | false | false | false | false | false | low |
44,277,554 | How to combine 2 .mp4 videos on android device? | <p>The goal is to combine 2 .mp4 videos like one playing after the other. There are countless references to ffmpeg, which is not a very good option since it involves NDK making the project really heavy for some not so significant function.</p>
<p>I came to know that mediacodec has been improved a lot. I need a guide t... | The goal is to combine 2 .mp4 videos like one playing after the other. There are countless references to ffmpeg, which is not a very good option since it involves NDK making the project really heavy for some not so significant function. I came to know that mediacodec has been improved a lot. I need a guide to help me t... | android|android-mediaplayer|android-mediacodec|mediamuxer | 2 | 2017-05-31T06:47:44.293Z | 2,017 | 5 | 6 | 2 | 2,884 | 1 | 595 | 47 | 4 | 1 | true | false | true | false | false | false | low |
44,289,557 | Retrieving Data from Firebase with certain ID | <p>I have an ID of User, and i want to take his name from the firebase. So, i am trying to use orderByKey() method to find a certain user and after that, take information from his profile. But something goes wrong ...</p>
<pre><code>reference = FirebaseDatabase.getInstance().getReference("Users");
Query query = re... | I have an ID of User, and i want to take his name from the firebase. So, i am trying to use orderByKey() method to find a certain user and after that, take information from his profile. But something goes wrong ... [CODE] Firebase Structure | android|firebase|firebase-realtime-database | 1 | 2017-05-31T16:02:19.407Z | 2,017 | 5 | 16 | 2 | 2,884 | 1 | 240 | 45 | 3 | 1 | true | false | true | false | false | false | low |
43,973,185 | ConstraintLayout: Unable to scale image to fit a ratio in RecyclerView | <ul>
<li>I have a recycler view with StaggeredGridLayoutManager. </li>
<li>Within in I have custom items/views. </li>
<li>Each item is defined as a ConstraintLayout where there is an image which is supposed to have a constant aspect ratio.</li>
<li>But the image is to still be able to scale to fit the width of each spa... | I have a recycler view with StaggeredGridLayoutManager. Within in I have custom items/views. Each item is defined as a ConstraintLayout where there is an image which is supposed to have a constant aspect ratio. But the image is to still be able to scale to fit the width of each span. And then the height should be adjus... | android|android-recyclerview|aspect-ratio|android-constraintlayout | 13 | 2017-05-15T06:56:11.583Z | 2,017 | 5 | 6 | 0 | 13,380 | 1 | 707 | 70 | 4 | 3 | true | false | true | true | true | false | medium |
43,993,963 | Login failed condition not working properly | <p>I have an app in which user authentication is done sending a request and if response is successful the app navigated to next activity.If username password is correct it navigates but if it is incorrect the dialog box pops up and does not close and in my logs I get </p>
<pre><code>java.io.IOException: HTTP/1.1 401 T... | I have an app in which user authentication is done sending a request and if response is successful the app navigated to next activity.If username password is correct it navigates but if it is incorrect the dialog box pops up and does not close and in my logs I get [CODE] I have handled it in my code that if response is... | android | -1 | 2017-05-16T06:29:55.997Z | 2,017 | 5 | 6 | 1 | 69 | 1 | 585 | 43 | 1 | 2 | true | false | false | false | false | true | negative |
44,010,860 | sending receiving images Parse server (Android) and populate in listview keeping order | <p>In chat application, I am using Parse server. I want to send text and images.
Images are not receiving in the same order as it was send to the server due to call back method. I am displaying images in listView when images are retrieved fully via callBAck method. So that, order of images are disturbed.</p>
<p>In dif... | In chat application, I am using Parse server. I want to send text and images. Images are not receiving in the same order as it was send to the server due to call back method. I am displaying images in listView when images are retrieved fully via callBAck method. So that, order of images are disturbed. In different chat... | android|parse-server | 0 | 2017-05-16T20:19:36.800Z | 2,017 | 5 | 20 | 1 | 69 | 1 | 456 | 86 | 2 | 0 | false | false | false | false | false | false | zero |
44,013,301 | How to delete a node after "x" days - Node expiration date? | <p>I am looking to delete a node after a certain time, let's say that I want to place the node an expiration date of 5 days and in those 5 days delete the node. How can I do it?</p>
<p>My data structure is like this:</p>
<pre><code> Posts:
PushedKey:value
</code></pre>
<p>How can I delete this <code>pushedKey<... | I am looking to delete a node after a certain time, let's say that I want to place the node an expiration date of 5 days and in those 5 days delete the node. How can I do it? My data structure is like this: [CODE] How can I delete this pushedKey after certain time? | android|firebase|firebase-realtime-database | 0 | 2017-05-16T23:42:54.753Z | 2,017 | 5 | 23 | 1 | 69 | 1 | 265 | 59 | 3 | 1 | true | false | false | false | false | false | zero |
44,140,870 | How can I save an audio recording on app crash? | <p>I'm trying to build a custom Android plugin for an Ionic app. This plugin is used to record audio. When the app crashes or is killed by the user my <code>FileOutputStrem</code> is not closed correctly and my <code>MediaPlayer</code> no longer plays the file (which has the correct filepath). I am looking for a soluti... | I'm trying to build a custom Android plugin for an Ionic app. This plugin is used to record audio. When the app crashes or is killed by the user my FileOutputStrem is not closed correctly and my MediaPlayer no longer plays the file (which has the correct filepath). I am looking for a solution that is a sort of autosave... | android|ios|audio|ionic-framework|plugins | 1 | 2017-05-23T16:56:37.573Z | 2,017 | 5 | 16 | 1 | 69 | 1 | 561 | 47 | 5 | 1 | true | false | false | false | false | false | low |
44,215,174 | RealmConfiguration.Builder with DocumentFile | <p>I'm struggling with storing a realm db on the sd card. The point is that I have to use DocumentFile instead of simple File object to have write access. Another words:</p>
<pre><code>Uri uri = getUriInstanceToSaveDB(); // my inner method
new File(uri.getPath()).canWrite() == false
DocumentFile.fromTreeUri(getActivi... | I'm struggling with storing a realm db on the sd card. The point is that I have to use DocumentFile instead of simple File object to have write access. Another words: [CODE] Therefore I can't just store data using RealmConfiguration.Builder() (cause it uses File object as storing mechanism). Of course, I've also tried ... | android|realm|android-sdcard|realm-mobile-platform | 1 | 2017-05-27T09:25:08.223Z | 2,017 | 5 | 9 | 5 | 69 | 1 | 382 | 44 | 4 | 1 | true | false | false | false | false | false | low |
44,269,118 | null object reference when trying to show widget | <p>i'm trying to show the simplest widget with just a few pictures,
and everytime i try to show it the app crashes and i get null string refrence</p>
<pre><code>Attempt to invoke interface method 'java.lang.String java.lang.CharSequence.toString()' on a null object reference
... | i'm trying to show the simplest widget with just a few pictures, and everytime i try to show it the app crashes and i get null string refrence [CODE] i switched all the tostrings, and string implementetions in the widget code, but it still doesn't help. here is my MainClockWidget: [CODE] } MainClockWidgetConfigureActiv... | android|string|android-studio|widget | 0 | 2017-05-30T18:10:53.770Z | 2,017 | 5 | 18 | 1 | 69 | 1 | 384 | 48 | 4 | 4 | true | false | false | false | false | false | zero |
43,980,590 | Save actually progress progressBar onSaveInstanceState | <p>I have problem with save current progress bar on onSaveInstanceState. I save current time in progress but when exit with activity and back
resume preogress don't dispaly time which left. </p>
<p>this class show Progress bar </p>
<pre><code>public class CardDetailsActivity extends AppCompatActivity {
private ... | I have problem with save current progress bar on onSaveInstanceState. I save current time in progress but when exit with activity and back resume preogress don't dispaly time which left. this class show Progress bar [CODE] | java|android | 0 | 2017-05-15T13:15:35.863Z | 2,017 | 5 | 13 | 0 | 325 | 1 | 222 | 54 | 2 | 1 | true | false | false | false | false | false | zero |
43,989,972 | app compiling but not running after changing package name | <p>I am trying to compile <a href="https://github.com/DrKLO/Telegram" rel="nofollow noreferrer">Telegram Android</a>.</p>
<p>I renamed package name and edited AndroidManifest.</p>
<p>When i Clean and Rebuild project,every thing is fine,Even when i compile project and export the APK,there is no error but when i run the ... | I am trying to compile Telegram Android . I renamed package name and edited AndroidManifest. When i Clean and Rebuild project,every thing is fine,Even when i compile project and export the APK,there is no error but when i run the app,The app crashes and i get this error(from android monitor): [CODE] I searched the whol... | android|android-studio | 1 | 2017-05-15T22:51:49.283Z | 2,017 | 5 | 22 | 0 | 581 | 1 | 451 | 57 | 2 | 1 | true | false | false | false | false | false | low |
44,151,093 | How to use calligraphy library in Android | <p>I want use <a href="https://github.com/chrisjenx/Calligraphy" rel="nofollow noreferrer">Calligraphy library</a> in my project, but in my application is use this code for change <strong>google map</strong> language : </p>
<pre><code>@Override
protected void attachBaseContext(Context newBase) {
}
</code></pre>
<p>fo... | I want use Calligraphy library in my project, but in my application is use this code for change google map language : [CODE] for use calligraphy i should use this code : [CODE] How can i use two attachBaseContext in my project? | android|calligraphy | 0 | 2017-05-24T06:57:27.710Z | 2,017 | 5 | 6 | 2 | 581 | 1 | 227 | 41 | 2 | 2 | true | false | false | false | false | false | zero |
44,317,045 | Share file using Glide | <p>I'm trying to share GIF file. I want to share it via any social networking apps, I have a problem with file name. I don't how to get name file. This is my code:</p>
<pre><code>llsetwallpapers.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// set a... | I'm trying to share GIF file. I want to share it via any social networking apps, I have a problem with file name. I don't how to get name file. This is my code: [CODE] | android|android-glide|android-intent-chooser | -1 | 2017-06-01T21:03:09.897Z | 2,017 | 6 | 21 | 3 | 1,093 | 1 | 167 | 22 | 3 | 1 | true | false | false | false | false | true | negative |
43,963,525 | FCM how to display data from notification click in another activity | <p>I have an application that receive FCM notification, I want to display the content of notification and data payload in another activity, my challenge is when I click notification, it direct me to the desire activity but I don't get the information displayed.</p>
<p>Please help, the following is my code</p>
<pre><c... | I have an application that receive FCM notification, I want to display the content of notification and data payload in another activity, my challenge is when I click notification, it direct me to the desire activity but I don't get the information displayed. Please help, the following is my code [CODE] my desire activi... | android|firebase|firebase-cloud-messaging | 1 | 2017-05-14T11:49:21.317Z | 2,017 | 5 | 11 | 6 | 1,605 | 1 | 432 | 67 | 3 | 3 | true | false | false | false | false | false | low |
44,256,709 | Android Studio 3.0 Canary 2 update error | <p>Error:/build/intermediates/incremental/mergeDebugAndroidTestResources/merged.dir/values/values.xml:3 invalid color
Error:java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed:</p> | Error:/build/intermediates/incremental/mergeDebugAndroidTestResources/merged.dir/values/values.xml:3 invalid color Error:java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed: | android-studio-3.0 | 0 | 2017-05-30T08:00:54.777Z | 2,017 | 5 | 8 | 1 | 1,605 | 1 | 247 | 40 | 1 | 0 | false | false | false | false | false | false | zero |
43,963,381 | App crashes on clicking on textView in fragment | <p>I'm creating an app in which there are three tab activity.In tab Three i have a textview name as login text whenever user click on this text a new activity should be opened but app crashes when we click on this.
I have done many research to resolve this problem but i'm unable to resolve at last i'm here for the sol... | I'm creating an app in which there are three tab activity.In tab Three i have a textview name as login text whenever user click on this text a new activity should be opened but app crashes when we click on this. I have done many research to resolve this problem but i'm unable to resolve at last i'm here for the solutio... | android-fragments | 0 | 2017-05-14T11:32:11.637Z | 2,017 | 5 | 11 | 6 | 70 | 1 | 444 | 47 | 1 | 1 | true | false | false | false | false | false | zero |
44,095,173 | How to retrieve the key:true Firebase pattern in Android | <p>I'm new with firebase and I have some doubts that I've spend some time in try to find a solution: </p>
<p>This is my database looks:</p>
<pre><code>user
- l5tCeZmcZtXLITJugdtfHsK647s1
email: "myemail@sample.com"
name: "Bob"
- userType
guestType: 1
- wedding
Kke0cr5NUGEgg3rq_Mf: t... | I'm new with firebase and I have some doubts that I've spend some time in try to find a solution: This is my database looks: [CODE] That I'm trying to do is how get the userType data and the wedding data, that is done with the pattern that said the firebase documentation key:true. This is that I'm doing and I can see t... | android|firebase|firebase-realtime-database | 0 | 2017-05-21T09:21:05.100Z | 2,017 | 5 | 9 | 6 | 70 | 1 | 470 | 56 | 3 | 3 | true | false | false | false | false | false | zero |
44,180,258 | Xamarin Forms MvvmCross and Xamarin iOS/Android co-existing | <p>I have an app written using Xamarin iOS and Android and it uses MvvmCross.</p>
<p>I would like to gradually migrate it to Xamarin Forms. So this would mean new views/controls would be Xamarin Forms, but existing views/Controls would be migrated over time as and when they need to change.</p>
<p>Is it possible for X... | I have an app written using Xamarin iOS and Android and it uses MvvmCross. I would like to gradually migrate it to Xamarin Forms. So this would mean new views/controls would be Xamarin Forms, but existing views/Controls would be migrated over time as and when they need to change. Is it possible for Xamarin Forms, iOS, ... | xamarin.ios|xamarin.android|xamarin.forms|migration|mvvmcross | 0 | 2017-05-25T12:10:19.103Z | 2,017 | 5 | 12 | 3 | 70 | 1 | 499 | 59 | 5 | 0 | false | false | false | false | false | false | zero |
44,224,754 | Is it possible to save crashes log to an email using Fabric Crashlytics in android? | <p>I am developing an android app, and I used Fabric Crashlytics to see my crashes, it works well but I want Fabric to send the crashes logs to an email and then I see them from my email.</p> | I am developing an android app, and I used Fabric Crashlytics to see my crashes, it works well but I want Fabric to send the crashes logs to an email and then I see them from my email. | android|appfabric|twitter-fabric|google-fabric | 0 | 2017-05-28T07:15:44.813Z | 2,017 | 5 | 7 | 6 | 70 | 1 | 184 | 83 | 4 | 0 | false | false | false | false | false | false | zero |
44,303,190 | Android custom listview intents How to let it work? | <p>I made a custom listView and custom array adapter with 1 image and 2 textviews. What I want to work is when you click on an item in the listview that it opens a new activity with an intent.</p>
<p>this is the mainactivity </p>
<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCr... | I made a custom listView and custom array adapter with 1 image and 2 textviews. What I want to work is when you click on an item in the listview that it opens a new activity with an intent. this is the mainactivity [CODE] this the custom adapter [CODE] here is the xml custom listview [CODE] and the xml from the main ac... | android|xml|android-layout|listview | 1 | 2017-06-01T09:08:57.530Z | 2,017 | 6 | 9 | 3 | 70 | 1 | 376 | 51 | 4 | 4 | true | false | false | false | false | false | low |
44,317,012 | Android Studio App don't work on Lollipop or KitKat only on 6.0 | <p>The App shows the text from a Url. I used Jsoup for this project and the app works very good on devices with API 23 but I would like to support devices from KitKat and Lollipop too. The Buttons and the TextViews work but the internet text is not there.
I hope somebody can help me.... </p>
<p>This is my project's bu... | The App shows the text from a Url. I used Jsoup for this project and the app works very good on devices with API 23 but I would like to support devices from KitKat and Lollipop too. The Buttons and the TextViews work but the internet text is not there. I hope somebody can help me.... This is my project's build.gradle f... | java|jsoup|android-4.4-kitkat|android-studio-2.3 | 0 | 2017-06-01T21:00:43.307Z | 2,017 | 6 | 21 | 3 | 326 | 1 | 434 | 63 | 4 | 3 | true | false | false | false | false | false | zero |
44,179,357 | Android - save layout as image displays black image | <p>I am generating an image on a button click. The layout used to create the image from is not currently visible inside the activity. A vector image is a background of the layout but all I see is black image.</p>
<pre><code><LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:ori... | I am generating an image on a button click. The layout used to create the image from is not currently visible inside the activity. A vector image is a background of the layout but all I see is black image. [CODE] Generating image [CODE] What is wrong? | java|android|android-bitmap | 0 | 2017-05-25T11:22:16.667Z | 2,017 | 5 | 11 | 3 | 582 | 1 | 251 | 51 | 3 | 2 | true | false | false | false | false | false | zero |
44,326,727 | SQLite Android studio, update Values | <p>im woriking on Trivia game, and i need to do score++ for every right question that the user answer, how can i do it in SQLITe?
this is my DBHELPER.<br>
i want to add 1 to score for user Name by his UserName, can anyone help me please?</p>
<pre><code>private static final String DATABASE_NAME = "ScoreUsers.db";
publ... | im woriking on Trivia game, and i need to do score++ for every right question that the user answer, how can i do it in SQLITe? this is my DBHELPER. i want to add 1 to score for user Name by his UserName, can anyone help me please? [CODE] | android|sqlite|android-sqlite | -1 | 2017-06-02T10:29:59.610Z | 2,017 | 6 | 10 | 4 | 582 | 1 | 237 | 36 | 3 | 1 | true | false | false | false | false | true | negative |
44,176,406 | Fluctuating values of Magnetometer | <p>I am using the inbuilt magnetometer in my mobile phone for magnetic field readings. I noticed that if I keep my phone stationary at some place even then the values being shown keep on fluctuating. I want to know the reason why this is happening and what can I do to get a constant reading at one place.
<a href="https... | I am using the inbuilt magnetometer in my mobile phone for magnetic field readings. I noticed that if I keep my phone stationary at some place even then the values being shown keep on fluctuating. I want to know the reason why this is happening and what can I do to get a constant reading at one place. Graph for change ... | android|magnetometer | 1 | 2017-05-25T08:59:05.720Z | 2,017 | 5 | 8 | 3 | 838 | 1 | 362 | 34 | 2 | 0 | false | false | false | false | false | false | low |
44,176,585 | JUnit testing with KOTLIN android studio [Basic Calculator] | <p>I am very new to android developing and recently did my first project. It is only a basic calculator with addition, subtraction, multiplication and division.</p>
<p>Now, I am looking to go into Unit testing using JUnits with KOTLIN. How should I go about doing this? I've been searching around and have no idea.</p>
... | I am very new to android developing and recently did my first project. It is only a basic calculator with addition, subtraction, multiplication and division. Now, I am looking to go into Unit testing using JUnits with KOTLIN. How should I go about doing this? I've been searching around and have no idea. Calculator Java... | java|android|junit|kotlin | 0 | 2017-05-25T09:08:36.067Z | 2,017 | 5 | 9 | 3 | 838 | 1 | 367 | 59 | 4 | 2 | true | false | false | false | false | false | zero |
44,022,610 | Management web-app and mobile version | <p>I am building a management web application based on php + mysql, developed with CakePhp framework.</p>
<p>Now I have been commissioned to develop the mobile version, mainly for android and ios devices (no windows, until now...)
leaving apart that right now i have to study from scratch mobile apps development, the q... | I am building a management web application based on php + mysql, developed with CakePhp framework. Now I have been commissioned to develop the mobile version, mainly for android and ios devices (no windows, until now...) leaving apart that right now i have to study from scratch mobile apps development, the questions ar... | android|ios|cakephp | -4 | 2017-05-17T10:43:11.350Z | 2,017 | 5 | 10 | 2 | 71 | 1 | 681 | 37 | 3 | 0 | false | false | false | false | false | true | negative |
44,090,937 | Does removeCallbacksAndMessages serialize? | <p>For purposes of example, suppose I have two methods that will be called asynchronously, doDelayEventA and doEventB. To simplify things we will assume that doDelayEventA will be called once and doEventB will be called once.</p>
<p>doDelayEventA starts a timer (actually a Handler) and doEventB kills it (if it is stil... | For purposes of example, suppose I have two methods that will be called asynchronously, doDelayEventA and doEventB. To simplify things we will assume that doDelayEventA will be called once and doEventB will be called once. doDelayEventA starts a timer (actually a Handler) and doEventB kills it (if it is still pending).... | android|handler | 0 | 2017-05-20T21:23:47.790Z | 2,017 | 5 | 21 | 5 | 71 | 1 | 641 | 42 | 2 | 1 | true | false | false | false | false | false | zero |
44,146,787 | can I add admob inside onCreateViewHolder programatically? | <p>I'd like to place an admob in my <code>RecyclerView</code>. So I add this in my <code>ViewHolder</code>:</p>
<pre><code>@Override
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View v;
if (viewType == ad) {
ad_act = 1;
v = LayoutInflater.from(parent.getContext())
... | I'd like to place an admob in my RecyclerView . So I add this in my ViewHolder : [CODE] The problem is the banner is not appearing. what am I missing? my adview.xml : [CODE] What is wrong? Why can't I see ads? any ideas? | android|android-studio|admob | 0 | 2017-05-23T23:53:05.770Z | 2,017 | 5 | 23 | 1 | 71 | 1 | 220 | 58 | 3 | 2 | true | false | false | false | false | false | zero |
44,335,127 | Recycler view open new activity | <p>I implement another activity which needs to be open when click on card but i getting Error:(56, 48) error: incompatible types: anonymous Callback JSONResponse cannot be converted to Context even if i convert to JSONResponse then there is another error. Problem is in that JSONResponse but i can't solve it.</p>
<p><s... | I implement another activity which needs to be open when click on card but i getting Error:(56, 48) error: incompatible types: anonymous Callback JSONResponse cannot be converted to Context even if i convert to JSONResponse then there is another error. Problem is in that JSONResponse but i can't solve it. DataAdapter.j... | java|android|json|retrofit2 | -1 | 2017-06-02T18:14:47.557Z | 2,017 | 6 | 18 | 4 | 71 | 1 | 405 | 31 | 4 | 2 | true | false | false | false | false | true | negative |
44,343,010 | Xamarin.Android Firebase auth crash | <p>Im using Firebase authentication 42.1021.1 (latest stable).
In OnCreate method I have the following:</p>
<pre><code>var firebaseApp = FirebaseApp.InitializeApp(this);
var authIntance = FirebaseAuth.GetInstance(firebaseApp);
</code></pre>
<p>But getting firebaseApp as null. After each clean re-build it works normal... | Im using Firebase authentication 42.1021.1 (latest stable). In OnCreate method I have the following: [CODE] But getting firebaseApp as null. After each clean re-build it works normally. Note: I have the 'google-service.json' build action set as GoogleServicesJson. | android|firebase|xamarin|xamarin.android|firebase-authentication | 0 | 2017-06-03T10:39:46.820Z | 2,017 | 6 | 10 | 5 | 327 | 1 | 264 | 35 | 5 | 1 | true | false | false | false | false | false | zero |
44,118,353 | Geting google sign in error 12501 | <p>During google sign in I am getting the status code 12501</p>
<pre><code>@Override
public void onActivityResult(final SignInView loginView, int requestCode, int resultCode, Intent data) {
if (requestCode == Constants.RC_SIGN_IN) {
result = Auth.GoogleSignInApi.getSignInResultFromIntent(data);... | During google sign in I am getting the status code 12501 [CODE] I have gone through the below links multiple times and check each steps multiple times, but all in vain. New Google sign in Android Error 12501 authenticating with google sign-in Here if I am using the google-service.JSON downloaded from my own account(tes... | android|oauth-2.0|google-play-services|google-plus-signin | 1 | 2017-05-22T16:57:00.810Z | 2,017 | 5 | 16 | 0 | 1,095 | 1 | 602 | 33 | 4 | 1 | true | false | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.