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,908,587
Call Logs not getting CACHED_NAME
<p>I am trying to get list of all number from <code>CALL-LOGS</code> which are <strong>NOT</strong> in my contacts, </p> <p>I am facing an <code>issue</code> when anyone who is in <em>my contacts</em> calls me. </p> <p>Cursor "<strong>c</strong>" is returning that number because "<code>name</code>"(<code>CACHED_NAME<...
I am trying to get list of all number from CALL-LOGS which are NOT in my contacts, I am facing an issue when anyone who is in my contacts calls me. Cursor " c " is returning that number because " name "( CACHED_NAME ) is null ". But when I open call-log application and then again I open my application , that number is ...
android|call|android-context|android-cursoradapter|android-cursor
3
2016-04-28T07:56:16.210Z
2,016
4
7
3
715
1
845
33
5
1
true
false
false
false
false
false
low
36,908,595
Why isLockTaskPermitted flag is false
<p>I'm trying to pin screen programmatically on Android L. My app includes xml file with </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;device-admin xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;uses-policies&gt; &lt;force-lock/&gt; &lt;watch-login/&gt; ...
I'm trying to pin screen programmatically on Android L. My app includes xml file with [CODE] I installed app with proper lines in AndroidManifest file where I defined AdminReceiver. Everything worked fine a few weeks ago, but right now when I came back to this project - App ask me to confirm "Pin screen" popup everytim...
java|android|xml|locking|kiosk-mode
10
2016-04-28T07:56:46.493Z
2,016
4
7
3
2,628
1
779
37
5
1
true
false
true
false
true
false
medium
36,908,664
compressed image looks hazy android
<p>I am using <a href="http://voidcanvas.com/whatsapp-like-image-compression-in-android/" rel="nofollow">Whatsapp like image compression code</a> for compressing the image taken from my custom camera.</p> <p>The image after compressed looks hazy (little faded out) , looks like it has loosen its quality along with the ...
I am using Whatsapp like image compression code for compressing the image taken from my custom camera. The image after compressed looks hazy (little faded out) , looks like it has loosen its quality along with the size Compress.java [CODE] Any solution to this ?
android|image-compression
0
2016-04-28T08:00:20.920Z
2,016
4
8
3
119
2
262
35
2
1
true
false
false
false
false
false
zero
36,908,685
Connect Bluetooth on Android Service
<p>I found a sample code for manage connection on service. But I don't know how use it.</p> <p>I only write here the code that I don't understand, to see all the code: </p> <p><a href="https://stackoverflow.com/questions/15025852/how-to-move-bluetooth-activity-into-a-service">Link Here</a></p> <p><strong>CODE</stron...
I found a sample code for manage connection on service. But I don't know how use it. I only write here the code that I don't understand, to see all the code: Link Here CODE [CODE] I connect correcly to bluetooth without service, getting device with this code: [CODE] My question is: How to pass my found Bluetooth device...
android|service|bluetooth
2
2016-04-28T08:01:16.313Z
2,016
4
8
3
1,952
1
443
36
3
2
true
false
false
false
false
false
low
36,908,710
Android Error - AGPBI: {"kind":"error","text":"Error parsing XML: not well-formed (invalid token)"
<p>I needed to import a working project from Eclipse to Android Studio 2.1 and got the following message from Gradle Console</p> <p>Executing tasks: [:app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources]</p> <p>Configuration on demand is an in...
I needed to import a working project from Eclipse to Android Studio 2.1 and got the following message from Gradle Console Executing tasks: [:app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources] Configuration on demand is an incubating feature. I...
android|xml|android-layout
1
2016-04-28T08:03:01.200Z
2,016
4
8
3
7,308
1
1,952
98
3
3
true
false
true
false
false
false
low
36,908,725
Data sent through Data API from mobile not received in android wear?
<p>Data sent through Data API from mobile app is not received in ondatachange of listenerservice in wearable emulator.I can send a notification though, which indicates both are connected.Below my code,</p> <p>DataAPI call (mobile)</p> <pre><code> PutDataMapRequest putDataMapRequest = PutDataMapRequest.create(Share...
Data sent through Data API from mobile app is not received in ondatachange of listenerservice in wearable emulator.I can send a notification though, which indicates both are connected.Below my code, DataAPI call (mobile) [CODE] After which I am getting "successfully sent" log message. Below is ListenerService in wear, ...
android|wear-os|android-wear-data-api
0
2016-04-28T08:03:56.097Z
2,016
4
8
3
519
1
440
68
3
3
true
false
false
false
false
false
zero
36,908,731
Why is dialog.show() causing my app to crash?
<p>I've been trying to get a dialog message to work on android and the app always crash when it reaches "dialog.show();"</p> <pre><code>public class Logic extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(conte...
I've been trying to get a dialog message to work on android and the app always crash when it reaches "dialog.show();" [CODE] Here is my logcat: [CODE]
java|android
0
2016-04-28T08:04:26.897Z
2,016
4
8
3
835
2
150
45
2
2
true
false
false
false
false
false
zero
36,908,769
Conflict between Android SDK and Apache HTTP after API 23 update
<p>In my project I am using these libraries:</p> <pre><code>compile 'org.apache.httpcomponents:httpclient:4.5.2' compile 'org.apache.httpcomponents:httpcore:4.4.4' </code></pre> <p>Everything worked fine, until I updated Android Tools for API 23. Then when I try to perform HttpPost I get the following exception:</p> ...
In my project I am using these libraries: [CODE] Everything worked fine, until I updated Android Tools for API 23. Then when I try to perform HttpPost I get the following exception: [CODE] And this is the library code where it happens: [CODE] When looking at the external libraries, I can see the AllowAllHostnameVerifie...
android|apache|android-studio|android-sdk-tools
2
2016-04-28T08:06:29.640Z
2,016
4
8
3
969
1
1,002
64
4
3
true
false
false
false
false
false
low
36,908,776
How to use two array list in Spinner from which data is reflected in grid view on the basis of tag id
<p>I want to reflect all refrigerator items on the basis of tagid,but size of <code>ArrayList</code> is returning null, <code>ArrayIndexOutOFBoundException</code>. I have used <code>selectCategory</code> spinner which is reflecting subcategory name list, parallely I also wants to use <code>tagid</code> of selected ca...
I want to reflect all refrigerator items on the basis of tagid,but size of ArrayList is returning null, ArrayIndexOutOFBoundException . I have used selectCategory spinner which is reflecting subcategory name list, parallely I also wants to use tagid of selected category to reflect items of category selected in spinner ...
android
0
2016-04-28T08:06:47.860Z
2,016
4
8
3
91
1
436
101
1
3
true
false
false
false
false
false
zero
36,908,791
Cleaner Stops my AlarmManager
<p>My <code>AlarmManager</code> works well but cleaner stops my <code>alarmManager</code> repeating task. or it not running my background service which extends <code>BroadcastReceiver</code> stops working. </p> <p>I am starting <code>alarmManager</code> on click on button:</p> <pre><code>intent = new Intent(MyActivit...
My AlarmManager works well but cleaner stops my alarmManager repeating task. or it not running my background service which extends BroadcastReceiver stops working. I am starting alarmManager on click on button: [CODE] In BroadCastReceiver Class I am putting TOAST . It works when cleaner are not performing... but when c...
android|broadcastreceiver
0
2016-04-28T08:07:24.253Z
2,016
4
8
3
53
1
447
29
2
2
true
false
false
false
false
false
zero
36,908,893
Could not find class xxx$1 referenced from method xxx.yyy android studio
<p>I created app and it was working well, then I changed the package name of the app, then I got this errors </p> <pre><code>04-28 09:45:49.604 31707-31707/? E/dalvikvm? Could not find class 'xxx.yyy.zzz.carcleaningapp.NavigationDrawer.HomeFragment', referenced from method xxx.yyy.zzz.carcleaningapp.NavigationDrawer....
I created app and it was working well, then I changed the package name of the app, then I got this errors [CODE] Althought, all of the are found in the project folder as showing in the screenShot
java|android-studio
0
2016-04-28T08:11:44.197Z
2,016
4
8
3
432
0
195
72
2
1
true
true
false
false
false
false
zero
36,908,919
Using an Animated Gif as Ground Overlays in G. Maps v2
<p>I am currently using Google Maps and would like to use an animated Gif as Overlay in my app. This is really frustrating as it seems very easy on iOS version of the app, SO I really want to achieve something cool.</p> <p>The result I would like to see is on 23s of this video: <a href="https://www.youtube.com/watch?v...
I am currently using Google Maps and would like to use an animated Gif as Overlay in my app. This is really frustrating as it seems very easy on iOS version of the app, SO I really want to achieve something cool. The result I would like to see is on 23s of this video: https://www.youtube.com/watch?v=JI323jA67x0#t=23s T...
android|google-maps-android-api-2|animated-gif
13
2016-04-28T08:13:16.877Z
2,016
4
8
3
1,502
3
493
54
3
1
true
false
false
false
true
false
medium
36,908,942
Broadcast receiver is not working when app on foreground or active
<p>I am building app regarding battery indicator and i am using code from this post.</p> <p><a href="https://stackoverflow.com/questions/23758200/getting-battery-status-even-when-the-application-is-closed">Getting battery status even when the application is closed</a></p> <p>it is working fine when app is closed, but...
I am building app regarding battery indicator and i am using code from this post. Getting battery status even when the application is closed it is working fine when app is closed, but when an app is active or on foreground it did not work or did not send any broadcast. This is main activity from i start service [CODE] ...
android|broadcastreceiver
0
2016-04-28T08:14:08.230Z
2,016
4
8
3
746
1
433
66
2
3
true
false
false
false
false
false
zero
36,908,948
Error deserializing XML object using SimpleXML framework in Android only
<p>Alright, I been banging my head at this problem for the past couple of days without a solution (scouring the internet and StackOverflow posts for potential solutions without avail), so maybe someone else knows what's going on here.</p> <p>I'm trying to parse <a href="http://www.edrdg.org/jmdict/edict_doc.html" rel=...
Alright, I been banging my head at this problem for the past couple of days without a solution (scouring the internet and StackOverflow posts for potential solutions without avail), so maybe someone else knows what's going on here. I'm trying to parse JMDict with SimpleXML, but I'm hitting really strange errors. The ot...
java|android|xml|xml-parsing|simple-framework
4
2016-04-28T08:14:29.047Z
2,016
4
8
3
551
0
2,455
72
5
8
true
true
false
false
false
false
low
36,909,014
Android: Why subtitle in ListView not grey?
<p>I use latest Android Studio and SDK. In preview &amp; real device i see this:</p> <p><a href="https://i.stack.imgur.com/Z3lI3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z3lI3.png" alt="enter image description here"></a></p> <p>My code:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"...
I use latest Android Studio and SDK. In preview & real device i see this: My code: [CODE] How i make subtitle text color is gray? Like this:
android|listview
2
2016-04-28T08:17:04.510Z
2,016
4
8
3
276
2
140
43
2
1
true
false
false
false
false
false
low
36,909,206
Upload file to node.js server from Android using HTTPURLConnection
<p>If someone can help guide me on what exactly I am doing wrong.. A little stumped on this one as I've used Postman Client to do a get request to my node.js server and am able to get to it perfectly fine.</p> <pre><code>04-28 01:21:03.983 5362-5486/xyz.hexene.localvpn I/uploadFile: HTTP Response is : Not Found: 404 0...
If someone can help guide me on what exactly I am doing wrong.. A little stumped on this one as I've used Postman Client to do a get request to my node.js server and am able to get to it perfectly fine. [CODE] Here is my android code: [CODE] And below is my node.js server: (Sorry I know it isn't impressive i'm still le...
javascript|android|node.js
1
2016-04-28T08:26:33.350Z
2,016
4
8
3
853
0
569
66
3
3
true
true
false
false
false
false
low
36,909,330
sinch incoming call ringtone
<p>Alarm manager Ringtone is working fine on kitkat but when i try it on Lollipop/Marshmallow it not working on sinch incoming call. I tried it with default ringtone and customized ringtone as well but its not ringing on version greater then kitkat.</p> <p><strong>sinch</strong></p> <pre><code>public class AudioPlaye...
Alarm manager Ringtone is working fine on kitkat but when i try it on Lollipop/Marshmallow it not working on sinch incoming call. I tried it with default ringtone and customized ringtone as well but its not ringing on version greater then kitkat. sinch [CODE] }
java|android|sinch
2
2016-04-28T08:33:15.233Z
2,016
4
8
3
518
0
261
28
3
1
true
true
false
false
false
false
low
36,909,347
How to create a textView below a circle(used canvas to draw) in android
<p>I wanted draw a circle on a activity which has the largest radius in portrait view. So I used canvas for that purpose. However I could draw the circle. Now I want to create a text view below this circle . </p> <p>There is code for drawing the circle.</p> <p><strong>MainActivity.java</strong></p> <pre><code>import...
I wanted draw a circle on a activity which has the largest radius in portrait view. So I used canvas for that purpose. However I could draw the circle. Now I want to create a text view below this circle . There is code for drawing the circle. MainActivity.java [CODE] And this is my view class, CircleCanvas.java [CODE] ...
java|android|canvas|textview
2
2016-04-28T08:34:08.343Z
2,016
4
8
3
332
0
399
71
4
2
true
true
false
false
false
false
low
36,909,366
Reading json from android internal storage error
<p>This is my code of saving json:</p> <pre><code> public void saveCrimes (ArrayList&lt;Crime&gt; crimes) throws JSONException, FileNotFoundException, IOException { JSONArray jsonArray = new JSONArray(); for (Crime c:crimes) { jsonArray.put(c.convertToJson()); ...
This is my code of saving json: [CODE] The question is: code of saving json is correct, but when I run my application on my phone, create new crime, and restart the app, json stored before cannot be read. What makes me more confused is that when I run it on an emulator, it works well. Why?
android
0
2016-04-28T08:34:59.347Z
2,016
4
8
3
60
1
290
48
1
1
true
false
false
false
false
false
zero
36,909,374
Crash on passing large sets of data through intents - is there a size limit on the extras bundle?
<p>I just started a new job and am working on an app that requires passing large data sets around the application. Currently the app uses persistent storage and is constantly querying a SQL database to fetch and display these large data sets to the user. Because of all of these expensive operations the app has become a...
I just started a new job and am working on an app that requires passing large data sets around the application. Currently the app uses persistent storage and is constantly querying a SQL database to fetch and display these large data sets to the user. Because of all of these expensive operations the app has become almo...
android|database|performance|android-intent|android-activity
3
2016-04-28T08:35:09.767Z
2,016
4
8
3
2,815
1
1,781
97
5
1
true
false
true
false
false
false
low
36,909,381
Android spinner changing width causing drop down item to not display
<p>I have a spinner which contains a list of weeks (1->52) plus an additional 'All Weeks' option. When ever I select a week number, such as '1', the spinner width decreases to the size needed to display '1'. This causes problems when trying to select 'All Weeks' again as the spinner drop down width is too small for the...
I have a spinner which contains a list of weeks (1->52) plus an additional 'All Weeks' option. When ever I select a week number, such as '1', the spinner width decreases to the size needed to display '1'. This causes problems when trying to select 'All Weeks' again as the spinner drop down width is too small for the 'A...
android|android-layout|drop-down-menu|width|spinner
1
2016-04-28T08:35:28.503Z
2,016
4
8
3
513
1
1,017
68
5
2
true
false
false
false
false
false
low
36,909,428
How can I annotate a lambda with @WorkerThread?
<p>I'm updating some code to use <a href="https://github.com/JakeWharton/retrolambda#readme" rel="nofollow noreferrer">retrolambda</a> on Android. The code mostly works, but the Android Studio 2.1 IDE seems to flag the previously OK code:</p> <pre><code>@WorkerThread void expensiveBackgroundOperation() { // Stuff....
I'm updating some code to use retrolambda on Android. The code mostly works, but the Android Studio 2.1 IDE seems to flag the previously OK code: [CODE] The following screenshot shows that the old runnable syntax is inferred correctly (or rather, it is not inferred and the run() method would need to be annotated with @...
java|android|android-studio|lambda|retrolambda
1
2016-04-28T08:37:19.777Z
2,016
4
8
3
1,001
1
610
47
5
1
true
false
false
false
false
false
low
36,909,455
MapsApp that calculates distance between 2 points, Android
<p>I would like to create an app that can calculate distance between 2 location, the first is find with GPS,while the second is set by me. The app doesn't open, and the error is in the <br/></p> <blockquote> <p>line 61: distance = location.distanceTo(locationSede);</p> </blockquote> <p>Help me!</p> <p><div class="...
I would like to create an app that can calculate distance between 2 location, the first is find with GPS,while the second is set by me. The app doesn't open, and the error is in the line 61: distance = location.distanceTo(locationSede); Help me! [CODE] [CODE]
android|crash|geolocation|google-maps-android-api-2|distance
2
2016-04-28T08:38:44.477Z
2,016
4
8
3
282
3
259
58
5
2
true
false
false
false
false
false
low
36,909,532
Button click to setOnGenericMotionListener event using mouse scroll work
<p>Sir, I am work with on button key and it show some value like for Eg:5 if i have move mouse cursor point to button, then on setOnGenericMotionListener event using mouse scroll the Eg: 5 is varied to increase and decrease value depend upon mouse scroll but now i want to move any place of my mouse cursor point hav...
Sir, I am work with on button key and it show some value like for Eg:5 if i have move mouse cursor point to button, then on setOnGenericMotionListener event using mouse scroll the Eg: 5 is varied to increase and decrease value depend upon mouse scroll but now i want to move any place of my mouse cursor point have need ...
java|android|mouseevent|motionevent
2
2016-04-28T08:42:42.753Z
2,016
4
8
3
2,443
1
473
72
4
1
true
false
false
false
false
false
low
36,909,658
Setting the contrast color for TextView and ImageView that is in Collapsing toolbar
<p>I have an <code>ImageView</code> and <code>TextView</code> in <code>Collapsing Toolbar</code>. The image will be loaded from Server dynamically. The problem is when I set the color for <code>TextView</code> (white or black), its contradicting with the color of the image one way or another. As I am a beginner I don't...
I have an ImageView and TextView in Collapsing Toolbar . The image will be loaded from Server dynamically. The problem is when I set the color for TextView (white or black), its contradicting with the color of the image one way or another. As I am a beginner I don't know how to solve it. Could anyone help me with this?...
android|android-imageview|android-collapsingtoolbarlayout
1
2016-04-28T08:48:02.140Z
2,016
4
8
3
1,178
1
349
83
3
1
true
false
false
false
false
false
low
36,909,730
Android Studio add permission check bug?
<p>Ok, I have the following code and warning in AS: <a href="https://i.stack.imgur.com/5QOrY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5QOrY.png" alt="enter image description here"></a></p> <p>When I agree to add such check, AS insert following code:<br></p> <pre><code>if (ActivityCompat.chec...
Ok, I have the following code and warning in AS: When I agree to add such check, AS insert following code: [CODE] And I'm just wondering, why AND operator is using? If user reject only one of permissions above, such check wouldn't be working, as for me. Or I miss something?
android|android-studio|android-permissions
0
2016-04-28T08:51:35.737Z
2,016
4
8
3
2,755
2
274
40
3
1
true
false
true
false
false
false
zero
36,909,776
White screen when opening website in WebView
<p>When I want to open my website in Webview it only gives me a white screen. I don't know how because if I put a other website inside the WebView it works fine. The code:</p> <pre><code>WebView view = (WebView) this.findViewById(R.id.webView); view.setWebViewClient(new WebViewClient()); view.getSettings().set...
When I want to open my website in Webview it only gives me a white screen. I don't know how because if I put a other website inside the WebView it works fine. The code: [CODE] If it comes because of the website here is the code of the first page it links to: [CODE] edit: I also found this error: 04-28 14:50:25.537 1667...
php|android|webview
1
2016-04-28T08:53:26.537Z
2,016
4
8
3
703
2
1,507
44
3
2
true
false
false
false
false
false
low
36,909,795
Android create custom annotations
<p>I'm learning how to create own annotations. I have read this: <a href="http://www.mkyong.com/java/java-custom-annotations-example/" rel="nofollow noreferrer">http://www.mkyong.com/java/java-custom-annotations-example/</a> but I have to pass all classes with my annotation - thats bad. So I have read this: <a href="h...
I'm learning how to create own annotations. I have read this: http://www.mkyong.com/java/java-custom-annotations-example/ but I have to pass all classes with my annotation - thats bad. So I have read this: https://stackoverflow.com/a/7665191/3279023 Unfortunately it throws an exception: [CODE] basicly: [CODE] My goal: ...
java|android|reflection|annotations
1
2016-04-28T08:54:17.297Z
2,016
4
8
3
1,782
1
751
33
4
5
true
false
false
false
false
false
low
36,909,987
Does Retrofit support rx.Future/Task/Async/Single?
<p>I've found nice example of usage RxJava at <a href="https://www.captechconsulting.com/blogs/getting-started-with-rxjava-and-android" rel="nofollow">this article</a>:</p> <pre><code>Subscription subscription = Single.create(new Single.OnSubscribe() { @Override public void call(SingleSubscriber ...
I've found nice example of usage RxJava at this article : [CODE] But since I am using Retrofit I would like to create RetrofitService and use Single class to combine the result of two requests to backend into one dataset, as described: When subscribing to a Single, there is only an onSuccess Action and an onError actio...
android|retrofit|rx-java|retrofit2
1
2016-04-28T09:03:49.673Z
2,016
4
9
3
1,202
1
714
50
4
1
true
false
false
false
false
false
low
36,909,995
how make listview in Fragment?
<p>I have a <code>ListView</code> in activity, but I need <code>ListView</code> in Fragment. How can I do it? I didn't find nothing about this problem online ...</p> <p>This is my code for your perusal. Thank you in advance!!!!</p> <pre><code>public class Main extends ActionBarActivity implements android.widg...
I have a ListView in activity, but I need ListView in Fragment. How can I do it? I didn't find nothing about this problem online ... This is my code for your perusal. Thank you in advance!!!! [CODE] AND THIS: [CODE]
android|listview|android-fragments
-4
2016-04-28T09:04:12.017Z
2,016
4
9
3
1,365
1
215
30
3
2
true
false
false
false
false
true
negative
36,910,044
ServerSocket not accepting Connection
<p>I have the following code in JAVA to create Server Socket to listen for incoming connections : </p> <pre><code>public class ConnectOracle { public static void main(String[] args) { String driver = "oracle.jdbc.driver.OracleDriver"; // String serverName = "10.11.201.84"; String portNumber = "1521"; Strin...
I have the following code in JAVA to create Server Socket to listen for incoming connections : [CODE] In my Android program I am trying to create a connection with this JAVA program . The code is as follows : [CODE] But the connection is not established . How can I establish connection ? Any advice is of great help .
java|android
1
2016-04-28T09:06:04.667Z
2,016
4
9
3
237
0
318
37
2
2
true
true
false
false
false
false
low
36,910,102
DrawerLayout + app bar +CoordinatorLayout pull to refresh
<p>i want to implement pull to refresh for full page right now i mange to do in . content_main have viewpager and recycleview . </p> <p>so how i can have pull to refresh for full page </p> <p>base.xml </p> <pre><code> &lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/and...
i want to implement pull to refresh for full page right now i mange to do in . content_main have viewpager and recycleview . so how i can have pull to refresh for full page base.xml [CODE] app_bar_main.xml [CODE] [CODE]
android|material-design|android-coordinatorlayout|swiperefreshlayout
2
2016-04-28T09:08:50.670Z
2,016
4
9
3
1,155
1
219
57
4
3
true
false
false
false
false
false
low
36,910,335
How to generate not repeating random numbers
<p>I am using random numbers, and I'm generating random numbers between 0 and 7. But there is a problem: random numbers sometimes repeat the previous number.<br> I am generating a random number on button-click; so on clicking the button I sometime really get a different random number, but sometime it starts repeating n...
I am using random numbers, and I'm generating random numbers between 0 and 7. But there is a problem: random numbers sometimes repeat the previous number. I am generating a random number on button-click; so on clicking the button I sometime really get a different random number, but sometime it starts repeating numbers....
java|android
-1
2016-04-28T09:19:40.930Z
2,016
4
9
3
1,808
1
927
44
2
1
true
false
false
false
false
true
negative
36,910,541
Picker is not binding old selected value when coming back from next screen?
<p>I am working on xamarin.forms for android app. I created a picker on first screen and customize it with help of spinner and custom renderer. Its looking fine and working.</p> <p>But when I moved on second screen and if I come back from second screen to first screen, picker doesn't show the old selected value. It sh...
I am working on xamarin.forms for android app. I created a picker on first screen and customize it with help of spinner and custom renderer. Its looking fine and working. But when I moved on second screen and if I come back from second screen to first screen, picker doesn't show the old selected value. It shows only de...
xamarin.android|spinner|xamarin.forms|dropdown|picker
0
2016-04-28T09:28:06.283Z
2,016
4
9
3
710
0
667
75
5
1
true
true
false
false
false
false
zero
36,910,546
How to reset count for every half an hour based on date and time android?
<p>I am working in beacon type where I need to reset count for every half an hour. When the device gets triggered, I will insert data in db for corresponding date and time and counter. But when it reached half an hour, need to reset counter from 1. How to handle this?</p> <p>Here is code what I tried.</p> <p>This dat...
I am working in beacon type where I need to reset count for every half an hour. When the device gets triggered, I will insert data in db for corresponding date and time and counter. But when it reached half an hour, need to reset counter from 1. How to handle this? Here is code what I tried. This database method will b...
android|mysql|database|android-sqlite|android-database
1
2016-04-28T09:28:18.830Z
2,016
4
9
3
535
2
569
73
5
3
true
false
false
false
false
false
low
36,910,548
How to adjust Height and width in android stagefright Media Player
<p>Is there any way to adjust height and width of a Video in file which is similar to SoftAVC.Cpp..</p> <p>In my code the width and height is fixed(i.e 832*480) for particular video.But I want to play different video's What should I do?, so that I can play different Video's.</p> <p>My Code</p> <pre><code>IntdecHEVC:...
Is there any way to adjust height and width of a Video in file which is similar to SoftAVC.Cpp.. In my code the width and height is fixed(i.e 832*480) for particular video.But I want to play different video's What should I do?, so that I can play different Video's. My Code [CODE]
android|c++|stagefright
0
2016-04-28T09:28:22.543Z
2,016
4
9
3
92
0
280
66
3
1
true
true
false
false
false
false
zero
36,910,559
Android custom spinner with theme
<p>I am trying to customize my spinner with theme attribute. Here is my spinner item layout</p> <pre><code>&lt;TextView xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; style=&quot;@style/DashboardSpinnerItemStyle&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=...
I am trying to customize my spinner with theme attribute. Here is my spinner item layout [CODE] I use custom style [CODE] There is attribute color which determined in my theme [CODE] works fine, but emulator or real device goes throws an exception 04-28 09:01:44.909 2460-2460/com.amocrm.prototype E/AndroidRuntime: FATA...
android|android-spinner|android-theme
0
2016-04-28T09:28:40.163Z
2,016
4
9
3
1,605
2
447
33
3
3
true
false
false
false
false
false
zero
36,910,619
Android:best practice to implement LocationManager
<p>I am making an application sends the coordinates of latitude and longitude, so I'm extending a service and implemented LocationManager. This is part of my code:</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><co...
I am making an application sends the coordinates of latitude and longitude, so I'm extending a service and implemented LocationManager. This is part of my code: [CODE] My question is ¿What would be the best practice to do this if you do it in onCreate () as is now or change it to onStartCommand () ?
android|android-service|locationmanager|locationlistener
2
2016-04-28T09:31:34.887Z
2,016
4
9
3
961
4
300
50
4
1
true
false
false
false
false
false
low
36,910,631
Styling android: DatePickerDialog crash when a custom style is applied
<p>I'm trying to customize my app dialogs style (including datepicker dialogs).</p> <p>If I don't specify any custom dialog theme all works fine but if I try to apply a custom theme, AlertDialog keep working fine while DatePickerDialog cause my app to crash. </p> <p>The exception is the follows:</p> <pre><code>E/And...
I'm trying to customize my app dialogs style (including datepicker dialogs). If I don't specify any custom dialog theme all works fine but if I try to apply a custom theme, AlertDialog keep working fine while DatePickerDialog cause my app to crash. The exception is the follows: [CODE] I've defined the following styles:...
android|dialog|styles|android-datepicker
4
2016-04-28T09:32:11.477Z
2,016
4
9
3
527
0
1,021
70
4
10
true
true
false
false
false
false
low
36,910,725
Android Could not execute method of the activity
<p>I found a issue when I try to excecute a 'Diagnosa' button - onclick Certaint Factor. I dont know whats wrong with my code. In this app, I use a method (with Certainty formula - Expert System). If anyone know how to solve this problem, Please help me..</p> <pre><code>04-28 16:10:36.868: E/AndroidRuntime(1064): FATA...
I found a issue when I try to excecute a 'Diagnosa' button - onclick Certaint Factor. I dont know whats wrong with my code. In this app, I use a method (with Certainty formula - Expert System). If anyone know how to solve this problem, Please help me.. [CODE] This is my Activity [CODE]
java|android|methods
-2
2016-04-28T09:35:59.270Z
2,016
4
9
3
127
3
286
48
3
2
true
false
false
false
false
true
negative
36,910,726
Unable to integrate g+ login in android
<p>I have been trying to create a login page for my app and decided to use G+ as one of the means to login.</p> <p>My code is as follows</p> <pre><code>public class LoginActivity extends AppCompatActivity implements GoogleApiClient.ConnectionCallbacks,GoogleApiClient.OnConnectionFailedListener { String Name,Pass; pri...
I have been trying to create a login page for my app and decided to use G+ as one of the means to login. My code is as follows [CODE] I have implemented all the required functions needed to get the data. When I launch the app and click the signin button I get a null pointer exception at if (mConnectionResult.hasResolut...
android|google-plus
3
2016-04-28T09:36:03.283Z
2,016
4
9
3
138
1
681
39
2
2
true
false
false
false
false
false
low
36,910,809
android universal image loader clear cache
<p>i use universal image loader to load image from url<br> this is adapter</p> <pre><code>public class BinderDataImg extends BaseAdapter { static final String KEY_IMG = "img"; LayoutInflater inflater; List&lt;HashMap&lt;String,String&gt;&gt; imgHashmap; ViewHolder holder; ImageLoader imageLoader = ImageLoader.getIns...
i use universal image loader to load image from url this is adapter [CODE] } this is activity [CODE] I can load image and image cache in memory and disk is perfect. but I want when activity start cache will clear or when press back button to leave activity will delete cache in memory and cache in disk. how to do that? ...
android|universal-image-loader
4
2016-04-28T09:39:41.243Z
2,016
4
9
3
3,346
2
363
42
2
2
true
false
true
false
false
false
low
36,910,834
Kotlin collections throw ClassNotFoundException on Android
<p>Using any of the lines below throws a ClassNotFoundException when app is run on Android.</p> <pre><code>val list = listOf("a", "b") val arrayList = arrayListOf("a", "b") val map = mapOf("key" to "value") </code></pre> <p>The exception:</p> <pre><code>04-28 15:12:00.770 27326-27326/com.example.kotlin E/AndroidRunt...
Using any of the lines below throws a ClassNotFoundException when app is run on Android. [CODE] The exception: [CODE] The following is my app module gradle file: [CODE] Is there any other dependency I need to add to gradle in order to use any of the Kotlin collection classes?
android|kotlin
6
2016-04-28T09:40:39.110Z
2,016
4
9
3
5,495
1
276
58
2
3
true
false
true
false
false
false
medium
36,910,913
get popup valus and send it to mail in android
<p>i have an app which has a form values..</p> <p>Title... username... email... send(Button) and this form is shown as popup window my popup xml code is</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout android:id="@+id/compose_layout" android:layout_width="match_parent" android:layout_h...
i have an app which has a form values.. Title... username... email... send(Button) and this form is shown as popup window my popup xml code is [CODE] firstly,my popup window form is not editable..please suggest something to make it editable secondly, i want to get these values(title,username and email) and send it to s...
android|email
1
2016-04-28T09:45:13.003Z
2,016
4
9
3
48
1
382
46
2
1
true
false
false
false
false
false
low
36,910,925
FullScreen for SurfaceView not working in lollipop or higher
<p>I created surfaceView like this.</p> <p>content_main.xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:l...
I created surfaceView like this. content_main.xml [CODE] MainActivity.java [CODE] this code works in android devices running Kitkat (API 19). but when I run the same code on devices running lollipop or higher the resultant display is like this. the uper and lower borders are visible and surfaceView does not cover full ...
android|surfaceview
0
2016-04-28T09:45:38.450Z
2,016
4
9
3
912
1
354
60
2
2
true
false
false
false
false
false
zero
36,910,966
how to share content in fragmentPageAdapter
<p>please am sorry to ask this simple question, but have been battling with this problem for the past one week. I will appreciate if anyone can solve this problem for me by coding inside the onclick of the button listener which when clicked it share the content in the fragment or the adapter that extends fragmentStateP...
please am sorry to ask this simple question, but have been battling with this problem for the past one week. I will appreciate if anyone can solve this problem for me by coding inside the onclick of the button listener which when clicked it share the content in the fragment or the adapter that extends fragmentStatePage...
android
-3
2016-04-28T09:47:03.910Z
2,016
4
9
3
44
1
487
43
1
4
true
false
false
false
false
true
negative
36,911,101
Gradle build error : Duplicate entry
<p>My gradle file is </p> <pre><code>apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "24.0.0 rc2" defaultConfig { applicationId "com.test.test" minSdkVersion 15 targetSdkVersion 23 versionCode 1 versionName "1.0" multiDexEnabled true } buildTypes { ...
My gradle file is [CODE] And I am getting this error while compiling the application Error:Execution failed for task ':myapplication:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/apache/http/annotation/NotThreadSafe.class Ca...
android|gradle|android-gradle-plugin|build.gradle|android-spinner
0
2016-04-28T09:52:43.420Z
2,016
4
9
3
2,450
3
426
36
5
1
true
false
false
false
false
false
zero
36,911,184
Where is the background image column in SearchManager?
<p>I could not find any column to set background image inside SearchManager class. When Google Play app's search result is selected, a background image is displayed but I don't seem to find any public api/column to set it. </p> <p>Here is my code for content provider's query method Any idea guys?</p> <p>Device: Nexu...
I could not find any column to set background image inside SearchManager class. When Google Play app's search result is selected, a background image is displayed but I don't seem to find any public api/column to set it. Here is my code for content provider's query method Any idea guys? Device: Nexus player [CODE]
android-contentprovider|android-tv
1
2016-04-28T09:56:24.427Z
2,016
4
9
3
121
0
314
54
2
1
true
true
false
false
false
false
low
36,911,191
Showing a view relative to a button android
<p>How can I accomplish something like this as shown in the image below:</p> <p><a href="https://i.stack.imgur.com/O4Rex.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O4Rex.png" alt="enter image description here"></a></p> <p>So what I want is once I make a click or long one on any of the button I...
How can I accomplish something like this as shown in the image below: So what I want is once I make a click or long one on any of the button I want to show a layout contaning few buttons at the top of the button that is click on. I have the following xml [CODE] Which gives me the following result: So basically I have t...
android|android-layout
1
2016-04-28T09:57:03.140Z
2,016
4
9
3
77
2
609
43
2
1
true
false
false
false
false
false
low
36,911,274
volley error when importing module
<p>I've been trying to add the volley library to my android project by downloading this repository <a href="https://android.googlesource.com/platform/frameworks/volley" rel="nofollow">https://android.googlesource.com/platform/frameworks/volley</a> and then importing the module to my project by following this guide:</p>...
I've been trying to add the volley library to my android project by downloading this repository https://android.googlesource.com/platform/frameworks/volley and then importing the module to my project by following this guide: First get latest volley with git (git clone > https://android.googlesource.com/platform/framewo...
android|json
1
2016-04-28T10:00:21.157Z
2,016
4
10
3
1,669
1
1,027
34
2
0
false
false
false
false
false
false
low
36,911,276
How to extend multiple classes in adapter?
<p>I want to implement sections in my list. I have a list of tasks. List has a custom adapter which extends recyclerview swipe adapter as I have implemented swipe gesture to the recyclerview.</p> <p>So now tasks list is shown together with completed and pending tasks. Each list item has a check box which shows task is...
I want to implement sections in my list. I have a list of tasks. List has a custom adapter which extends recyclerview swipe adapter as I have implemented swipe gesture to the recyclerview. So now tasks list is shown together with completed and pending tasks. Each list item has a check box which shows task is completed ...
java|android|android-recyclerview|multiple-inheritance|sections
1
2016-04-28T10:00:27.887Z
2,016
4
10
3
4,375
3
1,220
42
5
1
true
false
true
false
false
false
low
36,911,365
Generic list in abstract method
<p>I have a Base abstract class like this:</p> <pre><code>public abstract class BaseModel { //some code } </code></pre> <p>I am extending it with another Base abstract class like this:</p> <pre><code>public abstract class BaseChildParentModel extends BaseModel { public abstract &lt;E extends BaseModel&gt; List&...
I have a Base abstract class like this: [CODE] I am extending it with another Base abstract class like this: [CODE] My last class extend BaseChildParentModel like this: [CODE] On compile i get following error: [CODE] and [CODE] What is the my fault?
java|android|generics|abstract-class
1
2016-04-28T10:04:20.857Z
2,016
4
10
3
911
2
249
31
4
5
true
false
false
false
false
false
low
36,911,452
Android: Text not centering inside textView?
<p><strong>Edit:</strong> Sorry ther was a problem in my implementation, the layout weight wasn't adding up to 1 and hence the problem. It worked after I fixed the layoutWeight.</p> <p>I don't know why but I am unable to center text inside this <a href="https://github.com/Malinskiy/android-material-icons" rel="nofollo...
Edit: Sorry ther was a problem in my implementation, the layout weight wasn't adding up to 1 and hence the problem. It worked after I fixed the layoutWeight. I don't know why but I am unable to center text inside this custom TextView , can someone please help. I tried a variety of things but none is working. The icon i...
android|textview|android-linearlayout
-1
2016-04-28T10:08:39.937Z
2,016
4
10
3
235
4
400
44
3
1
true
false
false
false
false
true
negative
36,911,474
Resource.String does not contain a definition for 'Hello'
<p>I'm trying to publish a Xamarin.Forms project with Visual Studio 2015<br> by following the steps on <a href="https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_2_-_signing_the_android_application_package/#Create_a_New_Keystore" rel="nofollow noreferrer">this ...
I'm trying to publish a Xamarin.Forms project with Visual Studio 2015 by following the steps on this address . What I have done so far : I have changed the to project's build configuration as Release mode and have created the keystore then published the project by using Tools/Android/Publish Android App. But I get thes...
android|visual-studio|xamarin|publish
0
2016-04-28T10:09:28.343Z
2,016
4
10
3
2,481
2
585
57
4
0
false
false
false
false
false
false
zero
36,911,578
Android ProgressDialog Won't be dismiss after Paytm Transation on success
<p>when the paytm WebView calls "back to Activity" return. what should be the Approach to handle waiting for transation Complete.</p> <p>My progress Dialog opened before Paytm Screen open but When returned from paytm screen to activity progress dialog not dismissing..</p> <p>please any help or idea about this issue.....
when the paytm WebView calls "back to Activity" return. what should be the Approach to handle waiting for transation Complete. My progress Dialog opened before Paytm Screen open but When returned from paytm screen to activity progress dialog not dismissing.. please any help or idea about this issue.... [CODE]
android|webview|progressdialog|paytm
0
2016-04-28T10:14:18.167Z
2,016
4
10
3
295
0
310
73
4
1
true
true
false
false
false
false
zero
36,911,681
Disable up and down fling swipe gestures with GestureDetectorCompat
<p>I'm trying to start an activity with the swipe to right or left gestures in an activity, with the following code:</p> <pre><code>gestureDetector = new GestureDetectorCompat(this, new GestureDetector.SimpleOnGestureListener(){ private static final int SWIPE_THRESHOLD = 50; private static final int SWIPE_VELO...
I'm trying to start an activity with the swipe to right or left gestures in an activity, with the following code: [CODE] How to disable the action from being taken when the swipe is vertical (from up to down or from down to up)? The SWIPE_LEFT and SWIPE_RIGHT are nothing but class member constants with the values 1 and...
android|gesture
0
2016-04-28T10:18:02.247Z
2,016
4
10
3
652
1
355
67
2
1
true
false
false
false
false
false
zero
36,911,687
How to display the result of checked "check boxes" into one activity without leaving any blank spaces in Android Studio?
<p>i am developing a polling/voting application in Android Studio 2.0 (API 23).</p> <p>The scenario:</p> <p>I have a activity that shows fields(area of interest) with check-boxes below it to show that the particular field is selected.(fields here are Sports, Entertainment, Education and Technology). A button to confi...
i am developing a polling/voting application in Android Studio 2.0 (API 23). The scenario: I have a activity that shows fields(area of interest) with check-boxes below it to show that the particular field is selected.(fields here are Sports, Entertainment, Education and Technology). A button to confirm, store and redir...
java|android
0
2016-04-28T10:18:11.823Z
2,016
4
10
3
52
2
1,036
120
2
0
false
false
false
false
false
false
zero
36,911,709
Cannot run program "aapt"
<p>I am trying to sign and zip align the android apk using terminal but I am getting following exception. </p> <pre><code>java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.comarch.ce...
I am trying to sign and zip align the android apk using terminal but I am getting following exception. [CODE] I tried to find but not understand why I am getting this error.
android|apk|aapt|zipalign
0
2016-04-28T10:18:59.980Z
2,016
4
10
3
1,684
1
173
25
4
1
true
false
false
false
false
false
zero
36,911,727
how to handel httpParamSerializerJQLike using JAVA JSON Restfull WebService
<p>There are two plateform one is client <code>Android App</code> that POST JSON data using <code>httpParamSerializerJQLike</code> and other one is <strong>JAVA JSON Restfull WebService</strong> that store JSON data in MySQL database</p> <p>The problem is that when client POST JSON data like <code>{"publisher":{"numbe...
There are two plateform one is client Android App that POST JSON data using httpParamSerializerJQLike and other one is JAVA JSON Restfull WebService that store JSON data in MySQL database The problem is that when client POST JSON data like {"publisher":{"number":"25364"}} then httpParamSerializerJQLike convert that to ...
java|android|angularjs|json|web-services
1
2016-04-28T10:19:58.530Z
2,016
4
10
3
45
0
743
75
5
2
true
true
false
false
false
false
low
36,911,730
Unusual segmentation fault coming randomly cocos2dx android
<p>I am using cocos2dx v3.9 with ndk 10e with android 4.4.2 .I have created a layer and on that button is present . When button is pressed layer is removed from parent and clean up is performed and other task is performed. Crash is coming when button is pressed, mostly when tapped as soon as button appears. code on but...
I am using cocos2dx v3.9 with ndk 10e with android 4.4.2 .I have created a layer and on that button is present . When button is pressed layer is removed from parent and clean up is performed and other task is performed. Crash is coming when button is pressed, mostly when tapped as soon as button appears. code on button...
android|android-ndk|cocos2d-x|cocos2d-x-3.0
0
2016-04-28T10:20:08.117Z
2,016
4
10
3
153
0
373
59
4
2
true
true
false
false
false
false
zero
36,911,815
Unable to use Google analytics with another class extending application class?
<p>The problem is i had a code in which i am already extending application class now to solve the problem i used inheritance but even then my app is crashing. </p> <pre><code>public class PrepApplication extends AnalyticsApplication { /// // Constants /// public static final String TAG = "Prep-"; private static ...
The problem is i had a code in which i am already extending application class now to solve the problem i used inheritance but even then my app is crashing. [CODE] My other class is GA tracker class [CODE] } And My android manifests code is [CODE]
java|android|google-analytics
0
2016-04-28T10:23:07.433Z
2,016
4
10
3
40
1
246
78
3
3
true
false
false
false
false
false
zero
36,911,834
different URI scheme across different android version when trying to open a file
<p>I am trying to use my app to open a file from external storage. I am using Share via feature.</p> <p>my code Export</p> <pre><code>File filelocation = new File(sPath); Uri path = Uri.fromFile(filelocation); Intent emailIntent = new Intent(Intent.ACTION_SEND); emailIntent.setType("vnd.android.cursor.dir/email"); e...
I am trying to use my app to open a file from external storage. I am using Share via feature. my code Export [CODE] Import function [CODE] When i try to get the uri.getPath() i see difference in differnt devices versions. in Android 5.0 devicve : [CODE] in Android 6.0 device [CODE] I dont know why the URI scheme is dif...
java|android|android-intent
0
2016-04-28T10:24:04.267Z
2,016
4
10
3
258
1
428
80
3
4
true
false
false
false
false
false
zero
36,911,850
The Android Studio keep telling me that cannot find the file
<pre><code>@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_start); Button mBtn1 = (Button) findViewById(R.id.start_Quit_button); mBtn1.setOnClickListener(new View.OnClickListener() { @Override public voi...
[CODE] This is the code I have. As you can see that i want the second button to go to the next activity and save the text I get from the editText start_Next_button. And a save method to write the string into the file created. But the when I press the button on the AVD, android studio shows this: [CODE] BTW I use AVD ga...
java|android|ioexception
0
2016-04-28T10:24:49.620Z
2,016
4
10
3
105
3
350
60
3
2
true
false
false
false
false
false
zero
36,911,857
Single selection tag (Foursquare-CollectionPicker)
<p>I am trying to do single selection(selecting only one tag at a time) of tags using this <a href="https://github.com/anton46/Foursquare-CollectionPicker" rel="nofollow noreferrer">library</a> but this library does not support single selection at a time hence i tryed to use below solution :</p> <blockquote> <p>Scre...
I am trying to do single selection(selecting only one tag at a time) of tags using this library but this library does not support single selection at a time hence i tryed to use below solution : Screenshot : Step 1: Clear all selection [CODE] Step 2 : select a particular tag last clicked [CODE] But this does not work a...
android
1
2016-04-28T10:25:11.110Z
2,016
4
10
3
346
0
509
50
1
2
true
true
false
false
false
false
low
36,911,862
App inventor 2 using TinyDB to store value
<p>I am creating an android app using <strong>App Inventor 2</strong>, i want to create a Q&amp;A game that can store players' marks using <code>TinyDB</code>.</p> <p>I have 4 screens<br> - Home Screen<br> - Q&amp;A screen - Game over<br> - Player name input<br> - Leaderboard</p> <p>After the player has lost the gam...
I am creating an android app using App Inventor 2 , i want to create a Q&A game that can store players' marks using TinyDB . I have 4 screens - Home Screen - Q&A screen - Game over - Player name input - Leaderboard After the player has lost the game, then the game will show their marks, and require players to input the...
android|app-inventor
1
2016-04-28T10:25:17.567Z
2,016
4
10
3
2,582
1
918
42
2
0
false
false
false
false
false
false
low
36,912,019
How to set delay in draw line using canvas
<p>am new to android platform and try to draw line with delay for each pixel. But when the execute the code they not delay each pixel they are going to display after full loop executing i don't know why to do like this. i need to some delay each pixel, i mean draw pixel to pixel in live view. it's possible please sugge...
am new to android platform and try to draw line with delay for each pixel. But when the execute the code they not delay each pixel they are going to display after full loop executing i don't know why to do like this. i need to some delay each pixel, i mean draw pixel to pixel in live view. it's possible please suggest ...
java|android|canvas|android-canvas|paint
0
2016-04-28T10:31:43.470Z
2,016
4
10
3
813
1
375
42
5
1
true
false
false
false
false
false
zero
36,912,086
Android Studio - How does a library project used in an app follow with the app-release.apk
<p>I'm using a library (<a href="https://github.com/PhilJay/MPAndroidChart" rel="nofollow">https://github.com/PhilJay/MPAndroidChart</a>) for plotting data in an android app. When app-release.apk is created by the program it is ready to be installed on the tablet I use for testing. </p> <p>What is puzzling to me is ho...
I'm using a library ( https://github.com/PhilJay/MPAndroidChart ) for plotting data in an android app. When app-release.apk is created by the program it is ready to be installed on the tablet I use for testing. What is puzzling to me is how the parts of the library, which i use, follow with the release. In other scenar...
java|android|android-studio|dll|libraries
0
2016-04-28T10:34:30.507Z
2,016
4
10
3
71
1
914
90
5
0
false
false
false
false
false
false
zero
36,912,111
how to store a file in android sqlite database
<p>i want to save a file in a sqlite android database , first of all i choose the file by a folder explorer that i already made it now im stuck how to save this file in the database and display it in another activity like a menu of files.</p> <pre><code> &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/r...
i want to save a file in a sqlite android database , first of all i choose the file by a folder explorer that i already made it now im stuck how to save this file in the database and display it in another activity like a menu of files. [CODE]
android|sqlite|android-sqlite
-1
2016-04-28T10:35:28.370Z
2,016
4
10
3
147
1
242
46
3
1
true
false
false
false
false
true
negative
36,912,112
outofmemory exception for Large Bitmap
<p>I found a lot of documentation on how to load large Bitmaps and avoid outofmemory exception. but the problem is that I have to take the image from my MediaStore.Images.media so the classical <code>decodeFile(path,options)</code> indicated in the google documentation does not work to me</p> <p>As you can see below...
I found a lot of documentation on how to load large Bitmaps and avoid outofmemory exception. but the problem is that I have to take the image from my MediaStore.Images.media so the classical decodeFile(path,options) indicated in the google documentation does not work to me As you can see below I decommented the line //...
android|bitmap|out-of-memory|android-camera|android-bitmap
1
2016-04-28T10:35:31.213Z
2,016
4
10
3
774
2
1,005
38
5
1
true
false
false
false
false
false
low
36,912,180
Time not getting converted into unix time properly
<p>I am trying to retrieve a bunch of values from my database based on values between time1 and time2. So for that I am passing time1 as a paramater (in unix time) and then calculating time2 by extracting the dd-MM-yyyy and adding that to 00:01. Essentially it is, time1-(12AM from time1). For some reason, the conversio...
I am trying to retrieve a bunch of values from my database based on values between time1 and time2. So for that I am passing time1 as a paramater (in unix time) and then calculating time2 by extracting the dd-MM-yyyy and adding that to 00:01. Essentially it is, time1-(12AM from time1). For some reason, the conversion f...
java|android|unix|time
1
2016-04-28T10:38:45.303Z
2,016
4
10
3
33
0
514
50
4
1
true
true
false
false
false
false
low
36,912,247
Firebase Android Trying to push child, and then a child below that
<p>Confusing title, I know, but not quite shure how to explain. Will do my best here.</p> <p>What I am trying to accomplish is that when user clicks a button, the text from one field is pushed to firebase, then the text from the next field is pushed below that.</p> <p>Something like this:</p> <p>-"UID"--"Scripttitle...
Confusing title, I know, but not quite shure how to explain. Will do my best here. What I am trying to accomplish is that when user clicks a button, the text from one field is pushed to firebase, then the text from the next field is pushed below that. Something like this: -"UID"--"Scripttitle"--"ScriptURL" Here is the ...
android|firebase
0
2016-04-28T10:41:20.777Z
2,016
4
10
3
316
2
520
66
2
2
true
false
false
false
false
false
zero
36,912,262
how to load image from url in file json inside listview?
<p>I have problem read image url from file json and display image in listview. I don't know how to use <strong>Universal Image Loader</strong> put in hashmap.This my code:</p> <p><strong>File Json:</strong> { "profile_pic": "<a href="https://my2-cdn.pgimgs.com/agent/432446/APHO.84210479.V120B.jpg" rel="nofoll...
I have problem read image url from file json and display image in listview. I don't know how to use Universal Image Loader put in hashmap.This my code: File Json: { "profile_pic": " https://my2-cdn.pgimgs.com/agent/432446/APHO.84210479.V120B.jpg ", "agent_name": "whis lew", "agent_city": "19", "agent_company": "Novalan...
android|listview
-1
2016-04-28T10:41:59.890Z
2,016
4
10
3
329
1
671
56
2
2
true
false
false
false
false
true
negative
36,912,325
Why do we use the TaskStackBuilder?
<p>Why do we use the <code>TaskStackBuilder</code> when creating a notification? I do not get the logic behind it.</p> <p>Can someone please explain. </p> <pre><code>public void showText(final String text){ Intent intent = new Intent (this, MainActivity.class); TaskStackBuilder stackBuilder = TaskStackBuilder...
Why do we use the TaskStackBuilder when creating a notification? I do not get the logic behind it. Can someone please explain. [CODE]
android|android-notifications|taskstackbuilder
46
2016-04-28T10:44:09.947Z
2,016
4
10
3
23,037
6
133
35
3
1
true
false
true
true
true
false
high
36,912,395
Fragment field is null after rotation
<p>I have fragment, where I call custom view-class (Dragger)</p> <pre><code>public class CanvasFragment extends Fragment { private Dragger dragger; public CanvasFragment() { } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setRetai...
I have fragment, where I call custom view-class (Dragger) [CODE] and I have another fragment with RecyclerView and adapter, in which I call CanvasFragment's method addIconToCanvas() through the host Activity of CanvasFragment . [CODE] I found that after rotation dragger in CanvasFragment gets new reference, but when I ...
android|android-fragments|nullpointerexception|rotation|fragment
3
2016-04-28T10:47:47.160Z
2,016
4
10
3
3,681
3
536
37
5
3
true
false
true
false
false
false
low
36,912,422
How to convert Activity with ListView to Fragment?
<p>I created a <code>ListView</code> with an <code>Activity</code>; but I need to create a <code>ListView</code> with a <code>Fragment</code>.</p> <p>Here is a screenshot of my <code>Activity</code>:</p> <p><a href="https://i.stack.imgur.com/coa9F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/coa...
I created a ListView with an Activity ; but I need to create a ListView with a Fragment . Here is a screenshot of my Activity : And this is the corresponding code: [CODE] MAIN.XML: [CODE] SINGLE_LISTVIEW_ITEM XML: [CODE]
android|listview|android-fragments|android-studio
-3
2016-04-28T10:49:08.900Z
2,016
4
10
3
323
3
220
50
4
3
true
false
false
false
false
true
negative
36,912,445
"Duplicate resources" when adding resources with a res generating task
<p>I have my own Gradle plugin where I'd like to add a task which would take launcher icons from <code>main</code> folder and output icons for each build type/flavor folder tinted with different colors depending on user's extension configuration. </p> <p>I've added the task for application variant: </p> <pre><code>va...
I have my own Gradle plugin where I'd like to add a task which would take launcher icons from main folder and output icons for each build type/flavor folder tinted with different colors depending on user's extension configuration. I've added the task for application variant: [CODE] Then in the task I perform the operat...
android|android-gradle-plugin|gradle-plugin
2
2016-04-28T10:49:49.730Z
2,016
4
10
3
1,462
1
1,456
70
3
3
true
false
false
false
false
false
low
36,912,534
How do I use dexOption in the experimental Gradle plugin?
<p>I am getting an <em>OutOfMemory</em> error while building my code. I tried adding the <code>dexOption</code> in my experimental <em>build.gradle</em> file like so:</p> <pre><code>model { def signConf = new String() android { compileSdkVersion = COMPILE_SDK_VERSION as int buildToolsVersion ...
I am getting an OutOfMemory error while building my code. I tried adding the dexOption in my experimental build.gradle file like so: [CODE] With the dexOption I get the following error: [CODE] How can I add the dexOption while compiling with the experimental Gradle plugin?
android|gradle|android-gradle-plugin
0
2016-04-28T10:53:33.980Z
2,016
4
10
3
705
1
273
57
3
2
true
false
false
false
false
false
zero
36,912,560
Infinitive RecyclerView doesn't work for me
<p>I know that this question was asked many times before, but i'm confused why sometimes the data is loaded and sometimes data isn't loaded once i get to the end of list. Also when i go fast scrolling through the list, and the new data has been loaded, but immediately it returns me to the first item in list and remove ...
I know that this question was asked many times before, but i'm confused why sometimes the data is loaded and sometimes data isn't loaded once i get to the end of list. Also when i go fast scrolling through the list, and the new data has been loaded, but immediately it returns me to the first item in list and remove all...
android
5
2016-04-28T10:54:53.730Z
2,016
4
10
3
541
4
1,417
43
1
5
true
false
false
false
false
false
low
36,912,584
set ColorFilter for button
<p>I want to set ColorFilter for Button background. Here is what I have done:</p> <pre><code>Drawable buttonBackground = ContextCompat.getDrawable(this, R.drawable.shape_rect_stroke); buttonBackground.setColorFilter(ContextCompat.getColor(this, R.color .colorPrimary), PorterDuff.Mode.ADD); btnSignIn.se...
I want to set ColorFilter for Button background. Here is what I have done: [CODE] shape_rect_stroke.xml [CODE] By doing this, I am getting, But i want this: My xml file is working fine but i want to change the stroke color pragmatically, leaving solid color as transparent. so i can use same xml for different color butt...
android|android-layout|android-drawable
0
2016-04-28T10:55:47.150Z
2,016
4
10
3
1,177
5
382
26
3
2
true
false
false
false
false
false
zero
36,912,602
TextInputLayout not showing error message after clearing
<p>I am using TextInputLayout from com.android.support:design:23.3.0 </p> <p>When I first apply an error it is shown correctly.</p> <pre><code>mInputPassword.setError(getString(R.string.error_invalid_password)); mInputEmail.setError(getString(R.string.error_field_required)); </code></pre> <p><a href="https://i.stack...
I am using TextInputLayout from com.android.support:design:23.3.0 When I first apply an error it is shown correctly. [CODE] On the next login attempt I clear the error. [CODE] Then I run the validation and set the error again using the same code as above but this time the red line is applied but the error text is missi...
android|user-interface|android-textinputlayout
9
2016-04-28T10:56:20.370Z
2,016
4
10
3
5,801
2
572
56
3
2
true
false
true
false
false
false
medium
36,912,654
Checkbox align right
<p>How can I have my checkbox aligned on the right and have the checkbox symbol after the text? I am targeting API 15 and above </p> <pre><code>&lt;LinearLayout android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/lin...
How can I have my checkbox aligned on the right and have the checkbox symbol after the text? I am targeting API 15 and above [CODE]
java|android|xamarin.android|android-checkbox
0
2016-04-28T10:58:15.257Z
2,016
4
10
3
155
4
131
20
4
1
true
false
false
false
false
false
zero
36,912,755
Get SharedPreferences within another class
<p>I'm trying to access <code>SharedPreferences</code> from <code>LegalProsecution.java</code>, I ran into some errors about it not being in the same class, so I tried this in another class, <code>AppPreference.java</code>.</p> <p>Here is the code:</p> <pre><code>import android.content.Context; import android.content.S...
I'm trying to access SharedPreferences from LegalProsecution.java , I ran into some errors about it not being in the same class, so I tried this in another class, AppPreference.java . Here is the code: [CODE] This part of the app looks good (no errors), so I got back to LegalProsecution.java . However, when I try to ca...
java|android
0
2016-04-28T11:02:55.313Z
2,016
4
11
3
1,321
1
490
42
2
2
true
false
false
false
false
false
zero
36,912,840
Retrieve Java Object from Firebase
<p>I managed to get the object with this code:</p> <pre><code>public void retrieveUser(final String email){ firebaseUsersRef.addValueEventListener(new ValueEventListener() { @Override public void onDataChange(DataSnapshot dataSnapshot) { for (DataSnapshot messageSnapshot...
I managed to get the object with this code: [CODE] (Please note retrievedUser is a class attribute, thus a field.) I am accessing that field from the code, but even I see it takes the value on the debugger, it is being null on the calling code. Any hint? Can´t I just return it in the method itself, so it would be?: [CO...
java|android|firebase
2
2016-04-28T11:07:35.743Z
2,016
4
11
3
4,074
2
386
34
3
2
true
false
true
false
false
false
low
36,912,856
java.lang.NoClassDefFoundError Android Studio Unity
<p>I'm having some troubles when I try to generate a library that contains another one in Android Studio. First of all I am using Android Studio 2.0 and Unity 5.3.4f1. What I want to do is integrate FFMpeg in Unity so I decided to create my own library that use FFMpeg library as an intermediary. The FFMpeg library is <...
I'm having some troubles when I try to generate a library that contains another one in Android Studio. First of all I am using Android Studio 2.0 and Unity 5.3.4f1. What I want to do is integrate FFMpeg in Unity so I decided to create my own library that use FFMpeg library as an intermediary. The FFMpeg library is here...
java|c#|android-studio|unity3d|ffmpeg
1
2016-04-28T11:08:21.260Z
2,016
4
11
3
1,758
1
1,878
51
5
8
true
false
false
false
false
false
low
36,912,940
Cannot resolve constructor ArrayAdapter in onPostExecute in AsyncTask
<p>I know this may sound like a repeated question but i have tried all of the solutions nothing works.It displays the error "Cannot resolve constructor ArrayAdapter" I have listview in Mainactivity which i have passed to second activity where i am searching a remote db and displaying results in listview. Take a look..T...
I know this may sound like a repeated question but i have tried all of the solutions nothing works.It displays the error "Cannot resolve constructor ArrayAdapter" I have listview in Mainactivity which i have passed to second activity where i am searching a remote db and displaying results in listview. Take a look..Than...
android|listview|android-asynctask|android-arrayadapter
-1
2016-04-28T11:12:27.857Z
2,016
4
11
3
691
2
380
69
4
2
true
false
false
false
false
true
negative
36,912,986
Handle ui click on android - unity
<p>I created an unity scene with some ui images. I try to handle click on them. My ui images are : </p> <p><a href="https://i.stack.imgur.com/2mHhA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2mHhA.png" alt="enter image description here"></a></p> <p>I attach box 2d collider to ui images. I acti...
I created an unity scene with some ui images. I try to handle click on them. My ui images are : I attach box 2d collider to ui images. I activate Allow Activation on Mobile Device on EventSystem inspector. Each ui images has a script file. The content of the files : [CODE] This code changes material only first click on...
android|canvas|unity3d
0
2016-04-28T11:14:19.197Z
2,016
4
11
3
611
2
496
34
3
1
true
false
false
false
false
false
zero
36,913,005
Compare two dates. Sqlite
<p>I have a sqlite database which has table of tasks which has a column of dueDates. I want to filter out the dates greater than tomorrow's date. So if tomorrow's date is 29 th april I should get the dates later than tomorrow.</p> <p>For this I have converted string into date. The format is : </p> <pre><code> ...
I have a sqlite database which has table of tasks which has a column of dueDates. I want to filter out the dates greater than tomorrow's date. So if tomorrow's date is 29 th april I should get the dates later than tomorrow. For this I have converted string into date. The format is : [CODE] and the query is: [CODE] but ...
android|database|sqlite|date|datetime
0
2016-04-28T11:14:54.173Z
2,016
4
11
3
1,464
3
558
25
5
4
true
false
false
false
false
false
zero
36,913,037
How to fix a Popup window on the screen
<p>Hi in my application I want to change the look and feel of the caller screen of the device, now (I may be wrong) the only way to do that is to call a popup window over the default android caller screen because you cannot change it.</p> <p>My popup window comes up when the user hit dial but then it is replaced by th...
Hi in my application I want to change the look and feel of the caller screen of the device, now (I may be wrong) the only way to do that is to call a popup window over the default android caller screen because you cannot change it. My popup window comes up when the user hit dial but then it is replaced by the default c...
java|android|android-studio|popup
0
2016-04-28T11:16:34.500Z
2,016
4
11
3
370
0
504
39
4
1
true
true
false
false
false
false
zero
36,913,316
Re-run application sq lite database deleted in cordova
<p>I am working in cordova. I created one database and table in it. It's work perfectly. But When I run application again database is not exist. It was deleted. I am using sqlite plugin <a href="https://github.com/storesafe/cordova-sqlite-storage" rel="nofollow noreferrer">https://github.com/litehelpers/Cordova-sqlite...
I am working in cordova. I created one database and table in it. It's work perfectly. But When I run application again database is not exist. It was deleted. I am using sqlite plugin https://github.com/litehelpers/Cordova-sqlite-storage Please help me. I wasted my lots of time for that didn't get any solution. My code ...
android|sqlite|cordova|cordova-plugins
0
2016-04-28T11:30:26.820Z
2,016
4
11
3
55
1
346
54
4
1
true
false
false
false
false
false
zero
36,913,452
Android layout_weight confusion (three elements, one should grow to fill the screen)
<p>I would like to achieve the following layout:</p> <p><a href="https://i.stack.imgur.com/e9Yaz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e9Yaz.png" alt="enter image description here"></a></p> <p>ListView LV1 should wrap its content and stay at the top. LinearLayout LL3 should wrap its conte...
I would like to achieve the following layout: ListView LV1 should wrap its content and stay at the top. LinearLayout LL3 should wrap its content and stay at the bottom. ListView LV2 should fill the remaining screen. It is working fine as long as LV2 has enough entries to fill the screen. But when LV2 only contains for ...
android|listview|android-layout-weight
0
2016-04-28T11:35:24.463Z
2,016
4
11
3
323
4
544
84
3
1
true
false
false
false
false
false
zero
36,913,553
Disable Android home button
<p>I'm implementing lock screen apps, user required to key in passcode and unlock the device for some duration.</p> <p>I test in Samsung Note 3 and xiaomi redmi 1.</p> <p>All the physical buttons in Note 3 has been locked, but somehow I cannot disable xiaomi redmi 1's home button. **The home button will run onPause e...
I'm implementing lock screen apps, user required to key in passcode and unlock the device for some duration. I test in Samsung Note 3 and xiaomi redmi 1. All the physical buttons in Note 3 has been locked, but somehow I cannot disable xiaomi redmi 1's home button. **The home button will run onPause event. I used the co...
android|android-studio|lockscreen
0
2016-04-28T11:39:19.537Z
2,016
4
11
3
1,892
2
440
27
3
2
true
false
false
false
false
false
zero
36,913,569
Samsung Galaxy J5 not saving or reading images
<p>I am facing a problem in Samsung Galaxy J5 device </p> <p>it always gives me an error can't save image when try to take image from camera, also when try to load image from URI I got an exception</p> <p>Here is example of the URII That I am trying to open </p> <pre><code>file:///storage/emulated/0/DCIM/Tango/image...
I am facing a problem in Samsung Galaxy J5 device it always gives me an error can't save image when try to take image from camera, also when try to load image from URI I got an exception Here is example of the URII That I am trying to open [CODE] and here is the exception that I got [CODE]
android
0
2016-04-28T11:40:08.727Z
2,016
4
11
3
749
1
290
46
1
2
true
false
false
false
false
false
zero
36,913,600
SSL handshake Exception on App browse from other countries
<p>My app is available for many countries. But there are few countries in which app do not work. it give SSL handshake exception and time out exception. This happens only for few countries like Saudi Arabia, Bahrain, Vatican city etc.</p> <pre><code>W/System.err: javax.net.ssl.SSLException: Connection closed by peer ...
My app is available for many countries. But there are few countries in which app do not work. it give SSL handshake exception and time out exception. This happens only for few countries like Saudi Arabia, Bahrain, Vatican city etc. [CODE] My Java Api client code [CODE] Do anyone has any idea why this is happening. I al...
java|android|ssl
4
2016-04-28T11:41:38.417Z
2,016
4
11
3
194
0
480
58
3
2
true
true
false
false
false
false
low
36,913,628
How to set Typeface on ListView which has an ArrayList placed through ArrayAdapter
<p>I want to set the typeface to the listview in the following code. All the related files are attached.</p> <p>SearchClient.java</p> <pre><code>Toolbar mToolbar; EditText search; ListView listView; ArrayAdapter&lt;String&gt; adapter; ArrayList&lt;HashMap&lt;String, String&gt;&gt; productList; Typeface typeface; Data...
I want to set the typeface to the listview in the following code. All the related files are attached. SearchClient.java [CODE] activity_search_client.xml [CODE] search_list_item.xml [CODE] And thanks a lot in advance for help!!
android|listview|arraylist|android-arrayadapter|typeface
1
2016-04-28T11:43:03.070Z
2,016
4
11
3
427
3
227
82
5
3
true
false
false
false
false
false
low
36,913,633
Bypass SSL Warning from google play
<p>I use JSOUP to connect to <strong>many</strong> https website. I use method Jsoup.connect(url) ,but it throw exception: </p> <pre><code>javax.net.ssl.SSLHandshakeException: Certificate not valid or trusted. </code></pre> <p>So I use this code to trust all cert ssl:</p> <pre><code>public static void enableSSLSock...
I use JSOUP to connect to many https website. I use method Jsoup.connect(url) ,but it throw exception: [CODE] So I use this code to trust all cert ssl: [CODE] But sice I use code above there is goole warning on play store. Your app is using an unsafe implementation of the X509TrustManager interface with an Apache HTTP ...
android|ssl|jsoup
2
2016-04-28T11:43:14.610Z
2,016
4
11
3
900
1
675
35
3
3
true
false
false
false
false
false
low
36,913,726
Android Studio Webview with Custom CSS (jsoup)
<p>I want to load <strong>facebook.com</strong> in a webview with custom CSS to change a few things. I use jsoup but everytime i start the app it crashes.</p> <p><strong>Here is my code:</strong> </p> <pre><code>@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
I want to load facebook.com in a webview with custom CSS to change a few things. I use jsoup but everytime i start the app it crashes. Here is my code: [CODE] Logcat output FATAL EXCEPTION: main Process: com.example.name.firstapp, PID: 23936 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example...
android|css|webview|jsoup
1
2016-04-28T11:47:06.480Z
2,016
4
11
3
453
1
3,584
46
4
1
true
false
false
false
false
false
low
36,913,996
how to get minutes difference between two time in android
<pre><code>public int difftime(String string, String string2) { int hours; int min = 0; int days; long difference ; try { SimpleDateFormat simpleDateFormat = new SimpleDateFormat("HH:mm"); Date date1 = simpleDateFormat.parse("08:00 AM"); Date d...
[CODE] This is my function to get time difference in the form of minutes but it give always zero. I don't know where i did mistake please tell me where am doing mistake. I want result in the form of minutes.
android|simpledateformat
2
2016-04-28T11:59:11.407Z
2,016
4
11
3
7,514
5
207
57
2
1
true
false
true
false
false
false
low
36,914,025
Generating encrypted fingerprint Key using fingerprint scanner in android
<p>I am developing an app in which i need to scan fingerprint through inbuilt fingerprint scanner in an android device. From that fingerprint i need to generate an encrypted key that can be stored in the form of string in database. following is the code I tried:</p> <pre><code> package com.ebookfrenzy.generatekey; ...
I am developing an app in which i need to scan fingerprint through inbuilt fingerprint scanner in an android device. From that fingerprint i need to generate an encrypted key that can be stored in the form of string in database. following is the code I tried: [CODE] }
android
1
2016-04-28T12:00:41.897Z
2,016
4
12
3
540
0
268
73
1
1
true
true
false
false
false
false
low
36,914,088
Can't read my second JSON ANDROID
<p>firstly thank for helping me ! </p> <p>I want to do a MCQ in my android project, i can load the question but i can't load one choice. To succesfully load one of my choice, i have to comment my :</p> <pre><code>echo json_encode(array("lesQuestions"=&gt;$lesQuestions)); </code></pre> <p>in my php.</p> <p>To me, i ...
firstly thank for helping me ! I want to do a MCQ in my android project, i can load the question but i can't load one choice. To succesfully load one of my choice, i have to comment my : [CODE] in my php. To me, i can't acces my second JSON return from my php and i don't know why ! Here is my JSON return : [CODE] Here ...
php|android|json
0
2016-04-28T12:03:23.977Z
2,016
4
12
3
37
0
488
33
3
4
true
true
false
false
false
false
zero
36,914,113
Attempt to invoke virtual method 'void android.os.Bundle.putString(java.lang.String, java.lang.String)' on a null object reference
<p>I am creating a health based nav drawer application in Android Studio, and want to use the google drive to store some user details. I have been through the rigmarole of setting the application up to connect to the drive api and have used the google exemplars to write out to the application folder. I wish to place th...
I am creating a health based nav drawer application in Android Studio, and want to use the google drive to store some user details. I have been through the rigmarole of setting the application up to connect to the drive api and have used the google exemplars to write out to the application folder. I wish to place the i...
android|nullpointerexception
1
2016-04-28T12:04:49.190Z
2,016
4
12
3
5,785
1
584
130
2
4
true
false
true
false
false
false
low