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,692,647
AbsoluteLayout Doesn't Fill Screen
<p>I have an issue with absolute layout in Xamarin Forms on android 6.0 Marshmellow</p> <p>when setting a view to fill the entire screen there is left a 1px gap at the bottom of the screen.</p> <p>Bizarrely it doesn't occur if you rotate the screen to landscape. Or on 4.4</p> <p>xaml :</p> <pre><code>&lt;?xml versi...
I have an issue with absolute layout in Xamarin Forms on android 6.0 Marshmellow when setting a view to fill the entire screen there is left a 1px gap at the bottom of the screen. Bizarrely it doesn't occur if you rotate the screen to landscape. Or on 4.4 xaml : [CODE] screen shots : (these are from the vs emulators bu...
android|xamarin|xamarin.forms
7
2016-04-18T11:26:42.387Z
2,016
4
11
0
8,930
1
710
34
3
1
true
false
true
false
false
false
medium
36,692,662
{NativeScript} SideDrawer error "Module 'ui/drawer-content' not found for element 'DrawerContent'"
<p>NativeScript beginner, I have been searching all over the web but since there seemed to have many iterations/changed in the base code over the last months, the examples I found on the web were pretty inconsistent.</p> <p>So here goes, I am trying to implement a simple SideDrawer from "nativescript-telerik-ui/sidedr...
NativeScript beginner, I have been searching all over the web but since there seemed to have many iterations/changed in the base code over the last months, the examples I found on the web were pretty inconsistent. So here goes, I am trying to implement a simple SideDrawer from "nativescript-telerik-ui/sidedrawer" but f...
android|nativescript
1
2016-04-18T11:27:26.720Z
2,016
4
11
0
1,161
1
966
98
2
3
true
false
false
false
false
false
low
36,692,684
What is the difference between include tag and merge tag in android
<p>I just need someone to tell me if I understood correctly when to use <code>&lt;include&gt;</code> and when <code>&lt;merge&gt;</code>.</p> <p>So, I make a header layout which I want to include into some other XML layout:</p> <p>it is a my merge sample for adding the two views</p> <pre><code> &lt;LinearLayout xml...
I just need someone to tell me if I understood correctly when to use <include> and when <merge> . So, I make a header layout which I want to include into some other XML layout: it is a my merge sample for adding the two views [CODE] And I include it into some other XML this way (which is pretty basic): [CODE] This will...
android|xml|layout|merge|include
0
2016-04-18T11:28:08.347Z
2,016
4
11
0
5,271
1
566
67
5
3
true
false
true
false
false
false
zero
36,692,723
"No suitable method found to Override" function Error in Android
<pre><code> public override void OnBindSwipeContentHolder(ListViewHolder holder, int position) </code></pre> <p>Hi Friends I am working on Android app With Telerik UI for android Controls Please Help me "OnBindSwipeContentHolder" not found error How can i resolve this.</p> <pre><code>using System; using System.Coll...
[CODE] Hi Friends I am working on Android app With Telerik UI for android Controls Please Help me "OnBindSwipeContentHolder" not found error How can i resolve this. [CODE]
android|xamarin|xamarin.android|xamarin.forms|telerik-appbuilder
0
2016-04-18T11:29:54.067Z
2,016
4
11
0
3,394
2
171
64
5
2
true
false
true
false
false
false
zero
36,692,789
Un-filtering the result is not working in Recyclerview
<p>I have a recyclerview with some data and I have a searchview, and filter is working just fine. But un-filtering not working. I can't get the whole data in the recyclerview after un-filter. No data is showing. I have to re-open the activity to get data. I tried to used two data sets. But i have no idea where to use t...
I have a recyclerview with some data and I have a searchview, and filter is working just fine. But un-filtering not working. I can't get the whole data in the recyclerview after un-filter. No data is showing. I have to re-open the activity to get data. I tried to used two data sets. But i have no idea where to use them...
android|android-recyclerview|filtering|searchview
1
2016-04-18T11:32:25.810Z
2,016
4
11
0
609
1
366
54
4
2
true
false
false
false
false
false
low
36,692,801
Issues in TabFragment
<p>I have set <code>13 tab fragment(Category)</code> by using of <code>ViewPager</code> in my app. I'm having lot of issue in this <code>TabFragment</code>. I tried to fix this bug in many ways.But nothing works in my case. So please help me to fix this.</p> <p>Issues are:</p> <ol> <li>1st Fragment is populated with ...
I have set 13 tab fragment(Category) by using of ViewPager in my app. I'm having lot of issue in this TabFragment . I tried to fix this bug in many ways.But nothing works in my case. So please help me to fix this. Issues are: 1st Fragment is populated with 2nd Fragment (Category) Data. I am having 3 vertical Dots of .....
android|android-fragments|tabs
0
2016-04-18T11:32:58.960Z
2,016
4
11
0
46
0
592
21
3
3
true
true
false
false
false
false
zero
36,692,881
How i can load the updated xml file in my project solution from app directory that is from my phone
<p>i have changed the XML attribute and save the XML file the file is save in App directory in phone path is "Android/data/data/App17.App17/files" Now i want to load this updated XML file in my project how can i do this</p> <pre class="lang-cs prettyprint-override"><code>namespace App17 { [Activity(Label = "App17"...
i have changed the XML attribute and save the XML file the file is save in App directory in phone path is "Android/data/data/App17.App17/files" Now i want to load this updated XML file in my project how can i do this [CODE]
android|xpath|xamarin|xamarin.android|filepath
0
2016-04-18T11:36:22.780Z
2,016
4
11
0
103
1
223
99
5
1
true
false
false
false
false
false
zero
36,692,965
Driving Route From my location to multiples markers android
<p>I I followed this tutorial <a href="http://wptrafficanalyzer.in/blog/drawing-driving-route-directions-between-two-locations-using-google-directions-in-google-map-android-api-v2/" rel="nofollow">http://wptrafficanalyzer.in/blog/drawing-driving-route-directions-between-two-locations-using-google-directions-in-google-m...
I I followed this tutorial http://wptrafficanalyzer.in/blog/drawing-driving-route-directions-between-two-locations-using-google-directions-in-google-map-android-api-v2/ and it is very useful.I had two marker showing the driving route, where one is the origen and the other is the destiny. I created a new arrayList(locat...
android
0
2016-04-18T11:41:23.437Z
2,016
4
11
0
99
0
986
59
1
3
true
true
false
false
false
false
zero
36,693,083
OutOfMemory error on Android 6.0.1 devices after the second launch
<p>My project was working until I updated my S6 Edge to Android 6.0.1.</p> <p>The app crashes with an OutOfMemory error <strong>after</strong> the second launch.</p> <p>The application contains 2000+ images in the directory and I am using a timer to increment a counter and display them on an imageView. When onFinish(...
My project was working until I updated my S6 Edge to Android 6.0.1. The app crashes with an OutOfMemory error after the second launch. The application contains 2000+ images in the directory and I am using a timer to increment a counter and display them on an imageView. When onFinish()/onPause()/onDestroy() is called I ...
android|out-of-memory|android-6.0-marshmallow|android-6.0.1-marshmallow
11
2016-04-18T11:46:44.760Z
2,016
4
11
0
1,287
1
1,713
66
4
2
true
false
false
false
true
false
medium
36,693,084
Checking status code in Volley error listener is not working in Android
<p>I am developing an Android app. In my app, I am working with Android to connect to server. I am using Laravel for server side. My server side code is working fine because I already tested it. The problem is with checking error status code in error listener of Volley. The status code is always zero when I check it ev...
I am developing an Android app. In my app, I am working with Android to connect to server. I am using Laravel for server side. My server side code is working fine because I already tested it. The problem is with checking error status code in error listener of Volley. The status code is always zero when I check it even ...
android|android-volley
0
2016-04-18T11:46:45.563Z
2,016
4
11
0
1,478
1
708
71
2
2
true
false
false
false
false
false
zero
36,693,111
Best way of organising connection between server and clients in LAN?
<p>We have an android app that on one particular device acts like a server. And all the other devices act like clients. </p> <p>Server is starting to listen for incoming tcp connections in while loop. When connection request received it fires an event, so the user of this class can handle request and then call WriteDa...
We have an android app that on one particular device acts like a server. And all the other devices act like clients. Server is starting to listen for incoming tcp connections in while loop. When connection request received it fires an event, so the user of this class can handle request and then call WriteData method of...
c#|android|xamarin|network-programming
0
2016-04-18T11:48:07.467Z
2,016
4
11
0
130
0
638
68
4
1
true
true
false
false
false
false
zero
36,693,146
First long click is ignored in listview
<p>I'm trying to build a listview that, when the user long clicks an item, shows the Contextual Action Bar (CAB) and lets the user select multiple items. The only issue I'm running into is that the first long click on an item is ignored and only from the second long click onward is the CAB shown.</p> <p>My code:</p> ...
I'm trying to build a listview that, when the user long clicks an item, shows the Contextual Action Bar (CAB) and lets the user select multiple items. The only issue I'm running into is that the first long click on an item is ignored and only from the second long click onward is the CAB shown. My code: [CODE] My MultiC...
android|listview|contextual-action-bar|multichoiceitems
0
2016-04-18T11:49:40.140Z
2,016
4
11
0
125
2
356
39
4
2
true
false
false
false
false
false
zero
36,693,283
Picasso 2.5.2 image not loading with network policy
<p>I am trying to load an image from url, but adding authorization token. Picasso does not want at all to load it if i add <code>networkPolicy(NetworkPolicy.OFFLINE)</code> is there any problem with it ?</p> <p>my code :</p> <pre><code> OkHttpClient client = new OkHttpClient.Builder() .addInterceptor...
I am trying to load an image from url, but adding authorization token. Picasso does not want at all to load it if i add networkPolicy(NetworkPolicy.OFFLINE) is there any problem with it ? my code : [CODE]
android|picasso
1
2016-04-18T11:55:46.783Z
2,016
4
11
0
3,587
2
204
51
2
1
true
false
true
false
false
false
low
36,693,373
Recycler view with Picasso taking more memory
<p>I am using RecyclerView along with Picasso library to display a very long list of images with some text data. I used pagination to load more records and as soon as more records are loaded, Picasso started to download image. The main issue I am facing is when all the non-visible recycler view items along with visible...
I am using RecyclerView along with Picasso library to display a very long list of images with some text data. I used pagination to load more records and as soon as more records are loaded, Picasso started to download image. The main issue I am facing is when all the non-visible recycler view items along with visible it...
android|optimization|memory-management|android-recyclerview|picasso
-1
2016-04-18T12:00:12.157Z
2,016
4
12
0
1,195
1
867
45
5
3
true
false
false
false
false
true
negative
36,693,446
Can not get Latitude and Longitude
<p>I'm trying to get location information. I need the longitude and latitude.</p> <p>I'm using my phone to run and debug. Its 4.4.2.</p> <p>My AndroidManifest File:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.pey...
I'm trying to get location information. I need the longitude and latitude. I'm using my phone to run and debug. Its 4.4.2. My AndroidManifest File: [CODE] My Activity [CODE] When I try to debug my program, it doesn't go onLocationChanged() method. So I can't get Toast message. What can be done to solve this problem?
java|android|location
0
2016-04-18T12:02:51.020Z
2,016
4
12
0
85
2
317
34
3
2
true
false
false
false
false
false
zero
36,693,539
NullPointerException TextView.setText(CharSequence), not clear how its still null
<p>I've been trying for a little bit now to just get my app launching again. I modified how I pulled bitcoin price data to allow for user preferences. However since doing this I get a NullPointerException from my TextView currentPriceDisplay elements method.<code>currentPriceDisplay.setText(getmBitcoinPrice());</code><...
I've been trying for a little bit now to just get my app launching again. I modified how I pulled bitcoin price data to allow for user preferences. However since doing this I get a NullPointerException from my TextView currentPriceDisplay elements method. currentPriceDisplay.setText(getmBitcoinPrice()); I have modified...
java|android|xml
0
2016-04-18T12:07:06.970Z
2,016
4
12
0
198
2
788
81
3
5
true
false
false
false
false
false
zero
36,693,564
Android Marshmallow Permission Error
<p>i am adding certain permissions to my app to allow access to camera for example and everything is working fine. but when i minimize the app and disable the permission then open the app, the app crashes without asking me to re-enable the permission(until i close the app and then open it). how can i fix this error so ...
i am adding certain permissions to my app to allow access to camera for example and everything is working fine. but when i minimize the app and disable the permission then open the app, the app crashes without asking me to re-enable the permission(until i close the app and then open it). how can i fix this error so tha...
android|android-6.0-marshmallow
1
2016-04-18T12:08:17.340Z
2,016
4
12
0
846
3
538
36
2
1
true
false
false
false
false
false
low
36,693,617
How to package a WatchFace only App for Google Play publishing
<h2>So far</h2> <p>I am developing a watch face app for android wear.</p> <p>I have created 2 modules:</p> <ol> <li><strong>Wear</strong> - The Watch face that works fine on development</li> <li><strong>Mobile</strong> - An empty module with no activity as suggested by the comments</li> </ol> <p>I have added the we...
So far I am developing a watch face app for android wear. I have created 2 modules: Wear - The Watch face that works fine on development Mobile - An empty module with no activity as suggested by the comments I have added the wear module to the mobile as a dependancy as described in packaging wear apps for the playstore...
android|android-studio|google-play|android-gradle-plugin|wear-os
6
2016-04-18T12:10:55.113Z
2,016
4
12
0
680
1
786
62
5
5
true
false
false
false
false
false
medium
36,693,632
Ratingbar is showing a black overlay in gridview
<p>I am trying to show a rating bar in my gridview rows but there is always a black overlay on top of the rating bars. If I have only 1 row my grid view then the rating bar is showing perfectly fine. But when I have multiple rows in my gridview then there is always a black overlay on top of the rating bar. So how do i ...
I am trying to show a rating bar in my gridview rows but there is always a black overlay on top of the rating bars. If I have only 1 row my grid view then the rating bar is showing perfectly fine. But when I have multiple rows in my gridview then there is always a black overlay on top of the rating bar. So how do i sol...
android|xml|gridview|ratingbar
1
2016-04-18T12:11:43.243Z
2,016
4
12
0
214
1
683
48
4
7
true
false
false
false
false
false
low
36,693,634
Starting different activities through use of NFC tag not just launch main activity?
<p>I am wanting to be able to open a specific activity through the use of NFC tags. </p> <p>My mobile application currently launches when a NDEF tag is in contact with Android device. </p> <p>However I am not sure how I can launch different activities and not just the main activity through different NFC tags. I don't...
I am wanting to be able to open a specific activity through the use of NFC tags. My mobile application currently launches when a NDEF tag is in contact with Android device. However I am not sure how I can launch different activities and not just the main activity through different NFC tags. I don't need the NFCs to pro...
android|android-studio|nfc
0
2016-04-18T12:11:49.047Z
2,016
4
12
0
226
0
467
83
3
1
true
true
false
false
false
false
zero
36,693,715
On Back button event Show confirm Yes,No option before closing app for window.open using Cordova InAppBrowser
<p>Well i'm newbie &amp; stuck at a point. And that might have simple solution as well..</p> <p>I load a page using <code>window.open</code> using InAppBrowser, While user press hardware backbutton I want to show confirm message before app gets close. I tried some code... Here is Code</p> <p><strong><code>index.html<...
Well i'm newbie & stuck at a point. And that might have simple solution as well.. I load a page using window.open using InAppBrowser, While user press hardware backbutton I want to show confirm message before app gets close. I tried some code... Here is Code index.html [CODE] Even I tried backbutton event of Cordova.. ...
android|jquery|cordova|phonegap-build|hybrid-mobile-app
1
2016-04-18T12:15:12.400Z
2,016
4
12
0
1,830
1
520
109
5
2
true
false
false
false
false
false
low
36,693,741
Adding plain java lib .jar to Android project throws bad class file magic or version
<p>So I have an <strong>executable Android project</strong>, it runs and works well. I have made a <strong>library for it, separate project, only using java, not Android framework.</strong></p> <p>No I would like to make a <strong>.jar from my library and add it to my Android Proejct.</strong></p> <p>I have made it s...
So I have an executable Android project , it runs and works well. I have made a library for it, separate project, only using java, not Android framework. No I would like to make a .jar from my library and add it to my Android Proejct. I have made it so far, but when I run it I get the following error: in short: Caused ...
java|android|jar
-1
2016-04-18T12:16:25.323Z
2,016
4
12
0
72
1
583
84
3
1
true
false
false
false
false
true
negative
36,693,791
Android ripple difference between 5.0 and 6.0
<p>I've added a ripple animation to a button, it works on API 21 (5.0) but not on 23 (6.0).</p> <p>Here is a gif, top is a 6.0 emulator, bottom is a 5.0 one. I'd like the top one to look like the bottom one:</p> <p><a href="http://imgur.com/a/SUjNu" rel="nofollow">http://imgur.com/a/SUjNu</a></p> <p>This is the draw...
I've added a ripple animation to a button, it works on API 21 (5.0) but not on 23 (6.0). Here is a gif, top is a 6.0 emulator, bottom is a 5.0 one. I'd like the top one to look like the bottom one: http://imgur.com/a/SUjNu This is the drawable source (in v21-drawable): [CODE] This is the normal source (in drawable): [C...
android|android-animation|android-drawable
2
2016-04-18T12:18:40.210Z
2,016
4
12
0
119
0
446
45
3
3
true
true
false
false
false
false
low
36,693,878
ActivityNotFoundException in androidManifestFile
<p>I am developing an android application where user signs up for account. When user signs up, an email should be sent to the user gmail directly, no user interaction should be there. Please help me with this.</p> <p>SignUpActivity.java</p> <pre><code>public class SignUp extends Activity { EditText uname,email,...
I am developing an android application where user signs up for account. When user signs up, an email should be sent to the user gmail directly, no user interaction should be there. Please help me with this. SignUpActivity.java [CODE] Below are the methods I have used for validation: [CODE] I am getting below exception ...
java|android|eclipse
1
2016-04-18T12:22:11.493Z
2,016
4
12
0
96
3
328
48
3
3
true
false
false
false
false
false
low
36,693,943
Unable to use Drawer method openDrawer() in component React Native Android
<p>I am implementing Drawer in android using react native and trying to create different file for drawer menu code and drawer content code. To do this I have created react component in different. I am able to do all work in these file but I need drawer reference to perform some operations of drawer in component files. ...
I am implementing Drawer in android using react native and trying to create different file for drawer menu code and drawer content code. To do this I have created react component in different. I am able to do all work in these file but I need drawer reference to perform some operations of drawer in component files. Her...
android|reactjs|react-native
1
2016-04-18T12:25:05.270Z
2,016
4
12
0
3,154
1
463
74
3
2
true
false
true
false
false
false
low
36,694,036
Customizing my button
<p>I have buttons with text in it. What i want, is the same button without the text, having a little icon in the middle of the button. The icon has to be, i'm assuming, an image that you save in the drawable file, but when i put that in the button it gets set as a background..</p> <p>Also, all the images with icons ar...
I have buttons with text in it. What i want, is the same button without the text, having a little icon in the middle of the button. The icon has to be, i'm assuming, an image that you save in the drawable file, but when i put that in the button it gets set as a background.. Also, all the images with icons are images wi...
android|eclipse|layout
0
2016-04-18T12:29:04.697Z
2,016
4
12
0
64
3
566
21
3
2
true
false
false
false
false
false
zero
36,694,212
Getting a Permission Denial when querying my own ContentProvider from my own App
<p>In one of my apps, I'm using a ContentProvider to save and restore information. This ContentProvider is used by the main application, as well as a couple of services, but all of them are in the same apk, and all the services live in the default (main) process. </p> <p>My content provider is declared like this in my...
In one of my apps, I'm using a ContentProvider to save and restore information. This ContentProvider is used by the main application, as well as a couple of services, but all of them are in the same apk, and all the services live in the default (main) process. My content provider is declared like this in my manifest : ...
android|android-contentprovider|permission-denied
5
2016-04-18T12:36:05.457Z
2,016
4
12
0
1,349
1
623
80
3
3
true
false
false
false
false
false
low
36,694,429
App crashes if SQLite cursor has no results
<p>I have an app that uses a cursor to run an SQlite query. </p> <pre><code> public Cursor totaltrips(){ Cursor cursor = database.rawQuery("SELECT * AS TTotal FROM " + DatabaseHelper.TABLE_NAME, null); return cursor; } </code></pre> <p>The results are stored to an Arraylist with a maximum of 5 values. If t...
I have an app that uses a cursor to run an SQlite query. [CODE] The results are stored to an Arraylist with a maximum of 5 values. If there are no records in the database the app crashes. If I have one or more database entries it works fine. Does anyone know how I can stop it from crashing when there are no database en...
android|sqlite|arraylist|android-sqlite
5
2016-04-18T12:46:21.257Z
2,016
4
12
0
579
3
390
43
4
4
true
false
false
false
false
false
low
36,694,431
How to add json array at the end of url in Android using HttpURLConnection?
<p>Recently In a project, I had to face an API from my colleague which accepts JSON arrays of an object in the URL with GET method. </p> <p>For example, the call to API is </p> <pre><code>api.site.com/object/create/[{"id":1,"name":"Hello!"},{"id":2,"name":"World!"}] </code></pre> <p>This URL perfectly works with Chr...
Recently In a project, I had to face an API from my colleague which accepts JSON arrays of an object in the URL with GET method. For example, the call to API is [CODE] This URL perfectly works with Chrome and the API returns the expected value which is for example: [{"id":12501}] But in Android, the functions that hand...
java|android|json|gson|httpurlconnection
1
2016-04-18T12:46:22.600Z
2,016
4
12
0
592
1
594
75
5
2
true
false
false
false
false
false
low
36,694,467
How to check radiobutton only once at a time in Listview
<p>I have lisview it contain radioButton and 6 textView. I want to allow check only one item radio button at a time. Default, first item radio button checked when page open. If i choose any item automatically uncheck previous checked item.. Please anyone help me!</p> <p>Code below :</p> <p>AdapterClass:</p> <pre><c...
I have lisview it contain radioButton and 6 textView. I want to allow check only one item radio button at a time. Default, first item radio button checked when page open. If i choose any item automatically uncheck previous checked item.. Please anyone help me! Code below : AdapterClass: [CODE] Thanks in advance!!!
java|android
0
2016-04-18T12:47:51.650Z
2,016
4
12
0
124
1
315
56
2
1
true
false
false
false
false
false
zero
36,694,597
Google Analytics - report full stackTrace of uncaught Exception
<p>I use this code to create a Tracker:</p> <pre><code>GoogleAnalytics analytics = GoogleAnalytics.getInstance(this); Tracker myTracker = analytics.newTracker(R.xml.track); myTracker.set("&amp;uid", appId); myTracker.enableExceptionReporting(true); </code></pre> <p>In track.xml I have:</p> <pre><code>&lt;reso...
I use this code to create a Tracker: [CODE] In track.xml I have: [CODE] This sends just the first line of the stack trace to Analytics. How can I send the whole stack trace? In documentation it says Warning: Never send the exception message (such as e.getMessage()) to Google Analytics as it may contain personally ident...
android|exception|google-analytics
5
2016-04-18T12:53:29.957Z
2,016
4
12
0
364
0
384
63
3
2
true
true
false
false
false
false
low
36,694,606
Adding Multiple Markers Google Maps
<p>I am trying to add a marker all depending on what activity the user is on. For example, if the user is in the location1 activity and clicks the button to open maps, it should open Google Maps with a marker at where location1 is. Alternatively, if the user is in the location2 activity and clicks the button to open ma...
I am trying to add a marker all depending on what activity the user is on. For example, if the user is in the location1 activity and clicks the button to open maps, it should open Google Maps with a marker at where location1 is. Alternatively, if the user is in the location2 activity and clicks the button to open maps,...
android|google-maps|android-studio|google-maps-api-3
0
2016-04-18T12:54:06.837Z
2,016
4
12
0
7,710
3
1,037
35
4
1
true
false
true
false
false
false
zero
36,694,671
Android Application Crashes ActivityManager permission Denied on Eclipse
<p>My Application is crashing every time when I Run it. only HelloWorld app runs fine.<br> It says Activity Manager permission denied. Please have a look.</p> <blockquote> <p>Console :<br> 1.[2016-04-18 17:21:21 - Demo] ActivityManager: open: Permission denied<br> 1. [2016-04-18 17:21:21 - Demo] ActivityManager...
My Application is crashing every time when I Run it. only HelloWorld app runs fine. It says Activity Manager permission denied. Please have a look. Console : 1.[2016-04-18 17:21:21 - Demo] ActivityManager: open: Permission denied 1. [2016-04-18 17:21:21 - Demo] ActivityManager: Starting: Intent act=android.intent.actio...
java|android|eclipse|android-activity|permissions
0
2016-04-18T12:57:01.210Z
2,016
4
12
0
569
4
523
72
5
2
true
false
false
false
false
false
zero
36,694,726
NoClassDefFoundError: com.squareup.picasso.Picasso with phone
<p>I am getting noClassDefFoundError on phones running less than API Version 21. First it was coming with other classes, after removing all the possible codes, it started to coming with Picasso library. I have attached my logcat and build.gradle.</p> <p>Please help me, I am stucked, I have tried many solution, but no ...
I am getting noClassDefFoundError on phones running less than API Version 21. First it was coming with other classes, after removing all the possible codes, it started to coming with Picasso library. I have attached my logcat and build.gradle. Please help me, I am stucked, I have tried many solution, but no one is work...
java|android|picasso|android-multidex
2
2016-04-18T12:59:29.493Z
2,016
4
12
0
7,008
3
13,799
61
4
1
true
false
true
false
false
false
low
36,694,766
Pass callback to startActivityForResult without changing activity class
<p>My problem that I need to get a cookie from my site. To solve this I have an API endpoint like <code>http://example.com/cookie</code> which redirects using app schema <code>myapp://cookie=some_cookie</code></p> <pre><code>protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
My problem that I need to get a cookie from my site. To solve this I have an API endpoint like http://example.com/cookie which redirects using app schema myapp://cookie=some_cookie [CODE] I have an Activity which processes app schema. How can I get some_cookie if I can't change appActivity class? UPDATE : I managed to ...
android|android-intent|android-activity
3
2016-04-18T13:01:10.557Z
2,016
4
13
0
1,523
4
502
71
3
1
true
false
false
false
false
false
low
36,694,800
Fading edges/mask with animation in Android
<p>I've created an animation that shows multiple cars driving upwards. The animation looks like the following image:</p> <p><a href="http://i.stack.imgur.com/PePiD.png" rel="nofollow">Animated cars</a></p> <p>This animation needs to be placed on top of a Google Map fragment and the cars must be faded out at the top a...
I've created an animation that shows multiple cars driving upwards. The animation looks like the following image: Animated cars This animation needs to be placed on top of a Google Map fragment and the cars must be faded out at the top and bottom side. Right now i got this working using keyframes and i manually created...
java|android|google-maps|android-studio
0
2016-04-18T13:02:18.083Z
2,016
4
13
0
1,157
1
1,203
43
4
2
true
false
false
false
false
false
zero
36,694,875
Parsing a JSON file to be used as a menu "tree" in a list view in Android
<p>I have a local JSON file in my project currently and would like to parse it into an array and then use this array to make clickable list items to create a sort of menu. A screenshot of an example of this is below.</p> <p><a href="http://i.imgur.com/N8G5O9d.png" rel="nofollow">http://i.imgur.com/N8G5O9d.png</a></p> ...
I have a local JSON file in my project currently and would like to parse it into an array and then use this array to make clickable list items to create a sort of menu. A screenshot of an example of this is below. http://i.imgur.com/N8G5O9d.png I know how to create this from an array, the issue I am having is parsing w...
android|json|listview
1
2016-04-18T13:05:38.827Z
2,016
4
13
0
668
3
806
73
3
1
true
false
false
false
false
false
low
36,694,880
How to link images with texts in android studio?
<p>I'm trying to make an app that display a text for each image, I have imported four images and four text views , but when i press on any of the image it is display the same text. and display the 4 texts in the same time</p> <p>how to display a different text with each image. (i am working in the Main2Activity)</p> ...
I'm trying to make an app that display a text for each image, I have imported four images and four text views , but when i press on any of the image it is display the same text. and display the 4 texts in the same time how to display a different text with each image. (i am working in the Main2Activity) xml code [CODE] ...
java|android|android-studio
0
2016-04-18T13:05:57.553Z
2,016
4
13
0
95
1
445
48
3
2
true
false
false
false
false
false
zero
36,694,923
RecyclerImageViewHolder load item in new thread
<p>I try move my load logic in new thread and ImageView in RecyclerImageViewHolder change very quikly. I try interrupt thread and i try check before set image, but it not work... I don't understand why it not work</p> <p><a href="https://i.stack.imgur.com/3gycf.gif" rel="nofollow noreferrer"><img src="https://i.stack....
I try move my load logic in new thread and ImageView in RecyclerImageViewHolder change very quikly. I try interrupt thread and i try check before set image, but it not work... I don't understand why it not work [CODE]
android|multithreading|android-recyclerview
0
2016-04-18T13:08:08.987Z
2,016
4
13
0
386
1
217
47
3
1
true
false
false
false
false
false
zero
36,694,977
Send password directly to email obtained from edittext on button click
<p>I am facing a problem whole day but not able to find the solution. Plz guide </p> <p>Tried below mentioned code but did not get any email ,I am sending new <code>password to user email when</code>user enter his email on edittext and on submit button password is send to email id entered by user.I am doing t...
I am facing a problem whole day but not able to find the solution. Plz guide Tried below mentioned code but did not get any email ,I am sending new password to user email when user enter his email on edittext and on submit button password is send to email id entered by user.I am doing this work on Forget Password Activ...
android
1
2016-04-18T13:10:37.677Z
2,016
4
13
0
185
1
635
70
1
1
true
false
false
false
false
false
low
36,695,329
AllJoyn ErrorReplyBusException
<p>I'm trying to call a remote AllJoyn method on a ProxyBusObject interface but I get a ErrorReplyBusException. I can't seem to find any information about this on the API guide or on the reference documentation. Any help would be really appreciated. Here's the code and the error log. Thanks in advance.</p> <pre><code>...
I'm trying to call a remote AllJoyn method on a ProxyBusObject interface but I get a ErrorReplyBusException. I can't seem to find any information about this on the API guide or on the reference documentation. Any help would be really appreciated. Here's the code and the error log. Thanks in advance. [CODE] Error log: [...
java|android|alljoyn
0
2016-04-18T13:25:18.307Z
2,016
4
13
0
167
1
325
30
3
2
true
false
false
false
false
false
zero
36,695,553
How to merge an 8bit and a 16bit pcm file into separate audio channels in android
<p>I know there's been many similar questions and I read many of them but I couldn't make it work. as I said in the title, I have one 8bit and one 16bit pcm mono file which I want to merge them into one stereo wave file but in separate channels, one in the left and one in the right channel.</p> <p>So far I've done as ...
I know there's been many similar questions and I read many of them but I couldn't make it work. as I said in the title, I have one 8bit and one 16bit pcm mono file which I want to merge them into one stereo wave file but in separate channels, one in the left and one in the right channel. So far I've done as following b...
android|audio|merge|wav|pcm
1
2016-04-18T13:33:36.413Z
2,016
4
13
0
608
2
594
81
5
2
true
false
false
false
false
false
low
36,695,586
Fabric.io error start Android 2.3.3 (api 10)
<p>I have the following error: </p> <pre><code>12-03 12:20:08.270 28282-28312/com.topantidevelopers.goloud E/Fabric﹕ Unknown error while loading Crashlytics settings. Crashes will be cached until settings can be retrieved. java.lang.NullPointerException: Attempt to invoke interface method 'void com.android.ok...
I have the following error: [CODE] Also appeared this message at the time of import of libraries: io-fabric-sdk-android_fabric] Using 1.7 requires compiling with Android 4.4 (KitKat); Currently using API 10 Maybe it's version. Can someone help me?
android|crashlytics|twitter-fabric
2
2016-04-18T13:35:04.323Z
2,016
4
13
0
385
0
247
44
3
1
true
true
false
false
false
false
low
36,695,810
Android: Get instance of Fragments Activity from another Activity
<p>I wish to access an activities method (Budgeting.readFromDb()) from another activity (RemoveStatement). RemoveStatement is ran through an intent from BudgetingFragment (a placeholder fragment within Budgeting).</p> <p>However, when I try to get the an instance of the BudgetingFragment (through getFragmentManager()....
I wish to access an activities method (Budgeting.readFromDb()) from another activity (RemoveStatement). RemoveStatement is ran through an intent from BudgetingFragment (a placeholder fragment within Budgeting). However, when I try to get the an instance of the BudgetingFragment (through getFragmentManager().findFragmen...
android|android-fragments|android-intent|android-activity
0
2016-04-18T13:44:53.800Z
2,016
4
13
0
1,562
2
785
65
4
2
true
false
false
false
false
false
zero
36,695,882
My image is not displaying in my list
<p>I'm using retrofit to communicate with sever and get a list of news from it then I need to display news in my app ( every news is 2 textview and 1 imageview). TextViews are working great but I have problem with imageview. Here is the code for my adapter:</p> <pre><code>public class NewsAdapter extends BaseAdapter {...
I'm using retrofit to communicate with sever and get a list of news from it then I need to display news in my app ( every news is 2 textview and 1 imageview). TextViews are working great but I have problem with imageview. Here is the code for my adapter: [CODE] I'm quite sure that problem is in this line :; [CODE]
java|android|retrofit|picasso
0
2016-04-18T13:47:20.803Z
2,016
4
13
0
54
2
315
37
4
2
true
false
false
false
false
false
zero
36,695,989
Generate Textview dynamically based on JSON response
<p>Hi I'm getting a JSON response in the below format, I have parsed the response and getting the values in my application. I need to show the dashboard in the application and I want them as Individual rows and to be displayed in the textviews where they are dynamic.</p> <p><a href="https://i.stack.imgur.com/v0mPP.png...
Hi I'm getting a JSON response in the below format, I have parsed the response and getting the values in my application. I need to show the dashboard in the application and I want them as Individual rows and to be displayed in the textviews where they are dynamic. This is what I have tried. [CODE]
android|dynamic|textview
-1
2016-04-18T13:51:58.967Z
2,016
4
13
0
710
2
298
52
3
1
true
false
false
false
false
true
negative
36,696,024
Google Maps V2 : getting lat long value using GPS
<p>I am creating a simple app which takes value of latitude and longitude using GPS and i am trying to pass it to google maps to show it on map. GPS is working fine but when i am using those values of lat long it does nothing at all. Only the map is visible with a default marker.</p> <p>MainActivity.java</p> <pre><co...
I am creating a simple app which takes value of latitude and longitude using GPS and i am trying to pass it to google maps to show it on map. GPS is working fine but when i am using those values of lat long it does nothing at all. Only the map is visible with a default marker. MainActivity.java [CODE] It is showing lat...
android|google-maps|gps
0
2016-04-18T13:53:27.400Z
2,016
4
13
0
390
0
549
49
3
2
true
true
false
false
false
false
zero
36,696,056
Deep linking and multiple app instances in Android
<p>I added this intent filter in my manifest file, and the deep linking is working. </p> <pre><code>&lt;intent-filter&gt; &lt;action android:name="android.intent.action.VIEW" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;category android:name="android.intent.category.BROWSABLE" /&gt; &...
I added this intent filter in my manifest file, and the deep linking is working. [CODE] The problem is that through deep linking, my app is launching on top of current app. If I am in Gmail and I click a link, then my app is launching on top of Gmail. If my app is already running in background and I click on a link in ...
android|android-activity|deep-linking
3
2016-04-18T13:54:50.523Z
2,016
4
13
0
1,652
2
651
50
3
1
true
false
false
false
false
false
low
36,696,175
Focus on an element with a number input type displays a qwerty keyboard rather than a numeric keyboard
<p>Previously I had a problem to do with soft keyboard backspace on Android 4.4.3 and this only occurs on the device that uses the Android Keyboard (AOSP).</p> <p>Backspace seems to not work when the view is currently in focus on a text box and when I tap on the right of the entered text in the text box, sometime back...
Previously I had a problem to do with soft keyboard backspace on Android 4.4.3 and this only occurs on the device that uses the Android Keyboard (AOSP). Backspace seems to not work when the view is currently in focus on a text box and when I tap on the right of the entered text in the text box, sometime backspace becom...
android|keyboard|android-input-method|android-inputtype
0
2016-04-18T14:00:43.640Z
2,016
4
14
0
186
0
915
102
4
0
false
true
false
false
false
false
zero
36,696,237
First item ListView ago ActionBar
<p>I thought that the first item was not being added to the list, but I noticed that being added, because when I put a marginTop <code>android:layout_marginTop="?android:attr/actionBarSize"</code> the ListView item appeared. <strong>What should I do to fix this?</strong> <BR> <BR> Without attribute <code>android:layout...
I thought that the first item was not being added to the list, but I noticed that being added, because when I put a marginTop android:layout_marginTop="?android:attr/actionBarSize" the ListView item appeared. What should I do to fix this? Without attribute android:layout_marginTop="?android:attr/actionBarSize" the firs...
java|android|listview|arraylist|android-actionbar
0
2016-04-18T14:03:00.703Z
2,016
4
14
0
191
1
445
33
5
3
true
false
false
false
false
false
zero
36,696,370
Button.setEnabled not enabling button when needed
<p>So I want to have two buttons, one for adding 1 on TextView and 1 for substracting.</p> <p>The result on textview mustn't be smaller then 0.</p> <p>So I thought to set it disabled if the text is 0 so it can't go in negative values. But that doesn't work like I thought, when I press plus button and add 1 and then p...
So I want to have two buttons, one for adding 1 on TextView and 1 for substracting. The result on textview mustn't be smaller then 0. So I thought to set it disabled if the text is 0 so it can't go in negative values. But that doesn't work like I thought, when I press plus button and add 1 and then press minus button t...
java|android
2
2016-04-18T14:08:20.600Z
2,016
4
14
0
2,120
2
493
49
2
1
true
false
false
false
false
false
low
36,696,379
Easier way of doing multiple if statements for the same thing
<p>Right, so my problem is that I have 18 spinners containing 43 options for a user to select. I want each option to change a link on a different page in order for the user to look at a pdf regarding that option. I have got the shared preferences to work to share the selection and I'm now implementing my if/else if sta...
Right, so my problem is that I have 18 spinners containing 43 options for a user to select. I want each option to change a link on a different page in order for the user to look at a pdf regarding that option. I have got the shared preferences to work to share the selection and I'm now implementing my if/else if statem...
java|android|if-statement
0
2016-04-18T14:08:44.630Z
2,016
4
14
0
82
4
1,149
61
3
1
true
false
false
false
false
false
zero
36,696,449
How to call intent in asynctask, or how to start new activity in onPostExecute?
<p>How to call intent in asynctask? or how to start new activity in onPostExecute?</p> <p>I want to start new activity after check user&amp;password is right.</p> <p>Please help me, I try to do.It but always goes to a new activity and doesn't check user and password.</p> <p>MainActivity.java</p> <p><div class="snip...
How to call intent in asynctask? or how to start new activity in onPostExecute? I want to start new activity after check user&password is right. Please help me, I try to do.It but always goes to a new activity and doesn't check user and password. MainActivity.java [CODE] Backgroundwrok.java [CODE]
mysql|android-studio|android-intent|authentication|android-asynctask
0
2016-04-18T14:11:22.300Z
2,016
4
14
0
406
0
298
79
5
2
true
true
false
false
false
false
zero
36,696,535
Communicating via Bluetooth serial with Python
<p>How do you process and receive serial data via Bluetooth and Python?</p> <p>I'm trying to make a simple Python server that access data via Bluetooth as <a href="http://blog.davidvassallo.me/2014/05/11/android-linux-raspberry-pi-bluetooth-communication/" rel="noreferrer">explained here</a>.</p> <p>My <code>server.p...
How do you process and receive serial data via Bluetooth and Python? I'm trying to make a simple Python server that access data via Bluetooth as explained here . My server.py file, which sends a random number when sent the text "temp", is: [CODE] When I first ran this, I was getting the error: [CODE] which Googled show...
android|python|linux|bluetooth
5
2016-04-18T14:14:54.003Z
2,016
4
14
0
25,310
2
1,232
46
4
4
true
false
true
true
false
false
low
36,696,585
How to hide HTML element on Android 4.3 and older
<p>How can I disable rendering of one element on HTML page only on Android 4.3. and older?</p> <p>On a page I've got an absolute positioned elements that renders over sites content making it impossible to read. In HTML code, elements are written before content and it works great on every device except Android 4.3. and...
How can I disable rendering of one element on HTML page only on Android 4.3. and older? On a page I've got an absolute positioned elements that renders over sites content making it impossible to read. In HTML code, elements are written before content and it works great on every device except Android 4.3. and older. I'v...
javascript|android|jquery|html|css
0
2016-04-18T14:17:04.747Z
2,016
4
14
0
102
1
793
49
5
1
true
false
false
false
false
false
zero
36,696,657
xamarin android async method not working
<p>I have a static method on my portable class</p> <pre><code>async public static Task&lt;JSONObject&gt; CheckToken(string token) { var client = new HttpClient(); var formContent = new FormUrlEncodedContent(new[] { new KeyValuePair&lt;string, string&gt;("tag", "checkToken"), new KeyValuePair...
I have a static method on my portable class [CODE] Main Activity Code [CODE] when it reaches [CODE] getting exception System.Threading.Tasks.TaskCanceledException: A task was canceled. it stops.. like I am waiting 3 minutes and then I get the exception, funny thing is that it worked before! I don't know why this is hap...
c#|android|asynchronous|xamarin|async-await
0
2016-04-18T14:19:50.450Z
2,016
4
14
0
426
1
327
40
5
3
true
false
false
false
false
false
zero
36,696,677
TextView in menu is always null after orientation change
<p>I have a TextView functioning as a notification badge on a menu item. The problem is that the findViewById method always returns null after an orientation change, so when I try to modify its visibility with setVisibility it throws a NullPointerException. I've tried calling the onCreateOptionsMenu again by calling in...
I have a TextView functioning as a notification badge on a menu item. The problem is that the findViewById method always returns null after an orientation change, so when I try to modify its visibility with setVisibility it throws a NullPointerException. I've tried calling the onCreateOptionsMenu again by calling inval...
android|nullpointerexception|textview|menuitem|findviewbyid
1
2016-04-18T14:20:54.093Z
2,016
4
14
0
324
1
660
56
5
4
true
false
false
false
false
false
low
36,696,734
Difficulty centering GridView in Framelayout
<p>I tried to make my gridview items to be tight to each other and the whole gridView layout to be centered</p> <p>My gridview code:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res...
I tried to make my gridview items to be tight to each other and the whole gridView layout to be centered My gridview code: [CODE] My gridview items code: [CODE] I tried to switch so many option with the GridView such as numColumns, columnWidth, stretchMode, but the situation is that the GridView is align to the left.
android|android-layout|gridview|layout
0
2016-04-18T14:23:39.507Z
2,016
4
14
0
133
1
318
44
4
2
true
false
false
false
false
false
zero
36,696,882
Android Studio - Dynamic Fragment crashing App
<p>I am trying to link a Fragment, RecycleView and CardView using a variation of the tutorial found on: <a href="http://www.treyrobinson.net/blog/android-l-tutorials-part-3-recyclerview-and-cardview/" rel="nofollow">http://www.treyrobinson.net/blog/android-l-tutorials-part-3-recyclerview-and-cardview/</a></p> <p>Unfor...
I am trying to link a Fragment, RecycleView and CardView using a variation of the tutorial found on: http://www.treyrobinson.net/blog/android-l-tutorials-part-3-recyclerview-and-cardview/ Unfortunately my app crashes with the following error message: [CODE] I am fairly new with Android development. I tried to find simi...
android|android-fragments|android-studio|fragment|android-recyclerview
-1
2016-04-18T14:29:47.880Z
2,016
4
14
0
445
1
789
46
5
6
true
false
false
false
false
true
negative
36,696,960
OpenCSV read specific column
<p>i am facing small problem while using OPENCSV and trying to read specific column from a line. I have a csv file that looks like this</p> <pre><code>"ID","Name","Name2","Date","Author" "1","Alex","Example","18.3.2016","Alex" </code></pre> <p>Now i want to read only the column 2 and 3 (Name and Name2).</p> <p>My co...
i am facing small problem while using OPENCSV and trying to read specific column from a line. I have a csv file that looks like this [CODE] Now i want to read only the column 2 and 3 (Name and Name2). My code looks like this [CODE] I already tried setting the "i" variable manually to 1 and 2. But then i am getting 4 sa...
android|csv|opencsv
1
2016-04-18T14:33:13.363Z
2,016
4
14
0
2,624
1
369
28
3
2
true
false
true
false
false
false
low
36,696,984
Gradle release build fails
<p>I am using this configuration for my project:</p> <pre><code>apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' repositories { mavenCentral() maven { url "https://jitpack.io" } } android { signingConfigs { config { keyAlias XXXXXXX ke...
I am using this configuration for my project: [CODE] Stacktrace: [CODE] When I try running code in Android studio in debug mode everything works fine, but when I try to release code it just gets stuck at dexing phase and I get OutOfMemoryException. I Tried compiling with more RAM (8g but it would just last longer and f...
android|android-gradle-plugin|release
1
2016-04-18T14:34:03.533Z
2,016
4
14
0
774
1
502
26
3
2
true
false
false
false
false
false
low
36,696,999
Is there any way to enforce android.support.v7.appcompat.R.drawable.abc_ic_clear_mtrl_alpha as white color
<p>Currently, my app is using <code>Theme.AppCompat.Light.NoActionBar</code></p> <p>I have a custom search view, which will display close button when there is text.</p> <pre><code>public class JStockSearchView extends LinearLayoutCompat { public JStockSearchView(Context context, AttributeSet attrs, int defStyleA...
Currently, my app is using Theme.AppCompat.Light.NoActionBar I have a custom search view, which will display close button when there is text. [CODE] However, the cross sign appears as black color. Is there any way to enforce it to be white color?
android|colors
0
2016-04-18T14:34:36.713Z
2,016
4
14
0
403
2
246
106
2
1
true
false
false
false
false
false
zero
36,697,054
Azure Storage with Xamarin (creating a table and inserting rows)
<p>I'm just getting started using Azure Storage. I've been following <a href="https://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-tables/" rel="nofollow">this</a> nifty tutorial using Xamarin.Android. Here's what I'm trying to do...</p> <p>I want to create a mobile app that will take use...
I'm just getting started using Azure Storage. I've been following this nifty tutorial using Xamarin.Android. Here's what I'm trying to do... I want to create a mobile app that will take users' names and email addresses using EditText fields and save them in a table in an Azure Storage Account. Here's the code I wrote: ...
azure|xamarin|xamarin.android|azure-storage
0
2016-04-18T14:36:37.973Z
2,016
4
14
0
184
1
869
64
4
1
true
false
false
false
false
false
zero
36,697,055
Android listSelector still partly visible when the item is scrolled out
<p>The image shows the problem: <code>Venus</code> item is scrolled out but it's selection is visible.</p> <p><a href="https://i.stack.imgur.com/puJvD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/puJvD.png" alt="Venus item is scrolled out but it&#39;s selection is visible"></a></p> <p>I've looke...
The image shows the problem: Venus item is scrolled out but it's selection is visible. I've looked at Hanged listSelector in ListView and I'm using shapes/gradient as it was advised, but still no luck. Device: MS VS Emulator for Android, Android 4.2 XHDPI API-17 IDE: Android Studio 2. on Windows 7 WM. Layout, main acti...
android|listview
13
2016-04-18T14:36:41.250Z
2,016
4
14
0
1,976
2
939
71
2
5
true
false
false
false
true
false
medium
36,697,077
Navigation bar hamburger icon not working
<p>I have created the tablayout activity with viewPager for fragment transaction.</p> <p>Now my design changed and going to add drawer. In that the hamburger menu is not working. When swiping from left it is appearing and when I press the icon it is not showing. I think it may be the layout issue. But I am struggling...
I have created the tablayout activity with viewPager for fragment transaction. Now my design changed and going to add drawer. In that the hamburger menu is not working. When swiping from left it is appearing and when I press the icon it is not showing. I think it may be the layout issue. But I am struggling to fix the ...
android|android-layout|android-fragments|navigation-drawer|hamburger-menu
0
2016-04-18T14:37:42.443Z
2,016
4
14
0
502
1
424
41
5
1
true
false
false
false
false
false
zero
36,697,162
Displaying random image every 3 seconds - Android Studio
<p>For some reason I can't seem to get this correct. What I wish to do is have any of the three images appear every 3 seconds but for some reason it gives me one random image and then another suddenly appears and disappears. So overall, I want it to generate an image every 3 seconds but can't get it to work for some re...
For some reason I can't seem to get this correct. What I wish to do is have any of the three images appear every 3 seconds but for some reason it gives me one random image and then another suddenly appears and disappears. So overall, I want it to generate an image every 3 seconds but can't get it to work for some reaso...
android|android-studio|random|timer
0
2016-04-18T14:41:13.240Z
2,016
4
14
0
468
1
365
56
4
1
true
false
false
false
false
false
zero
36,697,396
A tag link not converting inside TextView - Android
<p>I have a ListView and I'm trying to convert an HTML link tag to be clickable w/ a TextView.. I do not know what I'm doing wrong? It doesn't convert this:</p> <pre><code>String txt = "&lt;a href='http://www.google.com'&gt;Google&lt;/a&gt;"; viewHolder.txtMessage.setMovementMethod(LinkMovementMethod.getInstance()); ...
I have a ListView and I'm trying to convert an HTML link tag to be clickable w/ a TextView.. I do not know what I'm doing wrong? It doesn't convert this: [CODE] Additionally here's what the XML looks like: [CODE] Edit It's not the same as the other SO question. Their solution does not work w/ my use-case. My question i...
android|listview|textview
0
2016-04-18T14:50:30.550Z
2,016
4
14
0
46
0
486
51
3
2
true
true
false
false
false
false
zero
36,697,458
RecyclerView in CoordinatorLayout doesn't scroll to the end after fragment transaction
<p>I've encountered an issue where a fragment with a CoordinatorLayout and RecyclerView doesn't allow scrolling to reveal all the content (only part of it) after a fragment transaction.</p> <p>More specifically I have the following components:</p> <ol> <li>An activity (ScrollingActivity.java) that its layout only has...
I've encountered an issue where a fragment with a CoordinatorLayout and RecyclerView doesn't allow scrolling to reveal all the content (only part of it) after a fragment transaction. More specifically I have the following components: An activity (ScrollingActivity.java) that its layout only has a FrameLayout that serve...
android|android-fragments|android-coordinatorlayout|fragmenttransaction
3
2016-04-18T14:52:22.390Z
2,016
4
14
0
281
0
1,299
86
4
0
false
true
false
false
false
false
low
36,697,462
How to use custom images as resources with NativeScript and Angular 2?
<p>I'm following the tjvantoll tutorial <a href="https://tjvantoll.github.io/nativescript-angular-guide/#chapter2.0" rel="nofollow noreferrer">here</a> about develop an app with NativeScript 1.7 + Angular 2. </p> <p>I create my images with the <a href="http://nsimage.brosteins.com/" rel="nofollow noreferrer">NativeScr...
I'm following the tjvantoll tutorial here about develop an app with NativeScript 1.7 + Angular 2. I create my images with the NativeScript Image Builder . My custom image is " logo_login " and the default image created by NativeScript is " icon ". Here is the code: [CODE] When I run the application, console.log(img) re...
android|angular|nativescript
0
2016-04-18T14:52:29.197Z
2,016
4
14
0
3,992
2
457
70
3
1
true
false
true
false
false
false
zero
36,697,584
addPeriodicSync does not work
<p>Have an issue with using of <code>SyncAdapter</code>. I've created it as in <a href="http://developer.android.com/training/sync-adapters/creating-sync-adapter.html" rel="nofollow">this</a> guide, but when I try to use <code>addPeriodicSync</code> I don't get any effect.</p> <p>I read all answers which I found on St...
Have an issue with using of SyncAdapter . I've created it as in this guide, but when I try to use addPeriodicSync I don't get any effect. I read all answers which I found on Stack Overflow but still don't have any idea where is the trouble. Kindly ask about help. Code: Manifest.xml [CODE] SyncAdapter implementation [CO...
android|android-syncadapter
0
2016-04-18T14:58:13.900Z
2,016
4
14
0
2,879
3
568
29
2
7
true
false
true
false
false
false
zero
36,697,626
Android - Merge mp3 files
<p>I'm trying to merge some mp3 file in an android application with this function:</p> <pre><code>private void mergeSongs(File mergedFile, Vector&lt;InputStream&gt; inputStreams){ Enumeration&lt;InputStream&gt; enu = inputStreams.elements(); try { SequenceInputStream sis = new SequenceInputStream(en...
I'm trying to merge some mp3 file in an android application with this function: [CODE] called by this few lines of code: [CODE] This is working, but the duration of the merged audio is the same as the first audio. How can I solve that? *I've tried to get the duration in three different ways: 1) With mediaplayer on andr...
android|audio|join|mp3
0
2016-04-18T14:59:24.757Z
2,016
4
14
0
146
0
495
25
4
2
true
true
false
false
false
false
zero
36,697,716
Compilation fails on TACO 8.1 (Failed to fetch platform android)
<p>I upgraded to TACO 8.1 today, cleared Cordova cache in Tools > Options, cloned my git project, and now I'm getting this error when compiling for Android:</p> <pre><code>1&gt; Executing "before_platform_add" hook for all plugins. 1&gt; No version supplied. Retrieving version from config.xml... 1&gt; Failed to fe...
I upgraded to TACO 8.1 today, cleared Cordova cache in Tools > Options, cloned my git project, and now I'm getting this error when compiling for Android: [CODE] Any idea? EDIT: I'm not behind a proxy EDIT: Same result when compiling for iOS EDIT: I tried repairing Visual Studio: no luck (same error) EDIT: I'm on Window...
android|cordova|visual-studio-cordova
1
2016-04-18T15:02:38.210Z
2,016
4
15
0
388
1
477
64
3
1
true
false
false
false
false
false
low
36,697,733
Setting up a DatePicker
<p>I am using the Android pallet <code>DatePicker</code>. As of right now I am able to display the calendar but I'm unable to store any user selected date/time.</p> <p><strong>JAVA CODE</strong></p> <pre><code>import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support....
I am using the Android pallet DatePicker . As of right now I am able to display the calendar but I'm unable to store any user selected date/time. JAVA CODE [CODE] XML FILE [CODE] Any help that can offered would be greatly appreciated. Thank you
android|datepicker
1
2016-04-18T15:03:19.183Z
2,016
4
15
0
681
1
244
23
2
2
true
false
false
false
false
false
low
36,697,970
Transfering File from python server to android client
<p>i have a python 2.7 server and an android application. what I do is: send a URL as a string to the server that convert it into a PDF file, then I want to send this file to my android app. The problem is in android app i think, I send file without problem from server but when I try to open it on android it is empty (...
i have a python 2.7 server and an android application. what I do is: send a URL as a string to the server that convert it into a PDF file, then I want to send this file to my android app. The problem is in android app i think, I send file without problem from server but when I try to open it on android it is empty (0 b...
android|python-2.7|file-transfer
0
2016-04-18T15:12:48.390Z
2,016
4
15
0
978
0
457
53
3
2
true
true
false
false
false
false
zero
36,698,026
Android - How to create pdf document or printDocument with data from database
<p>I need to generate pdf document with data from database. I have looked bunch of examples, but I couldn't get this data from database into a pdf. </p> <p>I have two models Receipt and Logs (Receipt has_many Logs). I want get data from Receipt into pdf and then all logs which belongs_to Receipt into that pdf. After t...
I need to generate pdf document with data from database. I have looked bunch of examples, but I couldn't get this data from database into a pdf. I have two models Receipt and Logs (Receipt has_many Logs). I want get data from Receipt into pdf and then all logs which belongs_to Receipt into that pdf. After that I'll nee...
android|sqlite|pdf|android-sqlite|android-print-framework
0
2016-04-18T15:15:02.520Z
2,016
4
15
0
1,657
1
918
77
5
4
true
false
false
false
false
false
zero
36,698,185
ArrayList Filter with searchView
<p>Is this a right way to filter an <code>ArrayList</code> containing text from strings.xml? I get nothing in the <code>ListView</code> when I enter some characters inside <code>SearchView</code>. </p> <pre><code>public class SearchActivity extends AppCompatActivity { private ListView searchList; private Sear...
Is this a right way to filter an ArrayList containing text from strings.xml? I get nothing in the ListView when I enter some characters inside SearchView . [CODE] Adapter class [CODE]
java|android|arraylist
0
2016-04-18T15:22:15.903Z
2,016
4
15
0
3,740
2
183
32
3
2
true
false
true
false
false
false
zero
36,698,343
Textview width is not the fit the width of the parent
<p>I couldn't make equal width of Textview and linearlayout. Although I set width match_parent in Textview it doesn't fit with the parent width.</p> <p>I saw these posts : <a href="https://stackoverflow.com/questions/26541874/android-textview-width-not-increasing">Android textView width not increasing</a></p> <p><a hre...
I couldn't make equal width of Textview and linearlayout. Although I set width match_parent in Textview it doesn't fit with the parent width. I saw these posts : Android textView width not increasing Android TextView does not expand to match parent TextView width match drawableTop width How to adjust text font size to ...
width|android-linearlayout|textview|android
0
2016-04-18T15:29:28.013Z
2,016
4
15
0
884
1
414
53
4
1
true
false
false
false
false
false
zero
36,698,436
how to set a Title in the middle of the toolbar in Navigation Drawer?
<p>A very little bit problem i will be thankful to you if you will help me, i am working on a calendar app n the main screen i have a navigation drawer and i am trying to set a title(Menu) in the middle of the toolbar by using some properties but it does not set it exactly in the middle. In the case of navigation drawe...
A very little bit problem i will be thankful to you if you will help me, i am working on a calendar app n the main screen i have a navigation drawer and i am trying to set a title(Menu) in the middle of the toolbar by using some properties but it does not set it exactly in the middle. In the case of navigation drawer t...
android
0
2016-04-18T15:33:48.537Z
2,016
4
15
0
284
1
427
69
1
1
true
false
false
false
false
false
zero
36,698,530
AsyncTask in Fragments to perform Database update
<p>I have over 10 <code>fragments</code> that execute the same kind of task which is :</p> <ol> <li>Retrieving the Data from the server using <code>Retrofit</code></li> <li>Starting an Async Task to update the Database (Using ORMLite)</li> <li>Once the Database is updated, retrieving the new data from the Database</li...
I have over 10 fragments that execute the same kind of task which is : Retrieving the Data from the server using Retrofit Starting an Async Task to update the Database (Using ORMLite) Once the Database is updated, retrieving the new data from the Database Notify Dataset has changed in the adapter I'm wondering if it's ...
android|multithreading|android-fragments|android-asynctask
2
2016-04-18T15:38:45.463Z
2,016
4
15
0
472
2
644
49
4
2
true
false
false
false
false
false
low
36,698,625
Listview run so lag while loading 20 image from internet
<p>So I've been trying to make it asynchronously download the images.my app run slow and lag and delay</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>public override View GetView(int position, View convertView...
So I've been trying to make it asynchronously download the images.my app run slow and lag and delay [CODE] All image were loaded in listview(100px height and width). I set ImageView.layout_width=70dp and height too. but I can't scroll down or up in listview. Because listview is getting so lag and very bad I think the p...
android|listview|xamarin|xamarin.android
0
2016-04-18T15:43:13.703Z
2,016
4
15
0
52
1
372
56
4
1
true
false
false
false
false
false
zero
36,698,690
AccountManagerFuture.getResult taking too long to get token in android
<p>I am implementing android AccountManager, everything is working fine, except mAccountManager.getAuthToken() function, it is taking too long to get token. Here is the code that i am using to get token.</p> <pre><code>final AccountManagerFuture&lt;Bundle&gt; future = mAccountManager.getAuthToken(account, AccountTags....
I am implementing android AccountManager, everything is working fine, except mAccountManager.getAuthToken() function, it is taking too long to get token. Here is the code that i am using to get token. [CODE] Problem is not with server connection as it is on local network and all other requests to server are taking less...
android|multithreading|asynchronous
2
2016-04-18T15:46:29.410Z
2,016
4
15
0
155
0
664
70
3
2
true
true
false
false
false
false
low
36,698,740
RecyclerView: No adapter attached; skipping layout?
<p>i am fetching data from webservices than i have to show this data in a recyclerView...i am setting my recyclerView in a onPostExecute of AsyncTask cuz i have to fetch data first. Issue is that there is no View in my activity, every time i got this message...<br> here is my Main_activity...</p> <pre><code> public...
i am fetching data from webservices than i have to show this data in a recyclerView...i am setting my recyclerView in a onPostExecute of AsyncTask cuz i have to fetch data first. Issue is that there is no View in my activity, every time i got this message... here is my Main_activity... [CODE] This is my DataAdapter Cla...
android|android-recyclerview
-1
2016-04-18T15:48:59.437Z
2,016
4
15
0
545
1
332
51
2
2
true
false
false
false
false
true
negative
36,698,770
connectedAndroidTest how to run specific tests
<p>I am a QA with a start up company. My Developer setup Instrumentation tests in the Android Project. He also setup the Jenkins Jobs to run these tests in CI env. </p> <p>This is the command given in "Tasks" field in Jenkins job under Build --> Invoke Gradle script. clean assembleDebug connectedAndroidTest testDebug...
I am a QA with a start up company. My Developer setup Instrumentation tests in the Android Project. He also setup the Jenkins Jobs to run these tests in CI env. This is the command given in "Tasks" field in Jenkins job under Build --> Invoke Gradle script. clean assembleDebug connectedAndroidTest testDebug I would like...
android|android-instrumentation|android-espresso
21
2016-04-18T15:50:47.003Z
2,016
4
15
0
9,300
2
1,006
46
3
0
false
false
true
false
true
false
high
36,698,812
Unable to build Xamarin Android App after updating Nuget Package
<p>I updated my app to reference v23 of the compatibility library (Xamarin.Android.Support.v7.AppCompat version="23.3.0") and can no longer build the app. I get the following errors:</p> <blockquote> <p>Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar...
I updated my app to reference v23 of the compatibility library (Xamarin.Android.Support.v7.AppCompat version="23.3.0") and can no longer build the app. I get the following errors: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'. No resource found that ...
android|xamarin.android
0
2016-04-18T15:53:08.360Z
2,016
4
15
0
866
2
675
64
2
1
true
false
false
false
false
false
zero
36,698,816
Gradle - What is a non-zero exit value and how do I fix it?
<p>I am developing an Android application, and every time I run it, I get this message:</p> <pre><code>:module:someTask FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':module:someTask'. &gt; some message here... finished with non-zero exit value X * Try: Run with --stack...
I am developing an Android application, and every time I run it, I get this message: [CODE] I have already tried cleaning and building the project, but the error persists. I have seen answers that say to enable Multidex or increase the heap size, but I am sure I don't need either solution. What can I do to solve this? ...
java|android|android-studio|gradle|android-gradle-plugin
4
2016-04-18T15:53:27.197Z
2,016
4
15
0
10,540
2
524
59
5
1
true
false
true
false
false
false
low
36,698,941
ADAL Android:Unable to parse 'id_token' from acquiretoken response if the scope is defined as 'openid offline_access'
<p>Following below mentioned steps to get the token from azure ad using adal android</p> <ul> <li>Version: 2.0.1-alpha</li> <li><p>calling the following method authcontext.acquireToken(context,scope,scope,additional_scope, EMAIL_SIGNIN_POLICY, client_id,redirect_uri,getUserInfo(),PromptBehavior.Auto, "nux=1&amp;", get...
Following below mentioned steps to get the token from azure ad using adal android Version: 2.0.1-alpha calling the following method authcontext.acquireToken(context,scope,scope,additional_scope, EMAIL_SIGNIN_POLICY, client_id,redirect_uri,getUserInfo(),PromptBehavior.Auto, "nux=1&", getCallback()) scope is defined as "...
android|adal|azure-ad-b2c|azure-active-directory
0
2016-04-18T16:00:12.767Z
2,016
4
16
0
619
2
967
117
4
1
true
false
false
false
false
false
zero
36,699,059
Toolbar back button does not close current Fragment
<p>I have an activity that loads a Fragment onCreate. And I have a toolbar on that activity that has a button that when clicked will add a new Fragment on top of the one that got created first. </p> <p>Now on that toolbar, when clicked, I want to remove the newer fragment so that it just displaces the fragment that is...
I have an activity that loads a Fragment onCreate. And I have a toolbar on that activity that has a button that when clicked will add a new Fragment on top of the one that got created first. Now on that toolbar, when clicked, I want to remove the newer fragment so that it just displaces the fragment that is in the bott...
android|android-fragments|fragmentmanager
0
2016-04-18T16:05:20.440Z
2,016
4
16
0
488
2
677
51
3
1
true
false
false
false
false
false
zero
36,699,109
Cannot install Facebook Android SDK using Gradle in Android Studio
<p>I am developing an Android app. In my app, I need to integrate with Facebook. So I am installing SDK using Gradle following <a href="https://developers.facebook.com/docs/android/getting-started" rel="nofollow noreferrer">this link</a>. But when I run my app to update Gradle, it is throwing error. How can I fix it to...
I am developing an Android app. In my app, I need to integrate with Facebook. So I am installing SDK using Gradle following this link . But when I run my app to update Gradle, it is throwing error. How can I fix it to install sdk? This is my Gradle file: [CODE] This is the screenshots of error message: Why I cannot ins...
android|android-gradle-plugin|android-facebook|facebook-sdk-4.x
1
2016-04-18T16:08:06.330Z
2,016
4
16
0
146
1
481
66
4
1
true
false
false
false
false
false
low
36,699,141
Make dynamically ActionMode and Tabs bottom of page
<p><a href="https://i.stack.imgur.com/hyjMU.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hyjMU.jpg" alt="reference screen" /></a><br /> <sub>(source: <a href="http://i.piccy.info/i9/1cf40da3123e855e2530e3bf86013d1e/1460994507/172350/1026214/question_to_so_android.jpg" rel="nofollow noreferrer">pic...
(source: piccy.info ) 1 page - none of items are marked 2 page - two items are marked, actionmode menu present with change &quot;Done&quot; to &quot;Cancel&quot;, and other menu is appear on bottom of page I have next question - if I use ListView and mark with checkbox one or more items, how to add dynamically : Action...
android|dynamic|menu|actionmode
2
2016-04-18T16:09:16.237Z
2,016
4
16
0
192
0
793
51
4
0
false
true
false
false
false
false
low
36,699,316
Retrieving Permission Description Returns 'null'
<p>In order to get the description of a permission. I used the following code:</p> <pre><code> PackageManager packageManager = this.getPackageManager(); long time = System.currentTimeMillis(); PermissionInfo pinfo = null; try { pinfo = packageManager.getPermissionInfo("android.permission.BODY_SE...
In order to get the description of a permission. I used the following code: [CODE] But for some permissions, like- android.permission.BATTERY_STATS , I have a null char sequence when I call pinfo.loadDescription(packageManager) . I don't understand why? And I'm trying to find the reason, but no way to get it. Any andro...
java|android
2
2016-04-18T16:19:22.123Z
2,016
4
16
0
78
1
361
48
2
1
true
false
false
false
false
false
low
36,699,330
How come a static variable is kept but Object.toString hashcode is different?
<p>If I press the back button and start the activity again (two times), the hashcode is different, but the static variable assigned is retained. It creates two different objects. How does this work?</p> <pre><code>public class MainActivity extends AppCompatActivity { private static int myStatic = 1; private int my = ...
If I press the back button and start the activity again (two times), the hashcode is different, but the static variable assigned is retained. It creates two different objects. How does this work? [CODE] Output: [CODE]
android
0
2016-04-18T16:19:52.103Z
2,016
4
16
0
67
1
217
77
1
2
true
false
false
false
false
false
zero
36,699,581
GoogleMap with AppCompatActivity class
<p>I am using AppCompatActivity extended class with google Map i have the below code with the class and on create method</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>import android.support.v7.app.AppCompatAc...
I am using AppCompatActivity extended class with google Map i have the below code with the class and on create method [CODE] The code fails with below error [CODE] I have following dependencies declared in build.gradle [CODE]
android|google-maps|appcompatactivity
2
2016-04-18T16:34:22.637Z
2,016
4
16
0
2,011
1
225
38
3
3
true
false
false
false
false
false
low
36,699,676
Volley - NoConnectionError, ProtocolException & exceeded content-length limit
<p>I'm trying to upload an image to my server using Volley but I keep getting the error:</p> <pre><code>com.android.volley.NoConnectionError: java.net.ProtocolException: exceeded content-length limit of n bytes </code></pre> <p>Where n is the length of the imageData.</p> <p>Connection is present so the NoConnectionE...
I'm trying to upload an image to my server using Volley but I keep getting the error: [CODE] Where n is the length of the imageData. Connection is present so the NoConnectionError part of things is odd. Below is all the relevant code: [CODE] } BaseRequest extends from Request and contains some common info & helpers use...
android|android-volley|android-image|android-networking
1
2016-04-18T16:41:02.327Z
2,016
4
16
0
773
0
429
77
4
3
true
true
false
false
false
false
low
36,699,712
Prevent data duplication in the SQLite Database
<p>I'm developing an android app that uses SQLite as the local database. The app syncs data obtained from a web api and stores it in the local database. All the model classes have their ID property set as Primary key and Auto incremented so I can manually enter data without having to specify the ID. The issue is when I...
I'm developing an android app that uses SQLite as the local database. The app syncs data obtained from a web api and stores it in the local database. All the model classes have their ID property set as Primary key and Auto incremented so I can manually enter data without having to specify the ID. The issue is when I in...
android|mysql|database|sqlite
0
2016-04-18T16:42:50.637Z
2,016
4
16
0
296
1
986
47
4
2
true
false
false
false
false
false
zero
36,699,916
Update Dataset inside Fragment/Activity or directly in the adapter
<p>I noticed two patterns for handling a List Adapter's <code>notifyDatasetChanged()</code>. I was wondering what differentiates the two and if one is better than the other.</p> <p><strong>First</strong></p> <p>Holding a local variable inside the Activity/Fragment for the dataset.</p> <pre><code>private List&lt;Movi...
I noticed two patterns for handling a List Adapter's notifyDatasetChanged() . I was wondering what differentiates the two and if one is better than the other. First Holding a local variable inside the Activity/Fragment for the dataset. [CODE] And then when the local variable changes, call this in the Activity/Fragment:...
android|android-fragments|adapter|listadapter
0
2016-04-18T16:54:21.760Z
2,016
4
16
0
565
1
542
66
4
5
true
false
false
false
false
false
zero
36,700,088
Receiver class doesn't recognize ACTION_BATTERY_CHANGED
<p>I want to play a sound as a notification when battery charge is full.</p> <p>in my receiver class I wrote 2 more notifications for "power connected" and "power disconnected" and they works ok!</p> <p>but my receiver doesn't recognize the ACTION_BATTERY_CHANGED. I've searched a lot and I found out that I must regis...
I want to play a sound as a notification when battery charge is full. in my receiver class I wrote 2 more notifications for "power connected" and "power disconnected" and they works ok! but my receiver doesn't recognize the ACTION_BATTERY_CHANGED. I've searched a lot and I found out that I must register it programmatic...
android|broadcastreceiver|battery
0
2016-04-18T17:03:01.587Z
2,016
4
17
0
708
1
773
55
3
1
true
false
false
false
false
false
zero
36,700,089
Get ID's of buttons in Android fragment
<p>What I am trying to do is get every ID of every button in an android fragment. Currently I have a for loop that runs through the ID that are "PA1", "PA2", "PA3" .... I want to be able to use any ID but still modify it with java code.</p> <p>This is what I have now</p> <pre><code>TextView tv; View viewHold; Button...
What I am trying to do is get every ID of every button in an android fragment. Currently I have a for loop that runs through the ID that are "PA1", "PA2", "PA3" .... I want to be able to use any ID but still modify it with java code. This is what I have now [CODE] This does work but I dont want to have to use a generic...
android|android-fragments|android-studio
0
2016-04-18T17:03:03.360Z
2,016
4
17
0
1,051
1
347
39
3
1
true
false
false
false
false
false
zero
36,700,131
Simple app with android
<p>I use the following php.</p> <pre><code>&lt;?php $status = "0"; $message = "Success"; $result = ['status' =&gt; $status, 'message' =&gt; $message]; die(json_encode($result)); ?&gt; </code></pre> <p>I have checked with REST client. It returns data. </p> <p>I have created the simple log in in Android which contain...
I use the following php. [CODE] I have checked with REST client. It returns data. I have created the simple log in in Android which contains two text fields and one button . I have configured in the xml for the button click. I am using android volley. [CODE] I debugged the code and got timeout error. I have added retry...
android
0
2016-04-18T17:05:14.703Z
2,016
4
17
0
43
1
369
23
1
2
true
false
false
false
false
false
zero
36,700,213
DuplicateFileException error while building Android APK
<p>I am using Android Studio 2.0 on Windows 7. When building my Android project, I get the following error:</p> <pre><code>:app:transformResourcesWithMergeJavaResForDebug FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. &g...
I am using Android Studio 2.0 on Windows 7. When building my Android project, I get the following error: [CODE] I have been digging around for hours and can't see anything that causes this. I've deleted .gradle in my home directory, but it just rebuilds it all the same. Does anyone know what causes this? Full gradle ou...
android|android-studio-2.0
8
2016-04-18T17:09:28.357Z
2,016
4
17
0
8,514
3
660
55
2
4
true
false
true
false
false
false
medium
36,700,320
Android/Java: Find the right folder & read .txt file
<p>I know that there are already a bunch of questions about this on StackExchange but I've already tried a couple of suggestions and I can't seem to find the right solution for me.</p> <p>What I want to do: I copied the file test.txt into the folder "test" (normal External Storage, no additional SD card) on my phone u...
I know that there are already a bunch of questions about this on StackExchange but I've already tried a couple of suggestions and I can't seem to find the right solution for me. What I want to do: I copied the file test.txt into the folder "test" (normal External Storage, no additional SD card) on my phone using my PC ...
java|android|file|text
0
2016-04-18T17:15:12.753Z
2,016
4
17
0
128
0
882
52
4
2
true
true
false
false
false
false
zero