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,809,184
how to set custom attribute value in ms dynamic CRM from Android crmsdk2015?
<p>i have added 1 attributes its name "new_city" and Display name "City". when i add this attributes sdk give the following error</p> <blockquote> <p>400 bad request</p> </blockquote> <p>without this attributes its works perfect.</p> <p>please check below code</p> <pre><code> Appointment app = Appointment.build()...
i have added 1 attributes its name "new_city" and Display name "City". when i add this attributes sdk give the following error 400 bad request without this attributes its works perfect. please check below code [CODE]
android|dynamics-crm
1
2016-06-14T10:15:53.963Z
2,016
6
10
1
53
1
216
76
2
1
true
false
false
false
false
false
low
37,809,768
Call out sentence according to input
<p>I'm new in developing Android application and currently I'm developing a android software that require user to input quite amount of data and save it on <code>sharedPreferences</code> as database. Here is example of my coding:</p> <pre><code>public static final String DEFAULT= "no data found"; </code></pre> <p>The...
I'm new in developing Android application and currently I'm developing a android software that require user to input quite amount of data and save it on sharedPreferences as database. Here is example of my coding: [CODE] Then: [CODE] For saving of user input: [CODE] For loading the data, I made it something like this: ...
android|sharedpreferences
1
2016-06-14T10:44:28.023Z
2,016
6
10
1
53
1
821
36
2
6
true
false
false
false
false
false
low
37,837,123
Android:Log-in with facebook
<p>If i want to log in with facebook in my android app, it tells me: App Not Setup: This app is still in development mode and you don't have access to it. Switch to a registered test user or ask an app admin for permission.</p> <p>I have fallowed step by step this tutorial <a href="https://firebase.google.com/docs/aut...
If i want to log in with facebook in my android app, it tells me: App Not Setup: This app is still in development mode and you don't have access to it. Switch to a registered test user or ask an app admin for permission. I have fallowed step by step this tutorial https://firebase.google.com/docs/auth/android/facebook-l...
android|facebook
0
2016-06-15T13:38:19.863Z
2,016
6
13
2
53
1
430
28
2
0
false
false
false
false
false
false
zero
37,938,303
How to use context without using application name?
<p>Previously, I used an <code>AppController</code> class extends from Application and in Manifest, that is added. Now, I prepare a <code>signupModel</code> class. In this class, I need <code>LayoutInflater</code> because of context. But when debugging, context has <code>AppController</code>. However, I want context i...
Previously, I used an AppController class extends from Application and in Manifest, that is added. Now, I prepare a signupModel class. In this class, I need LayoutInflater because of context. But when debugging, context has AppController . However, I want context is not include AppController ? [CODE] }
android|layout-inflater|application-name
0
2016-06-21T07:40:14.627Z
2,016
6
7
1
53
1
303
50
3
1
true
false
false
false
false
false
zero
37,990,968
Overview of Android animation systems
<p>Android has had about 5 or 6 different animation systems over the years, as they realise that each one doesn't really make animations easy. This makes it <em>really</em> confusing to do animations, as searches often bring up years-old SO questions which use old methods.</p> <p>As far as I know there are:</p> <ul> ...
Android has had about 5 or 6 different animation systems over the years, as they realise that each one doesn't really make animations easy. This makes it really confusing to do animations, as searches often bring up years-old SO questions which use old methods. As far as I know there are: Android 1: View Animation Andr...
android|animation
0
2016-06-23T11:57:47.747Z
2,016
6
11
3
53
1
464
37
2
0
false
false
false
false
false
false
zero
37,715,037
Android listSelector vs setting the list item background
<p>I have a ListView whose choice mode is set to single-choice. I want the selected item, if any, to be highlighted (i.e., to have a background of a different color from the rest of the items).</p> <p>I had been relying on setting the list selector in order to achieve this. However, I found that, when my ListView is o...
I have a ListView whose choice mode is set to single-choice. I want the selected item, if any, to be highlighted (i.e., to have a background of a different color from the rest of the items). I had been relying on setting the list selector in order to achieve this. However, I found that, when my ListView is on a tab (i....
android|listview
1
2016-06-09T00:22:20.263Z
2,016
6
0
3
309
1
1,107
56
2
0
false
false
false
false
false
false
low
37,839,527
Improve Activity Recognition API, filtering false positives
<p>Activity Recognition may throw quite a few false positives as you, no matter how high you raise the confidence level. So if, for example, I would like to throw a notification when the user is driving I would need build some sort of state machine.</p> <p>For example:</p> <p>When I get <code>IN_VEHICLE</code> update...
Activity Recognition may throw quite a few false positives as you, no matter how high you raise the confidence level. So if, for example, I would like to throw a notification when the user is driving I would need build some sort of state machine. For example: When I get IN_VEHICLE updates with CONFIDENCE > 70 for 30 se...
android|google-play-services|activity-recognition
3
2016-06-15T15:20:53.937Z
2,016
6
15
2
565
1
675
59
3
0
false
false
false
false
false
false
low
37,910,010
AppBarLayout leaves a white band at the bottom of the screen while scrolling
<p>I'm using this layout trying to achieve a collapsable app bar.</p> <pre><code>&lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_h...
I'm using this layout trying to achieve a collapsable app bar. [CODE] It works fine but while scrolling it leaves a white band at the bottom of the screen. I've posted an image to make it more clear. Bottom ribbon Any ideas how can I fix this? Thanks in advance.
android|android-layout
1
2016-06-19T17:38:18.030Z
2,016
6
17
6
565
1
262
76
2
1
true
false
false
false
false
false
low
37,861,575
What is PICK_CONTACT argument in startActivityForResult function?
<p>I have an Android Dialer App in which I want to open contacts. I took the code from Stack Overflow itself. But there is an argument in the <code>startActivityForResult</code> function, <code>PICK_CONTACT</code>. It is showing error.</p> <pre><code> else if(id == R.id.action_contacts){ Intent i = new Inte...
I have an Android Dialer App in which I want to open contacts. I took the code from Stack Overflow itself. But there is an argument in the startActivityForResult function, PICK_CONTACT . It is showing error. [CODE] And the on ActivityResult function is like this [CODE] Please help how to correct this error.
android|contactscontract
1
2016-06-16T14:05:27.383Z
2,016
6
14
3
821
1
308
65
2
2
true
false
false
false
false
false
low
37,963,568
Is there anyway to create an endless scroller with firebase's recyclerview adapter?
<p>I've been searching all over the internet, while there are ways to create an endless scroller, for simple recyclerviews, there aren't any for the firebase recyclerview adapter. If anyone has implemented this, please help!</p>
I've been searching all over the internet, while there are ways to create an endless scroller, for simple recyclerviews, there aren't any for the firebase recyclerview adapter. If anyone has implemented this, please help!
android|firebase-realtime-database|android-recyclerview|firebaseui
2
2016-06-22T09:14:19.903Z
2,016
6
9
2
821
1
221
83
4
0
false
false
false
false
false
false
low
37,774,871
disable swipe in SlidingUpPanelLayout
<p>this is my SlidingPanelLayout</p> <pre><code> mLayout = (SlidingUpPanelLayout) findViewById(R.id.sliding_layout); mLayout.addPanelSlideListener(new SlidingUpPanelLayout.PanelSlideListener() { @Override public void onPanelSlide(View panel,final float slideOffset) { Log.d(TAG, "onPanel...
this is my SlidingPanelLayout [CODE] how can i disable swipe on it i found solution say use this [CODE] but i dosent extend SlidingPaneLayout please don't make this question as duplicate it's different how can i disable swipe with this my code dont tell me extend it i want to work like this any idea ot and when i dosen...
android|slidingpanelayout
0
2016-06-12T13:34:28.647Z
2,016
6
13
6
1,077
1
429
37
2
3
true
false
false
false
false
false
zero
37,769,188
How To Request Android Permission API >= 23?
<p>Hi and good evening Stackoverflowers,</p> <p>I have a Question is this enaught on my MainActivity to Request Permissions for External Card read GPS etc.?</p> <p>in my onCreate have </p> <p>checkPermissions();</p> <p>so then have </p> <pre><code>private void checkPermissions() { ActivityCompat.requestPermiss...
Hi and good evening Stackoverflowers, I have a Question is this enaught on my MainActivity to Request Permissions for External Card read GPS etc.? in my onCreate have checkPermissions(); so then have [CODE] Can that still optimizing? and the permissions are queried? or am I completely wrong? Thank you for your answers
android-studio|android-6.0-marshmallow|android-permissions
0
2016-06-11T22:56:07.783Z
2,016
6
22
5
2,101
1
319
44
3
1
true
false
false
false
false
false
zero
37,892,191
android webview: loadUrl("javascript:(function() { ... }") vs evaluateJavascript(...)
<p>As I understand, there are two ways to inject <strong>JS</strong> execution onto current page in Android <code>WebView</code>. </p> <p>I'm wondering if there are pros/cons of one over the other except that:</p> <pre><code> WebView.evaluateJavascript(...) </code></pre> <p>provides a call back?</p>
As I understand, there are two ways to inject JS execution onto current page in Android WebView . I'm wondering if there are pros/cons of one over the other except that: [CODE] provides a call back?
javascript|android|android-webview
2
2016-06-18T00:41:07.623Z
2,016
6
0
5
2,101
1
198
85
3
1
true
false
false
false
false
false
low
37,633,943
Manage offline hour in Android
<p>I want to do an Android app that submits data to a web server. This application needs to run offline and the hour of the submitted info is crutial. We can't rely on the hour provided by the client, so we are always setting it in the server side. But, when android app goes offline, we need to keep a private clock sep...
I want to do an Android app that submits data to a web server. This application needs to run offline and the hour of the submitted info is crutial. We can't rely on the hour provided by the client, so we are always setting it in the server side. But, when android app goes offline, we need to keep a private clock separa...
android|mobile
-1
2016-06-04T19:02:15.840Z
2,016
6
19
5
54
1
708
30
2
0
false
false
false
false
false
true
negative
37,639,466
Android Shared Preference how to register user then keep logged on
<p>I'm fairly new to Android Studio and I'm working with the code below to try and make it so that instead of always prompting the user to log in, it should save/register the user on the first go so they are always logged in when the application runs, i.e. skip the login. </p> <pre><code>protected void onCreate(Bundle...
I'm fairly new to Android Studio and I'm working with the code below to try and make it so that instead of always prompting the user to log in, it should save/register the user on the first go so they are always logged in when the application runs, i.e. skip the login. [CODE]
android|android-studio|authentication|sharedpreferences|registration
0
2016-06-05T07:24:35.650Z
2,016
6
7
6
54
1
276
66
5
1
true
false
false
false
false
false
zero
37,723,440
What happens if we call two WLResourceRequests parallel in android native code.(IBM MobileFirst)
<p>I am using WLResourceRequest to call a server component in android .It works fine but I have question here what happens if I fire second service call while the first service call is still running. <strong>Will both run Parallel?</strong> I am using the following code to run WLResourceRequest.</p> <pre><code>WLReso...
I am using WLResourceRequest to call a server component in android .It works fine but I have question here what happens if I fire second service call while the first service call is still running. Will both run Parallel? I am using the following code to run WLResourceRequest. [CODE]
android|ibm-mobilefirst|mobilefirst-adapters|mobilefirst-server
1
2016-06-09T10:31:09.940Z
2,016
6
10
3
54
1
283
96
4
1
true
false
false
false
false
false
low
37,830,690
How to send server request on second last item comes in listview?
<p>I have a fragment containing swipe to refresh and listview which add some data when I scroll down listview there is a footer containing progressbar is shown to me ,and send request to server and adding more data in listview ,problem is that when footer is visible it send request to server back to back ,I think it is...
I have a fragment containing swipe to refresh and listview which add some data when I scroll down listview there is a footer containing progressbar is shown to me ,and send request to server and adding more data in listview ,problem is that when footer is visible it send request to server back to back ,I think it is be...
android
0
2016-06-15T08:58:22.350Z
2,016
6
8
2
54
1
537
65
1
1
true
false
false
false
false
false
zero
37,891,795
Android Studio App Wont Run through database
<p>The app runs, but a particular function wont. Whenever I try to login or Register an account, The Gradle console says it skipped frames and there's too much running. What I am trying to do is take in user information and send it to a database. This is the register activity code that has the problem. If i take the JS...
The app runs, but a particular function wont. Whenever I try to login or Register an account, The Gradle console says it skipped frames and there's too much running. What I am trying to do is take in user information and send it to a database. This is the register activity code that has the problem. If i take the JSON ...
java|php|android|json|android-studio
-1
2016-06-17T23:36:47.237Z
2,016
6
23
4
54
1
621
44
5
3
true
false
false
false
false
true
negative
37,981,114
How can I improve the robustness of reflection?
<p>I'm modifying someone else's open source library to better suit my needs, and in the process I'm realizing that the library itself is rather fragile. It has no tests, and critical parts of its code use reflection to get around permissions levels in the Android SDK. I recognize this is bad practice, but I agree with ...
I'm modifying someone else's open source library to better suit my needs, and in the process I'm realizing that the library itself is rather fragile. It has no tests, and critical parts of its code use reflection to get around permissions levels in the Android SDK. I recognize this is bad practice, but I agree with the...
java|android
2
2016-06-23T02:02:32.227Z
2,016
6
2
3
54
1
999
47
2
0
false
false
false
false
false
false
low
38,051,819
Android Permission issue with purchasing flow
<p>When i try purchase item </p> <pre><code>try { Bundle buyIntentBundle = mService.getBuyIntent(3, getPackageName(), sku, "inapp", "test"); PendingIntent pendingIntent = buyIntentBundle.getParcelable("BUY_INTENT"); startIntentSenderForResult(pendingIntent.getIntentSender(), 1001, new Intent(), Integer.valueO...
When i try purchase item [CODE] I got following error: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL Does anyone know what is the issue related to? Thanks
android|in-app-purchase
0
2016-06-27T10:39:08.183Z
2,016
6
10
0
54
1
263
45
2
1
true
false
false
false
false
false
zero
37,698,801
Implementing back navigation with ToolBar and AppCompatActivity
<p>I'm trying to change the Navigation drawer icon back arrow and use it as a back button. But when I <code>getSupportActionBar().setDisplayHomeAsUpEnabled(true);</code> nothing happens.</p> <p><strong>MainActivity.java</strong></p> <pre><code>public class MainActivity extends AppCompatActivity implements NavigationV...
I'm trying to change the Navigation drawer icon back arrow and use it as a back button. But when I getSupportActionBar().setDisplayHomeAsUpEnabled(true); nothing happens. MainActivity.java [CODE] When I change the constructor of the ActionBarDrawerToggle to [CODE] the icon does change to back arrow, but it functions li...
android|navigation-drawer|android-toolbar|up-navigation
0
2016-06-08T09:40:06.753Z
2,016
6
9
2
310
1
457
63
4
2
true
false
false
false
false
false
zero
37,718,349
cannot resolve symbol .getMapAsync
<p>I barely started using the amazon map v2, and it has been working great. Now I am trying to reference the map in my code as explain in the amazon website (<a href="https://developer.amazon.com/public/apis/experience/maps/docs-v2/displaying-an-interactive-map-with-the-amazon-maps-api-v2" rel="nofollow">https://develo...
I barely started using the amazon map v2, and it has been working great. Now I am trying to reference the map in my code as explain in the amazon website ( https://developer.amazon.com/public/apis/experience/maps/docs-v2/displaying-an-interactive-map-with-the-amazon-maps-api-v2 ). The problem is that android studio doe...
amazon-web-services|android-fragments
0
2016-06-09T06:27:15.103Z
2,016
6
6
3
310
1
510
34
2
3
true
false
false
false
false
false
zero
38,044,325
NullPointerException while parsing Json file from Assets Folder
<p>I'm trying to parse from a JSON file located on 'assets' folder for a School Project. I have done a similar project that worked and I have no idea why it returns a nullpointerexception. I understand that the error points out that I'm trying to get the size from a list that it is null, but I can't see where I'm faili...
I'm trying to parse from a JSON file located on 'assets' folder for a School Project. I have done a similar project that worked and I have no idea why it returns a nullpointerexception. I understand that the error points out that I'm trying to get the size from a list that it is null, but I can't see where I'm failing....
android|json|nullpointerexception
1
2016-06-27T00:09:24.597Z
2,016
6
0
0
310
1
728
63
3
8
true
false
false
false
false
false
low
37,866,138
Proguard: ignoring package does not prevent warnings
<p>Why does having proguard ignore a package not prevent the warnings related to that package?</p> <p>Background: </p> <p>I am attempting to apply proguard to a large project. Predictably, I have lots of warning like this: </p> <pre><code>Warning:net.fortuna.ical4j.model.CalendarFactory: can't find superclass or in...
Why does having proguard ignore a package not prevent the warnings related to that package? Background: I am attempting to apply proguard to a large project. Predictably, I have lots of warning like this: [CODE] I thought I could approach this by excluding these packages from proguard until my app runs with proguard en...
android|proguard|android-proguard
1
2016-06-16T17:50:54.140Z
2,016
6
17
3
566
1
835
52
3
1
true
false
false
false
false
false
low
37,902,391
GCM GcmListenerService and InstanceIDListenerService
<p>I followed this link <a href="https://developers.google.com/cloud-messaging/android/start" rel="nofollow">https://developers.google.com/cloud-messaging/android/start</a> but I didn't understand few things.</p> <ol> <li>Where do I start <code>GcmListenerService</code> and <code>InstanceIDListenerService</code>(servi...
I followed this link https://developers.google.com/cloud-messaging/android/start but I didn't understand few things. Where do I start GcmListenerService and InstanceIDListenerService (service), because in examples they don't start it anywhere in the code. Do these classes start automatically? My GcmListenerService clas...
java|android|push-notification|google-cloud-messaging
1
2016-06-18T22:59:44.427Z
2,016
6
22
5
822
1
478
52
4
4
true
false
false
false
false
false
low
37,905,482
Android Keystore LoadStore and ProtectionParameter implementation examples?
<p>A docs say:</p> <blockquote> <p>The information stored in a ProtectionParameter object protects the contents of a keystore. For example, protection parameters may be used to check the integrity of keystore data, or to protect the confidentiality of sensitive keystore data (such as a PrivateKey).</p> </blockquote>...
A docs say: The information stored in a ProtectionParameter object protects the contents of a keystore. For example, protection parameters may be used to check the integrity of keystore data, or to protect the confidentiality of sensitive keystore data (such as a PrivateKey). But every single example is just passing nu...
android|security|android-keystore
2
2016-06-19T08:52:24.840Z
2,016
6
8
6
1,590
1
720
75
3
1
true
false
false
false
false
false
low
37,807,802
Android. Force ANR dump
<p>Is there any way to request dump for an arbitrary process, that will be similar to one generated for ANR's at <code>/data/anr/traces.txt</code>? Probably it should be possible via device's shell.</p> <p>Thanks in advance!</p>
Is there any way to request dump for an arbitrary process, that will be similar to one generated for ANR's at /data/anr/traces.txt ? Probably it should be possible via device's shell. Thanks in advance!
android|adb
0
2016-06-14T09:18:01.760Z
2,016
6
9
1
2,870
1
202
23
2
0
false
false
true
false
false
false
zero
37,907,713
accessing a layout(.xml) from a java class in android studio
<p>I have this layout (activity_main2.xml)</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" and...
I have this layout (activity_main2.xml) [CODE] as you see it is calling another layout (app_bar_main2.xml): [CODE] and this one is calling another layout (content_main2.xml): [CODE] I have a java class (Welcome.Java) which calls "activity_main2.xml" in "onCreate" by the following code: [CODE] Now I want to access the T...
java|xml|android-layout|android-studio
2
2016-06-19T13:24:14.073Z
2,016
6
13
6
4,406
1
539
60
4
4
true
false
true
false
false
false
low
37,605,946
Where to create AnExampleReactPackage module while creating a native module in react native?
<p>I am creating a new native module for react native as per the documentation given <a href="https://facebook.github.io/react-native/docs/native-modules-android.html" rel="nofollow">here</a>. According to it, we have to register the module by creating <a href="https://facebook.github.io/react-native/docs/native-module...
I am creating a new native module for react native as per the documentation given here . According to it, we have to register the module by creating AnExampleReactPackage module. But I don't know where exactly in my project path do I have to create this module. I have tried the same location where MainReactPackage is c...
android|react-native
0
2016-06-03T04:28:43.727Z
2,016
6
4
4
55
1
424
92
2
1
true
false
false
false
false
false
zero
37,649,574
Cannot set Traffic mode in SKMaps
<p>I have downloaded the skmap android sdk and demo project from <a href="http://developer.skobbler.com/support#download" rel="nofollow">this</a>. This sktools.jar doesnot have setTrafficMode. I downloaded the latest jar, but yet the method is not found. How can I get the method in my skMapsettings class? </p> <p><a h...
I have downloaded the skmap android sdk and demo project from this . This sktools.jar doesnot have setTrafficMode. I downloaded the latest jar, but yet the method is not found. How can I get the method in my skMapsettings class? Here , the documentation clearly shows the method and in this there is the use of the menti...
java|android|android-studio|traffic|skmaps
1
2016-06-06T04:32:41.633Z
2,016
6
4
0
55
1
357
33
5
0
false
false
false
false
false
false
low
37,746,939
ArrayList won't load when app is restarted
<p>I'm quite new to android, and I am having a problem with save and load data.</p> <p>I am trying to make an app with a save and a load button, these buttons should save 2 ArrayLists with x- and y-coordinates.</p> <p>I've tried doing it with SharedPreferences and it works until the apps restarts or the screen rotate...
I'm quite new to android, and I am having a problem with save and load data. I am trying to make an app with a save and a load button, these buttons should save 2 ArrayLists with x- and y-coordinates. I've tried doing it with SharedPreferences and it works until the apps restarts or the screen rotates. When i take look...
android|arraylist|save|load|sharedpreferences
-1
2016-06-10T11:19:46.907Z
2,016
6
11
4
55
1
563
42
5
1
true
false
false
false
false
true
negative
37,791,575
Are data sms ports in Android an actual hardware feature?
<p>I've read that in Android a data sms can be sent to a specific port, say port 8901. Are there a set of predefined port numbers that can be used, or is the concept of "ports" a software specific notion? </p> <p>I have not found any information on it yet, so I'm thinking that the port number more or less works like a...
I've read that in Android a data sms can be sent to a specific port, say port 8901. Are there a set of predefined port numbers that can be used, or is the concept of "ports" a software specific notion? I have not found any information on it yet, so I'm thinking that the port number more or less works like a filter of s...
android
0
2016-06-13T13:53:29.710Z
2,016
6
13
0
55
1
948
57
1
0
false
false
false
false
false
false
zero
37,804,708
Putting entire website content into String value ( android )
<p>I have an assignment to hashcode ( on button click ) the contents of an entire website, and I have hit a dead end ( since I'm a beginner ). So far I managed to get this far:</p> <pre><code>public class MainActivity extends Activity { Button btn; EditText urlInput; TextView urlTxt, hashValue, saveLoc, t...
I have an assignment to hashcode ( on button click ) the contents of an entire website, and I have hit a dead end ( since I'm a beginner ). So far I managed to get this far: [CODE] The point where I'm stuck is the buffered reader, I can't get it to read the web URL from the edit text field. The last comment is one of t...
java|android|database|hashcode
0
2016-06-14T06:41:32.057Z
2,016
6
6
1
55
1
661
60
4
1
true
false
false
false
false
false
zero
37,895,221
OnKeyPressed getting activated in 2 Fragments together
<p>There are 2 fragments as F1 and F2 : From F1 I am overiding The OnResume for a OnKeyPressed to go to F2 on back pressed. Now in F2 I am overiding The OnResume for a OnKeyPressed to close the applicationon back pressed. But the problem is when I am presseing back button on F1 it is directly closing the app. Through...
There are 2 fragments as F1 and F2 : From F1 I am overiding The OnResume for a OnKeyPressed to go to F2 on back pressed. Now in F2 I am overiding The OnResume for a OnKeyPressed to close the applicationon back pressed. But the problem is when I am presseing back button on F1 it is directly closing the app. Through logs...
android|android-fragments
0
2016-06-18T09:05:07.717Z
2,016
6
9
5
55
1
513
54
2
2
true
false
false
false
false
false
zero
37,916,714
Android - How to show route on a Bitmap from Color info....?
<p>I am developing an application in which i am trying to implement indoor navigation(basic route showing). So what i have is a basic floor plan of building floor as an image. I have marked the hallway in red and the store are just boxes. I want to know if it is possible to get the part of the bitmap which is in red(or...
I am developing an application in which i am trying to implement indoor navigation(basic route showing). So what i have is a basic floor plan of building floor as an image. I have marked the hallway in red and the store are just boxes. I want to know if it is possible to get the part of the bitmap which is in red(or an...
android|bitmap
-3
2016-06-20T07:25:38.640Z
2,016
6
7
0
55
1
634
60
2
0
false
false
false
false
false
true
negative
37,996,022
fragment manager in navigation drawer error
<p>I am using Fragment manager in navigation drawer in android studio.I typed the following code as</p> <pre><code> FragmentManager fragmentManager = getFragmentManager(); fragmentManager.beginTransaction().replace(content_frame, fragment).commit(); </code></pre> <p>It shows red line below <strong><em>fragment...
I am using Fragment manager in navigation drawer in android studio.I typed the following code as [CODE] It shows red line below fragment in above code. The screenshot is also uploaded. enter image description here
android
0
2016-06-23T15:33:52.587Z
2,016
6
15
3
55
1
213
43
1
1
true
false
false
false
false
false
zero
37,918,178
Rxjava why did not execute the onNext method
<p>I wrote a method to print the output from flatMap (Pseudo code):</p> <pre><code>Observable.just(...).repeat() .flatMap( return Observable.just([double])) .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(new Subscriber&lt;Double&gt;() { @Override pub...
I wrote a method to print the output from flatMap (Pseudo code): [CODE] When I run these code, it works a few seconds but after a few seconds, it would not run onto the onNext method again. I don't know why, because I debug the code, it will run the Observable.just(double) , and the value always changed but it would no...
android|rx-java|reactive-programming|rx-android
1
2016-06-20T08:49:42.127Z
2,016
6
8
0
311
1
372
44
4
1
true
false
false
false
false
false
low
37,873,188
Rendering Problems Exception raised during rendering in API Level 24
<p>I have recently updated my API Level now its 24 and I noticed my layout previews weren't working, if I change API level 24 to 23 it works but on 24 its not working. anyone please help me.</p> <p>Error:</p> <blockquote> <p>Rendering Problems Exception raised during rendering: <br>com/android/util/PropertiesMap**<...
I have recently updated my API Level now its 24 and I noticed my layout previews weren't working, if I change API level 24 to 23 it works but on 24 its not working. anyone please help me. Error: Rendering Problems Exception raised during rendering: com/android/util/PropertiesMap**
android|android-studio|layout
1
2016-06-17T04:33:22.803Z
2,016
6
4
4
567
1
281
68
3
0
false
false
false
false
false
false
low
37,887,526
Android shape transformation of View
<p>I wanna create transforming animation of the shape of <code>View</code>. For example changing <code>rectangle</code> to <code>oval</code>. I tried to do this in the same way with color animation:</p> <pre><code>ColorDrawable[] color = {new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE), new ColorDrawable(C...
I wanna create transforming animation of the shape of View . For example changing rectangle to oval . I tried to do this in the same way with color animation: [CODE] But when I tried to do it with ShapeDrawable[] I could no shaping transformation, but imageView became black. [CODE] So is there any programmatical way in...
android|android-animation|transformation
2
2016-06-17T17:53:05.193Z
2,016
6
17
4
823
1
378
36
3
2
true
false
false
false
false
false
low
37,902,103
How to specify an Android service label (android:label for the <service> tag) in AndroidManifest.xml? (RAD Studio, Delphi XE)
<p>I created an Android app in RAD Studio 10.1 Berlin (Delphi), a service is attached to the application. When I compile the project then follow line appears in AndroidManifest.xml:</p> <pre><code>&lt;service android:exported="true" android:name="com.embarcadero.services.MyService" /&gt; </code></pre> <p>But I need f...
I created an Android app in RAD Studio 10.1 Berlin (Delphi), a service is attached to the application. When I compile the project then follow line appears in AndroidManifest.xml: [CODE] But I need follow line: [CODE] In the Project->Options->Version info has a property Label only for the host application, but not for t...
android|delphi|label|android-service|android-manifest
2
2016-06-18T22:13:44.073Z
2,016
6
22
5
823
1
366
125
5
2
true
false
false
false
false
false
low
37,974,202
Hyper-V / Visual Studio Emulator for Android can't connect to network
<p>I'm on Windows 10 Pro x64, using the latest <code>Visual Studio Emulator for Android</code> (Jan 2016). I have wired and wireless NICs, the wireless is connected to the Internet, and the wired is disabled to avoid conflicts (as often advised in other answers). I am using DHCP.</p> <p>I can run the Android VM in bot...
I'm on Windows 10 Pro x64, using the latest Visual Studio Emulator for Android (Jan 2016). I have wired and wireless NICs, the wireless is connected to the Internet, and the wired is disabled to avoid conflicts (as often advised in other answers). I am using DHCP. I can run the Android VM in both Hyper-V and the emulat...
android|visual-studio|android-emulator|hyper-v
0
2016-06-22T16:57:26.373Z
2,016
6
16
2
823
1
763
69
4
0
false
false
false
false
false
false
zero
37,917,822
Convert DLL to .dylib or .so
<p>I have a Xamarin project with some dll libraries, I would like to go native iOS (swift) and Android (java). Is it possible to convert my dll libraries to .dylib and .so through Xamarin in any way?</p>
I have a Xamarin project with some dll libraries, I would like to go native iOS (swift) and Android (java). Is it possible to convert my dll libraries to .dylib and .so through Xamarin in any way?
android|ios|dll|xamarin|dylib
1
2016-06-20T08:32:48.477Z
2,016
6
8
0
1,079
1
196
28
5
0
false
false
false
false
false
false
low
37,980,472
Best video streaming option for Android/iOS AWS
<p>I'm trying to figure out what my best option is for streaming many videos to an Android/iOS app from an AWS S3 bucket. </p> <p>My understanding right now is that it's possible to stream directly from the S3 bucket, but this is not recommended. I've looked into using AWS CloudFront to stream, but it looks as though ...
I'm trying to figure out what my best option is for streaming many videos to an Android/iOS app from an AWS S3 bucket. My understanding right now is that it's possible to stream directly from the S3 bucket, but this is not recommended. I've looked into using AWS CloudFront to stream, but it looks as though each distrib...
android|ios|amazon-web-services
0
2016-06-23T00:43:04.173Z
2,016
6
0
3
1,079
1
940
47
3
0
false
false
false
false
false
false
zero
37,982,417
Adding checkmark to a edittexted field
<p>I am making a form in Android and I want to know how would I go insert a check mark when user enters both password correctly. I am going to use the built in drawable checkmark as described in this post (<a href="https://stackoverflow.com/questions/9260049/how-to-access-checkmark-drawable-in-android-os">How to access...
I am making a form in Android and I want to know how would I go insert a check mark when user enters both password correctly. I am going to use the built in drawable checkmark as described in this post ( How to access checkmark drawable in Android OS? ) [CODE]
android|forms|password-confirmation
1
2016-06-23T04:34:36.710Z
2,016
6
4
3
1,079
1
260
38
3
1
true
false
false
false
false
false
low
37,679,778
Is it possible to run 2 AsyncTasks and with one interface onResult Listener that return obtained data to the main thread?
<p>Okey, first of all sorry for my level of Engish. I have an Activity that I want to show the content of two differents Lists(RecyclerViews), In this moment I only have one AsyncTask that returns to the main thread the downloaded data with an interface between the AsyncTask and Activity.</p> <p>With this, I can show ...
Okey, first of all sorry for my level of Engish. I have an Activity that I want to show the content of two differents Lists(RecyclerViews), In this moment I only have one AsyncTask that returns to the main thread the downloaded data with an interface between the AsyncTask and Activity. With this, I can show the data do...
android|android-asynctask
0
2016-06-07T12:45:17.657Z
2,016
6
12
1
56
1
909
121
2
3
true
false
false
false
false
false
zero
37,732,047
Personalize ActionBar/toolbar (change size and add image)
<p>Im trying to implement a layout made in photoshop, that has the actionbar/toolbar with different height and a image on there but just the upper half inside the bar and the other half outside the bar.</p> <p>As you can in the following image:</p> <p><a href="http://i.stack.imgur.com/3c2LI.jpg" rel="nofollow">Desire...
Im trying to implement a layout made in photoshop, that has the actionbar/toolbar with different height and a image on there but just the upper half inside the bar and the other half outside the bar. As you can in the following image: Desired Layout Is this viable to do ? And how ? Can you give me some tips ? Thanks,
java|android|android-layout|android-actionbar
0
2016-06-09T16:57:41.570Z
2,016
6
16
3
56
1
318
57
4
0
false
false
false
false
false
false
zero
37,765,985
make popupWindow TextView clickable?
<p>I have a PopupWindow on my activity and PopupWindow contain some TextView i want to make that text clickable.please help i m new in android.</p> <p>main activity.java:</p> <pre><code>public class ListViewForDeleteContact extends AppCompatActivity { ListView myListView; protected void onCreate(Bundle saved...
I have a PopupWindow on my activity and PopupWindow contain some TextView i want to make that text clickable.please help i m new in android. main activity.java: [CODE] main.xml: [CODE] popupWindow.xml: [CODE] main.xml activity use popupWindow.xml for displaying popup i want to make clickable TextView which are present ...
java|android|xml|sqlite
0
2016-06-11T16:23:26.290Z
2,016
6
16
5
56
1
339
36
4
3
true
false
false
false
false
false
zero
37,894,131
How can use BETWEEN in sqlite via db.query
<p>I've a query on sqlite that use "between" and I want to use it on standard Query. my code is here:</p> <pre><code> String[] columns = new String[]{"_id", "question_group", "question_number", "is_answered"}; String selection = "question_group = ?"; String[] selectionArgs = new String[]{String....
I've a query on sqlite that use "between" and I want to use it on standard Query. my code is here: [CODE] I want to Add another condition that is :question_number between 1 and 10. I can now write this query in a single statement but I want to use it as above I told.
sql|sqlite|android-sqlite
1
2016-06-18T06:47:19.997Z
2,016
6
6
5
56
1
267
42
3
1
true
false
false
false
false
false
low
37,919,763
Getting awekward background by default when running android app from Android Studio 2.2 Preview 3?
<p>I developed one app in Android Studio 1.5. and then i saw new version of Android Studio which is 2.2 Preview 3. I upgraded Android studio on system and reopen same project in that studio.it runs perfectly well, only the issue is now whenever i am running that project on device which have API Level &lt;21 means lower...
I developed one app in Android Studio 1.5. and then i saw new version of Android Studio which is 2.2 Preview 3. I upgraded Android studio on system and reopen same project in that studio.it runs perfectly well, only the issue is now whenever i am running that project on device which have API Level <21 means lower than ...
android|background|android-edittext|android-spinner|android-studio-2.2
0
2016-06-20T10:08:21.387Z
2,016
6
10
0
56
1
548
98
5
0
false
false
false
false
false
false
zero
37,605,488
Android - Missing Google Play Services in VERSION: 2.1.1.0?
<p>It is very strange, I am very new and as per setup instructions, I need to install Google Play services from SDK Manager, I tried a lot and finally gave up. I just downloaded the latest VERSION: 2.1.1.0 of SDK from <a href="https://developer.android.com/studio/index.html#downloads" rel="nofollow noreferrer">https:...
It is very strange, I am very new and as per setup instructions, I need to install Google Play services from SDK Manager, I tried a lot and finally gave up. I just downloaded the latest VERSION: 2.1.1.0 of SDK from https://developer.android.com/studio/index.html#downloads See below. Can you please help me how to instal...
android|sdk|google-play-services
0
2016-06-03T03:30:22.877Z
2,016
6
3
4
312
1
348
59
3
0
false
false
false
false
false
false
zero
37,625,979
How to edit accent material dark in android
<p>I changed the accent color. here's my code.</p> <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt; &lt;!-- Customize your theme here. --&gt; &lt;item name="colorAccent"&gt;@android:color/darker_gray&lt;/item&gt; &lt;/style&gt; </code></pre> <p>But things like radio button...
I changed the accent color. here's my code. [CODE] But things like radio buttons haven't changed. the code in the generated values.xml file has all these colors that I can't edit in the theme editor (in AndroidStudio.) Like: [CODE] My target is 22 and my minimum is 15... I don't know what that effects -_- How do I edit...
java|android|colors|themes
0
2016-06-04T03:15:47.633Z
2,016
6
3
5
312
1
334
43
4
2
true
false
false
false
false
false
zero
37,698,991
STL vector crash on Android x64
<p>The following code will crash at <strong>vec2(vec.size())</strong> if I build the code for <strong>Android x64</strong> with <strong>ndk-build</strong> (<strong>x86</strong> worked well).</p> <p>hello.cpp</p> <pre><code>#include &lt;vector&gt; #include &lt;stdio.h&gt; using namespace std; int main(int argc, char...
The following code will crash at vec2(vec.size()) if I build the code for Android x64 with ndk-build ( x86 worked well). hello.cpp [CODE] Android.mk [CODE] Application.mk [CODE] It is weird. The value of vec.size() equals to 0. If I change the code as follows: [CODE] the app will not crash. The issue seems to be caused...
android|vector|stl|android-ndk|ndk-build
1
2016-06-08T09:47:51.643Z
2,016
6
9
2
312
1
484
31
5
4
true
false
false
false
false
false
low
37,915,278
How to use NDK with Android Studio to compile a Linux .so to Android .so platform
<blockquote> <p>I have installed Android Studio and would like to use Linux .so to recompile and make it Android .so.</p> </blockquote> <p>I have searched around and all examples show a ready make .c compile to .so and reuse that .so, in the Android Studio. This is not in my situation, I only have Linux .so withou...
I have installed Android Studio and would like to use Linux .so to recompile and make it Android .so. I have searched around and all examples show a ready make .c compile to .so and reuse that .so, in the Android Studio. This is not in my situation, I only have Linux .so without the .c file. By referring from multiple ...
linux|android-ndk|shared-libraries|ndk-build
1
2016-06-20T05:43:20.667Z
2,016
6
5
0
312
1
1,148
81
4
0
false
false
false
false
false
false
low
37,650,920
how to uncollapse appbarlayout when gridview is not at the top
<p>i am trying to achive a gallery module similar to instagram,wherein gridview containing images will scroll independently but while scrolling gridview if i touch appbarlayout, it should start scrolling up. i was able to achieve it by setnestedscrollview, but when appbarlayout is collapsed ,it wont uncollapse untill i...
i am trying to achive a gallery module similar to instagram,wherein gridview containing images will scroll independently but while scrolling gridview if i touch appbarlayout, it should start scrolling up. i was able to achieve it by setnestedscrollview, but when appbarlayout is collapsed ,it wont uncollapse untill i br...
android|android-collapsingtoolbarlayout|android-nestedscrollview
2
2016-06-06T06:35:58.377Z
2,016
6
6
0
568
1
547
62
3
2
true
false
false
false
false
false
low
37,655,841
Pick .mp3 file from sdcard in preferencescreen
<p>How i can pick mp3 file from sdcard in android preferenceScreen menu..</p> <p>here is my preferenceScreen: </p> <pre><code>&lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;PreferenceCategory android:title="@string/app_setting"&gt; &lt;Preference android:t...
How i can pick mp3 file from sdcard in android preferenceScreen menu.. here is my preferenceScreen: [CODE] here my SettingActivity: [CODE] what i dont know is how to open sdcard and choose only .mp3 extension files from whole sdcard. and how to store that mp3 file to my asset/raw directory if it possible
android|android-sharedpreferences|filepicker|preferencescreen
0
2016-06-06T11:07:00.363Z
2,016
6
11
0
568
1
305
46
4
2
true
false
false
false
false
false
zero
37,773,814
Creating an "achievemenet progress" bar
<p>So I'm trying to create a progress bar for achievements in my application. These progress bars should show their progresses once the activity opens. I'm familiar with regular progress bars in which you update your list status and setprogress on the progress bar, but somehow I couldn't manage to complete this task. I...
So I'm trying to create a progress bar for achievements in my application. These progress bars should show their progresses once the activity opens. I'm familiar with regular progress bars in which you update your list status and setprogress on the progress bar, but somehow I couldn't manage to complete this task. In b...
android|progress-bar|progress|android-progressbar
1
2016-06-12T11:43:02.373Z
2,016
6
11
6
568
1
808
39
4
2
true
false
false
false
false
false
low
37,777,585
SmsManager: get message recipient phone number from BroadcastReceiver
<p>There is how I send message to multiple recipient:</p> <pre><code>public void send(List&lt;User&gt; participants, Func1&lt;User, String&gt; messageTextCallback, Subscriber&lt;SendingProgress&gt; subscriber) { // TODO: throw error Observable&lt;SendingProgress&gt; observable = O...
There is how I send message to multiple recipient: [CODE] This code call SmsManager.sendTextMessage(...) for every User's phone number. BroadcastReceiver receives every sent message and notifies subscriber about it. I want to get phone number of SMS recipient inside BroadcastReceiver.onReceive to pass it through Sendin...
android|rx-java|rx-android|smsmanager
1
2016-06-12T18:16:03.300Z
2,016
6
18
6
568
1
404
69
4
1
true
false
false
false
false
false
low
38,019,973
Animating the image in recycler view to fullscreen through dialog box
<p>In <code>RecyclerView</code>, how can I expand the image such that when we click the <code>Whatsapp</code> profile image of others, it shows a complete image in a dialog box? How can I achieve that in <code>RecyclerView</code>? with that transaction animation as well.</p>
In RecyclerView , how can I expand the image such that when we click the Whatsapp profile image of others, it shows a complete image in a dialog box? How can I achieve that in RecyclerView ? with that transaction animation as well.
java|android|android-recyclerview
0
2016-06-24T18:32:50.780Z
2,016
6
18
4
1,080
1
231
69
3
0
false
false
false
false
false
false
zero
37,749,538
How to Create Different CardView Layouts inside RecyclerView
<p>I have gone through series of posts on how to place different card layouts with different width and height inside a recyclerview layout. Unfortunately, none helped me so far.</p> <p>i already have the GridLayout created as shown below but all i want to create a separate card that shows on top of the Main Card Layou...
I have gone through series of posts on how to place different card layouts with different width and height inside a recyclerview layout. Unfortunately, none helped me so far. i already have the GridLayout created as shown below but all i want to create a separate card that shows on top of the Main Card Layouts. In this...
android|android-recyclerview
1
2016-06-10T13:28:13.773Z
2,016
6
13
4
1,848
1
466
60
2
2
true
false
false
false
false
false
low
37,627,739
Why is my ArrayList duplicating my items when added to another ArrayList in Android?
<p>I have a checkable RelativeLayout that I've obtained from <a href="http://adanware.blogspot.com/2012/04/android-multiple-selection-listview.html" rel="nofollow">this</a> tutorial. Everything is exactly the same except that I am adding the data from one ArrayList to another when the user moves on to the next step of ...
I have a checkable RelativeLayout that I've obtained from this tutorial. Everything is exactly the same except that I am adding the data from one ArrayList to another when the user moves on to the next step of the "Wizard" which I am using this library for. For some reason, when the user gets to the last step in the wi...
java|android|arraylist
1
2016-06-04T07:42:37.590Z
2,016
6
7
5
57
1
908
84
3
1
true
false
false
false
false
false
low
37,667,109
Android Keeping Session Forever
<p>Quite the opposite of what you might think I'm asking about. We ran into a small bug on a particular device in which it always fails to log into the site through an HTTPClient</p> <pre><code>public void Login() { final WebHandler webHandler = this; this.httpclient = new DefaultHttpClient(); this.thread ...
Quite the opposite of what you might think I'm asking about. We ran into a small bug on a particular device in which it always fails to log into the site through an HTTPClient [CODE] The idea was that a request would log into the site (even if it were already logged in), visit the page for information, and then log out...
android|authentication|synchronization|httpclient
0
2016-06-06T21:24:15.990Z
2,016
6
21
0
57
1
752
31
4
1
true
false
false
false
false
false
zero
37,693,923
I'm using Viewpager fragment and want to use "ShareActionProvider" on its Nested Fragment..! Is it possible?
<p>there is Viewpager used in my code in which 4 Fragments. when I click on Any Fragment Item it will redirect to another fragment class in which I want Share Action to be used.. </p> <p>But it didn't Support..</p> <p>@Override</p> <pre><code>public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { //...
there is Viewpager used in my code in which 4 Fragments. when I click on Any Fragment Item it will redirect to another fragment class in which I want Share Action to be used.. But it didn't Support.. @Override [CODE] I used Above code in my Fragment class..! In which I mention setHasOptionsMenu(true); in OncreatView() ...
android|android-fragments|android-nested-fragment|shareactionprovider
1
2016-06-08T05:29:19.583Z
2,016
6
5
2
57
1
356
108
4
1
true
false
false
false
false
false
low
37,846,298
Xamarin.Auth with CustomRenderer does not open on Android
<p>I successfully got Oauth2 to work with my localhost implementation using iOS and this Xamarin example: <a href="https://github.com/rasmuschristensen/SimpleOAuth" rel="nofollow noreferrer">https://github.com/rasmuschristensen/SimpleOAuth</a></p> <p>However, using Android, only a blank grey page is displayed. No erro...
I successfully got Oauth2 to work with my localhost implementation using iOS and this Xamarin example: https://github.com/rasmuschristensen/SimpleOAuth However, using Android, only a blank grey page is displayed. No error messages. I cannot figure out why the: [CODE] event does not get fired in the LoginpageRenderer.cs...
xamarin.android|xamarin.forms|xamarin.auth
0
2016-06-15T21:44:24.403Z
2,016
6
21
2
57
1
413
57
3
1
true
false
false
false
false
false
zero
37,896,691
Views with different width but same weight
<p>In an horizontal LinearLayout, I want to spread evenly a lot of textviews (I'd says my max is 120 for now).</p> <p>For now, I do it by setting the weightsum to 120, then adding 120 textviews with a wheight of <code>1f</code>.</p> <p>Here is my simplified code for you to test :</p> <pre><code>LinearLayout layout =...
In an horizontal LinearLayout, I want to spread evenly a lot of textviews (I'd says my max is 120 for now). For now, I do it by setting the weightsum to 120, then adding 120 textviews with a wheight of 1f . Here is my simplified code for you to test : [CODE] On my Genymotion Nexus 4 emulator, I get 2 situations : on po...
android|width|android-layout-weight
0
2016-06-18T12:00:48.440Z
2,016
6
12
5
57
1
810
42
3
1
true
false
false
false
false
false
zero
37,909,262
ListView behaving weirdly after the first time I use it to display data from an SQLite Database
<p>I am making a FragmentActivity that uses the viewPager to display three Fragments and two of those access data from SQLite databases. </p> <p>The Fragment of my concern is the ContactList module which simply displays two fields from the table mainTable in the database myDatabase3. </p> <p>Now, I have added the fun...
I am making a FragmentActivity that uses the viewPager to display three Fragments and two of those access data from SQLite databases. The Fragment of my concern is the ContactList module which simply displays two fields from the table mainTable in the database myDatabase3. Now, I have added the functionality of edit an...
android|sqlite|listview|android-fragments
0
2016-06-19T16:14:55.437Z
2,016
6
16
6
57
1
1,840
95
4
4
true
false
false
false
false
false
zero
38,009,668
Activity Destroy method gets called on long pressing device home?
<p>I have an app in which I have an activity called login,when login screen gets visible to me I press home key due to which app goes in background state,and again after few min when I press long device home key then I saw log showing Login activity ondestroy() called and when open app from pressing home button it star...
I have an app in which I have an activity called login,when login screen gets visible to me I press home key due to which app goes in background state,and again after few min when I press long device home key then I saw log showing Login activity ondestroy() called and when open app from pressing home button it starts ...
android
2
2016-06-24T09:13:42.247Z
2,016
6
9
4
57
1
407
65
1
1
true
false
false
false
false
false
low
38,039,416
Whether to use cookie or session for sending data between PHP files?
<p>I'm designing an app using quite a lot of php pages and thought it'd be better</p> <p>If I could use some of the php pages within processing of data at the server itself, using headers.</p> <p>Then, I will not be able to send values through HashMaps from Httpclient at Android</p> <p>So I'm trying to use cookies o...
I'm designing an app using quite a lot of php pages and thought it'd be better If I could use some of the php pages within processing of data at the server itself, using headers. Then, I will not be able to send values through HashMaps from Httpclient at Android So I'm trying to use cookies or sessions to send informat...
php|android
0
2016-06-26T14:20:01.043Z
2,016
6
14
6
57
1
695
68
2
0
false
false
false
false
false
false
zero
37,862,060
RAPT - android module's check_pause, accelerometer, etc. does not work
<p>I know people have asked questions along these lines here, but I haven't found an answer that helps me.</p> <p>I've made a simple game in pygame, I'm using RAPT to port it to android. I've gotten the game to compile and run successfully on my tablet. Great.</p> <p>It goes something like this:</p> <pre><code>impor...
I know people have asked questions along these lines here, but I haven't found an answer that helps me. I've made a simple game in pygame, I'm using RAPT to port it to android. I've gotten the game to compile and run successfully on my tablet. Great. It goes something like this: [CODE] The standard stuff. But as soon a...
android|python|pygame
0
2016-06-16T14:26:43.160Z
2,016
6
14
3
313
1
892
70
3
3
true
false
false
false
false
false
zero
37,913,824
How to build android application with RenderScript?
<p>I have little problem, When i try build application from google's source i gets these errors: <a href="http://i.stack.imgur.com/X6HE4.jpg" rel="nofollow">Screen</a> <br> It's like it not reads libraries from RenderScript, but it should, becouse i was add this to build.gradle:</p> <pre><code> renderscriptTarg...
I have little problem, When i try build application from google's source i gets these errors: Screen It's like it not reads libraries from RenderScript, but it should, becouse i was add this to build.gradle: [CODE] This is oryginal source: [CODE] And this is my from Android studio: [CODE] If i'm doing something wrong p...
android|build|renderscript
0
2016-06-20T02:19:41.563Z
2,016
6
2
0
313
1
490
51
3
3
true
false
false
false
false
false
zero
37,606,920
Hi,In 6.0 Permission to make call is asking everytime
<p>In 6.0 marshmallow, I want to add permission to making call. below code is working in all devices except Moto G, In Moto G permission is asking everytime when I start making call. </p> <pre><code>if(android.os.Build.VERSION.SDK_INT &gt;= 23){ if(checkPermission(c, Manifest.permission.READ_PHONE_STATE)){...
In 6.0 marshmallow, I want to add permission to making call. below code is working in all devices except Moto G, In Moto G permission is asking everytime when I start making call. [CODE]
android
-4
2016-06-03T05:58:18.913Z
2,016
6
5
4
58
1
186
53
1
1
true
false
false
false
false
true
negative
37,632,180
ViewPager gallery in ListView
<p>I have a problem. I am trying to make slideshow gallery using ViewPager inside ListAdapter and inide ListView. Everything is ok, but only when i set ViewPager height as 300dp (example), but when i use match_parent or wrap_content it not showing content at all.</p> <p>My Adapter:</p> <pre><code>public class Klaszto...
I have a problem. I am trying to make slideshow gallery using ViewPager inside ListAdapter and inide ListView. Everything is ok, but only when i set ViewPager height as 300dp (example), but when i use match_parent or wrap_content it not showing content at all. My Adapter: [CODE] My element for slideshow: [CODE] My Elem...
android|listview|android-viewpager
0
2016-06-04T15:50:55.183Z
2,016
6
15
5
58
1
495
29
3
3
true
false
false
false
false
false
zero
37,677,004
Calendar objects gives two different date on Samsung note 2
<p>I have the following code </p> <pre><code>{ Calendar mSunday = getToday(); mSunday.add(Calendar.YEAR, 2); mSunday.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY); Calendar mMonday = getToday(); mMonday.add(Calendar.YEAR, 2); mMonday.add(Calendar.WEEK_OF_YEAR, -1); mMonday.set(Calendar.DAY_OF_WEE...
I have the following code [CODE] I log the dates and my desired output should be [CODE] but when I run the same code in Samsung Note 2, I get the output as [CODE] Can someone please explain why the difference while using Samsung Note 2 since Calendar is a Java object and should be independent of android version model o...
android|datetime|calendar
0
2016-06-07T10:35:45.897Z
2,016
6
10
1
58
1
333
59
3
3
true
false
false
false
false
false
zero
37,681,585
Save cropped image in SQL
<p>I would like to save an photo in my SQL database, in a BLOB field. Now I'm doing it saving a byte array, but too much effort for the app to work...I changed the dimensions (BitmapFactory) in order to reduce app work, but the image is a sort of mosaicon and lacks of resolution. Actually I'm taking a photo with the ca...
I would like to save an photo in my SQL database, in a BLOB field. Now I'm doing it saving a byte array, but too much effort for the app to work...I changed the dimensions (BitmapFactory) in order to reduce app work, but the image is a sort of mosaicon and lacks of resolution. Actually I'm taking a photo with the camer...
android|sqlite|photo
-2
2016-06-07T14:02:29.137Z
2,016
6
14
1
58
1
754
25
3
0
false
false
false
false
false
true
negative
37,702,593
On Android support lib dependencies
<p>It just occured to me why we add android support lib dependencies as remote dependencies to the compilation path in gradle scripts ? I mean we already have them installed on our local. So wouldn't it be more meaningful to declare them as local dependencies (ie: compile fileTree ... ). Or am I missing some important ...
It just occured to me why we add android support lib dependencies as remote dependencies to the compilation path in gradle scripts ? I mean we already have them installed on our local. So wouldn't it be more meaningful to declare them as local dependencies (ie: compile fileTree ... ). Or am I missing some important stu...
android|gradle|dependencies|android-support-library
1
2016-06-08T12:31:49.083Z
2,016
6
12
2
58
1
331
35
4
0
false
false
false
false
false
false
low
37,724,339
Android Selectable TextViewer SetHighlightedText
<p>I am Using <code>SelectableTextview</code> in my e-book app where i want to highlight any text from the book. The text is being highlighted by <code>SelectableTextViewer</code> class, and i am saving the selected text in database. Now i want when the user open the e-book next time the same text should be highlighted...
I am Using SelectableTextview in my e-book app where i want to highlight any text from the book. The text is being highlighted by SelectableTextViewer class, and i am saving the selected text in database. Now i want when the user open the e-book next time the same text should be highlighted as it is. But there is no me...
android
0
2016-06-09T11:11:40.297Z
2,016
6
11
3
58
1
428
48
1
1
true
false
false
false
false
false
zero
37,732,946
Why do react-native packages use native SDKs and not JS/web versions?
<p>Purely informational question, not really a problem but: I remember following the instructions and seeing that there were some steps to get the react-native-fbsdk working. These steps involved messing with my android build.gradle and adding the iOS SDK and the info.plist and whatnot. That aside, why doesn't Faceboo...
Purely informational question, not really a problem but: I remember following the instructions and seeing that there were some steps to get the react-native-fbsdk working. These steps involved messing with my android build.gradle and adding the iOS SDK and the info.plist and whatnot. That aside, why doesn't Facebook ut...
react-native|facebook-javascript-sdk|facebook-ios-sdk|facebook-android-sdk
0
2016-06-09T17:49:17.830Z
2,016
6
17
3
58
1
501
69
4
0
false
false
false
false
false
false
zero
37,791,803
DIV not scrolling on Android 4.2
<p>As said in the title, I have in my code a div that I can not scroll on the default browser on Android 4.2 (and probably lower).</p> <p>Here is the HTML :</p> <pre><code>&lt;div class="slider"&gt; &lt;div class="slider-list"&gt; &lt;div class="slide active-slide"&gt; &lt;section class="conte...
As said in the title, I have in my code a div that I can not scroll on the default browser on Android 4.2 (and probably lower). Here is the HTML : [CODE] Here is the CSS : [CODE] I have a JS script that, on click on .next button, fades out the ".active-slide" and fades in the next ".slide" in the DOM. However, the scro...
android|html|css
0
2016-06-13T14:04:34.793Z
2,016
6
14
0
58
1
567
32
3
2
true
false
false
false
false
false
zero
37,846,069
Android wear sensor rate changes when "stay awake when charging" enabled
<p>I am currently developing a logging app that collects sensor data from both a smartphone and smartwatch. In the app, there is an option to set the sampling rate. Everything works as intended when both devices are plugged in but when the watch is unplugged it samples at a far higher rate than specified. (e.g. Watch s...
I am currently developing a logging app that collects sensor data from both a smartphone and smartwatch. In the app, there is an option to set the sampling rate. Everything works as intended when both devices are plugged in but when the watch is unplugged it samples at a far higher rate than specified. (e.g. Watch samp...
android|android-sensors
0
2016-06-15T21:26:54.557Z
2,016
6
21
2
58
1
943
72
2
2
true
false
false
false
false
false
zero
37,862,581
Android debug google in app billing
<p>I'm developping an application in android. The application is already available on the play store.</p> <p>Anyway, I want to debug the in app billing process I just developped. If I have well understood, the only way is to publish the apk for alpha/beta testing ? As it takes severals hours to be available, is there ...
I'm developping an application in android. The application is already available on the play store. Anyway, I want to debug the in app billing process I just developped. If I have well understood, the only way is to publish the apk for alpha/beta testing ? As it takes severals hours to be available, is there an other wa...
android|in-app-purchase|in-app-billing
0
2016-06-16T14:49:38.293Z
2,016
6
14
3
58
1
340
35
3
0
false
false
false
false
false
false
zero
38,046,338
AutoCompleteTextView return model after selecting the result
<p>I am using a <code>autocompleteTextview</code> when searching a major and school. In my autocomplete <code>textbox</code> it returns an actual strings of searchable queries like </p> <pre><code>major = Computer Science schools = Harvard University </code></pre> <p>But after clicking the selected item it returns t...
I am using a autocompleteTextview when searching a major and school. In my autocomplete textbox it returns an actual strings of searchable queries like [CODE] But after clicking the selected item it returns the model like this is my filter code in my school adapter [CODE] after selecting the choices in autocomplete thi...
java|android|autocompletetextview
0
2016-06-27T05:14:36.410Z
2,016
6
5
0
58
1
487
60
3
2
true
false
false
false
false
false
zero
37,921,830
Using facebook SDK Send Button Android
<p>I read the documentation of the facebook sdk. But i am not able to make the <strong>Send Button</strong> work. Below is the work i have done.</p> <pre><code>public class Main2Activity extends AppCompatActivity { private LoginButton loginButton; private CallbackManager callbackManager; @Override prot...
I read the documentation of the facebook sdk. But i am not able to make the Send Button work. Below is the work i have done. [CODE] Please i want to know how to make it work as it do nothing when i press send button it do not open the messenger to send message?
android|facebook|facebook-graph-api|sendmessage
0
2016-06-20T11:50:51.183Z
2,016
6
11
0
314
1
261
38
4
1
true
false
false
false
false
false
zero
37,964,340
Multidex in IntelliJ IDEA with Maven
<p>I've got a Maven project which currently is not an IntelliJ IDEA project. I imported it via File -> Open Project and then choosing the root pom.xml.</p> <p>Everything seems to be imported fine, all modules are there and the Android modules are configured correctly.</p> <p>I then added a run configuration for the A...
I've got a Maven project which currently is not an IntelliJ IDEA project. I imported it via File -> Open Project and then choosing the root pom.xml. Everything seems to be imported fine, all modules are there and the Android modules are configured correctly. I then added a run configuration for the Android module I wan...
android|maven|intellij-idea
0
2016-06-22T09:46:29.343Z
2,016
6
9
2
314
1
676
36
3
1
true
false
false
false
false
false
zero
37,989,872
How to select word in a pdf file
<p>In my app I am using the library <a href="https://github.com/barteksc/AndroidPdfViewer" rel="nofollow">https://github.com/barteksc/AndroidPdfViewer</a> for reading a pdf file. Now I want to select words from the pdf file, how will I do it?</p>
In my app I am using the library https://github.com/barteksc/AndroidPdfViewer for reading a pdf file. Now I want to select words from the pdf file, how will I do it?
android|pdf
1
2016-06-23T11:07:49.360Z
2,016
6
11
3
314
1
165
32
2
0
false
false
false
false
false
false
low
38,029,946
Simple name/content multipart/formdata http post using cURL and native Android NDK results in CURLE_BAD_FUNCTION_ARGUMENT
<p>Implementing an app that is partially native that uses cURL HTTP post to retrieve data based on the content of the the post payload. The code is written in the C programming language. The Android native app targets:</p> <pre><code>compileSdkVersion = 23 minSdkVersion.apiLevel = 15 targetSdkVersion.apiLevel = 22 </c...
Implementing an app that is partially native that uses cURL HTTP post to retrieve data based on the content of the the post payload. The code is written in the C programming language. The Android native app targets: [CODE] The sequence of cURL calls goes something like this: [CODE] All return values are checked for cal...
android|c|curl|android-ndk
0
2016-06-25T15:20:17.013Z
2,016
6
15
5
314
1
1,172
121
4
4
true
false
false
false
false
false
zero
37,893,525
App installation on Android 6 bypasses the customary 'Permissions' screen
<p><strong>Wanna make an app?</strong> - <em>That's simple!</em></p> <p><strong>Wanna make it work on different versions?</strong> - <em>Learn rocket science.</em></p> <p>Have seen the following answers and more, but none helped: </p> <ul> <li><a href="https://stackoverflow.com/questions/35701792/android-app-not-ask...
Wanna make an app? - That's simple! Wanna make it work on different versions? - Learn rocket science. Have seen the following answers and more, but none helped: Answer 1 Answer 2 Answer 3 So, here's my AndroidManifest chunk: [CODE] and the relevant chunk from build.gradle : [CODE] When I first installed the app on Mars...
android-6.0-marshmallow|android-permissions|android-6.0.1-marshmallow
0
2016-06-18T05:18:45.723Z
2,016
6
5
5
570
1
1,010
73
3
2
true
false
false
false
false
false
zero
37,923,546
gradle not excuting task to copy files
<p>I am using following code in <code>build.gradle</code> that copies different configuration files for airship. However what I am finding is my tasks <code>copyReleaseConfigFileTask</code>/<code>copyDebugConfigFileTask</code> are not being called. Can anyone give hints as to why the tasks I have defined below are not ...
I am using following code in build.gradle that copies different configuration files for airship. However what I am finding is my tasks copyReleaseConfigFileTask / copyDebugConfigFileTask are not being called. Can anyone give hints as to why the tasks I have defined below are not getting executed? [CODE]
android|gradle|android-gradle-plugin
1
2016-06-20T13:13:45.503Z
2,016
6
13
0
570
1
304
38
3
1
true
false
false
false
false
false
low
37,883,327
Access .htaccess protected file Android
<p>I'd like to access a file that is protected by .htaccess in my Android app. Below is what I need to get just a file, but not .htaccess protected. I don't know where I can put my credentials... Can someone help me with adding credentials to this? Or propose another way to collect the file? Thanks in advance :)</p> <...
I'd like to access a file that is protected by .htaccess in my Android app. Below is what I need to get just a file, but not .htaccess protected. I don't know where I can put my credentials... Can someone help me with adding credentials to this? Or propose another way to collect the file? Thanks in advance :) [CODE]
android|json|.htaccess
0
2016-06-17T13:49:08.593Z
2,016
6
13
4
826
1
317
39
3
1
true
false
false
false
false
false
zero
37,654,769
Multiple strokes with spacing
<p>I want to have a button style with two strokes with some spacing between them. My first approach is not satisfying because in the corners the spacing between the strokes is different:</p> <p><img src="https://i.stack.imgur.com/HKjMQ.png" alt=""></p> <p>The gray stroke should be tight around the blue gradient and t...
I want to have a button style with two strokes with some spacing between them. My first approach is not satisfying because in the corners the spacing between the strokes is different: The gray stroke should be tight around the blue gradient and the corner radius of the white stroke should fit to the others. Here's my c...
java|android|android-layout|android-view
4
2016-06-06T10:10:42.767Z
2,016
6
10
0
1,338
1
331
29
4
1
true
false
false
false
false
false
low
37,863,866
Camera 2 Api preview is stretched
<p>I work with old camera api and camera 2 api, using GlSurfaceView. when I get necessary aspect ratio in old api I use Camera.Parameters</p> <pre><code>camParams.setPreviewSize(previewW, previewH); if(isPictureSizeSupported(camParams, newSize)) { camParams.setPictureSize(newSize.getWidth(), newSize...
I work with old camera api and camera 2 api, using GlSurfaceView. when I get necessary aspect ratio in old api I use Camera.Parameters [CODE] if it will not be called, preview is streched Q: How to get such effect in camera 2 api?
android|camera|surfaceview|android-camera2
3
2016-06-16T15:49:45.537Z
2,016
6
15
3
1,594
1
230
33
4
1
true
false
false
false
false
false
low
38,007,812
Committing existing project to git and github
<p>I have a fairly large android studio project and I now want to commit the entire project to git and then to github but I'm stuck! I know how to add a file to the staging area and committing it or committing all modified files but <strong><em>how do I commit an entire project to git instead of committing files singly...
I have a fairly large android studio project and I now want to commit the entire project to git and then to github but I'm stuck! I know how to add a file to the staging area and committing it or committing all modified files but how do I commit an entire project to git instead of committing files singly? Thank you for...
git|android-studio|github|git-commit|git-push
0
2016-06-24T07:23:07.790Z
2,016
6
7
4
1,594
1
345
45
5
0
false
false
false
false
false
false
zero
37,982,111
android.media.MediaCodec.finalize() timed out after 10 seconds
<pre><code>Fatal Exception: java.util.concurrent.TimeoutException android.media.MediaCodec.finalize() timed out after 10 seconds </code></pre> <p>I'm receiving this exception from fabric happened with Samsung Galaxy Note 3 (4.3) on the end users side, anybody has any clue on why it happened?</p>
[CODE] I'm receiving this exception from fabric happened with Samsung Galaxy Note 3 (4.3) on the end users side, anybody has any clue on why it happened?
android|crash|timeout
3
2016-06-23T04:01:51.077Z
2,016
6
4
3
4,666
1
153
62
3
1
true
false
true
false
false
false
low
37,620,166
Android service restart with same state
<p>I am trying upload mutliple images in a service.I am passing the path list array in the intent.So if the service restarts (RE DELIVER INTENT) i will get the intent back.</p> <p>But while uploading images say 3rd image out of 5 if my service restarts.I will have to upload all the images from the begining because i g...
I am trying upload mutliple images in a service.I am passing the path list array in the intent.So if the service restarts (RE DELIVER INTENT) i will get the intent back. But while uploading images say 3rd image out of 5 if my service restarts.I will have to upload all the images from the begining because i get it from ...
android|android-intent|service
0
2016-06-03T17:19:16.690Z
2,016
6
17
4
59
1
567
39
3
0
false
false
false
false
false
false
zero
37,737,038
ListView default background selector doesn't work
<p>I'm trying to solve an issue with default background selector in list view.</p> <p>I'm using a ListView with a default style. List item contains a few TextViews and an ImageButton. When the image button is not visible (Setting visibility to invisible using the adapter), the background selector works well (There is ...
I'm trying to solve an issue with default background selector in list view. I'm using a ListView with a default style. List item contains a few TextViews and an ImageButton. When the image button is not visible (Setting visibility to invisible using the adapter), the background selector works well (There is an on click...
android|listview
0
2016-06-09T22:11:00.747Z
2,016
6
22
3
59
1
496
49
2
3
true
false
false
false
false
false
zero
37,778,034
Android Back button behaves unpredictably on Activity started from Intent
<p>In my application I have 3 activities:</p> <ul> <li><code>MainActivity</code>, which is the main screen which comes up when launching the app</li> <li><code>SettingsActivity</code>, which is started from <code>MainActivity</code></li> <li><code>DownloadActivity</code>, which is started from <code>SettingsActivity</...
In my application I have 3 activities: MainActivity , which is the main screen which comes up when launching the app SettingsActivity , which is started from MainActivity DownloadActivity , which is started from SettingsActivity . DownloadActivity presents a list of in-app content for users to download. The actual down...
android|android-intent|android-activity|back
1
2016-06-12T19:02:46.143Z
2,016
6
19
6
59
1
1,592
73
4
1
true
false
false
false
false
false
low
37,821,856
Merging 2 branches in github
<p>I have tried all sorts of solutions that Ive seen on this site. No score. On github I have Project-Rachel and MM-mr2. I want to merge the branch from MM-mr2 into Project-Rachel. Any help would be greatly appreciated. This is all involving Android kernel source.</p>
I have tried all sorts of solutions that Ive seen on this site. No score. On github I have Project-Rachel and MM-mr2. I want to merge the branch from MM-mr2 into Project-Rachel. Any help would be greatly appreciated. This is all involving Android kernel source.
android|github|merge|branch
0
2016-06-14T20:51:45.473Z
2,016
6
20
1
59
1
261
28
4
0
false
false
false
false
false
false
zero
37,867,266
Dynamically changing the background of Layout in android doesn't work properly
<p>I made an android application in which the background color of the activity is changing with the click on the RadioButtons in the Activity.</p> <p>I'm elaborating my question with help of images : On opening the app : <a href="https://i.stack.imgur.com/hN1io.png" rel="nofollow noreferrer"><img src="https://i.stack....
I made an android application in which the background color of the activity is changing with the click on the RadioButtons in the Activity. I'm elaborating my question with help of images : On opening the app : So we have got 3 RadioButtons on click of any of the RadioButtons the background color of the activity should...
android|android-layout
0
2016-06-16T18:54:44.063Z
2,016
6
18
3
59
1
1,088
78
2
2
true
false
false
false
false
false
zero
37,890,424
Back Button (activity) Return To Fragment
<p>I have a class that <code>extends FragmentActivity</code></p> <p>That accesses fragments with the following:</p> <pre><code>@Override public Fragment getItem(int arg0) { // TODO Auto-generated method stub Fragment fragment=null; if (arg0 == 0) { fragment = new Fragment_01_Rooms(); } if...
I have a class that extends FragmentActivity That accesses fragments with the following: [CODE] Now the Fragment called is public class Fragment_02_Contacts extends Fragment Which call another class via intent with the following: [CODE] Now this class called has public class ActivityChatPrivate extends FragmentActivity...
android
0
2016-06-17T21:11:07.377Z
2,016
6
21
4
59
1
435
41
1
3
true
false
false
false
false
false
zero
37,902,680
Android: Multiple Streaming Variables to Raspberry Pi (Bi-Communication)
<p>I'm trying to create an android controller app that will send seekbar data for a steering wheel, brakes, and throttle to the raspberry pi. I've been using TCP/IP over ethernet to communicate with the pi, but I need a way to identify the different data streams associated with the seekbars. I've looked into JeroMQ, an...
I'm trying to create an android controller app that will send seekbar data for a steering wheel, brakes, and throttle to the raspberry pi. I've been using TCP/IP over ethernet to communicate with the pi, but I need a way to identify the different data streams associated with the seekbars. I've looked into JeroMQ, and J...
java|android|raspberry-pi2
0
2016-06-18T23:57:52.587Z
2,016
6
23
5
59
1
623
72
3
0
false
false
false
false
false
false
zero
37,906,924
Do i need to check whether the phone is in offline mode in every time a new activity is called?
<p>I have written a code to check whether the phone is currently online or not. But my question is do i need to check whether the phone is in offline mode in every time a new activity is called? if yes then what is the better way to code that?</p> <p>The code to check whether phone is online or offline is like this:</...
I have written a code to check whether the phone is currently online or not. But my question is do i need to check whether the phone is in offline mode in every time a new activity is called? if yes then what is the better way to code that? The code to check whether phone is online or offline is like this: [CODE] The a...
java|android|oop
-1
2016-06-19T11:50:24.127Z
2,016
6
11
6
59
1
470
95
3
1
true
false
false
false
false
true
negative
38,010,269
How to make AndroidAnnotations-generated class accept a WeakReference<Activity> instead of Activity in its constructor
<p>I have a <code>@EBean</code> (by AndroidAnnotations) annotated class that extends <code>BaseAdapter</code>. I haven't provided any constructors, but the generated class creates one and it accepts the <code>Activity</code> as its argument.</p> <p>A background task loads the content and in cases where it hasn't finis...
I have a @EBean (by AndroidAnnotations) annotated class that extends BaseAdapter . I haven't provided any constructors, but the generated class creates one and it accepts the Activity as its argument. A background task loads the content and in cases where it hasn't finished before the activity is killed, it leaks the A...
android|android-annotations
0
2016-06-24T09:41:03.227Z
2,016
6
9
4
59
1
690
118
2
1
true
false
false
false
false
false
zero