id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
37,162,738
FragmentTransaction.replace not working
<p><a href="https://i.stack.imgur.com/hyvfp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hyvfp.png" alt="enter image description here"></a>I tried to open a new fragment by click an ImageView which is inside the recyclerview ... but no output </p> <p>the recyclerview screen remains as it is and t...
I tried to open a new fragment by click an ImageView which is inside the recyclerview ... but no output the recyclerview screen remains as it is and the fragment i want to show is not showing here is my adapter class containing fragmentTransaction [CODE] and the fragment which i want to open by onclicklistner [CODE] he...
android|fragmenttransaction
1
2016-05-11T12:29:09.010Z
2,016
5
12
2
1,058
1
371
39
2
3
true
false
false
false
false
false
low
37,162,744
Xamarin CrossGeofence Transitions
<p>I downloaded and installed the CrossGeofence plugin for xamarin here: <a href="https://github.com/domaven/xamarin-plugins/tree/master/Geofence" rel="nofollow">https://github.com/domaven/xamarin-plugins/tree/master/Geofence</a></p> <p>Used the sample found here as a guideline: <a href="https://github.com/domaven/xa...
I downloaded and installed the CrossGeofence plugin for xamarin here: https://github.com/domaven/xamarin-plugins/tree/master/Geofence Used the sample found here as a guideline: https://github.com/domaven/xamarin-plugins/tree/master/Samples/Geofence And I've been testing it out on my physical phone, the LGE LG-D852 (And...
c#|xamarin|xamarin.android
0
2016-05-11T12:29:28.040Z
2,016
5
12
2
1,104
2
711
33
3
2
true
false
false
false
false
false
zero
37,162,794
Statusbarcolor not working properly
<p>statusbarcolor is only working on those activity who have navigation drawer. rest of the activities have white statusbar color. </p> <p>please any one suggest what should i do for it?<a href="http://i.stack.imgur.com/kowmR.png" rel="nofollow">see image 1st:</a> and <a href="http://i.stack.imgur.com/lBDda.png" rel="...
statusbarcolor is only working on those activity who have navigation drawer. rest of the activities have white statusbar color. please any one suggest what should i do for it? see image 1st: and this is the second image in which status barcolor not working. [CODE] and it take colorPrimaryDark in statusbar color by defa...
android|xml|ui-design
-1
2016-05-11T12:31:00.417Z
2,016
5
12
2
844
2
453
35
3
2
true
false
false
false
false
true
negative
37,162,860
How to Fix the Height of the Cropping Highlighted View, instead of changing using uploaded Image?
<p>I am using the following sample code, <a href="https://github.com/mklimek/android-crop/tree/newfeature_fied_size_crop" rel="nofollow noreferrer">https://github.com/mklimek/android-crop/tree/newfeature_fied_size_crop</a>. It is giving the fixed size cropping view(i.e., HighlightView). But the problem is this highlig...
I am using the following sample code, https://github.com/mklimek/android-crop/tree/newfeature_fied_size_crop . It is giving the fixed size cropping view(i.e., HighlightView). But the problem is this highlightView is fixed depends on Uploaded image. Below are the screen shots with two different size uploaded images. I u...
android|image|crop|resize-crop
0
2016-05-11T12:34:13.300Z
2,016
5
12
2
1,000
1
956
97
4
1
true
false
false
false
false
false
zero
37,162,916
isVideoOffered() not working in sinch Android/IOS
<p>I have IOS and Android app using sinch video and Audio (App to App ) calling integrated. isVideoOffered() Bool always gives video irrespective of incoming call.I want to receive audio screen when audio call is called from another app(Android/IOS) and video if video call is initiated from another app(Android/IOS).</p...
I have IOS and Android app using sinch video and Audio (App to App ) calling integrated. isVideoOffered() Bool always gives video irrespective of incoming call.I want to receive audio screen when audio call is called from another app(Android/IOS) and video if video call is initiated from another app(Android/IOS). Code ...
android|ios|objective-c|sinch
0
2016-05-11T12:36:41.770Z
2,016
5
12
2
464
2
452
49
4
2
true
false
false
false
false
false
zero
37,162,919
How to make button stay on the bottom when soft keyboard goes up
<p>I have a button at the bottom of the screen and I want it to stay down even if soft keyboard goes up, but currently it goes up with soft keyboard. I tried to align the button to bottom but with no success.</p> <p>Here is the code (buttons are within id/activity_form_button_frame):</p> <pre><code>&lt;RelativeLayout...
I have a button at the bottom of the screen and I want it to stay down even if soft keyboard goes up, but currently it goes up with soft keyboard. I tried to align the button to bottom but with no success. Here is the code (buttons are within id/activity_form_button_frame): [CODE]
android|android-layout
13
2016-05-11T12:36:49.987Z
2,016
5
12
2
7,805
10
281
64
2
1
true
false
true
false
true
false
medium
37,162,993
Using google-services.json file in NaticeScript 2
<p>I am developing an app in <strong>NativeScript 2.0</strong> that authenticates an user by <a href="https://developers.google.com/identity/sign-in/android/sign-in?configured=true" rel="nofollow noreferrer">Google's Sign-In</a>.</p> <p>I also have a backend that checks the logged in user. For this <strong>I need an a...
I am developing an app in NativeScript 2.0 that authenticates an user by Google's Sign-In . I also have a backend that checks the logged in user. For this I need an access token to access email and some profile data like display name and photo (via https://www.googleapis.com/oauth2/v1/userinfo?alt=json&access_token=<AC...
android|google-signin|google-oauth|nativescript
3
2016-05-11T12:39:23.103Z
2,016
5
12
2
149
0
866
49
4
2
true
true
false
false
false
false
low
37,163,003
Selecting off screen item in a spinner using Espresso
<p>I have a <code>Spinner</code> with 20 items. The below code works if the <code>item</code> is displayed on the screen when user click on the spinner.</p> <pre><code>onData(allOf(is(instanceOf(SpinnerItem.class)), is(item))).perform(click()); </code></pre> <p>For <code>item</code> that are requiring scrolling, the ...
I have a Spinner with 20 items. The below code works if the item is displayed on the screen when user click on the spinner. [CODE] For item that are requiring scrolling, the test will hit the below exception: [CODE] you can clearly see that the y-position is at -243 and therefore it couldn't perform the clicking. I tri...
android|android-espresso
1
2016-05-11T12:39:35.003Z
2,016
5
12
2
923
1
451
53
2
2
true
false
false
false
false
false
low
37,163,030
android: expand/collapse a recyclerview item
<p>I have a <code>recyclerview</code> list. Each item in the <code>recyclerview</code> contains the following layout. Later when one clicks on the sample1 id, then <code>sample3.xml</code> should get inserted inbetween sample1 and sample2. For that I have created a linearlayout with id insertat in this layout.</p> <pr...
I have a recyclerview list. Each item in the recyclerview contains the following layout. Later when one clicks on the sample1 id, then sample3.xml should get inserted inbetween sample1 and sample2. For that I have created a linearlayout with id insertat in this layout. [CODE] onclicking id sample1 I want to insert a la...
android|android-layout|android-recyclerview
0
2016-05-11T12:40:59.550Z
2,016
5
12
2
229
2
452
44
3
2
true
false
false
false
false
false
zero
37,163,033
How I can change state of widget switch from check to uncheck?
<p>I want to recieve data from thingspeak and change automatically state of switch from checked to unchecked or vice versa.<br> This is my code, but it doesn't work, just can set text but can't change state.<br> Please help me!</p> <pre><code> @Override protected void onCreate(Bundle savedInstanceState) { ...
I want to recieve data from thingspeak and change automatically state of switch from checked to unchecked or vice versa. This is my code, but it doesn't work, just can set text but can't change state. Please help me! [CODE]
android
0
2016-05-11T12:41:04.197Z
2,016
5
12
2
79
2
223
62
1
1
true
false
false
false
false
false
zero
37,163,083
How can I set timer in LIBGDX
<p>I want to change my balloon's location (randomly) in every second. I wrote this code: </p> <pre><code>public void render() { int initialDelay = 1000; // start after 1 seconds int period = 1000; // repeat every 1 seconds Timer timer = new Timer(); TimerTask task = new TimerTask() { pu...
I want to change my balloon's location (randomly) in every second. I wrote this code: [CODE] initialDelay is working. Balloon's location is changing after 1 second when I run program. But period is not working. Where is the problem?
android|timer|libgdx
1
2016-05-11T12:43:33.560Z
2,016
5
12
2
4,521
1
232
29
3
1
true
false
true
false
false
false
low
37,163,107
Navigate to the​ JW Player SDK for Android .aar file Crashing the app #9
<p><a href="https://github.com/jwplayer/jwplayer-sdk-android-demo/issues/9" rel="nofollow">https://github.com/jwplayer/jwplayer-sdk-android-demo/issues/9</a></p> <p>I tried this above github source code for JWPlayer android native app. But without JWPlayerSDK, its not working it seems. I tried to contact JWplayer[ <a...
https://github.com/jwplayer/jwplayer-sdk-android-demo/issues/9 I tried this above github source code for JWPlayer android native app. But without JWPlayerSDK, its not working it seems. I tried to contact JWplayer[ https://www.jwplayer.com/products/mobile-sdk/ ] sales team. I didnt get response properly. Can any one hel...
android|sdk|native|jwplayer
0
2016-05-11T12:45:15.177Z
2,016
5
12
2
356
1
434
72
4
1
true
false
false
false
false
false
zero
37,163,124
Problems uploading file to Amazon S3 using Retrofit2 on Android
<p>I am trying to upload a file (taken by my device's camera) to Amazon S3. Unfortunately, the request fails with an InvalidArgument exception:</p> <pre><code>&lt;Code&gt;InvalidArgument&lt;/Code&gt;&lt;Message&gt;&lt;/Message&gt;&lt;ArgumentName&gt;x-amz-acl&lt;/ArgumentName&gt; </code></pre> <p>The request should t...
I am trying to upload a file (taken by my device's camera) to Amazon S3. Unfortunately, the request fails with an InvalidArgument exception: [CODE] The request should take the form of: [CODE] I have the Retrofit logger enabled, however unfortunately it does not output the request body. I do not set x-amz-acl in my head...
java|android|amazon-s3|retrofit2
0
2016-05-11T12:45:58.860Z
2,016
5
12
2
412
1
449
63
4
4
true
false
false
false
false
false
zero
37,163,166
Android OpenGL Render to a frameBuffer in the original (small) resolution and then scale it (viewPort) to the screen size
<p>I have a NV21 (YUV420) camera video which I'm applying on it a fragment shader in order to get some filter effects and YUV to RGB convertion as well. Everything is working except the bad performance. My fragment shader is a bit heavy because it has many <code>textur2D()</code> calls.</p> <p>The original frame resol...
I have a NV21 (YUV420) camera video which I'm applying on it a fragment shader in order to get some filter effects and YUV to RGB convertion as well. Everything is working except the bad performance. My fragment shader is a bit heavy because it has many textur2D() calls. The original frame resolution is 480x640 pixels,...
android|opengl-es|glsl|fragment-shader
5
2016-05-11T12:47:45.767Z
2,016
5
12
2
3,369
2
1,376
121
4
1
true
false
true
false
false
false
low
37,163,227
Android Chrome shares only screenshot
<p>I want to share the current url via Chrome on Android to my app. I have registered a share-intent and the share-filter. So far i get a shared screenshot, but not the url. What am i doing wrong?</p> <p>manifest-file</p> <pre><code>&lt;activity android:name=".activity.share.ShareActivity" android:lab...
I want to share the current url via Chrome on Android to my app. I have registered a share-intent and the share-filter. So far i get a shared screenshot, but not the url. What am i doing wrong? manifest-file [CODE] This is the code-snippet used in a method in the ShareActivity class [CODE] There is no url or uri, i wou...
android|google-chrome|share
0
2016-05-11T12:50:34.640Z
2,016
5
12
2
25,573
1
356
37
3
2
true
false
true
true
false
false
zero
37,163,230
I have to wait some seconds before TextToSpeech speak
<p>I have a problem with my TextToSpeech. In fact when I call my function "Son"(see below) (when I click for example) then I have to wait 4 seconds for the first click to hear the voice speaks but after the first click, it's instantaneous to hear the voice. </p> <p>But sometimes it works perfectly from the first click...
I have a problem with my TextToSpeech. In fact when I call my function "Son"(see below) (when I click for example) then I have to wait 4 seconds for the first click to hear the voice speaks but after the first click, it's instantaneous to hear the voice. But sometimes it works perfectly from the first click. In the And...
android|text|time|voice|speech
1
2016-05-11T12:50:37.080Z
2,016
5
12
2
959
1
574
53
5
2
true
false
false
false
false
false
low
37,163,247
How should I pass data (e.g. which item was clicked) between Activities in MVP?
<p>I have list of items shown with MVP pattern. View is an Activity (a.k.a. <code>ItemsList</code>). I want to show next Activity (also MVP'ed, a.k.a. <code>ItemDetails</code>) with details of item clicked in <code>ItemsList</code>.</p> <p>Model for <code>ItemsList</code> is fed with data from Repository. So actually ...
I have list of items shown with MVP pattern. View is an Activity (a.k.a. ItemsList ). I want to show next Activity (also MVP'ed, a.k.a. ItemDetails ) with details of item clicked in ItemsList . Model for ItemsList is fed with data from Repository. So actually it's RMVP. It looks like this: [CODE] So Model for ItemsList...
android|android-activity|mvp
9
2016-05-11T12:51:09.073Z
2,016
5
12
2
3,737
5
1,696
79
3
1
true
false
true
false
false
false
medium
37,163,258
What the purpose of setGroup() in Notification.Builder?
<p>I have a some troubles with understanding of goal of <a href="http://developer.android.com/reference/android/app/Notification.Builder.html#setGroup(java.lang.String)" rel="nofollow noreferrer"><code>setGroup()</code></a> method.</p> <p>As docs said :</p> <blockquote> <p>...Grouped notifications may display in a clus...
I have a some troubles with understanding of goal of setGroup() method. As docs said : ...Grouped notifications may display in a cluster or stack on devices which support such rendering.... Here it is the first question : What it is this rendering? What's so special about it?! I create a method which show a custom text...
android|android-notifications
6
2016-05-11T12:51:32.523Z
2,016
5
12
2
9,562
2
541
55
2
2
true
false
true
false
false
false
medium
37,163,303
POST request to REST API on Android not getting parameters
<p>I'm building a webapp with an associated REST API in the backend.</p> <p>The API made with django-rest-framework is working, I can do the following from the command line: </p> <pre><code>$ http http://localhost:8000/API/api-token-auth/ username=ortho1 password=123456 HTTP/1.0 200 OK Allow: POST, OPTIONS Content-T...
I'm building a webapp with an associated REST API in the backend. The API made with django-rest-framework is working, I can do the following from the command line: [CODE] But from my Android App I try to do the following: [CODE] I get in the console as response from the server: [CODE] as result. What could I be doing w...
android|django|rest|post|django-rest-framework
2
2016-05-11T12:53:25.593Z
2,016
5
12
2
1,571
3
325
58
5
3
true
false
false
false
false
false
low
37,163,333
Android BLE KK version , Read characteristic status = 133 is coming ,in android M it is working fine
<p>I am developing app for BLE device for android , in both KK,and >KK versions.</p> <p>I am reading 12 characteristic one by one after service discover callback, same code is working in android M version , but in KK it is not working after 7th characteristic is throwing status =133</p> <p>Can anyone suggest how to...
I am developing app for BLE device for android , in both KK,and >KK versions. I am reading 12 characteristic one by one after service discover callback, same code is working in android M version , but in KK it is not working after 7th characteristic is throwing status =133 Can anyone suggest how to resolve this issue. ...
android|bluetooth-lowenergy
0
2016-05-11T12:54:38.630Z
2,016
5
12
2
232
0
705
100
2
2
true
true
false
false
false
false
zero
37,163,425
Can't retrieve state of radio button
<p>I wan retrieve radio buttons, created in XML. It's OK. But when, I check if this radio button is checked, Android Studio tell me than the radio button retrieve is empty.</p> <p>XML :</p> <pre><code>&lt;RadioGroup android:layout_width="148dp" android:layout_height="wrap_content" android:layout_gravity="...
I wan retrieve radio buttons, created in XML. It's OK. But when, I check if this radio button is checked, Android Studio tell me than the radio button retrieve is empty. XML : [CODE] JAVA : [CODE] I use this code for check if it's this radiobutton which is checked : [CODE]
java|android|radio-button
0
2016-05-11T12:58:00.003Z
2,016
5
12
2
69
2
273
36
3
3
true
false
false
false
false
false
zero
37,163,511
CoordinatorLayout + CollapsingToolbarLayout scrolling underneath the status bar
<p>I have an odd problem with my layouts. I have a <code>CoordinatorLayout</code> with a <code>CollapsingToolBarLayout</code> in it. I have a transparent status bar to better display the image in the top. Thus I have <code>fitsSystemWindow</code> set on this <code>ImageView</code>. The problem I now have is that wh...
I have an odd problem with my layouts. I have a CoordinatorLayout with a CollapsingToolBarLayout in it. I have a transparent status bar to better display the image in the top. Thus I have fitsSystemWindow set on this ImageView . The problem I now have is that when the Toolbar is fully collapsed, the top part of the too...
android|android-layout|android-coordinatorlayout|android-collapsingtoolbarlayout|android-appbarlayout
1
2016-05-11T13:01:27.443Z
2,016
5
13
2
2,167
1
532
79
5
2
true
false
false
false
false
false
low
37,163,512
android:animateLayoutChanges="true" not working with toolbar
<p>I'm trying to set visibility of some elements and I'm using the android:animateLayoutChanges="true" to animate this changes, the animation of the Floating Action Button happens ok, but not works with the menu items, they just blink. Here it is my xml and code:</p> <pre><code> &lt;?xml version="1.0" encoding="ut...
I'm trying to set visibility of some elements and I'm using the android:animateLayoutChanges="true" to animate this changes, the animation of the Floating Action Button happens ok, but not works with the menu items, they just blink. Here it is my xml and code: [CODE] And I use this method to set the visibility of some ...
android|android-layout|android-toolbar
0
2016-05-11T13:01:29.027Z
2,016
5
13
2
607
0
459
60
3
2
true
true
false
false
false
false
zero
37,163,579
Null Pointer Exception on Navigation Header Initialized Variables
<p>Why am i getting Null Pointer Exceptions on my NavigationView header initialized variables while setting the values from shared preferences?</p> <p>Here is my code</p> <pre><code> private void setNavigationHeader() { View navHeader = mNavigationView.getHeaderView(0); TextView mProfileName = (TextView) nav...
Why am i getting Null Pointer Exceptions on my NavigationView header initialized variables while setting the values from shared preferences? Here is my code [CODE] Log error [CODE]
android|nullpointerexception|navigation-drawer|navigationview|android-navigationview
1
2016-05-11T13:04:17.853Z
2,016
5
13
2
1,335
2
180
65
5
2
true
false
false
false
false
false
low
37,163,592
Retrofit 2.0 deserialising complex data structure
<p>I receive JSON response in the form of the following:</p> <pre><code>{ "result" : { "status" : 0, "resultItems" : { "MultiItemDetails" : { "min" : 3, ... "items" : [{ "SingleItem" : { "active"...
I receive JSON response in the form of the following: [CODE] What would be the best way to create and organize my POJOs? Thanks!
android|json|retrofit2
1
2016-05-11T13:05:01.200Z
2,016
5
13
2
440
3
128
49
3
1
true
false
false
false
false
false
low
37,163,600
GridView Pops out NullPointerException
<p><a href="http://i.stack.imgur.com/7eejl.png" rel="nofollow">The rows are coming in reverse order. It should be Monday then Tuesday then Wednesday</a>I have a gridview which dynamically fetches data of current week(i.e monday to today). I am facing two issues. 1) My gridView elements are not arranged properly. 2) Gr...
The rows are coming in reverse order. It should be Monday then Tuesday then Wednesday I have a gridview which dynamically fetches data of current week(i.e monday to today). I am facing two issues. 1) My gridView elements are not arranged properly. 2) GridView shows data of that day also whose data does not exists. It s...
android|gridview|nullpointerexception
0
2016-05-11T13:05:13.053Z
2,016
5
13
2
33
0
618
38
3
3
true
true
false
false
false
false
zero
37,163,653
How to check if plugin and android SDK are the same version?
<p>I have made an Android app via the Cordova CLI. These are the steps I have taken : </p> <ul> <li>cordova create myApp com.myCompany.myApp myApp</li> <li>cd myApp</li> <li>cordova plugin add cordova-plugin-camera --save</li> <li>cordova platform add android --save</li> <li>cordova requirements android </li> <li>c...
I have made an Android app via the Cordova CLI. These are the steps I have taken : cordova create myApp com.myCompany.myApp myApp cd myApp cordova plugin add cordova-plugin-camera --save cordova platform add android --save cordova requirements android cordova build android --verbose cordova run android Thanks to : http...
android|cordova|cordova-plugins|phonegap-build
0
2016-05-11T13:07:25.847Z
2,016
5
13
2
366
0
1,591
60
4
0
false
true
false
false
false
false
zero
37,163,694
How do I exchange my view in Android on-the-fly?
<p>My main layout consists of three views. I will label the View where I don't know how to implement it MysteriousView:</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"&gt; &lt;TextView android:id="@+id/TextView1" ...
My main layout consists of three views. I will label the View where I don't know how to implement it MysteriousView: [CODE] Then I have three big table views that are defined in their own .xml files. Sometimes I want to display TableView1 in MysteriousView and sometimes I want to display TableView2 in MysteriousView . ...
android|android-layout
0
2016-05-11T13:09:18.590Z
2,016
5
13
2
73
1
689
48
2
1
true
false
false
false
false
false
zero
37,163,727
Custom Layout RadioButton Android
<p>I have a problem with a customization of RadioButton Widget in Android. I need a RadioButton with an icon and a single line text under the icon. Aspect like at bottom bar in iOS, with icon and text checked in different color. I have created a Custom class the extends RadioButton and inflate my layout.</p> <p>The w...
I have a problem with a customization of RadioButton Widget in Android. I need a RadioButton with an icon and a single line text under the icon. Aspect like at bottom bar in iOS, with icon and text checked in different color. I have created a Custom class the extends RadioButton and inflate my layout. The widget work f...
android|radio-button|custom-controls
2
2016-05-11T13:10:45.143Z
2,016
5
13
2
2,755
1
466
33
3
2
true
false
true
false
false
false
low
37,163,760
Android RecyclerView is showing persistent list item and is displayed on screen
<p>I am new to recylerView but have implemented one for a Uni project. The recylcer view works ok, It has a list with an imageView and a texView in each row. I use the same method to dynamically add an item to the list.</p> <p>When I add the second item to the adapter.list the view seems to create a new list and then ...
I am new to recylerView but have implemented one for a Uni project. The recylcer view works ok, It has a list with an imageView and a texView in each row. I use the same method to dynamically add an item to the list. When I add the second item to the adapter.list the view seems to create a new list and then displays th...
android|list|android-recyclerview
0
2016-05-11T13:12:23.793Z
2,016
5
13
2
2,010
2
965
79
3
4
true
false
false
false
false
false
zero
37,163,821
Google protobuf crashes in Android while parsing the string data
<p>The protobuf version is 3.0.0. In some device (say Android 6), this issue happens always; While in some devices (say Android 5.x), this issue happens when the app is put into the background mode.</p> <p>I am calling following method:</p> <pre><code>bool ParseFromString(const string&amp; data); </code></pre> <p>Wh...
The protobuf version is 3.0.0. In some device (say Android 6), this issue happens always; While in some devices (say Android 5.x), this issue happens when the app is put into the background mode. I am calling following method: [CODE] Which probably internally calls bool ParseFromArray(const void* data, int size) . Stac...
android|c++|crash|protocol-buffers
1
2016-05-11T13:14:56.993Z
2,016
5
13
2
1,424
1
957
64
4
2
true
false
false
false
false
false
low
37,163,864
Rename interface property in Metadata
<p>In Xamarin.Android Bindings, I have an interface wrapped from Java as follows:</p> <pre class="lang-csharp prettyprint-override"><code>// Metadata.xml XPath interface reference: path="/api/package[@name='com.buyandlarge.core.framework']/interface[@name='IView']" [Register ("com/buyandlarge/core/framework/IView", ""...
In Xamarin.Android Bindings, I have an interface wrapped from Java as follows: [CODE] Various classes which inherit global::Android.Views.View implement this interface. For some bizarre reason, Xamarin's implementation of Android.Views.View has the property defined as public virtual ViewGroup.LayoutParams LayoutParamet...
xamarin|xamarin.android
0
2016-05-11T13:17:02.940Z
2,016
5
13
2
511
1
599
37
2
2
true
false
false
false
false
false
zero
37,164,140
String variables becomes null outside setOnClickListener() function
<p>I have a simple android app in which I want to get the user input (String). So I have an "EditText" box and an "Enter" button. When the user types something and hits Enter, I am trying to display that text and it works as long as I do all that inside the 'setOnClickListener()' function. The string variables becomes ...
I have a simple android app in which I want to get the user input (String). So I have an "EditText" box and an "Enter" button. When the user types something and hits Enter, I am trying to display that text and it works as long as I do all that inside the 'setOnClickListener()' function. The string variables becomes nul...
android|string|android-studio
1
2016-05-11T13:27:22.607Z
2,016
5
13
2
1,308
5
595
67
3
1
true
false
false
false
false
false
low
37,164,169
shouldOverrideUrlLoading randomly called
<p><strong>PROBLEM</strong></p> <p>My <code>shouldOverrideUrlLoading()</code> gets called only in first instance of <code>WebFragment</code> that holds my <code>WebView</code>. But when I go to another instance of <code>WebFragment</code> it does not get called. However it does get called when I click on links.</p> <...
PROBLEM My shouldOverrideUrlLoading() gets called only in first instance of WebFragment that holds my WebView . But when I go to another instance of WebFragment it does not get called. However it does get called when I click on links. Steps to trigger this error: WebFragment -replace-> SearchFragment -replace with new ...
android|webview
1
2016-05-11T13:28:18.533Z
2,016
5
13
2
97
0
404
40
2
1
true
true
false
false
false
false
low
37,164,170
Where did my 10dp height button goes?
<p>I have coded as below for 3 devices (images below), and log the Density/Resolution/OS (so that you know which device is which). I have 5 buttons and 5 images, each with height from 10dp to 50dp.</p> <p>You'll notice the images appears on all devices. All the buttons appear on on XXXHDPI device (which is a Samsung ...
I have coded as below for 3 devices (images below), and log the Density/Resolution/OS (so that you know which device is which). I have 5 buttons and 5 images, each with height from 10dp to 50dp. You'll notice the images appears on all devices. All the buttons appear on on XXXHDPI device (which is a Samsung S7 device), ...
android|android-layout|android-button
1
2016-05-11T13:28:20.633Z
2,016
5
13
2
111
2
521
37
3
1
true
false
false
false
false
false
low
37,164,240
Chat works only one-way with Smack 4.1.7 Android
<p>I am working on Android Chat app based on <strong>Smack 4.1.7</strong>. I have created my XMPP related operations on Saperate class said MyXMPP.java. and in my app's Application class i am initializing MyXMPP class objects.</p> <p>my problem is, suppose we have user 1 and user 2. if user 1 sends message to user 2 t...
I am working on Android Chat app based on Smack 4.1.7 . I have created my XMPP related operations on Saperate class said MyXMPP.java. and in my app's Application class i am initializing MyXMPP class objects. my problem is, suppose we have user 1 and user 2. if user 1 sends message to user 2 then user 2 can get message ...
android|xmpp|chat|openfire|smack
1
2016-05-11T13:31:16.503Z
2,016
5
13
2
491
0
632
48
5
3
true
true
false
false
false
false
low
37,164,251
stop repeat insertion of json parsed data in sqlite database using shared preferences
<p>Stop repeat insertion of json parsed data in sqlite database using shared preferences. CatagoryActivity.java:- here i parsed json data and call method to add it in sqlite database.</p> <pre><code>public void get_data(String data) { try { JSONArray data_array = new JSONArray(data); ...
Stop repeat insertion of json parsed data in sqlite database using shared preferences. CatagoryActivity.java:- here i parsed json data and call method to add it in sqlite database. [CODE] DatabaseHelper :- in this file code to insert parsed data in sqlite database [CODE]
android|json|sqlite
0
2016-05-11T13:31:59.713Z
2,016
5
13
2
181
2
271
85
3
2
true
false
false
false
false
false
zero
37,164,305
Android - VideoView Cannot Play This Video
<p>When I try to play a video in my Android application, I receive the message "Can't play this video". My activity with the VideoView:</p> <pre><code>package midamcorp.com.burgerkingapp; import android.content.Intent; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; ...
When I try to play a video in my Android application, I receive the message "Can't play this video". My activity with the VideoView: [CODE] Some of the output [CODE] Whenever I navigate to the video path in my browser, it downloads rather than plays, but I had thought this might be related to the browser settings. Coul...
android|video|media
0
2016-05-11T13:34:15.453Z
2,016
5
13
2
648
2
382
42
3
2
true
false
false
false
false
false
zero
37,164,363
Array list display in Text view
<p>I want to display array list from api response in a textview I tried using for loop, but it showing one time only,I need entire list at a time. When I tried using listview but it has scrolling action,I don't need scrolling action.I want to display array list at a time .Please help me..</p> <p>this is my code using ...
I want to display array list from api response in a textview I tried using for loop, but it showing one time only,I need entire list at a time. When I tried using listview but it has scrolling action,I don't need scrolling action.I want to display array list at a time .Please help me.. this is my code using listview : ...
android|arraylist|textview
0
2016-05-11T13:36:32.973Z
2,016
5
13
2
69
3
326
31
3
1
true
false
false
false
false
false
zero
37,164,407
Error when Display Images on Dialog
<p><strong>SOLVED</strong></p> <p>im try to display images on dialog box. when im click item from listview so dialog will show with details items from when im click. but when im try display images i got error and here the log says :</p> <p>com.felix.tirtagympool.AbdominalFragment.onItemClick(AbdominalFragment.java:16...
SOLVED im try to display images on dialog box. when im click item from listview so dialog will show with details items from when im click. but when im try display images i got error and here the log says : com.felix.tirtagympool.AbdominalFragment.onItemClick(AbdominalFragment.java:164 = thumbnail.setImageUrl(exerciseLi...
android|dialog|imageview|android-volley|networkimageview
0
2016-05-11T13:37:59.250Z
2,016
5
13
2
40
1
425
35
5
2
true
false
false
false
false
false
zero
37,164,409
Android studio gradle build compile error
<p>I am really newbie on Android and I am facing some problems in Android Studio but I could not find any solution on the net. If you help I will be appreciated. Can I find which lines create errors below?</p> <p>Thanks</p> <p>Gradle Build:</p> <pre><code>Error:(7, 11) error: unmappable character for encoding UTF-8 ...
I am really newbie on Android and I am facing some problems in Android Studio but I could not find any solution on the net. If you help I will be appreciated. Can I find which lines create errors below? Thanks Gradle Build: [CODE] Gradle Console: [CODE] Update: build.gradle file in app folder [CODE]
android|android-studio|android-gradle-plugin
1
2016-05-11T13:38:03.310Z
2,016
5
13
2
1,458
1
300
41
3
3
true
false
false
false
false
false
low
37,164,415
Android Fatal Error - Can not perform this action after onSaveInstanceState
<p>I'm attempting to perform a fragment transaction after requesting permissions in Android - however the app continually crashes. How might this code be changed in order to avoid this? </p> <p>Any assistance is appreciated. </p> <p><strong>CHECK PERMISSIONS BEFORE SENDING EMAIL:</strong></p> <pre><code>private void...
I'm attempting to perform a fragment transaction after requesting permissions in Android - however the app continually crashes. How might this code be changed in order to avoid this? Any assistance is appreciated. CHECK PERMISSIONS BEFORE SENDING EMAIL: [CODE] CHECK PERMISSIONS: [CODE] PERMISSION CHECK RESULT: [CODE] I...
android|android-fragments|android-intent|android-permissions|android-savedstate
15
2016-05-11T13:38:19.003Z
2,016
5
13
2
5,613
3
393
75
5
5
true
false
true
false
true
false
medium
37,164,519
Android game loop not smooth
<p>Trying to make very easy game loop, with one ball on screen (using interpolation).</p> <p>Game loop:</p> <pre><code> private double FPS = 50; private double TIME_STEP = 1000000000L/FPS; private double MAX_TIME = 1000000000L/5; Canvas canvas; double frameStart = System.nanoTime(); double cu...
Trying to make very easy game loop, with one ball on screen (using interpolation). Game loop: [CODE] Update method: [CODE] Render method: [CODE] And that's all working not smoothing on my device, why? I'm changed FPS to 25 and to 60, but still not smoothing. Without interpolation game loop looks better but it's wrong w...
java|android|game-engine|interpolation
1
2016-05-11T13:42:44.030Z
2,016
5
13
2
133
0
323
28
4
3
true
true
false
false
false
false
low
37,164,530
Receiving multiple messages after sending in group chat using asmack
<p>after sending a message it is receiving to the group. But at the same time again I'm receiving all the previous messages. Help me out of this. Here is my code:</p> <pre><code>send.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { to = groupname + "@conference.l...
after sending a message it is receiving to the group. But at the same time again I'm receiving all the previous messages. Help me out of this. Here is my code: [CODE] and here is my receiving code: [CODE]
android|xmpp|asmack
1
2016-05-11T13:43:03.940Z
2,016
5
13
2
489
1
204
68
3
2
true
false
false
false
false
false
low
37,164,567
Android Notifications - on Flashlight app
<p>I have a problem with a simple flashlight application. I have integrate a PARTIAL_WAKE_LOCK fuction now the user can press home or power button when the app with led/on running. So for make more intuitive I want to integrate a notifications system on android bar and when the user click on Notification can return to ...
I have a problem with a simple flashlight application. I have integrate a PARTIAL_WAKE_LOCK fuction now the user can press home or power button when the app with led/on running. So for make more intuitive I want to integrate a notifications system on android bar and when the user click on Notification can return to the...
android|notifications|android-camera|resume|flashlight
0
2016-05-11T13:44:51.407Z
2,016
5
13
2
224
0
1,101
41
5
3
true
true
false
false
false
false
zero
37,164,572
Custom TextView with alpha background in CollapsingToolbar
<p>I'd like to create something like this. But i don't know how to make textview with alpha background. I try to put 1 relative layout to CollapsingToolbarLayout. But it doesn't work when I collapse it.</p> <p>Here is my current layout </p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="false"...
I'd like to create something like this. But i don't know how to make textview with alpha background. I try to put 1 relative layout to CollapsingToolbarLayout. But it doesn't work when I collapse it. Here is my current layout [CODE]
android|android-collapsingtoolbarlayout
0
2016-05-11T13:44:58.727Z
2,016
5
13
2
397
0
232
58
2
1
true
true
false
false
false
false
zero
37,164,582
Android ListView with images and text in Fragment
<p>I createad a Navigation Drawer in Android Studio. Inside Fragment of Navigation Drawer I wanted to add a ListView with images and text.But after I running program and clicking on the fragment program crashing with text "Unfortunately, SerialMania has stopped ". What I'm doing wrong?</p> <pre><code>package boiko.tai...
I createad a Navigation Drawer in Android Studio. Inside Fragment of Navigation Drawer I wanted to add a ListView with images and text.But after I running program and clicking on the fragment program crashing with text "Unfortunately, SerialMania has stopped ". What I'm doing wrong? [CODE]
java|android|listview|android-fragments|navigation-drawer
1
2016-05-11T13:45:21.783Z
2,016
5
13
2
8,960
3
290
49
5
1
true
false
true
false
false
false
low
37,164,671
Unzip downloaded file in gradle downloaded from own nexus server
<p>I have downloaded a file from our nexus server by following this post: <a href="https://stackoverflow.com/questions/23023069/gradle-download-and-unzip-file-from-url">gradle - download and unzip file from url</a> in my android project, first specifying the target: </p> <pre><code>compile 'net.myapp.gwt:MyAppGWT:1.0:...
I have downloaded a file from our nexus server by following this post: gradle - download and unzip file from url in my android project, first specifying the target: [CODE] and then I have this unzip task: [CODE] The problem is that the line [CODE] generates the weirdest error. Applying it gives me following error: [COD...
android|gradle
2
2016-05-11T13:48:46.340Z
2,016
5
13
2
802
2
409
64
2
5
true
false
false
false
false
false
low
37,164,677
Android onConfigurationChanged new layout not updated
<p>I need to replace my layout on orientation change and keep my views state and listeners (ex. in portrait mode I change a TextView color from blue to red and when I rotate the device the new layout with the same TextView needs to be red). I have 2 layouts: one in layout/ and one in layout-land/ and I added in Android...
I need to replace my layout on orientation change and keep my views state and listeners (ex. in portrait mode I change a TextView color from blue to red and when I rotate the device the new layout with the same TextView needs to be red). I have 2 layouts: one in layout/ and one in layout-land/ and I added in AndroidMan...
android|android-layout
0
2016-05-11T13:48:50.907Z
2,016
5
13
2
700
1
543
53
2
1
true
false
false
false
false
false
zero
37,164,695
Android Sql Lite download from sql server using webservice
<p>I have a website which display quotes grouped by author. The front end is in asp.net and the database is in sql server 2012.</p> <p>The table is simple with four fields. Id numeric and primary key Author nvarchar Quote nvarchar Insertdate datetime.</p> <p>Now, I want to create a mobile app on both Android and io...
I have a website which display quotes grouped by author. The front end is in asp.net and the database is in sql server 2012. The table is simple with four fields. Id numeric and primary key Author nvarchar Quote nvarchar Insertdate datetime. Now, I want to create a mobile app on both Android and ios platform. First I s...
android|asp.net|sql-server|sqlite|android-webservice
0
2016-05-11T13:49:23.937Z
2,016
5
13
2
93
1
1,093
58
5
0
false
false
false
false
false
false
zero
37,164,716
Is it possible to check if another app has been granted a permission on Android 6.0+?
<p>I want to check if another app has been granted a "dangerous" or "system" level permission.</p> <p>I have tried loading another app's context and calling <a href="http://developer.android.com/reference/android/content/Context.html#checkCallingPermission(java.lang.String)" rel="nofollow"><code>packageContext.checkCa...
I want to check if another app has been granted a "dangerous" or "system" level permission. I have tried loading another app's context and calling packageContext.checkCallingPermission(permission) . However, the documentation says it returns PERMISSION_GRANTED if the calling pid/uid is allowed that permission, or PERMI...
android|android-6.0-marshmallow|android-permissions
4
2016-05-11T13:50:12.453Z
2,016
5
13
2
5,868
1
544
85
3
1
true
false
true
false
false
false
low
37,164,790
How to animate TextureView?
<p>I am trying to fade in a TextureView but for some reason its not animating. It just simply pops in the video, no fade at all and i dont really know why that is because after some research i have found that TextureView can be animated normally.</p> <p>Here is my code, i hope you guys can give me a pointer in the rig...
I am trying to fade in a TextureView but for some reason its not animating. It just simply pops in the video, no fade at all and i dont really know why that is because after some research i have found that TextureView can be animated normally. Here is my code, i hope you guys can give me a pointer in the right directio...
java|android|animation|fade|textureview
1
2016-05-11T13:53:38.607Z
2,016
5
13
2
1,169
1
438
27
5
1
true
false
false
false
false
false
low
37,164,848
Android fragment shared element transition implementation
<p>I have an Android app that provides navigation through online folders (like Google Drive). I have implemented the folder navigation with fragments. The main activity has a toolbar and the remaining space is used for fragments. One fragment represents one folder. Subfolders and files are displayed using a <code>Recyc...
I have an Android app that provides navigation through online folders (like Google Drive). I have implemented the folder navigation with fragments. The main activity has a toolbar and the remaining space is used for fragments. One fragment represents one folder. Subfolders and files are displayed using a RecyclerView a...
android|animation|android-fragments|xamarin|android-transitions
-1
2016-05-11T13:55:38.673Z
2,016
5
13
2
366
1
1,014
57
5
0
false
false
false
false
false
true
negative
37,164,865
onItemClick ListView, different adapters
<p>I have slidingTabLayout, with different Json request. Until now i have managed to get for each page_adapter the different requests based on different queries. What i want to do now, is when i click on the item, it sends me to the article_layout, but the problem is i dont know how to set the onItemClick, to different...
I have slidingTabLayout, with different Json request. Until now i have managed to get for each page_adapter the different requests based on different queries. What i want to do now, is when i click on the item, it sends me to the article_layout, but the problem is i dont know how to set the onItemClick, to different vi...
android|json|listview|onitemclicklistener|onitemclick
0
2016-05-11T13:56:06.207Z
2,016
5
13
2
88
2
610
40
5
1
true
false
false
false
false
false
zero
37,164,886
Android animate hide/visible
<p>I want to animate a <code>&lt;LinearLayout&gt;</code> when it turns visible or when he dissapears(<code>GONE</code>).The LinearLayout turns <code>VISIBLE</code> / <code>GONE</code> when I click the <code>FloatingActionButton</code>. This is the XML: </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;a...
I want to animate a <LinearLayout> when it turns visible or when he dissapears( GONE ).The LinearLayout turns VISIBLE / GONE when I click the FloatingActionButton . This is the XML: [CODE] Here you have prints so you can see what type of animation I want, but basically I want a drag up/down animation when the is shown/...
android|animation|layout
0
2016-05-11T13:56:51.847Z
2,016
5
13
2
705
1
484
28
3
4
true
false
false
false
false
false
zero
37,164,949
app unforunatly stopped on data parsing on intent
<p>I am getting a run time error "RemindMe is unfortunately stopped" on AddReminder activity when I passed a username from logging activity to Menu then attempt to add reminder activity, it unfortunately stops. Also logcat is not showing me anything (its empty).</p> <p>Loging.XML</p> <pre><code>&lt;?xml version="1.0...
I am getting a run time error "RemindMe is unfortunately stopped" on AddReminder activity when I passed a username from logging activity to Menu then attempt to add reminder activity, it unfortunately stops. Also logcat is not showing me anything (its empty). Loging.XML [CODE] Loging.java [CODE] Menu.XML [CODE] Menu.ja...
java|android|xml|android-layout|android-intent
0
2016-05-11T13:59:38.800Z
2,016
5
13
2
38
1
376
49
5
6
true
false
false
false
false
false
zero
37,164,953
Capture failed from Camera
<p>I want to make photo and show it in new activity, but i get toast "Capture failed". Logs looks like in order. You can find this toast at method onActivityResult.</p> <pre><code>public class FragmentScaling extends Fragment implements View.OnClickListener{ Button btnCamera, btnGallery; private static final int PHO...
I want to make photo and show it in new activity, but i get toast "Capture failed". Logs looks like in order. You can find this toast at method onActivityResult. [CODE] I hope very much for your help. Please don't kick me. I'm hardly studying ))) [CODE] Class public class ViewPhoto extends Activity { [CODE] CustomImage...
android|android-fragments|android-camera
1
2016-05-11T13:59:46.547Z
2,016
5
13
2
185
1
395
26
3
4
true
false
false
false
false
false
low
37,165,124
Starting app in background when beaconmanager is bound
<p>I have trouble with showing my app on region entered, I followed the sample <a href="https://altbeacon.github.io/android-beacon-library/samples.html" rel="nofollow">here</a>. It works when I don't <code>bind</code> the BeaconManager to my Activty, but when I do, I get the logs from the Activity not from the Applicat...
I have trouble with showing my app on region entered, I followed the sample here . It works when I don't bind the BeaconManager to my Activty, but when I do, I get the logs from the Activity not from the Application and the app doesn't show up although it's not visible. So the question is, can I use a class extends App...
android|altbeacon|android-ibeacon|beacon
0
2016-05-11T14:06:32.593Z
2,016
5
14
2
398
1
960
54
4
1
true
false
false
false
false
false
zero
37,165,140
Ionic $http giving null response
<p>I am also facing the same issue. Not able to solve the problem. I am using following versions of ionic and cordova. Ionic : 1.7.14 cordova : 6.1.1</p> <p>I have already installed whitelist plugin in my app and added the following lines in the config.xml.</p> <p>Also try to remove android platform. but the issue re...
I am also facing the same issue. Not able to solve the problem. I am using following versions of ionic and cordova. Ionic : 1.7.14 cordova : 6.1.1 I have already installed whitelist plugin in my app and added the following lines in the config.xml. Also try to remove android platform. but the issue remains same. Please ...
android|cordova|ionic-framework|whitelist
0
2016-05-11T14:07:00.680Z
2,016
5
14
2
661
1
393
32
4
2
true
false
false
false
false
false
zero
37,165,245
How to open android gallery after taking picture?
<p>Is there a way to open the device gallery like when clicking on an input of type file and select the picture just taked with the device camera?</p> <p>My problem is that I already have an file input, but now when I click on it I open the camera to take a picture. Is it possible to open the device gallery after taki...
Is there a way to open the device gallery like when clicking on an input of type file and select the picture just taked with the device camera? My problem is that I already have an file input, but now when I click on it I open the camera to take a picture. Is it possible to open the device gallery after taking the pict...
javascript|android|cordova|phonegap-plugins
0
2016-05-11T14:11:20.243Z
2,016
5
14
2
945
2
1,169
49
4
1
true
false
false
false
false
false
zero
37,165,449
How can I use different layouts with my ListView depending on data coming from the on-board SQLite database?
<p>My android app has a simple chat function. The chats are stored in the on-board SQLite database. I am using a ListView with a SimpleCursorAdapter to display the chats. This is what I have:</p> <pre><code>public class Chat extends Fragment { private View rootView; @Override public View onCreateView(Layo...
My android app has a simple chat function. The chats are stored in the on-board SQLite database. I am using a ListView with a SimpleCursorAdapter to display the chats. This is what I have: [CODE] I have a chat model that has a boolean, named localFlag, as one of its fields. If the chat is sent from the device, localFla...
android|listview|simplecursoradapter
0
2016-05-11T14:19:34.723Z
2,016
5
14
2
34
1
725
108
3
4
true
false
false
false
false
false
zero
37,165,482
Android upload SQLite data to server database
<p>Here are my tables from SQLite :</p> <p><strong>Table1 - QUIZ</strong></p> <p>quiz_id</p> <p>quiz_name</p> <p>quiz_dateofcreation</p> <p>quiz_key</p> <p><strong>Table2 - QUESTION</strong></p> <p>question_id</p> <p>question_name</p> <p>question_type (it could be S_answer or MCQ_answer)</p> <p>quiz_id_fk</p>...
Here are my tables from SQLite : Table1 - QUIZ quiz_id quiz_name quiz_dateofcreation quiz_key Table2 - QUESTION question_id question_name question_type (it could be S_answer or MCQ_answer) quiz_id_fk Table3 - S_ANSWER (standard answer) s_answer_id s_answer_name question_id_fk Table4 - MCQ_ANSWER (multiple choice answer...
android|sql|json|sqlite
-1
2016-05-11T14:20:55.777Z
2,016
5
14
2
426
1
864
45
4
0
false
false
false
false
false
true
negative
37,165,548
Waiting onSuccess to return JSON
<p>I have a class with function for get some JSON files like that in my Cards.class :</p> <pre><code>public class Cards { static JSONObject jsonObj = null; public static JSONObject getCards(Context context) { AsyncHttpClient client = new AsyncHttpClient(); client.addHeader("x-access-token"...
I have a class with function for get some JSON files like that in my Cards.class : [CODE] This is how I call this function to get the JSON in my MainActivity.class : [CODE] The problem is the json Object is null in the MainActivity. In the getCards function, the json is good un the onSuccess. It seem, the function get ...
android|httprequest
0
2016-05-11T14:23:25.400Z
2,016
5
14
2
1,023
1
387
32
2
2
true
false
false
false
false
false
zero
37,165,590
How to fix the date for an Android-Espresso test case
<p>This question is about making Android test cases independent of the date, when they are run, even if the content being tested depends on the system date of the phone/emulator.</p> <p>I want to test a view in my Android App with Espresso, that depends on the current date. It basically a calendar: I have a <code>List...
This question is about making Android test cases independent of the date, when they are run, even if the content being tested depends on the system date of the phone/emulator. I want to test a view in my Android App with Espresso, that depends on the current date. It basically a calendar: I have a ListView with one row...
android|android-espresso
2
2016-05-11T14:24:42.463Z
2,016
5
14
2
1,683
1
918
53
2
3
true
false
false
false
false
false
low
37,165,658
App keeps restarting after Exception
<p>I have created a class called <code>AppContext</code> and registered it in my manifest</p> <pre><code> &lt;application android:name=".application.AppContext" </code></pre> <p>In this class, I have the following code:</p> <pre><code> @Override public void onCreate() { super.onCreate(); Thread.setDefaul...
I have created a class called AppContext and registered it in my manifest [CODE] In this class, I have the following code: [CODE] The ExceptionHandler -class contains the following code: [CODE] To test it, I have created a function in an random activity , which calls [CODE] and throws a NullpointerException . It works,...
android|exception
0
2016-05-11T14:27:27.920Z
2,016
5
14
2
84
0
612
36
2
4
true
true
false
false
false
false
zero
37,165,761
Appium - Error when trying to start - Method has not yet been implemented
<p>I'm trying to test an app using Appium and Genymotion (android emulator).</p> <p>Here's my <code>spec.js</code> file for protractor:</p> <pre><code>"use strict"; var wd = require('wd'); console.log(wd.Q); var wdBridgeModule = require('wd-bridge'); var protractor = require('protractor'); var wdBridge = wdBridgeMod...
I'm trying to test an app using Appium and Genymotion (android emulator). Here's my spec.js file for protractor: [CODE] I start webdriver with webdriver-manager start , then, on a different terminal window, i run appium & and in another terminal window i launch protractor spec file. webdriver doesn't have any error App...
android|selenium|protractor|appium|genymotion
1
2016-05-11T14:31:17.243Z
2,016
5
14
2
1,844
0
653
73
5
4
true
true
false
false
false
false
low
37,165,874
Volley BasicNetwork.performRequest: Unexpected response code 413
<p>I'm working on a project where user registration is a small module. Where I'm taking few of the parameters like name,email, contact, age, address &amp; profile_pic.</p> <pre><code>//Here is my Android part Code Where Profile_pic is the compressed byte[] of an image </code></pre> <p>Here is my byte[] compression me...
I'm working on a project where user registration is a small module. Where I'm taking few of the parameters like name,email, contact, age, address & profile_pic. [CODE] Here is my byte[] compression method [CODE] Android Volley Reuest to store user data to the server [CODE] Here is my PHP code to upload the image [CODE]...
php|android|android-volley
3
2016-05-11T14:35:46.520Z
2,016
5
14
2
2,900
1
622
64
3
6
true
false
true
false
false
false
low
37,165,890
Adding third party library dependencies to Android Library
<p>I'm working on Android Library project and want to add Picasso to my library. I've noticed that different libraries use different approaches to do this:</p> <ul> <li>Some libraries use static library dependency (like gif_encoder and gif_decoder libraries in <a href="https://github.com/bumptech/glide/tree/master/thi...
I'm working on Android Library project and want to add Picasso to my library. I've noticed that different libraries use different approaches to do this: Some libraries use static library dependency (like gif_encoder and gif_decoder libraries in Glide lib ) Some libraries use usual dynamic gradle or pom dependencies (li...
android|maven|static-libraries|dynamic-library
5
2016-05-11T14:36:14.013Z
2,016
5
14
2
933
1
886
58
4
0
false
false
false
false
false
false
low
37,165,900
HostConnection::get() New Host Connection established 0xafecbf90
<p>When I receive this message <code>New Host Connection established</code> is the connection ok or not?</p> <p>I am trying to connect a local database on my application Android </p> <pre><code>try { Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection(url, user, pass); /* ...
When I receive this message New Host Connection established is the connection ok or not? I am trying to connect a local database on my application Android [CODE] Log: [CODE]
java|android|database-connection
2
2016-05-11T14:36:38.470Z
2,016
5
14
2
5,247
0
173
64
3
2
true
true
true
false
false
false
low
37,165,931
Unable to build android project
<p>I just took over a android project with no kind of documentation, so my (first) job is to get the app to build. </p> <p>I'm using Android Studio 1.5.1</p> <p>My build output looks like this:</p> <pre><code>AGPBI: {"kind":"error","text":"No resource found that matches the given name: attr \u0027stextColorLink\u002...
I just took over a android project with no kind of documentation, so my (first) job is to get the app to build. I'm using Android Studio 1.5.1 My build output looks like this: [CODE] I did not include all errors cause it goes on and on with similar errors about missing attr resources. My gradle file looks like this: [C...
android|android-studio|gradle|compiler-errors
1
2016-05-11T14:37:47.947Z
2,016
5
14
2
524
2
481
31
4
3
true
false
false
false
false
false
low
37,165,964
soap webservice method with an object to be called from android
<p>I need to call a soap webservice from my android app.the webservice method has an object with 4 values.I have read about ksoap lib.But i am confused of how the object in service be sent as parameter from android.Please help me solve this.</p> <pre><code> public SoapObject soap(String METHOD_NAME, String SOAP_ACTIO...
I need to call a soap webservice from my android app.the webservice method has an object with 4 values.I have read about ksoap lib.But i am confused of how the object in service be sent as parameter from android.Please help me solve this. [CODE] Is this how it should be done? I have not worked with ksoap and soap webse...
java|android
-1
2016-05-11T14:39:31.967Z
2,016
5
14
2
788
1
338
63
2
1
true
false
false
false
false
true
negative
37,166,175
Android strings generated by Gradle's flavors declared missing translations by lint
<p>In Android studio I have a build.gradle file that has 2 flavors. These two flavors have a string whose value changes depending on the flavor. For example ...</p> <pre><code>productFlavors { companyOne { resValue "string", "sharedUserId", "com.company1" } companyTwo { resValue "string", ...
In Android studio I have a build.gradle file that has 2 flavors. These two flavors have a string whose value changes depending on the flavor. For example ... [CODE] Gradle generates this string for each flavor. The problem is that when lint gets run it complains that this id is a "MissingTranslation". I want to run lin...
android|gradle|lint
4
2016-05-11T14:48:44.923Z
2,016
5
14
2
236
0
634
83
3
3
true
true
false
false
false
false
low
37,166,218
Parceler - annotate interface with factories on an implementation
<p>On android when using Parceler, is it possible to annotate an interface using <code>@Parceler</code> and have it pick up possible <code>@ParcelConstructor</code> and <code>@ParcelFactory</code> annotations in implementation classes?</p> <p>The goal is to avoid writing a custom <em>ParcelConverter</em> to re-use gen...
On android when using Parceler, is it possible to annotate an interface using @Parceler and have it pick up possible @ParcelConstructor and @ParcelFactory annotations in implementation classes? The goal is to avoid writing a custom ParcelConverter to re-use generic field mapping in Parceler, but it appears that things ...
java|android|parcelable|parceler
2
2016-05-11T14:50:15.067Z
2,016
5
14
2
371
1
649
65
4
1
true
false
false
false
false
false
low
37,166,296
Realm's RealmChangeListener has a behaviour I don't understand
<p>the <code>RealmChangeListener</code> is not working as I expected, here is what I do with it : </p> <pre><code>public ArrayList&lt;NotificationMessage&gt; getNotifications(RealmChangeListener&lt;RealmResults&lt;NotificationMessage&gt;&gt; listener) { RealmResults&lt;NotificationMessage&gt; results = realm.where...
the RealmChangeListener is not working as I expected, here is what I do with it : [CODE] Basicly I'm using Realm to store gcm messages. My GCMListenerService calls addNotification() when he receives one, and I have a fragment that displays theses notifications which call getNotifications(this) when it's created. It imp...
android|realm
2
2016-05-11T14:53:37.470Z
2,016
5
14
2
653
1
842
62
2
3
true
false
false
false
false
false
low
37,166,454
Android - Catch RuntimeException during Instrumentation tests
<p>I am trying to set some instrumentation tests for some activities of a small Android application. I have successfully set some test classes, but I'm stuck with an issue : I can't seem to catch any Exceptions from my test methods.</p> <p>Currently, I have an Activity which requires some parameters to be set, and thr...
I am trying to set some instrumentation tests for some activities of a small Android application. I have successfully set some test classes, but I'm stuck with an issue : I can't seem to catch any Exceptions from my test methods. Currently, I have an Activity which requires some parameters to be set, and throws a Runti...
java|android|exception|instrumentation|android-instrumentation
3
2016-05-11T14:59:31.620Z
2,016
5
14
2
791
0
1,124
61
5
2
true
true
false
false
false
false
low
37,166,542
scroll to last position of recyclerview
<p>I want to scroll to last saved position of recyclerview after destroying or pausing app. I have used below code for saving related position and offset in <code>SharedPreferences</code></p> <pre><code>@Override public void onPause() { super.onPause(); QueryPreferences.setLastPos(getActivity(), String.valueOf...
I want to scroll to last saved position of recyclerview after destroying or pausing app. I have used below code for saving related position and offset in SharedPreferences [CODE] and below code for getting position and offset and then scrolling to last position of recyclerview: [CODE] if I set offset equal to zero, scr...
java|android|scroll|android-recyclerview
0
2016-05-11T15:02:51.357Z
2,016
5
15
2
5,157
1
797
39
4
2
true
false
true
false
false
false
zero
37,166,557
Error:(26, 21) error: cannot find symbol method setText(String)
<pre><code>package com.example.harikrishna.myapp4; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.Editable; import android.view.View; import android.widget.EditText; public class MainActivity extends AppCompatActivity { EditText ed1,ed2; protected void onCreate(Bundle s...
[CODE] compiler shows error Error:(26, 21) error: cannot find symbol method setText(String) and cannot resolve method setText(java.lang.String). pl could u pl some one let me know how to solve this problem
java|android
0
2016-05-11T15:03:29.720Z
2,016
5
15
2
889
1
205
63
2
1
true
false
false
false
false
false
zero
37,166,634
How to have one ImageView in front of another ImageView (Background fills parent?)
<p>I'm trying to have one ImageView overlap another, but I want the background ImageView to take up all the space available in its container.</p> <p>This is what I have for the ImageView area:</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"...
I'm trying to have one ImageView overlap another, but I want the background ImageView to take up all the space available in its container. This is what I have for the ImageView area: [CODE] And this is the output: I want the camera preview (checkered area) to fill up the entire available space behind the person icon. W...
c#|android|xamarin
0
2016-05-11T15:06:04.313Z
2,016
5
15
2
121
1
351
82
3
1
true
false
false
false
false
false
zero
37,166,842
Two buttons overlap in android app
<p>First and foremost, I am new to Android Development, so this question might sound a little juvenile, but I am not able to get an answer to this. I have an app in which I need to display two different buttons side-by-side. I have specified the tags necessary to this and they run in one emulator but not in the other. ...
First and foremost, I am new to Android Development, so this question might sound a little juvenile, but I am not able to get an answer to this. I have an app in which I need to display two different buttons side-by-side. I have specified the tags necessary to this and they run in one emulator but not in the other. Bel...
android|android-layout
0
2016-05-11T15:15:19.990Z
2,016
5
15
2
5,827
2
852
34
2
1
true
false
true
false
false
false
zero
37,166,847
Read Contacts permission is denied on Android 6.0
<p>I want to access Read Contacts permission from android. I have specified permission in manifest file.</p> <pre><code> &lt;uses-permission android:name="android.permission.READ_CONTACTS" /&gt; </code></pre> <p>It's working on Device 4.4.2 but crashes on 6.0 with an exception:</p> <pre><code> FATAL EXCEPTION...
I want to access Read Contacts permission from android. I have specified permission in manifest file. [CODE] It's working on Device 4.4.2 but crashes on 6.0 with an exception: [CODE] So I looked around SO to find the solution and I came to know android 6.0 onwards it has a permission model to request for permissions. S...
java|android|android-6.0-marshmallow|user-permissions
0
2016-05-11T15:15:32.877Z
2,016
5
15
2
3,507
2
671
49
4
3
true
false
true
false
false
false
zero
37,166,873
Android MediaRecorder preview size changed after start capturing video
<p>i'm developing an camera app which allows users to capture video, and i started following some tutorials. But the problem is when i press the Capture video button to start recording, the preview is just stretched <a href="http://i.stack.imgur.com/VJ0Pp.jpg" rel="nofollow">Before</a></p> <p><a href="http://i.stack.i...
i'm developing an camera app which allows users to capture video, and i started following some tutorials. But the problem is when i press the Capture video button to start recording, the preview is just stretched Before After press record button This is my code: [CODE]
android|camera|preview|mediarecorder
4
2016-05-11T15:16:41.027Z
2,016
5
15
2
519
0
269
70
4
1
true
true
false
false
false
false
low
37,166,981
Copy files from internal storage to usb storage on Android 6
<p>Until now I could programmatically copy files from the internal memory of the phone to an USB-OTG connected to it. I just had to give root permissions and edit platform.xml. But now my device (Samsung Galaxy S6 Edge +) has been updated to Android 6 and made my code stop working. I'm getting this error everytime I tr...
Until now I could programmatically copy files from the internal memory of the phone to an USB-OTG connected to it. I just had to give root permissions and edit platform.xml. But now my device (Samsung Galaxy S6 Edge +) has been updated to Android 6 and made my code stop working. I'm getting this error everytime I try t...
java|android|android-6.0-marshmallow
4
2016-05-11T15:21:30.303Z
2,016
5
15
2
1,274
0
635
60
3
3
true
true
false
false
false
false
low
37,167,051
Debugger agent is not enabled : ionic 2 app with visual studio 2015
<p>I am using Visual Studio 2015 Apache Cordova for developing Ionic 2 + TypeScript Application on window 10. I have an app who works. But when I debug (Debug > Android > Ripple), the debug output window does not display debug messages. Instead, I get the following message:</p> <p>' code:-32000 message:Debugger agent ...
I am using Visual Studio 2015 Apache Cordova for developing Ionic 2 + TypeScript Application on window 10. I have an app who works. But when I debug (Debug > Android > Ripple), the debug output window does not display debug messages. Instead, I get the following message: ' code:-32000 message:Debugger agent is not enab...
android|visual-studio|debugging|ionic2
1
2016-05-11T15:24:36.463Z
2,016
5
15
2
706
0
623
67
4
1
true
true
false
false
false
false
low
37,167,107
How to use Espresso UI Testing for React Native?
<p>I'm trying to make some UI Testing with Espresso on my React Native Android application to use Screengrab by Fastlane.</p> <p>I have followed <a href="https://facebook.github.io/react-native/docs/embedded-app-android.html" rel="noreferrer">this tutorial</a> to integrate React Native in an existing app to be able to...
I'm trying to make some UI Testing with Espresso on my React Native Android application to use Screengrab by Fastlane. I have followed this tutorial to integrate React Native in an existing app to be able to write a test. But when I started writing my UI Test I was unable to find what to write and how to target a compo...
android|react-native|ui-testing|android-espresso|fastlane
17
2016-05-11T15:27:53.910Z
2,016
5
15
2
6,771
3
814
48
5
0
false
false
true
false
true
false
medium
37,167,142
AndroidImageSlider: createBitmap error and OutOfMemoryError
<p>Sorry for my English. In its application, I use Android Image Slider <a href="https://github.com/daimajia/AndroidImageSlider" rel="nofollow">https://github.com/daimajia/AndroidImageSlider</a></p> <p>here's the code:</p> <pre><code> SliderLayout exPhoto = (SliderLayout) findViewById(R.id.ex_img); exPhoto.removeAll...
Sorry for my English. In its application, I use Android Image Slider https://github.com/daimajia/AndroidImageSlider here's the code: [CODE] here's error: [CODE] All I can do is to pass the path to the image [CODE] I do not work directly with Bitmaps This error occurs on the low phone and after 20 updates. please, help
android
0
2016-05-11T15:29:14.820Z
2,016
5
15
2
364
1
319
59
1
3
true
false
false
false
false
false
zero
37,167,236
addTextChangedListener() fired multiple times and for all edittext fields in listview
<p>I have a listview with 4 list item each containing 2 text views and 1 edittext view. I have defined a addTextChangedListener in the custom adapter to lookout for changes in edittext and then save the text.</p> <p>The addTextChangedListener is firing once when text in edittext view in list item 2,3 and 4 is changed ...
I have a listview with 4 list item each containing 2 text views and 1 edittext view. I have defined a addTextChangedListener in the custom adapter to lookout for changes in edittext and then save the text. The addTextChangedListener is firing once when text in edittext view in list item 2,3 and 4 is changed but it fire...
android|listview
2
2016-05-11T15:34:25.723Z
2,016
5
15
2
3,765
3
1,018
85
2
5
true
false
true
false
false
false
low
37,167,691
Android PopupWindow and SeekBar listener not responding
<p>Does anyone know why my seekbar listener is not picking up any data from the seekbar?? i have it all setup and working but it isnt updating the textviews, i think it has something to do with the popup window using a different activity layout to the activity it sits inside</p> <pre><code>public class Environment ext...
Does anyone know why my seekbar listener is not picking up any data from the seekbar?? i have it all setup and working but it isnt updating the textviews, i think it has something to do with the popup window using a different activity layout to the activity it sits inside [CODE] } Whenever i use the slider it should up...
java|android|android-layout|android-studio|android-popupwindow
1
2016-05-11T15:53:59.320Z
2,016
5
15
2
851
1
552
55
5
3
true
false
false
false
false
false
low
37,167,703
Android Studio console output?
<p>When I run my application on Android Studio, I read some GarbageCollection output:</p> <pre> 05-11 16:18:20.973 12173-12183/com.example.myapp I/art: Background partial concurrent mark sweep GC freed 240546(10MB) AllocSpace objects, 1(20KB) LOS objects, 40% free, 46MB/77MB, paused 1.599ms total 121.211ms 05-11 16:1...
When I run my application on Android Studio, I read some GarbageCollection output: [CODE] What does this mean? (I am reading large csv files with more that 70k lines in it)
android|performance|garbage-collection|database-performance
4
2016-05-11T15:54:35.810Z
2,016
5
15
2
4,598
1
172
30
4
1
true
false
true
false
false
false
low
37,167,907
RxJava: zip operator thread interrupt error for void observable
<p>How the zip operator works in case of two Observable ? For me, it interrupts the other when one is complete. I case of other than void, it waits for each observable to complete, then get back with the results. </p> <p>The code is </p> <pre><code> Observable&lt;Void&gt; deleteImageObservable = deleteImage(order.g...
How the zip operator works in case of two Observable ? For me, it interrupts the other when one is complete. I case of other than void, it waits for each observable to complete, then get back with the results. The code is [CODE] I am using cloudinary uploader().destroy() to delete image, it returns Void in case of succ...
java|android|rx-java|cloudinary|reactivex
1
2016-05-11T16:04:17.883Z
2,016
5
16
2
655
1
511
63
5
1
true
false
false
false
false
false
low
37,167,988
Populate ListView with two tables in database in Android Studio
<p>I have two tables. tblsubject and tbltopics. I want to list all the subjects with the number of topics every subject.</p> <p><strong>getSubject()</strong></p> <pre><code>public Cursor getAllSubject() { String where = null; Cursor c = db.query(true, DATABASE_TABLE, ALL_KEYS, where, null, null, null, null, ...
I have two tables. tblsubject and tbltopics. I want to list all the subjects with the number of topics every subject. getSubject() [CODE] countTopics() [CODE] viewList() this is where i populate my listview [CODE] My problem is how to add the number of topics every subject. I can display the Subjects. Thank you.
android|listview
0
2016-05-11T16:08:42.353Z
2,016
5
16
2
746
2
313
63
2
3
true
false
false
false
false
false
zero
37,168,200
Android 5.0+ New SD Card Access API DocumentFile.renameTo() UnsupportedOperationException
<p>I've been struggling on how to rename a DocumentFile on Lollipop. I'm sorry I had tried to search everywhere for the solution, but there seems to be lack of the information online about this new SD Card Access API.</p> <p>Here is what I have:</p> <pre><code> String EditText = (Alert_EditText.getText().toStr...
I've been struggling on how to rename a DocumentFile on Lollipop. I'm sorry I had tried to search everywhere for the solution, but there seems to be lack of the information online about this new SD Card Access API. Here is what I have: [CODE] It came up with an UnsupportedOperationException: [CODE] I also have tried th...
android|android-sdcard|file-rename|android-external-storage
2
2016-05-11T16:18:54.833Z
2,016
5
16
2
1,717
2
612
89
4
5
true
false
false
false
false
false
low
37,168,249
how to solve Error inflating class android.support.design.widget.NavigationView
<p>I wanted to add navigation drawer for to my app so I created new activity and I wrote this code on class java</p> <pre><code>public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { Toolbar toolbar=null; NavigationView navigationView=null; ...
I wanted to add navigation drawer for to my app so I created new activity and I wrote this code on class java [CODE] and this is what I'm writing on layout activity_main.xml [CODE] Layout nav_header_main.xml [CODE] app_bar_main.xml [CODE] and this is my gradle file [CODE] Here is the error I get: [CODE]
android|drawer
0
2016-05-11T16:21:22.127Z
2,016
5
16
2
4,482
2
304
79
2
6
true
false
true
false
false
false
zero
37,168,281
Remove left margin from materialdrawer
<p>How to remove the space Mikepenz Material Drawer.I used custom layout for profile menu and drawer Items. I didnt set Margin or padding for those views. And i also tried activity horizontal margin to 0.<a href="https://i.stack.imgur.com/kOVST.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kOVST.jp...
How to remove the space Mikepenz Material Drawer.I used custom layout for profile menu and drawer Items. I didnt set Margin or padding for those views. And i also tried activity horizontal margin to 0. Help would be appreciated. same margin right side also. Profile menu is Ok. it has no problem.whereas draweritem facin...
android|material-design|drawer|materialdrawer
1
2016-05-11T16:22:42.083Z
2,016
5
16
2
599
1
480
38
4
2
true
false
false
false
false
false
low
37,168,284
MultiChoiceModeListener not working
<p>I am trying to implement <code>MultiChoiceModeListener</code> for select multiple item from a <code>ListView</code>. My current progress is shown below. But it doesn't working. It has no action on even long press. is any thing missed in my code or anything wrong? Any help will be greatly appreciated.</p> <pre><code...
I am trying to implement MultiChoiceModeListener for select multiple item from a ListView . My current progress is shown below. But it doesn't working. It has no action on even long press. is any thing missed in my code or anything wrong? Any help will be greatly appreciated. [CODE]
java|android|listview
2
2016-05-11T16:22:49.520Z
2,016
5
16
2
739
1
283
35
3
1
true
false
false
false
false
false
low
37,168,378
App freezes when playing MediaPlayer from URL
<p>I'm at a loss because I don't see any errors in Logcat. This is what I see:</p> <blockquote> <p></p> </blockquote> <pre><code>05-11 09:15:54.267 14753-14753/com.LudwigAppDesign.streamingradioplayerpro D/ViewRootImpl: ViewPostImeInputStage ACTION_DOWN 05-11 09:15:54.447 14753-14753/com.LudwigAppDesign.streamingr...
I'm at a loss because I don't see any errors in Logcat. This is what I see: [CODE] My MediaPlayer works fine as long as the URL is valid, but for those URLs that have expired, the whole app freezes and I need to hit the Home button to reset. If someone can help me understand what's happening I would really appreciate i...
android|web-services|android-mediaplayer
0
2016-05-11T16:27:14.670Z
2,016
5
16
2
159
0
322
45
3
1
true
true
false
false
false
false
zero
37,168,565
Advantages to developers of knowing that user will have Google Maps pre-installed
<p>I'm researching the legal effects of Google's mandatory "all-or-nothing" requirement i.e. if the OEM wants to pre-install Google Search on their Android phones, they also have to take Youtube, Google Maps, Hangouts etc.</p> <p>I am arguing that, from the developer's perspective, there are great advantages to having...
I'm researching the legal effects of Google's mandatory "all-or-nothing" requirement i.e. if the OEM wants to pre-install Google Search on their Android phones, they also have to take Youtube, Google Maps, Hangouts etc. I am arguing that, from the developer's perspective, there are great advantages to having the pre-in...
android|google-maps|android-intent|google-maps-api-3
2
2016-05-11T16:36:02.573Z
2,016
5
16
2
43
1
1,163
81
4
0
false
false
false
false
false
false
low
37,168,605
Android Studio: Why won't loops work during onClick?
<p>I'm just trying to make these images rotate for multiple durations, and as far as I know, I need to use a loop. But when testing it out, it only works for one run-through of the loop, as opposed to ten. What am I doing wrong? Also I'm a beginner, so take it easy on me.</p> <pre><code> import android.support.v7....
I'm just trying to make these images rotate for multiple durations, and as far as I know, I need to use a loop. But when testing it out, it only works for one run-through of the loop, as opposed to ten. What am I doing wrong? Also I'm a beginner, so take it easy on me. [CODE]
java|android|loops|while-loop
-2
2016-05-11T16:37:46.833Z
2,016
5
16
2
200
1
276
52
4
1
true
false
false
false
false
true
negative
37,168,617
WebView based app, YouTube videos does not have full screen button
<p>I have a WebView based app that shows a WordPress website. I have in my website a few YouTube videos, and the problem is YouTube videos does not have full screen button. I looked for an answer to this and didn't find anything on the web. Can someone help me? how can I make the YouTube videos have the option to play ...
I have a WebView based app that shows a WordPress website. I have in my website a few YouTube videos, and the problem is YouTube videos does not have full screen button. I looked for an answer to this and didn't find anything on the web. Can someone help me? how can I make the YouTube videos have the option to play in ...
android|wordpress|android-studio|webview|youtube
1
2016-05-11T16:38:34.967Z
2,016
5
16
2
1,039
1
385
66
5
1
true
false
false
false
false
false
low
37,168,803
android java How to override toString of ParseUser in nested class
<p>In Android, I am trying to override the toString() of the ParseUser for use in my listview, using</p> <pre><code>import android.os.Bundle; import android.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAda...
In Android, I am trying to override the toString() of the ParseUser for use in my listview, using [CODE] Seems simple enough. I had this nested in my fragment class and it crashed with this java.lang.ClassCastException: com.parse.ParseUser cannot be cast to com.mycompany.myproject.ExampleFragment$User but when I move i...
java|android|parse-platform|overriding|extends
1
2016-05-11T16:49:43.303Z
2,016
5
16
2
405
1
747
66
5
1
true
false
false
false
false
false
low
37,168,879
Admob is not working on android studio 2.0
<p>Admob banner in main activity is not showing the ads and the banner. I tried on multiple smartphones the problem persist. But ads banner shows on main.xml design preview.</p> <p>Here's my code:</p> <p><strong>Main.java</strong></p> <pre><code>import com.google.android.gms.ads.AdRequest; import com.google.android....
Admob banner in main activity is not showing the ads and the banner. I tried on multiple smartphones the problem persist. But ads banner shows on main.xml design preview. Here's my code: Main.java [CODE] String [CODE] build.gradle [CODE] xml [CODE] manifest [CODE]
android|admob|ads|banner
1
2016-05-11T16:54:33.097Z
2,016
5
16
2
863
1
264
42
4
5
true
false
false
false
false
false
low