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,794,557
Jenkins failing robolectric test cases...!
<p>I am trying to build my android project on <strong>Jenkins 2.0</strong> server on <strong>Ubuntu</strong> machine.</p> <p>I am running the following commands for that purpose:-</p> <ol> <li>./gradlew clean (this is working fine)</li> <li>./gradlew build (this is failing random number of test cases)</li> </ol> <p...
I am trying to build my android project on Jenkins 2.0 server on Ubuntu machine. I am running the following commands for that purpose:- ./gradlew clean (this is working fine) ./gradlew build (this is failing random number of test cases) However I also install Jenkins 2.0 on my Windows 7 machine and run the same command...
android|jenkins|gradle
1
2016-04-22T12:59:56.470Z
2,016
4
12
4
808
1
649
42
3
2
true
false
false
false
false
false
low
36,794,606
Button for external link webview in android
<p>I have created a webview in android in which it has external links. If I click that link it redirects to another webview with a fixed header which has button. This is my XML code:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android...
I have created a webview in android in which it has external links. If I click that link it redirects to another webview with a fixed header which has button. This is my XML code: [CODE] Now my problem is My button is getting displayed on both the webview which shouldn't. My contents in the second webview is getting ov...
android|webview
0
2016-04-22T13:01:59.610Z
2,016
4
13
4
95
1
405
43
2
1
true
false
false
false
false
false
zero
36,794,631
OrientationChange handling Activity, Fragment, AsyncTask and DialogFragments?
<p>Hi there I'm thinking about what is the correct and best way to handle <code>Activity</code>, <code>Fragment</code>, <code>AsyncTask</code> and <code>DialogFragments</code> together. </p> <ul> <li><p>My current state is that I start my <code>Activity</code> and replace its ContentView with my <code>Fragment</code>,...
Hi there I'm thinking about what is the correct and best way to handle Activity , Fragment , AsyncTask and DialogFragments together. My current state is that I start my Activity and replace its ContentView with my Fragment , in which I got an EditText and one Button . Tapping my Button executes an AsyncTasks which Requ...
android|android-asynctask|android-dialogfragment|android-orientation|android-configchanges
1
2016-04-22T13:02:53.647Z
2,016
4
13
4
250
1
1,352
77
5
2
true
false
false
false
false
false
low
36,794,726
I can't install Android Studio (JDK can't be found)
<p>I can't install Android Studio because when I start the installation, <br>it can't detect a JDK. When I set manually the path (<code>C:\Program Files\Java\jdk1.7.0_79</code>) and click Next, it says that he still could not detect a valid JDK. I have done what it asks: verify the version with <code>java.exe -version<...
I can't install Android Studio because when I start the installation, it can't detect a JDK. When I set manually the path ( C:\Program Files\Java\jdk1.7.0_79 ) and click Next, it says that he still could not detect a valid JDK. I have done what it asks: verify the version with java.exe -version and this is OK, I have a...
java|android|android-studio
1
2016-04-22T13:07:17.810Z
2,016
4
13
4
1,251
2
1,212
51
3
0
false
false
false
false
false
false
low
36,794,740
PercentRelativeLayout inside ScrollView
<p>I have created a layout using a <code>ScrollView</code> which has a <code>PercentRelativeLayout</code> as its child. It doesn't work on Lollipop and older devices but works fine on Marshmallow devices. Please check the code below:</p> <pre><code>&lt;ScrollView android:id="@+id/scrollView" android:layout_wid...
I have created a layout using a ScrollView which has a PercentRelativeLayout as its child. It doesn't work on Lollipop and older devices but works fine on Marshmallow devices. Please check the code below: [CODE] And also I android:fillViewport="true" , it doesn't show anything in Lollipop and older Android versions. Un...
android|android-5.0-lollipop|android-6.0-marshmallow|android-scrollview|android-percentrelativelayout
16
2016-04-22T13:07:47.453Z
2,016
4
13
4
2,277
4
849
39
5
1
true
false
false
false
true
false
medium
36,794,763
Null pointer exception for TextView?
<p>So i'm trying to display a <code>TextView</code> whenever a user clicks an item on a <code>ListView</code>. However, when i click a list item, i get this error...</p> <p><code>java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null obj...
So i'm trying to display a TextView whenever a user clicks an item on a ListView . However, when i click a list item, i get this error... java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference . What causes this to occur...
java|android|textview
0
2016-04-22T13:08:55.113Z
2,016
4
13
4
63
0
669
36
3
3
true
true
false
false
false
false
zero
36,794,813
Adding and using a new dependency (android-percent-support)
<p>Im trying to use <code>com.android.support:percent:22.2.0</code> as shown here: <a href="https://github.com/JulienGenoud/android-percent-support-lib-sample" rel="nofollow">https://github.com/JulienGenoud/android-percent-support-lib-sample</a></p> <p>I have tried adding the dependency to the build.gradle in many for...
Im trying to use com.android.support:percent:22.2.0 as shown here: https://github.com/JulienGenoud/android-percent-support-lib-sample I have tried adding the dependency to the build.gradle in many forms but i still get an error: no resource identifier found for attribute layout_heightpercent when i try to use the sampl...
android|dependencies|build.gradle
0
2016-04-22T13:11:54.093Z
2,016
4
13
4
327
2
1,093
59
3
1
true
false
false
false
false
false
zero
36,794,856
Saving last position of a listView when clicking back arrow..!
<p>I have a Fragment with list of Contacts that is driven from API. Clicking on particular contact will go to Contact Detail Activity.The Problem now is, when clicking on the back arrow( ie., to go to the Contact List page) list is displayed from the first position rather than from last selected contact.But when click...
I have a Fragment with list of Contacts that is driven from API. Clicking on particular contact will go to Contact Detail Activity.The Problem now is, when clicking on the back arrow( ie., to go to the Contact List page) list is displayed from the first position rather than from last selected contact.But when clicking ...
android
0
2016-04-22T13:13:40.470Z
2,016
4
13
4
66
0
468
62
1
1
true
true
false
false
false
false
zero
36,794,931
UUID.randomUUID().toString() on update or reinstallation
<p>It say that "UUIDs can be generated on first run, saved to a file and then checked at any time to uniquely identify installations."</p> <p>But when I reinstall my app by connecting my device on USB, transfer the apk and install it on the file explorator by clicking on the file.apk. The UUID doesn't change why ?</p>...
It say that "UUIDs can be generated on first run, saved to a file and then checked at any time to uniquely identify installations." But when I reinstall my app by connecting my device on USB, transfer the apk and install it on the file explorator by clicking on the file.apk. The UUID doesn't change why ? And does it ch...
android|uuid
0
2016-04-22T13:17:27.977Z
2,016
4
13
4
794
0
457
56
2
2
true
true
false
false
false
false
zero
36,794,959
Adding images to custom Listview
<p>Hello I just need to finish my custom list view by adding an array of image along the left hand side. Currently I have added text which works perfectly fine just need to add images as well. I'm guess you set them up as an array similar to what I have already done for text but just need to see how its been done. </p...
Hello I just need to finish my custom list view by adding an array of image along the left hand side. Currently I have added text which works perfectly fine just need to add images as well. I'm guess you set them up as an array similar to what I have already done for text but just need to see how its been done. Listvie...
android|listview|android-custom-view
0
2016-04-22T13:18:53.787Z
2,016
4
13
4
56
1
486
32
3
2
true
false
false
false
false
false
zero
36,795,061
android, app paint how to fill
<p>I want to use fill method on a shapes like a circle.</p> <p>It's working on one side but when I try to fill left and right the app stops working.</p> <p>I don't know what I am doing wrong; maybe there is easy way.</p> <p>Here is the fill/draw func (this is not the full paint code) code:</p> <pre><code>@Overrid...
I want to use fill method on a shapes like a circle. It's working on one side but when I try to fill left and right the app stops working. I don't know what I am doing wrong; maybe there is easy way. Here is the fill/draw func (this is not the full paint code) code: [CODE]
java|android
0
2016-04-22T13:22:49.167Z
2,016
4
13
4
45
1
273
30
2
1
true
false
false
false
false
false
zero
36,795,327
Error when compiling app with Xamarin Facebook API
<p>I've only just recently started using Xamarin, so please excuse my ignorance.</p> <p>I have an application which uses Facebook to log users in, and might (depending on the customer) post achievements, etc. to Facebook.</p> <p>So far, so good, the UI is in tact, a bit laggy, mind you, but it works nonetheless. I no...
I've only just recently started using Xamarin, so please excuse my ignorance. I have an application which uses Facebook to log users in, and might (depending on the customer) post achievements, etc. to Facebook. So far, so good, the UI is in tact, a bit laggy, mind you, but it works nonetheless. I now wanted to add the...
android|facebook|api|xamarin|xamarin.android
0
2016-04-22T13:34:10.423Z
2,016
4
13
4
237
1
1,534
50
5
0
false
false
false
false
false
false
zero
36,795,573
Fullscreen android
<p>When i click a button, i have to set my activity fullscreen. searching in internet i found the code for do this.</p> <pre><code>container.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM...
When i click a button, i have to set my activity fullscreen. searching in internet i found the code for do this. [CODE] But i do something wrong because status bar and navigation bar disappears and my activity ramain with the same height. before after This is the video.xml [CODE] And this content_video.xml [CODE] Can s...
android|android-fullscreen
0
2016-04-22T13:47:10.227Z
2,016
4
13
4
164
3
348
18
2
3
true
false
false
false
false
false
zero
36,795,634
findViewById returns null on list view
<p>So for some unknown reason (I've also searched around, checked if I wasn't typing the wrong ID or <a href="https://stackoverflow.com/questions/3264610/findviewbyid-returns-null">calling it before setting the view</a>), the call <em>findViewById</em> returns null when I try to get the list view of a navigation drawer...
So for some unknown reason (I've also searched around, checked if I wasn't typing the wrong ID or calling it before setting the view ), the call findViewById returns null when I try to get the list view of a navigation drawer. I'm also currently following this tutorial , on the section "Inicialize the drawer list". How...
android|listview|nullreferenceexception|findviewbyid
0
2016-04-22T13:49:59.627Z
2,016
4
13
4
428
1
633
38
4
3
true
false
false
false
false
false
zero
36,795,660
Android broadcast receiver + static variable
<p>I am working with a broadcast receiver and wondering how it works. I have the following code to catch the state of a phone call:</p> <pre><code>private static String mLastState="Unknown last state"; private String phoneState="Unknown phone state"; private static boolean incomingCall=false; @Override public void o...
I am working with a broadcast receiver and wondering how it works. I have the following code to catch the state of a phone call: [CODE] Incoming call logs: [CODE] The logs confused me (specifically, the state of the incoming call static variable). When we have [RINGING] , Broadcast initializes all variables ( incomingC...
java|android|static|broadcastreceiver
-1
2016-04-22T13:51:33.450Z
2,016
4
13
4
950
1
908
44
4
2
true
false
false
false
false
true
negative
36,795,704
Set new TextView to fragment in AsyncTask
<p>I want to add a new <code>TextView</code> inside my Fragment. This is my code in the asynctask backgroundjob class: </p> <pre><code>protected void onPostExecute(String json) { try { JSONObject jsonObject = new JSONObject(json); JSONArray jsonArray = jsonObject.getJSONArray("server_response"); ...
I want to add a new TextView inside my Fragment. This is my code in the asynctask backgroundjob class: [CODE] And this is my fragment class: [CODE] NOTE : Home fragment and TopicBackgroundTask is two different class This doesn't work for me. Can anyone tell me why?
java|android|android-layout|android-fragments|android-asynctask
1
2016-04-22T13:53:32.377Z
2,016
4
13
4
283
2
265
41
5
2
true
false
false
false
false
false
low
36,795,758
Button not working in my Android app as expected
<p>I am new to Android programming, and I am trying to send the text from two <code>editText</code> field from my android app to raspberry pi using PHP and JSON. Everything is working fine and the data can be viewed in the database but the only problem is when I click on the SEND button in my app it does nothing. But w...
I am new to Android programming, and I am trying to send the text from two editText field from my android app to raspberry pi using PHP and JSON. Everything is working fine and the data can be viewed in the database but the only problem is when I click on the SEND button in my app it does nothing. But when I click anyw...
java|android
0
2016-04-22T13:55:33.827Z
2,016
4
13
4
117
3
523
48
2
2
true
false
false
false
false
false
zero
36,795,917
Visual Studio - Cannot start Android SDK Manager
<p>I've done an update on SDK Manager and after restarting Visual Studio I cannot launch anything related to Xamarin Android</p> <pre><code>[I:sdk]: Looking for Android SDK.. [I:sdk]: Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found: Path contains adb.exe in \...
I've done an update on SDK Manager and after restarting Visual Studio I cannot launch anything related to Xamarin Android [CODE] What should I do please.... kind of desperate..
android|visual-studio-2013|xamarin|android-sdk-manager
1
2016-04-22T14:02:22.363Z
2,016
4
14
4
3,966
1
176
48
4
1
true
false
true
false
false
false
low
36,795,953
Button over a preferences ListView in ICS and Jelly Bean (API 15 / 16)
<p>I load a preferences screen with the following layout:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/export_main_frame" android:layout_width="match_parent" android:layout_height="match_parent...
I load a preferences screen with the following layout: [CODE] The RecyclerView is the list where an XML preferences file is inflated. The rest of the layout, the FAB and the ImageView, are just additions to customize the preferences screen. All of this works perfectly well on the latest Android versions, but on ICS and...
android|listview
1
2016-04-22T14:04:06.070Z
2,016
4
14
4
47
1
882
70
2
1
true
false
false
false
false
false
low
36,795,966
Compiling Qt for Android, not "Qt for Android"
<p>Let me explain the cryptic title: I am currently having a lot of trouble trying to compile Qt 5.6 in order to use it on Android. What I don't want to do is compile Qt for writing Android apps, as outlined in the Qt <a href="https://wiki.qt.io/Android" rel="nofollow">wiki</a> and <a href="http://doc.qt.io/qt-5/androi...
Let me explain the cryptic title: I am currently having a lot of trouble trying to compile Qt 5.6 in order to use it on Android. What I don't want to do is compile Qt for writing Android apps, as outlined in the Qt wiki and docs . I have no problems getting that to work, but it's not what I want. Instead, my goal is to...
android|qt|cross-compiling
0
2016-04-22T14:04:51.580Z
2,016
4
14
4
552
0
1,217
46
3
2
true
true
false
false
false
false
zero
36,795,987
Get frequency (HTML5 AnalyserNode) from audio file recorded with Cordova Media plugin
<p>I'm trying to write a small Cordova app (mainly on Android 6 for now) which records and saves an audio file using the Cordova Media-Plugin. </p> <pre><code>var media; var mediaFile = "mediafile.wav" [...] media = new Media('file:///sdcard/' + mediaFile); media.startRecord(); [...] media.stopRecord(); media.rel...
I'm trying to write a small Cordova app (mainly on Android 6 for now) which records and saves an audio file using the Cordova Media-Plugin. [CODE] So far so good - this works just fine. I am able to record, save and play back the file. The next step would be to analyze what main frequencies there are in said audio file...
android|html|cordova|audiocontext
5
2016-04-22T14:05:58.620Z
2,016
4
14
4
432
0
851
85
4
4
true
true
false
false
false
false
low
36,796,099
Unable to fetch file path from uri in Android M
<p>I am able to get the files path from URI fetched from notification bar but I could only fetch it from URI received from Android Snackbar.</p> <p>Current function used to fetch the path:</p> <p>Note: This works fine for pre-Marshmallow Android versions.</p> <pre class="lang-java prettyprint-override"><code>private...
I am able to get the files path from URI fetched from notification bar but I could only fetch it from URI received from Android Snackbar. Current function used to fetch the path: Note: This works fine for pre-Marshmallow Android versions. [CODE] In android M the URI obtained while accessing the from notification bar an...
android|android-6.0-marshmallow|android-snackbar|snackbar|android-6.0.1-marshmallow
2
2016-04-22T14:10:26.317Z
2,016
4
14
4
1,135
1
534
47
5
2
true
false
false
false
false
false
low
36,796,103
timePicker AM and PM swapped and brings a negative minute number
<p>I have setup the <code>timePicker</code> as <code>24 hour</code> mode, however if the time is currently <code>16:05</code> and I choose <code>16:10</code> from the <code>timePicker</code>, it says <code>12 hours and 5 minutes</code> instead of <code>5 minutes</code>. How can I easily swap the <code>AM</code> and <co...
I have setup the timePicker as 24 hour mode, however if the time is currently 16:05 and I choose 16:10 from the timePicker , it says 12 hours and 5 minutes instead of 5 minutes . How can I easily swap the AM and PM ? In addition if I choose the same hour with minutes being smaller than current minutes , I will have an ...
c#|android|timepicker
0
2016-04-22T14:10:38.603Z
2,016
4
14
4
161
1
381
64
3
1
true
false
false
false
false
false
zero
36,796,122
Refer to multiple firebase database in the same project
<p>I'm on an andoird project and I need to connect my app to 2 firebase databases. The problem is when i lunch the app, it crashes. I tried some suggestions i found here like: <a href="https://stackoverflow.com/questions/30198186/firebase-authentication-limits">Firebase Authentication Limits</a> but it didn't work. How...
I'm on an andoird project and I need to connect my app to 2 firebase databases. The problem is when i lunch the app, it crashes. I tried some suggestions i found here like: Firebase Authentication Limits but it didn't work. How can i do that please? thx in advance [CODE] The writing methode works well, but the reading ...
android|firebase|firebase-realtime-database
1
2016-04-22T14:11:25.370Z
2,016
4
14
4
392
0
331
55
3
1
true
true
false
false
false
false
low
36,796,131
2 or more rectangles with Canvas or using CustomDrawableView class android
<p>I want more Rectangles in the same <code>Canvas</code>, so I show them in the same <code>activity</code>. But using a special class (<code>CustomDrawableView</code>) when I add the second <code>SetContentView(my_second_Drawable)</code> my activity is full white. Instead, using <code>my_canvas.drawRect(x,y,width,heig...
I want more Rectangles in the same Canvas , so I show them in the same activity . But using a special class ( CustomDrawableView ) when I add the second SetContentView(my_second_Drawable) my activity is full white. Instead, using my_canvas.drawRect(x,y,width,height,my_paint) none rectangle appears. I search into Web bu...
android|android-canvas
0
2016-04-22T14:11:42.333Z
2,016
4
14
4
59
0
404
74
2
2
true
true
false
false
false
false
zero
36,796,226
Android Action bar in all activities except the main activity
<p>I'm new in android and I'm trying to add a Navigation Drawer (only in one activity) to my project. the problem is that when I added the drawer I got an error. To solve that problem I changed my app style to Theme.AppCompat.NoActionBar, but doing so removes all the others action bar in other activity.</p> <p>I want ...
I'm new in android and I'm trying to add a Navigation Drawer (only in one activity) to my project. the problem is that when I added the drawer I got an error. To solve that problem I changed my app style to Theme.AppCompat.NoActionBar, but doing so removes all the others action bar in other activity. I want to use anot...
android
1
2016-04-22T14:15:57.440Z
2,016
4
14
4
1,507
3
762
61
1
2
true
false
false
false
false
false
low
36,796,351
Can't get the correct gson response kitkat devices
<p>I have problem to get the json response in 4.42. Actually am using Volley and Gson for taking the Web api. I got the correct response in my Lollipop, Marshmallow and kitkat 4.3. But in the case kitkat 4.4.2 and below versions I got the error. My Log cat is:</p> <pre><code>04-22 18:25:48.893 4799-4799/graffititechno...
I have problem to get the json response in 4.42. Actually am using Volley and Gson for taking the Web api. I got the correct response in my Lollipop, Marshmallow and kitkat 4.3. But in the case kitkat 4.4.2 and below versions I got the error. My Log cat is: [CODE]
android|json|gson|android-volley
0
2016-04-22T14:22:34.237Z
2,016
4
14
4
238
0
264
50
4
1
true
true
false
false
false
false
zero
36,796,383
How can I make my list thread safe in order to use it with a custom ArrayAdapter?
<p>In my app, I am backing a ListView with a LinkedList. I am using an custom ArrayAdapter in order to fill the list:</p> <pre><code>public class CustomArrayAdapter extends ArrayAdapter&lt;Message&gt; { Context context; int resource; public CustomArrayAdapter(Context context, int resource, List&lt;Messag...
In my app, I am backing a ListView with a LinkedList. I am using an custom ArrayAdapter in order to fill the list: [CODE] I realized, however, that LinkedList is not thread safe. I would like to use ConcurrentLinkedQueue or LinkedBlockingDeque , but they only return arrays, and the adapter requires a List. Is there any...
android|android-arrayadapter
0
2016-04-22T14:23:52.360Z
2,016
4
14
4
167
2
482
81
2
1
true
false
false
false
false
false
zero
36,796,472
Retrofit and Jackson: JsonParseException on String response
<p>I am using retrofit(<strong>version 1.9</strong>) and jackson(<strong>jackson-converter 1.9</strong>). We have API which often sends response in form of raw Strings.</p> <p>Our api client is the following:</p> <pre><code>RestAdapter.Builder builder = new RestAdapter.Builder() .setEndpoint(API_URL) ...
I am using retrofit( version 1.9 ) and jackson( jackson-converter 1.9 ). We have API which often sends response in form of raw Strings. Our api client is the following: [CODE] Here is the basic request: [CODE] Here is the http response we got: [CODE] However execution continues in public void failure(RetrofitError erro...
android|jackson|retrofit
2
2016-04-22T14:27:48.520Z
2,016
4
14
4
1,610
1
427
59
3
4
true
false
false
false
false
false
low
36,796,610
Background change on app crashes my app
<p>I'm working on an app just for fun, and im still very new to the android world. But i wanted to add a function to my app which changes the background color to black or white, and the text color to black or white aswell. But the problem is when i open the app, it immediatly crashes. This is the MainActivity.java code...
I'm working on an app just for fun, and im still very new to the android world. But i wanted to add a function to my app which changes the background color to black or white, and the text color to black or white aswell. But the problem is when i open the app, it immediatly crashes. This is the MainActivity.java code fo...
android|onclick|crash|onclicklistener
-3
2016-04-22T14:33:39.100Z
2,016
4
14
4
1,510
1
732
39
4
1
true
false
false
false
false
true
negative
36,796,895
Is it possible to add a ScrollView to a AppBarLayout
<p>I need to work with two <code>ScrollView</code>s. One inside <code>AppBarLayout</code> and the other outside.</p> <p>For the outside <code>ScrollView</code>, I'm using a <code>NestedScrollView</code> with the <code>appbar_scrolling_view_behavior</code> and it's working correctly.</p> <p>For the inside, I'm using a...
I need to work with two ScrollView s. One inside AppBarLayout and the other outside. For the outside ScrollView , I'm using a NestedScrollView with the appbar_scrolling_view_behavior and it's working correctly. For the inside, I'm using an Scrollview with app:layout_scrollFlags="scroll|enterAlways|snap" My problem is t...
android|android-scrollview|android-coordinatorlayout|android-nestedscrollview
5
2016-04-22T14:45:59.697Z
2,016
4
14
4
2,677
1
529
52
4
1
true
false
true
false
false
false
low
36,796,929
Android studio : Integrating googlemap as fragment : Error inflating class fragment
<p>Im trying to develop an android app with a slide menu who load different fragments. One fragment is a google map. </p> <p>When app is launching, map fragment is loading well. But when I swich fragment using slidemenu and come back to the map fragment, the application crash.</p> <p>Any idea ? Thanks a lot</p> <p>I...
Im trying to develop an android app with a slide menu who load different fragments. One fragment is a google map. When app is launching, map fragment is loading well. But when I swich fragment using slidemenu and come back to the map fragment, the application crash. Any idea ? Thanks a lot I got this message error in l...
java|android|google-maps|android-fragments
-1
2016-04-22T14:47:49.177Z
2,016
4
14
4
195
1
569
83
4
6
true
false
false
false
false
true
negative
36,796,970
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=login_filter (has extras) }
<pre><code>android.content.ActivityNotFoundException: No Activity found to handle Intent { act=login_filter (has extras) } at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1798) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1512) at android.app.Activity.s...
[CODE] Well, I am trying to run this project, but this error is appearing. I am not sure why Intent is not working. This is my Main: [CODE] This is my register: [CODE] Android manifest: [CODE]
java|android|android-sqlite
0
2016-04-22T14:49:26.977Z
2,016
4
14
4
1,311
1
192
111
3
4
true
false
false
false
false
false
zero
36,796,983
Tag tag = intent.getParcelableArrayExtra(NfcAdapter.EXTRA_TAG);
<p>After adding NFC functionality to my app, I have come across a strange error. I have followed many guides and tutorials and they have this line,</p> <pre><code>Tag tag = intent.getParcelableArrayExtra(NfcAdapter.EXTRA_TAG); </code></pre> <p>Which does'nt work because Tag needs a Tag but it is receiving a Parcelabl...
After adding NFC functionality to my app, I have come across a strange error. I have followed many guides and tutorials and they have this line, [CODE] Which does'nt work because Tag needs a Tag but it is receiving a Parcelable object. Im not sure if im missing something or why others seems to work but not mine. Full m...
android|android-intent|nfc|parcelable
1
2016-04-22T14:50:02.957Z
2,016
4
14
4
1,887
1
332
63
4
2
true
false
false
false
false
false
low
36,797,008
Android NSD onServiceFound() not getting called
<p>First time trying to do IP Discovery in Android. I used the <a href="http://developer.android.com/training/connect-devices-wirelessly/nsd.html#discover" rel="noreferrer">http://developer.android.com/training/connect-devices-wirelessly/nsd.html#discover</a> and wrote the code. I am not registering the device, just D...
First time trying to do IP Discovery in Android. I used the http://developer.android.com/training/connect-devices-wirelessly/nsd.html#discover and wrote the code. I am not registering the device, just Discovering Services in the network. When I run the project in emulator or device the onDiscoveryStarted() gets called,...
android|nsd
7
2016-04-22T14:51:28.023Z
2,016
4
14
4
2,543
4
435
47
2
1
true
false
false
false
false
false
medium
36,797,021
How can I define different activities flows in my app using reusable activities?
<p>So, hopefully this question is not vaguely described, my scenario is the following:</p> <p>In my app I have three flows (evidently could be more in the future, but I have to deliver this app asap to meet the requirements and as usual make my best to have an strong foundation for the guy that come next to me) so, in...
So, hopefully this question is not vaguely described, my scenario is the following: In my app I have three flows (evidently could be more in the future, but I have to deliver this app asap to meet the requirements and as usual make my best to have an strong foundation for the guy that come next to me) so, in those thre...
android|android-intent|android-activity|android-actionbar
1
2016-04-22T14:51:52.367Z
2,016
4
14
4
85
1
1,981
80
4
3
true
false
false
false
false
false
low
36,797,352
How to programmatically prevent "conflicting provider" message
<p>Can anybody tell me how I can install different builds for different flavors on one device without getting a "duplicate provider" error message neither in PlayStore nor in AndroidStudio?</p> <p>I have different flavors for different countries in my app and it's annoying to always uninstall the app before installing...
Can anybody tell me how I can install different builds for different flavors on one device without getting a "duplicate provider" error message neither in PlayStore nor in AndroidStudio? I have different flavors for different countries in my app and it's annoying to always uninstall the app before installing another on...
android|android-contentprovider|android-build-flavors|android-variants|android-flavors
0
2016-04-22T15:05:56.073Z
2,016
4
15
4
398
1
825
62
5
4
true
false
false
false
false
false
zero
36,797,407
Issue with MIUI (Xiaomi) marshmallow Dynamic Permissions
<p>MIUI has a very weird issue related to Permissions, Pre Marshmallow the Device had the concept of Dynamic Permissions,which was good, we can simply call the method and OS took care of showing Alert for user to grant permission. But Once the OS is Updated to Marshmallow it has issue displaying its custom Permission a...
MIUI has a very weird issue related to Permissions, Pre Marshmallow the Device had the concept of Dynamic Permissions,which was good, we can simply call the method and OS took care of showing Alert for user to grant permission. But Once the OS is Updated to Marshmallow it has issue displaying its custom Permission aler...
android
1
2016-04-22T15:08:41.410Z
2,016
4
15
4
767
1
791
56
1
2
true
false
false
false
false
false
low
36,797,534
Admob crash my app
<p>I am trying to add ads to my android app. Its going well, and I see the layout showing up. The problem is, when I try to request the app through the onCreate function in my main java file it crashes.</p> <p>Here is the code I am adding when it crashes: </p> <p>Xml file</p> <pre><code>&lt;com.google.android.gms.ad...
I am trying to add ads to my android app. Its going well, and I see the layout showing up. The problem is, when I try to request the app through the onCreate function in my main java file it crashes. Here is the code I am adding when it crashes: Xml file [CODE] Java file: [CODE] Manifest file: [CODE] Please help me
android|admob
0
2016-04-22T15:14:30.263Z
2,016
4
15
4
343
0
316
18
2
3
true
true
false
false
false
false
zero
36,797,869
Nested RecyclerView with wrap_content and without nested scrolling
<p>Is it possible to have a nested <code>RecyclerView</code>s with following criterias?</p> <ol> <li>The outer <code>RecyclerView</code> is attached programmatically near the top of the view hierarchy of the <code>Activity</code></li> <li>The outer <code>RecyclerView</code> is scrollable</li> <li>The inner <code>Recy...
Is it possible to have a nested RecyclerView s with following criterias? The outer RecyclerView is attached programmatically near the top of the view hierarchy of the Activity The outer RecyclerView is scrollable The inner RecyclerView lives inside a custom view which is also attached programatically The inner Recycler...
android|imageview|android-recyclerview|android-gridlayout|android-glide
3
2016-04-22T15:31:05.237Z
2,016
4
15
4
515
0
1,831
66
5
1
true
true
false
false
false
false
low
36,797,897
Duplicate Files Copied-Bouncy Castle(bcpkix-jdk15on-1.48.jar)-How can I resolve that?
<p>So I'm getting this annoying message(full message at the bottom at the message),and I have no idea which libraries include those bouncycastle files (I didn't include them myself directly),I'm guessing that two of them include different versions of the same files? :P</p> <p>How can I know which packages/libraries in...
So I'm getting this annoying message(full message at the bottom at the message),and I have no idea which libraries include those bouncycastle files (I didn't include them myself directly),I'm guessing that two of them include different versions of the same files? :P How can I know which packages/libraries included thos...
java|android|gradle
0
2016-04-22T15:31:59.207Z
2,016
4
15
4
1,335
0
908
85
3
2
true
true
false
false
false
false
zero
36,797,900
Custom Spinner, Show Colored TextViews
<p>I want to make a <code>Spinner</code> to select colors, and I want every element of it to be a circle View with some color [colors are in Styles]</p> <p>So i am trying to make a Custom Spinner adapter</p> <pre><code>class CustomSpinnerAdapter extends ArrayAdapter&lt;Integer&gt; { private Context mContext; ...
I want to make a Spinner to select colors, and I want every element of it to be a circle View with some color [colors are in Styles] So i am trying to make a Custom Spinner adapter [CODE] and the OnCreate code is: [CODE] but this Code throws a nullPointerExption So how to fix This? Edit , The Error Log: [CODE]
java|android|nullpointerexception|android-spinner
1
2016-04-22T15:32:04.097Z
2,016
4
15
4
221
1
311
38
4
3
true
false
false
false
false
false
low
36,797,972
Working with videoview inside Recyclerview
<p>I want to insert videoview to my recyclerview.I have url of view,but when I tried to do this,I see black figure of the videoview inside my recyclerview.I want to see video but not playing,just stopped video. my adapter:</p> <pre><code>public class RecyclerViewAdapter extends RecyclerView.Adapter&lt;RecyclerViewAdap...
I want to insert videoview to my recyclerview.I have url of view,but when I tried to do this,I see black figure of the videoview inside my recyclerview.I want to see video but not playing,just stopped video. my adapter: [CODE] enter image description here
android|android-recyclerview|android-videoview
3
2016-04-22T15:35:14.400Z
2,016
4
15
4
5,036
1
255
42
3
1
true
false
true
false
false
false
low
36,798,105
HC 05 Bluetooth Module Not Connecting with Android
<p>I am doing a project Smart cane Companion for Blind people to guide them to walk avoiding the obstacle in their path. It involves pairing Android phone with the HC 05 bluetooth module. The HC 05 bluetooth module is connected to Arudino UNO board. The HC 05 is not connecting with Android. Here is the connect code th...
I am doing a project Smart cane Companion for Blind people to guide them to walk avoiding the obstacle in their path. It involves pairing Android phone with the HC 05 bluetooth module. The HC 05 bluetooth module is connected to Arudino UNO board. The HC 05 is not connecting with Android. Here is the connect code that I...
java|android|bluetooth|arduino
0
2016-04-22T15:41:44.973Z
2,016
4
15
4
3,580
1
729
50
4
1
true
false
true
false
false
false
zero
36,798,217
How to display a listview with only matched items while typing than all (unmatched)items at once?
<p>The list loads with all the strings , and when matched , shows the matched items . But , I want that list shows only when search is typed in , and the list has only the items searched for .</p> <pre><code>package com.example.searchlistview; import java.io.BufferedReader; import java.io.InputStream; import java.io....
The list loads with all the strings , and when matched , shows the matched items . But , I want that list shows only when search is typed in , and the list has only the items searched for . [CODE] After the above code , I tried , setting the visibility of the listview to be VISIBILE only when a match is found . It is w...
java|android|listview|android-arrayadapter|searchview
-3
2016-04-22T15:47:08.030Z
2,016
4
15
4
373
2
605
97
5
2
true
false
false
false
false
true
negative
36,798,224
Android 5.1 real device - service killed but NOT restarted in spite of using START_STICKY
<p>I have created a simple service and calling it from an activity with startService(intent). I am returning START_STICKY from my service's onStartCommand(). I want the service to keep running even if the activity is closed or removed from task list. When I test on emulator it is working fine - service is restarted aft...
I have created a simple service and calling it from an activity with startService(intent). I am returning START_STICKY from my service's onStartCommand(). I want the service to keep running even if the activity is closed or removed from task list. When I test on emulator it is working fine - service is restarted after ...
android|android-activity|service|lifecycle|restart
3
2016-04-22T15:47:24.807Z
2,016
4
15
4
445
0
1,556
89
5
0
false
true
false
false
false
false
low
36,798,398
My bitmap turns black with canvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.MULTIPLY) Android
<p>I have an Activity that load an image from a URL using Picasso Library. </p> <p>This image is larger than the screen, which is why in the method "onTouch" implement a code to scroll the image by simulating a map.</p> <p>The problem I have is that I draw circles on that image, every time I click on screen I should ...
I have an Activity that load an image from a URL using Picasso Library. This image is larger than the screen, which is why in the method "onTouch" implement a code to scroll the image by simulating a map. The problem I have is that I draw circles on that image, every time I click on screen I should paint a circle and e...
android|bitmap|android-imageview|android-canvas|bitmapimage
0
2016-04-22T15:57:13.707Z
2,016
4
15
4
487
1
792
96
5
4
true
false
false
false
false
false
zero
36,798,447
Android Grdiview not displaying correctly
<p>We have built an online shopping app.</p> <p>We have two layouts for gridview. The first one:</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:...
We have built an online shopping app. We have two layouts for gridview. The first one: [CODE] And the second one for each gridview cell: [CODE] The problem is that in some devices the gridview is displayed correctly like this and the ratio is ok. gridview is displayed correctly on some devices but in several other devi...
android|gridview|resolution
0
2016-04-22T15:59:13.590Z
2,016
4
15
4
43
2
604
41
3
2
true
false
false
false
false
false
zero
36,798,454
Android studio 1 button 2 event
<p>I have an ImageView as a button. I want it to if I click it, play a sound and switch to an another activity. In alone it works perfectly, but I cant mix them, it can only play sound, or switch activity. Activity switch code:</p> <pre><code> public void imagebutton (View v) { Intent startNewActivity = new Int...
I have an ImageView as a button. I want it to if I click it, play a sound and switch to an another activity. In alone it works perfectly, but I cant mix them, it can only play sound, or switch activity. Activity switch code: [CODE] And the sound code: [CODE] Thanks.
android
1
2016-04-22T15:59:38.623Z
2,016
4
15
4
51
4
266
31
1
2
true
false
false
false
false
false
low
36,798,471
Applying a Style by code to a button
<p>I´m coding a app where I have to show buttons for each Item from BD I get, so I created a fragment that contains a ScrollView and inside the Scroll a LinearLayout.</p> <p>Also I´ve created my own style for the button (it has a "+" icon on the left): </p> <pre><code>&lt;style name="myButtonStyle" parent="@android:s...
I´m coding a app where I have to show buttons for each Item from BD I get, so I created a fragment that contains a ScrollView and inside the Scroll a LinearLayout. Also I´ve created my own style for the button (it has a "+" icon on the left): [CODE] So in the code what I do is to create the button with the following in...
android|xml|button|styles
1
2016-04-22T16:00:37.720Z
2,016
4
16
4
32
0
659
36
4
2
true
true
false
false
false
false
low
36,798,498
How to make Sony Xperia devices take a picture using Android
<p>At my software developing company, we are developing multiples Android apps that use the camera to take pictures. We found an unsolvable problem in two Sony devices: The <code>onActivityResult</code> method is not called by the Camera Intent, so there is no event triggered on the app to handle the image file and con...
At my software developing company, we are developing multiples Android apps that use the camera to take pictures. We found an unsolvable problem in two Sony devices: The onActivityResult method is not called by the Camera Intent, so there is no event triggered on the app to handle the image file and continue the app pr...
android|camera|android-camera|sony-xperia
4
2016-04-22T16:01:55.890Z
2,016
4
16
4
555
0
763
60
4
1
true
true
false
false
false
false
low
36,798,527
behavior_overlapTop dont work when update the library com.android.support:design to 23.2.1
<p>When update the library com.android.support:design to 23.2.1 dont work the behavior_overlapTop param. The view never is above the appbarlayout, It is always below this view. I need that my NestedScrollView are over the appBarLayout. In the previous version(23.1.1) this works perfect. Thanks to all¡¡ Here my layout:<...
When update the library com.android.support:design to 23.2.1 dont work the behavior_overlapTop param. The view never is above the appbarlayout, It is always below this view. I need that my NestedScrollView are over the appBarLayout. In the previous version(23.1.1) this works perfect. Thanks to all¡¡ Here my layout: [CO...
android|android-layout
3
2016-04-22T16:03:42.293Z
2,016
4
16
4
451
0
323
90
2
1
true
true
false
false
false
false
low
36,798,804
I do not know why that create function was not in the class extends BaseAdapter
<p>I do not know why that create function was not in the class extends BaseAdapter.</p> <p>I want pick image from gallery to imageview in custom listView.</p> <p>I try to add a function "onActivityResult" after function "getView" is not working.</p> <p>CustomList.java</p> <pre><code>public class CustomList extends ...
I do not know why that create function was not in the class extends BaseAdapter. I want pick image from gallery to imageview in custom listView. I try to add a function "onActivityResult" after function "getView" is not working. CustomList.java [CODE] But I try to add a function "onActivityResult" to the class "MainAct...
android|listview|android-studio|baseadapter
0
2016-04-22T16:19:37.977Z
2,016
4
16
4
18
1
421
79
4
2
true
false
false
false
false
false
zero
36,798,807
Android buttons null pointer
<p>I am trying to add an onClickListener to a button, but log cat outputs an error</p> <p>Here is the log cat</p> <pre><code>FATAL EXCEPTION: main Process: com.pk.a_loner, PID: 10539 java.la...
I am trying to add an onClickListener to a button, but log cat outputs an error Here is the log cat [CODE] The code below, should be fine? [CODE] and here is the xml [CODE] I checked the code, I did initialize the buttons before I add the listener, shouldn't be null? buttons also declared in xml. The app currently cras...
android|button
-4
2016-04-22T16:19:41.477Z
2,016
4
16
4
140
2
370
28
2
3
true
false
false
false
false
true
negative
36,798,903
HTTP Request is not working
<p>Every time I try some HTTPRequest examples from the internet, they won't work. So I mixed it up together, and made this: ` package com.devwild.httpwerkgodverdomme;</p> <pre><code>import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import java.io.ByteArrayOutput...
Every time I try some HTTPRequest examples from the internet, they won't work. So I mixed it up together, and made this: ` package com.devwild.httpwerkgodverdomme; [CODE] It works fine in plain JAVA (javac and compiling), but when I put it in android studio it just doesn't work an gives me this error: LOG How can I fix...
java|android|http|android-studio|httprequest
-1
2016-04-22T16:24:28.087Z
2,016
4
16
4
123
2
385
27
5
1
true
false
false
false
false
true
negative
36,798,946
Stopping video in TextureView
<p>I inserted textureview in my recyclerview,this guide I found in StackOverflow <a href="https://stackoverflow.com/a/17450763/6241501">https://stackoverflow.com/a/17450763/6241501</a> but when I try to i,plement this in my recycler view I saw that video are all playing,but I need to all video be stopped when I starti...
I inserted textureview in my recyclerview,this guide I found in StackOverflow https://stackoverflow.com/a/17450763/6241501 but when I try to i,plement this in my recycler view I saw that video are all playing,but I need to all video be stopped when I starting my app.How can I do that? TextureView class: [CODE] adapter:...
android|android-recyclerview|textureview
0
2016-04-22T16:26:50.293Z
2,016
4
16
4
1,169
0
327
29
3
2
true
true
false
false
false
false
zero
36,798,953
Communicate between Activity and ViewPager Fragments
<p>Like in the image below, I have an <code>Activity</code> with a <code>ViewPager</code> (with <code>TabLayout</code>) inside. Now I want to refresh for example the text of an <code>TextView</code> in a <code>ViewPager</code> <code>Fragment</code>. How can I do this?</p> <p><a href="http://imgur.com/0kWQCfx" rel="nof...
Like in the image below, I have an Activity with a ViewPager (with TabLayout ) inside. Now I want to refresh for example the text of an TextView in a ViewPager Fragment . How can I do this? http://imgur.com/0kWQCfx [Sorry for the image link, but I don't have enough reputations yet.] I already tried something like this:...
android|android-fragments|android-activity|android-viewpager
1
2016-04-22T16:27:13.403Z
2,016
4
16
4
645
3
589
52
4
3
true
false
false
false
false
false
low
36,798,994
Tool to convert string into XML safe string
<p>I have the following string:</p> <blockquote> <p>Here&apos;s the thing. You said a &quot;mountain lion is a lion.&quot; Is it in the same family? Yes. No one&apos;s arguing that. As someone who is a scientist who studies lions, I am telling you, specifically, in science, no one calls mountain lions &quot;lion...
I have the following string: Here&apos;s the thing. You said a &quot;mountain lion is a lion.&quot; Is it in the same family? Yes. No one&apos;s arguing that. As someone who is a scientist who studies lions, I am telling you, specifically, in science, no one calls mountain lions &quot;lions&quot;. If you want to be &qu...
android|xml|string
0
2016-04-22T16:29:18.710Z
2,016
4
16
4
49
2
1,973
43
3
0
false
false
false
false
false
false
zero
36,799,018
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.os.Bundle.getInt(java.lang.String)' on a null object reference
<p>I am trying to run an App with SQLite, but whenever I click on a button to enter some data this message appear </p> <blockquote> <p>java.lang.NullPointerException: Attempt to invoke virtual method 'int android.os.Bundle.getInt(java.lang.String)' on a null object reference at com.example.carlos.assigmentcarl...
I am trying to run an App with SQLite, but whenever I click on a button to enter some data this message appear java.lang.NullPointerException: Attempt to invoke virtual method 'int android.os.Bundle.getInt(java.lang.String)' on a null object reference at com.example.carlos.assigmentcarlos.Register$1.onClick(Register.ja...
java|android
1
2016-04-22T16:30:49.560Z
2,016
4
16
4
14,955
1
406
140
2
3
true
false
true
true
false
false
low
36,799,126
Changing EditText in Fragment that is not active
<p>Im trying to change a EditText of one fragment while another fragment is active. However nothing happens. Im doing this through a normal method-call and i suspect it has something to do with the view not being active for the fragment at the time. Though I am not getting any Exception at all. Sorry if I am missing an...
Im trying to change a EditText of one fragment while another fragment is active. However nothing happens. Im doing this through a normal method-call and i suspect it has something to do with the view not being active for the fragment at the time. Though I am not getting any Exception at all. Sorry if I am missing anyth...
java|android|android-studio
0
2016-04-22T16:36:47.217Z
2,016
4
16
4
51
1
734
48
3
2
true
false
false
false
false
false
zero
36,799,194
How to allign 2x2 radio buttons into a group in android
<p>I'm new to android please let me know what I have made wrong, I have added a radio group and next added Gridlayout to align radio buttons in 2x2 form of matrix, it aligned good, but problem is that it is not deselecting previously selected options when I select any radio button. How can I achieve this ? </p> <pre><...
I'm new to android please let me know what I have made wrong, I have added a radio group and next added Gridlayout to align radio buttons in 2x2 form of matrix, it aligned good, but problem is that it is not deselecting previously selected options when I select any radio button. How can I achieve this ? [CODE] [CODE]
android|xml
0
2016-04-22T16:39:43.983Z
2,016
4
16
4
2,531
1
318
55
2
2
true
false
false
false
false
false
zero
36,799,229
How Search from sqlite database (Addressbook example)
<p>I'm still it the process of learning android and I've tried addressbook example which basically allow a user to store contact using sqlite and it works perfectly. </p> <p>Now I'm trying to add sreachbar function that allow the user to search for a specific contact.. I've tried so many tutorials but I couldn't figur...
I'm still it the process of learning android and I've tried addressbook example which basically allow a user to store contact using sqlite and it works perfectly. Now I'm trying to add sreachbar function that allow the user to search for a specific contact.. I've tried so many tutorials but I couldn't figure it out yet...
android|sqlite
0
2016-04-22T16:41:57.183Z
2,016
4
16
4
177
1
838
53
2
4
true
false
false
false
false
false
zero
36,799,251
Same image when obtaining drawable object from resource id
<p>I have a question. I was searching how I can obtain a drawable object from a resource id. I have already found some ansers on stackoverflow, for example this one: <a href="https://stackoverflow.com/questions/7815689/how-do-you-obtain-a-drawable-object-from-a-resource-id-in-android-package?rq=1">How do you obtain a D...
I have a question. I was searching how I can obtain a drawable object from a resource id. I have already found some ansers on stackoverflow, for example this one: How do you obtain a Drawable object from a resource id in android package? However for some reason when I use this code I always get the same image, while I ...
java|android|android-studio|imageview|android-drawable
0
2016-04-22T16:43:20.343Z
2,016
4
16
4
324
1
573
58
5
1
true
false
false
false
false
false
zero
36,799,345
Getting Phone Number and Name from Contacts ListView
<p>I am trying to get the phone number and name from my contacts listview. This is what I have so far:</p> <pre><code>ListView lv; Cursor cursor1; Context context; String phoneNumberStr; @Override protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout....
I am trying to get the phone number and name from my contacts listview. This is what I have so far: [CODE] This is to only get the number, but I would also like to get the name. This is what the logcat says: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTex...
java|android|listview|android-studio
0
2016-04-22T16:49:33.410Z
2,016
4
16
4
253
1
1,459
52
4
1
true
false
false
false
false
false
zero
36,799,424
Paypal service is not starting (sandbox account), am getting below error
<p>I have an activity named sample activity.From that activity i opened an intent, that was navigationlayout1 activity, which had a paypal service. Oncreate this service should be added like they(paypal) done in their example. I have not had this problem before when i was using no multidex option.</p> <p>I got an erro...
I have an activity named sample activity.From that activity i opened an intent, that was navigationlayout1 activity, which had a paypal service. Oncreate this service should be added like they(paypal) done in their example. I have not had this problem before when i was using no multidex option. I got an error like "exi...
android|paypal|paypal-sandbox|android-multidex
4
2016-04-22T16:54:02.827Z
2,016
4
16
4
439
1
875
72
4
3
true
false
false
false
false
false
low
36,799,512
Application (WiFi connections) doesn't work anymore on Android 6.0 Marshmallow
<p>My application stopped working once I upgraded to Marshmallow, it was supposed to be able to change the WiFi connection, but now it doesn't do anything at all.</p> <p>I've spent some time reading about the new permission model of the Android 6.0. Well awesome, but old apps should continue working... Anyway, I start...
My application stopped working once I upgraded to Marshmallow, it was supposed to be able to change the WiFi connection, but now it doesn't do anything at all. I've spent some time reading about the new permission model of the Android 6.0. Well awesome, but old apps should continue working... Anyway, I started trying t...
android|permissions|android-wifi|android-6.0-marshmallow|android-permissions
4
2016-04-22T16:58:51.353Z
2,016
4
16
4
5,637
2
963
78
5
3
true
false
true
false
false
false
low
36,799,560
Android studio cannot resolve symbol equals
<p>I am making a simple mobile app. For now I am just testing the app and trying to pass some values in between java files and put them in empty <code>TextView</code>s. I get values from a previous activity via <code>Intent</code> and then trying to pass them on to another activity called <code>ConsultActivity.java</co...
I am making a simple mobile app. For now I am just testing the app and trying to pass some values in between java files and put them in empty TextView s. I get values from a previous activity via Intent and then trying to pass them on to another activity called ConsultActivity.java : [CODE] However in my ConsultActivit...
java|android-studio
1
2016-04-22T17:02:22.027Z
2,016
4
17
4
1,870
1
437
43
2
2
true
false
false
false
false
false
low
36,799,619
How to properly run a calculation in the background of an android app?
<p>I'm trying to run some simple calculation in an App and I want it to always run, even if the App is not visible/active. I've looked up some possibilities and ended up using the ASyncTask. However, when I try to execute it, it's actually not running in the background. It's not running at all to be precise. So my ques...
I'm trying to run some simple calculation in an App and I want it to always run, even if the App is not visible/active. I've looked up some possibilities and ended up using the ASyncTask. However, when I try to execute it, it's actually not running in the background. It's not running at all to be precise. So my questio...
android|service|android-asynctask|background-process|reset
1
2016-04-22T17:05:45.280Z
2,016
4
17
4
1,111
1
1,112
70
5
4
true
false
false
false
false
false
low
36,799,628
Recycler View - one view opens up another
<p>I have a problem with recycler view. I have several card views in it that can be expanded. After I click on one of them and scroll down, another one is opened aswell, but when I scroll back, the one that should be opened is closed. It's inconsistent and very confusing, I don't even know how to describe it. Thank you...
I have a problem with recycler view. I have several card views in it that can be expanded. After I click on one of them and scroll down, another one is opened aswell, but when I scroll back, the one that should be opened is closed. It's inconsistent and very confusing, I don't even know how to describe it. Thank you fo...
android|layout|android-recyclerview
0
2016-04-22T17:06:16.300Z
2,016
4
17
4
69
2
415
41
3
3
true
false
false
false
false
false
zero
36,799,745
How to start close application and restart after click on Notificaton?
<p>In my application i get notification and if the user click on the notification the app should start. if the app already opened and the user click on the notification. the app open again but twice.</p> <p>Now, the idea is that i need to call <code>refreshActionBarSpinner()</code> when the app is started. the <code>r...
In my application i get notification and if the user click on the notification the app should start. if the app already opened and the user click on the notification. the app open again but twice. Now, the idea is that i need to call refreshActionBarSpinner() when the app is started. the refreshActionBarSpinner() metho...
android|push-notification|android-pendingintent
0
2016-04-22T17:13:28.237Z
2,016
4
17
4
42
1
905
70
3
1
true
false
false
false
false
false
zero
36,799,746
How to implement autocompletetextview in Android Studio with an API call?
<p>I am trying to use the autocompletetextview in Android Studio to provide suggestions for every letter keyed-in by the user.</p> <p>Every time a letter is keyed-in, an API call is made like this,</p> <pre><code>http://dev.markitondemand.com/MODApis/Api/v2/Lookup/json?input=app http://dev.markitondemand.com/MODApis/...
I am trying to use the autocompletetextview in Android Studio to provide suggestions for every letter keyed-in by the user. Every time a letter is keyed-in, an API call is made like this, [CODE] The JSON array that's returned from the API call is populated in the suggestions list-box. So far I got the activity_main.xml...
java|android|autocomplete|autocompletetextview
3
2016-04-22T17:13:28.387Z
2,016
4
17
4
6,134
1
448
73
4
2
true
false
true
false
false
false
low
36,799,776
How to tint a Button's drawable using appcompat 23.3.0?
<p>I am facing several issues with the new AppCompat 23.3.x and drawables. First of all, I had to go back and remove:</p> <pre><code>vectorDrawables.useSupportLibrary = true </code></pre> <p>Because the AppCompat reverted that so now, my app is generating PNG again. Ok, however, I was tinting a button (the drawableTo...
I am facing several issues with the new AppCompat 23.3.x and drawables. First of all, I had to go back and remove: [CODE] Because the AppCompat reverted that so now, my app is generating PNG again. Ok, however, I was tinting a button (the drawableTop) in a way that stopped working completely (for devices previous to M)...
android|android-drawable|android-appcompat
5
2016-04-22T17:15:11.450Z
2,016
4
17
4
2,318
1
1,131
55
3
3
true
false
false
false
false
false
low
36,799,822
Error inflating class android.support.design.widget.NavigationView
<p>I followed a tutorial of NavigationView and can't get through this error message :</p> <pre><code> Error inflating class android.support.design.widget.NavigationView </code></pre> <p>Tutorial link: <a href="https://www.youtube.com/watch?v=mtOztjHmM0c" rel="nofollow noreferrer">https://www.youtube.com/watch?v=mtOz...
I followed a tutorial of NavigationView and can't get through this error message : [CODE] Tutorial link: https://www.youtube.com/watch?v=mtOztjHmM0c I tried every solution given to this question on stackoverflow from here: Error inflating class android.support.design.widget.NavigationView but the error message still ex...
java|android|xml|android-studio
2
2016-04-22T17:17:59.180Z
2,016
4
17
4
3,785
1
514
66
4
10
true
false
true
false
false
false
low
36,799,891
Android, String cannot be converted to JSONObject
<p>I want to access Android apps through Web-Service. In the web service the new registration is performed. In the android apps, the xml file for the new registration is made. The data is saved successfully in SQL server database and it save properly by web service and return data get in jason string. </p> <p>But whe...
I want to access Android apps through Web-Service. In the web service the new registration is performed. In the android apps, the xml file for the new registration is made. The data is saved successfully in SQL server database and it save properly by web service and return data get in jason string. But when string is c...
android|mysql|string|json
0
2016-04-22T17:21:32.827Z
2,016
4
17
4
1,272
2
416
49
4
3
true
false
false
false
false
false
zero
36,799,909
Using Philips Hue with Port Forwarding
<p>I am working on Android project that utilises that Philips Hue SDK. </p> <p>I've implemented some of the functionality so that I can successfully control the lights but I am also trying to make the app control the lights when the user is away from home. </p> <p>I have set up port forwarding so that I can connect t...
I am working on Android project that utilises that Philips Hue SDK. I've implemented some of the functionality so that I can successfully control the lights but I am also trying to make the app control the lights when the user is away from home. I have set up port forwarding so that I can connect to my public IP addres...
android|philips-hue
8
2016-04-22T17:22:26.640Z
2,016
4
17
4
5,710
1
1,666
38
2
0
false
false
true
false
false
false
medium
36,799,910
Registering Xamarin Android project with HockeyApp Preseason nuget package OnPrepareOptionsMenu error
<p>I am using the latest HockeyApp nuget package for xamarin to utilize Preseason. In the documentation for Preseason it states that I’ve got to put the following in my <code>mainactivity</code> for a native android application:</p> <p><code>MetricsManager.register(this, getApplication());</code></p> <p>I have used t...
I am using the latest HockeyApp nuget package for xamarin to utilize Preseason. In the documentation for Preseason it states that I’ve got to put the following in my mainactivity for a native android application: MetricsManager.register(this, getApplication()); I have used the following in my Xamarin Android Applicatio...
c#|xamarin|xamarin.android|hockeyapp
2
2016-04-22T17:22:33.443Z
2,016
4
17
4
703
1
1,056
101
4
1
true
false
false
false
false
false
low
36,799,912
How to check for inbox messages from remote server while application is not executing?
<p>I will develop an app for iOS and Android using Delphi Seattle. My goal is that the user create some appointments in the database using the app, and later to be notified if his appointments were confirmed or rescheduled by the default notification center of each os platform.</p> <p><strong>So what I want to do is t...
I will develop an app for iOS and Android using Delphi Seattle. My goal is that the user create some appointments in the database using the app, and later to be notified if his appointments were confirmed or rescheduled by the default notification center of each os platform. So what I want to do is to receive instant m...
android|ios|delphi|push-notification|firemonkey
-3
2016-04-22T17:22:33.833Z
2,016
4
17
4
253
1
1,209
86
5
0
false
false
false
false
false
true
negative
36,799,961
openmax in android, how to obtain yuv data from OMX_BUFFERHEADERTYPE
<p>everyone is know that the struct of "OMX_BUFFERHEADERTYPE" carry data buffer. The field "pBuffer" point to data buffer ,and the "nFilledLen" means number of bytes currently in the buffer. I try to dump yuvdata from "OnFillBufferDone()" in "OMX.cpp" , but the data dumped was corrupt and incomplete. the code as the...
everyone is know that the struct of "OMX_BUFFERHEADERTYPE" carry data buffer. The field "pBuffer" point to data buffer ,and the "nFilledLen" means number of bytes currently in the buffer. I try to dump yuvdata from "OnFillBufferDone()" in "OMX.cpp" , but the data dumped was corrupt and incomplete. the code as the follo...
android|dump|openmax
0
2016-04-22T17:27:03.293Z
2,016
4
17
4
198
0
421
68
3
1
true
true
false
false
false
false
zero
36,800,020
TLS 1.1/1.2 support for Xamarin.Android
<p>Right now I'm developing an application using Xamarin.Forms. I ran into a problem with the TLS protocol.</p> <p>My application uses an API. Because of security reasons the API uses HTTPS. This week we decided to remove the support of TLS 1.0 to accept only TLS 1.1 and 1.2 on the server side, but after we made this ...
Right now I'm developing an application using Xamarin.Forms. I ran into a problem with the TLS protocol. My application uses an API. Because of security reasons the API uses HTTPS. This week we decided to remove the support of TLS 1.0 to accept only TLS 1.1 and 1.2 on the server side, but after we made this change, I n...
xamarin.android|httpclient|xamarin.forms|tls1.2
9
2016-04-22T17:31:36.583Z
2,016
4
17
4
1,252
1
1,116
39
4
0
false
false
false
false
false
false
medium
36,800,050
Parse + Robolectric causing java.lang.VerifyError: Bad type on operand stack
<p>I have a application with hundreds of unit test using robolectric, after I add Parse SDK in my Application <code>Parse.initialize(this, "", "");</code> all test started to fail with error <code>causing java.lang.VerifyError: Bad type on operand stack</code>, although the application works without problem. </p> <p><...
I have a application with hundreds of unit test using robolectric, after I add Parse SDK in my Application Parse.initialize(this, "", ""); all test started to fail with error causing java.lang.VerifyError: Bad type on operand stack , although the application works without problem. Edit : I am aware of workarounds to ru...
java|android|parse-platform|robolectric
6
2016-04-22T17:34:08.713Z
2,016
4
17
4
2,398
3
452
76
4
1
true
false
false
false
false
false
medium
36,800,067
ChromeSwipeLayout onItemSelected?
<p>I tried this guide </p> <p><a href="https://github.com/ashqal/ChromeLikeSwipeLayout" rel="nofollow">https://github.com/ashqal/ChromeLikeSwipeLayout</a></p> <pre><code>package com.psiphon3.statusactivity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; impo...
I tried this guide https://github.com/ashqal/ChromeLikeSwipeLayout [CODE] And here's my question: What code can I use to start a new activity in this code? [CODE]
android|android-layout|android-studio|layout
-1
2016-04-22T17:35:18.850Z
2,016
4
17
4
26
1
162
33
4
2
true
false
false
false
false
true
negative
36,800,090
AlertDialog - Unable to add window - Android?
<p>I am loading a url in <code>webView</code> when disable internet connection show a dialog and then I press on back button get me crash :</p> <pre><code>public class Guide extends AppCompatActivity { private WebView webview; private static final String TAG = "Main"; private ProgressDialog progressBar; ...
I am loading a url in webView when disable internet connection show a dialog and then I press on back button get me crash : [CODE] Here is my Log: [CODE]
android|android-webview|android-alertdialog|android-dialog
0
2016-04-22T17:37:10.547Z
2,016
4
17
4
653
0
153
45
4
2
true
true
false
false
false
false
zero
36,800,341
Compiling react-native fork on Android ICS: java.lang.NoClassDefFoundError: com/facebook/react/uimanager/ReactProp
<p>I'm working on a fork for React-Native with Android ICS support. I have trouble running right now on Android 4.0.3, I am working on Ubuntu 14.04 64bit.</p> <p>Here is what I have done (according to the following instructions: <a href="https://facebook.github.io/react-native/docs/android-building-from-source.html" r...
I'm working on a fork for React-Native with Android ICS support. I have trouble running right now on Android 4.0.3, I am working on Ubuntu 14.04 64bit. Here is what I have done (according to the following instructions: https://facebook.github.io/react-native/docs/android-building-from-source.html ): forked react-native...
android|facebook|android-ndk|react-native|android-4.0-ice-cream-sandwich
2
2016-04-22T17:51:17.423Z
2,016
4
17
4
469
1
1,179
114
5
1
true
false
false
false
false
false
low
36,800,355
How to fix Error: Unknown component while launching activity when pushing the app to a device?
<p>Sometimes (not all times) when I try to push (simply run) the code the from android-studio to my phone (Motorola 3G, though not phone specific), I am getting this error :-</p> <p>04/22 23:00:14: Launching app No local changes, not deploying APK</p> <pre><code>$ adb shell am start -n "com.xxxx.test/com.horntell.tes...
Sometimes (not all times) when I try to push (simply run) the code the from android-studio to my phone (Motorola 3G, though not phone specific), I am getting this error :- 04/22 23:00:14: Launching app No local changes, not deploying APK [CODE] This problem occur mostly when I try to push the code for the first time. i...
android|android-studio|android-gradle-plugin|adb
0
2016-04-22T17:52:24.243Z
2,016
4
17
4
1,483
1
483
94
4
1
true
false
false
false
false
false
zero
36,800,419
Decrypt / Verify Firebase token
<p>I'm using Firebase with a Email &amp; Password authentication. Once the user has been signed in successfully I'll receive an <code>AuthData</code> object which contains a token.<br> I wanna send this token to my backend, verify it and extract the <code>uid</code> from it - unfortunately I don't know how to do this.<...
I'm using Firebase with a Email & Password authentication. Once the user has been signed in successfully I'll receive an AuthData object which contains a token. I wanna send this token to my backend, verify it and extract the uid from it - unfortunately I don't know how to do this. I'm aware of the Firebase secret and ...
java|android|firebase|jwt
2
2016-04-22T17:55:53.910Z
2,016
4
17
4
5,160
1
913
31
4
2
true
false
true
false
false
false
low
36,800,473
Why shared element transition make transparent Activity blank?
<p>I have a MainActivity containing a Fragment, the Fragment has a FAB button and clicklistener star a new Transparent Activity.<br> Transition works wellwith pairing views, but the Transparent Activity turns blank when I use ActivityCompat.startActivityForResult.</p> <p>What's wrong?</p> <pre><code> if (Build.VERSIO...
I have a MainActivity containing a Fragment, the Fragment has a FAB button and clicklistener star a new Transparent Activity. Transition works wellwith pairing views, but the Transparent Activity turns blank when I use ActivityCompat.startActivityForResult. What's wrong? [CODE] My Style res/values [CODE] My style res/v...
android|android-animation|android-styles|android-transitions
3
2016-04-22T17:59:08.880Z
2,016
4
17
4
1,415
0
336
62
4
3
true
true
false
false
false
false
low
36,800,488
How can I synchronize the class so that I can use from UI thread and background threads?
<p>I have a utility class as follows: </p> <pre><code>public class MetaUtility { private static final SparseArray&lt;MetaInfo&gt; metaInfo = new SparseArray&lt;&gt;(); public static void flush() { metaInfo.clear(); } public static void addMeta(int key, MetaInfo info) { if(info == n...
I have a utility class as follows: [CODE] This class is very simple and I wanted to have a "central" container to be used across classes/activities. The issue is threading. Right now it is populated (i.e the addMeta is called) only in 1 place in the code (not in the UI thread) and that is not going to change. The gette...
java|android|multithreading|concurrency
1
2016-04-22T18:00:23.867Z
2,016
4
18
4
129
3
871
88
4
1
true
false
false
false
false
false
low
36,800,677
No Adapter Attached; Skipping Layout when using retrofit
<p>This is how I'm setting up my Recycler view in my Search Fragment. I don't understand why I keep getting the same error and what I'm missing.</p> <pre><code>@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragmen...
This is how I'm setting up my Recycler view in my Search Fragment. I don't understand why I keep getting the same error and what I'm missing. [CODE] Here is my ApiClient public class ApiClient { private static ApiClient instance; [CODE] And this is my NutritionApiAdapter [CODE] NutritionAdpater [CODE] and NutritionItem...
android|retrofit|android-recyclerview|android-adapter|apiclient
1
2016-04-22T18:10:54.210Z
2,016
4
18
4
678
1
337
56
5
5
true
false
false
false
false
false
low
36,800,694
getApplicationContext() cannot be resolved
<p>I am trying to use a method to generate a bitmap from Layouts and save the bitmap to a file in the internal memory. However, the getApplicationContext() is not resolved.</p> <p>Here is the code for the method</p> <pre><code> private void generateAndSaveBitmap(View layout) { //Generate bitmap layout.setD...
I am trying to use a method to generate a bitmap from Layouts and save the bitmap to a file in the internal memory. However, the getApplicationContext() is not resolved. Here is the code for the method [CODE] Used some help from StackOverFlow codes to generate this method. Even after reading related queries on getAppli...
java|android
2
2016-04-22T18:12:06.057Z
2,016
4
18
4
725
3
525
42
2
1
true
false
false
false
false
false
low
36,800,705
Layout dynamic grid in middle
<p>I have a grid with (currently) four cells wide. Each cell I am specifying to be 20px wide. I want to position this in the middle and at the top of a portrait layout. My code is below. My problem is that hte grid seems to fill the whole width whereas it want it to just take number of columns * column width only. And ...
I have a grid with (currently) four cells wide. Each cell I am specifying to be 20px wide. I want to position this in the middle and at the top of a portrait layout. My code is below. My problem is that hte grid seems to fill the whole width whereas it want it to just take number of columns * column width only. And for...
android|android-layout|gridview|layout|android-linearlayout
0
2016-04-22T18:12:53.123Z
2,016
4
18
4
115
1
698
29
5
1
true
false
false
false
false
false
zero
36,800,735
Prevent WebView fragment from reloading page on screen rotation
<p>I know this has been asked too many times and that SO is full of similar questions. I went through most of them and I've been researching this issue for a couple of days and I have yet to find the definitive solution.</p> <p>I could easily avoid all this trouble adding <code>configChanges="orientation|screenSize"</...
I know this has been asked too many times and that SO is full of similar questions. I went through most of them and I've been researching this issue for a couple of days and I have yet to find the definitive solution. I could easily avoid all this trouble adding configChanges="orientation|screenSize" to the activity co...
android|android-fragments|webview|page-refresh
8
2016-04-22T18:14:47.107Z
2,016
4
18
4
2,740
1
1,839
63
4
2
true
false
true
false
false
false
medium
36,800,736
When i click a list item i want to store it name in an edittext
<p>I am creating an eWallet application like many existing ones. I have lots of classes that do different stuff but i need some advice in a group of them. I have created a listview witch fetches the categories i have created and saved in a phpMyAdmin database. I am displaying this data on a list view successfully. This...
I am creating an eWallet application like many existing ones. I have lots of classes that do different stuff but i need some advice in a group of them. I have created a listview witch fetches the categories i have created and saved in a phpMyAdmin database. I am displaying this data on a list view successfully. This li...
android|jquery|list|listview
0
2016-04-22T18:14:50.793Z
2,016
4
18
4
60
0
1,514
63
4
3
true
true
false
false
false
false
zero
36,800,882
Android: Global variable becomes null on returning to previous fragment
<p>I have a fragment, say A in my app from which I start an activity for result using</p> <pre><code>private void openComputationWindow(final int pos) { // code here result = new Button(mActivity); result.setText("Select"); result.setTextColor(Color.WHITE); result.setPadding(0, 30, 0, 20); layout...
I have a fragment, say A in my app from which I start an activity for result using [CODE] The second activity has a fragment added to it. In this fragment I perform some operations and return the result back to the previous activity. [CODE] The problem is that in my fragment A I use this data to setText in textView res...
android|android-fragments
0
2016-04-22T18:24:40.727Z
2,016
4
18
4
422
1
1,153
71
2
3
true
false
false
false
false
false
zero
36,801,123
android.content.res.Resources$NotFoundException: String resource ID #0x2 ArrayList
<p>When I try to test my app, I get an error.</p> <blockquote> <p>FATAL EXCEPTION: main Process: com.example.android.lab5, PID: 12261 android.content.res.Resources$NotFoundException: String resource ID #0x2</p> </blockquote> <h1>Here's my code</h1> <pre><code>public class MainActivity extends AppCompatActivity {...
When I try to test my app, I get an error. FATAL EXCEPTION: main Process: com.example.android.lab5, PID: 12261 android.content.res.Resources$NotFoundException: String resource ID #0x2 Here's my code [CODE] I isolated my error and it seems to come from that line: [CODE] The code of my java class Jour is : [CODE] Thank y...
java|android|arraylist
1
2016-04-22T18:38:32.787Z
2,016
4
18
4
139
0
6,779
82
3
5
true
true
false
false
false
false
low
36,801,139
Google Play Compatibility Issue
<p>I have released an app on Google Play that has a minimum API level of 17 (Android 4.2). I have a test phone running Android 4.4.2. The app is currently released only as beta. When I attempt to download it, it says its not compatible.</p> <p>Has anyone got any ideas what could cause this?</p> <pre><code>apply plugi...
I have released an app on Google Play that has a minimum API level of 17 (Android 4.2). I have a test phone running Android 4.4.2. The app is currently released only as beta. When I attempt to download it, it says its not compatible. Has anyone got any ideas what could cause this? [CODE] } Here is the Manifest... [CODE...
android|google-play
0
2016-04-22T18:39:05.010Z
2,016
4
18
4
108
1
328
31
2
3
true
false
false
false
false
false
zero
36,801,257
Wikitude. Points of interest
<p>I have problem with POI. After enter the world I can't see any point of interest. </p> <p>Code in Android:</p> <pre><code> @Override protected void onPostCreate(Bundle savedInstanceState) { super.onPostCreate(savedInstanceState); buildGoogleApiClient(); architectView.onPostCreate(); try { t...
I have problem with POI. After enter the world I can't see any point of interest. Code in Android: [CODE] HTML from my assets : [CODE] And here is the javascript code from example : [CODE] Before setting location to architectView I had message "Trying to find out where you are". Thanks for all responses.
wikitude|point-of-interest|android-augmented-reality
0
2016-04-22T18:45:42.067Z
2,016
4
18
4
505
1
305
28
3
3
true
false
false
false
false
false
zero
36,801,469
Difficulty between intents in Java (Android Studio)
<p>I am a beginner and I started by creating a radio app that has many stations but I have one problem.</p> <p>When I hit "Play" for the radio, it starts playing then I come back to the precedent activity (stations list) and when I come back again to the same radio that is playing and hit "Pause" it diffuses "Not Play...
I am a beginner and I started by creating a radio app that has many stations but I have one problem. When I hit "Play" for the radio, it starts playing then I come back to the precedent activity (stations list) and when I come back again to the same radio that is playing and hit "Pause" it diffuses "Not Playing". (I ma...
java|android|android-studio|android-intent|android-mediaplayer
0
2016-04-22T19:01:10.147Z
2,016
4
19
4
61
1
509
51
5
1
true
false
false
false
false
false
zero
36,801,480
Built Android APK from Wakanda giving Parse Error when opening it
<p>Trying to build an Android APK using Wakanda Digital App Factory 1.0.3</p> <p>According to the Mobile Troubleshooter everything is Installed and listed as green.</p> <p>At first i was getting lots of warnings like this:</p> <blockquote> <p>warning: java/lang/Double.class(java/lang:Double.class): major version 5...
Trying to build an Android APK using Wakanda Digital App Factory 1.0.3 According to the Mobile Troubleshooter everything is Installed and listed as green. At first i was getting lots of warnings like this: warning: java/lang/Double.class(java/lang:Double.class): major version 51 is newer than 50, the highest major vers...
android|apk|wakanda
0
2016-04-22T19:01:52.120Z
2,016
4
19
4
107
1
1,661
65
3
0
false
false
false
false
false
false
zero
36,801,486
"android:textIsSelectable="true" not working for TextView in RecyclerView
<p>I know that setting <code>android:textIsSelectable="true"</code> in xml for the <code>TextView</code> will show the native text selection popup and I've been using that in my application. But what I found that it is not working any more when I try to set the same attribute in a view attached to the <code>RecyclerVie...
I know that setting android:textIsSelectable="true" in xml for the TextView will show the native text selection popup and I've been using that in my application. But what I found that it is not working any more when I try to set the same attribute in a view attached to the RecyclerView . Whenever I try to select the te...
android|android-recyclerview|textview
37
2016-04-22T19:02:27.663Z
2,016
4
19
4
9,088
9
1,141
73
3
1
true
false
true
false
true
false
high
36,801,496
Null pointer exception in imageview when using callback between two fragments?
<p>i have two fragments, i want use callback using interface to change imageview in first fragment from the second fragment but when callback is fired its get imageview null and i get the below error </p> <pre><code> java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Image...
i have two fragments, i want use callback using interface to change imageview in first fragment from the second fragment but when callback is fired its get imageview null and i get the below error [CODE] first fragment: [CODE] second fragment: [CODE] interface [CODE]
android|android-fragments|callback
0
2016-04-22T19:03:04.983Z
2,016
4
19
4
175
1
267
78
3
4
true
false
false
false
false
false
zero