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
37,028,694
Flipping and changing image in ImageView
<p>I am working on a App that is simple in work and it is working quite efficiently. But I have one place where I am looking something is not looking great and that is flipping Animation. </p> <p>What I Want : </p> <p>I have a Button and a ImageView beneath the button. On a Button click I want to make a Animation tha...
I am working on a App that is simple in work and it is working quite efficiently. But I have one place where I am looking something is not looking great and that is flipping Animation. What I Want : I have a Button and a ImageView beneath the button. On a Button click I want to make a Animation that it looks like Image...
android|android-animation|android-imageview
7
2016-05-04T13:04:41.173Z
2,016
5
13
2
9,686
3
1,203
40
3
2
true
false
true
false
false
false
medium
37,028,741
automatically select first item in list view, and do some other things being called in OnItemClickListener() without having to click
<p>total noob to android and java here.</p> <p>I found some code on github for connecting a USB GPS device with a u-blox chip. it is here: <a href="https://github.com/mikey0000/Ublox-GPS-receiver-android" rel="nofollow">https://github.com/mikey0000/Ublox-GPS-receiver-android</a> (It took me about 2 days to figure ou...
total noob to android and java here. I found some code on github for connecting a USB GPS device with a u-blox chip. it is here: https://github.com/mikey0000/Ublox-GPS-receiver-android (It took me about 2 days to figure out how to compile this, so yes I am that much of a noob). I have the device connected in a car andr...
android|listview
0
2016-05-04T13:07:13.923Z
2,016
5
13
2
1,450
3
1,599
132
2
4
true
false
false
false
false
false
zero
37,028,758
Android App freezing after setting image bitmap
<p>I am working on an app that has a background image. Because this image is really large I've used some code to make sure that is is small enough to not let the app run out of memory. But after setting the bitmap to the ImageView the app freezes and starts skipping frames. When I press on a button, nothing happens, no...
I am working on an app that has a background image. Because this image is really large I've used some code to make sure that is is small enough to not let the app run out of memory. But after setting the bitmap to the ImageView the app freezes and starts skipping frames. When I press on a button, nothing happens, no an...
java|android|image|bitmap|freeze
0
2016-05-04T13:07:46.707Z
2,016
5
13
2
867
1
489
47
5
3
true
false
false
false
false
false
zero
37,028,787
Android onDestroy and finish
<p>I found some answer about the difference between onDestroy and finish.</p> <blockquote> <p>Finish will remove the activity from the stack, but will not free the memory and will not call onDestroy in every time. onDestroy will kill the activity and free the memory.</p> </blockquote> <p>In my situation: There ...
I found some answer about the difference between onDestroy and finish. Finish will remove the activity from the stack, but will not free the memory and will not call onDestroy in every time. onDestroy will kill the activity and free the memory. In my situation: There are 2 activities. A is main activity and B is a acti...
android|ondestroy
0
2016-05-04T13:09:26.563Z
2,016
5
13
2
2,650
1
859
28
2
1
true
false
true
false
false
false
zero
37,028,843
BeanShell error message in android studio
<p>I am a beginner in java , I was making a simple calculator app in <a href="http://developer.android.com/tools/studio/index.html" rel="nofollow noreferrer">Android Studio</a> using <a href="http://www.beanshell.org/" rel="nofollow noreferrer">Beanshell</a> . When I run the project , It works fine only on my emulator ...
I am a beginner in java , I was making a simple calculator app in Android Studio using Beanshell . When I run the project , It works fine only on my emulator . For real devices , this app can be installed only . When I try to run , the app crashes showing " Unfortunately 'X' app has been stopped . My code is too simple...
java|android|beanshell
2
2016-05-04T13:11:42.067Z
2,016
5
13
2
638
1
887
41
3
3
true
false
false
false
false
false
low
37,028,860
java.lang.IllegalStateException: Object is no longer managed by Realm. Has it been deleted?
<p>I m learning Realm and Recyclerview. I made simple app where you can simple add items and delete them. Everything is working fine until when i start deleting item one by one. At the very last item when I click delete it give me exception</p> <pre><code>java.lang.IllegalStateException: Object is no longer managed by...
I m learning Realm and Recyclerview. I made simple app where you can simple add items and delete them. Everything is working fine until when i start deleting item one by one. At the very last item when I click delete it give me exception [CODE] This is my code [CODE] Here is full stack [CODE]
android|android-recyclerview|realm
7
2016-05-04T13:12:29.950Z
2,016
5
13
2
3,692
1
293
91
3
3
true
false
true
false
false
false
medium
37,028,948
Can not select mapview on listview
<p>I have a <code>listview</code> which some rows are text and some are <code>mapview</code> </p> <p>I able to select texts but i can't select <code>mapviews</code> </p> <p>How i setup <code>mapview</code> on adapter:</p> <pre><code> /** * Initialises the MapView by calling its lifecycle methods. */ pu...
I have a listview which some rows are text and some are mapview I able to select texts but i can't select mapviews How i setup mapview on adapter: [CODE] I also tried below solutions: [CODE] But does not works, what is the problem? and how can i fix it? Thanks in advance,
android|google-maps|listview|selection|android-mapview
0
2016-05-04T13:15:56.670Z
2,016
5
13
2
138
0
272
34
5
2
true
true
false
false
false
false
zero
37,029,191
Android TimePickerDialog text color
<p>When I use TimePickerDialog in Android >= 5 all is OK. But in Android 4.4 text color for not chosen items is white (or transparent). What's wrong?</p> <p><a href="https://i.stack.imgur.com/Fb6ct.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fb6ct.png" alt="enter image description here"></a></p>...
When I use TimePickerDialog in Android >= 5 all is OK. But in Android 4.4 text color for not chosen items is white (or transparent). What's wrong? styles.xml [CODE] using [CODE]
android|material-design
0
2016-05-04T13:25:27.343Z
2,016
5
13
2
455
0
177
35
2
2
true
true
false
false
false
false
zero
37,029,243
How to store call logs from android device on localhost database?
<p>I am working on an android app and I want to store call logs in database. Can someone please tell me is it possible and how to do it programmatically? Thanks</p> <p>Here is my code for accessing call logs from the device</p> <p>call logs.java</p> <pre><code>public class Call_log extends Activity { @Override ...
I am working on an android app and I want to store call logs in database. Can someone please tell me is it possible and how to do it programmatically? Thanks Here is my code for accessing call logs from the device call logs.java [CODE]
android|database|localhost|calllog
0
2016-05-04T13:27:48.170Z
2,016
5
13
2
608
0
235
65
4
1
true
true
false
false
false
false
zero
37,029,250
I am not able to pass data from one activity to another using bundles
<p><strong>This is the error's log:</strong></p> <blockquote> <p>I/art: Background sticky concurrent mark sweep GC freed 9226(1168KB) AllocSpace objects, 4(84KB) LOS objects, 0% free, 47MB/47MB, paused 1.006ms total 123.548ms</p> <p>W/art: Suspending all threads took: 5.356ms</p> <p>W/ArrayMap: New has...
This is the error's log: I/art: Background sticky concurrent mark sweep GC freed 9226(1168KB) AllocSpace objects, 4(84KB) LOS objects, 0% free, 47MB/47MB, paused 1.006ms total 123.548ms W/art: Suspending all threads took: 5.356ms W/ArrayMap: New hash 0 is before end of array hash 6295518 at index 4 key java.lang.Runtim...
android|android-studio
-3
2016-05-04T13:28:00.657Z
2,016
5
13
2
906
1
1,773
69
2
2
true
false
false
false
false
true
negative
37,029,301
How to store user information in relational database using Amazon AWS for Facebook Login in Android
<p>I am currently developing an Android app and have a Facebook login up and running. What I am trying to do next is store the user information in a relation database service in Amazon AWS. I have set up an instance on Amazon and from previous research, I am under the impression a user pool needs to be created to store...
I am currently developing an Android app and have a Facebook login up and running. What I am trying to do next is store the user information in a relation database service in Amazon AWS. I have set up an instance on Amazon and from previous research, I am under the impression a user pool needs to be created to store th...
android|facebook|amazon-web-services|android-studio|amazon-s3
1
2016-05-04T13:29:56.683Z
2,016
5
13
2
353
1
1,198
99
5
3
true
false
false
false
false
false
low
37,029,387
Dismiss DialogFragment onClick not working properly
<p>I have an dialogfragment and its view consists of a simple seekbar and positive and negative buttons. When I dismiss dialogfragment onclick, a new dialogfragment is created and showed. After second click on button, dialog is dismissed, but my desire is dismissing after first click. Also I should note that my activit...
I have an dialogfragment and its view consists of a simple seekbar and positive and negative buttons. When I dismiss dialogfragment onclick, a new dialogfragment is created and showed. After second click on button, dialog is dismissed, but my desire is dismissing after first click. Also I should note that my activity h...
android|android-fragments|android-alertdialog|android-dialogfragment
0
2016-05-04T13:32:39.500Z
2,016
5
13
2
1,876
1
461
51
4
2
true
false
false
false
false
false
zero
37,029,403
App crash when I'm using MvxListview with ItemClick
<p>I'm using a MvxListView and trying to bind a Command to ItemClick event, but when I'm put ItemClick in local:MvxBind attribute, my app crash on open the page that contain the MvxListView. If I not use the ItemClick in local:MvxBind, the MvxListView work, but if I use ItemClick, when I open the MvxListView page, the ...
I'm using a MvxListView and trying to bind a Command to ItemClick event, but when I'm put ItemClick in local:MvxBind attribute, my app crash on open the page that contain the MvxListView. If I not use the ItemClick in local:MvxBind, the MvxListView work, but if I use ItemClick, when I open the MvxListView page, the app...
c#|xamarin|xamarin.android|mvvmcross
1
2016-05-04T13:33:20.597Z
2,016
5
13
2
224
2
4,423
51
4
4
true
false
false
false
false
false
low
37,029,437
Existing Realm Database file not working with Realm 0.90.0
<p>I created Realm Database file using earlier versions of Realm. Due to errors in the previous production build, I am trying to update it to the new version but it failed </p> <pre><code>Error:Execution failed for task ':app:transformClassesWithRealmTransformerForDebug'. &gt; javassist.NotFoundException: io.realm.MyM...
I created Realm Database file using earlier versions of Realm. Due to errors in the previous production build, I am trying to update it to the new version but it failed [CODE] Update After running ./gradlew clean assemble - [CODE] Update 2 [CODE]
android|realm
1
2016-05-04T13:34:44.027Z
2,016
5
13
2
401
0
246
58
2
3
true
true
false
false
false
false
low
37,029,556
How to align the textView to right or left based on the values from database
<p>i am new to android programing. i am developing a android mobile application where data will be coming from mysql database and on the based on the logged in user, i want to shift the textview to the right and rest values on the left. For now i am only trying to move the "rahul" values on the right.</p> <p>JSON Valu...
i am new to android programing. i am developing a android mobile application where data will be coming from mysql database and on the based on the logged in user, i want to shift the textview to the right and rest values on the left. For now i am only trying to move the "rahul" values on the right. JSON Values: [CODE] ...
java|android
0
2016-05-04T13:39:41.500Z
2,016
5
13
2
267
1
543
76
2
2
true
false
false
false
false
false
zero
37,029,586
Unable to pass set text values dynamically to a text view in android
<p>I am using Layout inflator in my application to suit my requirements. I have text view, edittext and button in the layout. Here is my xml file</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/linearlayoutid" android:layout_width="match_parent" android:layo...
I am using Layout inflator in my application to suit my requirements. I have text view, edittext and button in the layout. Here is my xml file [CODE] I want to generate 'n' number of text views and pass the values from database. I used layout inflator here and below is my code [CODE] Its is generating 'n' number of tex...
android|textview|layout-inflater
0
2016-05-04T13:40:50.570Z
2,016
5
13
2
562
1
577
68
3
2
true
false
false
false
false
false
zero
37,029,629
How to check username from editeText value to sqlite
<p>How to check username from editeText value to sqlite. i want to make login system by check name at database. Please guideline or show example to me. Sorry for bad English. </p> <p>Database name "mydatabase" Table name "members"</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"...
How to check username from editeText value to sqlite. i want to make login system by check name at database. Please guideline or show example to me. Sorry for bad English. Database name "mydatabase" Table name "members" [CODE]
java|android|sqlite|authentication
0
2016-05-04T13:42:37.210Z
2,016
5
13
2
97
0
226
52
4
1
true
true
false
false
false
false
zero
37,029,667
FFmpeg watermark duration
<p>I am developing an Android app, which will work with FFmpeg library which only applies multiple watermarks on some test.mp4 video. For that case I am using the Android java library for FFmpeg binary from that source: [<a href="http://writingminds.github.io/ffmpeg-android-java/]" rel="nofollow">http://writingminds.gi...
I am developing an Android app, which will work with FFmpeg library which only applies multiple watermarks on some test.mp4 video. For that case I am using the Android java library for FFmpeg binary from that source: [ http://writingminds.github.io/ffmpeg-android-java/] which is working fine for some examples, but I ju...
java|android|video|ffmpeg|android-library
0
2016-05-04T13:44:12.083Z
2,016
5
13
2
496
0
995
25
5
4
true
true
false
false
false
false
zero
37,029,679
MPAndroid Chart - Chart not updating
<p>Im using the Horizontal MPAndroid chart to display income/Expense and the chart works for the most. I can change the information displayed although I can only change it if I do it in <strong>OnViewCreated</strong>. Nothing at all happens if I try doing it from the activity in which the fragment is displayed and I ha...
Im using the Horizontal MPAndroid chart to display income/Expense and the chart works for the most. I can change the information displayed although I can only change it if I do it in OnViewCreated . Nothing at all happens if I try doing it from the activity in which the fragment is displayed and I have absolutely no id...
java|android|android-fragments|android-studio|mpandroidchart
2
2016-05-04T13:45:00.383Z
2,016
5
13
2
2,209
3
549
36
5
1
true
false
false
false
false
false
low
37,029,727
How do i solve issue with adding support:design?
<p>I need to implement <code>TextInputLayout</code> for this i need to add this line in my code</p> <pre><code>compile 'com.android.support:design:23.3.0' </code></pre> <p>and after that i have tryed make a lot of different things to solve it but without success(</p> <p>Here is my build</p> <pre><code>buildscript {...
I need to implement TextInputLayout for this i need to add this line in my code [CODE] and after that i have tryed make a lot of different things to solve it but without success( Here is my build [CODE] Some resources have already been defined and shows the error .. What does it mean? What i am doing wrong? Now accordi...
java|android
0
2016-05-04T13:47:44.010Z
2,016
5
13
2
79
3
458
48
2
2
true
false
false
false
false
false
zero
37,029,805
How can I change action bar title with different style in different fragments?
<p>I am trying to change my 2 fragments action bar's with different titles. However, I am getting variable <code>fragment</code> might not have been initialized error in these lines:</p> <p><code>ProfileFragment fragment = (ProfileFragment) fragment.get(0)</code>;</p> <pre><code>StartingTestFragment fragment2 = (Star...
I am trying to change my 2 fragments action bar's with different titles. However, I am getting variable fragment might not have been initialized error in these lines: ProfileFragment fragment = (ProfileFragment) fragment.get(0) ; [CODE] in CombineFragmentActivity in onPageSelected method.Thanks for helps. CombineFragme...
java|android|android-fragments|android-actionbar|fragment
0
2016-05-04T13:51:18.107Z
2,016
5
13
2
1,042
1
3,555
78
5
4
true
false
false
false
false
false
zero
37,029,824
Implement recyclerview in a fragment
<p>I've created a recyclerView into a fragment. Everything goes well but when i scroll in the list of elements, the attributes change without reason</p> <p>Here is the code of the fragment:</p> <pre><code>public class HistorySectionFragment extends Fragment { private static final String TAG = HistorySectionFragment.c...
I've created a recyclerView into a fragment. Everything goes well but when i scroll in the list of elements, the attributes change without reason Here is the code of the fragment: [CODE] The problem is when the recyclerview calls to create new elements. EDIT: When i say the attributes change i mean the information of e...
java|android|android-recyclerview
-1
2016-05-04T13:51:54.360Z
2,016
5
13
2
95
3
352
36
3
1
true
false
false
false
false
true
negative
37,029,837
Android Java LocationManager not removing LocationListener
<p>I am working on a simple GeoFence Service. I am not using the GeofencingApi because I am working with a jni bridge and making the library available would be to much overhead for my project.</p> <p>So my Problem now is, that the LocationManager is not removing Updates after I am calling removeUpdates. I don't underst...
I am working on a simple GeoFence Service. I am not using the GeofencingApi because I am working with a jni bridge and making the library available would be to much overhead for my project. So my Problem now is, that the LocationManager is not removing Updates after I am calling removeUpdates. I don't understand why. M...
java|android|location|locationlistener
0
2016-05-04T13:52:18.690Z
2,016
5
13
2
230
0
786
58
4
1
true
true
false
false
false
false
zero
37,029,996
How to check the process status after it is killed, or is this even possible?
<p>Some code in which intentionally a null pointer exception is introduced as follows: </p> <p><a href="http://www.developerphil.com/dont-store-data-in-the-application-object/" rel="nofollow noreferrer">Credits</a></p> <pre><code>// access modifiers omitted for brevity class MyApplication extends Application { ...
Some code in which intentionally a null pointer exception is introduced as follows: Credits [CODE] //==================================== [CODE] //====================================================== [CODE] The user starts the app. In WhatIsYourNameActivity, you ask for the name of the user and you store it in MyAppl...
java|android|linux|object|process
3
2016-05-04T13:58:28.150Z
2,016
5
13
2
299
2
1,422
77
5
6
true
false
false
false
false
false
low
37,030,050
Run Splash Layout only the First Time
<p>I want to launch my Splash Screen only when the application is launched for the First time. My Splash Screen is linked with another screen which also comes only for the first time. My code for Splash Screen is:</p> <pre><code>public class SplashPage extends Activity{ private static int startPage = 7000; SharedPrefe...
I want to launch my Splash Screen only when the application is launched for the First time. My Splash Screen is linked with another screen which also comes only for the first time. My code for Splash Screen is: [CODE] Now what i wanted to do that here is that Splash Runs for 7 seconds for the first time app launched an...
android|sharedpreferences|splash-screen|launcher
0
2016-05-04T14:01:00.793Z
2,016
5
14
2
1,269
1
817
37
4
3
true
false
false
false
false
false
zero
37,030,054
Android - Google maps API not showing maps
<p>I am using google maps API with my android app and its not showing anything but blank maps.</p> <p><a href="http://i.stack.imgur.com/yOngg.png" rel="nofollow">Here</a> is the screen shot.</p> <p>I have obtained an API key from google developers and pasted into google_maps_api.xml both in debug and release version....
I am using google maps API with my android app and its not showing anything but blank maps. Here is the screen shot. I have obtained an API key from google developers and pasted into google_maps_api.xml both in debug and release version. [CODE] I registered my app on google developers account also Screenshot I did not ...
java|android|api|google-maps
0
2016-05-04T14:01:03.463Z
2,016
5
14
2
127
2
413
42
4
2
true
false
false
false
false
false
zero
37,030,336
Espresso. Error performing 'load adapter data'
<p>I have a ListView, which shows data from a database.</p> <pre><code> db = new DB(this); db.open(); String[] from = new String[]{DB.COLUMN_FIRSTNAME, DB.COLUMN_LASTNAME}; int[] to = new int[]{android.R.id.text1, android.R.id.text2}; scAdapter = new SimpleCursorAdapter(this, android.R.la...
I have a ListView, which shows data from a database. [CODE] It shows the first name and last name from the database as a list of items: Click to UI So, today I tried to use Espresso with this app and I can't find a way to click on the item containing the text. When I use: [CODE] It works perfectly. But I want to click ...
android|android-espresso
15
2016-05-04T14:12:30.343Z
2,016
5
14
2
11,339
1
608
46
2
3
true
false
true
false
true
false
medium
37,030,387
get Jitpack as jar but need aar
<p>I try to include the <a href="https://github.com/kaltura/player-sdk-native-android" rel="nofollow">kaltura/player-sdk-native-android</a> library in my project.</p> <p>kaltura dosn't provide a compiled version at maven. So I try to include it via <a href="https://jitpack.io" rel="nofollow">jitpack.io</a></p> <pre><...
I try to include the kaltura/player-sdk-native-android library in my project. kaltura dosn't provide a compiled version at maven. So I try to include it via jitpack.io [CODE] But I get this error message [CODE] When I open the build log I can see that the submodules are build as aar but how can I load them via jitpack?
android|maven|jitpack
2
2016-05-04T14:14:54.583Z
2,016
5
14
2
602
1
320
31
3
2
true
false
false
false
false
false
low
37,030,396
Skipping Fragments During Swipes with a FragmentPagerAdapter
<p>I'm fairly new to Android programming, so this is [hopefully|probably] a silly question.</p> <p>I'm copying the behavior of an iOS app that has 4 tabs along the bottom.</p> <p>Initially, the only 2 that are active are the first and the last. The center 2 only get activated after a successful search.</p> <p>I like...
I'm fairly new to Android programming, so this is [hopefully|probably] a silly question. I'm copying the behavior of an iOS app that has 4 tabs along the bottom. Initially, the only 2 that are active are the first and the last. The center 2 only get activated after a successful search. I like the swipe-to-change behavi...
android|android-viewpager|swipe|fragmentpageradapter
3
2016-05-04T14:15:22.343Z
2,016
5
14
2
757
1
1,050
60
4
0
false
false
false
false
false
false
low
37,030,494
Error Getting Device Information on Different Android Hardware/OS
<p>I'm using the following plugin on my Cordova project:</p> <blockquote> <p>com.vliesaputra.deviceinformation</p> </blockquote> <p>Here is a sample of my code:</p> <pre><code>var deviceInfo = cordova.require('cordova/plugin/DeviceInformation'); deviceInfo.get(GotDeviceInfo, function () { alert('error'); } fu...
I'm using the following plugin on my Cordova project: com.vliesaputra.deviceinformation Here is a sample of my code: [CODE] On my Samsung Galaxy S5 SM-G900F (Android 5.0) I'm getting accurate information on the phone and sim numbers, but on my TomTom PRO 8275 (Android 4.3) I get TM.ERROR for both values. I assume TM me...
android|cordova|plugins
1
2016-05-04T14:19:38.950Z
2,016
5
14
2
532
1
754
65
3
1
true
false
false
false
false
false
low
37,030,554
Android: OnClickListener in RecyclerView items behaves different in emulator and on real device
<p>I'm quite new to Android developing - and quite stunned:</p> <p>I have an Activity showing a RecyclerView with CardViews added to it.</p> <p>Each CardView has a View.OnClickListener attached and each CardView also contains an ImageView which has a View.OnLongClickListener attached. Furthermore the RecyclerView has...
I'm quite new to Android developing - and quite stunned: I have an Activity showing a RecyclerView with CardViews added to it. Each CardView has a View.OnClickListener attached and each CardView also contains an ImageView which has a View.OnLongClickListener attached. Furthermore the RecyclerView has a RecyclerView.Ite...
android|android-emulator
0
2016-05-04T14:21:45.273Z
2,016
5
14
2
478
0
2,201
95
2
4
true
true
false
false
false
false
zero
37,030,562
Dagger 2 issue with sub-component and a component with a dependency component
<p>I'm working on Dagger 2 and met with a dependency injection issue. I'll give you an idea into the problem. I've an ApplicationComponent as shown below.</p> <pre><code>@Singleton @Component(modules = {AppModule.class, MySubComponent.class}) public interface ApplicationComponent { void inject(Application app); ...
I'm working on Dagger 2 and met with a dependency injection issue. I'll give you an idea into the problem. I've an ApplicationComponent as shown below. [CODE] As you can see, I've a sub-component defined in the above component. [CODE] This is how I created application component instance. Here's the sub-component [CODE]...
android|dagger-2
1
2016-05-04T14:22:05.367Z
2,016
5
14
2
3,311
1
885
77
2
6
true
false
true
false
false
false
low
37,030,642
how to control views inside navigationview header
<p>i followed a tutorial at <a href="http://www.android4devs.com/2015/06/navigation-view-material-design-support.html" rel="nofollow">http://www.android4devs.com/2015/06/navigation-view-material-design-support.html</a> and have implemented it in my project but i wanat to change the text in the header view dynamically a...
i followed a tutorial at http://www.android4devs.com/2015/06/navigation-view-material-design-support.html and have implemented it in my project but i wanat to change the text in the header view dynamically as a user logs in, but my reference to the textview always returns as null, i've tried everything. heres my header...
android|textview|widget
0
2016-05-04T14:24:50.663Z
2,016
5
14
2
248
1
474
49
3
3
true
false
false
false
false
false
zero
37,030,648
Manage communication between two app using service and messenger
<p>I want to develop two apps. I need an app able to start and stop a second app. To do this I set up a messenger between these two apps using a service. The service is sticked to the second app.</p> <p>I initialized the intent like this in app1:</p> <pre><code>protected void onCreate() { super.onCreate(); In...
I want to develop two apps. I need an app able to start and stop a second app. To do this I set up a messenger between these two apps using a service. The service is sticked to the second app. I initialized the intent like this in app1: [CODE] And I send a message to Close the app2. In app2 I have a service like this: ...
android|service|messenger
1
2016-05-04T14:25:04.667Z
2,016
5
14
2
934
0
679
64
3
4
true
true
false
false
false
false
low
37,030,779
Adding Fragment to back stack (getting a blank screen on back press)
<p>I have two fragments, first is called Summer Jobs Fragment which contains a list of items and the second is called Summer Jobs Details Frgment which contains a the details of each item. Im trying to set back trace so that when I press the back button from Summer Jobs Detail Fragment I go back to Summer Jobs Fragment...
I have two fragments, first is called Summer Jobs Fragment which contains a list of items and the second is called Summer Jobs Details Frgment which contains a the details of each item. Im trying to set back trace so that when I press the back button from Summer Jobs Detail Fragment I go back to Summer Jobs Fragment. h...
android|android-fragments|back-stack
4
2016-05-04T14:29:58.897Z
2,016
5
14
2
2,664
3
516
68
3
2
true
false
true
false
false
false
low
37,030,795
What is Causing "Too Much Work On Main Thread" Warning?
<p>I know that there are similar titled questions, but mine is slightly different.....</p> <p>I have an application that contains one Activity and a number of Fragments. When the application is launched, it checks if the user is logged in. If they are, the home page fragment is launched.For the purposes of this questi...
I know that there are similar titled questions, but mine is slightly different..... I have an application that contains one Activity and a number of Fragments. When the application is launched, it checks if the user is logged in. If they are, the home page fragment is launched.For the purposes of this question, I just ...
java|android|android-fragments
0
2016-05-04T14:30:49.153Z
2,016
5
14
2
240
2
1,134
55
3
1
true
false
false
false
false
false
zero
37,030,829
QuickBlox : didReceiveNewSession Method is not gettimg called in swift
<p>I am working in one of the video calling Project in SWIFT language with Quickblox sdk.i am trying to make call with another user with its quickbloxid. but when i start call from one of the device to another device. the didReceiveNewSession delegate method is not getting called on another device and the log appears w...
I am working in one of the video calling Project in SWIFT language with Quickblox sdk.i am trying to make call with another user with its quickbloxid. but when i start call from one of the device to another device. the didReceiveNewSession delegate method is not getting called on another device and the log appears with...
ios|iphone|swift|quickblox|quickblox-android
1
2016-05-04T14:32:28.783Z
2,016
5
14
2
819
2
431
70
5
1
true
false
false
false
false
false
low
37,030,852
Options menu shows up but is empty
<p>As my first post here, I will try to be as precise as possible.</p> <p><strong>Summary:</strong> I can't make a working <code>options menu</code>. When the <em>Menu</em> button is pressed, an empty black menu shows up. There is the right amount of items (you can "see" the button being pressed) but their <code>andro...
As my first post here, I will try to be as precise as possible. Summary: I can't make a working options menu . When the Menu button is pressed, an empty black menu shows up. There is the right amount of items (you can "see" the button being pressed) but their android:title are ignored, the onCreateOptionsMenu triggers ...
android|android-menu
0
2016-05-04T14:33:33.747Z
2,016
5
14
2
1,075
0
1,026
34
2
4
true
true
false
false
false
false
zero
37,030,872
Edittext inside TableRow dimension is changing
<p>I am applying round corners and changing the background color of my Edittext inside Tablelayout but <code>once</code> I apply the round corner my Edditetext changes it's dimensions and affects other TableRows. Please help.</p> <p>Here is my code: </p> <pre><code> &lt;TableLayout android:layout_width="ma...
I am applying round corners and changing the background color of my Edittext inside Tablelayout but once I apply the round corner my Edditetext changes it's dimensions and affects other TableRows. Please help. Here is my code: [CODE] here is my edi_text_coupon.xml: [CODE]
android|xml|android-edittext|tablelayout
0
2016-05-04T14:34:13.927Z
2,016
5
14
2
75
0
272
46
4
2
true
true
false
false
false
false
zero
37,031,000
View with height match_parent not visible in recyclerview item
<p>Below is the layout of an item of recyclerview.I want to create a vertical view at left of each item of layout such that it matches the height of the item.I used below code-</p> <pre><code>&lt;RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:...
Below is the layout of an item of recyclerview.I want to create a vertical view at left of each item of layout such that it matches the height of the item.I used below code- [CODE] With above code i don't see view with id leftbar visible.However if i change height of that view from match_parent to some numerical value ...
android|android-layout|android-recyclerview|android-view
3
2016-05-04T14:39:59.753Z
2,016
5
14
2
1,096
3
556
62
4
1
true
false
false
false
false
false
low
37,031,002
Xposed Not Loading my module, ClassNotFoundException
<p>I am developing an Xposed module, as an expansion of FatMinMin's <a href="http://repo.xposed.info/module/tw.fatminmin.xposed.minminhide" rel="nofollow">minminHide module</a> also it seems like a good dev exercise as well :) The issue is that during boot when I check the xposed log i get the below:</p> <pre><code>5...
I am developing an Xposed module, as an expansion of FatMinMin's minminHide module also it seems like a good dev exercise as well :) The issue is that during boot when I check the xposed log i get the below: [CODE] which means that Xposed was not able to load my module properly In the xposed_init file I have the follow...
java|android|xposed-framework|xposed
1
2016-05-04T14:40:03.597Z
2,016
5
14
2
5,056
4
631
52
4
4
true
false
true
false
false
false
low
37,031,102
Open gridview on click of another grid view in xamarin android
<p>I am new in Android as well Xamarin <a href="https://i.stack.imgur.com/Xcjt7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xcjt7.png" alt="grid view with image and text"></a></p> <p>on click of grid view wont to open new activity with another grid view <a href="https://i.stack.imgur.com/OMNyN.p...
I am new in Android as well Xamarin on click of grid view wont to open new activity with another grid view ImageAdadapter.cs [CODE] But i don't know how to do that.plese help me.
c#|gridview|xamarin|xamarin.android
2
2016-05-04T14:45:00.433Z
2,016
5
14
2
516
0
178
62
4
1
true
true
false
false
false
false
low
37,031,391
Android: custom seekbar thumb doesn't show correctly
<p>I have a custom SeekBar with a specific style:</p> <pre><code> &lt;SeekBar android:id="@+id/mediacontroller_progress" style="@style/MediaSeekBar" android:layout_width="0dip" android:layout_weight="1" android:layout_height="wrap_content" /&gt; </code><...
I have a custom SeekBar with a specific style: [CODE] MediaSeekBar style: [CODE] media_seek_bar drawable: [CODE] media_seek_bar_thumb drawable: [CODE] And the result: without press when I press thumb So the problem is the area arround the yellow circle: it's translucent in my png files but not in App.
android|seekbar
4
2016-05-04T14:56:58.993Z
2,016
5
14
2
1,204
3
302
52
2
4
true
false
false
false
false
false
low
37,031,503
Accessing Database created in one activity in another Activity
<p>For some odd reason I can't seem pull off information off my database created in one activity in another. I had the same issues with a static arraylist. Thought it would be much easier using a database but it keeps crashing. My DB instance is always null in the next activity even though I called it before pulling of...
For some odd reason I can't seem pull off information off my database created in one activity in another. I had the same issues with a static arraylist. Thought it would be much easier using a database but it keeps crashing. My DB instance is always null in the next activity even though I called it before pulling off a...
android|sqlite|null|instance
1
2016-05-04T15:02:18.950Z
2,016
5
15
2
3,182
1
521
62
4
2
true
false
true
false
false
false
low
37,031,567
Android EditText: java.lang.IndexOutOfBoundsException: getChars (0 ... 16) ends beyond length 15
<p>I'm developing an app for Android using Android Studio. I have to let the user insert a text into an EditText with a maximum length. For this aim I have employed a lengthFilter passing to it the maximum length.</p> <p>Here the declaration:</p> <pre><code>etMessage.setFilters(new InputFilter[] {new InputFilter.Leng...
I'm developing an app for Android using Android Studio. I have to let the user insert a text into an EditText with a maximum length. For this aim I have employed a lengthFilter passing to it the maximum length. Here the declaration: [CODE] In another thread I execute the following code: [CODE] These last lines just sho...
java|android|input|android-edittext|android-input-filter
1
2016-05-04T15:04:59.217Z
2,016
5
15
2
2,166
2
992
96
5
3
true
false
false
false
false
false
low
37,031,581
How to Update Marker And Indentify Markers Positions In GoogleMaps
<p>I am creating a cab booking android app. Here i am adding marker on map by using webservice but the problem i am able to change position for example after updating markers from server old marker still remain. so how can i identity old marker and remove it first?</p> <pre><code>public Map&lt;String, Marker&gt; cabs...
I am creating a cab booking android app. Here i am adding marker on map by using webservice but the problem i am able to change position for example after updating markers from server old marker still remain. so how can i identity old marker and remove it first? [CODE] and here is my refreshMarkers method. [CODE] can a...
php|android|google-maps
0
2016-05-04T15:05:39.070Z
2,016
5
15
2
53
1
350
66
3
2
true
false
false
false
false
false
zero
37,031,585
Android : ViewGroup background transparency
<p>I have an issue with a transparent CircleView (which extends ImageView and is a square). I made a circular image translate over my CircleView. The problem I encounter is the following :</p> <p>The gray background you see is a RelativeLayout, I want to hide each corner thanks to the onDraw of my CircleView, because ...
I have an issue with a transparent CircleView (which extends ImageView and is a square). I made a circular image translate over my CircleView. The problem I encounter is the following : The gray background you see is a RelativeLayout, I want to hide each corner thanks to the onDraw of my CircleView, because thanks to t...
android|animation|background
0
2016-05-04T15:05:51.420Z
2,016
5
15
2
467
1
564
43
3
2
true
false
false
false
false
false
zero
37,031,586
How to display a listview and a webview in one Activity?
<p>So I'm trying to implement two API in one Activity, and display both the listview and a webview for my second API in the same Activity. I managed to get the listview down. This is part of the MainActivity where I'm trying to call both run both API's through the onClick method</p> <pre><code> @Override protected ...
So I'm trying to implement two API in one Activity, and display both the listview and a webview for my second API in the same Activity. I managed to get the listview down. This is part of the MainActivity where I'm trying to call both run both API's through the onClick method [CODE] This is the GoogleSearch Api public ...
android|api|listview|search|webview
0
2016-05-04T15:05:54.317Z
2,016
5
15
2
401
1
601
56
5
3
true
false
false
false
false
false
zero
37,031,625
When Deleting a file the app does not update my ListView in Android
<p>I have a ListView with file names and when I long press a file name I delete it, but the ListView is not updating its contents after calling </p> <pre><code>adapter.notifyDataSetChanged(); </code></pre> <p>I populate the listview with the following:</p> <pre><code> dirFiles = new File("/storage/emulated/0/Andr...
I have a ListView with file names and when I long press a file name I delete it, but the ListView is not updating its contents after calling [CODE] I populate the listview with the following: [CODE] I delete the file using the following: [CODE]
android|listview
0
2016-05-04T15:07:23.107Z
2,016
5
15
2
101
3
244
67
2
3
true
false
false
false
false
false
zero
37,031,664
BluetoothDevice react on custom MAC address
<p>I have a Broadcast receiver, which is used, whenever a bluetooth device get disconnected. I set the mac device for a bluetooth device it should react via settings, but no matter what i do, it gets fired on every bluetooth device. Here is my Receiver:</p> <pre><code>public class Bluetooth_Receiver extends BroadcastR...
I have a Broadcast receiver, which is used, whenever a bluetooth device get disconnected. I set the mac device for a bluetooth device it should react via settings, but no matter what i do, it gets fired on every bluetooth device. Here is my Receiver: [CODE] } I want my receiver to react only to specific device on disco...
android|bluetooth|broadcastreceiver
0
2016-05-04T15:09:19.210Z
2,016
5
15
2
64
1
587
43
3
1
true
false
false
false
false
false
zero
37,031,737
Android Studio, Unable to found item, when open file after download it
<p>In Android Studio, I am getting two different errors, first: "Unable to found item", and then: "Access denied". This is happening when I open a file after downloading it. I have the following permissions:</p> <pre><code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; &lt;uses-perm...
In Android Studio, I am getting two different errors, first: "Unable to found item", and then: "Access denied". This is happening when I open a file after downloading it. I have the following permissions: [CODE] The files are being downloaded, but I cannot read them. Below is my code: [CODE]
android
1
2016-05-04T15:12:23.247Z
2,016
5
15
2
290
1
292
70
1
2
true
false
false
false
false
false
low
37,031,846
Listview selector is not working for some reason
<p>I put these line in /res/drawable/listview_main.xml layout: <code>android:listSelector="@drawable/seletor2"</code> and createad a selector (seletor in portuguese). But for some reason it didn't work and then I tried programmatically to call Listview selector. Again, no selector is showed when I click on item in my L...
I put these line in /res/drawable/listview_main.xml layout: android:listSelector="@drawable/seletor2" and createad a selector (seletor in portuguese). But for some reason it didn't work and then I tried programmatically to call Listview selector. Again, no selector is showed when I click on item in my Listview (it stil...
android|android-layout|listview
0
2016-05-04T15:17:30.320Z
2,016
5
15
2
75
2
586
48
3
4
true
false
false
false
false
false
zero
37,031,875
Limit size of Android.ImageView
<p>Here is my image view:</p> <pre><code> &lt;ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/imageView3" android:layout_above="@+id/progressBar" android:layout_alignParentRight="true" android:layout_alignParentEnd="...
Here is my image view: [CODE] But when I set an image to it like this: [CODE] ... it fills the screen width. It seems to ignore the MaxWidth and MaxHeight - what am I doing wrong and why is the imageview allowed to exceed its max size? Edit: Solved by simply adding the ambiguous android:adjustViewBounds="true" Annoying...
java|android
0
2016-05-04T15:18:52.723Z
2,016
5
15
2
191
0
444
31
2
2
true
true
false
false
false
false
zero
37,031,949
Generation of additional views while using layout inflator in android
<p>I am using layout inflator to generator dynamic text views, edit text and buttons in android. Everything is working fine but I am getting an extra button, edit text and text view . I am populating the value of text views dynamically and it too starts populating from second text view. Here is my code. My xml cod...
I am using layout inflator to generator dynamic text views, edit text and buttons in android. Everything is working fine but I am getting an extra button, edit text and text view . I am populating the value of text views dynamically and it too starts populating from second text view. Here is my code. My xml code, [CODE...
android|android-layout|layout-inflater
-1
2016-05-04T15:22:14.897Z
2,016
5
15
2
59
1
567
69
3
2
true
false
false
false
false
true
negative
37,031,995
hyrbid app open another app using js
<p>Trying to open another app within mine (hybrid) using mobilefirst 7.0. Nothing happens when i click either link. In a mobile browser link #2 opens up a webpage. But that's not what I want. Looking to open up facebook within my app for this example. Thanks.</p> <pre><code>Enter a package name: &lt;input type="text" ...
Trying to open another app within mine (hybrid) using mobilefirst 7.0. Nothing happens when i click either link. In a mobile browser link #2 opens up a webpage. But that's not what I want. Looking to open up facebook within my app for this example. Thanks. [CODE] In the config.xml [CODE]
javascript|android|facebook|ibm-mobilefirst|hybrid-mobile-app
-1
2016-05-04T15:24:24.113Z
2,016
5
15
2
1,342
1
288
36
5
2
true
false
false
false
false
true
negative
37,032,044
Android: Create new object and manipulate/call new methods serially with Synchronized
<p>I am attempting to have a user create a new <em>Flow</em> object and add it to an ArrayList to keep track when they press then <code>"+"</code> on the tool bar. </p> <p>I am struggling with the multithreading of Java, because my methods that require the object and its properties, are running before the object is in...
I am attempting to have a user create a new Flow object and add it to an ArrayList to keep track when they press then "+" on the tool bar. I am struggling with the multithreading of Java, because my methods that require the object and its properties, are running before the object is instantiated caused all sorts of pro...
java|android|multithreading|oop
0
2016-05-04T15:26:50.583Z
2,016
5
15
2
181
2
984
85
4
5
true
false
false
false
false
false
zero
37,032,071
Multiple Image/Pie Chart Updating
<p>This should prove to be a very useful example for anyone reading this thread. I am trying to create an Async task which will take some existing place holding pictures in an ImageView and replace them with the exact same size, but different picture. </p> <p>Specifically, I want to display some static pictures, the...
This should prove to be a very useful example for anyone reading this thread. I am trying to create an Async task which will take some existing place holding pictures in an ImageView and replace them with the exact same size, but different picture. Specifically, I want to display some static pictures, then update them ...
android|charts|pie-chart|android-async-http
1
2016-05-04T15:28:02.633Z
2,016
5
15
2
434
1
1,064
33
4
3
true
false
false
false
false
false
low
37,032,112
RecyclerView gets IndexOutOfBoundsException when scrolling (Retrofit + Firebase)
<p>Im getting an IndexOutOfBoundsException when i'm inside a recyclerview and scroll up and down for a while.</p> <blockquote> <p>FATAL EXCEPTION: main Process: com.example.rasmusjosefsson.rjcar, PID: 15457 ...
Im getting an IndexOutOfBoundsException when i'm inside a recyclerview and scroll up and down for a while. FATAL EXCEPTION: main Process: com.example.rasmusjosefsson.rjcar, PID: 15457 java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255...
android|firebase|retrofit
0
2016-05-04T15:29:38.900Z
2,016
5
15
2
495
0
1,008
80
3
1
true
true
false
false
false
false
zero
37,032,435
Issue in adding syscalls in Android libc
<p>Please help. I'm working with Android marshmallow (6.0) source code and I need a linux message queue and shared memory related system call support for an application to port. Formerly I was using Kitkat source code and in that it was working.</p> <p><strong>The steps I did for that is:</strong></p> <ol> <li>Added ...
Please help. I'm working with Android marshmallow (6.0) source code and I need a linux message queue and shared memory related system call support for an application to port. Formerly I was using Kitkat source code and in that it was working. The steps I did for that is: Added syscalls in /BSP/Bionic/libc/SYSCALLS.TXT ...
android|embedded-linux|system-calls|android-6.0-marshmallow|bionic
0
2016-05-04T15:44:50.933Z
2,016
5
15
2
355
0
1,137
40
5
0
false
true
false
false
false
false
zero
37,032,558
Unit testing a network response. Works when debugging, not when actually running
<p>I am currently attempting to test that a network response is actually being received.</p> <p><strong><em>While I understand that this isn't what I should be doing with regards to testing, its a curiosity of my own volition and I'd like to carry on if possible.</em></strong></p> <p>As it stands, I have successfully...
I am currently attempting to test that a network response is actually being received. While I understand that this isn't what I should be doing with regards to testing, its a curiosity of my own volition and I'd like to carry on if possible. As it stands, I have successfully created the test. A request is sent to a vol...
android|junit|mockito|android-testing|android-networking
9
2016-05-04T15:50:42.833Z
2,016
5
15
2
2,312
1
1,006
80
5
1
true
false
false
false
false
false
medium
37,032,643
How are import packages resolved in Android Studio and how to replace a package
<p>I have import</p> <pre><code>com.mycompany.projectgroup.projectName.connectionService; </code></pre> <p>in my MainActivity. connectionService itself has </p> <pre><code>import static com.mycompany.projectgroup.projectName.connections.connectionName.connectionCommands.DEFAULT; </code></pre> <p>Am I right that And...
I have import [CODE] in my MainActivity. connectionService itself has [CODE] Am I right that Android Studio 2.1 with Gradle now looks for the packages in any of the dependencies in build.gradle? [CODE] How does it know whether to find it local or in an online repository? How can I force Android Studio to use a local ve...
java|android|import
0
2016-05-04T15:54:21.573Z
2,016
5
15
2
371
0
399
79
3
4
true
true
false
false
false
false
zero
37,032,956
Android BLE: onCharacteristicRead() is not called
<p>I'm doing a programme to read data from a sensor. I'm having problems reading the characteristic. I've done the debbug and i checked that the method <code>onCharacteristicRead()</code> is never called, and i don't understand why. Anyone can help me? Thanks in advance!!</p> <p>This is the class: </p> <pre><code>p...
I'm doing a programme to read data from a sensor. I'm having problems reading the characteristic. I've done the debbug and i checked that the method onCharacteristicRead() is never called, and i don't understand why. Anyone can help me? Thanks in advance!! This is the class: [CODE]
android|bluetooth-lowenergy
1
2016-05-04T16:10:49.577Z
2,016
5
16
2
2,146
1
282
49
2
1
true
false
false
false
false
false
low
37,033,105
setOnClickListener get OutOfMemoryError
<p>I try calling an onClickListener for a button, but it is not working. Everytime when I tried to click on "Create Account" button, it does not direct me to register page, instead, it forcibly exit. I've looked into many posts, but I still didn't get the solution. Can anyone help me, please...</p> <p>Here is the regi...
I try calling an onClickListener for a button, but it is not working. Everytime when I tried to click on "Create Account" button, it does not direct me to register page, instead, it forcibly exit. I've looked into many posts, but I still didn't get the solution. Can anyone help me, please... Here is the register.java [...
android|out-of-memory
0
2016-05-04T16:19:40.737Z
2,016
5
16
2
58
0
392
39
2
3
true
true
false
false
false
false
zero
37,033,139
How to use ClickableSpan, but ignore clicks from the TextView
<p>The following code shows how I'm applying a pressed state using a custom ClickableSpan and selector. However, the pressed state is applied whenever I press anywhere on the TextView, not just the ClickableSpan. How do I stop this?</p> <p><strong>Note: it does not call</strong> <code>onClick</code><strong>, but does ...
The following code shows how I'm applying a pressed state using a custom ClickableSpan and selector. However, the pressed state is applied whenever I press anywhere on the TextView, not just the ClickableSpan. How do I stop this? Note: it does not call onClick , but does apply state_pressed from the selector. I want it...
android
11
2016-05-04T16:21:18.157Z
2,016
5
16
2
5,695
5
456
61
1
4
true
false
true
false
true
false
medium
37,033,215
Android SQLite RawQuery not returning records with 2017 date
<p>I have a database that contains upcoming births. The file has 5 records in it with due dates of (11-15-2016,10-15-2016, 12-14-2016, 12-13-2016 and 02-12-2017) The query is</p> <pre><code>SQLiteDatabase db = dbhelper.getReadableDatabase(); String QueryPart1="SELECT inseminations._ID, inseminations.patient_i...
I have a database that contains upcoming births. The file has 5 records in it with due dates of (11-15-2016,10-15-2016, 12-14-2016, 12-13-2016 and 02-12-2017) The query is [CODE] howToFilter is [CODE] ExpectedDateDue is [CODE] The query retrieves all records except for the one from 2017, the listview is sorted correctl...
android|database|sqlite
0
2016-05-04T16:25:20.997Z
2,016
5
16
2
132
1
443
60
3
3
true
false
false
false
false
false
zero
37,033,434
error: java.lang.ArrayIndexOutOfBoundsException: length=10; index=10
<p>I apologize for my lack of experience, but I've been staring at my screen for multiple hours trying to make this work, and I just can't. I know there's a simple solution that I can't see, but I either haven't found it, or I couldn't make sense of what I found. I wouldn't be surprised if a seasoned coder looked at th...
I apologize for my lack of experience, but I've been staring at my screen for multiple hours trying to make this work, and I just can't. I know there's a simple solution that I can't see, but I either haven't found it, or I couldn't make sense of what I found. I wouldn't be surprised if a seasoned coder looked at this ...
java|android-studio
0
2016-05-04T16:36:48.767Z
2,016
5
16
2
631
2
752
68
2
1
true
false
false
false
false
false
zero
37,033,518
FIleNotFoundException when I am trying to save a file
<p>I have put the following permissions to my manifest file</p> <pre><code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/&gt; </code></pre> <p>The following is the function on which the compiler is showing...
I have put the following permissions to my manifest file [CODE] The following is the function on which the compiler is showing error: [CODE] SystemService is the folder name where I want to store my newly created folder in which I want the text files to be stored on my external storage device. (I have a marshmallow run...
android|filenotfoundexception
0
2016-05-04T16:41:08.663Z
2,016
5
16
2
1,069
1
405
53
2
3
true
false
false
false
false
false
zero
37,033,580
Android Displaying data from json to cardview in RecyclerView
<p>I want to display data from webservice to cardview in recycleviewer. It had already success to display data. But it only display one data, although it has a lot of data to display. Can you help me to solve this problem? Thank you</p> <p><strong>Seller.java</strong></p> <pre><code>public class Seller { String p...
I want to display data from webservice to cardview in recycleviewer. It had already success to display data. But it only display one data, although it has a lot of data to display. Can you help me to solve this problem? Thank you Seller.java [CODE] SellerAdapter.Java [CODE] DogFragment.java [CODE] And I get this in and...
java|android|json|android-recyclerview
6
2016-05-04T16:44:33.523Z
2,016
5
16
2
3,571
3
339
61
4
4
true
false
true
false
false
false
medium
37,033,625
Is my app crashing because I've mis-implemented my database singleton?
<p>So my app seems to work just fine as long as I'm actively using the phone. I can rotate the screen, close the app, re-open it, whatever, no issues.</p> <p>But if I press the home/back button and send the app to the background, and then if I go to bed for the night, when I wake up several hours later and try to open...
So my app seems to work just fine as long as I'm actively using the phone. I can rotate the screen, close the app, re-open it, whatever, no issues. But if I press the home/back button and send the app to the background, and then if I go to bed for the night, when I wake up several hours later and try to open the app ag...
java|android|sqlite|android-sqlite|android-lifecycle
0
2016-05-04T16:46:43.567Z
2,016
5
16
2
235
1
1,891
70
5
2
true
false
false
false
false
false
zero
37,033,640
Android - Select file from internal storage folder
<p>I have saved a bunch of videos in an internal storage folder. Afterwards, I want the user to be able to select one of these videos in this specific folder. I tried using ACTION_GET_CONTENT in an attempt to let another app do this for me, without any success, as it just opens up a file browser in some other directory...
I have saved a bunch of videos in an internal storage folder. Afterwards, I want the user to be able to select one of these videos in this specific folder. I tried using ACTION_GET_CONTENT in an attempt to let another app do this for me, without any success, as it just opens up a file browser in some other directory. W...
android
1
2016-05-04T16:47:37.240Z
2,016
5
16
2
3,132
1
600
50
1
1
true
false
true
false
false
false
low
37,033,658
Android: Cut off to long multiline text in TextView
<p>I have a TextView with a height depending on previous content, but there might be a long Text in it. How can I cut it off at the right point and concatenate three dots or something similar to the new end?</p> <p>Currently it looks like this: <a href="https://i.stack.imgur.com/XMm1f.png" rel="nofollow noreferrer"><i...
I have a TextView with a height depending on previous content, but there might be a long Text in it. How can I cut it off at the right point and concatenate three dots or something similar to the new end? Currently it looks like this: I found some solutions for Single Line Text, but how does it work with more than one ...
android|textview
4
2016-05-04T16:48:37.577Z
2,016
5
16
2
3,081
3
769
51
2
1
true
false
true
false
false
false
low
37,033,707
Xamarin Forms and Mono.Data.Sqlite.SqliteDataReader from NuGet Mono.Data.Sqlite misbehaving
<p>I have a question about Xamarin Forms C# Mono.Data.Sqlite.SqliteDataReader misbehaving. When compiled to the Android platform the following code works correctly:</p> <pre><code> SqliteDataReader c = contents.ExecuteReader(); //Debug.WriteLine("Reading data"); if (c.HasR...
I have a question about Xamarin Forms C# Mono.Data.Sqlite.SqliteDataReader misbehaving. When compiled to the Android platform the following code works correctly: [CODE] However, the data returned is inappropriately null if I do: - "as string" and "Convert.ToInt64" for the "as long? ?? -100" values - "as int? ?? -100" f...
c#|android|sqlite|xamarin|xamarin.forms
1
2016-05-04T16:50:51.490Z
2,016
5
16
2
352
0
589
91
5
1
true
true
false
false
false
false
low
37,033,733
Poor camera2 video recording performance
<p>I'm attempting to record video via a mediarecorder and the camera2 API and I'm having some difficulty getting good quality recordings out of it. </p> <p>I am also getting a few different errors in my logcat like "App passed a NULL surface" when starting up the textureview. </p> <p>Other than that it seems to work,...
I'm attempting to record video via a mediarecorder and the camera2 API and I'm having some difficulty getting good quality recordings out of it. I am also getting a few different errors in my logcat like "App passed a NULL surface" when starting up the textureview. Other than that it seems to work, but the captured vid...
android|mediarecorder|android-camera2
3
2016-05-04T16:52:57.927Z
2,016
5
16
2
1,983
2
422
40
3
1
true
false
false
false
false
false
low
37,033,871
How to show MvxDialogFragment using ShowViewModel
<p>I have a MvxDialogFragment and I want to show that using ViewModel, similarly when a activity is showed from ViewModel using ShowViewModel. Is it possible? How can I do that?</p> <p>This is my scenario: I have a page that contains a MvxListView and, when the user click in a listview item, I want to show a MvxDialog...
I have a MvxDialogFragment and I want to show that using ViewModel, similarly when a activity is showed from ViewModel using ShowViewModel. Is it possible? How can I do that? This is my scenario: I have a page that contains a MvxListView and, when the user click in a listview item, I want to show a MvxDialogFragment. M...
c#|xamarin|xamarin.android|mvvmcross
0
2016-05-04T16:59:42.723Z
2,016
5
16
2
1,561
1
468
49
4
5
true
false
false
false
false
false
zero
37,033,890
Forced to import R.Java
<p>EDIT: Problem typically seems to lie with Files that reside within folders. In the image below, you'll notice how the MainActivity does not have any issues, despite having multiple references to the R.Java file. The java files within the Fragments folder that refer to the R.Java return errors. Infact, if you move an...
EDIT: Problem typically seems to lie with Files that reside within folders. In the image below, you'll notice how the MainActivity does not have any issues, despite having multiple references to the R.Java file. The java files within the Fragments folder that refer to the R.Java return errors. Infact, if you move an of...
android|android-studio
1
2016-05-04T17:01:13.870Z
2,016
5
17
2
620
1
812
23
2
0
false
false
false
false
false
false
low
37,033,899
Scroll away picture and appbar title but leave tabs in Android
<p>I use app support and <code>CoordinatorLayout</code>. I was able to implement <code>CollapsingToolbarLayout</code> with <code>ImageView</code> and <code>Toolbar</code> that hide when scrolling. I am struggled with tabs - <code>TabLayout</code> is not collapsed, which is good. The problem is that it does not look nic...
I use app support and CoordinatorLayout . I was able to implement CollapsingToolbarLayout with ImageView and Toolbar that hide when scrolling. I am struggled with tabs - TabLayout is not collapsed, which is good. The problem is that it does not look nice - I want it to use bottom part of the picture as background. I mo...
android|android-coordinatorlayout
1
2016-05-04T17:01:34.450Z
2,016
5
17
2
1,101
1
665
62
2
1
true
false
false
false
false
false
low
37,034,004
Cannot resolve corresponding JNI function with .so file
<p>I'm completely new to JNI and I have to use an existing compiled .so file. The problem is that Android Studio isn't able to find JNI fuctions. I load my library with a code similiar to this:</p> <pre><code>public class MyService extends Service{ static { System.loadLibrary("mylib"); } private ...
I'm completely new to JNI and I have to use an existing compiled .so file. The problem is that Android Studio isn't able to find JNI fuctions. I load my library with a code similiar to this: [CODE] and it gives me an error "Cannot resolve corresponding JNI function Java_com_company_app_MyService_example". If I run this...
java|android|android-ndk|java-native-interface|native
2
2016-05-04T17:08:31.323Z
2,016
5
17
2
8,740
1
680
55
5
3
true
false
true
false
false
false
low
37,034,009
Using Elevation and Ripple in ImageButton
<p>I'm trying to set elevation and ripple effect at the same time on a ImageButton. I'm running LOLLIPOP.</p> <p>Here is the code:</p> <pre class="lang-xml prettyprint-override"><code> &lt;android.support.v7.widget.AppCompatImageButton xmlns:app="http://schemas.android.com/apk/res-auto" and...
I'm trying to set elevation and ripple effect at the same time on a ImageButton. I'm running LOLLIPOP. Here is the code: [CODE] My theme is: Theme.AppCompat.Light.DarkActionBar With this code i'm only getting the ripple. If i remove the background (ripple), i get elevation. EDITED: Note: All screenshots were taken with...
android|android-5.0-lollipop|android-elevation
5
2016-05-04T17:09:06.880Z
2,016
5
17
2
2,092
2
803
41
3
1
true
false
false
false
false
false
low
37,034,287
SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database on android X.0.X versions
<p>i know there exists many posts regarding this issue but the issue i am facing goes like this..</p> <p>The app works perfectly when run on 4.0,5.0,5.1,6 ets </p> <blockquote> <p>"SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database"</p> </blockquote> <p>if its run i 4.0.1,5.0.2 or ...
i know there exists many posts regarding this issue but the issue i am facing goes like this.. The app works perfectly when run on 4.0,5.0,5.1,6 ets "SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database" if its run i 4.0.1,5.0.2 or 6.0.1 or to be in general X.0.X but works fine in X.1.X can...
android|sqlite|exception|exception-handling
0
2016-05-04T17:25:32.497Z
2,016
5
17
2
546
0
410
107
4
2
true
true
false
false
false
false
zero
37,034,332
How can i authenticate to my Identity/User Pool with Cognito Identity?
<p>I have been trying to solve this for a few days now but i can't figure out what the problem is.</p> <p>I have a user pool and an identity pool on AWS Cognito. I have run the sample code and used it to log in and register users with Facebook and Google+ successfully. After login i am able to authenticate using the t...
I have been trying to solve this for a few days now but i can't figure out what the problem is. I have a user pool and an identity pool on AWS Cognito. I have run the sample code and used it to log in and register users with Facebook and Google+ successfully. After login i am able to authenticate using the token to use...
android|authentication|amazon-web-services|identity|amazon-cognito
2
2016-05-04T17:28:29.700Z
2,016
5
17
2
2,542
1
1,614
70
5
2
true
false
false
false
false
false
low
37,034,423
How does Android assist work internally?
<p>I have read the documentation and it says,</p> <blockquote> <p>The matching between the current user context and potential actions displayed in the overlay window (shown in step 3 in Figure 1) is specific to the assistant’s implementation. However, consider adding deep linking support to your app. The assis...
I have read the documentation and it says, The matching between the current user context and potential actions displayed in the overlay window (shown in step 3 in Figure 1) is specific to the assistant’s implementation. However, consider adding deep linking support to your app. The assistant will typically take advanta...
android|google-assist-api
1
2016-05-04T17:34:47.580Z
2,016
5
17
2
88
0
1,004
40
2
0
false
true
false
false
false
false
low
37,034,444
Android Activity Toolbar Up Button not showing
<p>I have created an activity to hold fragments. There is no up button displayed in the toolbar when it is run or in the xml preview.</p> <p>This is the code I used to add the toolbar to the activity</p> <pre><code>Toolbar mToolbar = (Toolbar) findViewById(R.id.category_toolbar); setSupportActionBar(mToolbar); if(ge...
I have created an activity to hold fragments. There is no up button displayed in the toolbar when it is run or in the xml preview. This is the code I used to add the toolbar to the activity [CODE] I've used all the correct libraries (AppCompatActivity). This Activity holds a fragment and thats were it doesn't show. XML...
android|android-layout|android-toolbar
1
2016-05-04T17:35:43.363Z
2,016
5
17
2
1,238
1
467
46
3
3
true
false
false
false
false
false
low
37,034,544
Android Hybrid App + Volley, Cookies and WebView
<p>I have researched for > 15 hours about this problem: I am building a Hybrid App , I login with the Volley Framework (native View), as soon as I login I fetch the response Header,extract the Cookie and save it into my sharedprefs. After successful login I have a native mainscreen that contains links to several Webvie...
I have researched for > 15 hours about this problem: I am building a Hybrid App , I login with the Volley Framework (native View), as soon as I login I fetch the response Header,extract the Cookie and save it into my sharedprefs. After successful login I have a native mainscreen that contains links to several Webviews,...
android|cookies|webview|android-volley
3
2016-05-04T17:41:18.597Z
2,016
5
17
2
1,543
2
787
48
4
1
true
false
false
false
false
false
low
37,034,570
App works fine, so can I ignore "CursorWindow: Window is full: requested allocation 12 bytes, free space 4 bytes, window size 2,097,152 bytes"?
<p>I have a 176,000 word SQLite database and an app that searches it (via an <code>IntentService</code>) and works great, never crashing. Even if thousands of "hits" are returned, the user can scroll through the list quickly and seamlessly. But I often-to-maybe-always get the Logcat warning message shown in the Title.<...
I have a 176,000 word SQLite database and an app that searches it (via an IntentService ) and works great, never crashing. Even if thousands of "hits" are returned, the user can scroll through the list quickly and seamlessly. But I often-to-maybe-always get the Logcat warning message shown in the Title. I've use a Curs...
java|android|sqlite
1
2016-05-04T17:43:17.973Z
2,016
5
17
2
4,158
1
1,199
143
3
4
true
false
true
false
false
false
low
37,034,615
HttpURLConnection in Android SDK 23 to ASP page, giving a cookie correctly to re-use session
<p>I have an Android app that communicates with an internal web server here. So far I have a login activity and another activity that helps do repetitive work.</p> <p>I can login fine and I can store the Session ID cookie into a string. I've verified that the string is passed correctly through intent to the next activ...
I have an Android app that communicates with an internal web server here. So far I have a login activity and another activity that helps do repetitive work. I can login fine and I can store the Session ID cookie into a string. I've verified that the string is passed correctly through intent to the next activity. I have...
android|asp.net|session|cookies
0
2016-05-04T17:46:01.457Z
2,016
5
17
2
105
1
1,576
92
4
1
true
false
false
false
false
false
zero
37,034,695
Call "select launcher" dialog when my app isn't the default launcher app
<p>I'm doing an app that is the default launcher of my device, after a lot of searches I found that isn't possible define programmatically my app as the default launcher. So I decided to do the following, I will enable to an admin user set this app as the default and this admin is going to be the person who will instal...
I'm doing an app that is the default launcher of my device, after a lot of searches I found that isn't possible define programmatically my app as the default launcher. So I decided to do the following, I will enable to an admin user set this app as the default and this admin is going to be the person who will install t...
android|android-launcher
0
2016-05-04T17:50:11.757Z
2,016
5
17
2
2,010
1
1,816
72
2
3
true
false
false
false
false
false
zero
37,034,755
Android: Calling method in intervals to retrieve the latest location coordinates
<p><p> Hi! I had a locationlistener and manager in my Mainactivity class but I thought that was quite a bad solution, Since i want the location functionallity in a different class because i want the listener to last over Intents.</p></p> <p>I only have around 10 hours experience in Android Programming so this might lo...
Hi! I had a locationlistener and manager in my Mainactivity class but I thought that was quite a bad solution, Since i want the location functionallity in a different class because i want the listener to last over Intents. I only have around 10 hours experience in Android Programming so this might look horrible for som...
java|android|location|intervals
1
2016-05-04T17:54:05.557Z
2,016
5
17
2
82
1
634
80
4
2
true
false
false
false
false
false
low
37,034,756
.puz file picker- Android
<p>I am developing a crossword application which accepts <em>.puz</em> file as input. I tried the following code in which the application doesn't accept <em>.puz</em> file from default file manager while it accepts the and begins the game when it is sent through third-party file-managers like ES file manager. Is the...
I am developing a crossword application which accepts .puz file as input. I tried the following code in which the application doesn't accept .puz file from default file manager while it accepts the and begins the game when it is sent through third-party file-managers like ES file manager. Is there a way to make it acce...
android|file-manager|puz
3
2016-05-04T17:54:07.400Z
2,016
5
17
2
319
2
369
25
3
1
true
false
false
false
false
false
low
37,034,763
Cannot resolve symbol setTextSize,setText, addView in Android Studio first app
<p>I am creating my first app using Android Studio. I have followed the instructions in <a href="http://developer.android.com/training/basics/firstapp/starting-activity.html#DisplayMessage" rel="nofollow">http://developer.android.com/training/basics/firstapp/starting-activity.html#DisplayMessage</a> but I am getting m...
I am creating my first app using Android Studio. I have followed the instructions in http://developer.android.com/training/basics/firstapp/starting-activity.html#DisplayMessage but I am getting multiple cannot resolve symbol error for setTextSize, setText and addView . I have imported TextView using alt+Enter but still...
android
2
2016-05-04T17:54:45.197Z
2,016
5
17
2
2,601
1
464
78
1
1
true
false
true
false
false
false
low
37,034,832
E/[Error]: sh: /data/data/: Permission denied
<p>I am getting this error why I try to go to /data/data/</p> <pre><code>E/[Error]: sh: /data/data/: Permission denied </code></pre> <p>But I do not understand why. When I press the button, superuser asks for root permissions correctly, but it still tells me permission denied in the log... that shouldn't be happening...
I am getting this error why I try to go to /data/data/ [CODE] But I do not understand why. When I press the button, superuser asks for root permissions correctly, but it still tells me permission denied in the log... that shouldn't be happening if I give root permissions, right? [CODE] I hope someone can help me unders...
android|shell|root
0
2016-05-04T18:00:04.897Z
2,016
5
18
2
453
1
399
45
3
2
true
false
false
false
false
false
zero
37,034,840
How to achieve Android Photos app UI
<p>I'm writing an app just exactly like the Google's Photos app for academic purpose. So I'm struggling with building this activity. Sorry for the app language.</p> <p><a href="https://i.stack.imgur.com/qtQbr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qtQbr.jpg" alt="enter image description her...
I'm writing an app just exactly like the Google's Photos app for academic purpose. So I'm struggling with building this activity. Sorry for the app language. Basically what I wan't is to query all image in device and put them nicely on UI, group them into days (months, years, currently in pic is grouping into days): a ...
android|user-interface|gridview|imageview|photos
0
2016-05-04T18:00:52.577Z
2,016
5
18
2
55
0
822
36
5
0
false
true
false
false
false
false
zero
37,034,890
FragmentTransaction fragment doesn't show up
<p>I want to add fragment in onCreate method. But nothing shows up. I don't get any errors. I tried using executePendingTransactions() after .commit but nothing changed. Also I tried LinearLayout and RelativeLayout for fragment_container instead of FrameLayout. What's wrong? </p> <p><strong>MainActivity.java</strong>...
I want to add fragment in onCreate method. But nothing shows up. I don't get any errors. I tried using executePendingTransactions() after .commit but nothing changed. Also I tried LinearLayout and RelativeLayout for fragment_container instead of FrameLayout. What's wrong? MainActivity.java [CODE] activity_main.xml [COD...
android|fragment
0
2016-05-04T18:03:38.680Z
2,016
5
18
2
964
1
414
44
2
5
true
false
false
false
false
false
zero
37,034,930
Android , Receiving broadcast with Telephony.SMS_RECEIVED action when service is currently unavailable
<p>Now days i am upgrading my app that helps sending SMS to multiply number of recipients.</p> <p>My goal is to check the sending progress in special cases for example when the provider service is not available :</p> <p>RESULT_ERROR_NO_SERVICE (Failed because service is currently unavailable)</p> <p>Before about yea...
Now days i am upgrading my app that helps sending SMS to multiply number of recipients. My goal is to check the sending progress in special cases for example when the provider service is not available : RESULT_ERROR_NO_SERVICE (Failed because service is currently unavailable) Before about year i was doing the same test...
android|broadcast|intentfilter|telephony|smsmanager
0
2016-05-04T18:05:45.040Z
2,016
5
18
2
235
1
1,216
102
5
1
true
false
false
false
false
false
zero
37,035,139
INSTALL_PARSE_FAILED_NO_CERTIFICATES from adb install; using Java 6, Android 5.0.2
<p>I've followed the instructions here and elsewhere on creating a signed jar file and I'm still getting INSTALL_PARSE_FAILED_NO_CERTIFICATES when I try to install the signed .apk onto my LG-D415. As noted, the signing algorithm seems to work better with Java 6. So I uninstalled all versions of Java other than that and...
I've followed the instructions here and elsewhere on creating a signed jar file and I'm still getting INSTALL_PARSE_FAILED_NO_CERTIFICATES when I try to install the signed .apk onto my LG-D415. As noted, the signing algorithm seems to work better with Java 6. So I uninstalled all versions of Java other than that and ma...
java|android|installation|adb|sign
1
2016-05-04T18:18:31.040Z
2,016
5
18
2
4,844
1
441
82
5
2
true
false
true
false
false
false
low
37,035,343
Populate spinner android and Asynchronous-Http-Client
<p>I am new to LoopJ Android Asynchronous-Http-Client.I figured out how to GET the data from the database with my PHP web service.</p> <p>My ServiceHandler :</p> <pre><code>public class ServiceHandler { private static String BASE_URL="http:/my/url/"; private static String GET_CAT= BASE_URL+"get_cat.php"; ...
I am new to LoopJ Android Asynchronous-Http-Client.I figured out how to GET the data from the database with my PHP web service. My ServiceHandler : [CODE] My AddBookActivity: In this class i use getAllCat to get categories from database but now how can i populate my spinner ? [CODE]
android|asynchronous|spinner|android-async-http|loopj
0
2016-05-04T18:30:03.760Z
2,016
5
18
2
528
2
283
53
5
2
true
false
false
false
false
false
zero
37,035,563
how to parse the data from Json String using volley?
<p><a href="https://i.stack.imgur.com/phcPe.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/phcPe.jpg" alt="enter image description here"></a></p> <p>In the first activity we will show only the date of the purchased and total quantity in a List View. And when user will click on a List Item we will ...
In the first activity we will show only the date of the purchased and total quantity in a List View. And when user will click on a List Item we will show the items and quantity details in the next activity. [after clicking on date user will go to next activity where it will show the product name n quantity ] here is th...
android|json|listview
-3
2016-05-04T18:42:12.280Z
2,016
5
18
2
685
1
355
52
3
1
true
false
false
false
false
true
negative
37,035,635
RecyclerView: Profile Pics repeating/duplicating when scrolling up/down
<p>I'm currently creating a recyclerView that shows a list of people with pics and other info. The texts info are showing correctly. Only the image or should I say the profile pics are sometimes duplicating/repeating when I quickly scroll up/down on the lists while it's still fetching pics from the server. I was lookin...
I'm currently creating a recyclerView that shows a list of people with pics and other info. The texts info are showing correctly. Only the image or should I say the profile pics are sometimes duplicating/repeating when I quickly scroll up/down on the lists while it's still fetching pics from the server. I was looking f...
android|android-recyclerview
-1
2016-05-04T18:46:42.827Z
2,016
5
18
2
1,758
2
481
71
2
1
true
false
false
false
false
true
negative
37,035,752
No such table own database android
<p>So I want to use my own SQLite database in my Android App. But when I'm trying to get some data I get no such table exception. I have already tried reinstalling App. </p> <p>Here is <em>DatabaseHelper</em> code :</p> <pre><code>package pl.edu.ur.kulturalia; import android.content.Context; import android.content.re...
So I want to use my own SQLite database in my Android App. But when I'm trying to get some data I get no such table exception. I have already tried reinstalling App. Here is DatabaseHelper code : [CODE] and this is code where I'm using this helper : [CODE]
android|sqlite
1
2016-05-04T18:54:03.913Z
2,016
5
18
2
18
0
256
34
2
2
true
true
false
false
false
false
low
37,035,786
I am using a git repo called LikeButton, but the state of my button keeps jumping around in my recyclerview?
<p>I am using a git repo called LikeButton, but the state of my button keeps jumping around in my recyclerview? Here is the repo <a href="https://github.com/jd-alexander/LikeButton" rel="nofollow">https://github.com/jd-alexander/LikeButton</a>. Basically when I click on a recyclerview item, it sets a textview to the wo...
I am using a git repo called LikeButton, but the state of my button keeps jumping around in my recyclerview? Here is the repo https://github.com/jd-alexander/LikeButton . Basically when I click on a recyclerview item, it sets a textview to the word true or false based on if the user liked the post or not, and this work...
java|android|button|android-recyclerview
0
2016-05-04T18:55:42.173Z
2,016
5
18
2
99
1
520
108
4
3
true
false
false
false
false
false
zero
37,036,011
Android alert dialog good usage
<p>I couldn't find anything usefull on the internet about my problem. So my question is how do you do a good usage of Android's alert dialogs. Here is an example of code creating and showing an alert dialog just with the title "error", the text "you can't do that" and a "Ok" button :</p> <pre><code> AlertDialog.Bui...
I couldn't find anything usefull on the internet about my problem. So my question is how do you do a good usage of Android's alert dialogs. Here is an example of code creating and showing an alert dialog just with the title "error", the text "you can't do that" and a "Ok" button : [CODE] But now, if I have many of this...
android|android-alertdialog
0
2016-05-04T19:06:47.777Z
2,016
5
19
2
654
2
774
31
2
1
true
false
false
false
false
false
zero