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,169,030
android cordova sharedpreference deleting during force close
<p>We are facing an issue with android SharedPreferences in our application. Our application is a cordova application. We are storing few data in the SharedPreferences. For example, storing userid, last visited page html contents, few json values. Following are code samples for managing sharedpreferences (get/set/remo...
We are facing an issue with android SharedPreferences in our application. Our application is a cordova application. We are storing few data in the SharedPreferences. For example, storing userid, last visited page html contents, few json values. Following are code samples for managing sharedpreferences (get/set/remove)....
android|cordova|sharedpreferences
1
2016-05-11T17:02:15.170Z
2,016
5
17
2
87
0
799
60
3
1
true
true
false
false
false
false
low
37,169,119
I want to implement a remember me functionality in my android code but I am not sure where to start
<p>I want to implement a remember me functionality in my android code but I'm not sure where to start because my code is type of complex. I'm not sure where to put things so please help me</p> <p>I want to make phone no and password remember only when login is true so please help me. This is my codes and please tell m...
I want to implement a remember me functionality in my android code but I'm not sure where to start because my code is type of complex. I'm not sure where to put things so please help me I want to make phone no and password remember only when login is true so please help me. This is my codes and please tell me where to ...
java|android|session|checkbox|remember-me
0
2016-05-11T17:07:07.560Z
2,016
5
17
2
1,577
2
484
99
5
2
true
false
false
false
false
false
zero
37,169,162
my CheckBox.isChecked() is always null
<p>i'm currently making a MCQ for an application, and right now i'm making the button how must see if my answer is right or not ! </p> <p>I'm getting choice from related question by a multiMap and i'm getting Checkbox by an inflater like that :</p> <pre><code>for (String answer : multiMap.get(questionFromMultiMap)) ...
i'm currently making a MCQ for an application, and right now i'm making the button how must see if my answer is right or not ! I'm getting choice from related question by a multiMap and i'm getting Checkbox by an inflater like that : [CODE] And when i'm trying to check if one of them is check and get string, the logcat...
android
-1
2016-05-11T17:09:23.110Z
2,016
5
17
2
1,115
3
587
38
1
3
true
false
false
false
false
true
negative
37,169,328
Didn't find class on path: DexPathList on Android Library
<p>I'm working on an Android Library to module some work on my app and I use retrofit to consume some web APIs.</p> <p>When I compile and use it in my sample app (compiling the library module) in the same Android Studio project everything works fine, but when I use the library from the artifact I got the error <code>D...
I'm working on an Android Library to module some work on my app and I use retrofit to consume some web APIs. When I compile and use it in my sample app (compiling the library module) in the same Android Studio project everything works fine, but when I use the library from the artifact I got the error Didn't find class ...
android|retrofit|retrofit2|aar
3
2016-05-11T17:18:22.250Z
2,016
5
17
2
2,276
4
599
57
4
2
true
false
false
false
false
false
low
37,169,373
How do I stop scrollview from scrolling to the top after a button is clicked?
<p>I am working on my first app and have it working pretty much as I would like with one small exception. The problem is in the scrollview with a relative layout that contains up to 20 buttons. When I scroll down and click on a button near the bottom the scrollview it scrolls back to the top after the click. I want t...
I am working on my first app and have it working pretty much as I would like with one small exception. The problem is in the scrollview with a relative layout that contains up to 20 buttons. When I scroll down and click on a button near the bottom the scrollview it scrolls back to the top after the click. I want the sc...
android|android-scrollview
0
2016-05-11T17:20:32.260Z
2,016
5
17
2
470
0
669
77
2
2
true
true
false
false
false
false
zero
37,169,456
AndroidStudio: Why are alternative screen-size layouts being ignored?
<p>I am testing the ability to use different layouts directories for different screen sizes (<a href="http://developer.android.com/training/basics/supporting-devices/screens.html" rel="nofollow">android training</a>). I am using <a href="https://www.genymotion.com/" rel="nofollow">genymotion</a> for my emulators (becau...
I am testing the ability to use different layouts directories for different screen sizes ( android training ). I am using genymotion for my emulators (because I have a windows10 with AMD processor). My directory structure looks like: [CODE] In every version of activity_main.xml I have one TextView. In the normal versio...
android|android-layout|android-studio|screen-size
0
2016-05-11T17:24:49.547Z
2,016
5
17
2
109
1
719
69
4
1
true
false
false
false
false
false
zero
37,169,556
Android - Listviews in Fragments
<p>I'm trying to parse a RSS feed and display it to the user via a <code>Listview</code> which is in a Fragment. The problem is that nothing shows up on the list and I get a few errors: </p> <pre><code>V/Error Parsing Data: java.io.IOException: Couldn't open http://feeds.bbci.co.uk/news/england/rss.xml W/FragmentManag...
I'm trying to parse a RSS feed and display it to the user via a Listview which is in a Fragment. The problem is that nothing shows up on the list and I get a few errors: [CODE] My Fragments class: [CODE]
android|listview|android-fragments|android-studio|rss
1
2016-05-11T17:30:04.870Z
2,016
5
17
2
55
2
203
32
5
2
true
false
false
false
false
false
low
37,169,571
Android about stream api
<p>I wanted to use stream api on my project <a href="https://github.com/aNNiMON/Lightweight-Stream-API" rel="nofollow">Lightweight-Stream-API</a> and <a href="https://github.com/evant/gradle-retrolambda" rel="nofollow">RetroLambda</a></p> <p><strong>Code:</strong></p> <pre><code>Map&lt;String, Object&gt; liste = new ...
I wanted to use stream api on my project Lightweight-Stream-API and RetroLambda Code: [CODE] How can I refactor this code to use streams e.g. Stream.of() method?
android|hashmap|java-stream
0
2016-05-11T17:30:37.697Z
2,016
5
17
2
118
1
161
24
3
1
true
false
false
false
false
false
zero
37,169,785
Android setX() and setY()
<p>I'm new to Android and I have a weird behavior in the functions above. My device resolution is <code>480x800</code>.</p> <p>Here is xml:</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_pa...
I'm new to Android and I have a weird behavior in the functions above. My device resolution is 480x800 . Here is xml: [CODE] Here is my code: [CODE] From my understanding, setX() and setY() arguments are pixels. On setY() I have to divide by density (scale) so my button appears in the middle of Y axis, however on setX(...
android|android-layout
4
2016-05-11T17:40:20.797Z
2,016
5
17
2
1,922
0
729
25
2
2
true
true
false
false
false
false
low
37,169,847
Android setVisibility(View.Visible) not working on a layout
<p>I have a layout that I am trying to make visible and it is currently not working. The layout I want to make visible has the id "goal_reminder" below. The visibility is set to "GONE" in the xml.</p> <p>Here is the xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;com.View.pages.ActivityPage x...
I have a layout that I am trying to make visible and it is currently not working. The layout I want to make visible has the id "goal_reminder" below. The visibility is set to "GONE" in the xml. Here is the xml [CODE] Here is the onFinishInflate(I am using the Screenplay/Flow libraries so that is taking place of onCreat...
java|android|xml|parse-platform|visibility
2
2016-05-11T17:44:17.500Z
2,016
5
17
2
13,878
2
1,210
59
5
3
true
false
true
true
false
false
low
37,169,987
Android Custom Adapter - Animation on wrong Item
<p>I was experimenting in Android with Custom Adapters when I stumbeld over this problem: My <code>MainActivity</code> contains a <code>ListView</code> with one <code>TextView</code> and <code>ImageView</code> per row. <code>ImageView</code> just showing a color. I have a model for my <code>ListView</code> containing a...
I was experimenting in Android with Custom Adapters when I stumbeld over this problem: My MainActivity contains a ListView with one TextView and ImageView per row. ImageView just showing a color. I have a model for my ListView containing a String for name and a int as a key. My Adapter should set a different background...
android|listview|android-arrayadapter
2
2016-05-11T17:51:30.990Z
2,016
5
17
2
487
1
532
48
3
1
true
false
false
false
false
false
low
37,170,056
How send command(text, digit, byte or another) from android(or computer) to esp8266 arduino module?
<p>I have <code>arduino esp8266 module (NodeMTU)</code> and I want send some data(string, int, bytes or another - I do not know what can be) to this module from my android. I want create Remote Control of my android.</p> <p>For example I press buttnon <code>ONN</code> on my android device and on the my esp8266 module...
I have arduino esp8266 module (NodeMTU) and I want send some data(string, int, bytes or another - I do not know what can be) to this module from my android. I want create Remote Control of my android. For example I press buttnon ONN on my android device and on the my esp8266 module LED lights connected t it. But I not ...
android|arduino|esp8266
0
2016-05-11T17:55:38.087Z
2,016
5
17
2
1,371
1
508
99
3
1
true
false
false
false
false
false
zero
37,170,063
Dynamic buttons added to a GridLayout using RecyclerView are added on top of each other
<p>I want to add dynamic buttons to a grid layout as shown below. <strong>Each button is added one at a time</strong>, and the layout must update itself to have the buttons in rows. <strong>My problem is that when a new button is added it appears on top of the last button added, and is not placed in a row format.</stro...
I want to add dynamic buttons to a grid layout as shown below. Each button is added one at a time , and the layout must update itself to have the buttons in rows. My problem is that when a new button is added it appears on top of the last button added, and is not placed in a row format. In this image below I show what ...
java|android|dynamic|android-recyclerview|grid-layout
0
2016-05-11T17:55:59.440Z
2,016
5
17
2
1,355
2
1,509
87
5
5
true
false
false
false
false
false
zero
37,170,467
How to change the color of a switch in different android versions?
<p>My current toggle switch is working on my android device with 'Jelly Bean', the thumb is changing its color when it's enabled or disabled. On a different android device with 'Lollipop' the switch is looking different by default and if I try to change the color of the thumb the whole switch gets invisible.</p> <p>I ...
My current toggle switch is working on my android device with 'Jelly Bean', the thumb is changing its color when it's enabled or disabled. On a different android device with 'Lollipop' the switch is looking different by default and if I try to change the color of the thumb the whole switch gets invisible. I need a solu...
android|xml
0
2016-05-11T18:17:27.740Z
2,016
5
18
2
197
1
470
66
2
2
true
false
false
false
false
false
zero
37,170,939
How to enable on click listener from activity when fragment has been fully loaded?
<p>I am declaring my fragments like so in my activity:</p> <pre><code>public void setupViewPager(ViewPager viewP) { ViewPagerAdapter adapter = new ViewPagerAdapter(getSupportFragmentManager()); adapter.addFragment(new ProjectPro1(), "proj1"); adapter.addFragment(projectPro2 = new ProjectPro2(),...
I am declaring my fragments like so in my activity: [CODE] Now in my activity at the very end of everything being done I call a setOnClickListener on a button which works fine if the fragments fully load - since when clicked the button tells a fragment not in view to update part of its view. However, if I click on the ...
android|android-fragments
0
2016-05-11T18:44:21.917Z
2,016
5
18
2
113
2
950
82
2
2
true
false
false
false
false
false
zero
37,170,967
Android - pass data between from an Activity class to an Adapter class
<p>I have 3 classes: LoginActivity,MapsActivity and MatchAdapter</p> <p>The first 2 extends AppCompactActivity, the last one ArrayAdapter. When i make login (if correct, matching on mySQLiteDB) i used to get ID_contact of current user and pass it to MapsActivity with intent in such way:</p> <p>On my LoginActivity: ...
I have 3 classes: LoginActivity,MapsActivity and MatchAdapter The first 2 extends AppCompactActivity, the last one ArrayAdapter. When i make login (if correct, matching on mySQLiteDB) i used to get ID_contact of current user and pass it to MapsActivity with intent in such way: On my LoginActivity: [CODE] On MapsActivit...
android|android-intent|adapter
0
2016-05-11T18:45:51.740Z
2,016
5
18
2
3,067
4
733
70
3
4
true
false
true
false
false
false
zero
37,171,004
How to take screenshot in aws device farm for android espresso testing
<p>I am using <code>aws</code> device farm for running my android tests, and we are using espresso framework. Some of the tests are failing today, and I want to take screenshots if my test fails. I have gone through your documentation but couldn't find anything concrete. This is what I know so far:</p> <p><a href="htt...
I am using aws device farm for running my android tests, and we are using espresso framework. Some of the tests are failing today, and I want to take screenshots if my test fails. I have gone through your documentation but couldn't find anything concrete. This is what I know so far: Documentation You can take screensho...
android|amazon-web-services|android-espresso|aws-device-farm
0
2016-05-11T18:47:39.973Z
2,016
5
18
2
2,090
1
1,119
70
4
0
false
false
false
false
false
false
zero
37,171,043
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) while building Android project on Jenkins
<p>I have an Android Project that builds successfully on Android Studio.</p> <p>Now I want to build it on Jenkins. But when I'm doing I got the following error: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)</p> <p>Exception is:</p> <pre><code>org.gradle.launcher.daemon.cl...
I have an Android Project that builds successfully on Android Studio. Now I want to build it on Jenkins. But when I'm doing I got the following error: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) Exception is: [CODE] I read related topics, but it does not help. I tried to b...
android|jenkins|gradle
87
2016-05-11T18:50:08.327Z
2,016
5
18
2
107,597
25
394
132
3
1
true
false
true
true
true
false
high
37,171,071
android traceview asynchronous events
<p>I'd like to use traceview to measure performance for several asynchronous events. The asynchronous events are passed to me in a callback that looks similar to the below code.</p> <pre><code>interface EventCallback { void onStartEvent(String name); void onStopEvent(String name); } </code></pre> <p>where ...
I'd like to use traceview to measure performance for several asynchronous events. The asynchronous events are passed to me in a callback that looks similar to the below code. [CODE] where every asynchronous event will start with a "onStartEvent" call and end with an "onStopEvent" call. I'd like to create trace files fo...
android|android-traceview
0
2016-05-11T18:51:34.813Z
2,016
5
18
2
342
1
1,129
37
2
1
true
false
false
false
false
false
zero
37,171,251
Abrupt scrolling with NestedScrollView in ViewPager Fragment inside a CoordinatorLayout Android
<p>I am facing a major scrolling problem with <code>ViewPager</code> inside <code>CoordinatorLayout</code>.</p> <p><strong>The current scene:</strong></p> <ol> <li><code>app:appbarScrollingViewBehaviour</code> is set on <code>ViewPager</code>.</li> <li>The <code>ViewPager</code> fragment has <code>NestedScrollView</c...
I am facing a major scrolling problem with ViewPager inside CoordinatorLayout . The current scene: app:appbarScrollingViewBehaviour is set on ViewPager . The ViewPager fragment has NestedScrollView as its root parent. The fragment layout contains Horizontal RecyclerView . When I scroll up by touching over RecyclerView ...
android|android-fragments|android-recyclerview|android-coordinatorlayout
12
2016-05-11T19:02:05.160Z
2,016
5
19
2
3,922
1
1,105
95
4
2
true
false
true
false
true
false
medium
37,171,400
Android Sqlite Inner Join
<p>I'm trying to get this</p> <p><a href="https://i.stack.imgur.com/sCyk8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sCyk8.png" alt="enter image description here"></a></p> <p>I have 2 tables - Words Table (ID, NAME, TRANSLATION) and WordSynonym Table(synonym_id1, synonym_id2).</p> <p>All my w...
I'm trying to get this I have 2 tables - Words Table (ID, NAME, TRANSLATION) and WordSynonym Table(synonym_id1, synonym_id2). All my words are going into first table, and when I need I am creating connection between words via second table. Now I need to make method to get all synonyms by specific id. For that I have tr...
java|android|sqlite
0
2016-05-11T19:10:42.617Z
2,016
5
19
2
1,128
1
565
25
3
1
true
false
false
false
false
false
zero
37,171,466
Run time permission not working access fine location Marshmallow
<p>I am working on project where i need to access user's gps location. Due to android 6, I need run time permissions. I tried to do it , first time it asked for gps location on activity starts, but without giving me location. I am still not getting any location coordinates. Hope someone can help ?</p> <pre><code>publi...
I am working on project where i need to access user's gps location. Due to android 6, I need run time permissions. I tried to do it , first time it asked for gps location on activity starts, but without giving me location. I am still not getting any location coordinates. Hope someone can help ? [CODE]
android|android-6.0-marshmallow|android-permissions
0
2016-05-11T19:15:00.347Z
2,016
5
19
2
749
1
302
64
3
1
true
false
false
false
false
false
zero
37,171,490
Activity onStart() not called when resuming an recreated activity from a stack
<p><strong>Long story short:</strong> I am currently working on a small android game. One feature is being able to change the app theme. When the user changes the theme, an event is broadcasted throughout the app and all active activities call recreate() to apply the new theme.</p> <p><strong>The problem:</strong> Let...
Long story short: I am currently working on a small android game. One feature is being able to change the app theme. When the user changes the theme, an event is broadcasted throughout the app and all active activities call recreate() to apply the new theme. The problem: Let's say there is a stack of activities: A, B, ...
android|android-activity|android-lifecycle
2
2016-05-11T19:16:26.290Z
2,016
5
19
2
3,207
4
1,170
78
3
0
false
false
true
false
false
false
low
37,171,501
ScrollView with ListView not working correctly in landscape mode
<p>I am learning android application development where I have to display content and related trailers.<br> In order to display text content I have used <code>ScrollView</code> but according to documentation <code>ScrollView</code> does not work properly.<br> I tried to fix it using <code>LinearLayout</code> which is wo...
I am learning android application development where I have to display content and related trailers. In order to display text content I have used ScrollView but according to documentation ScrollView does not work properly. I tried to fix it using LinearLayout which is working fine in portrait mode but not in landscape. ...
android|android-layout|listview|scrollview
0
2016-05-11T19:16:54.863Z
2,016
5
19
2
545
1
372
64
4
1
true
false
false
false
false
false
zero
37,171,518
Retrofit Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path
<p>Am trying Retrofit to get this response </p> <pre><code>POST : https://wrlyxhnjw3.execute-api.us-east-1.amazonaws.com/prod/pacakageinfo BODY : {"type":"carwash"} </code></pre> <p><strong>Response</strong></p> <pre><code>[ { "title": "SEDAN/NON SEDAN Exterior", "choice": "Exterior Only", "price": "$2...
Am trying Retrofit to get this response [CODE] Response [CODE] PackagesAPI Class [CODE] GetPackagecall (In a Package Fragment) [CODE] Public Objects in class PackageAdapter [CODE] But it gives "Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path" exception? I saw other posts like this and generally there'...
android|retrofit|retrofit2
-2
2016-05-11T19:17:59.993Z
2,016
5
19
2
1,530
1
426
74
3
5
true
false
false
false
false
true
negative
37,171,612
Toolbar contents not showing in Android 6.0
<p>I am having a few troubles while developing an Android app that contains a Toolbar (using <code>android.support.v7.widget.Toolbar</code>). While the application title and the Settings overflow displays correctly on all other Android versions (I have checked using API 10 and API 17), the contents don't seem to displa...
I am having a few troubles while developing an Android app that contains a Toolbar (using android.support.v7.widget.Toolbar ). While the application title and the Settings overflow displays correctly on all other Android versions (I have checked using API 10 and API 17), the contents don't seem to display at all in And...
android|android-actionbar|toolbar|android-6.0-marshmallow
0
2016-05-11T19:22:50Z
-1
-1
-1
-1
362
0
1,005
43
4
2
true
true
false
false
false
false
zero
37,171,640
Titanium Appcelerator - Save GPS track
<p>I'd like to save a GPS track in an app made with Titanium (Android for the moment), but I don't know how to do it.</p> <p>My goal would be to track the position of the user every 5 seconds and save it in the phone (in a JSON file, I think, would be the better solution). I want it to function both in background, and...
I'd like to save a GPS track in an app made with Titanium (Android for the moment), but I don't know how to do it. My goal would be to track the position of the user every 5 seconds and save it in the phone (in a JSON file, I think, would be the better solution). I want it to function both in background, and if the pho...
android|gps|appcelerator|tracking|appcelerator-titanium
0
2016-05-11T19:24:14.843Z
2,016
5
19
2
506
1
701
38
5
1
true
false
false
false
false
false
zero
37,171,757
Android flashlight app crashes every other launch
<p>I am new to app development and wanted to make a simple flashlight app for fun. However, for some reason my flashlight app crashes every other launch. I thought I might need an <code>onDestroy()</code> method, but not sure if that's the problem. I also always get a <code>NullPointerException</code> and the problem s...
I am new to app development and wanted to make a simple flashlight app for fun. However, for some reason my flashlight app crashes every other launch. I thought I might need an onDestroy() method, but not sure if that's the problem. I also always get a NullPointerException and the problem seems to be within the onCreat...
java|android|android-studio
1
2016-05-11T19:31:58.523Z
2,016
5
19
2
269
2
373
49
3
2
true
false
false
false
false
false
low
37,172,042
Android Cordova WebSQL can't count - could not prepare statement (1 too many SQL variables)
<p>This error only occurs on a few (recent model android 5) android devices. I am giving SQLite this and it doesn't seem to be able to count!</p> <p><code>executeSql("update email set IsMarkedAsRead=?, IsMarkedAsReadOnServer=?,IsFlagged=?,IsFlaggedOnServer=? where LocalEmailID=?", [email.IsMarkedAsRead, email.IsMarked...
This error only occurs on a few (recent model android 5) android devices. I am giving SQLite this and it doesn't seem to be able to count! executeSql("update email set IsMarkedAsRead=?, IsMarkedAsReadOnServer=?,IsFlagged=?,IsFlaggedOnServer=? where LocalEmailID=?", [email.IsMarkedAsRead, email.IsMarkedAsRead, email.IsF...
android|sqlite|cordova|web-sql
1
2016-05-11T19:49:53.683Z
2,016
5
19
2
776
1
1,487
91
4
0
false
false
false
false
false
false
low
37,172,082
Android: What is transport and jsonFactory in GoogleIdTokenVerifier.Builder?
<p>in the blow code, whats is <code>transport</code> and <code>jsonFactory</code> ? (I do not understand)</p> <p><a href="https://developers.google.com/identity/sign-in/android/backend-auth#using-a-google-api-client-library" rel="noreferrer">https://developers.google.com/identity/sign-in/android/backend-auth#using-a-g...
in the blow code, whats is transport and jsonFactory ? (I do not understand) https://developers.google.com/identity/sign-in/android/backend-auth#using-a-google-api-client-library [CODE]
android|android-studio|authorization|google-api-java-client|google-signin
52
2016-05-11T19:52:14.350Z
2,016
5
19
2
12,678
4
185
76
5
1
true
false
true
true
true
false
high
37,172,266
Data is not being saved to Database
<p>In my android application I am trying to save some data in MongoDB database. I using this code (given below) for that. This code is displaying <code>Toast</code> that <code>data is saved</code>, but the data is not present in my database. I am not getting any exception. so kindly tell what can be the problem?</p> <...
In my android application I am trying to save some data in MongoDB database. I using this code (given below) for that. This code is displaying Toast that data is saved , but the data is not present in my database. I am not getting any exception. so kindly tell what can be the problem? Code: [CODE]
android|mongodb
1
2016-05-11T20:02:54.517Z
2,016
5
20
2
43
0
298
35
2
1
true
true
false
false
false
false
low
37,172,697
Access null Java object's field without NPE
<p>I'm working on an Android project that uses a lot of strange null checking in Java, leading to lines of code like this:</p> <pre><code>if (foo == null || foo.bar == null || foo.bar.foobar == null) { return; } </code></pre> <p>I'm trying to clean it up using the Utility class </p> <pre><code>public class Utili...
I'm working on an Android project that uses a lot of strange null checking in Java, leading to lines of code like this: [CODE] I'm trying to clean it up using the Utility class [CODE] Using this class, I'd like to simplify the code to [CODE] Unfortunately, this is crashing before entering the areAnyNull function when A...
java|android|nullpointerexception|null|java-7
-1
2016-05-11T20:29:33.157Z
2,016
5
20
2
85
1
574
43
5
3
true
false
false
false
false
true
negative
37,172,730
gson,fromJson returning null. Android
<p>I'm really stuck on this, after searching for a long time. I have a Json string which is called response.</p> <pre><code>Gson gson = new Gson(); SearchResult searchResult = gson.fromJson(response, SearchResult.class); </code></pre> <p>searchResult is always null.</p> <p>Here is the SearchResult class:</p> <pre><...
I'm really stuck on this, after searching for a long time. I have a Json string which is called response. [CODE] searchResult is always null. Here is the SearchResult class: [CODE] Here is the json response: [CODE] Here is MyMarkerResponse class: [CODE] When i call searchResult.getSearch() i get this error: [CODE] If y...
android|json|nullpointerexception|gson
2
2016-05-11T20:31:49.917Z
2,016
5
20
2
2,580
3
343
37
4
5
true
false
false
false
false
false
low
37,172,788
Meteor apk release build not working
<p>I'm working on a mobile app using Meteor and ionic.</p> <p>When I built the apk for android, the apk generated (release-unsigned.apk) didn't work on my device. It does show the splash screen, then it just shows a blank white screen and that's it. I run it in bluestacks and used remote debugging to figure out what w...
I'm working on a mobile app using Meteor and ionic. When I built the apk for android, the apk generated (release-unsigned.apk) didn't work on my device. It does show the splash screen, then it just shows a blank white screen and that's it. I run it in bluestacks and used remote debugging to figure out what wrong, and t...
android|angularjs|meteor|ionic-framework|angular-meteor
0
2016-05-11T20:35:56.147Z
2,016
5
20
2
412
1
804
36
5
1
true
false
false
false
false
false
zero
37,172,969
Translate (curve path) + Scale animation Android
<p><a href="https://i.stack.imgur.com/oFP32.png" rel="noreferrer"><img src="https://i.stack.imgur.com/oFP32.png" alt="enter image description here"></a></p> <p>I want to translate a imageview in a curve while scaling it as it translates.</p> <p>Ive gone through Multiple posts like <a href="https://stackoverflow.com/a...
I want to translate a imageview in a curve while scaling it as it translates. Ive gone through Multiple posts like https://stackoverflow.com/a/30254927/3518278 where i cant figure out how to compute my path variable also its mentioned here that android 5 provides basic curves in interpolars https://stackoverflow.com/a/...
android
7
2016-05-11T20:45:58.353Z
2,016
5
20
2
8,115
3
582
48
1
1
true
false
true
false
false
false
medium
37,172,995
How to pass String from onClick Edit Text field to Background task - Android
<p>How can i take user input from popup dialogue and pass it into a BackGround Async Task? I have a "createGarden" button. When i click it i want to retrieve a string from user, and pass it to my Background AsyncTask. </p> <p>In my onClick, i have tried calling <code>String myGardenName = getGardenName()</code>, which...
How can i take user input from popup dialogue and pass it into a BackGround Async Task? I have a "createGarden" button. When i click it i want to retrieve a string from user, and pass it to my Background AsyncTask. In my onClick, i have tried calling String myGardenName = getGardenName() , which returns input from dial...
android|onclick|containers|user-input|inner-classes
0
2016-05-11T20:47:12.910Z
2,016
5
20
2
115
1
1,369
76
5
2
true
false
false
false
false
false
zero
37,172,996
Add ActionBarDrawerToggle to ActionBar on a PageViewer
<p>I'm trying to combine a navigation view and page viewer. I've got that working fine, the problem I'm having is adding the drawer toggle to the action bar (or tool bar) in order to bring up the navigation drawer. I don't care if I can add the toggle to the default view pager or by implementing my own bar (you can s...
I'm trying to combine a navigation view and page viewer. I've got that working fine, the problem I'm having is adding the drawer toggle to the action bar (or tool bar) in order to bring up the navigation drawer. I don't care if I can add the toggle to the default view pager or by implementing my own bar (you can see th...
android
0
2016-05-11T20:47:18.547Z
2,016
5
20
2
348
0
739
54
1
3
true
true
false
false
false
false
zero
37,173,221
Bind ButterKnife to Dialog fails
<p>I try to bind ButterKnife to a AleterDialog that i made with a DialogBuilder method And exist this method <code>ButterKnife.bind(Object,Dialog);</code> but dosen't work for me</p> <pre><code>import android.support.v4.app.DialogFragment; import android.support.v7.app.AlertDialog; public class NewUserDialogFragment e...
I try to bind ButterKnife to a AleterDialog that i made with a DialogBuilder method And exist this method ButterKnife.bind(Object,Dialog); but dosen't work for me [CODE] ERROR: [CODE] and textuserAccount = (EditText) ((Dialog) dialog).findViewById(R.id.textuserAccount); works perfectly I can use butterknife somehow in ...
android|butterknife
16
2016-05-11T21:01:28.630Z
2,016
5
21
2
16,388
3
331
32
2
2
true
false
true
true
true
false
medium
37,173,352
Why does the rawquery in my sqlite database give me the wrong person?
<p>I made an app in eclipse for android where you can fill in a person's information like name, email, adress, etc. In this app I need to include a search-button, which will search for a person that is saved in the database when one or more pieces of information are known. E.g. when I only remember the email-adress of ...
I made an app in eclipse for android where you can fill in a person's information like name, email, adress, etc. In this app I need to include a search-button, which will search for a person that is saved in the database when one or more pieces of information are known. E.g. when I only remember the email-adress of a p...
android|database|eclipse|sqlite|android-cursor
-1
2016-05-11T21:10:16.717Z
2,016
5
21
2
62
2
1,036
69
5
2
true
false
false
false
false
true
negative
37,173,354
Getting a response from a php script call
<p>I have an app that sends some information via POST to a php script in a server. It uses Asynchttpclient. How can I also receive a reply back from the server (via json?)? Please help. </p> <p>This is my php script</p> <pre><code>if($_POST["mode"]=="newuser"){ //$gcmRegID = $_GET["shareRegId"]; ...
I have an app that sends some information via POST to a php script in a server. It uses Asynchttpclient. How can I also receive a reply back from the server (via json?)? Please help. This is my php script [CODE] Android code [CODE] Hopefully I can get help with this.
php|android|json|rest
1
2016-05-11T21:10:38.250Z
2,016
5
21
2
736
2
267
41
4
2
true
false
false
false
false
false
low
37,173,362
Quickest/best way to load a large image ( using Glide )
<p>I am developing a Android application that display's images loaded from the sdcard. I use the mediastore to populate a recyclerview. If the user would click a image in the recyclerview i would like to open a activity that shows the image in full size. </p> <p>When the clicked item is a huge image it takes 4/5 seco...
I am developing a Android application that display's images loaded from the sdcard. I use the mediastore to populate a recyclerview. If the user would click a image in the recyclerview i would like to open a activity that shows the image in full size. When the clicked item is a huge image it takes 4/5 seconds to load. ...
java|android|image|android-glide
6
2016-05-11T21:10:51.207Z
2,016
5
21
2
2,029
0
730
55
4
1
true
true
false
false
false
false
medium
37,173,419
GetInt can only be called from main thread?
<p>This question HAS been answered before but I tried everything and it didn't work.</p> <p>I have this int in a flappy bird clone where you collect coins and it goes up by one kinda like a coin counter.</p> <p>Every time you collect a coin it does</p> <pre><code> PlayerPrefs.SetInt("coin", coin); coin+=1 ...
This question HAS been answered before but I tried everything and it didn't work. I have this int in a flappy bird clone where you collect coins and it goes up by one kinda like a coin counter. Every time you collect a coin it does [CODE] And when a new coin spawns I do this in the very start of the class (not in void ...
c#|android|unity3d
-1
2016-05-11T21:15:15.157Z
2,016
5
21
2
466
1
1,484
43
3
3
true
false
false
false
false
true
negative
37,173,458
Android Searchview widget is coming without pressed it
<p>// SearchFragment.java</p> <pre><code> public class SearchFragment extends Fragment{ Activity titleChange; SearchView searchView; public SearchFragment() { // Required empty public constructor } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, ...
// SearchFragment.java [CODE] // search_fragment.xml [CODE] Search view trigged default but I want to use it when press it Also I need to backpressed function that if while searchview is open, it must closed even if it is open. So Could you help me Android developers please ? Screenshot
android|search|interface|searchview
0
2016-05-11T21:17:58.350Z
2,016
5
21
2
122
1
287
54
4
2
true
false
false
false
false
false
zero
37,173,550
Authentication Failure requesting Wowza REST API using Android Volley
<p>I am trying to get a list of my incoming streams on my Wowza Media Server in my application, in order to generate dynamically one play button per stream available. I have found the request I need <a href="http://thewowza.guru/rest-api-how-to-get-a-list-of-incoming-streams/" rel="nofollow">here</a>.</p> <p>Since dif...
I am trying to get a list of my incoming streams on my Wowza Media Server in my application, in order to generate dynamically one play button per stream available. I have found the request I need here . Since different subjects on authentication failure error already exist, I have experienced different solutions, and I...
android|video-streaming|android-volley|restful-authentication|wowza
1
2016-05-11T21:25:24.910Z
2,016
5
21
2
461
0
635
69
5
3
true
true
false
false
false
false
low
37,173,593
Can I capture a video without requiring extra permissions?
<p>I'm trying to record a video using the <a href="http://developer.android.com/reference/android/provider/MediaStore.html#ACTION_VIDEO_CAPTURE" rel="nofollow">MediaStore.ACTION_VIDEO_CAPTURE</a> Intent action. </p> <p>This starts the Camera activity and I can capture a video. The problem is that I don't have the perm...
I'm trying to record a video using the MediaStore.ACTION_VIDEO_CAPTURE Intent action. This starts the Camera activity and I can capture a video. The problem is that I don't have the permissions to read the returned file:// uri: [CODE] I would expect the Camera application to grant me temporary permissions as described ...
android|android-intent|android-permissions
0
2016-05-11T21:28:53.903Z
2,016
5
21
2
639
1
537
58
3
2
true
false
false
false
false
false
zero
37,173,707
How to put array values to another array random?
<p>I have the array of images with a length of 6 (we call array first).I want to save this 6 values in another array with a length of 12 so that each value of the first array repeated twice in the second array and the values placed in random places of the second array .</p> <p>For example : first array = {3,4,20,33,1,...
I have the array of images with a length of 6 (we call array first).I want to save this 6 values in another array with a length of 12 so that each value of the first array repeated twice in the second array and the values placed in random places of the second array . For example : first array = {3,4,20,33,1,25} The sec...
java|android|arrays
0
2016-05-11T21:37:11.347Z
2,016
5
21
2
82
2
542
48
3
1
true
false
false
false
false
false
zero
37,173,724
Map multiple columns to one column for custom search suggestions
<p>What I'm trying to accomplish: custom search in Android that can look across multiple columns for suggestions to the user.</p> <p>I can map a single column "Topics" to the system-specified <code>SUGGEST_COLUMN_TEXT_1</code>, and that works wonderfully, I even have it grouping topics to remove duplicate entries.</p>...
What I'm trying to accomplish: custom search in Android that can look across multiple columns for suggestions to the user. I can map a single column "Topics" to the system-specified SUGGEST_COLUMN_TEXT_1 , and that works wonderfully, I even have it grouping topics to remove duplicate entries. However, what I'd like is ...
android|sqlite|hashmap|android-contentprovider
1
2016-05-11T21:38:34.893Z
2,016
5
21
2
135
1
958
64
4
2
true
false
false
false
false
false
low
37,173,737
How do I combine Google Maps and Location Services?
<p>I have an Activity that gets position with fused location and puts it in two text boxes.</p> <p>In a frame, I have a Google map.</p> <p>In two text boxes, I have my latitude and longitude.</p> <p>I want map center to adjust as location changes.</p> <pre><code>@Override public void onLocationChanged(Location loca...
I have an Activity that gets position with fused location and puts it in two text boxes. In a frame, I have a Google map. In two text boxes, I have my latitude and longitude. I want map center to adjust as location changes. [CODE] My idea was adding to onLocationChanged something like this: [CODE] But is giving me the ...
java|android|google-maps|location
0
2016-05-11T21:39:43.787Z
2,016
5
21
2
66
0
526
51
4
2
true
true
false
false
false
false
zero
37,173,742
NoClassDefFoundError though .jar is correctly included
<p>So I need to use the jexcelApi for my Android project. After including it, I get no compiler error, but a runtime Exception <em>NoClassDefFoundError</em> on my device for every single class I use from that jar. Decompiling it shows that the needed classes are inside the jar.</p> <p>I did following steps:</p> <ol> ...
So I need to use the jexcelApi for my Android project. After including it, I get no compiler error, but a runtime Exception NoClassDefFoundError on my device for every single class I use from that jar. Decompiling it shows that the needed classes are inside the jar. I did following steps: Downloaded the jar Copied it t...
java|android|android-studio|jar|android-gradle-plugin
0
2016-05-11T21:40:00.710Z
2,016
5
21
2
472
2
1,094
54
5
4
true
false
false
false
false
false
zero
37,173,777
Android RSA encryption from public string
<p>I'm working on an android application where I'd like the user to be able to encrypt messages using other's public keys. The system would generate a public/private keypair and then messages can be sent to other users secretly. </p> <p>I'm creating an Encryption class which will handle the encryption/decryption of me...
I'm working on an android application where I'd like the user to be able to encrypt messages using other's public keys. The system would generate a public/private keypair and then messages can be sent to other users secretly. I'm creating an Encryption class which will handle the encryption/decryption of messages. Unfo...
java|android|encryption|rsa
3
2016-05-11T21:41:58.480Z
2,016
5
21
2
8,289
1
866
41
4
2
true
false
true
false
false
false
low
37,173,810
SearchBar Numeric Keyboard Custom Renderer - Xamarin Forms
<p>I am trying to write a custom renderer that will allow me to change the keyboard type for a 'SearchBar' to be Numeric.</p> <p>Here is my renderer:</p> <pre><code>[assembly: ExportRenderer(typeof(CustomSearchBar), typeof(SearchBarRenderer))] namespace App.Droid.CustomRenderers { class CustomSearchBarRenderer : Sear...
I am trying to write a custom renderer that will allow me to change the keyboard type for a 'SearchBar' to be Numeric. Here is my renderer: [CODE] And then a custom control: [CODE] And the usage of the custom control: [CODE] I am a bit off here though. The OnElementChanged event is never hit, but even if it was it woul...
c#|xamarin|keyboard|xamarin.android|xamarin.forms
0
2016-05-11T21:44:24.593Z
2,016
5
21
2
1,632
2
501
58
5
3
true
false
false
false
false
false
zero
37,173,811
HtmlUnit doesnt getPage
<p>using HtmlUnit for scraping data from the internet, and I need to login the following page <a href="https://accounts.google.com/login" rel="nofollow">https://accounts.google.com/login</a>.</p> <p>When use the "getPage()" method i keep getting this exceptio, how can i solve it? thank you in advance </p> <pre><code>...
using HtmlUnit for scraping data from the internet, and I need to login the following page https://accounts.google.com/login . When use the "getPage()" method i keep getting this exceptio, how can i solve it? thank you in advance [CODE] The part that throw the exception is just as simple as this: [CODE] The main progra...
java|android|htmlunit
2
2016-05-11T21:44:30.200Z
2,016
5
21
2
2,500
1
418
23
3
2
true
false
false
false
false
false
low
37,173,919
Fitting webview on screen without access to webpage code
<p>Okay, I have a webview and I am trying to load this url: <a href="http://catalog.ccbcmd.edu/preview_course_incoming.php?catname=Catalog%202015-16&amp;prefix=ENGL&amp;code=101" rel="nofollow noreferrer">http://catalog.ccbcmd.edu/preview_course_incoming.php?catname=Catalog%202015-16&amp;prefix=ENGL&amp;code=101</a></p...
Okay, I have a webview and I am trying to load this url: http://catalog.ccbcmd.edu/preview_course_incoming.php?catname=Catalog%202015-16&prefix=ENGL&code=101 I don't have access to any of the page's source code to edit it. I want to format the webview so that views don't have to scroll horizontally, but, when I get it ...
android|html|webview|android-webview
-1
2016-05-11T21:52:59.173Z
2,016
5
21
2
271
2
468
56
4
1
true
false
false
false
false
true
negative
37,174,012
Some font styles are the same after I changed it
<p>OK, I'm gonna be the most specific as possible. I have an Alcatel One Touch 7042A, black color. This cellphone doesn't include the feature of changing the system font, as it isn't Samsung or LG. I wanted to change it, so I rooted my phone with an app which name is "Kingoroot superuser". The root was a success, then ...
OK, I'm gonna be the most specific as possible. I have an Alcatel One Touch 7042A, black color. This cellphone doesn't include the feature of changing the system font, as it isn't Samsung or LG. I wanted to change it, so I rooted my phone with an app which name is "Kingoroot superuser". The root was a success, then I d...
android|fonts|bold|italic
-4
2016-05-11T22:02:14.973Z
2,016
5
22
2
554
1
1,028
48
4
0
false
false
false
false
false
true
negative
37,174,036
Xamarin Google Map API Json not converting
<p>the problem is when I am testing the app and check </p> <blockquote> <p>Task.Run(() => this.LoadDataAsync(url)).Wait();</p> </blockquote> <p>I get an error Newtonsoft cannot deserialize the current JSON Object. Anybody can see why is that?</p> <p>I have used <a href="http://json2csharp.com/" rel="nofollow">http...
the problem is when I am testing the app and check Task.Run(() => this.LoadDataAsync(url)).Wait(); I get an error Newtonsoft cannot deserialize the current JSON Object. Anybody can see why is that? I have used http://json2csharp.com/ to create the class for JSON. The app works normally and returns lat lng on Google Map...
c#|android|json|google-maps-api-3|xamarin
0
2016-05-11T22:04:11.170Z
2,016
5
22
2
398
1
414
42
5
3
true
false
false
false
false
false
zero
37,174,118
ListView using fragment
<p>I am following the Google's nano degree and completed first lesson of the weather app. The app uses a fragment which i have created while creating project. The video shows a "placeholderfragment" class with a "oncreateview" method in main_Activity.java file where the code is written. But in my Android studio, there ...
I am following the Google's nano degree and completed first lesson of the weather app. The app uses a fragment which i have created while creating project. The video shows a "placeholderfragment" class with a "oncreateview" method in main_Activity.java file where the code is written. But in my Android studio, there is ...
listview|android-fragments|android-fragmentactivity
0
2016-05-11T22:11:11.823Z
2,016
5
22
2
95
1
964
23
3
7
true
false
false
false
false
false
zero
37,174,298
Android: Check a high score SQL table and add score
<p>I have a sqlite database that holds the high scores of a game. I can successfully add a new score and I can show all the scores, but I'd like to add a check so that</p> <ol> <li><p>There are at most 5 rows</p></li> <li><p>The rows are always sorted</p></li> <li><p>Only add if the new score beats the scores already ...
I have a sqlite database that holds the high scores of a game. I can successfully add a new score and I can show all the scores, but I'd like to add a check so that There are at most 5 rows The rows are always sorted Only add if the new score beats the scores already on the table Here's my leaderboard.java adding a ran...
java|android|sql|sqlite
0
2016-05-11T22:26:35.737Z
2,016
5
22
2
755
1
754
51
4
3
true
false
false
false
false
false
zero
37,174,341
How to create a shadow for a rectangle in android using Paint object's setShadowLayer method?
<pre><code> Paint fillpaint = new Paint(this.getPaint()); fillpaint.setColor(fillColor); Paint strokepaint = new Paint(fillpaint); strokepaint.setStyle(Paint.Style.STROKE); strokepaint.setStrokeWidth(borderWidth); strokepaint.setColor(borderColor); </code></pre> <p>I am ...
[CODE] I am creating a rectangle using two paint objects as shown above(one for fill and one for stroke). I need to create a shadow for this rectangle and the shadow's blur radius, color, offsets for x and y should be customizable. Paint object has setShadowLayer method using which I can create a shadow for a paint obj...
android|draw|paint|shadow|drawrectangle
1
2016-05-11T22:30:50.650Z
2,016
5
22
2
257
0
726
93
5
1
true
true
false
false
false
false
low
37,174,363
check box is not working to activate or deactivate sound in android
<p>lam new starter in android,in my simple game app,I used check box to activate or deactivate sound, but when l run the app in emulator and tic on the check box to deactivate is not working and the music still on ,any help is appreciated</p> <pre><code> import android.app.Activity; import android.media.MediaP...
lam new starter in android,in my simple game app,I used check box to activate or deactivate sound, but when l run the app in emulator and tic on the check box to deactivate is not working and the music still on ,any help is appreciated [CODE] XML CODE [CODE]
android|android-mediaplayer|android-checkbox|android-toast
-2
2016-05-11T22:32:44.177Z
2,016
5
22
2
100
1
258
67
4
2
true
false
false
false
false
true
negative
37,174,553
cocos2d c++ Collision between edge physics bodies
<h2>I'm working on a game with cocos2d, need to detect collision between two PhysicsEdgeBody.</h2> <p><strong>I've created an EventListener for contact and added it to the layer i'm working on, PhysicsContact and Collisions between two PhysicsBody or PhysicsBody and PhysicsEdgeBody works fine, but whith two PhysicsEdg...
I'm working on a game with cocos2d, need to detect collision between two PhysicsEdgeBody. I've created an EventListener for contact and added it to the layer i'm working on, PhysicsContact and Collisions between two PhysicsBody or PhysicsBody and PhysicsEdgeBody works fine, but whith two PhysicsEdgeBody it doesn't work...
c++|cocos2d-iphone|cocos2d-x|cocos2d-android
1
2016-05-11T22:51:45.280Z
2,016
5
22
2
390
0
921
49
4
2
true
true
false
false
false
false
low
37,174,615
Android - how to show a snackbar containing a string taken from a fragment
<p>I have a <code>Fragment</code> with a <code>ListView</code>. When I click on a certain element on this list I want to show the title of the clicked element inside a <code>Snackbar</code>, but I get an error. How can I solve it?</p> <p>Fragment method: <br></p> <pre><code>mListViewSongs.setOnItemClickListener(new A...
I have a Fragment with a ListView . When I click on a certain element on this list I want to show the title of the clicked element inside a Snackbar , but I get an error. How can I solve it? Fragment method: [CODE] The method used inside the Activity : [CODE] Plus, I tested the Snackbar method for aligning the text in ...
android|android-fragments|nullpointerexception|fragment|snackbar
2
2016-05-11T22:57:21.397Z
2,016
5
22
2
1,809
1
367
74
5
3
true
false
false
false
false
false
low
37,174,659
Cordova android input file: cannot access some directories on device
<p>My app, based on Cordova, allows users to upload images and PDF files to server. I'm using a simple <code>&lt;input type="file"&gt;</code> with the Dropzone.js plugin for layout and transport. It works fine for both iOS and Android. After clicking a button the file manager starts, you can choose file and it gets up...
My app, based on Cordova, allows users to upload images and PDF files to server. I'm using a simple <input type="file"> with the Dropzone.js plugin for layout and transport. It works fine for both iOS and Android. After clicking a button the file manager starts, you can choose file and it gets uploaded. The problem is,...
javascript|android|html|cordova|dropzone.js
4
2016-05-11T23:01:40.867Z
2,016
5
23
2
1,318
1
1,007
68
5
3
true
false
false
false
false
false
low
37,174,763
Can't get location data from photo in Google Photos on Android
<p><strong>Problem</strong>: I'm using an intent to allow the user to select photos. When they select the photos from images on the device, I am able to get the latitude and longitude using an ExifInterface. However when they choose photos from Google Photos I'm not able to get the geolocation from the uri returned. <...
Problem : I'm using an intent to allow the user to select photos. When they select the photos from images on the device, I am able to get the latitude and longitude using an ExifInterface. However when they choose photos from Google Photos I'm not able to get the geolocation from the uri returned. Details : The intent ...
android|geolocation|exif|google-photos
0
2016-05-11T23:14:24.503Z
2,016
5
23
2
892
1
1,396
62
4
3
true
false
false
false
false
false
zero
37,174,777
Android - Concat 2 videos using com.netcompss.loader.LoadJNI
<p>I'm using com.netcompss.loader.LoadJNI (<a href="http://androidwarzone.blogspot.com.br/2011/12/ffmpeg4android.html" rel="nofollow">FFmpeg4Android</a>) and it was working fine until I try to concat 1 video with audio track and other video without audio track.</p> <p>I was using this command line:</p> <pre><code>ffm...
I'm using com.netcompss.loader.LoadJNI ( FFmpeg4Android ) and it was working fine until I try to concat 1 video with audio track and other video without audio track. I was using this command line: [CODE] 1.mp4 has resolution at 640x360 and has audio track. 2.mp4 has resolution at 1280x720 and has no audio track. On vk....
android|ffmpeg
0
2016-05-11T23:16:02Z
-1
-1
-1
-1
185
2
618
60
2
2
true
false
false
false
false
false
zero
37,174,955
Fit Image into grid view
<p>I am trying to fit the image into gridview. But I don't understand from where my gridview is getting the height of the view.</p> <p>The cell of the grid view is smaller than the image. I want to display the image full in a cell. But I don't want to hard code the size of the ImageView.</p> <p>My codes</p> <p>gridV...
I am trying to fit the image into gridview. But I don't understand from where my gridview is getting the height of the view. The cell of the grid view is smaller than the image. I want to display the image full in a cell. But I don't want to hard code the size of the ImageView. My codes gridView in xml [CODE] My ImageV...
android|image|user-interface|gridview|imageview
6
2016-05-11T23:38:35.260Z
2,016
5
23
2
6,574
4
449
24
5
3
true
false
true
false
false
false
medium
37,175,039
How does some apps(wechat) ignore fake location and then detect the real one?
<p>I have installed a fake location app and set my location different. Then opened Google Maps and Wechat app, </p> <ul> <li>Google Maps shows my location as what i set(fake)</li> <li>Wechat app <strong>ignores</strong> fake location and <strong>detects</strong> real location (how?)</li> </ul> <p>Then i wanted to pre...
I have installed a fake location app and set my location different. Then opened Google Maps and Wechat app, Google Maps shows my location as what i set(fake) Wechat app ignores fake location and detects real location (how?) Then i wanted to prevent wechat analyze my previously received real locations and new fake locat...
android|location|android-gps
11
2016-05-11T23:48:43.727Z
2,016
5
23
2
56,100
6
1,144
77
3
0
false
false
true
true
true
false
medium
37,175,087
GCM Push Notifications not opening app
<p>Whenever a gcm message comes back to my phone, I receive a notification. However, when I press it, it doesn't open my app. It only disappears. Previously when I used <code>PendingIntent.FLAG_ONE_SHOT</code>, it would work, but if I sent multiple messages, it wouldn't be up to date. Please help.</p> <p>This is my no...
Whenever a gcm message comes back to my phone, I receive a notification. However, when I press it, it doesn't open my app. It only disappears. Previously when I used PendingIntent.FLAG_ONE_SHOT , it would work, but if I sent multiple messages, it wouldn't be up to date. Please help. This is my notification code [CODE] ...
android|push-notification|google-cloud-messaging
2
2016-05-11T23:54:26.643Z
2,016
5
23
2
1,637
2
409
38
3
2
true
false
false
false
false
false
low
37,175,090
How do I pass a parameter from javascript into webview (java) in android?
<p>I have the following javascript: </p> <pre><code>public String jscode() { String myString = "javascript:function myscript() {" + " var _$b = window._$b= { version: \"1.0\"};" + " _$b.navigate = function(url, title) {" + " rpc.exec(" +// JSON-RPC 2.0 " {method...
I have the following javascript: [CODE] Now I am using it in webview onpagefinished such that: [CODE] How do I pass the value of "navigate" parameter local_url into the evaluatejavascript function? I looked online for a couple of tutorials but none of them seemed to work. Any ideas?
android|android-fragments|android-webview|android-websettings|android-json-rpc
0
2016-05-11T23:54:44.797Z
2,016
5
23
2
1,017
1
283
73
5
2
true
false
false
false
false
false
zero
37,175,170
I just upgraded to Marshmallow and now my views are not working
<p>I assume my recent upgrade to Android 6.0 has something to do with my inability to have my images appear when I run my apps. I recently upgraded my Samsung S6 from Lollipop to Marshmallow and all of my apps that worked just fine with Lollipop now refuse to show any of my views outside of my xml code. Has anyone else...
I assume my recent upgrade to Android 6.0 has something to do with my inability to have my images appear when I run my apps. I recently upgraded my Samsung S6 from Lollipop to Marshmallow and all of my apps that worked just fine with Lollipop now refuse to show any of my views outside of my xml code. Has anyone else en...
android|imageview|android-6.0-marshmallow|viewgroup
0
2016-05-12T00:04:07.960Z
2,016
5
0
3
287
0
396
63
4
1
true
true
false
false
false
false
zero
37,175,425
Parsing Multi layered json
<p>I am trying to parson multilevel JSON (From Quandl) but I am having difficulties parsing it correctly.</p> <p>The part I cannot figure out how to parse is under the data tag. How do I select it and iterate through all the values as they aren't key pairs. </p> <p>This section of code expects an int</p> <pre><cod...
I am trying to parson multilevel JSON (From Quandl) but I am having difficulties parsing it correctly. The part I cannot figure out how to parse is under the data tag. How do I select it and iterate through all the values as they aren't key pairs. This section of code expects an int [CODE] Any help is very much appreci...
java|android|json|parsing|android-studio
0
2016-05-12T00:39:12.260Z
2,016
5
0
3
858
1
387
26
5
3
true
false
false
false
false
false
zero
37,175,621
Location using FusedLocationAPI in Android
<p>I am trying to get location using new Google Service API. I am trying out the following:</p> <pre><code>PendingResult&lt;Status&gt; pendingResult = LocationServices.FusedLocationApi.requestLocationUpdates (mGoogleApiClient, mLocationRequest, this); </code></pre> <p>with the following configration:<...
I am trying to get location using new Google Service API. I am trying out the following: [CODE] with the following configration: [CODE] Where INTERVAL AND FASTEST INTERVAL is: [CODE] The results are coming up properly. Now question is that Is FusedLocationAPI the best way to get Location? Also will this setup work in a...
android|location
1
2016-05-12T01:05:41.713Z
2,016
5
1
3
78
1
665
42
2
3
true
false
false
false
false
false
low
37,175,635
JSON - Help Converting JSONArray to Arraylist and populate a listview.
<p>I am fairly new to android and java. I am trying to add JSON data to a listview. I have the JSON data coming in and printing to log, but I am having a hard time getting the data to the list view. I've tried and arraylist on row numbers and it works, but don't know how to get the JSON data there. Any pointers or a...
I am fairly new to android and java. I am trying to add JSON data to a listview. I have the JSON data coming in and printing to log, but I am having a hard time getting the data to the list view. I've tried and arraylist on row numbers and it works, but don't know how to get the JSON data there. Any pointers or advice ...
java|android|json|listview|arraylist
-1
2016-05-12T01:07:18.633Z
2,016
5
1
3
601
1
521
70
5
1
true
false
false
false
false
true
negative
37,175,640
How do i add the class i had before to my mainactivity again?
<p>In the mainactivity I have</p> <pre><code>import static com.web_server.webserver.TextToSpeechServer.*; </code></pre> <p>TextToSpeechServer is not exist. But I have the class code: What I did is creating from mainactivity new java class named it TextToSpeechServer and added this code instead the created one:</p> <...
In the mainactivity I have [CODE] TextToSpeechServer is not exist. But I have the class code: What I did is creating from mainactivity new java class named it TextToSpeechServer and added this code instead the created one: [CODE] But i'm getting errors: NanoHTTPD not exist 8080 object() in object cannot be applied to (...
android|android-studio
-1
2016-05-12T01:07:38.460Z
2,016
5
1
3
29
1
509
61
2
2
true
false
false
false
false
true
negative
37,175,766
How to create implement grouped checkbox on action menu xamarin android?
<p>Action_menu</p> <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;item android:id="@+id/menu_share" android:icon="@drawable/ic_search_white_24dp" android:showAsAction="ifRoom...
Action_menu [CODE] [CODE] I want them such as below picture I've a problem when i was adding Check box on Action Bar, it is not showing Check box on Action Bar Errors: selecta,b does not contain a definition for .... It don't see any id into Action_menu.xml
xamarin|xamarin.android
0
2016-05-12T01:25:59.137Z
2,016
5
1
3
492
1
257
72
2
2
true
false
false
false
false
false
zero
37,176,075
Google Map: Set Viewing Angle On Map Programmatically
<p>I am new to Google Map API on Android. I have a default position and when I click to start Google Map, it shows the location in a 3D view (The screenshot on Left), but i actually prefer the screenshot on the right hand side (Remark: not related to the magnification issue)</p> <p>How would I set the preference progr...
I am new to Google Map API on Android. I have a default position and when I click to start Google Map, it shows the location in a 3D view (The screenshot on Left), but i actually prefer the screenshot on the right hand side (Remark: not related to the magnification issue) How would I set the preference programmatically...
android|google-maps
0
2016-05-12T02:06:33.973Z
2,016
5
2
3
3,792
1
339
53
2
1
true
false
true
false
false
false
zero
37,176,184
Recieving HTML file as responce instead of JSON Object through get request
<p>I am developing an android app where user logs on to his/her account. After logging in I will receive XSRF token and Laravel Session Id to recognise the specific user. I have to send these tokens for every request I send to the API's to get the appropriate information. But when I am sending the required details as s...
I am developing an android app where user logs on to his/her account. After logging in I will receive XSRF token and Laravel Session Id to recognise the specific user. I have to send these tokens for every request I send to the API's to get the appropriate information. But when I am sending the required details as show...
android|html|json|android-studio
0
2016-05-12T02:20:02.290Z
2,016
5
2
3
688
2
609
74
4
1
true
false
false
false
false
false
zero
37,176,200
android databinding on android:background attribute using string color code
<p>I have a color code stored as string in a data object called <code>bean</code> like the following:</p> <pre><code>public class SpaceBean extends BaseObservable { private String selectedThemeColor; @Nullable @Bindable public String getSelectedThemeColor() { return selectedThemeColor; } ...
I have a color code stored as string in a data object called bean like the following: [CODE] I would like to use databinding expression in a linear layout android:background attribute like: [CODE] But it fails to compile with error: Error:(80, 35) Cannot find the setter for attribute 'android:background' with parameter...
android|android-databinding
4
2016-05-12T02:22:34.300Z
2,016
5
2
3
1,571
1
374
75
2
2
true
false
false
false
false
false
low
37,176,239
Database column not concatenating strings SQLite Android
<p>I'm using the following to update a SQLite database...</p> <pre><code>using (SQLiteCommand updateSQL = new SQLiteCommand("UPDATE SOULS SET CapturableStage = CapturableStage || @info WHERE Name LIKE @character AND Rarity = @rarity", con)) updateSQL.Parameters.Add(new SQLiteParameter("@character", "%"+c.Value.Name+ ...
I'm using the following to update a SQLite database... [CODE] The problem is that the CapturableStage column isn't being concatenated. In fact nothing is being updated at all. If I run this without the concatenation part the update works fine.. [CODE] ...accept that obviously the CapturableStage isn't concatenated. Why...
android|sqlite
0
2016-05-12T02:27:17.347Z
2,016
5
2
3
40
0
359
56
2
2
true
true
false
false
false
false
zero
37,176,250
I want to start my activity on a predifined time. For example 3 o'clock
<p>Whats wrong in Code? I have changed the time to just test. Please provide the result in detail.</p> <pre><code>AlarmManager am = (AlarmManager) getBaseContext().getSystemService(Context.ALARM_SEDate futureDate = new Date(new Date().getTime() + 86400000); futureDate.setHours(7); futureDate.setMinutes(45); ...
Whats wrong in Code? I have changed the time to just test. Please provide the result in detail. [CODE] This is My Broadcast Reciever [CODE]
android
-1
2016-05-12T02:28:45.247Z
2,016
5
2
3
89
1
139
71
1
2
true
false
false
false
false
true
negative
37,176,296
I have two button for which i create the XML to make buttons round.But I want to give the different color to both button
<p>Here I am writing the code of XML That I am using to change the background of button.</p> <p><strong>roundbutton2.xml</strong></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"&gt; &lt;solid android:col...
Here I am writing the code of XML That I am using to change the background of button. roundbutton2.xml [CODE] Buttons snippet [CODE] For first i want the #EE494D4E color and for second button i want #eea0e5ee.How can do this. I want the different color for both button using same XML file. Please Tell me about this.Than...
android
1
2016-05-12T02:34:24.493Z
2,016
5
2
3
28
1
321
120
1
2
true
false
false
false
false
false
low
37,176,309
Volley android diplays not data from json without showing any Errors
<p>I am building an android application. My code shows no errors neither the LogCat but when i run my app i get only the dialog "Loading...." and nothing more. Can anyone help me to resolve this issue? Here is my Manifest.xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http:...
I am building an android application. My code shows no errors neither the LogCat but when i run my app i get only the dialog "Loading...." and nothing more. Can anyone help me to resolve this issue? Here is my Manifest.xml [CODE] AppController [CODE] this is my ItemAdapter (my customized Adapter) [CODE] this is my main...
android-volley
0
2016-05-12T02:35:37.157Z
2,016
5
2
3
40
1
369
68
1
5
true
false
false
false
false
false
zero
37,176,459
Mapbox setCameraPosition not centering view correctly
<p>I'm creating a Mapbox MapView and computing a LatLngBounds based on a list of several points. When I set the camera position the points are all contained in the view, but over to the right side, not centered, and the zoom level is not optimal. In the <code>onMapReady()</code> callback from <code>mapView.getMapAsync...
I'm creating a Mapbox MapView and computing a LatLngBounds based on a list of several points. When I set the camera position the points are all contained in the view, but over to the right side, not centered, and the zoom level is not optimal. In the onMapReady() callback from mapView.getMapAsync() I collect a list of ...
android|mapbox|mapbox-gl
1
2016-05-12T02:52:15.697Z
2,016
5
2
3
892
1
788
53
3
1
true
false
false
false
false
false
low
37,176,473
Get selected item of spinner
<p>I want to insert the selected item of spinner into database when save button is pressed. There are two spinner. One is populated from array and other is from sqlite d/b. How can I get the string of selected item for both spinner. My code is as below :</p> <p>public class addLecture extends AppCompatActivity impleme...
I want to insert the selected item of spinner into database when save button is pressed. There are two spinner. One is populated from array and other is from sqlite d/b. How can I get the string of selected item for both spinner. My code is as below : public class addLecture extends AppCompatActivity implements Adapter...
android-spinner
0
2016-05-12T02:54:19.107Z
2,016
5
2
3
188
1
357
28
1
1
true
false
false
false
false
false
zero
37,176,516
Show download progress bar ionic
<p>I am developing an ionic app. I am using cordova's FileTransfer plugin to download pdf file. I am able to download the file to my internal memory,but not able to display single progress bar for downloaidng. What is the best way of displaying progress for downloading.</p> <p><strong>Controller</strong></p> <pre><c...
I am developing an ionic app. I am using cordova's FileTransfer plugin to download pdf file. I am able to download the file to my internal memory,but not able to display single progress bar for downloaidng. What is the best way of displaying progress for downloading. Controller [CODE]
android|angularjs|cordova|ionic-framework|progress-bar
2
2016-05-12T02:58:53.083Z
2,016
5
2
3
7,437
2
285
32
5
1
true
false
true
false
false
false
low
37,176,581
Android app crashing on Google Maps Activity
<p>It is showing the error message that the app is unfortunately closed when I move from the <strong>AddReminder Activity</strong> to the <strong>AddEventPlace Activity</strong>. </p> <p><strong>DataBaseHelper.java</strong></p> <pre><code>public class DatabaseHelper extends SQLiteOpenHelper { String tbl_User = "U...
It is showing the error message that the app is unfortunately closed when I move from the AddReminder Activity to the AddEventPlace Activity . DataBaseHelper.java [CODE] AddReminder.xml [CODE] AddReminder.java [CODE] AddEventplace.xml [CODE] AddEventPlace.java [CODE] LogCat [CODE]
java|android|android-maps-v2|android-maps
-1
2016-05-12T03:07:52.890Z
2,016
5
3
3
1,367
3
281
44
4
6
true
false
false
false
false
true
negative
37,176,583
Android MediaPlayer only playing first 2 files
<p>im developing an exercise app with a little <strong>MediaPlayer</strong> while working out, before that, the user can choose the songs he wants to listen while working out, even if i select 3 o more, the <strong>MediaPlayer</strong> only plays the first 2, hope you can help me</p> <p><strong>Playlist_Picker.java</s...
im developing an exercise app with a little MediaPlayer while working out, before that, the user can choose the songs he wants to listen while working out, even if i select 3 o more, the MediaPlayer only plays the first 2, hope you can help me Playlist_Picker.java Here the users picks the songs he wants to listen [CODE...
java|android
1
2016-05-12T03:08:14.447Z
2,016
5
3
3
82
1
472
46
2
2
true
false
false
false
false
false
low
37,176,655
socket - Android client - Java server PC gets stuck
<p>Well, this is my second post and I'm going through such a big problem with socket communication TCP/IP, between android client and a java server application running on a PC. </p> <p>What I try to do is send a string when I press a button from my client application to the server and then get an answer back to my cl...
Well, this is my second post and I'm going through such a big problem with socket communication TCP/IP, between android client and a java server application running on a PC. What I try to do is send a string when I press a button from my client application to the server and then get an answer back to my client applicat...
java|android|sockets|communication
3
2016-05-12T03:16:11.487Z
2,016
5
3
3
97
1
1,283
51
4
5
true
false
false
false
false
false
low
37,176,674
How to parse this JSON response in Android?
<p>I have tried to parse the data still unable to do .</p> <pre><code>String jsonData = "[{\"id\":\"7\",\"customer_id\":\"1\",\"product_type_id\":\"1\",\"quantity\":\"1\",\"ordered_on\":\"2015-12-01\",\"product_consumption_type\":\"general\",\"reason\":\"\",\"productType\":{\"id\":\"1\",\"name\":\"Full Cream Milk\",\...
I have tried to parse the data still unable to do . [CODE] This is what I've tried so far: [CODE]
android|android-json
0
2016-05-12T03:19:06.770Z
2,016
5
3
3
2,698
3
97
43
2
2
true
false
true
false
false
false
zero
37,176,721
I want to start new activity after dragging and dropping a view into another view..how do i do it in the switch case?
<p>I have been searching and searching for over a week and I'm not able to figure out how to start a new activity from within a case. </p> <p>This is a sample drag and drop example code from android studio. How do i add to this?...i want to make a scenario where if i drag a view into another view, a new activity page ...
I have been searching and searching for over a week and I'm not able to figure out how to start a new activity from within a case. This is a sample drag and drop example code from android studio. How do i add to this?...i want to make a scenario where if i drag a view into another view, a new activity page starts. This...
android|android-intent
1
2016-05-12T03:23:33.580Z
2,016
5
3
3
1,274
1
497
117
2
1
true
false
false
false
false
false
low
37,176,756
Null pointer exception while loading from strings.xml in Android
<p>I am receiving a null pointer exception for some reason. My app crashes when trying to load strings from the strings xml file. I have no idea why there is a null pointer. Any ideas? Thanks!</p> <p>Quiz.java snippet:</p> <pre><code> String[] questions = {getString(R.string.q1), getString(R.string.q2), ...
I am receiving a null pointer exception for some reason. My app crashes when trying to load strings from the strings xml file. I have no idea why there is a null pointer. Any ideas? Thanks! Quiz.java snippet: [CODE] strings.xml: [CODE] The error message: 05-11 23:23:06.652 26077-26077/tuxstudios.com.beatlesquiz E/Andro...
android|nullpointerexception|android-xml
2
2016-05-12T03:28:13.237Z
2,016
5
3
3
1,326
4
2,574
64
3
2
true
false
false
false
false
false
low
37,176,927
Set ImageView auto height depends on the image width
<p>Is There a way to set an auto height on an ImageView depends on the width? For example in Javascript, if you set width on an image, it calculate the image's height auto</p> <p>My app loads image from the server, depends on the user's preferences. It can be an 200dp x 50dp size or 50dp x 50dp</p> <p>I'm using Andro...
Is There a way to set an auto height on an ImageView depends on the width? For example in Javascript, if you set width on an image, it calculate the image's height auto My app loads image from the server, depends on the user's preferences. It can be an 200dp x 50dp size or 50dp x 50dp I'm using Android Image Loader. If...
android|imageview|universal-image-loader
1
2016-05-12T03:51:28.467Z
2,016
5
3
3
982
1
714
52
3
3
true
false
false
false
false
false
low
37,177,140
Memory mapped through gpio in beaglebone black
<p>We are using beaglebone black through which data is taken. <code>Temprature sensor dht11</code> is taken from the GPIO of beagle bone black.</p> <p>Normal on and off (one way transmission) is done easily but when it comes to continuous data transmission we are getting memory mapped issue in android.</p> <p>Below i...
We are using beaglebone black through which data is taken. Temprature sensor dht11 is taken from the GPIO of beagle bone black. Normal on and off (one way transmission) is done easily but when it comes to continuous data transmission we are getting memory mapped issue in android. Below is the declaration part. [CODE] B...
android|c|android-ndk|beagleboneblack|beagleboard
0
2016-05-12T04:14:26.807Z
2,016
5
4
3
325
1
616
46
5
2
true
false
false
false
false
false
zero
37,177,154
Partial Declaration must not specify different Base Classes
<p>I repeatedly get this Error Message:Partial Declaration must not specify different Base Classes. Can somebody tell me what may be the cause of this. Here's my code.</p> <p>CashAdvancePage.xaml</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;ContentPage xmlns="http://xamarin.com/schemas/2014/fo...
I repeatedly get this Error Message:Partial Declaration must not specify different Base Classes. Can somebody tell me what may be the cause of this. Here's my code. CashAdvancePage.xaml [CODE] CashAdvancePage.xaml.cs [CODE]
xamarin|xamarin.android|xamarin.forms|xamarin-studio
6
2016-05-12T04:15:54.280Z
2,016
5
4
3
11,518
4
223
59
4
2
true
false
true
true
false
false
medium
37,177,369
How to populate an array adapter to my menuscreen.xml
<p>I have an arrayadapter that I am having trouble populating my menuscreen.xml screen via a button click</p> <p><strong>Here is my MainActivity I attempted to set a button and onclick listener but am having trouble setting it up properly</strong></p> <pre><code>package com.example.vitoriano_vaz.eastbayvapes; import...
I have an arrayadapter that I am having trouble populating my menuscreen.xml screen via a button click Here is my MainActivity I attempted to set a button and onclick listener but am having trouble setting it up properly [CODE] This is the screen i want to send the user to [CODE] activity_main.xml that has the button c...
java|android|android-layout|android-studio|android-arrayadapter
0
2016-05-12T04:36:27.597Z
2,016
5
4
3
102
4
525
53
5
5
true
false
false
false
false
false
zero
37,177,418
To check if the user is logged in or not in Android SQLite
<p>I am new to android. I am creating a login and sign up page and save the user details in SQLite. So far I have managed to create the Login and Sign up pages and save the user details. But everytime the user starts the app the Login page pops up, I would like to direct the user to the Homepage if hes already logged i...
I am new to android. I am creating a login and sign up page and save the user details in SQLite. So far I have managed to create the Login and Sign up pages and save the user details. But everytime the user starts the app the Login page pops up, I would like to direct the user to the Homepage if hes already logged in. ...
android|authentication|android-sqlite
1
2016-05-12T04:40:49.837Z
2,016
5
4
3
1,508
1
535
58
3
4
true
false
false
false
false
false
low
37,177,424
Ignoring InnerClasses attribute for an anonymous inner class
<p>When I build the project,gradle show me many errors like this below: <a href="http://i.stack.imgur.com/BbGSe.png" rel="nofollow">error pic</a></p> <p>I have search many solutions,but no one is the right solution.</p> <p>For example,add "-keepattributes EnclosingMethod", add "-keepattributes InnerClasses"……</p> <p...
When I build the project,gradle show me many errors like this below: error pic I have search many solutions,but no one is the right solution. For example,add "-keepattributes EnclosingMethod", add "-keepattributes InnerClasses"…… I use the 2.0 version of Android Studio,is the new version got the error? Hope for helps,t...
android|gradle|android-studio-2.0
3
2016-05-12T04:41:00.860Z
2,016
5
4
3
1,553
0
352
60
3
1
true
true
false
false
false
false
low
37,177,430
"Link Assemblies" task failed unexpectedly issue while App build in Release Mode Xamarin Android
<p>Getting the following issue while trying to build App Release Mode in Xamarin Android. Why is it appearing and how can it be resolved?</p> <blockquote> <p>Severity Code Description Project File Line Source Suppression State Error </p> <p>The "Link Assemblies" task failed unexpectedly.</p> ...
Getting the following issue while trying to build App Release Mode in Xamarin Android. Why is it appearing and how can it be resolved? Severity Code Description Project File Line Source Suppression State Error The "Link Assemblies" task failed unexpectedly. Xamarin.Android.XamarinAndroidException: error XA2006: Referen...
android|xamarin|xamarin.android|release
10
2016-05-12T04:41:28.050Z
2,016
5
4
3
14,119
5
1,716
96
4
0
false
false
true
true
true
false
medium
37,177,603
Android Studio NDK Build trouble Error:Execution failed for task ':app:compileReleaseNdk'
<p>I'm using the latest android studio build 1.5 ,since i want to import an eclipse project that needs NDK. My project is working. But when i built APK, It's make error: </p> <pre><code>Error:Execution failed for task ':app:compileReleaseNdk'. &gt; A problem occurred starting process 'command 'C:\Users\Android\AppData...
I'm using the latest android studio build 1.5 ,since i want to import an eclipse project that needs NDK. My project is working. But when i built APK, It's make error: [CODE] My build.gradle: [CODE] Please help my fix error. Thanks you!
android-studio|build.gradle
4
2016-05-12T04:56:09.387Z
2,016
5
4
3
8,374
1
235
89
2
2
true
false
true
false
false
false
low
37,177,634
How to use condition IF in RecyclerView
<p>My app it's online market. I can add product to cart. I am trying change icon from "add to cart" to "in cart". But it doesn't work correctly. If I add only one product and scroll down, all other products icon also changed. In RecyclerView adapter OnBindViewHolder I use condition if.</p> <p>I am get data from server...
My app it's online market. I can add product to cart. I am trying change icon from "add to cart" to "in cart". But it doesn't work correctly. If I add only one product and scroll down, all other products icon also changed. In RecyclerView adapter OnBindViewHolder I use condition if. I am get data from server in JSON fo...
android|android-recyclerview
0
2016-05-12T04:59:43.023Z
2,016
5
4
3
73
0
726
39
2
3
true
true
false
false
false
false
zero
37,177,637
Layout item positions and sizes get changed for different devices
<p>I have tested my application in genymotion emulator using two Android OSs. Lollipop and Ice Cream Sandwich. Worked fine in both devices. Problem is when I tested in real devices, item positions and sizes get changed. </p> <p>In my xiomi mi4c (lollipop) screen looks ok <a href="https://i.stack.imgur.com/nyAmy.png" r...
I have tested my application in genymotion emulator using two Android OSs. Lollipop and Ice Cream Sandwich. Worked fine in both devices. Problem is when I tested in real devices, item positions and sizes get changed. In my xiomi mi4c (lollipop) screen looks ok But in micromax canves (Ice Cream Sandwich) this problem ha...
android|xml|layout
1
2016-05-12T05:00:01.767Z
2,016
5
5
3
155
1
418
65
3
1
true
false
false
false
false
false
low