id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
37,106,524
FindContours and CountObject in Binary Image
<p>Somebody can help me to solve it ? I have a binary image which i procced with Watershed Segmentation, My Problem is, how to findContours and CountObject in image ? </p> <pre><code>@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resu...
Somebody can help me to solve it ? I have a binary image which i procced with Watershed Segmentation, My Problem is, how to findContours and CountObject in image ? [CODE]
android|opencv|image-processing|watershed
3
2016-05-09T01:07:23.673Z
2,016
5
1
0
299
1
170
44
4
1
true
false
false
false
false
false
low
37,106,641
Error code 401 trying to reach Twitter endpoint using OkHttp on Android
<p>I'm writing a test program to learn to use OkHttp an Scribe. I have managed to use Scribe to retrieve my token and token secret. I of course already have the consumer key and consumer secret. Now I'm trying to reach a Twitter endpoint. I'm getting error code 401 which I know means I'm not authenticating my reques...
I'm writing a test program to learn to use OkHttp an Scribe. I have managed to use Scribe to retrieve my token and token secret. I of course already have the consumer key and consumer secret. Now I'm trying to reach a Twitter endpoint. I'm getting error code 401 which I know means I'm not authenticating my request prop...
android|twitter|oauth|okhttp
0
2016-05-09T01:24:38.737Z
2,016
5
1
0
2,050
1
692
71
4
2
true
false
false
false
false
false
zero
37,106,853
Parse nested JSON response from LinkedIn
<p>I have been trying different things all day, but I still can't parse this JSON response. I successfully got a response from LinkedIn (I know, because I logged it), and now I'm trying to extract values from it, but the code I am using is creating an error saying there is no value of <code>firstName</code>. My 2nd log...
I have been trying different things all day, but I still can't parse this JSON response. I successfully got a response from LinkedIn (I know, because I logged it), and now I'm trying to extract values from it, but the code I am using is creating an error saying there is no value of firstName . My 2nd log statement won'...
android|json|linkedin-api
1
2016-05-09T02:03:36.020Z
2,016
5
2
0
533
1
527
40
3
3
true
false
false
false
false
false
low
37,106,855
In JNI,Blowfish in C++ cannot encrypt/decrypt correctly
<p>I tried to <strong>migrate</strong> the <strong>Blowfish algorithm</strong> to the <strong>Android Native</strong> which is implement on C++. <br> But there are some confusing for me! <br> I get <strong>everything OK when ecrypting</strong>, but it <strong>can not</strong> get a <strong>correctly</strong> <strong>de...
I tried to migrate the Blowfish algorithm to the Android Native which is implement on C++. But there are some confusing for me! I get everything OK when ecrypting , but it can not get a correctly decryption . Following the code: I do this in the JNI: [CODE] I got the results like that: Before encryption: [CODE] While e...
android|c++|encryption
0
2016-05-09T02:03:58.797Z
2,016
5
2
0
214
0
554
55
3
4
true
true
false
false
false
false
zero
37,106,867
Communication between fragments in a fragment
<p>I have two fragments (ProductDisplayFragment and PaymentFragment) that communicate with each other in a fragment of NavigationActivity. ProductDisplayFragment displays list of products where user tap to add products into the ListView of PaymentFragment.</p> <p>Everytime the user taps a product in GridView under Pro...
I have two fragments (ProductDisplayFragment and PaymentFragment) that communicate with each other in a fragment of NavigationActivity. ProductDisplayFragment displays list of products where user tap to add products into the ListView of PaymentFragment. Everytime the user taps a product in GridView under ProductDisplay...
java|android|listview|android-fragments
0
2016-05-09T02:05:32.017Z
2,016
5
2
0
37
0
856
45
4
4
true
true
false
false
false
false
zero
37,106,886
layout xml does not run
<p>I'm not sure why when I run my emulator, everything in my Layout XML doesn't appear but the emulator only shows everything that is in my Menu Xml. Hope someone can help. Thank you</p> <p>(Using Android Studio)</p> <p>The layout xml is:</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;androi...
I'm not sure why when I run my emulator, everything in my Layout XML doesn't appear but the emulator only shows everything that is in my Menu Xml. Hope someone can help. Thank you (Using Android Studio) The layout xml is: [CODE] and menu xml is: [CODE] [CODE]
android-layout|android-studio
-1
2016-05-09T02:09:58.873Z
2,016
5
2
0
46
1
259
23
2
3
true
false
false
false
false
true
negative
37,106,902
Automatically click Button if EditText is correct
<p>I am creating a simple app, I require a button called <strong>'bVoice'</strong> to be automatically pressed after 500ms if the EditText field contains the correct information.</p> <p>How do I write the handler to do this in the following code:</p> <pre><code>//Assign button clicks to got to a new activity: public...
I am creating a simple app, I require a button called 'bVoice' to be automatically pressed after 500ms if the EditText field contains the correct information. How do I write the handler to do this in the following code: [CODE] Below is the full code I have got thus far (Updated): [CODE] UPDATED text with onResume at th...
android|android-studio|android-intent|android-edittext|android-handler
4
2016-05-09T02:12:19.107Z
2,016
5
2
0
2,012
1
344
49
5
3
true
false
false
false
false
false
low
37,106,906
java.lang.IllegalAccessError:Class ref in pre-verified class resolved to unexpected implementation
<p>My english is not good, I hope you will help me, thank you all</p> <p>The current project is built on android studio,But I ran into a problem 65536</p> <p>I try to use google's multidex resolution, compile without any problems, but an error in the run Times</p> <p>This error is <a href="http://i.stack.imgur.com/r...
My english is not good, I hope you will help me, thank you all The current project is built on android studio,But I ran into a problem 65536 I try to use google's multidex resolution, compile without any problems, but an error in the run Times This error is Error caused by reflection This is the main module build.gradl...
java|android
1
2016-05-09T02:12:50.140Z
2,016
5
2
0
448
0
528
98
2
3
true
true
false
false
false
false
low
37,106,957
HTML Bootstrap Submit button not working on android devices
<p>I have a web app that's doing a mailto action on a click action. It seems to work on all platforms, except for android in chrome. It even works in the developer console (desktop) with android devices. The button is clickable, but no actions occur on android devices. Thoughts? Thanks!</p> <pre><code>&lt;form ro...
I have a web app that's doing a mailto action on a click action. It seems to work on all platforms, except for android in chrome. It even works in the developer console (desktop) with android devices. The button is clickable, but no actions occur on android devices. Thoughts? Thanks! [CODE]
android|html|twitter-bootstrap|form-submit
0
2016-05-09T02:22:08.207Z
2,016
5
2
0
267
0
291
59
4
1
true
true
false
false
false
false
zero
37,107,080
How to compile the Android runtime (ART) from source
<p>I am trying to compile the Android runtime using the Android NDK. First I cloned the repository and switched to the <code>marshmallow-cts-release</code> branch. Then when running <code>ndk-build</code> I get</p> <pre class="lang-sh prettyprint-override"><code>suici@HP-Pavilion-g7:~/art$ ndk-build Android NDK: Could...
I am trying to compile the Android runtime using the Android NDK. First I cloned the repository and switched to the marshmallow-cts-release branch. Then when running ndk-build I get [CODE] How do I compile this ? Do I need the entire Android source tree ? Or am I doing something wrong ? The repository contains the Andr...
java|android|git|android-ndk
2
2016-05-09T02:40:58.933Z
2,016
5
2
0
2,506
1
619
52
4
5
true
false
false
false
false
false
low
37,107,118
Have Button Check the State of CheckBoxes
<p>I would like to get my button (bConnect) to check the state of my licensed and authorized checkbox.</p> <p>Allowing me to use an If / Else statement to open a new activity if the boxes are indeed checked, otherwise open an alert dialog and tell the user they are not authorized unless those checkboxes are checked.</...
I would like to get my button (bConnect) to check the state of my licensed and authorized checkbox. Allowing me to use an If / Else statement to open a new activity if the boxes are indeed checked, otherwise open an alert dialog and tell the user they are not authorized unless those checkboxes are checked. [CODE]
java|android|button|checkbox
-2
2016-05-09T02:47:50.437Z
2,016
5
2
0
47
2
314
41
4
1
true
false
false
false
false
true
negative
37,107,124
Android ListView in dialog gets the first 10 element 20+ times when constructed?
<p>I have this constructor in a class that extends AlertDialog.Builder</p> <pre><code>public CustomDialogBuilder(/*Irrelvant args*/) { super(context, R.style.AppTheme_Theme_Dialog_Alert); //...irrelevant init stuff setTitle("Name"); setPositiveButton("Ok", positiveClick); ...
I have this constructor in a class that extends AlertDialog.Builder [CODE] Inexplicably, this causes the following output from my getView overriden in CustomListAdapter. [CODE] 20 or more times. This is a massive bottleneck. It causes a solid 5+ seconds of lag when my Dialog is constructed. I can not optimize my getVie...
android|listview|dialog
0
2016-05-09T02:48:44.490Z
2,016
5
2
0
22
0
665
80
3
2
true
true
false
false
false
false
zero
37,107,138
LocalStorage not functioning on Android, works in Browser
<p>I am currently trying to create a Checklist (to-do) app with <strong>Ionic</strong> and <strong>AngularJS</strong> to run on an Android device.</p> <p>When I test my app in the browser via <code>ionic serve</code>, the data stores fine and comes back fine. However, when running on my Samsung Galaxy Note 5, the app ...
I am currently trying to create a Checklist (to-do) app with Ionic and AngularJS to run on an Android device. When I test my app in the browser via ionic serve , the data stores fine and comes back fine. However, when running on my Samsung Galaxy Note 5, the app does not seem to function when trying to store data. Here...
javascript|android|angularjs|ionic-framework|local-storage
0
2016-05-09T02:50:49.373Z
2,016
5
2
0
1,113
0
450
57
5
1
true
true
false
false
false
false
zero
37,107,158
Android: return to the previous Activity error
<p>I have and Menu Manager apps. The first <code>MainActivity</code> will call the <code>MenuActivity</code> The <code>MenuActivity</code> will call the <code>Add_New_DishActivity</code><br> The problem is, when in Menu I can return to Main by using System.exit(1) and finish()<br> However when I try to return from Add_...
I have and Menu Manager apps. The first MainActivity will call the MenuActivity The MenuActivity will call the Add_New_DishActivity The problem is, when in Menu I can return to Main by using System.exit(1) and finish() However when I try to return from Add_New_Dish to Menu, there is an error System.exit(1) and finish()...
android|android-studio
0
2016-05-09T02:54:13.430Z
2,016
5
2
0
163
0
671
46
2
4
true
true
false
false
false
false
zero
37,107,214
Set Title To Hidden on Android App
<p>In my android app, I want to hide the app name from the view, as shown in the image on the left, but if you expand away, the app name to be displayed, as shown in the picture in the right. However, my current way to show the left image is to set android:label="@string/roster", which is incorrect.</p> <p>The alterna...
In my android app, I want to hide the app name from the view, as shown in the image on the left, but if you expand away, the app name to be displayed, as shown in the picture in the right. However, my current way to show the left image is to set android:label="@string/roster", which is incorrect. The alternative is to ...
android|android-manifest
0
2016-05-09T03:03:06.480Z
2,016
5
3
0
313
2
1,020
34
2
2
true
false
false
false
false
false
zero
37,107,329
Populating a list view with from a Database
<p>So my question is I created a listview and populated it using a simple cursor adapter. So now when I click an item on my listview it takes me to another activity which suppose to show me the details of the item I clicked. What is the best approach on going about this? Here is my function of populating the list view....
So my question is I created a listview and populated it using a simple cursor adapter. So now when I click an item on my listview it takes me to another activity which suppose to show me the details of the item I clicked. What is the best approach on going about this? Here is my function of populating the list view. Wh...
android|sqlite|listview|simplecursoradapter
-1
2016-05-09T03:22:25.740Z
2,016
5
3
0
46
1
689
43
4
1
true
false
false
false
false
true
negative
37,107,345
Updating data in recyclerview
<p>I am working on a project where the user enters the data to database at runtime and the recyclerview should get the data from database.Initially the recyclerview would be empty until the user enters data.But the problem is when the user enters the first item the recyclerview is updating and showing the first item.bu...
I am working on a project where the user enters the data to database at runtime and the recyclerview should get the data from database.Initially the recyclerview would be empty until the user enters data.But the problem is when the user enters the first item the recyclerview is updating and showing the first item.but w...
android
0
2016-05-09T03:25:42.727Z
2,016
5
3
0
272
0
660
29
1
7
true
true
false
false
false
false
zero
37,107,415
App intro error java.lang.OutOfMemoryError
<p>When creating an android app intro there is a memory lag error and application stopped.</p> <pre><code>public class SampleSlide extends Fragment { private static final String ARG_LAYOUT_RES_ID = "layoutResId"; public static SampleSlide newInstance(int layoutResId) { SampleSlide sampleSlide = new S...
When creating an android app intro there is a memory lag error and application stopped. [CODE]
java|android
-2
2016-05-09T03:39:55.530Z
2,016
5
3
0
121
1
94
42
2
1
true
false
false
false
false
true
negative
37,107,507
How to add relative layout to relative layout with slide in effect?
<p>I have a relative layout in which i add a second relative layout which contains 4 buttons. when i do: <code> relativeLayout1.addView(relativeLayout2,params) </code> i want that the added relative layout with the 4 buttons slides in from right to left.</p> <p><a href="https://i.stack.imgur.com/qNHDk.png" rel="nofoll...
I have a relative layout in which i add a second relative layout which contains 4 buttons. when i do: relativeLayout1.addView(relativeLayout2,params) i want that the added relative layout with the 4 buttons slides in from right to left. Is that somehow possible? xml: <translate xmlns:android="http://schemas.android.com...
java|android|layout|android-relativelayout
0
2016-05-09T03:54:46.583Z
2,016
5
3
0
507
2
440
67
4
1
true
false
false
false
false
false
zero
37,107,579
restricting the number of switches that can be selected in android
<p>We are developing an android application. In one of the pages, we have 15 toggle switches. When the user toggles the switch(to ON), the Boolean values will be stored in shared preferences. When the user revisits the page after login, the toggle switches will be shown as per his previous selection. Now we would like ...
We are developing an android application. In one of the pages, we have 15 toggle switches. When the user toggles the switch(to ON), the Boolean values will be stored in shared preferences. When the user revisits the page after login, the toggle switches will be shown as per his previous selection. Now we would like to ...
android|android-sharedpreferences|toggleswitch
0
2016-05-09T04:04:01.583Z
2,016
5
4
0
84
2
495
66
3
2
true
false
false
false
false
false
zero
37,107,596
listView items to stay highlighted after being clicked
<p>I have a <code>ListView</code> that I want the clicked item to have a background color to indicate which item is currently selected. I have achieved that by specifying a selector field</p> <pre><code>&lt;ListView android:layout_width="0dp" android:layout_height="wrap_content" android:id="@+id/sub_argume...
I have a ListView that I want the clicked item to have a background color to indicate which item is currently selected. I have achieved that by specifying a selector field [CODE] And the list_selector.xml is: [CODE] I have added a ListView.onItemClickListener() : [CODE] This works fine and as expected as long as the va...
android|listview
2
2016-05-09T04:06:29.170Z
2,016
5
4
0
1,415
2
1,033
54
2
3
true
false
false
false
false
false
low
37,107,694
How to break a while loop in Kivy?
<p>Here I have a function runStuff that I would like to keep running the function saySomething() repeatedly but will exit upon the pressing of the exit button.</p> <p>It is currently running the while loop without allowing the input of the exit button.</p> <pre><code>def saySomething(): ttsSpeak('Say this phrase'...
Here I have a function runStuff that I would like to keep running the function saySomething() repeatedly but will exit upon the pressing of the exit button. It is currently running the while loop without allowing the input of the exit button. [CODE]
android|python-2.7|while-loop|kivy
1
2016-05-09T04:22:02.107Z
2,016
5
4
0
1,355
1
249
34
4
1
true
false
false
false
false
false
low
37,107,731
App crashes only on Android 5.0 with a VerifyError
<p>My app runs fine on every version except on 5.0. On that version every activity which has a bundle passing it some data crashes..</p> <p>Here is the logcat:</p> <pre><code>05-09 01:37:43.733 6371-6371/com.pttest.com.pockettankstips E/AndroidRuntime: FATAL EXCEPTION: main Process: com.pttest.com.pockettankstips, PI...
My app runs fine on every version except on 5.0. On that version every activity which has a bundle passing it some data crashes.. Here is the logcat: [CODE] Here is my code to open the Activity: [CODE] And how I receive the Bundle in the Activity I am about to open.. [CODE] In the Activities where I try to send an int ...
android|android-5.0-lollipop
4
2016-05-09T04:25:43.923Z
2,016
5
4
0
571
2
393
50
2
3
true
false
false
false
false
false
low
37,107,732
Open Facebook Page from Prefrence Screen
<p>I want to implement a Facebook page link on my settings screen. I have tried some code but its not working. How do I open a Facebook page in the Facebook application or in a Web browser?</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html ...
I want to implement a Facebook page link on my settings screen. I have tried some code but its not working. How do I open a Facebook page in the Facebook application or in a Web browser? [CODE] I am having three errors: 1. [CODE] Multiple markers at this line - Syntax error on token ")", ; expected - Syntax error on to...
java|android|facebook
2
2016-05-09T04:25:49.517Z
2,016
5
4
0
60
0
595
40
3
4
true
true
false
false
false
false
low
37,107,837
Add Product (Record) Not Working on Android Fragment
<p>I need some help regards to my add function in Android Fragment. I have no idea where I have done wrong... So sorry for my limited knowledge on Java...</p> <p>When I click the submit button, nothing is happened...I think something wrong starting at the onResponse method..</p> <p>These function suppose to add recor...
I need some help regards to my add function in Android Fragment. I have no idea where I have done wrong... So sorry for my limited knowledge on Java... When I click the submit button, nothing is happened...I think something wrong starting at the onResponse method.. These function suppose to add record that I have key-i...
java|android
0
2016-05-09T04:41:07.677Z
2,016
5
4
0
123
2
803
52
2
3
true
false
false
false
false
false
zero
37,107,894
How to prevent activity to be launched during each test using ActivityInstrumentationTestCase2
<p>I have a class that intends to test the app UI, however, each time that a new method annotated with <code>@Test</code> starts the activity is launched again - I would like to launch it once and performs the tests in the launched instance. Is there a way to do that?</p> <p>Test class example:</p> <pre><code>@RunWit...
I have a class that intends to test the app UI, however, each time that a new method annotated with @Test starts the activity is launched again - I would like to launch it once and performs the tests in the launched instance. Is there a way to do that? Test class example: [CODE]
android|unit-testing|testing
0
2016-05-09T04:48:09.137Z
2,016
5
4
0
61
1
279
94
3
1
true
false
false
false
false
false
zero
37,108,021
Cannot solve out of memory error when loading from gallery
<p>This problem doesn't occur on my phone because it has a ram of 2 gb but there are a lot of mobiles that have a ram of 1 gb and this problem occurs almost every time on such a mobile . Every time image in loaded from gallery and placed on an imageview it crash with an outofmemory error.</p> <p>This is my code . I ge...
This problem doesn't occur on my phone because it has a ram of 2 gb but there are a lot of mobiles that have a ram of 1 gb and this problem occurs almost every time on such a mobile . Every time image in loaded from gallery and placed on an imageview it crash with an outofmemory error. This is my code . I get the width...
android|memory
1
2016-05-09T05:03:09.947Z
2,016
5
5
0
52
0
681
58
2
1
true
true
false
false
false
false
low
37,108,044
Unstable Camera behaviour on Android
<p>I'm writing the camera application. I've started with using <code>android.hardware.Camera</code> and corresponded classes. But from time to time my application failed to connect to the camera. It depends on device model and Android version. But if application works on some device fine, after a day or two it start to...
I'm writing the camera application. I've started with using android.hardware.Camera and corresponded classes. But from time to time my application failed to connect to the camera. It depends on device model and Android version. But if application works on some device fine, after a day or two it start to failing. One mo...
android|camera|commonsware-cwac
0
2016-05-09T05:05:07.990Z
2,016
5
5
0
175
2
981
36
3
1
true
false
false
false
false
false
zero
37,108,082
Interface not worked from activity to currently loaded fragment
<p>I wanted to pass data from Activity to Currently loaded fragment on button click. For that i created Interface and define into activity and implement in interface but couldn't get response in fragment.</p> <p>I Needed output whenever button clicks fire in Activity.</p> <p>Here is my code. Please help me to resolve...
I wanted to pass data from Activity to Currently loaded fragment on button click. For that i created Interface and define into activity and implement in interface but couldn't get response in fragment. I Needed output whenever button clicks fire in Activity. Here is my code. Please help me to resolve this. Inteface [CO...
android|android-fragments|interface|android-fragmentactivity
0
2016-05-09T05:09:41.290Z
2,016
5
5
0
49
2
1,363
63
4
3
true
false
false
false
false
false
zero
37,108,088
how can I get path list folder Android and set in Int Array.
<p>I'm new in Android sorry.... </p> <p>I save any pictures in my App not SDCARD.</p> <p>I use this code for get path but this code return String Array, I need return Int Array for my class CustomSwipeAdpter, this class for Page View. </p> <pre><code> ContextWrapper cw = new ContextWrapper(getApplicationC...
I'm new in Android sorry.... I save any pictures in my App not SDCARD. I use this code for get path but this code return String Array, I need return Int Array for my class CustomSwipeAdpter, this class for Page View. [CODE] I will get this paths in this Class In Page View, this class is work with R.drawable.image01, i ...
java|android|arrays|android-studio|pageviews
0
2016-05-09T05:10:38.180Z
2,016
5
5
0
1,072
1
437
60
5
3
true
false
false
false
false
false
zero
37,108,239
Android - Soft keyboard not appearing during Espresso test
<p>I have Login screen , which contains email and password to be enter with submit button at the bottom.As per the requirement whenever soft keyboard is enabled , i am moving the submit button to top,i.e,showing submit button to the user above soft keyboard and below my email/password layout using the below code.</p> ...
I have Login screen , which contains email and password to be enter with submit button at the bottom.As per the requirement whenever soft keyboard is enabled , i am moving the submit button to top,i.e,showing submit button to the user above soft keyboard and below my email/password layout using the below code. [CODE] E...
android|user-interface|testing|android-softkeyboard|android-espresso
4
2016-05-09T05:25:53.140Z
2,016
5
5
0
1,845
2
950
58
5
3
true
false
false
false
false
false
low
37,108,549
JSON Exception in Android with PHP code in server side
<p>I am trying to make a basic register/login application in Android Studio. I am using php and a web server. I have two php files, Register.php and Login.php so I want to register a user and store the entered information in the mysql server. When I enter the information in the android app and press register button I g...
I am trying to make a basic register/login application in Android Studio. I am using php and a web server. I have two php files, Register.php and Login.php so I want to register a user and store the entered information in the mysql server. When I enter the information in the android app and press register button I get ...
php|android|mysql
2
2016-05-09T05:52:28.947Z
2,016
5
5
0
141
1
485
54
3
3
true
false
false
false
false
false
low
37,108,550
Can't Open Microphone Error when using an Activity
<p>I am creating an app that using google's api for converting speech to text. The following code works perfectly when I have it set as the main activity. However I am now creating a new app and have copy pasted the xml layout and java file as an activity called <code>display_1</code>. My issue now is when I navigat...
I am creating an app that using google's api for converting speech to text. The following code works perfectly when I have it set as the main activity. However I am now creating a new app and have copy pasted the xml layout and java file as an activity called display_1 . My issue now is when I navigate to this window t...
android|listview|android-studio|android-edittext|android-speech-api
1
2016-05-09T05:52:29.513Z
2,016
5
5
0
129
0
972
50
5
2
true
true
false
false
false
false
low
37,108,618
Could not find class 'android.graphics.drawable.RippleDrawable'
<p>I'm using a third party library, there is a method using <code>DrawableCompat.setTintMode(drawable, PorterDuff.Mode.SRC_IN);</code>. When I test my app in android 5.0+,there was no problem and worked well.But when it came to android 4.4.4, it threw an Exception:</p> <pre class="lang-java prettyprint-override"><code...
I'm using a third party library, there is a method using DrawableCompat.setTintMode(drawable, PorterDuff.Mode.SRC_IN); . When I test my app in android 5.0+,there was no problem and worked well.But when it came to android 4.4.4, it threw an Exception: [CODE] Except the stack trace above, I saw some error info printed in...
android|rippledrawable|support-v4
8
2016-05-09T05:57:34.067Z
2,016
5
5
0
36,543
2
638
63
3
4
true
false
true
true
false
false
medium
37,108,669
How to use same of placeholder as Image size using Picasso
<p>I am trying to put a placeholder of same size as Image to be render inside the ImageView using Picasso. Please help me regarding this.</p> <p>This is what I have done in my code</p> <pre><code>Transformation blurTransformation = new Transformation() { @Override public String key() { re...
I am trying to put a placeholder of same size as Image to be render inside the ImageView using Picasso. Please help me regarding this. This is what I have done in my code [CODE] Problem I am facing is I have drawable of size 225 * 225 and for all the size the placeholder image remains same. I want something like facebo...
android|picasso|placeholder
2
2016-05-09T06:00:30.787Z
2,016
5
6
0
1,047
1
403
58
3
1
true
false
false
false
false
false
low
37,108,687
(Android) How to convert a time raw string (with timezone) to another string format with the same timezone
<p>I have a time raw string, "2016-05-15T12:42:00.000-04:00" and I want to convert the string to "Wed 15 May 2016 12:42", which keeps the same timezone (-04:00) as its original source.</p> <p>I have tried <strong>SimpleDateFormat</strong> but using it returns different timezones that are not the same as the timezone i...
I have a time raw string, "2016-05-15T12:42:00.000-04:00" and I want to convert the string to "Wed 15 May 2016 12:42", which keeps the same timezone (-04:00) as its original source. I have tried SimpleDateFormat but using it returns different timezones that are not the same as the timezone in my original string. Please...
java|android|date|time|timezone
-1
2016-05-09T06:01:49.707Z
2,016
5
6
0
416
1
493
106
5
1
true
false
false
false
false
true
negative
37,108,754
Cordova + Android Studio Error:'com.android.build.gradle.BasePlugin' does not implement the Plugin interface
<p>I am creating android project through cordova plugin, but in the android project created, it has the build.gradle with</p> <pre><code>if (gradle.gradleVersion &gt;= "2.2") { dependencies { classpath 'com.android.tools.build:gradle:1.0.0+' } } else if (gradle.gradleVersion &gt;= "2.1"...
I am creating android project through cordova plugin, but in the android project created, it has the build.gradle with [CODE] instead of, [CODE] So it gives me the error, [CODE] Why is it happening? How to make it generate according the version of the gradle automatically? This is my build-extras.gradle, [CODE] But I h...
android|cordova|android-gradle-plugin|cordova-plugins|cordova-plugin-file
2
2016-05-09T06:06:50.547Z
2,016
5
6
0
4,637
2
440
108
5
5
true
false
true
false
false
false
low
37,108,849
Gradle 'TestApp' project refresh failed
<p>I am new to android studio. I have installed android studio 2.1 and imported an eClipse project into it as my first project. After finishing import job, an error occurred with this title:</p> <blockquote> <p>Gradle 'TestApp' project refresh failed</p> <p>►Error:A problem occurred configuring project ':app'.</p> </bl...
I am new to android studio. I have installed android studio 2.1 and imported an eClipse project into it as my first project. After finishing import job, an error occurred with this title: Gradle 'TestApp' project refresh failed ►Error:A problem occurred configuring project ':app'. I notice that in Tools > Android > SDK...
android-studio|android-gradle-plugin|build.gradle
0
2016-05-09T06:14:29.133Z
2,016
5
6
0
877
1
958
39
3
0
false
false
false
false
false
false
zero
37,108,877
NullPointerException Passing data from Activity to Intent
<p>I am working on android application but i want to pass some data from an activity to an intent from which is shown in an activity in form of navigation drawer But when i run it i get a null pointer exception. Here is my Activity method</p> <pre><code>String EXTRA_LOGIN_DATA = "TATA"; @Override protected void onCre...
I am working on android application but i want to pass some data from an activity to an intent from which is shown in an activity in form of navigation drawer But when i run it i get a null pointer exception. Here is my Activity method [CODE] And here is my Fragment method: [CODE] But when i run the code i get: [CODE] ...
android|android-fragments|android-activity
-3
2016-05-09T06:16:16.397Z
2,016
5
6
0
465
3
391
57
3
3
true
false
false
false
false
true
negative
37,108,947
Where condition on QueryBuilder greenDao android
<p>I am new in android and decided to learn greenDao ORM and use it in my test project.</p> <p>I am creating a list of User objects. Each user onject can have multiple childs. So I keep userId in child objects to be able to find user's child.</p> <p>Each child has a phone number. these phone numbers are unique. so, w...
I am new in android and decided to learn greenDao ORM and use it in my test project. I am creating a list of User objects. Each user onject can have multiple childs. So I keep userId in child objects to be able to find user's child. Each child has a phone number. these phone numbers are unique. so, when I want to inser...
android|query-builder|greendao
0
2016-05-09T06:20:54.643Z
2,016
5
6
0
7,210
1
1,407
48
3
2
true
false
true
false
false
false
zero
37,109,095
android Web Browser is not working
<p>I have a problem with my WebView.</p> <p>Here's the code:</p> <pre><code> public class MainActivity extends AppCompatActivity { Button button; EditText editText; WebView webView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
I have a problem with my WebView. Here's the code: [CODE] here is the code of xml file [CODE] What am i doing wrong?
java|android|webview
-2
2016-05-09T06:30:36.513Z
2,016
5
6
0
55
1
116
34
3
2
true
false
false
false
false
true
negative
37,109,229
Unable to add footer in a list in android studio
<p>I am new to android programming and sorry if this question is asked before. But I am unable to add footer in my list view, which contains reviews and rating data coming from service. I want only 1 item to be shown and after that a footer to read more should appear. My code is:</p> <pre><code>// Footer to add ...
I am new to android programming and sorry if this question is asked before. But I am unable to add footer in my list view, which contains reviews and rating data coming from service. I want only 1 item to be shown and after that a footer to read more should appear. My code is: [CODE] But this footer doesnot show. This ...
android
0
2016-05-09T06:39:55.083Z
2,016
5
6
0
34
0
339
48
1
2
true
true
false
false
false
false
zero
37,109,254
Share recylerview adpter with subclass
<p>I have a adapter</p> <p>SearchAdapter.java:</p> <pre><code>public class SearchAdapter extends RecyclerView.Adapter&lt;SearchAdapter.ViewHolder&gt; { private Context mContext; private LayoutInflater inflater; private final List&lt;Category&gt; mDataset; public SearchAdapter(Context c, List&lt;Category&gt; category...
I have a adapter SearchAdapter.java: [CODE] Category.java: [CODE] SubCategory.java (extending category.java): [CODE] I can create new instance of SearchAdapter without any problem. [CODE] However, I can't pass SubCategory list to the adapter even though its inherited from Category. [CODE] UPDATE: Following is the error...
android|inheritance|android-recyclerview|adapter|android-viewholder
0
2016-05-09T06:41:13.563Z
2,016
5
6
0
117
2
430
38
5
5
true
false
false
false
false
false
zero
37,109,275
Post JSONArray to webservice and get the JSONObject Response in android
<p>I am using the below code.In the below code "str" is JSONArray converted to string.I have to pass this "str" to the url</p> <pre><code>String serviceUrl = "http://172.16.10.64:8080/plugleadservices/rest/feedbackmanagement/feedbacknew"; ArrayList&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair&...
I am using the below code.In the below code "str" is JSONArray converted to string.I have to pass this "str" to the url [CODE] My question is: How to post JsonArray to the URL and get the JSON Object Response? Thanks in advance...
android|json
0
2016-05-09T06:42:53.407Z
2,016
5
6
0
554
1
230
71
2
1
true
false
false
false
false
false
zero
37,109,382
Making a Call by Image icon in a List view by fragments in android
<p>I have a list view with person picture, name and image icon for calling.<br> I passed the picture and name by arrays but gives errors when passing phone numbers as a array.</p> <p><strong>Arrays</strong></p> <pre><code>String[] names = {"abc", "xyz"} int [] pics = {getting 2 images from drawable}; String[] phone_n...
I have a list view with person picture, name and image icon for calling. I passed the picture and name by arrays but gives errors when passing phone numbers as a array. Arrays [CODE] My code [CODE] Edit: My error is when Uri.parse(phone_numbers)); shows error. String phone_numbers = "0110101010" correct the error(remov...
java|android|android-fragments
-1
2016-05-09T06:49:52.463Z
2,016
5
6
0
45
2
420
66
3
2
true
false
false
false
false
true
negative
37,109,407
When Adding Fabric it Show " C:\Program Files\Java\jdk1.8.0_74\bin\java.exe'' finished with non-zero exit value 2" Error
<p>I got Error like </p> <blockquote> <p>Error:Execution failed for task ':app:transformClassesWithDexForDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_74\bin\ja...
I got Error like Error:Execution failed for task ':app:transformClassesWithDexForDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_74\bin\java.exe'' finished with non-ze...
java|android|crashlytics|twitter-fabric|fabric-digits
0
2016-05-09T06:51:02.200Z
2,016
5
6
0
390
0
1,230
120
5
3
true
true
false
false
false
false
zero
37,109,464
Call asynctask in handler repeateadly and updating UI hangs app
<p>I'm trying to call asynctask in handler repeateadly and updating adapter, but it hangs UI. Now m confused so Please tell me how to call asynctask repeatedly and upade UI.I have make sure that asynctask will call only once till it does not get finish with the help of flagAsync. Handler code is below.</p> <pre><code>...
I'm trying to call asynctask in handler repeateadly and updating adapter, but it hangs UI. Now m confused so Please tell me how to call asynctask repeatedly and upade UI.I have make sure that asynctask will call only once till it does not get finish with the help of flagAsync. Handler code is below. [CODE] Asynctask is...
android|android-asynctask|handler
-1
2016-05-09T06:54:56.437Z
2,016
5
6
0
163
3
367
63
3
2
true
false
false
false
false
true
negative
37,109,545
Intent Runtime Error (All Looks Normal)
<p>I am practicing using intents to go from one screen to the next - I made a test app that uses a button to go to a "hello world" screen and it works fine. I copy/pasted some of that code to a real project I am working on (changing all names and variables etc to fit), but it can't seem to connect the method to the bu...
I am practicing using intents to go from one screen to the next - I made a test app that uses a button to go to a "hello world" screen and it works fine. I copy/pasted some of that code to a real project I am working on (changing all names and variables etc to fit), but it can't seem to connect the method to the button...
java|android|android-intent
2
2016-05-09T07:00:51.953Z
2,016
5
7
0
30
2
704
39
3
2
true
false
false
false
false
false
low
37,109,593
Fetching image from the database throws null pointer excception on getJsonArray
<p>I am trying to fetch image from the database and display it on my android device. At this point of my code I am getting a nullpointer exception </p> <pre><code>str_login = json.getJSONArray("info"); </code></pre> <p>This is the code before the above line of code is executed</p> <pre><code>String link_url = "192.1...
I am trying to fetch image from the database and display it on my android device. At this point of my code I am getting a nullpointer exception [CODE] This is the code before the above line of code is executed [CODE] This is my logcat [CODE] This is my oncreate method codes [CODE] Please what could be wrong?
php|android|mysql|json
0
2016-05-09T07:03:23.277Z
2,016
5
7
0
32
0
309
79
4
4
true
true
false
false
false
false
zero
37,109,657
Navigation Drawer is not displaying and no error is thrown
<p>The following code is of BaseActivity and this activity is used to implement navigation drawer for different activity</p> <pre><code>public class BaseActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { private NavigationView navigationView; private DrawerLayout fullL...
The following code is of BaseActivity and this activity is used to implement navigation drawer for different activity [CODE] And here is xml file design which is used for implementation purpose [CODE] I tried all thing but not getting proper way to implement.Any suggestion how to correct this will be helpful
android|navigation-drawer
0
2016-05-09T07:08:07.320Z
2,016
5
7
0
51
0
309
58
2
2
true
true
false
false
false
false
zero
37,109,683
Navigation View is not showing up
<p>I am missing something really basic here.</p> <p>In my content_passenger_home</p> <pre><code>&lt;LinearLayout 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" andro...
I am missing something really basic here. In my content_passenger_home [CODE] In my app_bar_passenger_home [CODE] In my activity_passenger_home [CODE] My passenger_home.java [CODE]
android|navigation-drawer
0
2016-05-09T07:09:45.587Z
2,016
5
7
0
2,817
2
180
33
2
4
true
false
true
false
false
false
zero
37,109,774
Unable to start emulator on Android Studio 2.1
<p>I am unable to start my emulator on <strong>Android Studio 2.1</strong> and getting the following <strong>error</strong>:</p> <pre><code>Cannot launch AVD in emulator. Output: emulator: WARNING: Increasing RAM size to 1024MB init: Could not find wglGetExtensionsStringARB! getGLES1ExtensionString: Could not find GLE...
I am unable to start my emulator on Android Studio 2.1 and getting the following error : [CODE] Getting same error in the console of AVD I am trying to run with this following configurations : My android-studio has the following details : Any help will be appreciated.
android|android-studio|android-emulator|avd
2
2016-05-09T07:15:36.787Z
2,016
5
7
0
20,999
4
268
46
4
1
true
false
true
true
false
false
low
37,109,780
Cordova doesn't work
<p>I'm reading the book <strong><em>"Beginning NFC Near Field Communication with Arduino, Android, and PhoneGap"</em></strong>. On page 29 under <strong><em>"Creating a PhoneGap Project"</em></strong> I'm trying to create a PhoneGap project with this command <code>cordova create ~/Hello com.example.hello Hello</code> a...
I'm reading the book "Beginning NFC Near Field Communication with Arduino, Android, and PhoneGap" . On page 29 under "Creating a PhoneGap Project" I'm trying to create a PhoneGap project with this command cordova create ~/Hello com.example.hello Hello and cordova platform add android . Everything seems (at least to me)...
android|cordova
0
2016-05-09T07:16:01.930Z
2,016
5
7
0
625
1
881
20
2
1
true
false
false
false
false
false
zero
37,109,827
GCM deleteToken throws MAIN_THREAD exception
<p>I have integrated <code>GCM</code> with my application. Registration of device is working good but I want to un-register device when user logs out. I am deleting token as </p> <pre><code>new android.os.Handler().post(new Runnable() { @Override public void run() { ...
I have integrated GCM with my application. Registration of device is working good but I want to un-register device when user logs out. I am deleting token as [CODE] But it is throwing exception: Exception [CODE] Can anyone please help me out which is the missing thing? Regards,
android|google-cloud-messaging
0
2016-05-09T07:19:22.857Z
2,016
5
7
0
49
0
278
44
2
2
true
true
false
false
false
false
zero
37,109,895
java.lang.ClassNotFoundException: Didn't find class from AAR
<p>I have a android library project from which i created AAR file. I have added that AAR file into my application project, while running i get the following exception:</p> <pre><code>Caused by: java.lang.ClassNotFoundException: Didn't find class "com.creatrixone.customcomponents.LoadMoreListView" on path: DexPathList[...
I have a android library project from which i created AAR file. I have added that AAR file into my application project, while running i get the following exception: [CODE] I updated both Library and Application project gradle file after visiting below link, Android Library AAR depending on another library but no use, t...
android|android-studio|android-gradle-plugin|build.gradle
3
2016-05-09T07:23:39.873Z
2,016
5
7
0
1,943
0
424
60
4
3
true
true
false
false
false
false
low
37,109,932
Checking for google play services
<p>It drives me crazy how important documentation is often overlooked in the google docs. I would have plucked out my hair if I wasn't bald already. </p> <pre><code>private void checkGooglePlayServices() { int errorCode = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this); boolean isErrorResol...
It drives me crazy how important documentation is often overlooked in the google docs. I would have plucked out my hair if I wasn't bald already. [CODE] The above code displays a Dialog box which says has a button reading get google play services : [CODE] now what should I do here ? How should I direct the user to the ...
android|google-cloud-messaging
0
2016-05-09T07:26:14.960Z
2,016
5
7
0
1,409
2
482
33
2
2
true
false
false
false
false
false
zero
37,109,953
how to set the value in custom notification textview
<p>please help me to set the text in textview in custom notification </p> <pre><code> private void startNotification() { String ns = Context.NOTIFICATION_SERVICE; NotificationManager notificationManager = (NotificationManager) getSystemService(ns); Notification notification = new Notification(R.drawab...
please help me to set the text in textview in custom notification [CODE] java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RemoteViews.setTextViewText(int, java.lang.CharSequence)' on a null object reference Please help me how to resolve this . how to set the value on textview in not...
android|sdk|android-notifications
2
2016-05-09T07:27:24.187Z
2,016
5
7
0
2,950
1
362
52
3
1
true
false
true
false
false
false
low
37,110,032
Android App unable to create directory on server
<p>I have an app that is supposed to create a directory on a server via a url. When I enter that URL into a web browser, it works. But when I register through my app, nothing appears. I have tried this with another file server and it worked. My file has a 777 permission and still nothing on the phone side. Please help<...
I have an app that is supposed to create a directory on a server via a url. When I enter that URL into a web browser, it works. But when I register through my app, nothing appears. I have tried this with another file server and it worked. My file has a 777 permission and still nothing on the phone side. Please help Thi...
php|android|rest
0
2016-05-09T07:32:12.843Z
2,016
5
7
0
29
0
343
48
3
1
true
true
false
false
false
false
zero
37,110,090
Default activity not found
<p>A read most of the same questions but no one of them could help me, so i am asking by myself. Here is my android manifest file:</p> <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.abcdev.starksproject" &gt; &lt;uses-permission android:name="android.permission.INTERN...
A read most of the same questions but no one of them could help me, so i am asking by myself. Here is my android manifest file: [CODE] I defined LAUNCHER activity and package name is correct. Studio can see activities and when i run app by choosing activity by myself it works great, so i have no ideas what can it be. I...
java|android|android-studio|android-manifest
-2
2016-05-09T07:35:50.753Z
2,016
5
7
0
372
1
353
26
4
1
true
false
false
false
false
true
negative
37,110,188
First time SharedPreferences use with GridView
<p>This is my Apps Screenshoot :</p> <p><a href="https://i.stack.imgur.com/Fehr6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fehr6.jpg" alt="enter image description here"></a></p> <p>There is two button in that GridView : +/-.</p> <p>So what im gonna try is when i press "+" button or "-" butto...
This is my Apps Screenshoot : There is two button in that GridView : +/-. So what im gonna try is when i press "+" button or "-" button, the quantity is store in SharedPreferences. But really im confused about this. This is my code so far : [CODE] I already see this tutorial . But im still getting confused. Please guid...
android|gridview
0
2016-05-09T07:41:53.023Z
2,016
5
7
0
656
2
431
46
2
3
true
false
false
false
false
false
zero
37,110,246
Android - UNEXPECTED TOP-LEVEL EXCEPTION:
<p>i am facing error while adding payumoney in app. Here is error - </p> <p>UNEXPECTED TOP-LEVEL EXCEPTION:</p> <pre><code>`com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536 at com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:484) at com.android.dx.merge.DexMerge...
i am facing error while adding payumoney in app. Here is error - UNEXPECTED TOP-LEVEL EXCEPTION: [CODE] Here is build.gradle(app) file code [CODE] android { compileSdkVersion 23 buildToolsVersion "23.0.3" [CODE] here is build.gradle(project) [CODE] if i use multidex true in build.gradle, error solved but app crash on f...
android|android-multidex|payumoney
-1
2016-05-09T07:45:15.967Z
2,016
5
7
0
455
2
332
41
3
4
true
false
false
false
false
true
negative
37,110,391
Maintain state between activities
<p>My app has two activities: <code>MasterActivity</code> and <code>DetailActivity</code>. <code>MasterActivity</code> has two visualization modes: <em>list mode</em> and <em>map mode</em>. An action bar item toggles between them.</p> <p>I'd like to mantain the selected visualization mode when user goes into <code>Det...
My app has two activities: MasterActivity and DetailActivity . MasterActivity has two visualization modes: list mode and map mode . An action bar item toggles between them. I'd like to mantain the selected visualization mode when user goes into DetailActivity and comes back. In the beginning I used SharedPreferences bu...
android|android-activity|android-manifest|android-toolbar
0
2016-05-09T07:54:15.563Z
2,016
5
7
0
162
2
765
33
4
1
true
false
false
false
false
false
zero
37,110,468
RealmObject is not valid, so it cannot be copied
<p>Why is this code triggering a</p> <p><code>java.lang.IllegalArgumentException: RealmObject is not valid, so it cannot be copied</code></p> <p>error?</p> <pre><code>realm.beginTransaction(); realm.delete(Booking.class); final Booking booking = realm.copyFromRealm( new Booking( editFragment.getDestinati...
Why is this code triggering a java.lang.IllegalArgumentException: RealmObject is not valid, so it cannot be copied error? [CODE] However, if I change it to this the exception is not thrown: [CODE] What is the difference? The Booking class is defined as: [CODE] Edit: Found what was wrong: I accidentally used copyFromRea...
android|realm
1
2016-05-09T07:59:09.403Z
2,016
5
7
0
2,109
1
435
48
2
3
true
false
false
false
false
false
low
37,110,500
XmlPullParser not reach end of document
<p>Im working on a simple Android App, which should fetch RSS feeds, read and display the information on the screen. I tried to follow the Google example while implementing the code (source: <a href="http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html" rel="nofollow">Android Developers</a>).</p> <...
Im working on a simple Android App, which should fetch RSS feeds, read and display the information on the screen. I tried to follow the Google example while implementing the code (source: Android Developers ). My code looks like that: [CODE] Actually, it prints me the content of the title XML-Tag, but it never stops th...
android|rss|infinite-loop|xmlpullparser
0
2016-05-09T08:01:45.900Z
2,016
5
8
0
343
1
468
39
4
1
true
false
false
false
false
false
zero
37,110,670
Searching google programmatically without ajax
<p>Apparently google retired the ajax api which I have been using in java for android, I dug through their new API page but I can't find anything that seems to work in java, or any non-web language for that matter.</p> <p>This is what I had previously:</p> <pre><code>@Override protected String doInBackground(String.....
Apparently google retired the ajax api which I have been using in java for android, I dug through their new API page but I can't find anything that seems to work in java, or any non-web language for that matter. This is what I had previously: [CODE] Simply put, a string is supplied, and appended to the ajax search. The...
java|android|json|ajax|google-search-api
0
2016-05-09T08:10:58.973Z
2,016
5
8
0
511
1
1,085
46
5
3
true
false
false
false
false
false
zero
37,110,674
Broadcast receiver on app closed (or in the background)
<p>I create a simple alarms app and I have two <code>broadcast receivers</code> registered in <code>AndroidManifest.xml</code> (One for receiving alarms and other for rescheduling them on device boot). After scheduling some alarms I reboot my device and my <code>"OnBoot" receiver</code> rescheduling alarms well, but th...
I create a simple alarms app and I have two broadcast receivers registered in AndroidManifest.xml (One for receiving alarms and other for rescheduling them on device boot). After scheduling some alarms I reboot my device and my "OnBoot" receiver rescheduling alarms well, but the first receiver doesn't recive them. If I...
java|android|broadcastreceiver
1
2016-05-09T08:11:11.150Z
2,016
5
8
0
1,218
1
1,368
55
3
4
true
false
false
false
false
false
low
37,110,778
How to cast BitmapDrawable to LayerDrawable in android
<p>This is code snippet.</p> <pre><code>public boolean onCreateOptionsMenu(Menu menu) { // Inflate the main; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); MenuItem item = menu.findItem(R.id.action_notifications); LayerDrawable icon = (LayerDrawable) ...
This is code snippet. [CODE] It is giving error in line [CODE] BitmapDrawable cannot be cast to android.graphics.drawable.LayerDrawable How to cast BitmapDrawable to layer LayerDrawable? Edit : adding setBadgeCount function. [CODE]
android
3
2016-05-09T08:17:14.617Z
2,016
5
8
0
976
1
231
54
1
3
true
false
false
false
false
false
low
37,110,825
Dagger 2 - what's the proper way to use the components and modules?
<p>After some playing around with <a href="http://google.github.io/dagger/" rel="nofollow">Dagger 2</a>, I managed to <code>inject</code> my dependencies into its dependent objects, but I am not sure its the right way of doing it, and I want to do it the proper way.</p> <p>The way I did it, I have <strong>one</strong>...
After some playing around with Dagger 2 , I managed to inject my dependencies into its dependent objects, but I am not sure its the right way of doing it, and I want to do it the proper way. The way I did it, I have one component which includes multiple modules and I do the Injection in the top class, and the dependenc...
java|android|dependency-injection|inversion-of-control|dagger-2
1
2016-05-09T08:19:38.047Z
2,016
5
8
0
115
0
665
67
5
5
true
true
false
false
false
false
low
37,110,876
how save checkbox value with shared preferences?
<p>hy everybody, i don't know why my code not save checkbox checked value; if i check checkbox and after i click on another tab and comeback to previous tab, checkbox is not selected...i hope that you find the error in my code!</p> <p>IDE say me: FATAL EXCEPTION: main java.lang.NullPointerException at line ".onCreateV...
hy everybody, i don't know why my code not save checkbox checked value; if i check checkbox and after i click on another tab and comeback to previous tab, checkbox is not selected...i hope that you find the error in my code! IDE say me: FATAL EXCEPTION: main java.lang.NullPointerException at line ".onCreateView(holder....
android|android-fragments|android-studio|checkbox|sharedpreferences
-1
2016-05-09T08:22:35.773Z
2,016
5
8
0
1,184
2
423
48
5
3
true
false
false
false
false
true
negative
37,110,882
Is there a android-standard badge or method to show action-bar notification icon with a count from android Fragment Button Click
<p><a href="https://i.stack.imgur.com/Ts6UK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ts6UK.png" alt="enter image description here"></a></p> <p>I wants to update this count notification from fragment's Button onClick event</p> <p>for this i m doing like that: i uses a custom button to show th...
I wants to update this count notification from fragment's Button onClick event for this i m doing like that: i uses a custom button to show this count badger: Please tell me if you know what is need to be changed In my case, I have a button. Custom item on my menu - menumain.xml [CODE] Custom shape drawable (background...
android|android-fragments|menuitem
0
2016-05-09T08:23:03.037Z
2,016
5
8
0
866
1
520
128
3
5
true
false
false
false
false
false
zero
37,110,883
Android 6 - Writing to external storage fails ON FIRST RUN ONLY
<p>I know a question almost like this was asked several times but that problem is different. I need to write data to the external storage. I know I need to ask for permissions at runtime on <em>Android 6</em>. All this works fine so far. Just one thing is weird. The granted permission only seems to work <em>the second ...
I know a question almost like this was asked several times but that problem is different. I need to write data to the external storage. I know I need to ask for permissions at runtime on Android 6 . All this works fine so far. Just one thing is weird. The granted permission only seems to work the second time I start th...
android|permissions|writetofile
4
2016-05-09T08:23:03.640Z
2,016
5
8
0
1,035
3
1,600
63
3
5
true
false
false
false
false
false
low
37,110,901
How to fix null pointer exception when using two Volley requests in same activity in Android?
<p>I have added a "featured" pager view as the header for my listview. The pager view receives its data from a separate url than the listview so I am making two separate Volley requests. I've tested the pager view in a separate project by itself and it works flawlessly. The listview works flawlessly without the additio...
I have added a "featured" pager view as the header for my listview. The pager view receives its data from a separate url than the listview so I am making two separate Volley requests. I've tested the pager view in a separate project by itself and it works flawlessly. The listview works flawlessly without the additional...
android|android-volley
1
2016-05-09T08:24:02.883Z
2,016
5
8
0
258
2
1,337
93
2
1
true
false
false
false
false
false
low
37,111,014
gridview overlap horizontally in pre lollipop device
<p>I used hacky gridview because i need gridview to wraps content in scrollview so I used custom Gridview from <a href="https://www.jayway.com/2012/10/04/how-to-make-the-height-of-a-gridview-wrap-its-content/" rel="nofollow">this site</a> . In preLollipop version everything is ok but in Lollipop there is no border for ...
I used hacky gridview because i need gridview to wraps content in scrollview so I used custom Gridview from this site . In preLollipop version everything is ok but in Lollipop there is no border for content of grid view. so I set vertical spacing like below. [CODE] and using cardview with image in it but after that the...
android|gridview
0
2016-05-09T08:30:59.960Z
2,016
5
8
0
91
1
477
52
2
1
true
false
false
false
false
false
zero
37,111,021
Choronometer to save elapsed time and display in the ListView in android
<p>I have a choronometer in my app. Its working fine but i am unable to save the recorded time. Every time the user clicks on the stop button i want to capture the time and save it in the database and display it to the user in a ListView with all the past recorded time. I have have tried to implement the same but ther...
I have a choronometer in my app. Its working fine but i am unable to save the recorded time. Every time the user clicks on the stop button i want to capture the time and save it in the database and display it to the user in a ListView with all the past recorded time. I have have tried to implement the same but theres o...
android|chronometer
0
2016-05-09T08:31:18.440Z
2,016
5
8
0
193
0
538
72
2
3
true
true
false
false
false
false
zero
37,111,035
CheckBox in GridView still clickable while clickable=false
<p>I have made a gridview (in a fragment) with an adapter and a layout for the items. The layout exists of an ImageView to display a picture, a CheckBox and another ImageView to display an indicator that indicates if the picture is just a picture or if it is a thumbnail for a video. Here is the layout:</p> <pre><code>...
I have made a gridview (in a fragment) with an adapter and a layout for the items. The layout exists of an ImageView to display a picture, a CheckBox and another ImageView to display an indicator that indicates if the picture is just a picture or if it is a thumbnail for a video. Here is the layout: [CODE] I'm trying t...
java|android|android-gridview
1
2016-05-09T08:32:07.213Z
2,016
5
8
0
117
1
807
58
3
1
true
false
false
false
false
false
low
37,111,039
ListView getting populated with the same data twice?
<p>I have a list view which displays data based on text change.However I get the same data displayed twice.For example if my list contains a single 'apple' the list will contain two apple's. i.e. the same entry twice.</p> <p><em>This is my code</em> :-</p> <pre><code> private void showDocno(String response) { Par...
I have a list view which displays data based on text change.However I get the same data displayed twice.For example if my list contains a single 'apple' the list will contain two apple's. i.e. the same entry twice. This is my code :- [CODE] This method gets called on response of volley request to mysql database. Any he...
java|android|listview
0
2016-05-09T08:32:12.763Z
2,016
5
8
0
102
0
362
52
3
1
true
true
false
false
false
false
zero
37,111,313
Android drawable swiping not working (from beginners sample code)
<p>I'm fluent in java for some years now but never tried making apps. So 2 days ago I started and it was just a 20 minute work from getting android studio over setting it up in netbeans to show a hello world app on my phone. But now i'm stuck with this approach for swiping through an array of jpg's. The app gets build ...
I'm fluent in java for some years now but never tried making apps. So 2 days ago I started and it was just a 20 minute work from getting android studio over setting it up in netbeans to show a hello world app on my phone. But now i'm stuck with this approach for swiping through an array of jpg's. The app gets build and...
java|android|arrays|drawable|swipe
1
2016-05-09T08:46:40.127Z
2,016
5
8
0
87
0
441
65
5
4
true
true
false
false
false
false
low
37,111,421
How to close app/activity or code menu item via intent/pendingIntent in Chrome Custom Tabs
<p>I'm trying to understand how Chrome Custom Tabs work. Following the guidelines, adding a custom item to a menu is done using a pendingIntent, such as:</p> <pre><code>Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://google.com")); PendingIntent pendingIntent = PendingIntent .getActivity(thi...
I'm trying to understand how Chrome Custom Tabs work. Following the guidelines, adding a custom item to a menu is done using a pendingIntent, such as: [CODE] I know how to use pendingIntent to direct to a website or to create a 'share' action. The question is would it be possible to do more complex tasks from adding a ...
android|android-intent|menuitem|android-pendingintent|chrome-custom-tabs
1
2016-05-09T08:53:09.717Z
2,016
5
8
0
1,367
1
1,164
90
5
1
true
false
false
false
false
false
low
37,111,422
How can i create doughnut chart using oxyplot in xamarin.android?
<p>I need to create app that shows chart like Highcharts. But i did't get any library for that. So i'm using oxyplot to create charts. I have create pie chart using oxyplot like this.</p> <pre><code>var plotView = new PlotView (this); plotView.Model = PieViewModel(); this.AddContentView (plotView, ...
I need to create app that shows chart like Highcharts. But i did't get any library for that. So i'm using oxyplot to create charts. I have create pie chart using oxyplot like this. [CODE] But now i need create doughnut chart with click listeners and effects on click. How can i do this? Thanks in Advance
charts|highcharts|xamarin.android|oxyplot
3
2016-05-09T08:53:10.167Z
2,016
5
8
0
1,980
1
304
65
4
1
true
false
false
false
false
false
low
37,111,444
Error trying to update cocos OpenSSL
<p>I received a message about OpenSSL security. I did the following <a href="http://blog.cocos2d-x.org/2016/04/openssl-update/" rel="nofollow">http://blog.cocos2d-x.org/2016/04/openssl-update/</a> and now there is an error i don't understand in my project.</p> <p>15:56:54 **** Incremental Build of configuration Releas...
I received a message about OpenSSL security. I did the following http://blog.cocos2d-x.org/2016/04/openssl-update/ and now there is an error i don't understand in my project. 15:56:54 **** Incremental Build of configuration Release for project app **** python /Applications/cocos2d-x-3.10/projects/app/proj.android_v2/bu...
java|android|c++|android-ndk|cocos2d-x
1
2016-05-09T08:54:04.573Z
2,016
5
8
0
133
3
2,576
36
5
1
true
false
false
false
false
false
low
37,111,534
Calabash Android random failures because of elements not found
<p>We use calabash-android for our functional tests here and we are experiencing strange behaviors. We have some simple scenario like:</p> <pre><code>When I skip the tutorial Then I must land on my 'fancy' screen </code></pre> <p>This scenario succeed most of the time, but sometimes (about 10-15% of the time) 2 failu...
We use calabash-android for our functional tests here and we are experiencing strange behaviors. We have some simple scenario like: [CODE] This scenario succeed most of the time, but sometimes (about 10-15% of the time) 2 failures are possible. The first one is because the element looked up by When I skip the tutorial ...
android|calabash|calabash-android
1
2016-05-09T08:58:12.453Z
2,016
5
8
0
336
1
1,088
62
3
2
true
false
false
false
false
false
low
37,111,600
volley not populating ListView with remote server
<p>My android app connects with a server and get information from a database and fills in a listview. it works fine with <strong>xampp</strong> on my <em>localhost</em>. but after uploading my files to my server it doesn't work. no error in the log except. </p> <blockquote> <p>D/Volley: [1] 2.onErrorResponse: ViewGu...
My android app connects with a server and get information from a database and fills in a listview. it works fine with xampp on my localhost . but after uploading my files to my server it doesn't work. no error in the log except. D/Volley: [1] 2.onErrorResponse: ViewGuidesActivity But when i run my PHP file on my web br...
php|android|json|listview|android-volley
1
2016-05-09T09:00:37.983Z
2,016
5
9
0
93
1
813
49
5
2
true
false
false
false
false
false
low
37,111,608
Custom Push Notification coming twice using Parse.com and Android
<p>I am working in custom push notification using parse.com android. Push is successfully integrated in my application, but the problem is I am getting two notifications at a time.</p> <p>One from my custom Receiver with image and other one default notification from OS without any image and that notification is not ev...
I am working in custom push notification using parse.com android. Push is successfully integrated in my application, but the problem is I am getting two notifications at a time. One from my custom Receiver with image and other one default notification from OS without any image and that notification is not even removing...
android|parse-platform|push-notification|notifications
3
2016-05-09T09:00:55.450Z
2,016
5
9
0
442
3
498
65
4
2
true
false
false
false
false
false
low
37,111,648
MediaCodec is crashed in the configure function during the h265 setting.How to correctly use the mediacodec to decode h265?
<p>My code is following:</p> <pre><code>MediaFormat format = MediaFormat.createVideoFormat("video/hevc",480, 560); decoder.configure(format, null, null, 0); </code></pre> <p>My device supports h265 decoding:OMX.amlogic.avc.decoder.awesome types:video/hevc</p> <p>And the crash log:</p> <pre><code>05-09 16:32:16.670:...
My code is following: [CODE] My device supports h265 decoding:OMX.amlogic.avc.decoder.awesome types:video/hevc And the crash log: [CODE] So,why the simple use of the mediacodec is not ok. Is anyone can help me?
android|android-mediacodec|hevc
2
2016-05-09T09:03:10.723Z
2,016
5
9
0
442
0
210
123
3
2
true
true
false
false
false
false
low
37,111,718
What the "No opaque field provided" mean in ffmpeg?
<p>I use the code to covert a image and wav to a mp4:</p> <pre><code>ffmpeg -loop 1 -i img.jpg -i audio.wav -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest out.mp4 </code></pre> <p>But I got some errors:</p> <pre><code> 05-09 17:00:23.473 26907-27514/com.tian.example E/xx: ffmpeg version 0.11.1 Copyri...
I use the code to covert a image and wav to a mp4: [CODE] But I got some errors: [CODE] I am a new for ffmpeg.
android|ffmpeg|mp4
0
2016-05-09T09:06:44.060Z
2,016
5
9
0
120
1
110
51
3
2
true
false
false
false
false
false
zero
37,111,757
how to change background color of selected text in edittext?
<p>How to can I select part of text in a textview or edittext, and change background color of selected text when touch a button?</p> <p>I want to simulate a marker. <a href="https://i.stack.imgur.com/pOTBQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pOTBQ.jpg" alt="enter image description here">...
How to can I select part of text in a textview or edittext, and change background color of selected text when touch a button? I want to simulate a marker. [CODE]
android|textview
2
2016-05-09T09:08:52.233Z
2,016
5
9
0
403
0
161
60
2
1
true
true
false
false
false
false
low
37,112,177
Set toolbar to FragmentActivity
<p>There are similar lots of questions which I obviously tried but didn't help.</p> <p>Followed by the Splash screen my app shows an activity with <code>viewPager</code>. I called this activity <code>FragmentContainer</code> because it contains the viewPager. Now just because this <code>FragmentContainer</code> extend...
There are similar lots of questions which I obviously tried but didn't help. Followed by the Splash screen my app shows an activity with viewPager . I called this activity FragmentContainer because it contains the viewPager. Now just because this FragmentContainer extends FragmentAcitity I cannot use setSupportActionBa...
android|android-fragments|android-actionbar|android-viewpager|android-toolbar
0
2016-05-09T09:30:55.893Z
2,016
5
9
0
1,293
1
558
31
5
2
true
false
false
false
false
false
zero
37,112,252
Unable to set data into database
<p>In this below code im trying get and set data from the data base but during execution im unable set data in the data base ...</p> <h2>SettingUp </h2> <pre><code>mWirelessRouters = WalletWirelessRouter.get(getActivity()).getWirelessRouter(uuid); </code></pre> <h2>onTextChanged Listner </h2> <pre><code> mBaseStati...
In this below code im trying get and set data from the data base but during execution im unable set data in the data base ... SettingUp [CODE] onTextChanged Listner [CODE] Note:- In the above code im trying take the base station name from the user and update it in database..There is no issue related view getWirelessRou...
android|sqlite|android-edittext
0
2016-05-09T09:33:59.247Z
2,016
5
9
0
48
1
601
32
3
9
true
false
false
false
false
false
zero
37,112,291
Cannot call the API using Swagger-UI's jar file
<p>I generated my classes using <a href="http://swagger.io/" rel="nofollow">http://swagger.io/</a> and I got zip files which contains classes and models.</p> <p>When I compile a jar file and then add it to my project as a jar lib it gives me this error:</p> <pre><code>05-09 17:22:37.894 4589-4589/? E/ReportHandler: F...
I generated my classes using http://swagger.io/ and I got zip files which contains classes and models. When I compile a jar file and then add it to my project as a jar lib it gives me this error: [CODE] This is the build.gradle file for the swagger generated library: [CODE] Can anybody help?
java|android|swagger-ui
2
2016-05-09T09:35:02.600Z
2,016
5
9
0
1,921
1
292
47
3
2
true
false
false
false
false
false
low
37,112,376
Register mobile / Android endpoint with Amazon SNS mobile push service
<p>I want to use <a href="http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html" rel="nofollow noreferrer">Amazon SNS Mobile Push Notifications</a> in combination with <a href="https://developers.google.com/cloud-messaging/" rel="nofollow noreferrer">GCM</a> to push notifications to Android devices.</p> <p>I have...
I want to use Amazon SNS Mobile Push Notifications in combination with GCM to push notifications to Android devices. I have GCM on my app up and running, it receives a registration id from Google and can receive notification if I send notification to device via https://android.googleapis.com/gcm/send manually add the d...
android|amazon-web-services|push-notification|amazon-sns|amazon-cognito
3
2016-05-09T09:39:26.833Z
2,016
5
9
0
2,230
1
2,495
70
5
0
false
false
false
false
false
false
low
37,112,402
How to make a stop button function with a play/pause toggle and seekBar widget
<p>I have been trying to I can stop my song in my android studio app with the MediaPlayer package. I have place my song inside the app and it plays fine when I play it and pause it too. However, when I play the song or pause the song after I pressed the stop function, it unexpectedly crash the app saying "Unfortunately...
I have been trying to I can stop my song in my android studio app with the MediaPlayer package. I have place my song inside the app and it plays fine when I play it and pause it too. However, when I play the song or pause the song after I pressed the stop function, it unexpectedly crash the app saying "Unfortunately, P...
java|android
0
2016-05-09T09:40:30.883Z
2,016
5
9
0
747
2
854
78
2
1
true
false
false
false
false
false
zero
37,112,443
Espresso waiting for textview
<p>I have a service that is connecting to a Socket.IO server. It is a simple app that sends a message and it gets echoed back to the client. I have a test as follows:</p> <pre><code>@Test public void checkSendMessage() { final String testMessage = "Here is a test message"; onView(withId(R.id.textEntry)).perf...
I have a service that is connecting to a Socket.IO server. It is a simple app that sends a message and it gets echoed back to the client. I have a test as follows: [CODE] I have the server running on my local network, and in this scenario everything runs and passes. However, if I add a 3 second delay in the server, the...
android|socket.io|android-espresso
0
2016-05-09T09:42:42.007Z
2,016
5
9
0
1,922
1
940
29
3
1
true
false
false
false
false
false
zero
37,112,528
Send a SMS using SMSmanager in Dual SIM mobile?
<p>Can anyone help me. I have a script sms android. This script is working properly. but I have a problem with the dual SIM card mobile phone. My script was successfully sent messages in the SIM CARD 1. but not on the SIM card 2. Can anyone fix my script below.</p> <pre><code>package com.contohaplikasismssederhana; i...
Can anyone help me. I have a script sms android. This script is working properly. but I have a problem with the dual SIM card mobile phone. My script was successfully sent messages in the SIM CARD 1. but not on the SIM card 2. Can anyone fix my script below. [CODE]
android|sms|smsmanager|dual-sim
-2
2016-05-09T09:46:04.443Z
2,016
5
9
0
1,735
1
265
47
4
1
true
false
false
false
false
true
negative
37,112,529
BottomSheet touch area taking all the screen
<p>I've added a bottom sheet and to my view and it works normally but the touch area which I can drag the sheet is taking all the screen. the view code is looking like this</p> <p></p> <pre><code>&lt;android.support.design.widget.AppBarLayout android:id="@+id/app_bar" android:layout_width="match_parent" a...
I've added a bottom sheet and to my view and it works normally but the touch area which I can drag the sheet is taking all the screen. the view code is looking like this [CODE] I'd like to know why this behavior is there and how can I make the touch area including the bottom sheet only.
android|bottom-sheet
1
2016-05-09T09:46:10.363Z
2,016
5
9
0
426
0
287
44
2
1
true
true
false
false
false
false
low
37,112,545
java.lang.UnsupportedClassVersionError: com/google/doclava/Doclava : Unsupported major.minor version 51.0 android build
<p>I am trying to build by own AOSP from google source. I follwed the steps mentioned in the Google Documents and was successfully able to build it and flash my device with the images successfully. However, I tried building it again after making some changes (basically just added some Logs to play around with it). The ...
I am trying to build by own AOSP from google source. I follwed the steps mentioned in the Google Documents and was successfully able to build it and flash my device with the images successfully. However, I tried building it again after making some changes (basically just added some Logs to play around with it). The bui...
java|android|jvm|unsupported-class-version
2
2016-05-09T09:47:02.600Z
2,016
5
9
0
2,615
2
1,011
119
4
2
true
false
true
false
false
false
low
37,112,594
Implement click only on image not on text in custom listview
<p>I have a <code>custom Listview</code> where it contains <code>image</code> &amp; <code>text</code> and implemented the <code>OnItemClickListener</code> for list which should work only for image not for <code>text. OnItemClick</code> is working fine for image but there is a Fatal Exception when i click on text. Addit...
I have a custom Listview where it contains image & text and implemented the OnItemClickListener for list which should work only for image not for text. OnItemClick is working fine for image but there is a Fatal Exception when i click on text. Additionally image will be visible in list if it exists else it will be hide....
android|listview|onitemclicklistener|onitemclick
0
2016-05-09T09:49:28.437Z
2,016
5
9
0
139
2
679
60
4
1
true
false
false
false
false
false
zero
37,112,673
Xamarin ZXing QR Code inside tab
<p>I would like to integrate ZXing QR code scanner into my app. I am using Fragment for my tabs. For example in Tab2, how I can add a window to show the scanner view? I tried to use CustomOverlay with view but unfortunately it did not work. I also tried to use ZXingScannerFragment,but it requires Android.Support.V4.A...
I would like to integrate ZXing QR code scanner into my app. I am using Fragment for my tabs. For example in Tab2, how I can add a window to show the scanner view? I tried to use CustomOverlay with view but unfortunately it did not work. I also tried to use ZXingScannerFragment,but it requires Android.Support.V4.App wh...
android|xamarin|fragment
2
2016-05-09T09:52:58.103Z
2,016
5
9
0
240
0
598
32
3
1
true
true
false
false
false
false
low
37,112,701
java.lang.ArithmeticException: divide by zero in clearing table
<p>I am trying to clear table by following code : </p> <pre><code>int count = table_layout_acc_statement.getChildCount(); for (int i = 0; i &lt; count; i++) { View child = table_layout_acc_statement.getChildAt(i); if (child instanceof TableRow) ((ViewGroup) child...
I am trying to clear table by following code : [CODE] But I am getting the following exception : [CODE] Why am I getting this error ? How can I solve this error ?
android|logcat
0
2016-05-09T09:54:26.893Z
2,016
5
9
0
2,928
2
162
63
2
2
true
false
true
false
false
false
zero
37,112,767
Image file not received from android emulator to server
<p>I am trying to send an image from android emulator to the php server. The java file is as shown below : </p> <pre><code> public class MainActivity extends Activity implements OnClickListener { private static final int RESULT_LOAD_IMAGE = 1; private static final String SERVERADDRESS = "http://loca...
I am trying to send an image from android emulator to the php server. The java file is as shown below : [CODE] When the upload button is clicked then, I get the toast as image uploaded but the image file is not received at the php. The php code is as shown below : [CODE] What might have gone wrong ?
android
0
2016-05-09T09:57:36.797Z
2,016
5
9
0
91
3
300
55
1
2
true
false
false
false
false
false
zero
37,112,809
Smooch crashes when I press the button
<p>This is the error that I get:</p> <pre><code>05-09 11:55:10.559: E/AndroidRuntime(15809): java.lang.NoSuchFieldError: No static field Smooch_inputText of type I in class Lio/smooch/ui/R$id; or its superclasses (declaration of 'io.smooch.ui.R$id' appears in /data/app/nl.hgrams.passenger-1/base.apk) 05-09 11:55:10.55...
This is the error that I get: [CODE] This is how I init in the Application class: [CODE] And I used version: [CODE] My button only does this: [CODE]
android|input|chat|messaging|smooch
0
2016-05-09T09:59:13.587Z
2,016
5
9
0
129
2
148
38
5
4
true
false
false
false
false
false
zero