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
36,813,067
Error on android studio gradle progress
<p>I want to add a library but when I click on the sync appears this error, bad for an English speaking sorry</p> <p>My error details: </p> <blockquote> <p>Error:(39, 13) Failed to resolve: com.getbase:floatingactionbutton:1.10.1</p> </blockquote> <p>Screenshot:</p> <p><img src="https://i.stack.imgur.com/K63xi.jp...
I want to add a library but when I click on the sync appears this error, bad for an English speaking sorry My error details: Error:(39, 13) Failed to resolve: com.getbase:floatingactionbutton:1.10.1 Screenshot: [CODE]
javascript|java|android|ide
0
2016-04-23T15:58:30.210Z
2,016
4
15
5
86
0
217
39
4
1
true
true
false
false
false
false
zero
36,813,098
SecureRandom provider "Crypto" unavailable in Android N for deterministially generating a key
<p>Users can purchase a "Pro" version of my app. When they do, I store and verify their purchase as follows.</p> <ul> <li>Combine the user's UUID and another unique string.</li> <li>The resulting string is then encrypted using a static seed. <strong>I do this using <code>SecureRandom.getInstance("SHA1PRNG", "Crypto")<...
Users can purchase a "Pro" version of my app. When they do, I store and verify their purchase as follows. Combine the user's UUID and another unique string. The resulting string is then encrypted using a static seed. I do this using SecureRandom.getInstance("SHA1PRNG", "Crypto") - This is the problem! The resulting enc...
android|random|cryptography|android-7.0-nougat|secure-random
8
2016-04-23T16:01:48.420Z
2,016
4
16
5
7,933
3
1,418
93
5
1
true
false
true
false
false
false
medium
36,813,114
Android: No debugging symbols found in gdbserver
<p>I try to attach a process on my rooted Android and create corefile with GDB but it can't create a gcore file because the symbols could not be found. </p> <p>on my phone, i open Terminal app and i input</p> <pre><code>su </code></pre> <p>to grant root access in Terminal. i input</p> <pre><code>dumpsys meminfo </...
I try to attach a process on my rooted Android and create corefile with GDB but it can't create a gcore file because the symbols could not be found. on my phone, i open Terminal app and i input [CODE] to grant root access in Terminal. i input [CODE] to show all running processes. i input [CODE] on my computer, i open g...
android|android-ndk|gdb|gdbserver|gcore
0
2016-04-23T16:03:18.057Z
2,016
4
16
5
1,487
2
1,032
48
5
8
true
false
false
false
false
false
zero
36,813,180
Is there any way to use python script under Xamarin.Android?
<p>I know CSharp is the language in Xamarin,but sometimes some features of python are awesome,so I want invoke python scripts under Xamarin. I know ironpython,so I try it. I added some Required Assembly like: IronPython.dll,IronPython.Module,Microsoft.Scripting.dll... Luckily,I built it successfully and it run on my A...
I know CSharp is the language in Xamarin,but sometimes some features of python are awesome,so I want invoke python scripts under Xamarin. I know ironpython,so I try it. I added some Required Assembly like: IronPython.dll,IronPython.Module,Microsoft.Scripting.dll... Luckily,I built it successfully and it run on my Andro...
c#|android|python|xamarin|ironpython
0
2016-04-23T16:09:30.193Z
2,016
4
16
5
1,447
2
458
60
5
2
true
false
false
false
false
false
zero
36,813,247
Android GridView outside the margins
<p>I have included some images in the gridview, at the end of the scroll, seems to come out of the margins without any reason. (see the image )Can anyone tell me why? I post the XML file and the Image Adapter.</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_w...
I have included some images in the gridview, at the end of the scroll, seems to come out of the margins without any reason. (see the image )Can anyone tell me why? I post the XML file and the Image Adapter. [CODE] [CODE]
android|image|gridview
0
2016-04-23T16:16:22.730Z
2,016
4
16
5
74
1
220
36
3
2
true
false
false
false
false
false
zero
36,813,369
How to handle numerous combinations of screen sizes and densities?
<p>I'm struggling with getting the right <code>drawables</code> onto the right screen. I followed the android developer instructions and created a version per <code>drawable</code> for <code>ldpi</code> through <code>xxhdpi</code>. However, physically small and large screens with the same <code>dpi</code> select the sa...
I'm struggling with getting the right drawables onto the right screen. I followed the android developer instructions and created a version per drawable for ldpi through xxhdpi . However, physically small and large screens with the same dpi select the same drawable , where I'd like the larger screen to get a bigger one....
android|android-layout|android-xml|android-drawable|dpi
0
2016-04-23T16:26:42.160Z
2,016
4
16
5
41
1
1,165
66
5
0
false
false
false
false
false
false
zero
36,813,381
ListFragment Not displaying data from List
<p>After I try to open the navigation drawer and go to a different tab and then go back to it. It is not showing data in a list once again.</p> <p>Main Activity</p> <pre><code>package com.goldleaf.branden.goldleafcomics; import android.os.Bundle; import android.support.design.widget.NavigationView; import android.supp...
After I try to open the navigation drawer and go to a different tab and then go back to it. It is not showing data in a list once again. Main Activity [CODE] UniverseListing [CODE] Glimpse List Fragment [CODE]
java|android|android-listfragment
-1
2016-04-23T16:27:56.937Z
2,016
4
16
5
268
1
209
42
3
3
true
false
false
false
false
true
negative
36,813,476
String from SQL server to bitmap android
<p>I am working on a project in android where I want to upload and download pictures to/from a SQL database.</p> <p>I can perfect upload my pictures to it. I take a photo, convert this to a bitmap. This bitmap I can convert to a String. This string I send to a webserice to place it in a SQL database(this commum is of ...
I am working on a project in android where I want to upload and download pictures to/from a SQL database. I can perfect upload my pictures to it. I take a photo, convert this to a bitmap. This bitmap I can convert to a String. This string I send to a webserice to place it in a SQL database(this commum is of the type BL...
php|android|sql|web-services|bitmap
1
2016-04-23T16:36:52.573Z
2,016
4
16
5
145
0
1,098
40
5
4
true
true
false
false
false
false
low
36,813,506
custom listview with images
<p>Hello guys im new to android dev and im having an unknown error with my code,i finished the code but when i run it sends me back to "dataprovider". can anyone please help me?</p> <p>My fragment.</p> <pre><code>import android.os.Bundle; import android.support.v4.app.ListFragment; import android.view.LayoutInflater;...
Hello guys im new to android dev and im having an unknown error with my code,i finished the code but when i run it sends me back to "dataprovider". can anyone please help me? My fragment. [CODE] My custom Adapter. [CODE] My dataprovider. [CODE] my frag xml. [CODE] my row xml. [CODE]
java|android|android-layout|listview
-1
2016-04-23T16:38:49.003Z
2,016
4
16
5
48
1
283
27
4
5
true
false
false
false
false
true
negative
36,813,580
Detect press of back button
<p>I want to detect pressing of a back button <strong>in service</strong>. I've just tried this code but it didn't show me any log. Can somebody explain me why? And what should I do to make it work?</p> <p>The whole idea of doing this was was taken from this tutorial <a href="http://www.kpbird.com/2013/03/android-dete...
I want to detect pressing of a back button in service . I've just tried this code but it didn't show me any log. Can somebody explain me why? And what should I do to make it work? The whole idea of doing this was was taken from this tutorial http://www.kpbird.com/2013/03/android-detect-global-touch-event.html [CODE]
android
2
2016-04-23T16:44:24.557Z
2,016
4
16
5
523
1
317
27
1
1
true
false
false
false
false
false
low
36,813,583
Android Notification from non-activity class
<p>I want to call the notify() method which is in MainActivity from another class. This is how I did it:</p> <pre><code>public class MyAlarmService extends Service{ @Override public IBinder onBind(Intent arg0) { // TODO Auto-generated method stub return null; } @Override public...
I want to call the notify() method which is in MainActivity from another class. This is how I did it: [CODE] MainActivity: [CODE] But I get an error message: FATAL EXCEPTION: main Process: com.xxxx.app, PID: 10311 java.lang.RuntimeException: Unable to start service com.xxxx.app.MyAlarmService@636e513 with Intent { cmp=...
java|android|nullpointerexception|null|notifications
0
2016-04-23T16:44:30.010Z
2,016
4
16
5
1,998
2
2,172
44
5
2
true
false
false
false
false
false
zero
36,813,601
Android Studio Threads Handler
<p>Im trying to make a program that when i press a button it will show the speed of my arduino car and the distance travelled. Im trying to constantly update the distance in TextView.</p> <p>Here is my initialization of Handler in the onCreate() that should set my TextView text to distance: </p> <pre><code>mHandler =...
Im trying to make a program that when i press a button it will show the speed of my arduino car and the distance travelled. Im trying to constantly update the distance in TextView. Here is my initialization of Handler in the onCreate() that should set my TextView text to distance: [CODE] And here is my thread that does...
java|android|multithreading
0
2016-04-23T16:45:16.877Z
2,016
4
16
5
3,746
3
507
30
3
2
true
false
true
false
false
false
zero
36,813,608
Android dynamic thumbnail size based on screen size and density
<p>I am working on a dynamic thumbnail service based on thumbor which will provide any size thumbnail for given image and will cache it. Ideally I would like to constrain sizes of thumbnails so that cache will be effective and I can pre-cache those size images. Ideally different types of image sizes to be pre-cached sh...
I am working on a dynamic thumbnail service based on thumbor which will provide any size thumbnail for given image and will cache it. Ideally I would like to constrain sizes of thumbnails so that cache will be effective and I can pre-cache those size images. Ideally different types of image sizes to be pre-cached shoul...
android|thumbnails|dpi|screen-size
0
2016-04-23T16:46:05.900Z
2,016
4
16
5
4,156
2
1,074
63
4
0
false
false
true
false
false
false
zero
36,813,646
Php JSONArray decoding and performing Database Operation
<p>I'm sending a JsonArray from my android application as this:</p> <pre><code> final JSONArray data = new JSONArray(); try{ for(int i = 0; i&lt;contactsList.size(); i++){ JSONObject jobj = new JSONObject(); ObjectContacts ob = contactsList.get(i); jobj.put("contactid...
I'm sending a JsonArray from my android application as this: [CODE] And the resulting Array that my server receive. [CODE] I need to fetch mobile numbers from this array and perform a Db Operation to look if this mobile number exist or not. How can I access each mobile and perform a Query? The query will consist of loo...
php|android|mysql|mobile
0
2016-04-23T16:48:59.687Z
2,016
4
16
5
296
1
1,167
56
4
8
true
false
false
false
false
false
zero
36,813,726
RecyclerView not refreshing after rotating the device with an open DialogFragment
<p>I have a <code>RecyclerView</code> inside a <code>AppCompatActivity</code>. Item insertions and changes are shown and animated correctly after rotating the device.</p> <p>The problem happens when you:</p> <ol> <li>Tap on an item in the <code>RecyclerView</code>.</li> <li>A <code>DialogFragment</code> opens prompti...
I have a RecyclerView inside a AppCompatActivity . Item insertions and changes are shown and animated correctly after rotating the device. The problem happens when you: Tap on an item in the RecyclerView . A DialogFragment opens prompting if you want to the delete the item. Rotate the device. Confirm the deletion in th...
android|android-recyclerview|notifydatasetchanged|orientation-changes
6
2016-04-23T16:55:50.737Z
2,016
4
16
5
1,594
1
1,311
81
4
1
true
false
false
false
false
false
medium
36,813,794
Upload image sequentially to a REST API via retrofit
<p>I am looking for an implementation strategy to upload multiple image to a server sequentially. I am using API's from <a href="http://uploads.im" rel="nofollow noreferrer">http://uploads.im</a> to upload my images. It <strong>does not allow</strong> choosing multiple images in one multi part POST request. Hence I hav...
I am looking for an implementation strategy to upload multiple image to a server sequentially. I am using API's from http://uploads.im to upload my images. It does not allow choosing multiple images in one multi part POST request. Hence I have to upload image sequentially. I have an interface as shown below. User would...
android|file-upload|retrofit|rx-java
1
2016-04-23T16:59:48.980Z
2,016
4
16
5
1,520
1
1,150
52
4
2
true
false
false
false
false
false
low
36,813,806
Unable to open an Android TV application after installing it
<p>I'm working on an Android TV application, after the publishment on Google play store, i could install it on a smart box(MXIII), but i wasn't able to launch it since i could not find the icon, while in the play store there is just uninstall button with no open button.</p> <p>This is my manifest file :</p> <pre><co...
I'm working on an Android TV application, after the publishment on Google play store, i could install it on a smart box(MXIII), but i wasn't able to launch it since i could not find the icon, while in the play store there is just uninstall button with no open button. This is my manifest file : [CODE] I'm really hopeful...
android|google-play|publish|android-tv
2
2016-04-23T17:00:48.063Z
2,016
4
17
5
1,281
1
371
60
4
1
true
false
false
false
false
false
low
36,813,906
Hook behaviour in RxJava Android and Retrofit
<p>I am trying to learn RxJava with Retrofit. So this may be a simple question.</p> <p>I want to write a wrapper method on Retrofit api calls. This method will show and hide progress view and do some other things before starting the call and post completion of call.</p> <p>This is my service method</p> <pre><code> ...
I am trying to learn RxJava with Retrofit. So this may be a simple question. I want to write a wrapper method on Retrofit api calls. This method will show and hide progress view and do some other things before starting the call and post completion of call. This is my service method [CODE] Now, before actually making th...
android|retrofit|rx-java|rx-android
0
2016-04-23T17:10:04.450Z
2,016
4
17
5
724
1
751
45
4
2
true
false
false
false
false
false
zero
36,814,052
How to adjust device brightness programmatically using SeekBar?
<p>I have two seekbars in my settings application, one for sound and one for brightness. My sound seekbar does change the media volume as I want it to and it stays changed in other activities and applications but the brightness seekbar does not stay changed after I change the activity, it only changes the brightness in...
I have two seekbars in my settings application, one for sound and one for brightness. My sound seekbar does change the media volume as I want it to and it stays changed in other activities and applications but the brightness seekbar does not stay changed after I change the activity, it only changes the brightness in se...
java|android|android-settings|screen-brightness
1
2016-04-23T17:22:43.977Z
2,016
4
17
5
8,105
1
558
63
4
2
true
false
true
false
false
false
low
36,814,216
How do I animate smoothly the current progress for SendingProgressView?
<p>I have created a repo for this so anyone can test this out themselves. The repo assumes that it takes 1 second to upload 20% so the upload will be completed after 5 seconds:</p> <p><a href="https://github.com/Winghin2517/SendingProgressViewTest.git" rel="nofollow noreferrer">https://github.com/Winghin2517/SendingPr...
I have created a repo for this so anyone can test this out themselves. The repo assumes that it takes 1 second to upload 20% so the upload will be completed after 5 seconds: https://github.com/Winghin2517/SendingProgressViewTest.git This is the code for instamaterial's SendingProgressView- you can find the code on gith...
android|animation|android-custom-view|objectanimator
0
2016-04-23T17:39:13.237Z
2,016
4
17
5
2,145
1
1,578
71
4
4
true
false
false
false
false
false
zero
36,814,283
Options for small background tasks
<p>I have a static method that does a network "heavy" call let's call this <code>getDataFromCloudServer()</code>. Now a new handly utility method will be composed that will have this method.<br> Example: </p> <pre><code>public static void periodicUpdate(Context ctx) { clearCachedData(); List&lt;Object&gt;...
I have a static method that does a network "heavy" call let's call this getDataFromCloudServer() . Now a new handly utility method will be composed that will have this method. Example: [CODE] This new handy method would need to be trigger when an event on the UI thread occurs. But obviously I can't call it from UI thre...
java|android|multithreading|concurrency|android-asynctask
1
2016-04-23T17:45:03.957Z
2,016
4
17
5
56
1
579
34
5
2
true
false
false
false
false
false
low
36,814,293
Is it possible to wait for GC_FOR_ALLOCATION to complete?
<p>Im having a little problem in my Libgdx Android game. When I change the screen, animation starts as soon as new screen created. It works perfectly fine and smooth on the Desktop, but when i run this on android device, the lag appears when new screen created and it looks like a few frames of animation are just skippe...
Im having a little problem in my Libgdx Android game. When I change the screen, animation starts as soon as new screen created. It works perfectly fine and smooth on the Desktop, but when i run this on android device, the lag appears when new screen created and it looks like a few frames of animation are just skipped. ...
java|android|libgdx|garbage-collection
0
2016-04-23T17:45:36.957Z
2,016
4
17
5
93
2
830
57
4
1
true
false
false
false
false
false
zero
36,814,312
add one to textinput value on button press in react-native
<p>I have this button and input</p> <pre><code> &lt;Button style={styles.button, {overflow: 'hidden' }} onPress={this.ADDONE}&gt; ADD &lt;/Button&gt; &lt;TextInput ref={component =&gt; this._textInput = component} style={{height: 40, borderColor: 'gray',width:120} value={this.state.text} defaultValue='...
I have this button and input [CODE] and here is my try [CODE] what I need is when I press on button to add 1 to input value every time the button event is "onpress=function" Now it can't increase 1 because it is string not number I tried this [CODE] it just give a right behvaior at the first time only after that it can...
javascript|android|react-native
0
2016-04-23T17:47:18.183Z
2,016
4
17
5
726
1
352
58
3
3
true
false
false
false
false
false
zero
36,814,378
BaseAdapter OnItemClickListener never called
<p>I have a custom <code>BaseAdapter</code> for my <code>ListView</code> in which i implements <code>AdapterView.OnItemClickListener</code>.</p> <p>The problem is the <code>onItemClick(AdapterView&lt;?&gt;, View, int, long)</code> method is never called. I guess I need to implements that <code>interface</code> in my m...
I have a custom BaseAdapter for my ListView in which i implements AdapterView.OnItemClickListener . The problem is the onItemClick(AdapterView<?>, View, int, long) method is never called. I guess I need to implements that interface in my main Activity and not in my ListView custom adapter. MyListViewAdapter.java : [COD...
java|android|listview|baseadapter|onitemclicklistener
0
2016-04-23T17:54:47.613Z
2,016
4
17
5
1,970
2
334
44
5
1
true
false
false
false
false
false
zero
36,814,419
"runOnUIThread" incrementally running everytime I go back to the activity
<p>I have a timer which runs on the activity's OnCreate method as shown below. When run, the timer increments as it should. Showing:</p> <blockquote> <p>00:00, 00:01, 00:02, etc.</p> </blockquote> <pre><code>final Timer timer = new Timer(); final TimerTask timerTask = new TimerTask(){ @Ove...
I have a timer which runs on the activity's OnCreate method as shown below. When run, the timer increments as it should. Showing: 00:00, 00:01, 00:02, etc. [CODE] However, when I revisit the activity, the timer's interval increases. If I revisit it the first time, the interval becomes 2 i.e. 00:00, 00:02, 00:04, etc. R...
java|android-studio
0
2016-04-23T17:58:14.130Z
2,016
4
17
5
193
1
588
73
2
1
true
false
false
false
false
false
zero
36,814,430
Facebook SDK import statement doesn't find classes
<p>I've already read up on tons of variations of this problem, but I can't seem to get the import com.facebook. line to work in my application using Android Studio 2.0.</p> <p>I have a main application and a library module, and I'm using the Facebook SDK in the library module. Here's my top project gradle:</p> <pre>...
I've already read up on tons of variations of this problem, but I can't seem to get the import com.facebook. line to work in my application using Android Studio 2.0. I have a main application and a library module, and I'm using the Facebook SDK in the library module. Here's my top project gradle: [CODE] And the gradle ...
facebook-sdk-4.0|android-studio-2.0|android-studio-import
1
2016-04-23T17:58:50.507Z
2,016
4
17
5
764
1
1,086
50
3
4
true
false
false
false
false
false
low
36,814,555
Android: Compressing images creates black borders on left and top margin
<p>I'm using this compression class from the following site: <a href="http://voidcanvas.com/whatsapp-like-image-compression-in-android/" rel="nofollow noreferrer">http://voidcanvas.com/whatsapp-like-image-compression-in-android/</a></p> <p>Here is my compression class with very little modifications from the original c...
I'm using this compression class from the following site: http://voidcanvas.com/whatsapp-like-image-compression-in-android/ Here is my compression class with very little modifications from the original class: [CODE] This is my original image: This is my compressed image: I don't understand why the compressed image has ...
android|image|image-compression
2
2016-04-23T18:08:14.950Z
2,016
4
18
5
796
2
985
72
3
1
true
false
false
false
false
false
low
36,814,568
Only returns an index of -1 when there is a match
<p>I am trying to get an index of a item in an array that is selectable in a list view. The only issue is that when i click on the item, it only returns the index of -1 which means that it doesnt match when in fact there should be a match. Thanks in advanced!</p> <pre><code>package com.goldleaf.branden.goldleafcomics;...
I am trying to get an index of a item in an array that is selectable in a list view. The only issue is that when i click on the item, it only returns the index of -1 which means that it doesnt match when in fact there should be a match. Thanks in advanced! [CODE]
android|android-fragments|arraylist
0
2016-04-23T18:08:49.873Z
2,016
4
18
5
39
2
263
49
3
1
true
false
false
false
false
false
zero
36,814,620
SQlite Method to Export Single cell value string to a variable
<p>I have code that imports data with sms! And now I need one method to export this data from the database to a variable on the IncomingSMSReceiver (I will probably make one method for each field); Can I export a single cell value to a variable? </p> <p>E.g I tried to do it for the onoma column but I don't know what d...
I have code that imports data with sms! And now I need one method to export this data from the database to a variable on the IncomingSMSReceiver (I will probably make one method for each field); Can I export a single cell value to a variable? E.g I tried to do it for the onoma column but I don't know what database meth...
java|android|sqlite
0
2016-04-23T18:12:54.800Z
2,016
4
18
5
173
1
430
62
3
2
true
false
false
false
false
false
zero
36,814,748
How to start a acitivity through a Broadcast Receiver
<p>I'm try to make an android exercise of my college and I'm stuck on the alarm part. When you get the time determined by the alarm, I need to send an alert and can open another activity for the notification.</p> <p>But as the class is already extending the BroadcastReceiver, how can I start another acitivity?</p> <p...
I'm try to make an android exercise of my college and I'm stuck on the alarm part. When you get the time determined by the alarm, I need to send an alert and can open another activity for the notification. But as the class is already extending the BroadcastReceiver, how can I start another acitivity? My class are like ...
java|android|broadcastreceiver
0
2016-04-23T18:24:06.840Z
2,016
4
18
5
34
1
332
53
3
1
true
false
false
false
false
false
zero
36,814,755
Sources for Android API 23 Platform not found (Android Studio 2.0)
<p>Android Studio doesn't redirect me to API sources correctly. When I hit any function it decompiles .class file bytecode instead of accessing the right file from sdk/sources tree. <a href="https://i.stack.imgur.com/7pywB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7pywB.png" alt=""></a> Hitting "downlo...
Android Studio doesn't redirect me to API sources correctly. When I hit any function it decompiles .class file bytecode instead of accessing the right file from sdk/sources tree. Hitting "download" and "refreshing" options does nothing. It's particularly annoying for implementing listeners since it generates functions'...
android-studio|android-api-levels
103
2016-04-23T18:25:26.097Z
2,016
4
18
5
55,766
6
823
66
2
2
true
false
true
true
true
false
high
36,814,856
Unable to get current location Longitude and Latitude using GPS
<p>I am try to use my GPS to get the Longitude and Latitude of my current location. But i am getting nothing, I am also not getting any type of errors or logcat. Here is my code that I am using</p> <pre><code>public class MainActivity extends Activity implements LocationListener { protected LocationManager locationMan...
I am try to use my GPS to get the Longitude and Latitude of my current location. But i am getting nothing, I am also not getting any type of errors or logcat. Here is my code that I am using [CODE] Thank you in advance
android|gps|latitude-longitude
0
2016-04-23T18:34:22.147Z
2,016
4
18
5
75
1
218
63
3
1
true
false
false
false
false
false
zero
36,815,049
"Error inflating class android.support.design.widget.NavigationView" on Android 4.2
<p>I've had multiple crash reports with the below stack trace. All are from various Samsung devices on Android 4.2. I am unable to reproduce using an emulator. Does anyone have any ideas regarding what could be causing this? </p> <p>My next release will upgrade from support library versions 23.1.1 to 23.2.1, but I don...
I've had multiple crash reports with the below stack trace. All are from various Samsung devices on Android 4.2. I am unable to reproduce using an emulator. Does anyone have any ideas regarding what could be causing this? My next release will upgrade from support library versions 23.1.1 to 23.2.1, but I don't know if t...
android|android-support-library|navigation-drawer|android-navigationview
2
2016-04-23T18:53:17.153Z
2,016
4
18
5
2,637
1
447
83
4
4
true
false
true
false
false
false
low
36,815,089
rx.exceptions.OnErrorNotImplementedException when reading field LatLng.longitude on a null object
<p>I'm new to FRP, in this case RxJava. As a part of learning by practicing, I decided to make a small project based on Google Maps. For this project, I'm using <a href="https://github.com/sdoward/RxGoogleMaps" rel="nofollow">RxGoogleMaps</a> as one of the Rx replacement of the standard way.</p> <p>A bit of a backgrou...
I'm new to FRP, in this case RxJava. As a part of learning by practicing, I decided to make a small project based on Google Maps. For this project, I'm using RxGoogleMaps as one of the Rx replacement of the standard way. A bit of a background for this project, I'm trying to create a bunch of marker clusters on the map ...
android|google-maps|google-maps-api-3|rx-java|rx-android
1
2016-04-23T18:57:16.303Z
2,016
4
18
5
293
0
1,673
97
5
2
true
true
false
false
false
false
low
36,815,153
Unfortunately softkeyboard has stopped working
<p>I have made a SoftKeyboard with dictionary support. The keyboard runs fine on some devices but on some devices it says-" unfortunately SoftKeyboard has stopped working" when tried to set as default keyboard. When I tested in on emulator the following logcat error messages shows up:-</p> <pre><code>04-23 14:48:52.63...
I have made a SoftKeyboard with dictionary support. The keyboard runs fine on some devices but on some devices it says-" unfortunately SoftKeyboard has stopped working" when tried to set as default keyboard. When I tested in on emulator the following logcat error messages shows up:- [CODE] What are these error messages...
android|android-ndk|android-softkeyboard
1
2016-04-23T19:03:37.140Z
2,016
4
19
5
133
0
467
46
3
1
true
true
false
false
false
false
low
36,815,240
Why does my Android app not request permissions on install?
<p>When installing the APK, it shows the app doesn't require special permissions.</p> <p>When launching the camera inside the app, it asks the user whether they'd like to allow the app to access the camera, which is fine.</p> <p>When trying to use the microphone, it does not ask and force quits due to permission issu...
When installing the APK, it shows the app doesn't require special permissions. When launching the camera inside the app, it asks the user whether they'd like to allow the app to access the camera, which is fine. When trying to use the microphone, it does not ask and force quits due to permission issues. EDIT (Clarifica...
android|android-permissions
3
2016-04-23T19:11:25.563Z
2,016
4
19
5
7,872
1
392
59
2
1
true
false
true
false
false
false
low
36,815,326
AllJoyn BusSignalReply error
<p>I'm building an Android App that uses the AllJoyn Framework. Basically, I need a lan communication in order to create lobbies and allow people that are joined to them, play a certain game.</p> <p>For this, I have created an object Lobby and its corresponding LobbyInterface. What I have done for now is: -An user can...
I'm building an Android App that uses the AllJoyn Framework. Basically, I need a lan communication in order to create lobbies and allow people that are joined to them, play a certain game. For this, I have created an object Lobby and its corresponding LobbyInterface. What I have done for now is: -An user can create a L...
java|android|multiplayer|alljoyn|local-network
1
2016-04-23T19:18:57.360Z
2,016
4
19
5
87
1
1,369
28
5
4
true
false
false
false
false
false
low
36,815,349
Button calles main activity from within the fragment
<p>I 've added a button to the menu which is suppose to take me from the fragment to the main activity but I don't now how to implement it?</p> <p>I put a switch statement inside onOptionsItemSelected. Fragment wehre I will call main activity: </p> <pre><code> public class DetailFragment extends Fragment impl...
I 've added a button to the menu which is suppose to take me from the fragment to the main activity but I don't now how to implement it? I put a switch statement inside onOptionsItemSelected. Fragment wehre I will call main activity: [CODE] My mainactivity : [CODE] Can you please help ? Edit: This fragment is associate...
android|android-fragments
0
2016-04-23T19:21:38.467Z
2,016
4
19
5
125
3
412
52
2
2
true
false
false
false
false
false
zero
36,815,485
React Native sharing image to Instagram from DocumentDirectoryPath
<p>I have made custom native module for React Native that's need to share images from path <code>/data/user/0/com.instagramscheduler/files/downloaded.jpg</code> (that is my application) and to be clear <strong>file exists in that folder</strong>. </p> <p>But the problem is that it is not sharing, when I share to Insta...
I have made custom native module for React Native that's need to share images from path /data/user/0/com.instagramscheduler/files/downloaded.jpg (that is my application) and to be clear file exists in that folder . But the problem is that it is not sharing, when I share to Instagram it says that it is unable to load fi...
android|react-native|instagram
0
2016-04-23T19:35:41.313Z
2,016
4
19
5
1,715
1
678
66
3
2
true
false
false
false
false
false
zero
36,815,500
How to keep alive my BroadcastReceiver
<p>Currently I'm developing a call blocker application like Truecaller.</p> <p><strong>What I needed</strong></p> <blockquote> <p>I want to detect the incoming calls even my app is removed from the recent apps list.</p> </blockquote> <p>Manifest.xml code</p> <pre><code>&lt;receiver android:name=".PhoneStateRece...
Currently I'm developing a call blocker application like Truecaller. What I needed I want to detect the incoming calls even my app is removed from the recent apps list. Manifest.xml code [CODE] My broadcast receiver code [CODE] My problem My BroadcastReceiver wont work in the background as if I removed from the recent ...
android|broadcastreceiver|android-service|android-broadcastreceiver
23
2016-04-23T19:37:41.660Z
2,016
4
19
5
8,530
7
678
38
4
4
true
false
true
false
true
false
high
36,815,515
onclick Button, start playing a sound
<p>I'm a beginner and have developed a simple app which plays a sound when you click some button. The app runs just fine, but when i click it, there´s no sound.</p> <p>Olá! Fiz um app que simplesmente reproduz um som ao clicar em um botão. O app emula normalmente (abre no emulador), mas quando clico no botão para repr...
I'm a beginner and have developed a simple app which plays a sound when you click some button. The app runs just fine, but when i click it, there´s no sound. Olá! Fiz um app que simplesmente reproduz um som ao clicar em um botão. O app emula normalmente (abre no emulador), mas quando clico no botão para reproduzir um s...
java|android|android-studio
2
2016-04-23T19:39:04.173Z
2,016
4
19
5
114
1
486
37
3
1
true
false
false
false
false
false
low
36,815,749
I have no Idea what's wrong with my SQlite Database
<p>My program was working fine until I decide to modify my <code>DBHelper class</code>, after a few changes every time I modify my program shows me this Log:</p> <pre><code>E/KernelCpuSpeedReader: Failed to read cpu-freq java.io.FileNotFoundException: /sys/devices/sys...
My program was working fine until I decide to modify my DBHelper class , after a few changes every time I modify my program shows me this Log: [CODE] I don't want to assume or make more changes, this is my final stage of my project please help here is my DB Helper: [CODE] Main Activity: [CODE] And Display Value class ,...
java|android|sqlite
0
2016-04-23T19:58:49.613Z
2,016
4
19
5
808
0
361
51
3
4
true
true
false
false
false
false
zero
36,815,834
onCreateView is called after returning back from second activity
<p>I have MainActivityFragment from where I start DetailActivity with below code:</p> <pre><code>private final CurrencyListAdapter.ClickListener itemClickListener = new CurrencyListAdapter.ClickListener() { @Override public void onItemClick(int position, View v) { Intent intent = new Intent(get...
I have MainActivityFragment from where I start DetailActivity with below code: [CODE] After that from my DetailActivity I start my DetailActivityFragment with below code: [CODE] Also I am retaining the instance state within my MainActivityFragment. However, while hitting back button from DetailActivityFragment, onCreat...
android|android-activity|fragment|fragment-lifecycle|onrestoreinstancestate
3
2016-04-23T20:09:49.073Z
2,016
4
20
5
808
1
655
64
5
2
true
false
false
false
false
false
low
36,815,859
Difference between "savedInstanceState" and "bundle" in Android with Xamarin?
<p>I'm starting to use Xamarin and I already saw tutorials and looked over the internet for a specific answer to this question, but with no lucky.</p> <p>Here's the question.</p> <p>When I create a new project with VisualStudio choosing a Xamarin C# Android application, it automatically creates a MainActivity.cs with...
I'm starting to use Xamarin and I already saw tutorials and looked over the internet for a specific answer to this question, but with no lucky. Here's the question. When I create a new project with VisualStudio choosing a Xamarin C# Android application, it automatically creates a MainActivity.cs with this code: Note th...
c#|android|xamarin
0
2016-04-23T20:11:53.053Z
2,016
4
20
5
2,088
1
892
77
3
0
false
false
false
false
false
false
zero
36,815,860
Can I send the user to another .xml with only MAinActvity.java class?
<p>I am wondering if you can use a button click to send the user to another .xml layout without a second .java class using the Intent intent = new Intent(this, layout_name.xml);?</p> <p>or do i have to make another .java class so i can use the Intent.</p> <p>i used this <a href="http://developer.android.com/training/...
I am wondering if you can use a button click to send the user to another .xml layout without a second .java class using the Intent intent = new Intent(this, layout_name.xml);? or do i have to make another .java class so i can use the Intent. i used this guide but it didnt seem to workout MainActivity [CODE] activity_ma...
java|android|xml|android-studio
0
2016-04-23T20:11:58.193Z
2,016
4
20
5
59
3
542
69
4
3
true
false
false
false
false
false
zero
36,815,873
How to disable push notification from pushbots
<p>I'm trying to let the user enable/disable if they want to receive notifications or not. I managed to implement a checkbox for notification and to create a preference class.</p> <p>This is the my preferences class</p> <pre><code>import com.pushbots.push.Pushbots; ... public class UserSettings extends PreferenceAct...
I'm trying to let the user enable/disable if they want to receive notifications or not. I managed to implement a checkbox for notification and to create a preference class. This is the my preferences class [CODE] However when I uncheck the checkbox I still receive the notification. Whats the problem?
java|android|push-notification|pushbots
0
2016-04-23T20:13:21.373Z
2,016
4
20
5
284
2
301
46
4
1
true
false
false
false
false
false
zero
36,815,909
Updating to Realm 0.89.0 (from 0.87.2)
<p>I am upgrading from Realm 0.87.2 to 0.89.0, and am getting the error:</p> <blockquote> <p>RealmClass annotated object must implement RealmModel or derive from RealmObject</p> </blockquote> <p>for classes that do, in fact, extend RealmObject.</p> <p>Based on the instructions on the website (for installing 0.89.0...
I am upgrading from Realm 0.87.2 to 0.89.0, and am getting the error: RealmClass annotated object must implement RealmModel or derive from RealmObject for classes that do, in fact, extend RealmObject. Based on the instructions on the website (for installing 0.89.0), I have added the plug-in dependency to the project le...
java|android|realm
0
2016-04-23T20:15:59.593Z
2,016
4
20
5
606
1
755
38
3
4
true
false
false
false
false
false
zero
36,815,933
override empty method in custom view and handle it in MainActivity
<p>To make thinks simple, I have made a custom calendar view (RelativeLayout). Events (linearLayouts) are placed inside it. When I click on the event I want to be able to do something, but I want this something to be done in my MainActivity. In other words I want to override the empty method in my custom view and handl...
To make thinks simple, I have made a custom calendar view (RelativeLayout). Events (linearLayouts) are placed inside it. When I click on the event I want to be able to do something, but I want this something to be done in my MainActivity. In other words I want to override the empty method in my custom view and handle i...
android|view|onclicklistener|android-custom-view|overriding
1
2016-04-23T20:18:31.960Z
2,016
4
20
5
312
1
658
66
5
3
true
false
false
false
false
false
low
36,815,984
After completely close the app, unable to receive notification from gcm
<p>I have researching for hour and hour and found many similar question but have no a working solution for my question.</p> <p>I'm understand if I close the app by force close that is normal that I not receive data from gcm. But I was unable to receive the notification with gcm until I start the app. So the applicatio...
I have researching for hour and hour and found many similar question but have no a working solution for my question. I'm understand if I close the app by force close that is normal that I not receive data from gcm. But I was unable to receive the notification with gcm until I start the app. So the application is runnin...
android|google-cloud-messaging
0
2016-04-23T20:23:26.627Z
2,016
4
20
5
732
1
924
71
2
2
true
false
false
false
false
false
zero
36,816,065
Google Play 11157 unsupported devices
<p>I made game in Unity3D, then upload it to the Google Play store. Developer console says there is 11157 unsupported devices (only 1020 supported). I think I can't find my app through my phone because it's on unsupported list.</p> <p>What Can I do to make it supported by more devices?</p> <hr> <p><div class="snippe...
I made game in Unity3D, then upload it to the Google Play store. Developer console says there is 11157 unsupported devices (only 1020 supported). I think I can't find my app through my phone because it's on unsupported list. What Can I do to make it supported by more devices? [CODE]
android|unity3d|google-play
0
2016-04-23T20:31:40.013Z
2,016
4
20
5
372
1
283
37
3
1
true
false
false
false
false
false
zero
36,816,073
What I can know what dependency version I need compile with gradle
<p>I have the next gradle file:</p> <pre><code>buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.0.0-alpha3' classpath 'com.android.tools.build:gradle:2.0.0-alpha3' classpath 'com.google.gms:google-services:2.0.0-alpha3' ...
I have the next gradle file: [CODE] I'm getting error in the lines starting with: compile 'com.google.android.gms The error is: Error:Execution failed for task ':app:processDebugGoogleServices'. Please fix the version conflict either by updating the version of the google-services plugin (information about the latest ve...
android|gradle|android-gradle-plugin
0
2016-04-23T20:32:34.563Z
2,016
4
20
5
52
1
548
66
3
1
true
false
false
false
false
false
zero
36,816,305
Android NavigationView Not Responding to Click Events on Items
<p>I am trying to add a navigation view to my application, but for some reason I cannot get it to respond to any click events on any of the items it contains.</p> <p>My activity_main.xml file looks like this:</p> <pre><code>&lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/r...
I am trying to add a navigation view to my application, but for some reason I cannot get it to respond to any click events on any of the items it contains. My activity_main.xml file looks like this: [CODE] And in my MainActivity.java I have this code for creating the NavigationView and it's item selection listener: [CO...
java|android
7
2016-04-23T20:55:14.163Z
2,016
4
20
5
5,183
4
530
62
2
2
true
false
true
false
false
false
medium
36,816,306
OnClickListener of full itemView and OnClickListeners for views within it
<p>I have a Layout within an ImageView and a textview. I would like to add a onClickListner for each view and the full itemview. I am using a PagerAdapter. In the instantiateItem Method I call this:</p> <pre><code>imageView.setOnClickListener(new View.OnClickListener() { @Override publi...
I have a Layout within an ImageView and a textview. I would like to add a onClickListner for each view and the full itemview. I am using a PagerAdapter. In the instantiateItem Method I call this: [CODE] and textView: [CODE] and now I would like to add a OnLongClickListner to the full itemView. I tried to implement a On...
android
0
2016-04-23T20:55:18.807Z
2,016
4
20
5
38
2
541
73
1
2
true
false
false
false
false
false
zero
36,816,308
How to stop Android gridview from showing the same items after scroll
<p><a href="https://i.stack.imgur.com/6Ye4L.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Ye4L.jpg" alt="enter image description here"></a>Well I'll get straight to the point. My Gridview on occasion will show the same items two or three times whenever I scroll.</p> <p>Here's the backstory you ca...
Well I'll get straight to the point. My Gridview on occasion will show the same items two or three times whenever I scroll. Here's the backstory you can skip this paragraph if you like. I recently switched from a viewpager to a gridview to cut down on the size of my app and I think it looks better. Soon as I did though...
android|gridview
1
2016-04-23T20:55:38.820Z
2,016
4
20
5
69
0
922
69
2
2
true
true
false
false
false
false
low
36,816,382
CircleCI build FAILURE on Android support libraries
<p>Experimenting today... Local project runs fine, CircleCI output below. <a href="https://gist.github.com/es0329/e1bb497e4db243ea0e6f815debffe029" rel="nofollow">See my circle.yml here</a>.</p> <pre><code>&gt; Configuring &gt; 2/2 projectsFAILURE: &gt; Configuring &gt; 2/2 projectsBuild failed with an exception. &gt...
Experimenting today... Local project runs fine, CircleCI output below. See my circle.yml here . [CODE]
android|android-studio|gradle|continuous-integration|circleci
2
2016-04-23T21:02:45.320Z
2,016
4
21
5
246
1
102
51
5
1
true
false
false
false
false
false
low
36,816,530
Why does 'adb devices' show 'unauthorized' with no 'allow' prompt on the device?
<p>I've installed Android Studio 2.0 on my Windows 7 PC. This included the Android SDK. I've done Android development on this PC before and was able to connect to the actual Android device (my Samsung Galaxy S6) but that was with Eclipse + ADT and with an older version of Android Studio.</p> <p>Now, with the new insta...
I've installed Android Studio 2.0 on my Windows 7 PC. This included the Android SDK. I've done Android development on this PC before and was able to connect to the actual Android device (my Samsung Galaxy S6) but that was with Eclipse + ADT and with an older version of Android Studio. Now, with the new installation, ad...
android|android-studio|adb
1
2016-04-23T21:16:56.387Z
2,016
4
21
5
2,499
0
1,355
80
3
0
false
true
false
false
false
false
low
36,816,622
Android plugin conflict: Unable to convert classes into dex format
<p>I am trying to integrate Mobile Social Plugin into my Android game. I already have several other plugins including Admob Ads and Google Play Games services and Unity IAP.</p> <p>I did have some problems getting it to work and the support team helped me in this thread: <a href="http://forum.unity3d.com/threads/relea...
I am trying to integrate Mobile Social Plugin into my Android game. I already have several other plugins including Admob Ads and Google Play Games services and Unity IAP. I did have some problems getting it to work and the support team helped me in this thread: http://forum.unity3d.com/threads/released-mobile-social-pl...
android|jar|libraries|android-library
0
2016-04-23T21:25:29.383Z
2,016
4
21
5
1,083
1
1,178
66
4
1
true
false
false
false
false
false
zero
36,816,804
Google Maps for android not rendering
<p>I recently updated all my tools to sdk 23. When i create a Google Maps Activity using the activity wizard, it creates successfully, but when i run it on a device, the map doesnt show. All i get is a google logo in the bottom left corner.</p> <p>What I've tried:</p> <p>-Create API Key using SHA-1 found in debug.key...
I recently updated all my tools to sdk 23. When i create a Google Maps Activity using the activity wizard, it creates successfully, but when i run it on a device, the map doesnt show. All i get is a google logo in the bottom left corner. What I've tried: -Create API Key using SHA-1 found in debug.keystore -Regenerated ...
java|android|google-maps
0
2016-04-23T21:42:47.887Z
2,016
4
21
5
1,291
1
793
37
3
4
true
false
false
false
false
false
zero
36,816,841
CoordinatorLayout, NestedScrollView and Overscroll
<p>I'm trying to create something I couldn't find anywhere... at least the way I want.</p> <p>So here is the scenario I want to achieve: </p> <p>I'm using the typical CoordinatorLayout with a AppBarLayout (ABL) and a NestedScrollView (NSV), so when I scroll in the NSV/ABL I get a nice parallax on the ABL.</p> <p>The...
I'm trying to create something I couldn't find anywhere... at least the way I want. So here is the scenario I want to achieve: I'm using the typical CoordinatorLayout with a AppBarLayout (ABL) and a NestedScrollView (NSV), so when I scroll in the NSV/ABL I get a nice parallax on the ABL. The problem is that the NSV jus...
android|android-coordinatorlayout|android-appbarlayout|android-nestedscrollview
3
2016-04-23T21:48:04.100Z
2,016
4
21
5
1,216
0
2,005
50
4
0
false
true
false
false
false
false
low
36,816,878
android - Set a TextView exactly specific part of the photo?
<p>I need to set a TextView exactly specific part of the photo I am using from bellow xml but i set all of size manual I need to be dynamic for different size mobile:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:la...
I need to set a TextView exactly specific part of the photo I am using from bellow xml but i set all of size manual I need to be dynamic for different size mobile: [CODE]
android|android-imageview|textview|android-relativelayout
1
2016-04-23T21:52:05.633Z
2,016
4
21
5
50
3
170
60
4
1
true
false
false
false
false
false
low
36,816,892
Creating ImageView array programmatically Android
<p>I have an activity contains <code>String</code> array, each <code>String</code> is a <code>drawable</code> image name, for example if I have an image called "abcd" then in the <code>String</code> array the first value will be "abcd". I am trying to pass this <code>String</code> array to another activity and then sho...
I have an activity contains String array, each String is a drawable image name, for example if I have an image called "abcd" then in the String array the first value will be "abcd". I am trying to pass this String array to another activity and then show there all the images. First Activity: [CODE] Second Activity: [COD...
android
0
2016-04-23T21:53:49.020Z
2,016
4
21
5
741
1
376
49
1
2
true
false
false
false
false
false
zero
36,816,980
Why Settings Activity not working in Android API 10?
<p>I'm working in a project in Android Studio with min SDK set by 10. I just added a Settings Activity from Gallery and it works well in a phone with API 17, but not in other phone with API 10.</p> <p>What I think strange is the Settings Activity is available from Gallery, it is supposed to be compatible with API 10 t...
I'm working in a project in Android Studio with min SDK set by 10. I just added a Settings Activity from Gallery and it works well in a phone with API 17, but not in other phone with API 10. What I think strange is the Settings Activity is available from Gallery, it is supposed to be compatible with API 10 that I'm wor...
android|android-studio|android-appcompat
3
2016-04-23T22:02:51.480Z
2,016
4
22
5
303
0
897
52
3
1
true
true
false
false
false
false
low
36,816,997
Android Emulator OpenGL problems
<p>Since I built a new computer I'm having problems running my current project on every emulator I could think of (e.g. Xamarin Android Player, Visual Studio Emulator, the Android SDK one ...). Every time I run the project on an emulator (it works on real devices just fine) the emulators screen is gray and only some te...
Since I built a new computer I'm having problems running my current project on every emulator I could think of (e.g. Xamarin Android Player, Visual Studio Emulator, the Android SDK one ...). Every time I run the project on an emulator (it works on real devices just fine) the emulators screen is gray and only some text ...
c#|android|xamarin|android-emulator|opengl-es-2.0
2
2016-04-23T22:05:25.857Z
2,016
4
22
5
953
0
1,463
32
5
1
true
true
false
false
false
false
low
36,817,146
Adding editText input to recyclerView when positiveButton is selected in AlertDialog
<p>I am trying to get input from the editText field to update to my recyclerView. What do I need to add or take away from my code to make this happen? I am using a arraylist with some data already in it. Now I want and new titles to the list. I have it setup when user taps the FAB an alert dialog shows where they can e...
I am trying to get input from the editText field to update to my recyclerView. What do I need to add or take away from my code to make this happen? I am using a arraylist with some data already in it. Now I want and new titles to the list. I have it setup when user taps the FAB an alert dialog shows where they can ente...
java|android|android-studio|android-recyclerview|android-alertdialog
0
2016-04-23T22:24:14.850Z
2,016
4
22
5
787
1
481
84
5
4
true
false
false
false
false
false
zero
36,817,266
Fail build if annotation is present with ProGuard
<p>I would like to <strong>make the build fail if I left debugging code</strong> in the app.<br> Is it possible to do this via ProGuard? If so, how?</p> <p>This is what I have currently:</p> <pre><code>/** Annotate methods that shouldn't be used in production. */ @Retention(RetentionPolicy.CLASS) // TODO which one? @...
I would like to make the build fail if I left debugging code in the app. Is it possible to do this via ProGuard? If so, how? This is what I have currently: [CODE] Let's say I have accidentally left a Utils.toString(veryBigObject) in the code somewhere. I'm looking for a way to make this fail the build (or output a Note...
java|android|android-gradle-plugin|proguard|release
1
2016-04-23T22:39:46.857Z
2,016
4
22
5
111
1
1,135
49
5
2
true
false
false
false
false
false
low
36,817,299
HTTPS blocked for Ionic build --release android apk
<p>Debug apk works fine, which rules out the usual suspects, but when I build, sign, install the release version, no https $http API calls can be made by angular (http to the same endpoint, which I permitted for debugging, works).</p> <p>cordova whitelist is installed <code>ionic plugin add cordova-plugin-whitelist</c...
Debug apk works fine, which rules out the usual suspects, but when I build, sign, install the release version, no https $http API calls can be made by angular (http to the same endpoint, which I permitted for debugging, works). cordova whitelist is installed ionic plugin add cordova-plugin-whitelist manifest.xml contai...
android|cordova|ionic-framework
9
2016-04-23T22:44:09.490Z
2,016
4
22
5
5,435
2
613
51
3
3
true
false
true
false
false
false
medium
36,817,300
How to retrieve all data from mysql database using php?
<p>I have a another php file that has the function to connect to the database (does so successfully) and also a function getEvent that contains the sql statement. The code below successfully retrieves one data row from the database but i need it to return all data from the table.</p> <pre><code>&lt;?php // include db...
I have a another php file that has the function to connect to the database (does so successfully) and also a function getEvent that contains the sql statement. The code below successfully retrieves one data row from the database but i need it to return all data from the table. [CODE] the getEvent method [CODE]
php|android|mysql|listview|wampserver
1
2016-04-23T22:44:27.333Z
2,016
4
22
5
735
1
311
55
5
2
true
false
false
false
false
false
low
36,817,400
Django 1.9 is not setting the sessionid cookie on login response only on Android with Cordova 6.0.0
<p>Our Android users have started complaining that every time they kill our app, they have to log in again. I am able to reproduce this on our Android devices, but not our iOS devices, not through our mobile website on any device, and not through our desktop website.</p> <p>When I attach the Chrome debugger to our Cor...
Our Android users have started complaining that every time they kill our app, they have to log in again. I am able to reproduce this on our Android devices, but not our iOS devices, not through our mobile website on any device, and not through our desktop website. When I attach the Chrome debugger to our Cordova app ru...
android|django|cordova|session|cookies
2
2016-04-23T22:59:00.043Z
2,016
4
22
5
560
0
1,271
99
5
2
true
true
false
false
false
false
low
36,817,412
Singleton with context as a variable - memory leaks?
<p>I am building a class to handle an app shared preferences. I want to make it singleton accessed from all parts of the project. I can't use the regular getInstance method as I need to pass a context for the class to be functional. I thought of passing a context in the MainActivity.java and than have it constantly the...
I am building a class to handle an app shared preferences. I want to make it singleton accessed from all parts of the project. I can't use the regular getInstance method as I need to pass a context for the class to be functional. I thought of passing a context in the MainActivity.java and than have it constantly there....
java|android
6
2016-04-23T23:00:16.060Z
2,016
4
23
5
2,775
1
384
52
2
1
true
false
true
false
false
false
medium
36,817,421
IllegalArgumentException: width and height must be > 0 with bitmap.createBitmap method
<p>I have been struggling trying to get rid of this exception, my issue is everytime I try to re-build my image and position it at the center of my <code>framelayout</code> i get this error, before anything I am checking if the image is <code>null</code> or not, if not then am going ahead, and just before I call the <c...
I have been struggling trying to get rid of this exception, my issue is everytime I try to re-build my image and position it at the center of my framelayout i get this error, before anything I am checking if the image is null or not, if not then am going ahead, and just before I call the .createBitmap method am measuri...
android|bitmap
0
2016-04-23T23:01:15.037Z
2,016
4
23
5
369
1
500
86
2
1
true
false
false
false
false
false
zero
36,817,475
Stop Android Service when user presses the home button
<p>I have a music service that plays music in the background of the app. I want the music to keep playing through all activities of the application but to stop when the app is running in the background (ie when the user goes to another app or presses the home button without removing the app from the running application...
I have a music service that plays music in the background of the app. I want the music to keep playing through all activities of the application but to stop when the app is running in the background (ie when the user goes to another app or presses the home button without removing the app from the running applications) ...
android|background|android-service|audio-player|android-music-player
2
2016-04-23T23:08:39.387Z
2,016
4
23
5
820
2
631
54
5
2
true
false
false
false
false
false
low
36,817,730
Changing layouts error?
<p>Trying to change a layout from an ImageButton but when i run it on my phone it does not switch instead it says program has stopped.</p> <p>Java;</p> <pre><code>public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedI...
Trying to change a layout from an ImageButton but when i run it on my phone it does not switch instead it says program has stopped. Java; [CODE] XML for first layout: [CODE] Second layout to change to; [CODE] I think it might have something to do with my syntax.
android|android-layout
-1
2016-04-23T23:47:36.060Z
2,016
4
23
5
38
1
262
23
2
3
true
false
false
false
false
true
negative
36,817,745
Android Google Maps Update Camera Before Snapshot Out of Order
<p>I am trying to snapshot the Google Map image AFTER I set the map to the bounds of the Polyline. I have used separate code samples found on StackExchange to do both the moveToBounds() and Snapshot which work fine individually, but when run in sequence the Snapshot is of the map image BEFORE the map was updated. I ass...
I am trying to snapshot the Google Map image AFTER I set the map to the bounds of the Polyline. I have used separate code samples found on StackExchange to do both the moveToBounds() and Snapshot which work fine individually, but when run in sequence the Snapshot is of the map image BEFORE the map was updated. I assume...
android|google-maps
0
2016-04-23T23:49:39.367Z
2,016
4
23
5
63
1
448
62
2
1
true
false
false
false
false
false
zero
36,817,773
Populate spinner from database dosn't work
<p>I am trying to populate spinner from darabase but the application crashes, "Unfortunately, "Application" has stopped." and in the logcat I have got this error "</p> <p><strong>at com.exemple.user.modele.Categorie.onCreate(Categorie.java:43)"</strong> </p> <p>when I remove all the try catch code the activity works,...
I am trying to populate spinner from darabase but the application crashes, "Unfortunately, "Application" has stopped." and in the logcat I have got this error " at com.exemple.user.modele.Categorie.onCreate(Categorie.java:43)" when I remove all the try catch code the activity works, but I copied this code from another ...
java|android|android-studio
0
2016-04-23T23:53:53.680Z
2,016
4
23
5
47
0
446
42
3
1
true
true
false
false
false
false
zero
36,817,829
Two (easy?) Android/Java syntax questions
<p>I just switched from Xamarin/C# to Android Studio/Java and am familiarizing myself with the dissimilarities between the two languages. I'm reading an android book written in java and came across the following two lines of code:</p> <p>1) </p> <pre><code>PreferenceManager.getDefaultSharedPreferences(this) .regist...
I just switched from Xamarin/C# to Android Studio/Java and am familiarizing myself with the dissimilarities between the two languages. I'm reading an android book written in java and came across the following two lines of code: 1) [CODE] In the first line, i'm confused by how preferencesChangeListener is used. In C# yo...
java|c#|android
-1
2016-04-24T00:03:16.800Z
2,016
4
0
6
61
1
700
41
3
2
true
false
false
false
false
true
negative
36,817,960
Android Toast inside child fragment
<p>My current setup includes a mainActivity with FragmentPagerAdapter, with different tabs. One of the tabs consist of different child fragments from bottom navigation bar. </p> <p>Now, all the fragments, including the child fragments have a menu item button on the top corner, and when pressed it triggers a toast each...
My current setup includes a mainActivity with FragmentPagerAdapter, with different tabs. One of the tabs consist of different child fragments from bottom navigation bar. Now, all the fragments, including the child fragments have a menu item button on the top corner, and when pressed it triggers a toast each time. The p...
android|android-fragments|fragmentpageradapter|android-toast
0
2016-04-24T00:27:49.413Z
2,016
4
0
6
380
0
759
35
4
1
true
true
false
false
false
false
zero
36,818,037
Retrieve contacts from android only where phone number consists 123 in it
<p>I am trying to work on a project where I require all contacts of a phone which has 123 in its phone number. I am able to retrieve the contacts but "where" clause in contentresolver isn't working here's my code for reference </p> <pre><code>public void fetchContacts() { String phoneNumber = null; St...
I am trying to work on a project where I require all contacts of a phone which has 123 in its phone number. I am able to retrieve the contacts but "where" clause in contentresolver isn't working here's my code for reference [CODE] LOGCAT java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gamemyworld...
android|android-sqlite|contactscontract
0
2016-04-24T00:41:23.647Z
2,016
4
0
6
155
1
1,170
73
3
1
true
false
false
false
false
false
zero
36,818,116
why my listview shows only the first item?
<p>this is my Adapter class...something else you should know is that i have an onItemClickListener and it isn't work either i have done almost everything and nothing comes to my mind</p> <pre><code>import android.content.Context; import android.database.DataSetObserver; import android.view.LayoutInflater; import andro...
this is my Adapter class...something else you should know is that i have an onItemClickListener and it isn't work either i have done almost everything and nothing comes to my mind [CODE] } and here is my activity class [CODE] } and this is the xml [CODE]
android|listview
1
2016-04-24T00:54:07.027Z
2,016
4
0
6
144
1
254
42
2
3
true
false
false
false
false
false
low
36,818,202
Incorrect when the answer is correct Android Quiz app
<p>I am trying to develop a quiz app where I manually write an array of questions and answers and then use these to set the radio button's and text view's text values. But, then when I try to run it and play with it, at the first set of question, it was fine then next the correct answer became incorrect and vice versa....
I am trying to develop a quiz app where I manually write an array of questions and answers and then use these to set the radio button's and text view's text values. But, then when I try to run it and play with it, at the first set of question, it was fine then next the correct answer became incorrect and vice versa. Sc...
java|android|arrays|android-activity|radio-button
1
2016-04-24T01:08:40.013Z
2,016
4
1
6
888
1
853
53
5
2
true
false
false
false
false
false
low
36,818,273
Convert string array to integer array using Integer.parseInt() not possible
<p>I got response from HTTP server as a string containing values separated by commas. I am separating those values at the client side by using comma as delimiter. But I need to convert it into integer in order to use it in my function. I used Integer.parseInt, but it is not converting.Can anyone please help.</p> <p>Th...
I got response from HTTP server as a string containing values separated by commas. I am separating those values at the client side by using comma as delimiter. But I need to convert it into integer in order to use it in my function. I used Integer.parseInt, but it is not converting.Can anyone please help. This is the c...
java|android|arrays
-1
2016-04-24T01:22:10.347Z
2,016
4
1
6
366
1
790
75
3
1
true
false
false
false
false
true
negative
36,818,277
Get value from firebase database after authentication
<p>I wrote my app so that when it registers, it creates the user on Firebase using email, a username and the password. </p> <p>However, when the user tries to login, I can't figure out how to fetch their username from Firebase.</p> <pre><code>public void tokenAuthentication() { fireBase.authWithCustomToken(token,...
I wrote my app so that when it registers, it creates the user on Firebase using email, a username and the password. However, when the user tries to login, I can't figure out how to fetch their username from Firebase. [CODE] I tried using their onDataChanged method, but since I'm not changing data, I'm just trying to fe...
android|firebase|firebase-authentication
0
2016-04-24T01:22:48.377Z
2,016
4
1
6
104
0
411
53
3
1
true
true
false
false
false
false
zero
36,818,282
Quiz App Programing
<p>I am working on a quiz app and I need help writing code for the quiz part of the app. See I have this app that I am creating where the user can add a list of questions (true or false) and then take the quiz. Thi quiz has to tell the user if they are right or wrong and then a next button to move forward. I need help ...
I am working on a quiz app and I need help writing code for the quiz part of the app. See I have this app that I am creating where the user can add a list of questions (true or false) and then take the quiz. Thi quiz has to tell the user if they are right or wrong and then a next button to move forward. I need help on ...
java|android
0
2016-04-24T01:23:21.897Z
2,016
4
1
6
670
1
440
19
2
1
true
false
false
false
false
false
zero
36,818,344
CastCompanion in Android Sender App
<p>I'm following this <a href="https://www.binpress.com/tutorial/building-an-android-google-cast-sender-app/161" rel="nofollow">tutorial</a>. And this is my <a href="https://github.com/isaacurbina/CastCompanionApp" rel="nofollow">project</a>.</p> <p>This is my main class:</p> <pre><code>package com.mac.isaac.castcomp...
I'm following this tutorial . And this is my project . This is my main class: [CODE] I get an error here: [CODE] It says: [CODE] Debugging I got this error: public static final int APPLICATION_NOT_RUNNING Status code indicating that a requested application is not currently running. Constant Value: 2005 So I guess the p...
android|chromecast|google-cast
1
2016-04-24T01:36:19.293Z
2,016
4
1
6
379
1
1,040
35
3
3
true
false
false
false
false
false
low
36,818,354
Why customizing my simple_list_item_2.xml doesn't work?
<p>I have the following code in my <code>MainActivity.java</code> file in Android Studio.</p> <pre><code>public class MainActivity extends AppCompatActivity { private String TAG; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activit...
I have the following code in my MainActivity.java file in Android Studio. [CODE] As the user keys-in letter a , an API call is made to a URL like this - http://dev.markitondemand.com/MODApis/Api/v2/Lookup/json?input=a . The resultant JSON file has three categories namely, "Symbol", "Name" and "Exchange". The autocomple...
java|android|json|android-layout|android-studio-2.0
0
2016-04-24T01:37:47.430Z
2,016
4
1
6
247
1
618
55
5
2
true
false
false
false
false
false
zero
36,818,385
Race condition on boolean written by callbacks and read within the activity
<p>From an Android activity I'm sending http requests driven by the user pressing buttons on the UI. I don't want multiple requests running at the same time (OutlookClient crashes).</p> <p>My question is: is it possible to have <strong>race conditions</strong> due to the callbacks with the results writing the same boo...
From an Android activity I'm sending http requests driven by the user pressing buttons on the UI. I don't want multiple requests running at the same time (OutlookClient crashes). My question is: is it possible to have race conditions due to the callbacks with the results writing the same boolean (using runOnUiTread) th...
android|race-condition
0
2016-04-24T01:42:29.500Z
2,016
4
1
6
235
1
443
75
2
2
true
false
false
false
false
false
zero
36,818,434
Proper way to assign downloaded content to a RecyclerView with Retrofit 2 Asynchronous calls
<p>I want to get data asynchronously with Retrofit2, that part is done well, but my adapter for the recycler view is first fed an empty arraylist as the dataset, but then as soon as the asynch returns the data is added onto the adapter and <code>notifyDAtasetChanged</code> or <code>notifyRangeinserted</code> is called ...
I want to get data asynchronously with Retrofit2, that part is done well, but my adapter for the recycler view is first fed an empty arraylist as the dataset, but then as soon as the asynch returns the data is added onto the adapter and notifyDAtasetChanged or notifyRangeinserted is called depending on whether the item...
java|android|asynchronous|android-recyclerview|retrofit
2
2016-04-24T01:52:05.067Z
2,016
4
1
6
1,053
1
1,093
92
5
4
true
false
false
false
false
false
low
36,818,523
Android MediaPlayer Does not Play Remote URL
<p>I have example MediaPlayer that plays the example URL but does not play any other remote URL I tried including from YouTube. What am I missing?</p> <p>It just return "Can't Play This Video"</p> <pre><code> package com.ebookfrenzy.videoplayer; import android.support.v7.app.AppCompatActivity; import android.os.Bu...
I have example MediaPlayer that plays the example URL but does not play any other remote URL I tried including from YouTube. What am I missing? It just return "Can't Play This Video" [CODE]
android|android-mediaplayer|android-videoview
0
2016-04-24T02:07:53.663Z
2,016
4
2
6
206
1
189
44
3
1
true
false
false
false
false
false
zero
36,818,587
Trying to replace main_activity fragment with another fragment onbuttonclick
<p>I'm trying to make a button on the welcome screen essentially, that when clicked, starts a fragment. </p> <p>activity_main.xml:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" andro...
I'm trying to make a button on the welcome screen essentially, that when clicked, starts a fragment. activity_main.xml: [CODE] MainActivity.java: [CODE] quote_fragment.xml: [CODE] QuoteFragment.java: [CODE] I get this error : [CODE] Can anybody help me figure out what I'm doing wrong, as well as point me to the more ef...
java|android|xml|fragment|fragmenttransaction
0
2016-04-24T02:18:10.987Z
2,016
4
2
6
560
1
349
76
5
5
true
false
false
false
false
false
zero
36,818,723
Null Pointer Exception when calling notifyDataSetChanged() in Android
<p>I have a default ListView of items created and am wanting to give the user the ability to add their own item by clicking on the Floating Action Button. Once they hit OK on the dialog, I am given a null pointer exception specifically on the line itemAdapter.notifyDataSetChanged(). I have spent a few hours researching...
I have a default ListView of items created and am wanting to give the user the ability to add their own item by clicking on the Floating Action Button. Once they hit OK on the dialog, I am given a null pointer exception specifically on the line itemAdapter.notifyDataSetChanged(). I have spent a few hours researching th...
android|listview|android-asynctask
0
2016-04-24T02:40:58.250Z
2,016
4
2
6
28
0
875
69
3
5
true
true
false
false
false
false
zero
36,818,746
How to play audio on xamarin android?
<p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>public override void OnActivityCreated (Bundle savedInstanceState) { base.OnActivityCreated (savedInstanceState); StartMedia(source); }</code></pre> </div> </...
[CODE] [CODE] It don't run. don't run, don't listen anything. I have debug but I don't see it though over void StartMedia [CODE] When the audio to play is included as a resource, the method can be used to set up the data source to the audio file and prepare the player for playback automatically.
xamarin|xamarin.android
3
2016-04-24T02:46:15.663Z
2,016
4
2
6
6,971
2
296
37
2
3
true
false
true
false
false
false
low
36,818,894
GreenDao Foreign Keys set as null for ToMany relations by default
<p>I am trying to model a <code>to-many relation between Users and Articles</code> using GreenDAO, where a <code>User has many Articles</code>. </p> <p><strong>Reference:</strong> <a href="http://greenrobot.org/greendao/documentation/relations/" rel="nofollow">GreenDAO Documentation on Relations</a></p> <p>My GreenDA...
I am trying to model a to-many relation between Users and Articles using GreenDAO, where a User has many Articles . Reference: GreenDAO Documentation on Relations My GreenDAO's generator code is as follows: [CODE] Next, I fetch the Users and Articles via Retrofit and convert it to List<User> using Gson Sample HTTP API ...
android|orm|android-sqlite|greendao
1
2016-04-24T03:14:48.373Z
2,016
4
3
6
625
1
1,168
65
4
3
true
false
false
false
false
false
low
36,818,969
Android custom EditTextPreference UI is not getting updated
<p>I am trying to customise an EditTextPreference to display a textview(i.e to display value of the preference) and a clear/delete button on its right side.</p> <p>I created <strong>CustomEditTextPreference.java</strong></p> <pre><code>package com.customedittextpreference; import android.content.Context; import andr...
I am trying to customise an EditTextPreference to display a textview(i.e to display value of the preference) and a clear/delete button on its right side. I created CustomEditTextPreference.java [CODE] CustomEditTextPreference class use the layout below(i.e prefwidget_edittext.xml) as widget layout [CODE] I specify my c...
android|button|edittextpreference
0
2016-04-24T03:26:46.147Z
2,016
4
3
6
770
1
924
59
3
3
true
false
false
false
false
false
zero
36,818,997
Where to do network calls to download JSON for RecyclerView
<p>I am writing a small app which queries a REST API to get JSON Data about movies. Which includes </p> <ul> <li>Movie ID </li> <li>Movie's Poster</li> <li>URL Movie Overview etc</li> </ul> <p>My main view consists of a RecyclerView which uses a <strong>GridLayout Manager</strong> to display a grid of movie posters. ...
I am writing a small app which queries a REST API to get JSON Data about movies. Which includes Movie ID Movie's Poster URL Movie Overview etc My main view consists of a RecyclerView which uses a GridLayout Manager to display a grid of movie posters. On tapping, a grid view item would transition to an activity where de...
java|android|android-fragments|android-asynctask|android-recyclerview
0
2016-04-24T03:33:07.777Z
2,016
4
3
6
78
1
915
59
5
0
false
false
false
false
false
false
zero
36,819,066
How can I print the full logcat history in a TextView in Android?
<p>I'm using logcat to log messages in my Android application, and I'd like to be able to access these messages and show them in a TextView in a DialogFragment. The list of messages is very inconsistent and changes each time I open and close the dialog. It shows the full history once, and then the next time it erases, ...
I'm using logcat to log messages in my Android application, and I'd like to be able to access these messages and show them in a TextView in a DialogFragment. The list of messages is very inconsistent and changes each time I open and close the dialog. It shows the full history once, and then the next time it erases, and...
android|android-fragments|logging|logcat|android-logcat
1
2016-04-24T03:47:30.810Z
2,016
4
3
6
1,729
3
586
65
5
2
true
false
false
false
false
false
low
36,819,197
Using Context with AppCompatActivity
<p>I'm currently working on an Android app, and working with serializing files. I have a method that serializes a Java object into a file that takes a Context parameter. I can retrieve a valid Context object when working in another class, but when I'm on this class that extends AppCompatActivity, I'm not too sure what ...
I'm currently working on an Android app, and working with serializing files. I have a method that serializes a Java object into a file that takes a Context parameter. I can retrieve a valid Context object when working in another class, but when I'm on this class that extends AppCompatActivity, I'm not too sure what to ...
android|android-context|appcompatactivity
5
2016-04-24T04:11:02.483Z
2,016
4
4
6
16,251
1
535
36
3
1
true
false
true
true
false
false
low
36,819,224
Android Studio - ListView refresh isn't working after insert data in database
<p>Basicly I use a method to return a list (with all the contacts in the database) that will ovewrite a list that is the base list to my listview. After that "overwriting" I try to refresh the list using <code>((BaseAdapter)EmergenciaFragment.lvContatosEmergencia.getAdapter()).notifyDataSetChanged(); </code> but nothin...
Basicly I use a method to return a list (with all the contacts in the database) that will ovewrite a list that is the base list to my listview. After that "overwriting" I try to refresh the list using ((BaseAdapter)EmergenciaFragment.lvContatosEmergencia.getAdapter()).notifyDataSetChanged(); but nothing happens. I only...
android|database|sqlite|listview
0
2016-04-24T04:15:25.083Z
2,016
4
4
6
124
0
701
77
4
3
true
true
false
false
false
false
zero
36,819,235
Android Image disappear in RecyclerView after Scrolling list up and down?
<p>I have a RecyclerView to display list data but after Scrolling up and down, a image load from url using Volley disappear and appear again. I know that the list will recycle item after read this <a href="https://stackoverflow.com/questions/11945563/how-listviews-recycling-mechanism-works">How ListView's recycling mec...
I have a RecyclerView to display list data but after Scrolling up and down, a image load from url using Volley disappear and appear again. I know that the list will recycle item after read this How ListView's recycling mechanism works . Here is my Adapter, where did I wrong? [CODE]
android|android-volley|listadapter
2
2016-04-24T04:17:24.343Z
2,016
4
4
6
2,570
2
282
73
3
1
true
false
false
false
false
false
low
36,819,258
why first element of listView calling multiple times?
<p>I am working on Calendar App to display list of items selected by user. i have set adapter in fragment with 2 array_lists(one for image resources and other for items name) and size of list but rather than to display particular number of list items only first item is coming and get_View method is calling 10 times jus...
I am working on Calendar App to display list of items selected by user. i have set adapter in fragment with 2 array_lists(one for image resources and other for items name) and size of list but rather than to display particular number of list items only first item is coming and get_View method is calling 10 times just f...
android
0
2016-04-24T04:22:55.660Z
2,016
4
4
6
80
1
446
53
1
2
true
false
false
false
false
false
zero
36,819,329
RecyclerView shows just a single row in Android
<p>I want to show a list of records using RecyclerView.</p> <p>But when i run the application, it shows just one record.</p> <p>I verified my code, and everything seems fine.</p> <p>Adapter Code:</p> <pre><code> public class AdapterData extends RecyclerView.Adapter&lt;AdapterData.DummyHolder&gt; { private L...
I want to show a list of records using RecyclerView. But when i run the application, it shows just one record. I verified my code, and everything seems fine. Adapter Code: [CODE] Row Code: [CODE] Main Actiivity XML : [CODE] MainActivity Code: [CODE]
android|android-recyclerview
10
2016-04-24T04:35:03.513Z
2,016
4
4
6
9,243
1
249
47
2
4
true
false
true
false
true
false
medium
36,819,355
intent doesn't work fo me
<p>I have a button in my program named "button1". When I click on it nothing happens, while I expect the program to call <code>AjouteNouveauArticle</code> class.</p> <p>Moreover, when I run the application on the emulator, I receive this error:</p> <pre><code>getSlotFromBufferLocked: unknown buffer: 0xa17a7690 </code...
I have a button in my program named "button1". When I click on it nothing happens, while I expect the program to call AjouteNouveauArticle class. Moreover, when I run the application on the emulator, I receive this error: [CODE] What's wrong? My Program: [CODE] And this is the 2nd class which I want to called when I pr...
android|android-intent
-1
2016-04-24T04:42:41.300Z
2,016
4
4
6
48
1
372
25
2
4
true
false
false
false
false
true
negative