id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
36,981,833
SQLLite Open Helper - column doesnt exist
<p>i have a problem with SQLlite DB in my android app. I have DatabaseHelper class, as you can see bellow. And i am calling simple insert in an activity. But i am getting exception table tvSeries has no column named last_episode_id. I almost looks like it wont create a table ? But i cant see a problem.</p> <pre><code>...
i have a problem with SQLlite DB in my android app. I have DatabaseHelper class, as you can see bellow. And i am calling simple insert in an activity. But i am getting exception table tvSeries has no column named last_episode_id. I almost looks like it wont create a table ? But i cant see a problem. [CODE]
android|sqlite
0
2016-05-02T11:54:54.770Z
2,016
5
11
0
60
1
307
41
2
1
true
false
false
false
false
false
zero
36,981,879
Facebook login/logout status in android app
<p>I'd like to have Facebook login in my Android app. So, I managed to organize sign in using <code>Facebook Login Button</code> and registering <code>FacebookCallback</code>. Now we have access to public Profile info and so on. Here is my question:</p> <blockquote> <p>In Facebook account <code>Settings &gt; Securit...
I'd like to have Facebook login in my Android app. So, I managed to organize sign in using Facebook Login Button and registering FacebookCallback . Now we have access to public Profile info and so on. Here is my question: In Facebook account Settings > Security there is an item called Where You're Logged In where you c...
android|facebook|facebook-login
1
2016-05-02T11:57:50.887Z
2,016
5
11
0
380
1
1,037
43
3
1
true
false
false
false
false
false
low
36,981,890
Android - Volley Error 403 won't be solved
<p>I'm actually trying to create a login activity using volley but i can't understand why it always give me the <code>error 403 : unexpected response</code>.</p> <p>I know that my php code is as good as my server because i tryed it with Postman and it work just fine. (Internet permission is activated)</p> <pre><code>...
I'm actually trying to create a login activity using volley but i can't understand why it always give me the error 403 : unexpected response . I know that my php code is as good as my server because i tryed it with Postman and it work just fine. (Internet permission is activated) [CODE] Here is the screenshot of Postma...
php|android|json|android-volley
1
2016-05-02T11:58:13.927Z
2,016
5
11
0
2,216
1
322
42
4
1
true
false
false
false
false
false
low
36,981,976
Gradle (Android Studio) does not generate jar file
<p>I'm working on an android plugin for unity and need to generate a jar file. To do so I followed the steps at <a href="https://stackoverflow.com/a/20446513/3742608">https://stackoverflow.com/a/20446513/3742608</a> , set my build variant to release, rebuild the project and executed makeJar. However, my project does ha...
I'm working on an android plugin for unity and need to generate a jar file. To do so I followed the steps at https://stackoverflow.com/a/20446513/3742608 , set my build variant to release, rebuild the project and executed makeJar. However, my project does have the folder gradle uses only in another folder 'intermediate...
android|unity3d|gradle|jar
0
2016-05-02T12:02:43.777Z
2,016
5
12
0
731
1
749
50
4
1
true
false
false
false
false
false
zero
36,981,988
Using RecyclerView adapter.notifyDataSetChanged in ViewPager fragment
<p><code>ViewPager</code> has four fragments. In first fragment I use <code>RecyclerView</code> for showing list of products. In second fragment I manipulate data that shows in first fragment(for example I can delete some data or add, it has to show in first fragment <code>RecyclerView</code>). And when I swipe to firs...
ViewPager has four fragments. In first fragment I use RecyclerView for showing list of products. In second fragment I manipulate data that shows in first fragment(for example I can delete some data or add, it has to show in first fragment RecyclerView ). And when I swipe to first fragment I have to see changing. For th...
android|android-viewpager
3
2016-05-02T12:03:09.540Z
2,016
5
12
0
313
1
595
69
2
2
true
false
false
false
false
false
low
36,981,994
Collapsing toolbar layout with NestedScrollView doesnt scroll smoothly
<p>I have a <code>NestedScrollView</code> with <code>CollapsingToolbarLayout</code> and I would like to make it work smoothly.</p> <p>My problem is when scrolling up from content, my Collapsing Toolbar doesn't auto expand but is blocked when it hits top. Then i need to scroll up again in order to expand toolbar. </p> ...
I have a NestedScrollView with CollapsingToolbarLayout and I would like to make it work smoothly. My problem is when scrolling up from content, my Collapsing Toolbar doesn't auto expand but is blocked when it hits top. Then i need to scroll up again in order to expand toolbar. I would like to achieve smooth scrolling u...
android|android-layout|android-nestedscrollview
3
2016-05-02T12:03:31.363Z
2,016
5
12
0
3,138
3
478
70
3
1
true
false
true
false
false
false
low
36,982,016
Change Popup Menu Items font size dynamatically Android
<p>I am creating an android app which has a popup menu and it is opened when a button is clicked and I want to increase the text size of menu items in that popup menu dynamically(based on the users input).</p> <p>Can anyone help on how do that programatically?</p> <p><strong>In my class:</strong></p> <pre><code>menu...
I am creating an android app which has a popup menu and it is opened when a button is clicked and I want to increase the text size of menu items in that popup menu dynamically(based on the users input). Can anyone help on how do that programatically? In my class: [CODE] And my xml file is :: [CODE]
android|menu|textview|android-menu|popupmenu
2
2016-05-02T12:04:45.527Z
2,016
5
12
0
2,345
3
299
55
5
2
true
false
false
false
false
false
low
36,982,031
I am trying to get the GPS coordinates from within a fragment. I am not getting any errors but the application crashes on launch
<p>I think there is a problem in My <code>Location Listener</code> but I am not able to pinpoint it. When I remove the code to get GPS my application is working fine.</p> <pre><code>public class RescueFragment extends Fragment{ public RescueFragment(){} private static final long mindisch=1; private static...
I think there is a problem in My Location Listener but I am not able to pinpoint it. When I remove the code to get GPS my application is working fine. [CODE]
android|eclipse|android-fragments|gps
0
2016-05-02T12:05:53.247Z
2,016
5
12
0
866
1
157
128
4
1
true
false
false
false
false
false
zero
36,982,114
Layout footer smart on ScrollView
<p>I need display a Layout on botton of ScrollView such as:</p> <p>1 - If the height of the content of the ScrollView is less than the height of the ScrollView, the Layout should be at the bottom of the ScrollView</p> <p><a href="https://i.imgur.com/noYIjaR.jpg" rel="nofollow noreferrer"><img src="https://i.imgur.com...
I need display a Layout on botton of ScrollView such as: 1 - If the height of the content of the ScrollView is less than the height of the ScrollView, the Layout should be at the bottom of the ScrollView 2 - If the height of the content of the ScrollView is greater than the height of the ScrollView, then the Footer Lay...
android|scrollview
0
2016-05-02T12:09:58.467Z
2,016
5
12
0
94
0
499
33
2
0
false
true
false
false
false
false
zero
36,982,134
How can i make a dynamically created Bitmap to fit an ImageView?
<p>I'd like to create a <code>Bitmap</code> from a <code>String</code> with a given text size and set it as source of an <code>ImageView</code>.</p> <p>The <code>ImageView</code> in it's layout xml:</p> <pre><code>&lt;ImageView android:id="@+id/myImageView" android:layout_width="wrap_content" android:layo...
I'd like to create a Bitmap from a String with a given text size and set it as source of an ImageView . The ImageView in it's layout xml: [CODE] Setting the Bitmap as src of the ImageView : [CODE] My getBitmapFromString method: [CODE] How can i calculate the proper size for the Bitmap (from the given text size and Stri...
java|android|android-imageview|android-bitmap
2
2016-05-02T12:10:54.563Z
2,016
5
12
0
1,096
1
383
64
4
3
true
false
false
false
false
false
low
36,982,147
RawQuery doesn't work when given null valueto args
<p>I'm writing a basic android app in which personal information like name, email, etc. is filled in and stored in an SQLite database by pressing a "submit"-button (this all works perfectly). Then there's a search button which should search for a corresponding person in the database when one field is filled in (e.g. on...
I'm writing a basic android app in which personal information like name, email, etc. is filled in and stored in an SQLite database by pressing a "submit"-button (this all works perfectly). Then there's a search button which should search for a corresponding person in the database when one field is filled in (e.g. only ...
java|android|database|sqlite|cursor
1
2016-05-02T12:11:19.377Z
2,016
5
12
0
654
3
828
50
5
1
true
false
false
false
false
false
low
36,982,277
FloatinActionButton: the following classes could not be instantiated
<p>At first everything was fine, then came the error.</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" andr...
At first everything was fine, then came the error. [CODE] There also is an error java.lang.IllegalArgumentException : No drawer view found with gravity LEFT dependencies: [CODE]
java|android|floating-action-button
0
2016-05-02T12:18:46.777Z
2,016
5
12
0
83
1
177
68
3
2
true
false
false
false
false
false
zero
36,982,337
Open files with other apps in webview
<p>I'm building a simple app, in which I use a webview in Android Studio, in the app, i search a movie, and then I download the torrent.</p> <p>When I download in the web, it automatically send me to the utorrent app, but when I download it from my app, I can't open it.</p> <p>Sorry for my English and for my poor kno...
I'm building a simple app, in which I use a webview in Android Studio, in the app, i search a movie, and then I download the torrent. When I download in the web, it automatically send me to the utorrent app, but when I download it from my app, I can't open it. Sorry for my English and for my poor knowledge. My java cod...
java|android|android-studio|webview
0
2016-05-02T12:21:51.970Z
2,016
5
12
0
111
1
331
37
4
1
true
false
false
false
false
false
zero
36,982,346
How to keep markers on a map fragment when configuration changes?
<p>I have a map fragment in my Main Activity that on my onMapReady I am adding let's say 300 markers. The markers are divided into 5 categories, each category saved in a List category1(2,3,4,5) = new ArrayList. I have a button that filters the markers by category by setting them visible or not according to the users op...
I have a map fragment in my Main Activity that on my onMapReady I am adding let's say 300 markers. The markers are divided into 5 categories, each category saved in a List category1(2,3,4,5) = new ArrayList. I have a button that filters the markers by category by setting them visible or not according to the users optio...
android|google-maps|mapfragment
1
2016-05-02T12:22:15.340Z
2,016
5
12
0
1,988
2
1,226
65
3
3
true
false
false
false
false
false
low
36,982,374
Can someone explain this Picasso Adapter for GridView?
<p>I'm kinda new in android development also in Stackoverflow (sorry because this question is kinda not following the rules) so, i want to ask something about this <a href="https://futurestud.io/blog/picasso-adapter-use-for-listview-gridview-etc" rel="nofollow">tutorial</a></p> <p>EDIT : i just figure it myself and i ...
I'm kinda new in android development also in Stackoverflow (sorry because this question is kinda not following the rules) so, i want to ask something about this tutorial EDIT : i just figure it myself and i got an error in "listview.setAdapter" [CODE]
android|gridview|adapter
-3
2016-05-02T12:23:25.470Z
2,016
5
12
0
56
1
251
54
3
1
true
false
false
false
false
true
negative
36,982,434
mutlipe buttons choice android
<p>I'm wondering how to make multiple buttons, which have the ability to go back after a certain amount of clicks. when i hit the third incorrect button it doesn't go back. please can someone tell me where im going wrong. after the third attempt it should close the activity</p> <pre><code>private boolean answer = fals...
I'm wondering how to make multiple buttons, which have the ability to go back after a certain amount of clicks. when i hit the third incorrect button it doesn't go back. please can someone tell me where im going wrong. after the third attempt it should close the activity [CODE]
android|button|android-activity
0
2016-05-02T12:26:18.003Z
2,016
5
12
0
33
1
278
30
3
1
true
false
false
false
false
false
zero
36,982,465
When closing db - java.lang.NullPointerException
<p>I have exception in onDestroy()</p> <p>public class FragmentList extends Fragment {</p> <pre><code> private ListView listView; private FloatingActionButton fab; private Cursor cursor; private SQLiteDatabase db; boolean isAvatar; String nameText; public FragmentList() { // Обязат...
I have exception in onDestroy() public class FragmentList extends Fragment { [CODE] log E/AndroidRuntime: FATAL EXCEPTION: main Process: ru.bunakov.testapplication, PID: 30583 java.lang.NullPointerException at ru.bunakov.testapplication.fragments.FragmentList.onDestroy(FragmentList.java:85) at android.app.Fragment.perf...
java|android|nullpointerexception
0
2016-05-02T12:27:59.283Z
2,016
5
12
0
198
2
643
48
3
1
true
false
false
false
false
false
zero
36,982,670
Android ListView Item Layout getting screwed up
<p>I tried to customize the layout of my ListView so I made up the following layout file:</p> <pre><code>&lt;GridLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="100dp" ...
I tried to customize the layout of my ListView so I made up the following layout file: [CODE] When I use this layout on a Fragment or just check it in the design tab it looks totally fine like this: But as soon as I apply this layout to a ListView item it turns out looking like that: I already tried replacing the GridL...
android|android-layout|listview
0
2016-05-02T12:38:40.553Z
2,016
5
12
0
51
1
463
47
3
1
true
false
false
false
false
false
zero
36,982,817
Android camera API: getSupportedColorEffects can return unsupported effects?
<p>I just faced the strange problem. My app crashes with </p> <pre><code>Fatal Exception: java.lang.RuntimeException: setParameters failed at android.hardware.Camera.native_setParameters(Camera.java) </code></pre> <p>despite the fact, that effect I tried to set is listed in <code>parameters.getSupportedColorEffects()...
I just faced the strange problem. My app crashes with [CODE] despite the fact, that effect I tried to set is listed in parameters.getSupportedColorEffects() . Did anyone faced the similar problem? I suppose it device-specific bug, because I can reproduce it only on Samsung Galaxy S4 (and I got Crashlytics reports only ...
java|android|android-camera
1
2016-05-02T12:46:00.323Z
2,016
5
12
0
283
0
596
76
3
3
true
true
false
false
false
false
low
36,982,873
codename one android push notifications not registering for push
<p>I am trying to get push notifications working with my cn1 app for android. I have it working perfectly on ios but for some reason for android it's not even registering. This is what I did</p> <p>I started a new project in my play store console, input the app name and package name.</p> <p>I then went into my google...
I am trying to get push notifications working with my cn1 app for android. I have it working perfectly on ios but for some reason for android it's not even registering. This is what I did I started a new project in my play store console, input the app name and package name. I then went into my google cloud console and ...
android|push-notification|push|codenameone
4
2016-05-02T12:49:04.157Z
2,016
5
12
0
511
1
1,056
64
4
1
true
false
false
false
false
false
low
36,982,927
Extremely slow to get JSON with Apps Script Spreadsheet
<p>I have an Excel workbook (Spreadsheet) in my drive account with multiple sheets, in one of those sheets I have 5000 records.</p> <p>I'm using this script (Apps Script) to get the records in JSON format, from a android device: The script works if the records are few, but with a lot of records never finish.</p> <pre...
I have an Excel workbook (Spreadsheet) in my drive account with multiple sheets, in one of those sheets I have 5000 records. I'm using this script (Apps Script) to get the records in JSON format, from a android device: The script works if the records are few, but with a lot of records never finish. [CODE] Why does it t...
android|json|google-apps-script|google-sheets
0
2016-05-02T12:52:01.407Z
2,016
5
12
0
470
1
468
55
4
1
true
false
false
false
false
false
zero
36,982,958
How to get the value of TextViews from an ArrayAdapter to another Class
<p>In order to pass data from my Custom Adapter to another class I tried these two methods and none worked for me.</p> <pre><code> String SGetNumVol=Num_Vol.getText().toString(); String SGetComment=Commentaire.getText().toString(); String SGetAirpDepart=Aeroport.getText().toString(); String SGetDestinat...
In order to pass data from my Custom Adapter to another class I tried these two methods and none worked for me. [CODE] and recieving it like [CODE] Second Method is like : [CODE] recieving : [CODE] The first returning NullPointerException and the second just pass without any error but it doesn't return values from Cust...
android
0
2016-05-02T12:53:26.667Z
2,016
5
12
0
149
2
401
71
1
4
true
false
false
false
false
false
zero
36,983,050
Failed to handle RealmList<RealmList<RealmInt>> in Realm.io
<p>My JSON data looks like this from server api</p> <pre><code>{ //... PredecessorIds:[[1,2][3,4][5]] //... } </code></pre> <p>I can successfully handle the arrays of Integer or String by <code>RealmList&lt;RealmInt&gt;</code> but this time I failed with an error, because RealmList> is not supported saying, <co...
My JSON data looks like this from server api [CODE] I can successfully handle the arrays of Integer or String by RealmList<RealmInt> but this time I failed with an error, because RealmList> is not supported saying, "Type parameter 'io.realm.realmList' is not within its bounds...." For RealmInt see this link . I tried t...
android|database|realm|realm-list
1
2016-05-02T12:58:09.980Z
2,016
5
12
0
281
1
799
59
4
3
true
false
false
false
false
false
low
36,983,155
I can not get any value from any class to IntentService
<p>I am trying to pass the value to IntentService Class. But I can not get the value from any class.</p> <p>I am following like this:</p> <pre><code> public class ModelClass { private static ModelClass mInstance = null; Activity mActivity; String mString; public static ModelClass getInstance() { ...
I am trying to pass the value to IntentService Class. But I can not get the value from any class. I am following like this: [CODE] I am setting the value form HomePage like this. [CODE] I am receiving the value like this:- [CODE] But I am here getting null values. If i try to get the value in home page mean I can view ...
android|intentservice
0
2016-05-02T13:04:06.170Z
2,016
5
13
0
44
0
396
55
2
3
true
true
false
false
false
false
zero
36,983,261
Marshmallow Intent.ACTION_BOOT_COMPLETED
<p>i have a rotted <code>Nexus6</code> With <code>Android6</code>. I've created a system app (located in <code>system/app</code>) i wish to execute a simple code when receiving ACTION_BOOT_COMPLETED but for some reason the code does not executes.. </p> <p>Manifest:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-...
i have a rotted Nexus6 With Android6 . I've created a system app (located in system/app ) i wish to execute a simple code when receiving ACTION_BOOT_COMPLETED but for some reason the code does not executes.. Manifest: [CODE] Receiver: [CODE] Any suggestions? EDIT: When executing with adb the following: [CODE] The code ...
android|root|android-6.0-marshmallow|android-permissions|boot
0
2016-05-02T13:08:58.647Z
2,016
5
13
0
1,114
0
387
40
5
3
true
true
false
false
false
false
zero
36,983,266
Displaying SQLite row values if the row ID matches the listView item ID
<p>here is my scenario:</p> <p>lets say I have a SQLite table which displays some rows with and ID that is of course auto incremented. </p> <pre><code>public static final String DataTableName = "jobsTable"; public static final String ColID = "ID"; public static final String ColPlace = "placeName"; public ...
here is my scenario: lets say I have a SQLite table which displays some rows with and ID that is of course auto incremented. [CODE] the "placeName" and "position" and "startingTime" are used to populate listView cells like so: Click here to see screen capture Now my question is, how can I display the values of a Table ...
android|sqlite|listview
1
2016-05-02T13:09:19.967Z
2,016
5
13
0
59
0
582
71
3
2
true
true
false
false
false
false
low
36,983,267
Using RecyclerView in ScrollView with CollapsingToolbar
<p>I'm having an issue trying to build a layout where I have a CollapsingToolbar and a Scrollview</p> <p>The ScrollView contains two CardViews and a RecyclerView The CollapsingToolbar consists of an image, a title and no buttons for the moment</p> <p><a href="http://i.stack.imgur.com/BJqSL.png" rel="nofollow">Activit...
I'm having an issue trying to build a layout where I have a CollapsingToolbar and a Scrollview The ScrollView contains two CardViews and a RecyclerView The CollapsingToolbar consists of an image, a title and no buttons for the moment Activity Layout Content Layout (The ScrollView is missing android:fillViewport="true")...
android|android-layout|android-recyclerview|android-scrollview
0
2016-05-02T13:09:20.853Z
2,016
5
13
0
77
1
868
55
4
2
true
false
false
false
false
false
zero
36,983,271
Trying to store data in a LinkedList on my test android app and keep getting a nullpointerexception
<p>Problem: (All info below) I've set up the app to get text from <code>EditText</code> component and add it into a <code>LinkedList</code> once the button is pressed.</p> <p>Tests: Testing for <code>getText.toString()</code> was successful (so u_in had a usable string) and I also tried to implement a simple array wit...
Problem: (All info below) I've set up the app to get text from EditText component and add it into a LinkedList once the button is pressed. Tests: Testing for getText.toString() was successful (so u_in had a usable string) and I also tried to implement a simple array within my MainActivity and perform the same function ...
java|android|button|nullpointerexception|linked-list
0
2016-05-02T13:09:32.880Z
2,016
5
13
0
578
3
750
99
5
4
true
false
false
false
false
false
zero
36,983,317
GCM same ID multiple times in data store after updation from getCanonicalRegistrationId Canonical IDs
<p>I want to implement GCM in my android app, and i have used this code for my server side implementation.</p> <p><a href="https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/GcmEndpoints" rel="nofollow noreferrer">https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/...
I want to implement GCM in my android app, and i have used this code for my server side implementation. https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/GcmEndpoints And the implementation is working fine, and my app is able to receive the messages sent. I installed my app and got a GCM ID,...
android|google-app-engine|google-cloud-messaging
1
2016-05-02T13:11:56.997Z
2,016
5
13
0
88
1
1,664
101
3
1
true
false
false
false
false
false
low
36,983,319
Deleting an item from SQLite and listView
<p>i want to delete item from a listView and SQLite database with contextMenu (press on item and hold, delete button appears, press it and item deletes) and my code doesnt remove anything. I tried when pressed on Delete, toast with text appears and it worked.</p> <p><strong>DBAdapter.java</strong></p> <pre><code>publ...
i want to delete item from a listView and SQLite database with contextMenu (press on item and hold, delete button appears, press it and item deletes) and my code doesnt remove anything. I tried when pressed on Delete, toast with text appears and it worked. DBAdapter.java [CODE] MainActivity.java [CODE] FULL CODE: MainA...
android|sqlite|listview
0
2016-05-02T13:11:59.680Z
2,016
5
13
0
3,267
1
361
41
3
4
true
false
true
false
false
false
zero
36,983,429
Method does not override another method View.OnClickListener (Error in Override)
<p>I m trying to create a new java file for button (sin) as this is about calculator. But it is showing <code>Error</code> in second override annotations. (Method does not override method from its SuperClass). There is one more <code>Error</code> associating with brackets in the bottom part of code. Being newbie this i...
I m trying to create a new java file for button (sin) as this is about calculator. But it is showing Error in second override annotations. (Method does not override method from its SuperClass). There is one more Error associating with brackets in the bottom part of code. Being newbie this is the first time I'm having m...
android|overriding|onclicklistener
0
2016-05-02T13:17:41.217Z
2,016
5
13
0
699
2
474
80
3
1
true
false
false
false
false
false
zero
36,983,496
Android permissions, Works on API 23 but stopped working on API 21
<p>This is what I'm using for request permission to make it work on API 23, but this made a problem that code do not want to send information though API 21.</p> <pre><code>private boolean checkAndRequestPermissions() { int permissionSendMessage = ContextCompat.checkSelfPermission(this, Manifes...
This is what I'm using for request permission to make it work on API 23, but this made a problem that code do not want to send information though API 21. [CODE] If I remove this permissions, API 21 works perfectly again. [CODE] Stack Trace when open with API 21: [CODE] Permissions: [CODE] If need any more information I...
android|android-5.0-lollipop|android-6.0-marshmallow|android-permissions|runtime-permissions
1
2016-05-02T13:20:54.923Z
2,016
5
13
0
950
0
332
66
5
4
true
true
false
false
false
false
low
36,983,520
Retrofit Android 400 error ASP.NET API
<p>I'm working on connecting my android app to an ASP.NET API. </p> <p>When I post with Postman (<a href="http://localhost:3863/api/account/login" rel="nofollow">http://localhost:3863/api/account/login</a> x-www-form-encoded), I get HTTP 200:</p> <pre><code>{ "success": true, "username": "mathijs.cop" } </cod...
I'm working on connecting my android app to an ASP.NET API. When I post with Postman ( http://localhost:3863/api/account/login x-www-form-encoded), I get HTTP 200: [CODE] When I try from inside android on http://10.0.2.2:3863/api/account/login I get (please note that the IP has changed because we are calling from insid...
java|c#|android|asp.net|retrofit
0
2016-05-02T13:22:27.323Z
2,016
5
13
0
813
1
490
38
5
5
true
false
false
false
false
false
zero
36,983,529
Libgdx changing scenes doesn't destroy previous scene
<p>So in scene A I have few buttons, one of them leads to scene B. When I open scene B, Table elements are not placed correctly and buttons from previous scene are invisible, but if I tap on position of that button from previous scene it opens a scene that it opens on scene A.</p> <p>I hope this makes sense to you.</p...
So in scene A I have few buttons, one of them leads to scene B. When I open scene B, Table elements are not placed correctly and buttons from previous scene are invisible, but if I tap on position of that button from previous scene it opens a scene that it opens on scene A. I hope this makes sense to you. I'm thinking ...
java|android|libgdx
0
2016-05-02T13:22:49.370Z
2,016
5
13
0
244
1
468
53
3
2
true
false
false
false
false
false
zero
36,983,627
How to export data from sqlite database to CSV file from android app
<p>I have looked at some similar questions on here but can't figure out how to make this work for my problem. I have made a workout application and would like to allow the user to press a button to export the data in the database to a csv or excel file.could anyone give me some advice on how to go about this. If i need...
I have looked at some similar questions on here but can't figure out how to make this work for my problem. I have made a workout application and would like to allow the user to press a button to export the data in the database to a csv or excel file.could anyone give me some advice on how to go about this. If i need to...
android|excel|sqlite|csv
2
2016-05-02T13:27:47.920Z
2,016
5
13
0
482
0
447
68
4
2
true
true
false
false
false
false
low
36,983,897
Error message showing while uploading Apk to the google play store
<p><a href="https://i.stack.imgur.com/GX88Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GX88Z.png" alt="Screenshot"></a></p> <p>I have apk on play store with with version code 5 and version name 5.0.0. But when I am trying to upload new apk to play store with version code 6 and version name 5.0....
I have apk on play store with with version code 5 and version name 5.0.0. But when I am trying to upload new apk to play store with version code 6 and version name 5.0.1 it showing me this error as This configuration cannot be published for the following reason(s): Version 5 is not served to any device configuration: a...
android|google-play|apk
0
2016-05-02T13:41:20.757Z
2,016
5
13
0
617
1
790
66
3
0
false
false
false
false
false
false
zero
36,983,937
RecyclerView Adapter Layout not showing icon
<p>First things first, here goes one screenshot (sorry by the poor paint editing):</p> <p><img src="https://i.stack.imgur.com/uE8zR.png" alt="enter image description here"></p> <p>Well as you may have noticed, only the middle line there is an icon (green circle), however, I'm setting up the icons of all rows, or mayb...
First things first, here goes one screenshot (sorry by the poor paint editing): Well as you may have noticed, only the middle line there is an icon (green circle), however, I'm setting up the icons of all rows, or maybe I think I am. The icon can be green or red, the first line should show an Green icon and the last, o...
android|imageview|android-adapter|android-recyclerview
2
2016-05-02T13:42:58.420Z
2,016
5
13
0
1,738
4
906
44
4
4
true
false
false
false
false
false
low
36,984,024
Updating ArrayList from SharedPreferences (using TinyDB), using contains, but always return false
<p>I am saving my <code>ArrayLists</code> to <code>SharedPreferences</code> in the <code>onPause</code> of my <code>MainActivity</code>. I do this as follows:</p> <pre><code>TinyDB tinyDB = new TinyDB(activity); ArrayList&lt;Object&gt; saveUserList = new ArrayList&lt;&gt;(); for (User user : UsersArrayList.getInstanc...
I am saving my ArrayLists to SharedPreferences in the onPause of my MainActivity . I do this as follows: [CODE] and call the update in my onCreateView as follows: [CODE] The .contains(user) however always returns false and keeps adding the same objects to my the array. And I only want the once that are not in there to ...
java|android|sharedpreferences|contains|tinydb
1
2016-05-02T13:47:07.633Z
2,016
5
13
0
906
0
469
97
5
3
true
true
false
false
false
false
low
36,984,120
android relative textview show hide without change other item position
<p>this is my layout code</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;LinearLayout android:id="@+id/reveal_items" android:layout_width="...
this is my layout code [CODE] and this the screenshot of result the badge code its [CODE] i add badge to the notification but its make notification icon and text of notification not in one line with other table did there are some thing to make badge relative and i can add it any where on xml code without change the oth...
android|xml
0
2016-05-02T13:51:47.770Z
2,016
5
13
0
188
1
541
70
2
2
true
false
false
false
false
false
zero
36,984,242
How to change ACCOUNT_TYPE field for specific, existing, contact to one of Google, and make it sync?
<h2>Background</h2> <p>Suppose I have a contact on the device (or I'm about to create one), which I wish to save into Google account, so that it will be synced with it. I also wish to be able to let the user choose which account to save to.</p> <p>This is what a Samsung device shows upon creating a new contact:</p> ...
Background Suppose I have a contact on the device (or I'm about to create one), which I wish to save into Google account, so that it will be synced with it. I also wish to be able to let the user choose which account to save to. This is what a Samsung device shows upon creating a new contact: If the device also had a S...
android|android-contacts|google-account
4
2016-05-02T13:56:50.893Z
2,016
5
13
0
940
1
1,876
100
3
3
true
false
false
false
false
false
low
36,984,310
Why i get 0? must be a word
<p><a href="https://i.stack.imgur.com/YRjvA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YRjvA.jpg" alt="enter image description here"></a></p> <p>Why checkbox has 0? There must be string "Avatar" from string resourse. I need help. Here's my code.................. ..................................
Why checkbox has 0? There must be string "Avatar" from string resourse. I need help. Here's my code.................. ................................ ................................ [CODE] Fill ListView from SQLite [CODE] The resources file: [CODE]
android|xml|sqlite
0
2016-05-02T14:00:14.863Z
2,016
5
14
0
56
2
250
27
3
3
true
false
false
false
false
false
zero
36,984,348
Cannot detect Beacons (TI SensorTag CC2650) with Altbeacon
<p>I am trying to detect the TI SensorTag as an iBeacon with the Altbeacon library. </p> <p>I have already implemented the code from the Altbeacon Tutorial and tried to parse into iBeacon layout as described in this post: </p> <p><a href="https://stackoverflow.com/questions/25027983/is-this-the-correct-layout-to-dete...
I am trying to detect the TI SensorTag as an iBeacon with the Altbeacon library. I have already implemented the code from the Altbeacon Tutorial and tried to parse into iBeacon layout as described in this post: Is this the correct layout to detect iBeacons with AltBeacon&#39;s Android Beacon Library? However, the size ...
android|bluetooth-lowenergy|ibeacon|altbeacon
0
2016-05-02T14:02:14.390Z
2,016
5
14
0
411
1
756
58
4
2
true
false
false
false
false
false
zero
36,984,537
Cordova/Android on click/tap/vclick/touchstart not working
<p><strong>NOTE: The following issue only occurs on Android versions above 4.4.2 (as far as I know)</strong> <hr> <strong>TL;DR</strong> buttons with click/tap/vclick/touchstart attached to them, seem to work only partly (10-30% of the time) in my cordova app (Android only). </p> <hr> <p>I'm trying to develop a hybri...
NOTE: The following issue only occurs on Android versions above 4.4.2 (as far as I know) TL;DR buttons with click/tap/vclick/touchstart attached to them, seem to work only partly (10-30% of the time) in my cordova app (Android only). I'm trying to develop a hybrid app for ios/android/windows. In the app, I'll have the ...
android|jquery|cordova|jquery-mobile
1
2016-05-02T14:10:40.960Z
2,016
5
14
0
874
1
1,070
58
4
2
true
false
false
false
false
false
low
36,984,594
why AsyncHttpClient method calls both onSuccess and onFailure method simultaneously
<p>I don't understand why both the methods are called simultaneously ie onSuccess and onFailure method of AsyncHttpClient. Here is the following code snippet.</p> <pre><code>AsyncHttpClient client = new AsyncHttpClient(); client.post(context, url, entity, "application/json", new JsonHttpResponseHandler() { ...
I don't understand why both the methods are called simultaneously ie onSuccess and onFailure method of AsyncHttpClient. Here is the following code snippet. [CODE]
android|json|rest|android-async-http
0
2016-05-02T14:13:21.407Z
2,016
5
14
0
329
0
162
83
4
1
true
true
false
false
false
false
zero
36,984,631
Android: Hide viewPager tabs when launching a fragment from one of the viewPager tab fragment
<p>I have a viewPager in my app which has several tabs. In some of the tabs, on clicking an item a new fragment is shown. I want this fragment to cover the tabs. Doing this is possible but the approaches don't look good to me.</p> <p>1.) one way is that I add the newly created fragment to the activity using <code>getS...
I have a viewPager in my app which has several tabs. In some of the tabs, on clicking an item a new fragment is shown. I want this fragment to cover the tabs. Doing this is possible but the approaches don't look good to me. 1.) one way is that I add the newly created fragment to the activity using getSupportFragmentMan...
android|android-fragments|android-viewpager|android-tablayout
1
2016-05-02T14:14:56.950Z
2,016
5
14
0
1,762
1
914
93
4
1
true
false
false
false
false
false
low
36,984,679
Android App crashes after backpress with Handler and Camera
<p>Android App crashes after backpress with Handler and Camera</p> <p>I am trying to use camera for an SOS app , the code runs when we start the sos flash using the button click in order to keep the flash light running , I am using Handler with Post delay</p> <p>the app crashes when we use backpress to go back to the...
Android App crashes after backpress with Handler and Camera I am trying to use camera for an SOS app , the code runs when we start the sos flash using the button click in order to keep the flash light running , I am using Handler with Post delay the app crashes when we use backpress to go back to the previous activity ...
android|android-camera|onbackpressed
0
2016-05-02T14:17:25.633Z
2,016
5
14
0
505
1
442
59
3
1
true
false
false
false
false
false
zero
36,984,729
How can i add different data to 3 fragment in 3 tabs?
<p>i want to know that how can i add some different data like an array to each fragments that are in TabLayout? i mean that fragment1 show array1, fragment2 show array2 and fragment3 show array3</p> <p>the below is my code for Tablayout:</p> <pre><code>public class PoshtibaniActivity extends AppCompatActivity { priv...
i want to know that how can i add some different data like an array to each fragments that are in TabLayout? i mean that fragment1 show array1, fragment2 show array2 and fragment3 show array3 the below is my code for Tablayout: [CODE]
android|android-fragments
1
2016-05-02T14:19:37.237Z
2,016
5
14
0
403
2
234
53
2
1
true
false
false
false
false
false
low
36,984,836
Android parsing JSON in UTF-8
<p>I'm using a webservice to make a some dynamic activity. Everything works fine except UTF-8 encoding. I've tried to encode JSON in UTF-8, but I haven't been successful so far. Here is my Servicehandler which includes UTF-8 encoding:</p> <pre><code> try { // http client DefaultHttpClient httpClient = ...
I'm using a webservice to make a some dynamic activity. Everything works fine except UTF-8 encoding. I've tried to encode JSON in UTF-8, but I haven't been successful so far. Here is my Servicehandler which includes UTF-8 encoding: [CODE] Here's my doInBackground method: [CODE]
android|json|utf-8|encode
0
2016-05-02T14:24:51.950Z
2,016
5
14
0
425
0
278
29
4
2
true
true
false
false
false
false
zero
36,984,853
MediaRecorder, recording audio and video has very low volume
<p>Im using MediaRecorder on an android project, to record video and audio files. it records correctly but the sound volume on both files is very very low.</p> <p>I use this to configure MediaRecorder to record audio</p> <pre><code>String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date()); ...
Im using MediaRecorder on an android project, to record video and audio files. it records correctly but the sound volume on both files is very very low. I use this to configure MediaRecorder to record audio [CODE] and this when i record video [CODE] i tried other options on setAudioSource besides the AudioSource.CAMCOR...
android|mediarecorder
3
2016-05-02T14:25:38.883Z
2,016
5
14
0
1,891
2
396
60
2
2
true
false
false
false
false
false
low
36,985,048
Retrieving a large Twitter avatar via fabric android
<p>How can I retrieve an URL that contains a large avatar with Twitter fabric on Android? I have tried already:</p> <pre><code> Twitter.getApiClient(session).getAccountService().verifyCredentials(true, false, new Callback&lt;User&gt;() { @Override public void success(Result&l...
How can I retrieve an URL that contains a large avatar with Twitter fabric on Android? I have tried already: [CODE] This results in a small image. Is there a way to build an URL to make direct access to that file such as: https://pbs.twimg.com/profile_images/{id}/avatar.jpg?size=large or similar?
android|twitter|twitter-fabric
0
2016-05-02T14:35:13.087Z
2,016
5
14
0
57
1
297
52
3
1
true
false
false
false
false
false
zero
36,985,052
cannot generate view binders java.util.NoSuchElementException with Android Gradle Plugin 2.1
<p>I'm using the binding mechanism in my Android project. All worked fine when using the Android Gradle Plugin until version 2.0. </p> <p>Since a couple of days I can upgrade to version 2.1 of the Android Gradle Plugin. When I upgrade I get the following exception:</p> <pre><code>java.lang.RuntimeException: failure, ...
I'm using the binding mechanism in my Android project. All worked fine when using the Android Gradle Plugin until version 2.0. Since a couple of days I can upgrade to version 2.1 of the Android Gradle Plugin. When I upgrade I get the following exception: [CODE] At the top there is a reference to a log file, but I have ...
java|android|gradle|android-gradle-plugin|android-databinding
3
2016-05-02T14:35:26.940Z
2,016
5
14
0
1,537
2
488
92
5
1
true
false
false
false
false
false
low
36,985,235
XMPPBOSHConnection with Smack 4.1.7 failed?
<p>We have problem with this configuration for connected via http-bind to xmpp server .</p> <pre><code> BOSHConfiguration.Builder configBuilder = BOSHConfiguration.builder(); configBuilder.setUsernameAndPassword("user", "pass"); configBuilder.setHost("host.ltd"); configBuilder.setPort(...
We have problem with this configuration for connected via http-bind to xmpp server . [CODE] and we try without [CODE] but still not connected to server . we check the server connection with pidgin and other bosh connection is work fine Error Log : [CODE] Any Suggestion ?
android|xmpp|smack
1
2016-05-02T14:43:23.310Z
2,016
5
14
0
328
0
271
43
3
3
true
true
false
false
false
false
low
36,985,295
Android Studio Execution failed for task ':app:processDebugResources'.
<p>When I try to build my project, the Messages Gradle Build reports these messages:</p> <pre><code>C:\...\src\main\res\values-v14\styles_app.xml Error:(26, 5) Resource entry Theme.App already has bag item android:windowBackground. Error:(26, 5) Originally defined here. C:\...\build\intermediates\res\merged\debug\valu...
When I try to build my project, the Messages Gradle Build reports these messages: [CODE] correspondingly in the Gradle Console it is reported: [CODE] what's the problem? NOTE: the question reported here Android: Execution failed for task &#39;:app:processDebugResources&#39; is with no solution.
java|android|android-studio|android-gradle-plugin|build.gradle
-1
2016-05-02T14:46:52.453Z
2,016
5
14
0
1,872
1
295
70
5
2
true
false
false
false
false
true
negative
36,985,315
Android Linkify makes not phone number clickable
<p>I am trying to make clickable phone number 0900-123 4567 in textview with simple code. On some phones and android versions it works, on some not. Mostly only 0900-123 is clickable, 4567 is not added. Sometimes on the same phone number is clickable when phone language is english but not clickable when language is fre...
I am trying to make clickable phone number 0900-123 4567 in textview with simple code. On some phones and android versions it works, on some not. Mostly only 0900-123 is clickable, 4567 is not added. Sometimes on the same phone number is clickable when phone language is english but not clickable when language is french...
android|linkify
1
2016-05-02T14:48:01.200Z
2,016
5
14
0
730
0
431
48
2
1
true
true
false
false
false
false
low
36,985,402
setBackground android ImageButton function doesn't update color if it's not called twice
<p>I have an Android tablet with two profiles. One is Administrator profile and another one is a limited guest profile. The code I am developing must change the color of an Android ImageButton from a listener. The function that updates the ImageButton color is called as follows:</p> <pre><code>private static void udat...
I have an Android tablet with two profiles. One is Administrator profile and another one is a limited guest profile. The code I am developing must change the color of an Android ImageButton from a listener. The function that updates the ImageButton color is called as follows: [CODE] If the tablet is in Administrator pr...
android|repaint|android-imagebutton
0
2016-05-02T14:52:26.183Z
2,016
5
14
0
154
1
875
88
3
2
true
false
false
false
false
false
zero
36,985,403
BotomSheetDialog FabButton Anchor View not working as expected
<p>Hi I am trying to anchor Fab button to BottomSheetDialog but it is not working. <strong>EDITED</strong> Here is My Dialog</p> <pre><code>public static class QuickInfoDialog extends BottomSheetDialogFragment { private BottomSheetBehavior.BottomSheetCallback mBottomSheetBehaviorCallback = new BottomSheetBeha...
Hi I am trying to anchor Fab button to BottomSheetDialog but it is not working. EDITED Here is My Dialog [CODE] This is my xml where my other layouts and fab button is defined. [CODE] I have tried solution from here Android BottomSheet with FloatButton but it did not work. Fragment Layout from which i am showing this B...
android|android-support-library|androiddesignsupport
0
2016-05-02T14:52:26.280Z
2,016
5
14
0
1,467
1
338
62
3
3
true
false
false
false
false
false
zero
36,985,449
Android Data Binding crash when using include tag with custom view layout
<p>I'm trying to add some custom view using <code>include</code> tag to my activity layout which using DataBinding. My custom view is using DataBinding as well. But I got crash on application start:</p> <pre><code>05-02 17:30:03.685 12595-12595/? E/AndroidRuntime: FATAL EXCEPTION: main ...
I'm trying to add some custom view using include tag to my activity layout which using DataBinding. My custom view is using DataBinding as well. But I got crash on application start: [CODE] MainActivity: [CODE] CustomView: [CODE] activity_main.xml: [CODE] custom_view.xml: [CODE] I've also created public repo with sampl...
android|xml|include|android-gradle-plugin|android-databinding
10
2016-05-02T14:54:59.577Z
2,016
5
14
0
6,114
5
680
73
5
5
true
false
true
false
true
false
medium
36,985,506
basic4android download file code
<p><strong><em>how can i add download db file code for this codes from URL ?</em></strong></p> <p>=================================================================== { *Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("lay1pezeshki") Dim jobname As String</p> <pre><code> job.Initialize...
how can i add download db file code for this codes from URL ? =================================================================== { *Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("lay1pezeshki") Dim jobname As String [CODE] }
file|download|vb4android
0
2016-05-02T14:57:52.033Z
2,016
5
14
0
909
1
241
32
3
1
true
false
false
false
false
false
zero
36,985,626
Run Time Error Android Studio - Because of Adding JAR
<p>First off I want to apologize if my post isn't accurate or it has some harsh imagination with other posts I could use the solve the problem - been looking and haven't found.</p> <p>So, I'm using Android Studio 2.1 Latest and most updated build.</p> <p>So I have an app doing some very very basic stuff.. I work with...
First off I want to apologize if my post isn't accurate or it has some harsh imagination with other posts I could use the solve the problem - been looking and haven't found. So, I'm using Android Studio 2.1 Latest and most updated build. So I have an app doing some very very basic stuff.. I work with sound and such, so...
java|android|android-studio|jar
1
2016-05-02T15:04:14.243Z
2,016
5
15
0
626
1
1,131
53
4
1
true
false
false
false
false
false
low
36,985,684
Genymotion emulators receive different IPs every time I start them
<p>I recently noticed a problem with <strong>Genymotion emulators</strong> and <strong>virtual box</strong> configurations. So far I only used one genymotion emulator, which once I started all the time had one static IP address, and my Java script automation tests hasn't given me any problem because it was configured t...
I recently noticed a problem with Genymotion emulators and virtual box configurations. So far I only used one genymotion emulator, which once I started all the time had one static IP address, and my Java script automation tests hasn't given me any problem because it was configured to call exactly this IP and run tests ...
android|virtualbox|genymotion
1
2016-05-02T15:07:13.620Z
2,016
5
15
0
1,263
1
1,242
66
3
0
false
false
false
false
false
false
low
36,985,713
Error within getExtras()?
<p>I need to set 2 condition in the <code>if-statement</code> (if this or this), the first part take an <code>item</code> from a <code>listview</code>, and the other <code>if</code>-part get the value from the first <code>activity</code> if it's <code>true</code> then do the condition need. See the 2 codes below may w...
I need to set 2 condition in the if-statement (if this or this), the first part take an item from a listview , and the other if -part get the value from the first activity if it's true then do the condition need. See the 2 codes below may will explain it better. putExtra code [CODE] getExtra Code [CODE] I gives the to ...
android|android-intent|android-activity
0
2016-05-02T15:08:32.110Z
2,016
5
15
0
794
3
700
25
3
3
true
false
false
false
false
false
zero
36,985,751
Java ArrayList<Class> to JSONArray
<p>I have a ArrayList of students, I want to create a json array from this array. I have seen examples done with ArrayList, but those dont work in my case.</p> <p><strong>My Student Class has:</strong></p> <pre><code>String name, lastname; ArrayList&lt;String&gt; courses; </code></pre> <p>What I tried:</p> <pre><co...
I have a ArrayList of students, I want to create a json array from this array. I have seen examples done with ArrayList, but those dont work in my case. My Student Class has: [CODE] What I tried: [CODE] Results: [CODE] Idea is to maybe loop though my array and add them individually Update with test example Call to meth...
java|android|arrays|json|arraylist
2
2016-05-02T15:10:21.647Z
2,016
5
15
0
1,373
2
394
34
5
7
true
false
false
false
false
false
low
36,985,787
can't get my location and location button not show
<p>after i make drawer menu and floating button why my maps can't get my location and location button not show, and why the search place button when it clicked so that force stop? before i add drawer menu and floating button, it's all okay..<br> Before <a href="https://i.stack.imgur.com/EM5PR.png" rel="nofollow norefer...
after i make drawer menu and floating button why my maps can't get my location and location button not show, and why the search place button when it clicked so that force stop? before i add drawer menu and floating button, it's all okay.. Before After activity_main.xml [CODE] activity_maps.xml [CODE]
android|android-layout|android-fragments|android-studio|material-design
4
2016-05-02T15:11:57.573Z
2,016
5
15
0
736
1
301
50
5
2
true
false
false
false
false
false
low
36,985,851
Focusable Button in Listview
<p>For a ListView with custom row layout like this:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;Button ...
For a ListView with custom row layout like this: [CODE] the button should not be focusable to let the ListView's OnItemClickListener execute: [CODE] Why do I need to set the focusable to false? why a focusable button prevents OnItemClickListener.OnItemClick() to execute?
android|listview|focusable
0
2016-05-02T15:15:03.697Z
2,016
5
15
0
562
2
271
28
3
2
true
false
false
false
false
false
zero
36,985,859
Android SQLite OpenHelper empty DB on Restart App
<p>I am trying to complete an Android App, using SQLiteOpenHelper to Manage the DB. (With singleton)</p> <pre><code>private static WindAppDBHelper sInstance; public static synchronized WindAppDBHelper getInstance(Context context) { if (sInstance == null) { sInstance = new WindAppDBHelper(cont...
I am trying to complete an Android App, using SQLiteOpenHelper to Manage the DB. (With singleton) [CODE] I don't understand why the DB is working very well on RunTime, but after close the app and open again, the DB is (at least it looks) empty?? For example I made a test on my Activity (I have only one activity and I u...
android|sqlite|sqliteopenhelper
0
2016-05-02T15:15:34.730Z
2,016
5
15
0
155
0
745
49
3
3
true
true
false
false
false
false
zero
36,985,939
Fail to connect android to web service
<p>Hi I am experimenting on android to web service connection. In order to do this, the steps I have done are:</p> <ol> <li><p>find free web service: <a href="http://services.aonaware.com/DictService/DictService.asmx" rel="nofollow">http://services.aonaware.com/DictService/DictService.asmx</a></p></li> <li><p>create a...
Hi I am experimenting on android to web service connection. In order to do this, the steps I have done are: find free web service: http://services.aonaware.com/DictService/DictService.asmx create a basic activity on Android Studio change the Manifest file to have permission to use internet by adding the following line:...
android|web-services
1
2016-05-02T15:19:38.770Z
2,016
5
15
0
1,100
2
615
38
2
1
true
false
false
false
false
false
low
36,985,955
Create a symbolic link from inside the Android app's assets folder to its storage
<p>I'm working on an android app in which the user can play multiple Unity games. However, achieving this simple aspect has proven to be too complicated with Unity, if even possible. </p> <p>After analyzing how Unity on Android works, I understood that it uses a bunch of libraries (called libmain.so, libunity.so and l...
I'm working on an android app in which the user can play multiple Unity games. However, achieving this simple aspect has proven to be too complicated with Unity, if even possible. After analyzing how Unity on Android works, I understood that it uses a bunch of libraries (called libmain.so, libunity.so and libmono.so), ...
java|android|unity3d|apk|symlink
1
2016-05-02T15:20:26.487Z
2,016
5
15
0
1,321
1
1,912
81
5
0
false
false
false
false
false
false
low
36,985,988
Android: Background color on custom button not set correctly pre Lollipop
<p>When I use a standard button </p> <pre><code>&lt;Button android:id="@+id/btnLogin" style="@style/LoginButtonsStyle" android:text="@string/login.anmelden" android:theme="@style/CrGreenButton"/&gt; </code></pre> <p>Style:</p> <pre><code>&lt;style name="LoginButtonsStyle"&gt; &lt;item name="andro...
When I use a standard button [CODE] Style: [CODE] Theme: [CODE] everything works fine and the background color gets set on each api level 16+ But when I use my custom Button (written in kotlin, needed for a custom font) [CODE] the backgroundcolor is only set on API21+ (Lollipop) devices. On pre lollipop devices, the bu...
android|android-custom-view
1
2016-05-02T15:22:01.803Z
2,016
5
15
0
352
1
363
73
2
4
true
false
false
false
false
false
low
36,986,027
onProgressUpdate only called at the end of AsyncTask (socket creation)
<p>I'm trying to display a "waiting" dialog while the connection is being established by the socket. Do you have any idea why this bit of code is not working ?</p> <p>onProgressUpdate gets called at the end of the doInBackground. I intend to show it before connectionSocket.connect times out.</p> <p>The following bit<...
I'm trying to display a "waiting" dialog while the connection is being established by the socket. Do you have any idea why this bit of code is not working ? onProgressUpdate gets called at the end of the doInBackground. I intend to show it before connectionSocket.connect times out. The following bit [CODE] works well o...
android|sockets|android-asynctask
0
2016-05-02T15:23:33.413Z
2,016
5
15
0
201
1
362
70
3
2
true
false
false
false
false
false
zero
36,986,087
RecyclerView.Adapter onBindViewHolder() gets wrong position
<p><strong>I'll show the code and after the steps to get the problem.</strong></p> <p>I have a recyclerview inside a tabbed fragment that takes the dataset from a custom object:</p> <pre><code>mRecyclerView = (RecyclerView) v.findViewById(R.id.recyclerview); mRecyclerView.setLayoutManager(mLayoutManager); mRecycler...
I'll show the code and after the steps to get the problem. I have a recyclerview inside a tabbed fragment that takes the dataset from a custom object: [CODE] I set the longclick behavior of the list items in onBindViewHolder() of the adapter: [CODE] Then, the methods in the fragment that take care of delete the item it...
android|android-recyclerview|android-adapter
12
2016-05-02T15:26:57.170Z
2,016
5
15
0
15,512
4
1,243
59
3
4
true
false
true
true
true
false
medium
36,986,295
Kotlin classes containing android-extensions not built on consequent builds
<p>I have recently decided to port our company android application into kotlin. It works well, however, when I use any of the kotlin extensions, I get a weird behaviour. I noticed that any of the classes using extensions (be it anko, or self declared extensions) is only build the first time, and on each subsequent buil...
I have recently decided to port our company android application into kotlin. It works well, however, when I use any of the kotlin extensions, I get a weird behaviour. I noticed that any of the classes using extensions (be it anko, or self declared extensions) is only build the first time, and on each subsequent build i...
android|kotlin|kotlin-android-extensions
0
2016-05-02T15:38:03.653Z
2,016
5
15
0
390
1
852
75
3
3
true
false
false
false
false
false
zero
36,986,537
wrong view moved from recycler view to another?
<p>I have two recycler views in my app view A and B, if you touch a card in view A it is cloned from view A to view B if you touch a card from view B it is just removed from its view, my problem is the cards in view A, no matter which one you press it will always just add the first card from view A to view B, you could...
I have two recycler views in my app view A and B, if you touch a card in view A it is cloned from view A to view B if you touch a card from view B it is just removed from its view, my problem is the cards in view A, no matter which one you press it will always just add the first card from view A to view B, you could pr...
android|view|android-recyclerview
0
2016-05-02T15:51:18.463Z
2,016
5
15
0
30
1
1,057
47
3
2
true
false
false
false
false
false
zero
36,986,631
Change background image when recommendation card selected
<p>I am building app for TV and trying to change background image on home screen when recommendation card is selected.</p> <p>I've found code samples where image is loaded locally with content provider:</p> <pre><code>public static class RecommendationBackgroundContentProvider extends ContentProvider { @Override...
I am building app for TV and trying to change background image on home screen when recommendation card is selected. I've found code samples where image is loaded locally with content provider: [CODE] The problem with this is that I need file to be loaded from URL and not locally. I don't see any other useful methods in...
android|android-tv|leanback
0
2016-05-02T15:56:56.463Z
2,016
5
15
0
435
1
413
57
3
1
true
false
false
false
false
false
zero
36,986,668
Can't get a reference to my Activity inside private inner class in a Webview App
<p>I am creating an android app for a client using a WebView. There are some links on the client's website that play media. In order to conserve battery, I am trying to call the "FLAG_KEEP_SCREEN_ON" when a user clicks on this media link within the website. My webview uses a new MywebViewClient() in order to handle the...
I am creating an android app for a client using a WebView. There are some links on the client's website that play media. In order to conserve battery, I am trying to call the "FLAG_KEEP_SCREEN_ON" when a user clicks on this media link within the website. My webview uses a new MywebViewClient() in order to handle the lo...
android|android-activity|webview|android-windowmanager
0
2016-05-02T15:59:29.823Z
2,016
5
15
0
180
1
1,081
80
4
1
true
false
false
false
false
false
zero
36,986,759
programmatically turn screen off in Android phone from another thread
<p>I'm trying to turn off the screen of an Android phone.</p> <p>I read many other discussions, and tried two ways discribed here: <a href="https://stackoverflow.com/questions/6756768/turn-off-screen-on-android/6757206#6757206">Turn off screen on Android</a></p> <p>In fact, what I really need to do is to launch the l...
I'm trying to turn off the screen of an Android phone. I read many other discussions, and tried two ways discribed here: Turn off screen on Android In fact, what I really need to do is to launch the lock screen (the one that asks for the PIN). I wasn't sure how to do that and couldn't find documentation about it, so I ...
java|android|multithreading|lockscreen|wakelock
0
2016-05-02T16:04:02.160Z
2,016
5
16
0
2,035
1
982
69
5
2
true
false
false
false
false
false
zero
36,986,835
using facebook SDK in android , How to invite friend?
<p>It's the first time to work with facebook SDK in android , so after signed in my application using facebook ! i retrieved my invitable_friends and show them in a listView </p> <pre><code> new GraphRequest( AccessToken.getCurrentAccessToken(), "/me/invitable_friends", null, ...
It's the first time to work with facebook SDK in android , so after signed in my application using facebook ! i retrieved my invitable_friends and show them in a listView [CODE] now i need to send invitation to my friend to use my application when clicked . so i handle that on OnItemClickListener [CODE] and i keep trac...
android|facebook-graph-api
1
2016-05-02T16:09:06.410Z
2,016
5
16
0
474
1
539
53
2
3
true
false
false
false
false
false
low
36,986,906
Search list view
<p>I wanted to make my listview searchable i have putted a editText above the list i wanted when they started typing it starts filtering the text.</p> <p>My list adapter</p> <pre><code>public class ClienteSearchListAdapter extends ArrayAdapter&lt;Cliente&gt; { protected static final String LOG_TAG = ClienteListAdapt...
I wanted to make my listview searchable i have putted a editText above the list i wanted when they started typing it starts filtering the text. My list adapter [CODE] My activity: [CODE] my list layout: [CODE] My layout: [CODE] I have found some tutorials but it didnt worked for me because i just couldnt adapt to my cu...
java|android|xml
0
2016-05-02T16:13:41.163Z
2,016
5
16
0
43
1
478
16
3
4
true
false
false
false
false
false
zero
36,987,020
Change Font of TextView in Android
<p>I'm pretty new in java and android, the problem that i'm facing is that i can't change the font of another layout.</p> <p>okay i have a <code>ListView</code> and i use the <code>ArrayAdapter</code> to connect another layout to my <code>ListView</code>. like image bellow: <a href="https://i.stack.imgur.com/PyQlO.jpg...
I'm pretty new in java and android, the problem that i'm facing is that i can't change the font of another layout. okay i have a ListView and i use the ArrayAdapter to connect another layout to my ListView . like image bellow: I copy my font to assets folder and write this inside onCreate : [CODE] once i run this i get...
java|android|android-studio
0
2016-05-02T16:20:00.913Z
2,016
5
16
0
5,700
2
667
34
3
3
true
false
true
false
false
false
zero
36,987,041
Java rest api in android api 23 with httpurlconnection
<p>I have created a webservice in java</p> <p>@Path("/app") public class WebServiceApp {</p> <pre><code>MainClass mc = null; @Path("/login") @POST @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public User authenticateLoginWebService(Login log){ mc = new MainClass(); return mc.au...
I have created a webservice in java @Path("/app") public class WebServiceApp { [CODE] } This method has url: http://localhost:8080/webapi/api/app/login ", now to invoke this on android i have used following codes: JSONParser: [CODE] LoginActivity: [CODE] i am getting request code 415 with error message as Unsupported M...
java|android|web-services|rest|httpurlconnection
2
2016-05-02T16:20:44.773Z
2,016
5
16
0
744
1
395
54
5
4
true
false
false
false
false
false
low
36,987,072
How to configure the printer to print images using the printer Bluetooth device Android
<p>I want print bill to printer Bluetooth device, It's look <a href="https://i.stack.imgur.com/dNOZu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dNOZu.png" alt="enter image description here"></a></p> <p>But It's see <a href="https://i.stack.imgur.com/Nm8tf.jpg" rel="nofollow noreferrer"><img sr...
I want print bill to printer Bluetooth device, It's look But It's see Here Code: [CODE] Help me config PrinterCommands true
printing|bluetooth|android-bluetooth|printer-control-language
2
2016-05-02T16:22:55.710Z
2,016
5
16
0
465
0
123
87
4
1
true
true
false
false
false
false
low
36,987,075
Cannot set and Activity as the first to be opened - Session Manager in Android
<p>I'm building and application for Android and my intention is to keep the user logged in even after I close the app. I'm using this class called SessionManager to deal with it:</p> <pre><code>public class SessionManager { // Shared Preferences SharedPreferences pref; // Editor for Shared preferences ...
I'm building and application for Android and my intention is to keep the user logged in even after I close the app. I'm using this class called SessionManager to deal with it: [CODE] In the login activity I added this code lines: [CODE] And after the credentials entered are compared with the ones stored in the database...
android|session|android-activity
0
2016-05-02T16:23:13.370Z
2,016
5
16
0
688
1
1,000
78
3
6
true
false
false
false
false
false
zero
36,987,082
Pocketsphinx: App doesnt start
<p>i got a problem with PocketSphinx, whenever i execute that Code, the app automatically shuts down. As i already try to figure out why it doesnt work for hours , maybe someone can help me? :) so far the code looks like this,</p> <p>Main:</p> <pre><code>public class MainActivity extends Activity implements Recogniti...
i got a problem with PocketSphinx, whenever i execute that Code, the app automatically shuts down. As i already try to figure out why it doesnt work for hours , maybe someone can help me? :) so far the code looks like this, Main: [CODE] setupRecognizer: [CODE] onPartialResult: [CODE] maybe it helps: so far the app star...
android|speech-recognition|pocketsphinx-android
0
2016-05-02T16:23:39.610Z
2,016
5
16
0
79
1
616
30
3
4
true
false
false
false
false
false
zero
36,987,109
Retrofit2 java.lang.NullPointerException: storage == null
<p>Using Retrofit2 to parse JSON in but getting NULL pointer exception &amp; I don't know why? JSON response:</p> <pre><code>{ "query": { "count": 1, "created": "2016-04-29T17:19:45Z", "lang": "US", "results": { "quote": [{ "name": "Talon", "tix": "50.0000", ...
Using Retrofit2 to parse JSON in but getting NULL pointer exception & I don't know why? JSON response: [CODE] Query class: [CODE] Results class: [CODE] Quote class: [CODE] Error returned in Android Studio logcat: java.lang.NullPointerException: storage == null at Activity.java:60. That line contains: [CODE] I'm not cer...
java|android|json|gson|retrofit2
0
2016-05-02T16:25:31.483Z
2,016
5
16
0
44
0
538
57
5
5
true
true
false
false
false
false
zero
36,987,144
Preventing WebView reload on Rotate - Android Studio
<p>When I rotate my screen, the WebView reloads the whole page. So I disabled rotation in Android_Manifest.xml file, but it would be really cool if I could make rotation possible.</p> <p>SkateTube.java - </p> <pre><code>package com.example.skatetube.skatetube; import android.os.Bundle; import android.support.design....
When I rotate my screen, the WebView reloads the whole page. So I disabled rotation in Android_Manifest.xml file, but it would be really cool if I could make rotation possible. SkateTube.java - [CODE] Android_manifest.xml [CODE]
java|android|xml|webview
11
2016-05-02T16:27:13.700Z
2,016
5
16
0
11,226
3
228
52
4
2
true
false
true
false
true
false
medium
36,987,152
Count number of elements in a JSON Array, and display the result on Textview - Android
<p>I want to count the number of elements I am getting through the JSON array, and display it over the TextView using .settext() method. I am getting the following JSON ARRAY :</p> <pre> { "result": [ { "id":"283", "fullname":"shyam", "contactno":"898888888", "college...
I want to count the number of elements I am getting through the JSON array, and display it over the TextView using .settext() method. I am getting the following JSON ARRAY : [CODE] Below is my activity : [CODE]
android|arrays|json|parsing
0
2016-05-02T16:28:17.813Z
2,016
5
16
0
1,368
1
210
86
4
2
true
false
false
false
false
false
zero
36,987,187
Photo-Tagging implementing Face Detection in Android Studio
<p>I am working on an android application that tags photo on image, which using the Face Detection. This application just like tag photo on Facebook after Facebook detected the faces in a photo.</p> <p>My main problem is, I do not know how to return the faceID and do the image tagging and I did a lot of trying, but di...
I am working on an android application that tags photo on image, which using the Face Detection. This application just like tag photo on Facebook after Facebook detected the faces in a photo. My main problem is, I do not know how to return the faceID and do the image tagging and I did a lot of trying, but did not succe...
java|android|android-studio|face-detection
1
2016-05-02T16:30:39.667Z
2,016
5
16
0
674
0
418
59
4
2
true
true
false
false
false
false
low
36,987,503
receiving push notifications when app is closed in xamarin
<p>I'm trying to process GCM push notifications in Xamarin when the app is completely closed. Following the Xamarin Push Notifications tutorial I'm able to receive remote/push notifications from GCM, but as soon as I close the app I don't receive. Here's what I've tried so far:</p> <p>1.Broadcast receiver:</p> <pre><...
I'm trying to process GCM push notifications in Xamarin when the app is completely closed. Following the Xamarin Push Notifications tutorial I'm able to receive remote/push notifications from GCM, but as soon as I close the app I don't receive. Here's what I've tried so far: 1.Broadcast receiver: [CODE] Manifest: [CODE...
android|google-cloud-messaging|xamarin.forms
5
2016-05-02T16:48:48.510Z
2,016
5
16
0
4,389
1
1,064
58
3
3
true
false
true
false
false
false
low
36,987,550
How to Clear all the list view items of a Static Custom list view in android?
<p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-js lang-js prettyprint-override"><code>package com.donateblood.blooddonation; import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import andr...
[CODE] I have a static custom view called Donors declared in one of my classes called MainGUI . Whenever the list is displayed and I go back and reopen the list, the same list items appear twice. I know this happens because the list items are being added to the listview again when I display it without clearing all the ...
java|android|arraylist
0
2016-05-02T16:51:54.107Z
2,016
5
16
0
166
2
495
77
3
2
true
false
false
false
false
false
zero
36,987,610
android onClick Does not work
<p>The code worked fine in other layout, but in others not..</p> <p>layout XML:</p> <pre><code>&lt;Button android:layout_width="match_parent" android:layout_height="match_parent" android:text="register" android:id="@+id/welcome_register" android:background="@android:color/holo_...
The code worked fine in other layout, but in others not.. layout XML: [CODE] Activity: [CODE] I tried several things without success. Do you have any idea why it does not work?
android|android-layout
0
2016-05-02T16:55:02.237Z
2,016
5
16
0
85
2
176
29
2
2
true
false
false
false
false
false
zero
36,987,648
Android group notification does not alarm after adding summary notification (Android 6.0)
<p>I am trying to get local notifications to work like Hangouts. I would like a heads up notification to appear each time a new text message is received. But when there are two or more unread notifications I would like to display a summary notification in the Android notification bar. It seems like stacking notificatio...
I am trying to get local notifications to work like Hangouts. I would like a heads up notification to appear each time a new text message is received. But when there are two or more unread notifications I would like to display a summary notification in the Android notification bar. It seems like stacking notification v...
android|android-notifications|android-6.0-marshmallow
9
2016-05-02T16:56:35.310Z
2,016
5
16
0
1,136
2
820
89
3
1
true
false
false
false
false
false
medium
36,987,650
How to handle the response of Volley in Android
<p>I use volley in the Android Activity, and make a request and got the response, but I want to handle the response maybe in an another method,but it won't work, what should i do ? </p> <pre><code>public class TestActivity extends Activity { RequestQueue queue; private String result; @Override protected void onCrea...
I use volley in the Android Activity, and make a request and got the response, but I want to handle the response maybe in an another method,but it won't work, what should i do ? [CODE]
android|request|android-volley
0
2016-05-02T16:56:36.777Z
2,016
5
16
0
744
2
184
47
3
1
true
false
false
false
false
false
zero
36,987,910
my android app crashes for recording video?
<p>im using the following code for recording video and playing using videoView.</p> <pre><code>static final int VIDEO_CAPTURE = 101; File mediaFile; VideoView videoView; @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Uri videoUri = Uri.fromFile(mediaF...
im using the following code for recording video and playing using videoView. [CODE] but when ever i start activity camera opens but when i start recording my app crashes. what is the problem?
android
0
2016-05-02T17:13:11.953Z
2,016
5
17
0
25
0
191
43
1
1
true
true
false
false
false
false
zero
36,987,926
Espresso: Scrolling on recyclerview with no unique id or text
<p>I am facing an issue with scrolling inside a <code>RecyclerView</code> in my android Espresso tests. I think I have read lot about different solutions and the closest I came was with a <code>ViewHolderMatcher</code>. Below is the <code>ViewHolderMatcher</code> I wrote,</p> <pre><code> public static Matcher&lt;Re...
I am facing an issue with scrolling inside a RecyclerView in my android Espresso tests. I think I have read lot about different solutions and the closest I came was with a ViewHolderMatcher . Below is the ViewHolderMatcher I wrote, [CODE] The issue here is that the R.id.account_number_value and the corresponding text t...
android|android-espresso
4
2016-05-02T17:14:20.763Z
2,016
5
17
0
588
0
656
61
2
1
true
true
false
false
false
false
low
36,987,946
Blank page after selecting a default item and pressing back button NavigationView
<p>I am selecting a default fragment in NavigationView when my activity starts up, it works alright but the problem with it is that when I press the back button, I see a blank view.</p> <p><strong>My Activity</strong></p> <pre><code>public class MainActivity extends AppCompatActivity implements NavigationView...
I am selecting a default fragment in NavigationView when my activity starts up, it works alright but the problem with it is that when I press the back button, I see a blank view. My Activity [CODE] To expatiate, when I launch the app, PostFragment is launched by default. When I click the back key, instead of the app cl...
android|navigation-drawer
0
2016-05-02T17:15:47.237Z
2,016
5
17
0
141
1
407
81
2
1
true
false
false
false
false
false
zero
36,987,963
RecyclerView doesn't work well with Handler
<p>I use Handlers to update RecyclerView items asynchronously, but it seems like my view doesn't (only) update the correct items.</p> <p><strong>My code:</strong></p> <pre><code>mHandler.post(new Runnable() { @Override public void run() { // palette and image stuff // ... ...
I use Handlers to update RecyclerView items asynchronously, but it seems like my view doesn't (only) update the correct items. My code: [CODE] Behavior: As I start scrolling down in my list, I can clearly see as the RecyclerView loads every single item to every view . Something like this: View 1, 2, 3, 4, 5, 6... get l...
android
0
2016-05-02T17:16:47.050Z
2,016
5
17
0
362
0
661
43
1
1
true
true
false
false
false
false
zero
36,987,965
Picasso only calling transform once
<p>I am fetching images using Picasso and running them through a Transformation. Weird thing is that although the Transformation object is created for each image, the method transform is only called once.</p> <p>I create a number of the following objects (parsed using Gson) and then invoke "postDeserialise" on them.</...
I am fetching images using Picasso and running them through a Transformation. Weird thing is that although the Transformation object is created for each image, the method transform is only called once. I create a number of the following objects (parsed using Gson) and then invoke "postDeserialise" on them. [CODE] The f...
android|picasso
0
2016-05-02T17:16:53.767Z
2,016
5
17
0
344
1
524
35
2
3
true
false
false
false
false
false
zero
36,987,970
Contents of fragment remain the same after selecting a new option
<p>Im implementing an Android project where the root navigation is a <code>DrawerLayout</code>. When any of the options is selected in the Drawer, different tabs appear depending on the option selected. I implemented the tabs using <a href="http://www.androidhive.info/2015/09/android-material-design-working-with-tabs/"...
Im implementing an Android project where the root navigation is a DrawerLayout . When any of the options is selected in the Drawer, different tabs appear depending on the option selected. I implemented the tabs using this tutorial. However when I select a different option, the title and names of the tabs change but the...
android|android-fragments|android-viewpager|android-tablayout
0
2016-05-02T17:17:06.607Z
2,016
5
17
0
96
2
731
65
4
1
true
false
false
false
false
false
zero
36,988,011
android studio does not identifies HttpResponse & StringEntity
<p>In android studio I am trying to import <strong>HttpResponse</strong> and <strong>StringEntity</strong>, for this I am using <code>import org.apache.http.HttpResponse</code> and <code>import org.apache.http.entity.StringEntity</code> respectively. But android studio does not iddentifies these imports and is showing ...
In android studio I am trying to import HttpResponse and StringEntity , for this I am using import org.apache.http.HttpResponse and import org.apache.http.entity.StringEntity respectively. But android studio does not iddentifies these imports and is showing cannot resolve symbol . So how can I use these libraries in my...
android|android-studio
1
2016-05-02T17:19:39.427Z
2,016
5
17
0
2,629
2
367
62
2
1
true
false
true
false
false
false
low
36,988,052
Add file extension filter in a browsable app
<p>I want to add a file extension filter to my browsable app because I want it to be browsable only when the url points to an image (jpg, png, bmp, gif...)</p> <p>I have tried <code>android:mimeType="image/*"</code> but it doesn't work with internet urls, it only works if it directly points to an image in the file sys...
I want to add a file extension filter to my browsable app because I want it to be browsable only when the url points to an image (jpg, png, bmp, gif...) I have tried android:mimeType="image/*" but it doesn't work with internet urls, it only works if it directly points to an image in the file system (using file:// ) Is ...
android|android-intent|filter|browsable
1
2016-05-02T17:21:49.957Z
2,016
5
17
0
125
1
588
44
4
1
true
false
false
false
false
false
low
36,988,096
Android: How to color the 2 TextView in the selected row of a ListView
<p>I'm trying to make a Music Player in Android, and yesterday I got the idea to set the currently playing song colored in the ListView.</p> <p>At the beginning I set that every time I start a song, a new BaseAdapter inflate a layout with 2 TextView (title and artist) and if the song is the same in the MediaPlayer, th...
I'm trying to make a Music Player in Android, and yesterday I got the idea to set the currently playing song colored in the ListView. At the beginning I set that every time I start a song, a new BaseAdapter inflate a layout with 2 TextView (title and artist) and if the song is the same in the MediaPlayer, the 2 TextVie...
android|listview|audio-player|android-music-player
0
2016-05-02T17:24:16.427Z
2,016
5
17
0
85
1
808
70
4
2
true
false
false
false
false
false
zero