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,875,136
Detect camera used (front-facing or rear-facing camera)
<p>I want to detect which camera that my user used to capture an image, to then initialize a value according to the type (Front/Rear camera). </p> <p>The following is my trying, After I run the app, value is always 0.417 !</p> <pre><code>public class Home extends Activity { double value = 0; @Override protected void...
I want to detect which camera that my user used to capture an image, to then initialize a value according to the type (Front/Rear camera). The following is my trying, After I run the app, value is always 0.417 ! [CODE] BTW, capture image work perfectly, I just need to determine the type of camera (front or rear).
android|camera|android-camera|image-capture
0
2016-04-26T20:30:17.387Z
2,016
4
20
1
1,194
2
314
55
4
1
true
false
false
false
false
false
zero
36,875,153
One jar screws up while Proguard obfuscation, what should I do?
<p>"asm-4.0.jar", "org.objectweb.asm", if this .jar is included, I get this error, while building:</p> <pre><code>AGPBI: {"kind":"error","text":"Uncaught translation error: com.android.dx.cf.code.SimException: com.android.dx.rop.cst.CstMethodRef cannot be cast to com.android.dx.rop.cst.CstInterfaceMethodRef","sources"...
"asm-4.0.jar", "org.objectweb.asm", if this .jar is included, I get this error, while building: [CODE] Some part from Proguard config: [CODE] Full proguard config: http://pastebin.com/mxXK4WvY -dontobfuscate This line makes proguard work, but I need obfuscation. What should I do? This jar is needed for Kryonet, my whol...
java|android|proguard|java-bytecode-asm|android-proguard
0
2016-04-26T20:31:36.483Z
2,016
4
20
1
469
1
342
63
5
2
true
false
false
false
false
false
zero
36,875,279
android - Material button color
<p>I am styling my app and want to set the button background color and keep them material-like.</p> <h1>I want</h1> <p>Set button background color</p> <h1>I do</h1> <h2>1.</h2> <p>I am create style for button, set the <code>colorPrimary</code> and set button style and <code>colorButtonNormal</code>. And it works.</p> <...
I am styling my app and want to set the button background color and keep them material-like. I want Set button background color I do 1. I am create style for button, set the colorPrimary and set button style and colorButtonNormal . And it works. [CODE] 2. But I want to do one button with different color. I tried to use...
android|material-design|android-appcompat|android-styles
10
2016-04-26T20:39:35.263Z
2,016
4
20
1
14,127
1
783
31
4
4
true
false
true
true
true
false
medium
36,875,577
Unable to stop casting on Chromecast after wifi interruption
<p>I am implementing Chromecast feature with <a href="https://github.com/googlecast/CastCompanionLibrary-android" rel="nofollow">CastCompanionLibrary-android</a> for an Android video app. And I found this bug at the final test: I am not able to stop casting after reconnecting to wifi and recovering the same session. <...
I am implementing Chromecast feature with CastCompanionLibrary-android for an Android video app. And I found this bug at the final test: I am not able to stop casting after reconnecting to wifi and recovering the same session. To reproduce the bug: cast a video onto Chromecast first disconnect to wifi -> reconnect to w...
android|chromecast|google-cast|castcompanionlibrary
0
2016-04-26T20:56:05.500Z
2,016
4
20
1
735
0
1,433
60
4
1
true
true
false
false
false
false
zero
36,875,584
Nested view pager (VERY STUCK)
<p>I am using a view pager in a recycler view cell, which is swiped to reveal a checkmark image. Outside of this, the recycler view is contained in a fragment which is located inside of another viewpager. What I want to accomplish is, after the cell's viewpager finishes, it begins to drag the view pager containing the ...
I am using a view pager in a recycler view cell, which is swiped to reveal a checkmark image. Outside of this, the recycler view is contained in a fragment which is located inside of another viewpager. What I want to accomplish is, after the cell's viewpager finishes, it begins to drag the view pager containing the fra...
android|android-layout|android-viewpager|android-recyclerview
0
2016-04-26T20:56:36.340Z
2,016
4
20
1
304
1
1,201
30
4
0
false
false
false
false
false
false
zero
36,875,592
Android Studio 2: Google Play dependencies error
<p>I just switched to Android Studio 2 and I'm trying to use Google Play services in my app. But I faced a really strange from the very beginning. Adding to Gradle.build such dependencies:</p> <pre><code>compile 'com.google.android.gms:play-services-maps:8.4.0' compile 'com.google.android.gms:play-services-location:8....
I just switched to Android Studio 2 and I'm trying to use Google Play services in my app. But I faced a really strange from the very beginning. Adding to Gradle.build such dependencies: [CODE] cause error: [CODE] Can it be some conflict with installed libraries in SDK Manager or what else?
android|android-studio|android-gradle-plugin
0
2016-04-26T20:57:08.553Z
2,016
4
20
1
171
2
290
48
3
2
true
false
false
false
false
false
zero
36,875,653
How to use the Volley Library to parse a JSON array?
<p>Here is the json: <a href="https://api.jamendo.com/v3.0/tracks/?client_id=70c68f47&amp;format=jsonpretty&amp;limit=200&amp;search=disco" rel="nofollow">https://api.jamendo.com/v3.0/tracks/?client_id=70c68f47&amp;format=jsonpretty&amp;limit=200&amp;search=disco</a></p> <p>My question is how to make parsing method co...
Here is the json: https://api.jamendo.com/v3.0/tracks/?client_id=70c68f47&format=jsonpretty&limit=200&search=disco My question is how to make parsing method correct with this solution what I have. I don't have any additional rest adapter, volley should get JSON from this API. Anybody will help me to remake first code, ...
android|json|rest|android-volley
0
2016-04-26T21:00:26.003Z
2,016
4
21
1
639
1
511
52
4
4
true
false
false
false
false
false
zero
36,875,663
Resize image before sending to server
<p>I have a very large image on my device (not taken with device camera) I need to resize the image before sending it to server. So say it is 14mb originally and I want to reduce it to 2mb. I want to resize the image without losing quality at all. What I mean is that the server will allow for zooming into the photo. So...
I have a very large image on my device (not taken with device camera) I need to resize the image before sending it to server. So say it is 14mb originally and I want to reduce it to 2mb. I want to resize the image without losing quality at all. What I mean is that the server will allow for zooming into the photo. So I ...
android|image|bitmap|network-programming
1
2016-04-26T21:01:11.077Z
2,016
4
21
1
655
1
625
37
4
1
true
false
false
false
false
false
low
36,875,818
Can't start an activity from a cordova plugin using .aar files
<p>I am trying to write a simple cordova-plugin for android, but I am stuck into a crash that I don't know how to resolve.</p> <p>I basically followed these steps to create simple plugin and it worked fine.</p> <p><a href="http://www.mat-d.com/site/tutorial-creating-a-cordova-phonegap-plugin-for-android-app/" rel="no...
I am trying to write a simple cordova-plugin for android, but I am stuck into a crash that I don't know how to resolve. I basically followed these steps to create simple plugin and it worked fine. http://www.mat-d.com/site/tutorial-creating-a-cordova-phonegap-plugin-for-android-app/ Yet, my plugin must call an activity...
android-activity|cordova-plugins
4
2016-04-26T21:09:47.910Z
2,016
4
21
1
1,476
1
1,988
62
2
6
true
false
false
false
false
false
low
36,875,936
Android sqlite id missing after update
<p>after I update an object in my syncAdapter I can't get it back by id again. It seems that the id get lost after the update. What leaves behind is a null object. Here's my source code how I update the object:</p> <pre><code>@Override public void updateUserThread(Context ctxt, UserThread userThread, boolean notified)...
after I update an object in my syncAdapter I can't get it back by id again. It seems that the id get lost after the update. What leaves behind is a null object. Here's my source code how I update the object: [CODE]
android|sqlite|sql-update|android-syncadapter
0
2016-04-26T21:16:40.770Z
2,016
4
21
1
72
0
214
38
4
1
true
true
false
false
false
false
zero
36,876,054
Android public movies directory is empty even though it isn't
<p>I am very frustrated with Android right now.</p> <p>I'm trying to access files in the directory defined by <code>Environment.DIRECTORY_MOVIES</code>:</p> <p><a href="https://i.stack.imgur.com/6MrNi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6MrNi.png" alt="debug"></a></p> <p>As you can see...
I am very frustrated with Android right now. I'm trying to access files in the directory defined by Environment.DIRECTORY_MOVIES : As you can see from the debug information it is a directory and the path is /storage/emulated/0/Movies . But it doesn't contain any files. If I use the adb shell to list the files in the di...
android
0
2016-04-26T21:24:42.790Z
2,016
4
21
1
43
1
527
61
1
1
true
false
false
false
false
false
zero
36,876,067
Android: SharedPreferences default value of a String
<p>I searched through a lot of questions but i didn't find one that answers my problem. So here I go :I made a custom PIN locked Activity for my App that runs as the LAUNCHER activity. This is the code I used in the onCreate() method to check if this is the first run of the app (in order to run the appropriate code and...
I searched through a lot of questions but i didn't find one that answers my problem. So here I go :I made a custom PIN locked Activity for my App that runs as the LAUNCHER activity. This is the code I used in the onCreate() method to check if this is the first run of the app (in order to run the appropriate code and gi...
android|database|sharedpreferences|android-sharedpreferences
-2
2016-04-26T21:25:36.857Z
2,016
4
21
1
226
1
1,104
52
4
3
true
false
false
false
false
true
negative
36,876,112
Convert bytes to bitmap
<p>I am trying to send an image through a socket from a server to a client. I converted the bitmap image into an array of bytes and sent the array to the client. But now I am having issues converting the array bytes back into bitmap on my client. Right now my bitmap print statement tells me that my bitmap value is "nul...
I am trying to send an image through a socket from a server to a client. I converted the bitmap image into an array of bytes and sent the array to the client. But now I am having issues converting the array bytes back into bitmap on my client. Right now my bitmap print statement tells me that my bitmap value is "null"....
java|android|arrays|tcp|bitmap
0
2016-04-26T21:28:29.443Z
2,016
4
21
1
508
0
478
23
5
1
true
true
false
false
false
false
zero
36,876,158
Gradle DSL method not found: 'apt()'
<p>I am trying to add the latest version of butterknife and I get this error from gradle:</p> <blockquote> <p>Error:(31, 0) Gradle DSL method not found: 'apt()' Possible causes:<li>The project 'MyProject' may be using a version of Gradle that does not contain the method. Gradle settings</li><li>The build file ...
I am trying to add the latest version of butterknife and I get this error from gradle: Error:(31, 0) Gradle DSL method not found: 'apt()' Possible causes: The project 'MyProject' may be using a version of Gradle that does not contain the method. Gradle settings The build file may be missing a Gradle plugin. Apply Gradl...
android|gradle|butterknife
46
2016-04-26T21:31:50.080Z
2,016
4
21
1
25,656
5
416
36
3
1
true
false
true
true
true
false
high
36,876,231
Extracting the package name of the last installed app on my phone
<p>I am writing a code to extract the package name, application name, and icon from the last installed app on my phone. I can get the application common name and icon from the application info, but I can't seem to figure out how to get the package name. All the codes that I have found to get the package name give me th...
I am writing a code to extract the package name, application name, and icon from the last installed app on my phone. I can get the application common name and icon from the application info, but I can't seem to figure out how to get the package name. All the codes that I have found to get the package name give me the p...
android|broadcastreceiver|package|android-applicationinfo|package-name
1
2016-04-26T21:37:08.507Z
2,016
4
21
1
420
1
552
65
5
1
true
false
false
false
false
false
low
36,876,282
Using @Path and @Url paramers together with retrofit2
<p>I'm using <code>retrofit2</code> to comunicate with a webapi. I need to set the URL of the webapi dynamically beacuase the user can change it, so i use the <code>@Url</code> annotation to specify it like this:</p> <pre><code>@POST Call&lt;LoginResponse&gt; login(@Url String url, @Body LoginRequest user); </code></...
I'm using retrofit2 to comunicate with a webapi. I need to set the URL of the webapi dynamically beacuase the user can change it, so i use the @Url annotation to specify it like this: [CODE] In one of the operations, i need to send some path parameters to the server, so i do this: [CODE] When i call the operation getOr...
android|retrofit2
3
2016-04-26T21:40:47.200Z
2,016
4
21
1
5,022
2
796
53
2
3
true
false
true
false
false
false
low
36,876,323
Trying to set up an Autocomplete Preference field
<p>I have a developed a little up to let me know if my computer is online over the Internet and it works fine. The thing is, I noticed that my preferences input boxes dont have the keyboard suggestions enabled. Suggestions do work on the emulator but not on my galaxy s7 edge.</p> <p>here is the XML code for the prefere...
I have a developed a little up to let me know if my computer is online over the Internet and it works fine. The thing is, I noticed that my preferences input boxes dont have the keyboard suggestions enabled. Suggestions do work on the emulator but not on my galaxy s7 edge. here is the XML code for the preferences activ...
java|android|xml
1
2016-04-26T21:44:05.473Z
2,016
4
21
1
208
0
482
49
3
2
true
true
false
false
false
false
low
36,876,379
What is wrong with this code i am having: causes java.lang.NullPointerException
<p>Can you see the problem in my code? I get this exception:</p> <pre><code>java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference </code></pre> <p>With this code...
Can you see the problem in my code? I get this exception: [CODE] With this code: [CODE] here is my .xml file it's called events_list.xml ` `
android|fragment|android-recyclerview|android-linearlayout
-3
2016-04-26T21:48:03.627Z
2,016
4
21
1
44
1
140
79
4
2
true
false
false
false
false
true
negative
36,876,775
UploadServiceBroadcastReceiver closes when activity finishes
<p>I started using this library which shows a nice progress bar for uploads. <a href="https://github.com/gotev/android-upload-service" rel="nofollow noreferrer">https://github.com/gotev/android-upload-service</a></p> <p>Following the docs I added a BroadcastReceiver, however, though the upload runs as a service and is...
I started using this library which shows a nice progress bar for uploads. https://github.com/gotev/android-upload-service Following the docs I added a BroadcastReceiver, however, though the upload runs as a service and is beautifully updated: If the user closes the activity in which the broadcastReceiver was declared I...
java|android
0
2016-04-26T22:15:48.150Z
2,016
4
22
1
439
1
565
60
2
1
true
false
false
false
false
false
zero
36,876,776
Unable to save photo in my android app
<p>This is my first time for asking question in stackoverflow and to make an android application using camera app.</p> <p>I tried to use the source code in android development page, but it failed. Thank you for reading my post.</p> <pre><code> package com.examplehoon.gnibnumb; import android.content.Context; ...
This is my first time for asking question in stackoverflow and to make an android application using camera app. I tried to use the source code in android development page, but it failed. Thank you for reading my post. [CODE]
android|image|file|save
0
2016-04-26T22:15:49.367Z
2,016
4
22
1
111
0
224
38
4
1
true
true
false
false
false
false
zero
36,876,824
vText Voice password does not load on Android
<p>For my semester project I am trying to identify speaker on Android. For this purpose, I have been trying to integrate vText java library to Android Studio. You can find the page through this <a href="http://www.basic-signalprocessing.com/downloadVText.htm" rel="nofollow">link</a>. However, I got the .jar files which...
For my semester project I am trying to identify speaker on Android. For this purpose, I have been trying to integrate vText java library to Android Studio. You can find the page through this link . However, I got the .jar files which are mentioned in the web page and tried to do sample things for discovering the librar...
java|android|voice-recognition
1
2016-04-26T22:20:07.960Z
2,016
4
22
1
145
1
600
45
3
1
true
false
false
false
false
false
low
36,876,974
Getting number instead of text for android notification
<p>I have implemented android notification in my application and it is working fine except that it shows a number instead of the actual message body. Here is teh screen shot of what I am getting,</p> <p><a href="https://i.stack.imgur.com/C2OA9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C2OA9.pn...
I have implemented android notification in my application and it is working fine except that it shows a number instead of the actual message body. Here is teh screen shot of what I am getting, This is the code I have, [CODE] Any clue whats going wrong here? Updated When app is running in foreground I am seeing this beh...
android|google-cloud-messaging|android-notifications|android-notification-bar
0
2016-04-26T22:32:21.840Z
2,016
4
22
1
182
1
433
55
4
2
true
false
false
false
false
false
zero
36,877,183
How can i create a layout that behaves like an edit text view
<p>//still a learner :-)</p> <p>I'm trying to create a layout that behaves like an edit text view, except I'm populating it with small xml layouts instead of text, these will be added dynamically eventually but for now I'm just using the include tag in xml to see how it reacts. </p> <p>what I'm trying to achieve esse...
//still a learner :-) I'm trying to create a layout that behaves like an edit text view, except I'm populating it with small xml layouts instead of text, these will be added dynamically eventually but for now I'm just using the include tag in xml to see how it reacts. what I'm trying to achieve essentially is a keyboar...
android|android-layout|android-edittext
0
2016-04-26T22:48:59.170Z
2,016
4
22
1
48
0
1,486
61
3
0
false
true
false
false
false
false
zero
36,877,315
Make jQuery prevent going back on android
<p>I have a simple pop-up contact form script written:</p> <pre><code>$(document).ready(function(){ var popupButton = $("#contact-popup-button"); var popupBox = $("#pop-up-contact"); var popupBg = $("#pop-up-close-background"); popupButton.on("click", function(){ popupBox.addClass("slide-out")...
I have a simple pop-up contact form script written: [CODE] Basically when a button is clicked, a div appears and the space behind it gets foggy. If you press the space around the appeared div, it will dissapear. Now for mobile devices, I'd like there also to be an option to make the div dissapear on clicking the back b...
javascript|android|jquery|html
0
2016-04-26T23:01:37.867Z
2,016
4
23
1
62
1
638
41
4
1
true
false
false
false
false
false
zero
36,877,459
Getting Xerces-for-Android to work with DocumentBuilderFactoryImpl and TransformerFactoryImpl
<p>I need to parse an XML file to DOM. I also want to validate this against an XSD schema, and be able to use a transformer to convert this with an XSL style sheet. While this worked fine as a plain Java application, I have had serious problems trying to get this to work on Android.</p> <ol> <li>First, I had to discov...
I need to parse an XML file to DOM. I also want to validate this against an XSD schema, and be able to use a transformer to convert this with an XSL style sheet. While this worked fine as a plain Java application, I have had serious problems trying to get this to work on Android. First, I had to discover that the Andro...
android|xslt|xml-parsing|xsd-validation|domparser
2
2016-04-26T23:15:38.150Z
2,016
4
23
1
1,065
1
1,179
93
5
0
false
false
false
false
false
false
low
36,877,463
Get rid of Tab elevation in Android
<p>I have the following problem: I have built a ViewPager with an Android Tab bar and I want to remove the elevation of the tab bar. It's the black line that I either want to be removed or to be the same as the color of the tab bar and I want no elevation: please see following picture (I want to get rid of the black li...
I have the following problem: I have built a ViewPager with an Android Tab bar and I want to remove the elevation of the tab bar. It's the black line that I either want to be removed or to be the same as the color of the tab bar and I want no elevation: please see following picture (I want to get rid of the black line ...
android
0
2016-04-26T23:16:19.577Z
2,016
4
23
1
116
0
471
35
1
1
true
true
false
false
false
false
zero
36,877,524
C# Android Lists Returning NULL - JSON API
<p>Im having a problem .. If I use a string to display my JSON request</p> <pre><code>string json2 = @" { ""Summoner_Id"": [{ ""name"": ""Fiora's Inquisitors"", ""tier"": ""GOLD"", ""queue"": ""RANKED_SOLO_5x5"", ""entries"": [{ ""playerOrTeamId‌​"": ""585709"", ""playerOrTeamName"": ""...
Im having a problem .. If I use a string to display my JSON request [CODE] I am able to deserialize.. [CODE] Where s returns the value "RANKED_SOLO_5x5" Now this is all great but the problem is that if I use my url to json.. [CODE] and then try to deserialize.. [CODE] It throws an error : [CODE] Here is my class. [CODE...
c#|android|json
0
2016-04-26T23:23:12.307Z
2,016
4
23
1
34
1
346
42
3
6
true
false
false
false
false
false
zero
36,877,670
How to avoid out of memory when I start a second animation drawable
<p>I am a newbie in Android and now I am totally lost... could you give me some hints with my code? I am trying to run a stop motion animation using AnimationDrawable from some of the images that I previously copied to the res folder of the project. The images to be used in the animation are selected in runtime, so I u...
I am a newbie in Android and now I am totally lost... could you give me some hints with my code? I am trying to run a stop motion animation using AnimationDrawable from some of the images that I previously copied to the res folder of the project. The images to be used in the animation are selected in runtime, so I used...
android|animation|out-of-memory
0
2016-04-26T23:35:40.250Z
2,016
4
23
1
131
0
1,065
67
3
2
true
true
false
false
false
false
zero
36,877,780
Throw exception when trying to get icon from package name
<p>I am trying to get an icon from a package name. The package name is getting passed to me through a socket. I am getting the package name and trying to use it to get the icon, but it is throwing an exception. I never get the print statement for the icon. Any ideas why? </p> <pre><code> try { ...
I am trying to get an icon from a package name. The package name is getting passed to me through a socket. I am getting the package name and trying to use it to get the icon, but it is throwing an exception. I never get the print statement for the icon. Any ideas why? [CODE] The exception that is getting thrown is this...
java|android|sockets|package-name|application-icon
0
2016-04-26T23:48:21.807Z
2,016
4
23
1
260
0
394
57
5
2
true
true
false
false
false
false
zero
36,877,788
Setting Language on URL Google Custom Search
<p>I'm developing an Android app which allows users to make a Google Search in a specific language they want. The app provides the list of languages. I was using <code>&amp;hl=LANGUAGE_CODE</code> for normal Google Search and it was working. Now I've changed to Google Custom Search Engine and I'm using Google Custom S...
I'm developing an Android app which allows users to make a Google Search in a specific language they want. The app provides the list of languages. I was using &hl=LANGUAGE_CODE for normal Google Search and it was working. Now I've changed to Google Custom Search Engine and I'm using Google Custom Search API. However, I...
android|google-search|google-custom-search|google-search-api
2
2016-04-26T23:48:55.587Z
2,016
4
23
1
1,455
3
903
44
4
0
false
false
false
false
false
false
low
36,877,805
com.android.dex.DexException: Multiple dex files define Lorg/hamcrest/Description;
<p>I've searched Stackoverflow for this error and found a lot of solutions and tried them all, none worked for me, for example changing <code>junit</code> to "4.8+" or adding these to <code>build.gradle</code> file:</p> <pre><code>packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'LICENSE.txt' } and...
I've searched Stackoverflow for this error and found a lot of solutions and tried them all, none worked for me, for example changing junit to "4.8+" or adding these to build.gradle file: [CODE] I'm always getting this error : [CODE] When changing junit to "4.8+" it says there's a conflict, and I need to make it 4.11. W...
java|android|junit
1
2016-04-26T23:50:16.560Z
2,016
4
23
1
2,427
1
339
82
3
2
true
false
false
false
false
false
low
36,878,233
Kapt + LoganSquare not working propertly on mapping
<p>I'm using the Kotlin to build my application for Android. Then I choose the LoganSquare library to do the parse from JSON -> Object.</p> <p>After some work, I get this result:</p> <pre><code>@JsonObject class Line(@PrimaryKey @JsonField var id : Int, @JsonField var name : String) : Parcelable { comp...
I'm using the Kotlin to build my application for Android. Then I choose the LoganSquare library to do the parse from JSON -> Object. After some work, I get this result: [CODE] After the build, the processor of LoganSquare needs to bind every field, but the kapt returns this: Look for the generated code (on the right), ...
android|json|android-gradle-plugin|kotlin|parcel
4
2016-04-27T00:35:33.630Z
2,016
4
0
2
383
0
485
51
5
1
true
true
false
false
false
false
low
36,878,294
Serialization and Android ClassNotFoundException
<p>Hi I am trying to send a custom list of objects from Client to server. I am getting a <code>ClassNotFoundException</code>. I am using Android studio emulator for my client and running my Server on Eclipse. I even wrote a test code to check to see if it works in Eclipse and it does. But for some reason does not work ...
Hi I am trying to send a custom list of objects from Client to server. I am getting a ClassNotFoundException . I am using Android studio emulator for my client and running my Server on Eclipse. I even wrote a test code to check to see if it works in Eclipse and it does. But for some reason does not work on android. I a...
java|android|serialization|classnotfoundexception
-3
2016-04-27T00:40:52.927Z
2,016
4
0
2
988
2
505
48
4
5
true
false
false
false
false
true
negative
36,878,319
Sort data with raw query or in cursorAdapter
<p>In my programm I execute a raw query for display data with an CursorAdapter but I have a field that may have the value 0,1,2,3,.... but sometines the values are present several times but I will show once. How i can do this ? In cursor Adapter or in the query ?</p> <p><strong>My query</strong></p> <pre><code>public...
In my programm I execute a raw query for display data with an CursorAdapter but I have a field that may have the value 0,1,2,3,.... but sometines the values are present several times but I will show once. How i can do this ? In cursor Adapter or in the query ? My query [CODE] My CursorAdapter [CODE] My main function he...
java|android|sqlite
0
2016-04-27T00:44:02.563Z
2,016
4
0
2
185
1
354
44
3
3
true
false
false
false
false
false
zero
36,878,455
How to include an array of Parcelable objects with a savedInstanceStateBundle
<p>I am working on an Android app and trying to save data when the screen rotates. I have this data in a array called mCheatedResults. This is an array of custom objects that pair boolean data and an int. My code for creating the class for the custom object is this:</p> <pre><code> private class Pair implements ...
I am working on an Android app and trying to save data when the screen rotates. I have this data in a array called mCheatedResults. This is an array of custom objects that pair boolean data and an int. My code for creating the class for the custom object is this: [CODE] The code I am trying to use to attach the array o...
java|android
1
2016-04-27T00:58:48.547Z
2,016
4
0
2
424
1
482
77
2
2
true
false
false
false
false
false
low
36,878,574
Screenshot Black in Android
<p>I've been working out how to take a screenshot programmatically in android, however when it screenshots I get a toolbar and black screen captured instead of what is actually on the screen. </p> <p>I've also tried to screenshot a particular TextView within the custom InfoWindow layout I created for the google map. B...
I've been working out how to take a screenshot programmatically in android, however when it screenshots I get a toolbar and black screen captured instead of what is actually on the screen. I've also tried to screenshot a particular TextView within the custom InfoWindow layout I created for the google map. But that crea...
java|android|screenshot
5
2016-04-27T01:10:04.163Z
2,016
4
1
2
5,860
4
801
27
3
3
true
false
true
false
false
false
low
36,878,820
I'm new to Android App development and keep encountering the following error after following a tutorial I keep getting errors
<p>Here's the tutorial I've been using, I'm extremely new to this </p> <p><a href="http://developer.android.com/training/basics/firstapp/building-ui.html" rel="nofollow">http://developer.android.com/training/basics/firstapp/building-ui.html</a></p> <p>I keep getting these errors</p> <p>Error:(2) No resource identifi...
Here's the tutorial I've been using, I'm extremely new to this http://developer.android.com/training/basics/firstapp/building-ui.html I keep getting these errors Error:(2) No resource identifier found for attribute 'layout_behavior' in package 'com.example.(myname).mynewapp' Error:(9, 26) No resource found that matches...
android|xml
2
2016-04-27T01:40:50.503Z
2,016
4
1
2
181
1
763
125
2
1
true
false
false
false
false
false
low
36,878,834
Replace Service with AlarmManager in Android
<p>I have an android service to fetch data from the web that runs every fifteen minutes</p> <pre><code>public class SparkService extends Service { Handler handler; public SparkService() { } @Override public int onStartCommand(Intent intent, int flags, int startId) { Log.e("Starting Sevi...
I have an android service to fetch data from the web that runs every fifteen minutes [CODE] I have found the service to be unreliable at times and seems like it's not being called if the app is inactive for a certain period of time. I want to replace the service with an AlarmManager service instead. My app is currently...
android|service|alarmmanager|android-alarms
-2
2016-04-27T01:42:11.193Z
2,016
4
1
2
461
2
558
44
4
1
true
false
false
false
false
true
negative
36,878,895
Android cursorwindow memory error in a specific fragment
<p>I have an android app that uses a service to collect sensor data every 5ms and inserts it into a sqlite table. In a typical session there will be about 40mins of recordings. All of that code seems to be working fine.</p> <p>I have a strange problem where if the user navigates to a particular fragment I get a <code>...
I have an android app that uses a service to collect sensor data every 5ms and inserts it into a sqlite table. In a typical session there will be about 40mins of recordings. All of that code seems to be working fine. I have a strange problem where if the user navigates to a particular fragment I get a CursorWindow: Win...
android|sqlite|android-fragments|android-sqlite|android-cursor
7
2016-04-27T01:50:26.263Z
2,016
4
1
2
198
0
1,824
56
5
3
true
true
false
false
false
false
medium
36,878,908
Resizing picture taken by camera
<p>I want to show picture that taken from camera to image view but the size of picture in image view is small, different with the picture that show to image view from gallery, the picture size from gallery is suitable with the screen, anyone can help me to solve this?</p> <p>Here is my java code</p> <pre><code>Button...
I want to show picture that taken from camera to image view but the size of picture in image view is small, different with the picture that show to image view from gallery, the picture size from gallery is suitable with the screen, anyone can help me to solve this? Here is my java code [CODE] and here is my xml code [C...
java|android|eclipse
0
2016-04-27T01:51:31.780Z
2,016
4
1
2
70
2
324
32
3
2
true
false
false
false
false
false
zero
36,878,930
Ghost click triggers button event after I touch another button - Ionic Cordova
<p>I have an app that has been built with Cordova and Ionic. The app has an html template that shows two lists. I can add, modify and delete elements in the two lists.</p> <p>The problem is, sometimes, when I click a button (any button) or when I select a list item, the app triggers another button's click event (or a...
I have an app that has been built with Cordova and Ionic. The app has an html template that shows two lists. I can add, modify and delete elements in the two lists. The problem is, sometimes, when I click a button (any button) or when I select a list item, the app triggers another button's click event (or a list item c...
android|cordova|ionic-framework
2
2016-04-27T01:54:28.373Z
2,016
4
1
2
766
1
1,061
78
3
2
true
false
false
false
false
false
low
36,878,999
"More than one library with package name 'com.google.android.gms'" when adding modules to project
<p>I have an Android Studio project to which I am adding an SDK. The SDK is compromised of about 4 different modules. The problem is when I add the modules I get the following error:</p> <pre><code>Execution failed for task ':appName:processDebugResources'. &gt; Error: more than one library with package name 'com.goog...
I have an Android Studio project to which I am adding an SDK. The SDK is compromised of about 4 different modules. The problem is when I add the modules I get the following error: [CODE] I have gone through the majority of the Stackoverflow answers on this and have narrowed down what I think the problem is, unfortunate...
android|android-gradle-plugin|google-play-services
0
2016-04-27T02:01:38.333Z
2,016
4
2
2
527
1
1,285
97
3
3
true
false
false
false
false
false
zero
36,879,094
ProgressDialog not showing up - Android
<p>I'm trying to display progress dialog in ACTION_UP, for some weird reason it's not working, I don't see any error in the logs, everything in the ACTION_UP block is working except for the progress dialog? anyone has any idea what's going on?</p> <p>I even added Toast to test it and it works just fine...</p> <pre><c...
I'm trying to display progress dialog in ACTION_UP, for some weird reason it's not working, I don't see any error in the logs, everything in the ACTION_UP block is working except for the progress dialog? anyone has any idea what's going on? I even added Toast to test it and it works just fine... [CODE]
android
0
2016-04-27T02:13:35.353Z
2,016
4
2
2
2,530
2
303
39
1
1
true
false
false
false
false
false
zero
36,879,231
Udacity Android Dev Sunshine crash
<p>I recently started learning android dev via Udacity. I am currently doing the Sunshine Weather App. In midway of the course, when I executed the app, it crashed on Launch. Here is the code.</p> <p>main_activity.xml - </p> <p> </p> <pre><code>&lt;android.support.design.widget.AppBarLayout android:layout_width=...
I recently started learning android dev via Udacity. I am currently doing the Sunshine Weather App. In midway of the course, when I executed the app, it crashed on Launch. Here is the code. main_activity.xml - [CODE] MainActivity.java - [CODE] fragment_main.xml - [CODE] ForecastFragment.java - [CODE] The Above are the ...
android|android-layout|android-fragments
0
2016-04-27T02:30:11.413Z
2,016
4
2
2
291
1
562
34
3
5
true
false
false
false
false
false
zero
36,879,251
Can I seperate android material tabs from the apps tool bar?
<p>simple yes or no I think will be suffice,I know I can create my own tabs and make them look like the new material designed ones and have complete control over there position, but I'm kinda hoping I can achieve my desired result using the support library, I've followed a tutorial to set up my material tabs, they need...
simple yes or no I think will be suffice,I know I can create my own tabs and make them look like the new material designed ones and have complete control over there position, but I'm kinda hoping I can achieve my desired result using the support library, I've followed a tutorial to set up my material tabs, they need so...
android|tabs|android-viewgroup
0
2016-04-27T02:32:56.373Z
2,016
4
2
2
113
1
603
60
3
1
true
false
false
false
false
false
zero
36,879,279
when I press back in android why not exit the application?
<p>my main activity is LoginActivity using google sign in and when user sign in will direct to MapsActivity, and when user click 'back' in MapsActivity i want user exit from app but now why when click 'back' the app just opened again the MapsActvity so the user can't exit?</p> <p>LoginActivity.java</p> <pre><code>pac...
my main activity is LoginActivity using google sign in and when user sign in will direct to MapsActivity, and when user click 'back' in MapsActivity i want user exit from app but now why when click 'back' the app just opened again the MapsActvity so the user can't exit? LoginActivity.java [CODE] MapsActivity.java [CODE...
android|android-studio|maps|google-signin
1
2016-04-27T02:36:13.480Z
2,016
4
2
2
332
1
348
58
4
3
true
false
false
false
false
false
low
36,879,298
Codename one crash during capture audio
<p>I'm getting a crash on our app on a part that used to work:<br> a call to Capture.captureAudio() to get the path to a newly recorded audio file.<br> I've tested on android and I get this stack trace:</p> <pre><code>[EDT] 0:5:30,336 - Exception: java.lang.NullPointerException - Attempt to invoke interface method 'in...
I'm getting a crash on our app on a part that used to work: a call to Capture.captureAudio() to get the path to a newly recorded audio file. I've tested on android and I get this stack trace: [CODE] It has been a while since this part of the app was throughly tested, and I'm not entirly sure which version of CN1 this w...
android|audio|record|codenameone
1
2016-04-27T02:38:26.497Z
2,016
4
2
2
107
1
420
39
4
1
true
false
false
false
false
false
low
36,879,304
My RecyclerView Items confuse position when I clicked?
<p><a href="https://youtu.be/Ql_mO0RWI2s" rel="nofollow">My video problem</a> </p> <p>I have trouble with my item selection in RecyclerView. When I click, item appears purple overlay, but when I scroll to another screen, it appears for another item, and when I scroll back, the old item overlay disappear. I don't know ...
My video problem I have trouble with my item selection in RecyclerView. When I click, item appears purple overlay, but when I scroll to another screen, it appears for another item, and when I scroll back, the old item overlay disappear. I don't know what is going on :( How to fix it ??? RecyclerView_Adapter [CODE] them...
android|android-recyclerview|selecteditem|staggeredgridlayout
2
2016-04-27T02:39:32.223Z
2,016
4
2
2
651
2
429
54
4
3
true
false
false
false
false
false
low
36,879,359
How to get some View in Android from addOnItemTouchListener in RecyclerView?
<p>I have created an extra class for implementing listener on RecyclerView, but it refers on the whole view of row and i want also to have listener for one View in that row which is in this case button. </p> <p>I know that i can get access to that view from CustomViewHolder, but the problem is that i can't pass some v...
I have created an extra class for implementing listener on RecyclerView, but it refers on the whole view of row and i want also to have listener for one View in that row which is in this case button. I know that i can get access to that view from CustomViewHolder, but the problem is that i can't pass some values from a...
android
0
2016-04-27T02:45:46.683Z
2,016
4
2
2
537
1
515
76
1
1
true
false
false
false
false
false
zero
36,879,466
How does merchant receive customer's info when customer use Android Pay?
<p>I'm interested in integrating Android Pay into my store.</p> <blockquote> <p>But i want to know : "when customer buy goods via Android Pay, what data i will get from customer to my server ? "</p> </blockquote> <p>Example : <a href="https://developers.google.com/android-pay/diagrams#detailed_api_process_flow" rel...
I'm interested in integrating Android Pay into my store. But i want to know : "when customer buy goods via Android Pay, what data i will get from customer to my server ? " Example : https://developers.google.com/android-pay/diagrams#detailed_api_process_flow in this guide below, at step 6 : "the app passes the Android ...
android-pay
1
2016-04-27T02:58:36.417Z
2,016
4
2
2
68
0
809
72
1
0
false
true
false
false
false
false
low
36,879,563
I am coding in android studio and I need to use Http url connection instead of httpclient. How do i convert my code?
<p>I need help transfering my code from http client to http URL connection because android studio does not support Http client and it keeps giving me an error. I am using the bing faces api and this api has some particular formatting that needs to be done like sending a header or a body and I don't know if Http url con...
I need help transfering my code from http client to http URL connection because android studio does not support Http client and it keeps giving me an error. I am using the bing faces api and this api has some particular formatting that needs to be done like sending a header or a body and I don't know if Http url connec...
java|android|android-studio|httpclient|httpurlconnection
-2
2016-04-27T03:10:46.067Z
2,016
4
3
2
1,729
1
354
116
5
1
true
false
false
false
false
true
negative
36,879,613
ARToolKit ARSimpleProj Error
<p>When I open the ARSimpleProj in Android Studio and try to update the gradle version I get this message:</p> <pre><code>Failed to update the version of the Android Gradle plugin. Please click 'OK' to perform a textual search and then update the build files manually. </code></pre> <p>After this, I'm getting this err...
When I open the ARSimpleProj in Android Studio and try to update the gradle version I get this message: [CODE] After this, I'm getting this error: [CODE] I tried removing the android->buildToolsVersion and dependencies tag from the top-level, build.gradle file (as indicated in the AS_Migration document) but still it do...
android-studio|android-gradle-plugin|artoolkit
2
2016-04-27T03:16:13.080Z
2,016
4
3
2
555
2
331
28
3
2
true
false
false
false
false
false
low
36,879,623
Pixel format BYTE_BGRA_PRE not supported on this device
<p>I am unable to run run run JavaFXPorts sample applications, like HelloWorld. I using <code>gradle :HelloWorld:androidInstall</code>. Compilation and installtion in the emulator goes fine. But when I try to run the app i am getting blank black screen. The logcat shows error:</p> <pre><code>java.lang.UnsupportedOpera...
I am unable to run run run JavaFXPorts sample applications, like HelloWorld. I using gradle :HelloWorld:androidInstall . Compilation and installtion in the emulator goes fine. But when I try to run the app i am getting blank black screen. The logcat shows error: [CODE] I am using emulator Nexus 5X API 21/arm. Is this r...
android|javafxports
1
2016-04-27T03:16:44.910Z
2,016
4
3
2
146
0
345
55
2
1
true
true
false
false
false
false
low
36,879,704
Set Button Text On Create not set text as define
<p>I have a code to change text as on create </p> <pre><code> public class MainActivity : Activity { protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); ...
I have a code to change text as on create [CODE] My main.axml: [CODE] When I run and open app with emulator the Text has remain the same as define on main.axml not the text define OnCreate .
android|xamarin|xamarin.android
1
2016-04-27T03:25:52.863Z
2,016
4
3
2
221
2
190
48
3
2
true
false
false
false
false
false
low
36,879,733
Populating a ListView with Kumulos?
<p>I am having a lot of difficulty using Kumulos to populate a ListView. Through my research Ive found numerous tutorials and postings about using SQLite or other databases but nothing with Kumulos =/. </p> <p>What I need help with:</p> <p>1) Implementation of Kumulos to fill a ListView</p> <p>Source: <a href="http...
I am having a lot of difficulty using Kumulos to populate a ListView. Through my research Ive found numerous tutorials and postings about using SQLite or other databases but nothing with Kumulos =/. What I need help with: 1) Implementation of Kumulos to fill a ListView Source: https://docs.kumulos.com/integration/andro...
java|android|listview|android-studio|kumulos
0
2016-04-27T03:29:59.887Z
2,016
4
3
2
214
1
1,081
35
5
5
true
false
false
false
false
false
zero
36,879,740
How to store data in wampserver
<pre><code>public class activityresult2 extends Activity { static public String txtOrder =""; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_activityresult2); Bundle bundle = getIntent().getExtras(); String strfnq = ...
[CODE] after i select my food in the previous page which is activityresult1 , my food is displayed in this page( activityresult2 ) , under Textview foodorders .... If i press a button on this page , i want all the items showed at foododers to be stored in my wampserver database which is mysql database , do anyone knows...
java|android|mysql|database|android-studio
1
2016-04-27T03:30:31.367Z
2,016
4
3
2
553
2
335
31
5
1
true
false
false
false
false
false
low
36,879,874
How to set onItemclick in fragment
<p>I am trying to call a swipeview when the image from my fragment gridview is clicked but I am not able to se it properly .earlier I have connected the my gridview with the swipe view in mainactivity but here I am getting error</p> <pre><code> @Override public View onCreateView(LayoutInflater inflater, ViewGroup con...
I am trying to call a swipeview when the image from my fragment gridview is clicked but I am not able to se it properly .earlier I have connected the my gridview with the swipe view in mainactivity but here I am getting error [CODE] I am getting error in getbaseContext and I may be wrong in setting MyAdapter(view.getCo...
android|android-fragments|onitemclicklistener
0
2016-04-27T03:43:01.217Z
2,016
4
3
2
552
2
360
34
3
1
true
false
false
false
false
false
zero
36,879,895
Better practice: reusing RecyclerViewAdapter or separate instance for each?
<p>I have fragment "Incoming" on one slide of a <code>viewpager</code>. This fragment contains a <code>RecyclerView</code> populated with <code>custom-relative-layouts</code>. The <code>LinearLayoutManager</code> orientation is Vertical.</p> <p>I have a second fragment "Find" on the next slide of the said viewpager. "...
I have fragment "Incoming" on one slide of a viewpager . This fragment contains a RecyclerView populated with custom-relative-layouts . The LinearLayoutManager orientation is Vertical. I have a second fragment "Find" on the next slide of the said viewpager. "Find" will consist of two recyclerviews. It will have a Horiz...
android|android-recyclerview|recyclerview-layout
3
2016-04-27T03:46:25.617Z
2,016
4
3
2
2,589
1
1,092
75
3
1
true
false
false
false
false
false
low
36,879,905
Pre Lollipop cannot play AnimatedVectorDrawable when app use Proguard
<p>Since Google give out the Support 23.2.1 , I start use VectorDrawable in my Project. At first,just use for TEST , no proguard , it works fine , show and played fine.</p> <p>But when we plan to build and publish app, we use </p> <pre><code>minifyEnabled true and proguardFile file('proguard-rules.txt') <...
Since Google give out the Support 23.2.1 , I start use VectorDrawable in my Project. At first,just use for TEST , no proguard , it works fine , show and played fine. But when we plan to build and publish app, we use [CODE] in gradle file, then ,it cannot played any more. My Play Method: [CODE] The error: E/dalvikvm: Co...
java|android
2
2016-04-27T03:47:40.087Z
2,016
4
3
2
995
1
716
69
2
2
true
false
false
false
false
false
low
36,880,010
Recycler View Not Refreshing
<p>I'm doing a RecyclerView example. The thing is that when I add the first item on the list it shows the item correctly on the recyclerview but the next items I add aren't showing on the recycle view.</p> <p>Please help me.</p> <p>Adapter code is:</p> <pre><code>public class PersonAdapter extends RecyclerView.Adap...
I'm doing a RecyclerView example. The thing is that when I add the first item on the list it shows the item correctly on the recyclerview but the next items I add aren't showing on the recycle view. Please help me. Adapter code is: [CODE] Main Activity Code is: [CODE]
android|android-studio|android-recyclerview
2
2016-04-27T03:57:26.843Z
2,016
4
3
2
13,465
3
268
28
3
2
true
false
true
true
false
false
low
36,880,016
Libgdx Android Game Fatal signal 11 (SIGSEGV)
<p>I have developed a game using Libgdx. It stops randomly by giving Fatal signal 11(SIGSEGV) error. Sometimes it force closes and sometimes force closes and then automatically restarts. The logs printed during force close are:-</p> <pre><code>A/libc(3475): Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 3534...
I have developed a game using Libgdx. It stops randomly by giving Fatal signal 11(SIGSEGV) error. Sometimes it force closes and sometimes force closes and then automatically restarts. The logs printed during force close are:- [CODE] I also keep on getting some logs during my game play from time to time. [CODE] Please h...
android|multithreading|libgdx|fatal-error|segmentation-fault
0
2016-04-27T03:58:03.030Z
2,016
4
3
2
325
0
378
45
5
2
true
true
false
false
false
false
zero
36,880,115
How to enable Jack (Java Android Compiler Kit) in android studio
<p>I am updated my <a href="http://developer.android.com/sdk/index.html" rel="nofollow noreferrer">androidstudio 2.1</a> stable.As per <a href="http://android-developers.blogspot.in/2016/04/android-studio-21-supports-android-n.html" rel="nofollow noreferrer">Android Studio 2.1 supports Android N Developer Preview</a> A...
I am updated my androidstudio 2.1 stable.As per Android Studio 2.1 supports Android N Developer Preview Android studio 2.1 support Jack (Java Android Compiler Kit) compiler . How to add or use Jack in android studio? NOTE: The Jack toolchain is deprecated, as per Java 8 Language Feature Support on Android . However, yo...
android|android-gradle-plugin|build.gradle|android-studio-2.1|jack-compiler
68
2016-04-27T04:07:35.790Z
2,016
4
4
2
55,276
6
594
64
5
0
false
false
true
true
true
false
high
36,880,147
run an application when reboot in Android
<p>I want to run an application automatically when the phone reboot. I have added these lines to my code:</p> <pre><code>public class BootComplete extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equalsIgnoreCase(Intent.ACTION_BOOT_COMPLETED)) { ...
I want to run an application automatically when the phone reboot. I have added these lines to my code: [CODE] And I have added these lines to my Manifest : [CODE] and it's permission: [CODE] It works properly when MyActivity class contains just some background tasks. For example when I want to turn on a LED. But when I...
android
3
2016-04-27T04:10:16.090Z
2,016
4
4
2
56
2
494
41
1
3
true
false
false
false
false
false
low
36,880,158
Error while attempting to inflate LayoutInflater
<p>I am trying to inflate the layout "panel_stream" into my current view, but it crashes with the error message:</p> <blockquote> <p>android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class </p> </blockquote> <pre><code> public void loadContent() { LayoutInflater...
I am trying to inflate the layout "panel_stream" into my current view, but it crashes with the error message: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class [CODE] activity_board_stream_view.xml (The View I am trying to post into): [CODE] panel_stream.xml: [CODE] ...
android
4
2016-04-27T04:11:22.087Z
2,016
4
4
2
5,526
3
336
48
1
4
true
false
true
false
false
false
low
36,880,637
How to open an Image from on Itemclick listener
<p>I am trying to call an activity when ever an element from my <code>GridView</code> is clicked it will open in a swiping activity and it will show the respective image but I am getting an error on setting as</p> <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main Process: com.union.project, PID: 2194 java.lang.Runti...
I am trying to call an activity when ever an element from my GridView is clicked it will open in a swiping activity and it will show the respective image but I am getting an error on setting as [CODE] this is the error I am getting when I click on anyitem it show the toast but then crashes my fragment code [CODE] my sw...
android|android-studio|android-activity|onitemclicklistener
-7
2016-04-27T04:56:08.353Z
2,016
4
4
2
91
4
445
47
4
3
true
false
false
false
false
true
negative
36,880,962
StringUtils.rightPad () in apache throws NoSuchMethodError in android
<p>I've included </p> <p>in app gradle </p> <pre><code>compile 'org.apache.commons:commons-lang3:3.0' </code></pre> <p>in progaurd I included </p> <pre><code>-keep class org.apache.commons.lang3.StringUtils* </code></pre> <p>but when app tries to access the StringUtils.rightPad(). it throws an exception saying <...
I've included in app gradle [CODE] in progaurd I included [CODE] but when app tries to access the StringUtils.rightPad(). it throws an exception saying [CODE] Related code [CODE]
android|gradle|apache-commons|android-build
2
2016-04-27T05:23:09.947Z
2,016
4
5
2
366
1
178
69
4
4
true
false
false
false
false
false
low
36,881,056
I am not able to get the currentActivity in unity,and i am getting the following error after the application is run in the device
<blockquote> <p>java.lang.NoSuchFieldError: no “Ljava/lang/Object;” field “currentActivity” in class “Lcom/unity/unity3d/player/UnityPlayer;” or its superclassess com.unity3d.player.UnityPlayer</p> </blockquote> <pre><code>void Start () { ajc1 = new AndroidJavaClass(className); ajc2 = new AndroidJavaCla...
java.lang.NoSuchFieldError: no “Ljava/lang/Object;” field “currentActivity” in class “Lcom/unity/unity3d/player/UnityPlayer;” or its superclassess com.unity3d.player.UnityPlayer [CODE] here's my android manifest file: [CODE]
android|unity3d
1
2016-04-27T05:31:18.470Z
2,016
4
5
2
4,441
1
224
129
2
2
true
false
true
false
false
false
low
36,881,062
How to publish Facebook custom graph stories?
<p>Though I successfully published the action as test user from development mode of Android App, Facebook is still showing the below message when I am trying to submit this action for review.</p> <ol> <li><a href="http://i.stack.imgur.com/F5DAJ.png" rel="nofollow">Image of Shared in Facebook</a></li> <li><a href="http...
Though I successfully published the action as test user from development mode of Android App, Facebook is still showing the below message when I am trying to submit this action for review. Image of Shared in Facebook Image of Alert while submitting App action for review to Facebook This is the code sample for share the...
android|facebook|facebook-graph-api
2
2016-04-27T05:31:48.213Z
2,016
4
5
2
80
0
335
45
3
1
true
true
false
false
false
false
low
36,881,063
The layout_weight doesn't work as expected for a editfield
<p>Below is my definition on a view layout on android. There are three component, a editfield, a button and a map. The textfield and button will be put together on a nested linearlayout which is located on the top of the view. And the map will be shown below the editfield. My problem is on the editfield width. I have s...
Below is my definition on a view layout on android. There are three component, a editfield, a button and a map. The textfield and button will be put together on a nested linearlayout which is located on the top of the view. And the map will be shown below the editfield. My problem is on the editfield width. I have spec...
android
0
2016-04-27T05:31:49.867Z
2,016
4
5
2
187
7
563
58
1
1
true
false
false
false
false
false
zero
36,881,124
Calling a activity method from a custom list adapter in android?
<p>On button click I am trying to send some data to my php script using the google's volley library. The method for sending the data is inside an Activity and I have written an interface to call the method from the custom list adapter. </p> <p>The following is my adapter code:</p> <pre><code>public class RoleList ext...
On button click I am trying to send some data to my php script using the google's volley library. The method for sending the data is inside an Activity and I have written an interface to call the method from the custom list adapter. The following is my adapter code: [CODE] The following code should ideally get called w...
java|android|arrays|json|android-arrayadapter
0
2016-04-27T05:36:29.840Z
2,016
4
5
2
1,257
3
722
64
5
3
true
false
false
false
false
false
zero
36,881,169
Google map called inside a fragment returns null
<p>I am trying to put Map inside a fragment. I am pasting the codes I am using</p> <p>XML</p> <pre><code> &lt;fragment android:id="@+id/contactFrag_F_map" android:name="com.google.android.gms.maps.MapFragment" android:layout_width="match_parent" android:layou...
I am trying to put Map inside a fragment. I am pasting the codes I am using XML [CODE] Below is my Fragment name declared [CODE] Below is how I initialised map [CODE] And this method was called on onCreateView The error is [CODE] Please help to solve this issue. The issue is in below portion [CODE] EDIT 1 Changed the x...
android|google-maps
10
2016-04-27T05:39:22.907Z
2,016
4
5
2
9,175
5
649
48
2
16
true
false
true
false
true
false
medium
36,881,201
Navigation Drawer header image does not appear after asking from camera or gallery
<p>I made a base activity for navigation purpose common to all activities.Although it is working fine. I wanted to set image on the header which will ask whether to take it from gallery or camera or via facebook.</p> <p>Getting image from facebook is working but the problem is if i select the image from alert dialogue...
I made a base activity for navigation purpose common to all activities.Although it is working fine. I wanted to set image on the header which will ask whether to take it from gallery or camera or via facebook. Getting image from facebook is working but the problem is if i select the image from alert dialogue then nothi...
android|listview|android-studio
0
2016-04-27T05:42:35.200Z
2,016
4
5
2
340
1
421
82
3
1
true
false
false
false
false
false
zero
36,881,255
How to return two different View inside onCreateView method of fragment depending on results of asyn background call to server in Android?
<p>i have a fragment in which we have to return the view depending on result of Background thread. but currently i get null pointer Exception.</p> <p>this is our Fragment class:</p> <pre><code>public class ProductFragment extends Fragment { String ss = null; GridView gridView; ArrayList&lt;ProductParameterBO&gt; pr...
i have a fragment in which we have to return the view depending on result of Background thread. but currently i get null pointer Exception. this is our Fragment class: [CODE] } i want that depending on JsonObject1 we return view inside oncreate method,but we get nullpointer exception. i think oncreate method called bef...
android|android-layout|android-fragments
3
2016-04-27T05:46:37.360Z
2,016
4
5
2
1,369
2
471
138
3
1
true
false
false
false
false
false
low
36,881,287
Button click that sends user to aboutus.xml
<p>I have been having trouble finding a way to send the user to an xml once they click the about us button on the activity_main.xml</p> <p><strong>MainActivity</strong> I declare the ArrayAdapter here which is created in da_menu.xml</p> <pre><code>package com.example.vitoriano_vaz.eastbayvapes; import android.os.Bun...
I have been having trouble finding a way to send the user to an xml once they click the about us button on the activity_main.xml MainActivity I declare the ArrayAdapter here which is created in da_menu.xml [CODE] Activty_main.xml here I display the ArrayAdapter in the ListView [CODE] aboutus.xml this is the xml i want ...
java|android|xml|android-studio
0
2016-04-27T05:49:25.330Z
2,016
4
5
2
64
3
529
43
4
3
true
false
false
false
false
false
zero
36,881,299
Java.lang.ClassNotFoundException after Android studio update
<p>I updated to Android Studio 2.1 from the stable channel. As soon as I did that I am getting ClassNotFoundException to my login class, which is declared in the manifest for long time. Prior to the update my app was compiling fine. </p> <pre><code>com.myapp E/AndroidRuntime: FATAL EXCEPTION: main Process: com.mya...
I updated to Android Studio 2.1 from the stable channel. As soon as I did that I am getting ClassNotFoundException to my login class, which is declared in the manifest for long time. Prior to the update my app was compiling fine. [CODE] This is my gradle.build [CODE] So far I have tried 1)Clean and rebuild project 2)De...
android|android-studio|android-studio-2.1
8
2016-04-27T05:50:17.467Z
2,016
4
5
2
22,671
8
620
60
3
2
true
false
true
true
false
false
medium
36,881,339
ViewPager not showing the views
<p>I created a view pager without the fragments.</p> <p>This is my adapter class</p> <pre><code>public class CustomPagerAdapter extends PagerAdapter { private ArrayList&lt;POJOThingsToFocus&gt; thingsToFocusArrayList; private ImageLoader imageLoader; private ImageLoadingListener animateFirstListener = new AnimateFirs...
I created a view pager without the fragments. This is my adapter class [CODE] This is the layout I am inflating [CODE] But I don't see any of the views on the screen. I can slide but nothing is shown. This is how I set the adapter [CODE]
android|android-viewpager|android-pageradapter
-1
2016-04-27T05:52:33.823Z
2,016
4
5
2
1,393
1
237
31
3
3
true
false
false
false
false
true
negative
36,881,446
ArrayIndexOutOfBoundsException when manipulating ArrayAdapter
<p>Long story short: I have a listView with a customAdapter (called MathAdapter). This Adapter handles an ArrayList of type CalculationModel. By default there are ~15 CalculationModels in my List, however, under special conditions, i have to delete about 6 of them.</p> <p>Since i am pretty new to Android Development (...
Long story short: I have a listView with a customAdapter (called MathAdapter). This Adapter handles an ArrayList of type CalculationModel. By default there are ~15 CalculationModels in my List, however, under special conditions, i have to delete about 6 of them. Since i am pretty new to Android Development (I'm coming ...
java|android|listview|adapter
1
2016-04-27T05:59:29.140Z
2,016
4
5
2
275
2
1,406
61
4
2
true
false
false
false
false
false
low
36,881,449
Java Null Pointer Exception when trying to launch activity
<p>I am working on my first Android app for a class. In one activity, one OnClickListener is throwing a Null Pointer Exception. I have identical code for this in another activity which works with no problem. One ImageButton "Main Menu" does not bring you back to the main menu. Here is the relevant Java and the OnClickL...
I am working on my first Android app for a class. In one activity, one OnClickListener is throwing a Null Pointer Exception. I have identical code for this in another activity which works with no problem. One ImageButton "Main Menu" does not bring you back to the main menu. Here is the relevant Java and the OnClickList...
java|android
0
2016-04-27T05:59:39.537Z
2,016
4
5
2
37
0
478
58
2
2
true
true
false
false
false
false
zero
36,881,542
How to Json parsing data into sqlite for offline storage in android
<p>After successfully JSON parser stored into SQLite for offline storage after that retrieve the data from SQL lite when the internet is not available in android. Anyone tells me what is the process to do store JSON data into SQLite. </p> <p>I am using Expandable listview for two model one is header and child model. ...
After successfully JSON parser stored into SQLite for offline storage after that retrieve the data from SQL lite when the internet is not available in android. Anyone tells me what is the process to do store JSON data into SQLite. I am using Expandable listview for two model one is header and child model. how to create...
android|sqlite|android-layout|android-studio|android-sqlite
0
2016-04-27T06:04:49.257Z
2,016
4
6
2
2,336
3
415
67
5
2
true
false
false
false
false
false
zero
36,881,621
How to refresh content of listview coming from server in android?
<p>I have a listview in my app contain content coming in response from server and have a load more Button below listview. In onCreate I execute content URL it works what I want is to in onResume method when I again execute content URL List view get double with same content and Loadmore button.How can I solve this probl...
I have a listview in my app contain content coming in response from server and have a load more Button below listview. In onCreate I execute content URL it works what I want is to in onResume method when I again execute content URL List view get double with same content and Loadmore button.How can I solve this problem....
android
1
2016-04-27T06:08:52.670Z
2,016
4
6
2
91
2
346
65
1
1
true
false
false
false
false
false
low
36,881,691
Accessing SQLite database from two different activities in Android Studio
<p>I have three classes viz. saveinSQL (my database class), Home (the class where I want to access the database), Create (the class where I created the database). I have an issue. I want to access the database created by the Create class in the Home class. Can anyone help me with this?</p> <pre><code>public class save...
I have three classes viz. saveinSQL (my database class), Home (the class where I want to access the database), Create (the class where I created the database). I have an issue. I want to access the database created by the Create class in the Home class. Can anyone help me with this? [CODE]
android|sqlite
-3
2016-04-27T06:13:18.853Z
2,016
4
6
2
829
1
290
73
2
1
true
false
false
false
false
true
negative
36,881,821
Compare String with multiple ListView items
<p>I am developing a Spam SMS app in which I have different Keywords saved in a db and listview. Now what i want is that when ever a new message comes then the message body is compared with keywords list but here comes a tricky part that i don't want to categorize that new sms as SPAM if single keyword matches rather I...
I am developing a Spam SMS app in which I have different Keywords saved in a db and listview. Now what i want is that when ever a new message comes then the message body is compared with keywords list but here comes a tricky part that i don't want to categorize that new sms as SPAM if single keyword matches rather I wa...
android|string|listview|string-comparison
1
2016-04-27T06:21:07.530Z
2,016
4
6
2
195
1
1,007
43
4
1
true
false
false
false
false
false
low
36,881,904
uploading a pdf using volley but gets null file on server folder
<p>I am uploading a pdf file using volley library in database on hostinger domain and also in folder on same hostinger domain </p> <p>Here it is my xml file </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://...
I am uploading a pdf file using volley library in database on hostinger domain and also in folder on same hostinger domain Here it is my xml file [CODE] My java file [CODE] I used php server script where i added a query to insert file into my database folder and in server folder named uploads This is my php script [COD...
android|mysql|xml|android-studio
0
2016-04-27T06:25:02.527Z
2,016
4
6
2
5,021
2
953
64
4
6
true
false
true
false
false
false
zero
36,881,969
Getting error duplicate entry: android/support/annotation/ColorRes.class
<p>I'm developing application in android studio. When I run my app in device, I was getting <code>.dex file cannot exceed 64k</code> error. So for this, I use <code>multiDexEnabled true</code> in build.gradle file. Now I am not getting this error but I'm getting </p> <pre><code>Error:Execution failed for task ':MyApp:...
I'm developing application in android studio. When I run my app in device, I was getting .dex file cannot exceed 64k error. So for this, I use multiDexEnabled true in build.gradle file. Now I am not getting this error but I'm getting [CODE] com.android.build.api.transform.TransformException: java.util.zip.ZipException:...
java|android|android-studio|out-of-memory
0
2016-04-27T06:28:48.167Z
2,016
4
6
2
919
0
450
72
4
2
true
true
false
false
false
false
zero
36,882,037
Define external App action in AndroidManifest.xml, Master & Child Activity
<p>I have quite a few Activity extending a parent Activity called <code>MasterActivity</code>, which centralizes all common functions being used in child activities, including a side menu. I would like to launch an App that has a custom action given:</p> <blockquote> <p>com.example.otherapp.action.CUSTOMACTION</p> <...
I have quite a few Activity extending a parent Activity called MasterActivity , which centralizes all common functions being used in child activities, including a side menu. I would like to launch an App that has a custom action given: com.example.otherapp.action.CUSTOMACTION Here is the AndroidManifest.xml : [CODE] In...
android|android-intent
4
2016-04-27T06:32:26.417Z
2,016
4
6
2
142
0
875
74
2
4
true
true
false
false
false
false
low
36,882,069
Place image on the ActionBar on the center of the screen
<p>I want to place company logo on the center of ActionBar (absolutely center of the screen). How can I calculate central point (by width) of the screen precisely?</p> <p>Activity code:</p> <pre><code>ActionBar actionBar = getSupportActionBar(); LayoutInflater inflator = (LayoutInflater) this ...
I want to place company logo on the center of ActionBar (absolutely center of the screen). How can I calculate central point (by width) of the screen precisely? Activity code: [CODE] action_bar_layout.xml: [CODE] I've placed this icon for example. Have any ideas how to do this?
java|android|user-interface|android-actionbar
0
2016-04-27T06:33:57.303Z
2,016
4
6
2
260
1
278
56
4
2
true
false
false
false
false
false
zero
36,882,084
How to call OnhandleIntent from another class?
<p>i have two class Register.java and fragment1.java this is Register.java </p> <pre><code>`import com.google.android.gms.gcm.GoogleCloudMessaging; import com.google.android.gms.iid.InstanceID; import java.io.IOException; public class RegisterApp extends IntentService { private static final String TAG = "RegIntentSe...
i have two class Register.java and fragment1.java this is Register.java [CODE] and this is fragment.java [CODE] i want to call method OnhandleIntent from fragment1 but dont know how to call it, i tried using [CODE] but i have no idea how to pass intent.
java|android|android-intent|intentservice|android-intentservice
-1
2016-04-27T06:34:41.577Z
2,016
4
6
2
201
1
253
46
5
3
true
false
false
false
false
true
negative
36,882,089
What is wrong with my intent.putExtras (Cannot resolve string)?
<p>I need to get the address and pass it to google map . I have pass all the data to DisplayItem Activity. Now, from Displayitem activity I just want to pass the address to MapActivity. </p> <p>This is the activity which i have successful display all the data using . After that I created a button so user can go to the...
I need to get the address and pass it to google map . I have pass all the data to DisplayItem Activity. Now, from Displayitem activity I just want to pass the address to MapActivity. This is the activity which i have successful display all the data using . After that I created a button so user can go to the mapActivity...
java|android|google-maps
-4
2016-04-27T06:34:49.967Z
2,016
4
6
2
154
1
575
63
3
3
true
false
false
false
false
true
negative
36,882,124
Android Tab icon color is not clear
<p>I am trying to do color selector, when tab selected his color will be white, and when unselected - other color. For this goal I use <em>setColorFilter</em>. But tab icon color is not clear white when selected. Images were added with Image Asset and choosen custom color - white. I have to do it clear white. Any help,...
I am trying to do color selector, when tab selected his color will be white, and when unselected - other color. For this goal I use setColorFilter . But tab icon color is not clear white when selected. Images were added with Image Asset and choosen custom color - white. I have to do it clear white. Any help, any idea a...
android|android-tablayout|android-icons
1
2016-04-27T06:36:35.987Z
2,016
4
6
2
785
1
353
35
3
1
true
false
false
false
false
false
low
36,882,150
Android Devices not connecting to php server
<p>I am trying to connect to my phpmyadmin server using volley, i managed to access my sql database and send/receive data from the server using the emulator: yet this somehow doesnt seem to work on android devices (tried multiple ones) </p> <p>Any idea on how to solve this? *Code attached below </p> <pre><code>packa...
I am trying to connect to my phpmyadmin server using volley, i managed to access my sql database and send/receive data from the server using the emulator: yet this somehow doesnt seem to work on android devices (tried multiple ones) Any idea on how to solve this? *Code attached below [CODE]
php|android|mysql|android-volley
2
2016-04-27T06:37:54.023Z
2,016
4
6
2
105
0
291
44
4
1
true
true
false
false
false
false
low
36,882,181
Android Gradle Dependency
<p>I'm trying to add the following dependency in my cordova project. However, the dependency is getting ignored during build.</p> <pre><code>compile 'org.apache.httpcomponents:httpclient:4.5.2' </code></pre> <p>From stackoverflow answers on similar questions, I realized I've to exclude few modules and groups.</p> <p...
I'm trying to add the following dependency in my cordova project. However, the dependency is getting ignored during build. [CODE] From stackoverflow answers on similar questions, I realized I've to exclude few modules and groups. So I made the following changes to dependencies. [CODE] However, I'm still getting this wa...
android|cordova|android-gradle-plugin|build.gradle|apache-httpclient-4.x
0
2016-04-27T06:39:27.067Z
2,016
4
6
2
2,666
2
527
25
5
3
true
false
true
false
false
false
zero
36,882,213
How to load more data in RecyclerView when Scrolling on Android
<p>I want develop android application for one website. I read website posts from <code>json</code> and show its in <code>RecyclerView</code> every 10 posts and when user scrolling on <code>RecyclerView</code> show more 10 post and go to end!<br> I am amateur and i write below codes, <strong>but I don't know</strong> to...
I want develop android application for one website. I read website posts from json and show its in RecyclerView every 10 posts and when user scrolling on RecyclerView show more 10 post and go to end! I am amateur and i write below codes, but I don't know to to read more data when scrolling and go to next page! (I want ...
android|json
7
2016-04-27T06:41:18.907Z
2,016
4
6
2
17,908
1
818
63
2
3
true
false
true
true
false
false
medium
36,882,242
ActionView setOnClickListener not called
<p>I have a menu item. For which I want to show tooltip. So I set ImageButton as ActionView but setOnClickListener is not getting called.</p> <pre><code>val menuItem = menu?.getItem(0) info { "Menu item not null" } val addView = menuItem?.actionView as ImageButton // just adding some padding ...
I have a menu item. For which I want to show tooltip. So I set ImageButton as ActionView but setOnClickListener is not getting called. [CODE] Menu file: [CODE] Can someone help me with this?
android|tooltip
1
2016-04-27T06:43:02.427Z
2,016
4
6
2
103
0
190
40
2
2
true
true
false
false
false
false
low
36,882,300
How to reduce the line size of Floating Label EditText when it is in active state
<p>Here I am using Floating Label EditText. I need to edit the size of the line under the EditText when I enter any text into that text field. Here I have added the code for your reference</p> <p>This is the code in XML</p> <pre><code>&lt;android.support.design.widget.TextInputLayout android:id="@+id/input_l...
Here I am using Floating Label EditText. I need to edit the size of the line under the EditText when I enter any text into that text field. Here I have added the code for your reference This is the code in XML [CODE] This my style.xml [CODE] Here I need to reduce the size of the blue line.
android|android-edittext
0
2016-04-27T06:45:26.873Z
2,016
4
6
2
162
0
290
81
2
2
true
true
false
false
false
false
zero
36,882,309
Unable to start service in background for Schedule Alarm in android
<pre><code>public class SchedulerEventService extends Service { private static final String APP_TAG = "com.hascode.android.scheduler"; Context contxt; @Override public IBinder onBind(final Intent intent) { return null; } @Override public int onStartCommand(final Intent intent, fina...
[CODE] This is my code when i run this Code i am not able to start service i want to schedule Alarm for dynamic time which come from service for that i have set time from which it should repeatedly fire Alarm in Each 20 Second i have puted LOG.d to get time but not getting date please suggest me where am doing wrong .
android
0
2016-04-27T06:46:02.623Z
2,016
4
6
2
130
2
319
67
1
1
true
false
false
false
false
false
zero
36,882,310
Make a loader in Xamarin App (C#)
<p>I have Android app.</p> <p>I realized cache for JSON in .txt file. </p> <p>But when I goes to category, where is text in JSON shows. Screen is freezing for 2-3 seconds and become black. Than Activity opens and I see all of text of my JSON. I think it's freezing because I download images from url that in JSON.</p> ...
I have Android app. I realized cache for JSON in .txt file. But when I goes to category, where is text in JSON shows. Screen is freezing for 2-3 seconds and become black. Than Activity opens and I see all of text of my JSON. I think it's freezing because I download images from url that in JSON. Can I make something lik...
c#|android|json|xamarin|xamarin.android
0
2016-04-27T06:46:03.240Z
2,016
4
6
2
1,547
2
523
33
5
2
true
false
false
false
false
false
zero
36,882,329
How to draw rectangle around contours in Opencv (Android)?
<p>I want to draw rectangle around contours. I did it perfectly in Python but when I translate that code into android, application gets crashed every time. </p> <pre><code>ImageView im = (ImageView) findViewById(R.id.sampleImageView); // Bitmap bitmap = ((BitmapDrawable) im.getDrawable()).getBitmap(); Bitmap bitmap ...
I want to draw rectangle around contours. I did it perfectly in Python but when I translate that code into android, application gets crashed every time. [CODE] Error [CODE]
android|opencv|opencv4android
3
2016-04-27T06:47:01.517Z
2,016
4
6
2
9,148
1
172
58
3
2
true
false
true
false
false
false
low
36,882,356
How to call Android layout in Unity?
<p>I am finding the solution of my problem but not satisfied from all of them. I create an android library which shows a ad view layout witch is and know I want to call this layout in unity but can't find any solution please anyone help me how can I call my layout in unity?</p> <pre><code>public class RedeemLayout ext...
I am finding the solution of my problem but not satisfied from all of them. I create an android library which shows a ad view layout witch is and know I want to call this layout in unity but can't find any solution please anyone help me how can I call my layout in unity? [CODE] and call my library in android app like t...
android|android-layout|unity3d
-1
2016-04-27T06:48:23.907Z
2,016
4
6
2
982
1
331
36
3
2
true
false
false
false
false
true
negative
36,882,420
Android cursor return empty contacts
<p>I need to get all contacts that have at least a phone number. Android contacts may be picked from many accounts like gmail,skype,vibe etc. I made the classes i need to get the contacts i need. My problem that it gets anyway contacts that don't have at least 1 phone number and shows just their name and avatar. Can an...
I need to get all contacts that have at least a phone number. Android contacts may be picked from many accounts like gmail,skype,vibe etc. I made the classes i need to get the contacts i need. My problem that it gets anyway contacts that don't have at least 1 phone number and shows just their name and avatar. Can any1 ...
android|android-contacts|android-cursoradapter
1
2016-04-27T06:51:49.843Z
2,016
4
6
2
192
0
473
36
3
3
true
true
false
false
false
false
low
36,882,427
Android Studio Resetting Changes to Default Code Style
<p>I'm here today because I'm having an issue with Android Studio. I don't know if it existed on previous versions (I don't remember this being an issue, so I doubt it was a problem on a previous version), but currently I am using the Android Studio V2.1 Stable release.</p> <p>My issue is that if I launch Android Stud...
I'm here today because I'm having an issue with Android Studio. I don't know if it existed on previous versions (I don't remember this being an issue, so I doubt it was a problem on a previous version), but currently I am using the Android Studio V2.1 Stable release. My issue is that if I launch Android Studio (I happe...
android-studio
31
2016-04-27T06:52:04.437Z
2,016
4
6
2
5,756
4
1,643
54
1
0
false
false
true
false
true
false
high