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,748,527
How to add views inside coordinator layout?
<p>I want to add a layout and views inside coordinator layout. I am failing to adjust it's position as I want. </p> <p><a href="https://i.stack.imgur.com/bKNln.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bKNln.png" alt="enter image description here"></a></p> <p>In this I want these today, tomor...
I want to add a layout and views inside coordinator layout. I am failing to adjust it's position as I want. In this I want these today, tomorrow and later buttons are in one linear layout, this should be above recyclerview and the fab button should be anchored to app bar like it should float between appbar and the othe...
java|android|android-layout|android-coordinatorlayout
2
2016-04-20T15:28:29.140Z
2,016
4
15
2
886
0
730
43
4
2
true
true
false
false
false
false
low
36,748,580
ImageView setScaleX/Y with scale factor < 1
<p>I have strange behavior with ImageView (scale type = Matrix). </p> <p>I have some parent view (FrameLayout actually, marked grey on picture). On the top of this FrameLayout my ImageView is located with MATCH_PARENT attributes. </p> <p>So I expect ImageView should fill parent view. I have Bitmaps with different siz...
I have strange behavior with ImageView (scale type = Matrix). I have some parent view (FrameLayout actually, marked grey on picture). On the top of this FrameLayout my ImageView is located with MATCH_PARENT attributes. So I expect ImageView should fill parent view. I have Bitmaps with different sizes to set in differen...
android|matrix|imageview|scaletype
1
2016-04-20T15:31:11.157Z
2,016
4
15
2
3,301
3
1,154
43
4
0
false
false
true
false
false
false
low
36,748,768
Custom component Android LinearLayout not visible
<p>Custom LinearLayout component view not displaying content</p> <p>Hi i have created a custom component view that extends LinearLayout and when i use this view on my xml, it doesnt become visible on the screen.</p> <p>Here is the main view that is using this custom component</p> <pre><code>&lt;?xml version="1.0" en...
Custom LinearLayout component view not displaying content Hi i have created a custom component view that extends LinearLayout and when i use this view on my xml, it doesnt become visible on the screen. Here is the main view that is using this custom component [CODE] Here is the EnableView custom component code: [CODE] ...
android|view|android-linearlayout
0
2016-04-20T15:39:28.673Z
2,016
4
15
2
200
1
424
49
3
3
true
false
false
false
false
false
zero
36,748,804
How to add tiles to google map and animating them i.e replacing them wiith new tiles continuously
<p>I'm adding multiple TileOverlays to a Google map from cache. When trying to animate them using a handler by changing their visibility there is a flickering of the overlays on the map during the first play through. </p> <p>Any other way with which I can achieve this?</p> <p><a href="https://i.stack.imgur.com/ISsze....
I'm adding multiple TileOverlays to a Google map from cache. When trying to animate them using a handler by changing their visibility there is a flickering of the overlays on the map during the first play through. Any other way with which I can achieve this? [CODE] The following is code for adding those tiles to the Go...
android|google-maps
10
2016-04-20T15:40:41.143Z
2,016
4
15
2
796
3
437
97
2
3
true
false
false
false
true
false
medium
36,748,806
jcenter and mavenCentral no longer support android dependencies?
<p>I'm building an Android project with gradle, according to the readme of this project <a href="https://github.com/sky-map-team/stardroid" rel="nofollow">https://github.com/sky-map-team/stardroid</a> , but gradle failed to download dependencies from repository:</p> <pre><code>FAILURE: Build failed with an exception. ...
I'm building an Android project with gradle, according to the readme of this project https://github.com/sky-map-team/stardroid , but gradle failed to download dependencies from repository: [CODE] It seems no such file (com.android.support:support-annotations:23.1.0) on jcenter, see https://jcenter.bintray.com/com/andro...
android|maven|gradle|maven-central|jcenter
0
2016-04-20T15:40:49.643Z
2,016
4
15
2
714
0
618
64
5
1
true
true
false
false
false
false
zero
36,748,835
adding animation to listview items child (textview)
<p>I have a list view . I create a view holder and add my textview in row to view holder. now i am try to add fade out animation to that textview and i then get NullPointerException. how can i add animation to them?</p> <pre><code> ///////////////////////////////fill list//////////////////////////////////////// class ...
I have a list view . I create a view holder and add my textview in row to view holder. now i am try to add fade out animation to that textview and i then get NullPointerException. how can i add animation to them? [CODE] and this is the anim [CODE]
android|listview|android-animation
0
2016-04-20T15:41:56.153Z
2,016
4
15
2
221
0
247
51
3
2
true
true
false
false
false
false
zero
36,748,902
java.lang.ArrayIndexOutOfBoundsException: length=4; index=6
<p>Please read through and don't mark this question as duplicate. I have 2 <code>Spinner</code> elements which one of them is populated with <code>String</code> values hardcoded in my app and the other one is populated from my database using an <code>ArrayList</code>. The 2 Spinners are called <strong>Names</strong> an...
Please read through and don't mark this question as duplicate. I have 2 Spinner elements which one of them is populated with String values hardcoded in my app and the other one is populated from my database using an ArrayList . The 2 Spinners are called Names and Sickness . Code for Names Spinner : [CODE] In this list,...
java|android
0
2016-04-20T15:44:31.887Z
2,016
4
15
2
99
0
2,101
59
2
3
true
true
false
false
false
false
zero
36,748,931
Expandable Recycler View only showing one item in parent
<p>My recycler view has a parent and a child. My parent is only displaying one item with then all the topics in that one item. I can post my code below I'm not sure what it is I need to do to correct this as this is my first time using expandable views. I've posted the whole class below. Not sure what was needed for yo...
My recycler view has a parent and a child. My parent is only displaying one item with then all the topics in that one item. I can post my code below I'm not sure what it is I need to do to correct this as this is my first time using expandable views. I've posted the whole class below. Not sure what was needed for you t...
android|android-recyclerview|expandablerecyclerview
0
2016-04-20T15:45:26.400Z
2,016
4
15
2
1,501
2
437
56
3
1
true
false
false
false
false
false
zero
36,748,944
ANDROID JSON jsonObject with value shows NullPointerException error
<p>This is one of the functions in my ExpendableListAdapter for the listview for the child of a particular list group. groupPosition == 2 means when user expand the third list group, I want to show a different view from the first and second list group which only contain a textview.</p> <pre><code>public View getChildV...
This is one of the functions in my ExpendableListAdapter for the listview for the child of a particular list group. groupPosition == 2 means when user expand the third list group, I want to show a different view from the first and second list group which only contain a textview. [CODE] I check the log which shows that ...
java|android|json
-1
2016-04-20T15:46:14.513Z
2,016
4
15
2
61
2
449
67
3
2
true
false
false
false
false
true
negative
36,749,002
Rotating circle at the bottom of screen
<p>I have been using this tutorial to make a rotating view:- <a href="http://code.tutsplus.com/tutorials/android-sdk-creating-a-rotating-dialer--mobile-8868" rel="nofollow noreferrer">Rotating Dialler</a></p> <p>Here is the code for it:-</p> <pre><code>private static Bitmap imageOriginal, imageScaled; private static ...
I have been using this tutorial to make a rotating view:- Rotating Dialler Here is the code for it:- [CODE] This works fine when the image is center. What i need is the image to be at bottom of screen and as a semicircle (Half of the circle would be outside of the screen below). Some thing like this:- It needs to be ro...
android|rotation
0
2016-04-20T15:48:43.290Z
2,016
4
15
2
88
1
382
39
2
1
true
false
false
false
false
false
zero
36,749,207
Error -1073740940 when running UITest on device or emulator
<p>When running a Xamarin Android UITest either in the device or in the emulator I'm getting the return code <code>-1073740940</code> on <code>ADB.exe</code>.</p> <pre><code>Test Name: AppLaunches Test FullName: UITest1.Tests.AppLaunches Test Source: d:\documents\visual studio 2015\Projects\UITest1\UITest1\Tests....
When running a Xamarin Android UITest either in the device or in the emulator I'm getting the return code -1073740940 on ADB.exe . [CODE] The output windows gives me this: [CODE] If I send the APK for remote test execution it works and passes. What can possibly be the issue?
android|xamarin|xamarin-test-cloud
1
2016-04-20T15:57:44.810Z
2,016
4
15
2
1,102
1
275
59
3
2
true
false
false
false
false
false
low
36,749,280
Android JSON array error
<p>My php file : </p> <pre><code>if(isset($_POST['eposta'])&amp;&amp;isset($_POST['sifre']))//uygulamadan gelen verileri kontrol etme { $eposta = $_POST['eposta'];//gelen eposta yı alma $sifre = $_POST['sifre'];//gelen sifreyi alma require("ayar.php");//Ayar dosyasını içe aktarma $sorgu = mysql_query("...
My php file : [CODE] My android file : [CODE] And I have this error on logcat : [CODE]
java|php|android|json
0
2016-04-20T16:00:53.090Z
2,016
4
16
2
50
0
86
24
4
3
true
true
false
false
false
false
zero
36,749,370
How to update the icon of Action in NotificationCompat in Android
<p>I am working with MediaPlayer and I am using <strong>NotificationCompat.Builder</strong> and <strong>NotificationManagerCompat</strong> for notification but when I play or pause the music the icon in notification bar doesn't change. I am using NotificationCompat MediaStyle. </p> <p>Please suggest <strong>how to cha...
I am working with MediaPlayer and I am using NotificationCompat.Builder and NotificationManagerCompat for notification but when I play or pause the music the icon in notification bar doesn't change. I am using NotificationCompat MediaStyle. Please suggest how to change the icon of Action in notification . Update: [CODE...
android|android-mediaplayer|android-notifications
3
2016-04-20T16:04:42.563Z
2,016
4
16
2
1,776
1
321
65
3
1
true
false
false
false
false
false
low
36,749,439
Expandable ListView GetChild returns null pointer-JAVA
<p>I have an expandable <code>ListView</code>.</p> <p><code>getChild()</code> method is working and returns perfectly on Toast, but when I use it as </p> <pre><code>String s=getChild(Group,Child) </code></pre> <p>It returns nullpointer exception.</p> <p>Here is my code.</p> <p>in adapter class</p> <pre><code> @...
I have an expandable ListView . getChild() method is working and returns perfectly on Toast, but when I use it as [CODE] It returns nullpointer exception. Here is my code. in adapter class [CODE] And I used it in adapterclass as; [CODE] In the code above, getChild() method works on Toast but returns null pointer on s=g...
java|android|adapter|expandablelistview
0
2016-04-20T16:08:19.530Z
2,016
4
16
2
235
0
354
54
4
3
true
true
false
false
false
false
zero
36,749,517
Advices on wrapping a handler with a loop
<p>I have been trying lately to add a timer into my app. I used a handler and the public run method to do that. So far, I have only managed to get the timer to run for one second. I tried to use a while loop but no matter where I put it the app crashed as soon as I started the timer. I would be happy if someone could g...
I have been trying lately to add a timer into my app. I used a handler and the public run method to do that. So far, I have only managed to get the timer to run for one second. I tried to use a while loop but no matter where I put it the app crashed as soon as I started the timer. I would be happy if someone could give...
android|timer|handler
0
2016-04-20T16:12:00.733Z
2,016
4
16
2
38
1
444
41
3
1
true
false
false
false
false
false
zero
36,749,762
Databinding fails with NoSuchMethodError
<p>After updating to gradle 2.10 every time when I try to <code>assemble</code> debug build of the app I get the <code>NoSuchMethodError</code> exception. Here is the relevant part of the build log:</p> <pre><code>java.lang.RuntimeException: failure, see logs for details. cannot generate view binders java.lang.NoSuc...
After updating to gradle 2.10 every time when I try to assemble debug build of the app I get the NoSuchMethodError exception. Here is the relevant part of the build log: [CODE] As you can see Method com.google.common.base.Strings.isNullOrEmpty can't be found. Some specifics I use Retrolambda 3.2.5 and Java 8. There are...
android|android-gradle-plugin|android-databinding
11
2016-04-20T16:23:35.213Z
2,016
4
16
2
887
2
691
40
3
2
true
false
false
false
true
false
medium
36,749,896
Endless PageAdapter for ViewPager takes centuries to load a new page
<p>I'm trying to implement a similar feature that Google Calendar has.</p> <p>Basically, I have two views:</p> <ul> <li><strong>View A)</strong> ViewPager with CustomViews of calendars. Let's call this <code>MonthViewPager</code> which extends <code>ViewPager</code></li> <li><strong>View B)</strong> -- On the top of ...
I'm trying to implement a similar feature that Google Calendar has. Basically, I have two views: View A) ViewPager with CustomViews of calendars. Let's call this MonthViewPager which extends ViewPager View B) -- On the top of the ViewPager -- a Year View which says what month the View A) has to go. Let's call this Year...
android|android-viewpager
1
2016-04-20T16:30:31.447Z
2,016
4
16
2
140
1
1,559
68
2
3
true
false
false
false
false
false
low
36,749,962
Mockito breaking builds on Android >=5.0 but not Android 4.4
<p>So I have a test suite that runs fine against Android 4.4.4. However, when I test against Android 5.0.0 or Android 6.0.0 Mockito starts giving me a series of different problems. I am using Mockito <code>v1.9.5</code> but have tried <code>1.10.19</code> and <code>2.0.49-beta</code> with the same errors. For example...
So I have a test suite that runs fine against Android 4.4.4. However, when I test against Android 5.0.0 or Android 6.0.0 Mockito starts giving me a series of different problems. I am using Mockito v1.9.5 but have tried 1.10.19 and 2.0.49-beta with the same errors. For example I have the following in my setup code: [COD...
java|android|mockito|android-5.0-lollipop|android-4.4-kitkat
1
2016-04-20T16:34:04.083Z
2,016
4
16
2
52
0
804
60
5
5
true
true
false
false
false
false
low
36,750,061
Android OnTouchListner does not work - SurfaceView
<p>I want to add an OnTouchListener to my Code and I watched a Tutorial about it, where the Programmer implements a OnTouchListner. As I wanted to test Android Studio only wants to implements the View.OnTouchListner (maybe the Programmer uses a older version of Android Studio). This OnTouchListner does not work. I hope...
I want to add an OnTouchListener to my Code and I watched a Tutorial about it, where the Programmer implements a OnTouchListner. As I wanted to test Android Studio only wants to implements the View.OnTouchListner (maybe the Programmer uses a older version of Android Studio). This OnTouchListner does not work. I hope yo...
java|android|android-studio|ontouchlistener
0
2016-04-20T16:39:19.310Z
2,016
4
16
2
71
1
363
50
4
1
true
false
false
false
false
false
zero
36,750,110
ImageView setImageResource() method is not working inside Runnable()
<p>I am facing a weird issue and I cannot understand why.</p> <p><strong>Case 1:</strong></p> <pre><code>Runnable mGen = new Runnable() { @Override public void run() { try { //Randomly generate variable i (0 or 1 in this example case) imageView[i].setImageResource(R.dr...
I am facing a weird issue and I cannot understand why. Case 1: [CODE] In this case, I don't visibly see the imageView image resource being set to firstimage . But if I do this, Case 2: [CODE] I can see both images being set to the imageViews as expected. Basically, I am generating a random number (0 or 1, for simplicit...
java|android|android-imageview
0
2016-04-20T16:42:18.633Z
2,016
4
16
2
224
0
693
68
3
2
true
true
false
false
false
false
zero
36,750,187
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState on Xamarin.Forms
<p>I have this snippet of code and intermittently, my deploy fails because of an IllegalStateException:</p> <p>It fails here in app.cs: </p> <pre><code>void appInitializer_OnDisplayOffers(object sender, System.EventArgs e) { Device.BeginInvokeOnMainThread(() =&gt; { Xamarin.Forms.Application.Current.MainP...
I have this snippet of code and intermittently, my deploy fails because of an IllegalStateException: It fails here in app.cs: [CODE] Where: [CODE] Here's some info on where it's triggered: [CODE] where: [CODE] Here's the exception details: [CODE] My project does not use any fragments or a fragment manager of any kind. ...
android|xamarin|xamarin.android|xamarin.forms
0
2016-04-20T16:46:13.897Z
2,016
4
16
2
1,937
1
623
103
4
5
true
false
false
false
false
false
zero
36,750,189
GDXruntime exception in Android Studio: Can't find assets
<p>I'm writing a flappy bird game in android studio using libgdx, and it runs fine as a desktop application, but when I try to run it on my smartphone it throws an error:</p> <pre><code>E/AndroidRuntime: FATAL EXCEPTION: GLThread 73772 com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: playBtn.png at com...
I'm writing a flappy bird game in android studio using libgdx, and it runs fine as a desktop application, but when I try to run it on my smartphone it throws an error: [CODE] My project structure looks like this: I cleaned and rebuilt my project, and restarted android studio, but that didn't help. How do I get GDX to r...
java|android|android-studio|libgdx
1
2016-04-20T16:46:16.733Z
2,016
4
16
2
83
1
346
57
4
1
true
false
false
false
false
false
low
36,750,216
UnsupportedOperationException while calling Volley request with headers
<p>I try to make call request with Volley library. I want to set headers, but I'm getting java.lang.UnsupportedOperationException. Do you know why , and how can I solve this problem ? </p> <pre><code> public void getAccountInfo() { RequestQu...
I try to make call request with Volley library. I want to set headers, but I'm getting java.lang.UnsupportedOperationException. Do you know why , and how can I solve this problem ? [CODE]
android|android-volley
3
2016-04-20T16:47:27.980Z
2,016
4
16
2
2,931
2
187
71
2
1
true
false
true
false
false
false
low
36,750,322
error using google maps api and fragmentactivity
<p>to be honest i don't know what caused the error, i am using them for the first time. would you please help me with this. i am only trying to start the google maps api into the fragmentActivity. this is the logcat</p> <pre><code>04-20 19:35:38.008: E/AndroidRuntime(3484): FATAL EXCEPTION: main 04-20 19:35:38.008: E/...
to be honest i don't know what caused the error, i am using them for the first time. would you please help me with this. i am only trying to start the google maps api into the fragmentActivity. this is the logcat [CODE] and this is the classes [CODE] and this [CODE] and this is the manifest [CODE]
android|google-maps|android-fragmentactivity
0
2016-04-20T16:52:30.937Z
2,016
4
16
2
574
1
298
48
3
4
true
false
false
false
false
false
zero
36,750,390
Multiple row layouts in CursorAdapter based on next item
<p>I need to display a sort of visitor logs in a <code>RecyclerView</code> and the data to display comes from a <code>SQLiteDatabase</code> <code>DESC</code>-ordered by DateTime (column <code>enter_time</code>, UNIX value). I have already implemented a simple <code>CursorAdapter</code> and I'm able to display data in t...
I need to display a sort of visitor logs in a RecyclerView and the data to display comes from a SQLiteDatabase DESC -ordered by DateTime (column enter_time , UNIX value). I have already implemented a simple CursorAdapter and I'm able to display data in the RecyclerView . Next step is to make different views so that the...
android|cursor|android-recyclerview|android-adapter
2
2016-04-20T16:55:25.740Z
2,016
4
16
2
589
2
1,164
56
4
1
true
false
false
false
false
false
low
36,750,402
Why do I get null from retrieving the user's gmail?
<p>With the following code that retrieves the user's Google account, gmail, I was wondering why I get null from devices like mine (that of course runs on my gmail), whereas it works on my mom's devices:</p> <pre><code>public class MainActivity extends AppCompatActivity { final String TAG = "Sample2"; @Overri...
With the following code that retrieves the user's Google account, gmail, I was wondering why I get null from devices like mine (that of course runs on my gmail), whereas it works on my mom's devices: [CODE] I also included the following permission into my Manifest file: [CODE] Clearly, it's because of my device... But ...
android|email|in-app-billing|accountmanager
0
2016-04-20T16:55:58.600Z
2,016
4
16
2
2,030
2
597
51
4
2
true
false
false
false
false
false
zero
36,750,471
IF conditional not working in or after onPostExecute in Android
<p>Can anyone tell me where I have messed up with my code?</p> <p>I have tried many possible solutions to get this to work (including .toString().trim(); inside of onPostExecute).</p> <p>I am using an HttpURLConnection to get responses from my server through a PHP script. My PHP script is "battle tested", and my And...
Can anyone tell me where I have messed up with my code? I have tried many possible solutions to get this to work (including .toString().trim(); inside of onPostExecute). I am using an HttpURLConnection to get responses from my server through a PHP script. My PHP script is "battle tested", and my Android code works fine...
java|android|android-asynctask|conditional
-1
2016-04-20T16:59:41.417Z
2,016
4
16
2
455
1
951
63
4
5
true
false
false
false
false
true
negative
36,750,639
Casting inherited class in List of Superclass after Serialization
<p>I am currently developing an android game with a few classmates. It's an adaption of a board-game with cards and such. We have a server and a clientside, the communication works with Spring Boot.</p> <p>I am facing a problem regarding the casting of elements of a list. We have a deck (ArrayList&lt; Card>) and we ha...
I am currently developing an android game with a few classmates. It's an adaption of a board-game with cards and such. We have a server and a clientside, the communication works with Spring Boot. I am facing a problem regarding the casting of elements of a list. We have a deck (ArrayList< Card>) and we have multiple ty...
java|android|spring|rest|inheritance
0
2016-04-20T17:08:11.297Z
2,016
4
17
2
684
1
981
65
5
3
true
false
false
false
false
false
zero
36,750,646
After clicking button stament jump by 2
<p>Why when i first click on button its jump 2 month but after click its going 1 by 1 and when i click the another button its doing the same. What i doing bad ? i paste all the code because i dont know where is a problem. `</p> <pre><code>public class MainActivity extends AppCompatActivity { static int month; @Overrid...
Why when i first click on button its jump 2 month but after click its going 1 by 1 and when i click the another button its doing the same. What i doing bad ? i paste all the code because i dont know where is a problem. ` [CODE] }`
android
0
2016-04-20T17:08:26.330Z
2,016
4
17
2
18
2
230
39
1
1
true
false
false
false
false
false
zero
36,750,659
NFC Tag caught by android's default Tag Viewer instead of app
<p>I've followed differents tutorials and read some fix related to that issue and still, nothing seems to work... Whenever I scan a NFC tag, it opens the default android app called <em>Tag Viewer</em> telling me "<strong>New tag collected</strong>" and with the body "<strong>Empty tag</strong>" and nothing happens with...
I've followed differents tutorials and read some fix related to that issue and still, nothing seems to work... Whenever I scan a NFC tag, it opens the default android app called Tag Viewer telling me " New tag collected " and with the body " Empty tag " and nothing happens within my app. I can't get any log printed... ...
android|nfc
2
2016-04-20T17:08:51.360Z
2,016
4
17
2
1,649
2
508
61
2
4
true
false
false
false
false
false
low
36,750,664
'No such file or directory' error on Filereader - Android
<p>I'm trying to import a CSV in my SQLite database on Android, using an intent to have the user choose the CSV file.</p> <p>I get an ENOENT error on : <code>FileReader file = new FileReader(fileName);</code></p> <p>The file does exist since I get the path form an intent !</p> <p><strong>My manifest</strong> include...
I'm trying to import a CSV in my SQLite database on Android, using an intent to have the user choose the CSV file. I get an ENOENT error on : FileReader file = new FileReader(fileName); The file does exist since I get the path form an intent ! My manifest includes : [CODE] My intent : [CODE] My onActivityResult(...) : ...
java|android
1
2016-04-20T17:09:05.823Z
2,016
4
17
2
1,008
1
470
57
2
5
true
false
false
false
false
false
low
36,750,729
Need to toggle vibrator option on or off
<p>I am currently building my first android application using android studio. I have a button pressing game and currently it vibrates when pressing a button during the game. I want to make a toggle to turn the button on and off. Currently, I have something like this:</p> <pre><code>public void onCheckBoxClicked(View v...
I am currently building my first android application using android studio. I have a button pressing game and currently it vibrates when pressing a button during the game. I want to make a toggle to turn the button on and off. Currently, I have something like this: [CODE] I am receiving an error with regards to the line...
java|android
1
2016-04-20T17:12:27.270Z
2,016
4
17
2
286
1
594
40
2
2
true
false
false
false
false
false
low
36,750,734
How to drag a imageview in android studio?
<p>I'm using this tutorial to create a imageview and drag it over the screen</p> <p><a href="http://www.tutorialspoint.com/android/android_drag_and_drop.htm" rel="nofollow">http://www.tutorialspoint.com/android/android_drag_and_drop.htm</a></p> <p>but when i drag the image in my emulator and i drop it disappears! how...
I'm using this tutorial to create a imageview and drag it over the screen http://www.tutorialspoint.com/android/android_drag_and_drop.htm but when i drag the image in my emulator and i drop it disappears! how can i fix that? here is my layout file [CODE] and here is my java activity file [CODE] Thanks in advance!
android|android-layout|android-studio|drag-and-drop|android-imageview
0
2016-04-20T17:12:39.560Z
2,016
4
17
2
3,322
1
314
42
5
2
true
false
true
false
false
false
zero
36,750,940
Sending data from notification to closed activity
<p>I've decided to make my simple receiving/sending sms app. For now almost all functionality works good except one thing - sending data from notification to closed app. For example, when user receives an sms and notification pops up, he pushes on it and Main Activity launches. In this Main Activity should be shown tex...
I've decided to make my simple receiving/sending sms app. For now almost all functionality works good except one thing - sending data from notification to closed app. For example, when user receives an sms and notification pops up, he pushes on it and Main Activity launches. In this Main Activity should be shown text f...
java|android|notifications
0
2016-04-20T17:23:51.210Z
2,016
4
17
2
384
1
583
49
3
3
true
false
false
false
false
false
zero
36,751,000
Developing simple Quiz application with Local Sqlite databese but score not incress
<p>I am using local SQlite database to get data. It correctly displays in the view, but the score is not increased. Can you see the problem? </p> <pre><code>RadioGroup grp = (RadioGroup) findViewById(R.id.radioGroup1); RadioButton answer = (RadioButton) findViewById(grp.getCheckedRadioButtonId()); Log.d("yourans", c...
I am using local SQlite database to get data. It correctly displays in the view, but the score is not increased. Can you see the problem? [CODE] Here is log output: 04-20 17:32:50.448 19972-19972/com.example.zeenat.quizappsqlite D/yourans: C HP 04-20 17:32:51.648 19972-19972/com.example.zeenat.quizappsqlite D/yourans: ...
java|android|sql
0
2016-04-20T17:27:05.133Z
2,016
4
17
2
37
1
573
83
3
1
true
false
false
false
false
false
zero
36,751,077
How can I refresh my android List View using custom adapter
<p>I want the list to get refreshed so that I can see the reflected changes</p> <p>Here s the listing activity. This mainly displays the list of items along with the cost,quantity etc. Each time I refresh I want the updated info if changed in the cloud.</p> <pre><code>@Override protected void onCreate( Bundle savedIn...
I want the list to get refreshed so that I can see the reflected changes Here s the listing activity. This mainly displays the list of items along with the cost,quantity etc. Each time I refresh I want the updated info if changed in the cloud. [CODE] } Here's the custom adapter [CODE] }
android|listview|pull-to-refresh|backendless
1
2016-04-20T17:30:20.493Z
2,016
4
17
2
135
0
287
59
4
2
true
true
false
false
false
false
low
36,751,150
Importing JDBC into Android Studio errors
<p>I am currently working on an Android app and I am attempting to retrieve information from a MySQL database. I am trying to use JDBC as instructed by my professors, but I keep running into problems.</p> <p>I have installed the MySQL Connector/ODBC 5.3, set a CLASSPATH environment variable for the driver I am attempt...
I am currently working on an Android app and I am attempting to retrieve information from a MySQL database. I am trying to use JDBC as instructed by my professors, but I keep running into problems. I have installed the MySQL Connector/ODBC 5.3, set a CLASSPATH environment variable for the driver I am attempting to use,...
java|android|mysql|jdbc
1
2016-04-20T17:33:54.980Z
2,016
4
17
2
5,190
1
1,852
41
4
3
true
false
true
false
false
false
low
36,751,186
ViewPager pageSelected is not working properly
<p>I'm trying to add a ViewPager to my app, and it is not working really good. This is the case:</p> <ul> <li>I start the application, in position 0 of my Viewpager, everything is fine.</li> <li>I scroll right to position 2 and all still working</li> <li>I scroll to position 3 and it is empty (sometimes)</li> <li>Afte...
I'm trying to add a ViewPager to my app, and it is not working really good. This is the case: I start the application, in position 0 of my Viewpager, everything is fine. I scroll right to position 2 and all still working I scroll to position 3 and it is empty (sometimes) After this, if I back to position 0 or 3 it is e...
android|xml|view|opengl-es|android-viewpager
2
2016-04-20T17:34:57.813Z
2,016
4
17
2
440
1
944
46
5
3
true
false
false
false
false
false
low
36,751,190
Shared preferences logging system in android
<p>I searched in stackoverflow and i could not find anything like this. I want to make a logging system like registration and login. But the following code does not work when clicked LogIN. There is probably error in the if logic. please help'.</p> <p>MainActivity.java</p> <pre><code>package com.example.asifsabir.sha...
I searched in stackoverflow and i could not find anything like this. I want to make a logging system like registration and login. But the following code does not work when clicked LogIN. There is probably error in the if logic. please help'. MainActivity.java [CODE] activity_main.xml [CODE]
java|android|sharedpreferences
-3
2016-04-20T17:35:19.963Z
2,016
4
17
2
449
2
291
44
3
2
true
false
false
false
false
true
negative
36,751,243
How to get Unix timestamp while pinging in Android
<p>I have been able to perform rudimentary pings in android and have been able to get the result using Processes in android. My code is as follows</p> <pre><code>try { String pingCmd = "ping -s 100 -c 10 " + host; String pingResult = ""; Runtime r = Runtime.getRuntime(); Process p = r.exec(pingCmd); ...
I have been able to perform rudimentary pings in android and have been able to get the result using Processes in android. My code is as follows [CODE] I am running the following command String pingCmd = "ping -s 100 -c 10 " + host; . I want to get the unix timestamp with each ping I have already tried the following and...
android|linux|unix|ping|unix-timestamp
0
2016-04-20T17:37:35.233Z
2,016
4
17
2
261
1
888
50
5
2
true
false
false
false
false
false
zero
36,751,253
BLE Advertisement in Android
<p>I am developing and app to Send BLE Advertisement packet in android. I have use AdvertiseData and AdverstiseSettings classes to generate the advertise packet. But when i do the StartAdvertising it always gives me an error with Error Code "2" , <em>"ADVERTISE_FAILED_TOO_MANY_ADVERTISERS", "Failed to start advertising...
I am developing and app to Send BLE Advertisement packet in android. I have use AdvertiseData and AdverstiseSettings classes to generate the advertise packet. But when i do the StartAdvertising it always gives me an error with Error Code "2" , "ADVERTISE_FAILED_TOO_MANY_ADVERTISERS", "Failed to start advertising becaus...
android|bluetooth-lowenergy|ads
6
2016-04-20T17:37:52.127Z
2,016
4
17
2
13,600
3
533
28
3
2
true
false
true
true
false
false
medium
36,751,370
Change 'Floating Action Button' behavior according to the current Fragment
<p>I have implemented a FAB's setOnClickListener() in MainActivity and it is working without any issue.</p> <p>I have 8 different Fragments (one shows a WebView, anoother loads a RecyclerView, etc..) based on the selection from the navigation drawer.</p> <p>The FAB appears and its current action is playing a default ...
I have implemented a FAB's setOnClickListener() in MainActivity and it is working without any issue. I have 8 different Fragments (one shows a WebView, anoother loads a RecyclerView, etc..) based on the selection from the navigation drawer. The FAB appears and its current action is playing a default song, which is work...
android|android-fragments|floating-action-button|fragmentmanager
1
2016-04-20T17:44:49.057Z
2,016
4
17
2
1,731
1
1,388
74
4
0
false
false
false
false
false
false
low
36,751,442
not showing alertdialog box
<pre><code> DialogInterface.OnClickListener clickListener= new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { switch (which) { case BUTTON_POSITIVE : udb.signout...
[CODE] this my code for showing pop up dialog box.. but I'm getting problem on "builder.show()" line. And I can't understand what i did wrong. Please. I'll appreciate any help
android|android-alertdialog
1
2016-04-20T17:48:47.810Z
2,016
4
17
2
2,385
4
175
27
2
1
true
false
false
false
false
false
low
36,751,791
Safetynet API helper error
<p>I wanted to implement safety net API to verify the device status one of the easiest methods I found is a safety net helper class which makes the implementation so simple github.com/scottyab/safetynethelper. I copied all the class from safetynetlib and added them to my code. I followed the method for implantation but...
I wanted to implement safety net API to verify the device status one of the easiest methods I found is a safety net helper class which makes the implementation so simple github.com/scottyab/safetynethelper. I copied all the class from safetynetlib and added them to my code. I followed the method for implantation but I ...
android|google-api|android-security|safetynet
2
2016-04-20T18:06:21.667Z
2,016
4
18
2
1,243
1
4,111
26
4
1
true
false
false
false
false
false
low
36,751,805
React-native fetch method response json contains another json
<p>I'm trying to basically extract errcode from this json which I received from fetch</p> <p><code>{ 04-20 13:59:21.982 1655 1825 I ReactNativeJS: "token" : "36b95550-f782-4efc-b96d-2cefa3c9fc3f", 04-20 13:59:21.982 1655 1825 I ReactNativeJS: "error" : { 04-20 13:59:21.982 1655 1825 I ReactNativeJS: "err...
I'm trying to basically extract errcode from this json which I received from fetch { 04-20 13:59:21.982 1655 1825 I ReactNativeJS: "token" : "36b95550-f782-4efc-b96d-2cefa3c9fc3f", 04-20 13:59:21.982 1655 1825 I ReactNativeJS: "error" : { 04-20 13:59:21.982 1655 1825 I ReactNativeJS: "errcode" : 0 04-20 13:59:21.982 16...
android|json|react-native
0
2016-04-20T18:06:58.903Z
2,016
4
18
2
686
1
563
61
3
2
true
false
false
false
false
false
zero
36,751,856
Text view is null
<p>I am developing app with card view.But I cant get the <code>textview</code> id.I used <code>recyclerview</code> adapter.In that I inflate carview.The card view contains the text I needed.All other <code>textViews</code> are working correctly.So by this I am getting <code>null pointer Exception</code> <a href="http:/...
I am developing app with card view.But I cant get the textview id.I used recyclerview adapter.In that I inflate carview.The card view contains the text I needed.All other textViews are working correctly.So by this I am getting null pointer Exception This is the image when debugging .My recyclerview adapter class [CODE]...
android|null|textview|android-recyclerview
0
2016-04-20T18:10:09.367Z
2,016
4
18
2
292
0
361
17
4
3
true
true
false
false
false
false
zero
36,751,914
Cost of invoking a method on Android
<p>I created a method that's only called in one place - from <code>onBindViewHolder()</code> in a RecyclerView. It was a logical unit of code, and I think that extracting that code block into a method improved readability. However, during a code review, I was advised that the method invocation was expensive, so it woul...
I created a method that's only called in one place - from onBindViewHolder() in a RecyclerView. It was a logical unit of code, and I think that extracting that code block into a method improved readability. However, during a code review, I was advised that the method invocation was expensive, so it would negatively imp...
java|android|performance|jvm|android-runtime
5
2016-04-20T18:13:20.477Z
2,016
4
18
2
323
2
1,106
36
5
0
false
false
false
false
false
false
low
36,751,959
Save Button in Message Protocol in MVVMCross
<p>I have been trying to update the parameters from <code>DetailViewModel</code> to <code>MainViewModel</code> via using message protocol in mvvmcross. The following code works if you want to update the properties on-the-fly; however, I am confused because I have <code>save</code> button which allows user to confirm hi...
I have been trying to update the parameters from DetailViewModel to MainViewModel via using message protocol in mvvmcross. The following code works if you want to update the properties on-the-fly; however, I am confused because I have save button which allows user to confirm his changes in the DetailViewModel before go...
c#|android|xamarin|mvvmcross
0
2016-04-20T18:16:13.903Z
2,016
4
18
2
63
2
483
44
4
3
true
false
false
false
false
false
zero
36,752,028
Set up SonarQube 5.4 for multi-module project with Gradle: Class XYZ is not accessible through the ClassLoader
<p>I'm struggling to set up correctly SonarQube 5.4 for a multi-module project. I've read <a href="https://stackoverflow.com/questions/21779791/fixing-class-is-not-accessible-through-the-classloader-warning-with-jenkins">here</a>, <a href="https://stackoverflow.com/questions/31544111/warn-class-xxx-xxx-xxx-is-not-acces...
I'm struggling to set up correctly SonarQube 5.4 for a multi-module project. I've read here , here and here , all of the provided solutions doesn't solve my errors: I got during a Sonar analyze for every class I created (not for libraries I included) a warning: "Class XYZ is not accessible through the ClassLoader." and...
android|gradle|sonarqube|sonarqube-scan
3
2016-04-20T18:20:08.347Z
2,016
4
18
2
1,179
1
749
110
4
1
true
false
false
false
false
false
low
36,752,222
How to reference or "find" a PreferenceActivity?
<p>I have legacy code which extends PreferenceActivity with a subclass called "Preferences". The PreferenceActivity is invoked as follows:</p> <pre><code> Intent intent = new Intent(this, Preferences.class); this.startActivity(intent); </code></pre> <p>The OnSharedPreferenceChangeListener exists in a another f...
I have legacy code which extends PreferenceActivity with a subclass called "Preferences". The PreferenceActivity is invoked as follows: [CODE] The OnSharedPreferenceChangeListener exists in a another fragment (not the PreferenceActivity subclass) but needs a reference to the PreferenceActivity in order to modify attrib...
android|preferenceactivity
7
2016-04-20T18:29:55.700Z
2,016
4
18
2
361
1
1,602
48
2
5
true
false
false
false
false
false
medium
36,752,237
Prevent dex core-library error for xalan with gradle 2.0.0
<p>I try to get xalan 2.7.2 working with Android using gradle 2.0.0 (gradle wrapper 2.10)</p> <p>I have added xalan 2.7.2 and also tagsoup 1.2.1 to my gradle dependencies in order to get a valid SAX2DOM document from sloppy HTML sources</p> <p>But: If I run the gradle build for this setup, I immediately get an error:...
I try to get xalan 2.7.2 working with Android using gradle 2.0.0 (gradle wrapper 2.10) I have added xalan 2.7.2 and also tagsoup 1.2.1 to my gradle dependencies in order to get a valid SAX2DOM document from sloppy HTML sources But: If I run the gradle build for this setup, I immediately get an error: [CODE] So I tried ...
android|android-gradle-plugin|dex|xalan
2
2016-04-20T18:30:30.517Z
2,016
4
18
2
516
2
2,159
58
4
3
true
false
false
false
false
false
low
36,752,291
Add spacing between buttons in LinearLayout that's inside a HorizontalScrollView
<p>I've attempted to change the X position of the buttons, it works but the buttons then end up getting caught off by the HorizontalScrollView. All I want to do is add spacing between the buttons.</p> <p>Here is the code I'm using to display the buttons programmatically:</p> <pre><code>@TargetApi(21) private void loa...
I've attempted to change the X position of the buttons, it works but the buttons then end up getting caught off by the HorizontalScrollView. All I want to do is add spacing between the buttons. Here is the code I'm using to display the buttons programmatically: [CODE] Here is the HorizontalScrollView: [CODE] Here is a ...
android|android-linearlayout|horizontalscrollview|spacing
0
2016-04-20T18:33:24.197Z
2,016
4
18
2
546
1
376
80
4
2
true
false
false
false
false
false
zero
36,752,354
Functions overlapping each other in Android
<p>I'm building an Android application and on my MainActivity I have a "switch" button and right below it I have a bar with three different tabs.</p> <p>The switch button can be set in "on" and "off". It was the first thing I tried to do and it worked just fine. But after I added this bar with tabs the switch button s...
I'm building an Android application and on my MainActivity I have a "switch" button and right below it I have a bar with three different tabs. The switch button can be set in "on" and "off". It was the first thing I tried to do and it worked just fine. But after I added this bar with tabs the switch button stopped work...
android|tabs|overlap|overlapping
1
2016-04-20T18:36:28.247Z
2,016
4
18
2
73
1
641
43
4
2
true
false
false
false
false
false
low
36,752,420
Get a specific record in a table of SQL Lite database
<p>I have a SQL Lite database in my app. It consist of a table with 3 columns namely, id, keyword and text. The id is int type which is auto-incremented, the keyword and text are of type string. Say for example i have these 3 records in table:</p> <pre><code>id | keyword | text 1 | morning | "good morning" ...
I have a SQL Lite database in my app. It consist of a table with 3 columns namely, id, keyword and text. The id is int type which is auto-incremented, the keyword and text are of type string. Say for example i have these 3 records in table: [CODE] What i am looking for is a function in format below that returns specifi...
java|android|mysql|sql|sqlite
-1
2016-04-20T18:40:15.433Z
2,016
4
18
2
124
1
621
53
5
2
true
false
false
false
false
true
negative
36,752,429
Kivy DropDown not working on Android
<p>I'm using DropDown on a App but it is not working on Android. When I run on my notebook, it works fine. But on Android when I touch the DropDown seems that "the button was clicked" but I can't see the elements of the DropDown, nothing happen. </p> <p>This is my main.py:</p> <p><pre></p> <code>from kivy.app import...
I'm using DropDown on a App but it is not working on Android. When I run on my notebook, it works fine. But on Android when I touch the DropDown seems that "the button was clicked" but I can't see the elements of the DropDown, nothing happen. This is my main.py: [CODE] Is there any different thing to do for working wel...
android|python|drop-down-menu|kivy|dropdown
1
2016-04-20T18:40:27.393Z
2,016
4
18
2
213
0
333
36
5
1
true
true
false
false
false
false
low
36,752,559
Safely store/modify/delete a string in Android
<p>I'm making a project in which I need to store a specific string in my application. I must be able to Store it, Delete it, and Modify it at any given time AFTER the user authenticates, which is done by using the fingerprint API.</p> <p>If possible, I would like to make sure that ONLY the selected fingerprint, or ONL...
I'm making a project in which I need to store a specific string in my application. I must be able to Store it, Delete it, and Modify it at any given time AFTER the user authenticates, which is done by using the fingerprint API. If possible, I would like to make sure that ONLY the selected fingerprint, or ONLY the finge...
java|android|android-studio
1
2016-04-20T18:47:15.527Z
2,016
4
18
2
60
2
723
46
3
1
true
false
false
false
false
false
low
36,752,601
Android cancel ongoing notification not working
<p>There seems to be other questions regarding cancelling ongoing notification.<br> However, i really look into quite a number of them and still have no solution.</p> <pre><code>SettingFragment public class SettingFragment extends Fragment { private Switch mSwitchNotific; mSwitchNotific.setOnCheckedChangeListe...
There seems to be other questions regarding cancelling ongoing notification. However, i really look into quite a number of them and still have no solution. [CODE] [CODE] UpdateStepNotificationService for repeating issue new notification with latest step count. The notification is with FLAG_NO_CLEAR and FLAG_ONGOING_EVE...
android|notifications|android-service|android-notifications
0
2016-04-20T18:49:42.867Z
2,016
4
18
2
794
1
534
47
4
2
true
false
false
false
false
false
zero
36,752,617
Android SDK. Can't start AVD
<p><strong><em>Problem:</em></strong> I'm using only command line tools. AVD just worked fine some time ago. Now with various configurations I get only "Starting emulator for AVD..." which simply closes without any error messages and leaving emulator.exe in Task Manager for eternity.</p> <p><strong><em>What I've t...
Problem: I'm using only command line tools. AVD just worked fine some time ago. Now with various configurations I get only "Starting emulator for AVD..." which simply closes without any error messages and leaving emulator.exe in Task Manager for eternity. What I've tried: Various devices, API's, RAM above and below 768...
android|android-emulator|windows-10|cpu-architecture|android-x86
4
2016-04-20T18:50:37.867Z
2,016
4
18
2
7,605
3
1,528
28
5
0
false
false
true
false
false
false
low
36,752,652
Why my Select statement does not return any data?
<p>I've created two tables with a foreign key. The insertion of data has succeeded, but when I use a SELECT statement then no data is showing. The code is below.</p> <pre><code>public static final String CREATE_TABLE_BLOCK_LIST = "CREATE TABLE " + TABLE_BLOCK_LIST + "(" + ID_BLOCK_LIST + " INTEGER PRIMARY ...
I've created two tables with a foreign key. The insertion of data has succeeded, but when I use a SELECT statement then no data is showing. The code is below. [CODE] SELECT statement [CODE] Kindly guide me where the problem is.
android|sql|sqlite|select|join
0
2016-04-20T18:52:14.330Z
2,016
4
18
2
43
1
227
49
5
2
true
false
false
false
false
false
zero
36,752,908
why my AsyncTask class isnt debugged?
<p>i have a problem with android application that contain a AsyncTask. When i try to debug it androidStudio bring me to a section of comments of asynctask. i don't understand if this problem is caused by problem on library or if the problem is on the logic of costruction: i have a class that </p> <p>-fetch an integer ...
i have a problem with android application that contain a AsyncTask. When i try to debug it androidStudio bring me to a section of comments of asynctask. i don't understand if this problem is caused by problem on library or if the problem is on the logic of costruction: i have a class that -fetch an integer from UI then...
java|android|android-studio|android-asynctask
0
2016-04-20T19:04:22.293Z
2,016
4
19
2
48
1
503
37
4
1
true
false
false
false
false
false
zero
36,752,931
Having trouble with Android recyclerview with GridLayoutManager in Marshmallow
<p>Hi I'm having trouble using recyclerview with GridLayoutManager in Marshmallow. I use a fragment to make a list and here is the code</p> <pre><code>private RecyclerView mRecyclerView; private RecyclerCategoryAdapter mListAdapter; private GridLayoutManager mLayoutManager; @Override public View onCreateView(LayoutIn...
Hi I'm having trouble using recyclerview with GridLayoutManager in Marshmallow. I use a fragment to make a list and here is the code [CODE] so in case there is header or footer in the list I tried to make the content to fill the width of the screen otherwise it should be 2 column grid layout. The app crashes on the fir...
android|android-recyclerview|android-6.0-marshmallow|gridlayoutmanager
3
2016-04-20T19:05:40.303Z
2,016
4
19
2
1,175
1
1,229
78
4
3
true
false
false
false
false
false
low
36,753,069
Updating a column variable using mysql and php
<p>I am trying to update a column called attendance in my already existing database. Basically, I need to increment the count of attendance column in the database hosted on my server through my android application. Following is the code using Async, but it returns a nullpointer exception at onPostExecute.</p> <pre><co...
I am trying to update a column called attendance in my already existing database. Basically, I need to increment the count of attendance column in the database hosted on my server through my android application. Following is the code using Async, but it returns a nullpointer exception at onPostExecute. [CODE] And follo...
php|android|mysql
-1
2016-04-20T19:12:22.963Z
2,016
4
19
2
75
1
345
46
3
2
true
false
false
false
false
true
negative
36,753,162
Android tabbed activity recycler isn't showing and is causing the top bar to scroll
<p>I have been trying to create a tabbed activity for a simple planner application (appropriate files <a href="https://gist.github.com/Cameronlund4/0e248ea3106d247b52f914affda1885c" rel="nofollow">here</a>). I have a RecyclerView inside of a fragment, which is being displayed in a ViewPager that's assigned with the tab...
I have been trying to create a tabbed activity for a simple planner application (appropriate files here ). I have a RecyclerView inside of a fragment, which is being displayed in a ViewPager that's assigned with the tabs. The issue is, when I use a RecyclerView, the content's don't show and the tabs and action bar scro...
android|android-fragments|android-recyclerview
-1
2016-04-20T19:17:16.270Z
2,016
4
19
2
40
1
1,445
83
3
0
false
false
false
false
false
true
negative
36,753,190
Save text fields content from Android Tabbed view
<p>I am working on a corporate apps for internal use,</p> <p>one of the sections that is presented to the user is a TabbedView (in fact I made it from the Android Studio "clean sheet", so its Fragment-based and extends AppCompatActivity), each one of the four tabs it is composed of contains a few text fields.</p> <p>...
I am working on a corporate apps for internal use, one of the sections that is presented to the user is a TabbedView (in fact I made it from the Android Studio "clean sheet", so its Fragment-based and extends AppCompatActivity), each one of the four tabs it is composed of contains a few text fields. The user is free to...
android|tabs|save|tabbed|appcompatactivity
0
2016-04-20T19:18:56.787Z
2,016
4
19
2
60
1
1,312
49
5
0
false
false
false
false
false
false
zero
36,753,354
AVD Emulator stuck on loading screen in Android Studio
<p>I decided to try Android Studio 2.0 having used Eclipse in the past but I'm having considerable difficulty getting the AVD to load correctly. I've done quite a bit of googling and research into the problem, both here on SO and Google.So far nothing has worked.</p> <p>The emulator simply hangs on the android load-up...
I decided to try Android Studio 2.0 having used Eclipse in the past but I'm having considerable difficulty getting the AVD to load correctly. I've done quite a bit of googling and research into the problem, both here on SO and Google.So far nothing has worked. The emulator simply hangs on the android load-up screen eve...
android-studio|android-emulator|android-sdk-tools|avd
53
2016-04-20T19:27:22.507Z
2,016
4
19
2
84,771
9
1,961
54
4
1
true
false
true
true
true
false
high
36,753,370
Add Condition for ArrayAdapter in Android
<p>I'm working on Imgur API and I fetched some image links. In a gridview, i am showing all pictures but sometimes api gives ".gif" and picasso cannot load this animated pictures. I want to pass if its a gif which convertview didn't load. As you can see, I'dont want to that gray areas. Do you have any idea? </p> <pre>...
I'm working on Imgur API and I fetched some image links. In a gridview, i am showing all pictures but sometimes api gives ".gif" and picasso cannot load this animated pictures. I want to pass if its a gif which convertview didn't load. As you can see, I'dont want to that gray areas. Do you have any idea? [CODE] 1 : [ ]
android
0
2016-04-20T19:28:30.423Z
2,016
4
19
2
109
1
320
41
1
1
true
false
false
false
false
false
zero
36,753,415
GCM registered device receiving two types of notification
<p>I registered my android device using the <a href="https://developers.google.com/cloud-messaging/android/start" rel="nofollow noreferrer">example project</a> on Google's developer site and only added the configuration file as intended to the project. Now, when I send a notification from my nodeJS server using <code>n...
I registered my android device using the example project on Google's developer site and only added the configuration file as intended to the project. Now, when I send a notification from my nodeJS server using node-gcm , I receive two types of notification: The notification 'GCM Message' is what the app gets by default...
android|node.js|google-cloud-messaging
1
2016-04-20T19:30:37.700Z
2,016
4
19
2
153
1
1,047
57
3
2
true
false
false
false
false
false
low
36,753,465
WaitForGcToComplete blocked for 89.851ms for cause DisableMovingGc
<p>I have two versions of an app, a paid and a free version. Both versions share the same code for a notification service. One version is working the other seems to run through the code and starts the method to show the alert but this never displays to the user and instead I get this in the logcat:</p> <pre><code>20:2...
I have two versions of an app, a paid and a free version. Both versions share the same code for a notification service. One version is working the other seems to run through the code and starts the method to show the alert but this never displays to the user and instead I get this in the logcat: [CODE] There are quite ...
java|android|garbage-collection|android-notifications|mixpanel
6
2016-04-20T19:33:33.343Z
2,016
4
19
2
15,408
1
972
66
5
3
true
false
true
true
false
false
medium
36,753,486
Android reports "Error=Unable to find instrumentation info for: ComponentInfo {}"
<p>There are a lot of topics/questions regard this issue on stackoverflow (such as <a href="https://stackoverflow.com/q/21294945/513413">Error=Unable to find instrumentation info for: ComponentInfo{ }</a>) and other website but the thing that make my problem different than others is I am working on automation. So let m...
There are a lot of topics/questions regard this issue on stackoverflow (such as Error=Unable to find instrumentation info for: ComponentInfo{ } ) and other website but the thing that make my problem different than others is I am working on automation. So let me give you more details. I have no problem when I'm testing ...
android|automation|android-espresso|bitrise
8
2016-04-20T19:34:40.233Z
2,016
4
19
2
6,037
1
967
81
4
4
true
false
true
false
false
false
medium
36,753,541
Error When Stubbing Intent with Espresso
<p>I have two applications that interact with each other through intents. I would like to verify that let's say <em>App A</em> correctly calls the <code>startActivity</code> for <em>App B</em> without actually launching <em>App B</em>. I have tried various combinations of <code>intending</code> and Espresso still launc...
I have two applications that interact with each other through intents. I would like to verify that let's say App A correctly calls the startActivity for App B without actually launching App B . I have tried various combinations of intending and Espresso still launches App B through the intent instead of just stubbing i...
android|android-intent|android-espresso
10
2016-04-20T19:37:17.830Z
2,016
4
19
2
1,711
2
455
40
3
2
true
false
false
false
true
false
medium
36,753,548
keyCode on android is always 229
<p>On my Samsung Galaxy tab 4 (Android 4.4.2, Chrome: 49.0.2623.105) I ran into a situation where the keyCode is always 229.</p> <p>I've setup a simple test for two situation</p> <pre><code>&lt;div contenteditable=&quot;true&quot;&gt;&lt;/div&gt; &lt;input&gt; &lt;span id=&quot;keycode&quot;&gt;&lt;/span&gt; </code></p...
On my Samsung Galaxy tab 4 (Android 4.4.2, Chrome: 49.0.2623.105) I ran into a situation where the keyCode is always 229. I've setup a simple test for two situation [CODE] script: [CODE] DEMO Fortunately I can find posts about this, but I couldn't find one with a working solution. Someone suggested to use keyup instead...
javascript|android|html|keyevent
78
2016-04-20T19:37:28.050Z
2,016
4
19
2
57,200
10
592
32
4
2
true
false
true
true
true
false
high
36,753,605
insert into from one table to another with select (android sqlite)
<p>I have two tables with exactly the same columns, except that the 2nd one has some additional ones. </p> <p>I want to copy all of the data, except for the _id column from the 1st table into the 2nd. The names of the columns are exactly the same in both tables.</p> <p>Here's the first table</p> <pre><code>private s...
I have two tables with exactly the same columns, except that the 2nd one has some additional ones. I want to copy all of the data, except for the _id column from the 1st table into the 2nd. The names of the columns are exactly the same in both tables. Here's the first table [CODE] and the 2nd one [CODE] I'm trying to c...
android|mysql|sqlite
0
2016-04-20T19:40:14.807Z
2,016
4
19
2
407
1
518
66
3
3
true
false
false
false
false
false
zero
36,753,651
Unable to add certificates generated form String to my custom TrustManagers
<p>I'm trying to create an array of TrustManagers populated with CA certificates decoded from Base64-encoded PEM Strings to pass it in SSLSocketFactory. Here is my code:</p> <pre><code>public static TrustManager[] getCustomTrustManagers(List&lt;CertObject&gt; certObjects) { TrustManagerFactory tmf; try { ...
I'm trying to create an array of TrustManagers populated with CA certificates decoded from Base64-encoded PEM Strings to pass it in SSLSocketFactory. Here is my code: [CODE] The certificate is successfully generated, I see the valid instance of X509Certificate, but then it fails in [CODE] I have the following error: [C...
java|android|x509certificate
1
2016-04-20T19:42:20.740Z
2,016
4
19
2
679
1
633
75
3
3
true
false
false
false
false
false
low
36,753,770
Go back in webview by pressing "back button"
<p>How can I go back one page while in webview? For example: I am on my app in activity and browsing pages in webview, but once I press back button it will exit the app or just goes back in activity instead of the page..</p> <p>I have done my research and overriding onBackPressed function doesnt work. </p> <pre><code...
How can I go back one page while in webview? For example: I am on my app in activity and browsing pages in webview, but once I press back button it will exit the app or just goes back in activity instead of the page.. I have done my research and overriding onBackPressed function doesnt work. [CODE] Whole fragment code:...
android|webview
0
2016-04-20T19:48:30.143Z
2,016
4
19
2
674
2
365
44
2
2
true
false
false
false
false
false
zero
36,753,822
System.FormatException in MVVMCross
<p>The following code updates properties on-the-fly via mvvmcross messaging protocol. </p> <p>The problem that I am facing now, when user clears either <code>age</code> or <code>category</code> textviews, then I am getting systemformat exception, I guess when <code>textview</code> gets blank, it does not parse it to a...
The following code updates properties on-the-fly via mvvmcross messaging protocol. The problem that I am facing now, when user clears either age or category textviews, then I am getting systemformat exception, I guess when textview gets blank, it does not parse it to a number? System.FormatException: Input string was n...
c#|android|xamarin|mvvmcross
0
2016-04-20T19:51:02.730Z
2,016
4
19
2
86
1
414
35
4
3
true
false
false
false
false
false
zero
36,753,962
Scroll ListView instead of his Items
<p>I have a layout which is divided in other two layouts: a LinearLayout for the "Header" and a RelativeLayout for the "Content".</p> <p>In the content layout I have a ListView that needs to grown when the user scrolls, and hide this same ListView behind the header layout. Basically, I need something like this:</p> <...
I have a layout which is divided in other two layouts: a LinearLayout for the "Header" and a RelativeLayout for the "Content". In the content layout I have a ListView that needs to grown when the user scrolls, and hide this same ListView behind the header layout. Basically, I need something like this: What would be the...
android|listview|layout
0
2016-04-20T19:58:04.613Z
2,016
4
19
2
27
1
527
36
3
1
true
false
false
false
false
false
zero
36,753,968
I can't import com.itextpdf.text.Document class
<p>I'm building an android app and I want to use iText for creating pdf file, but I can't use Document class. As I seen in tutorials, there should be import com.itextpdf.text.Document for using Document class. For this app, I'm using com.itextpdf:itext-pdfa:5.5.9 library. I want to create a simple pdf file with 2 parag...
I'm building an android app and I want to use iText for creating pdf file, but I can't use Document class. As I seen in tutorials, there should be import com.itextpdf.text.Document for using Document class. For this app, I'm using com.itextpdf:itext-pdfa:5.5.9 library. I want to create a simple pdf file with 2 paragrap...
java|android|pdf|itext|document
3
2016-04-20T19:58:15.183Z
2,016
4
19
2
12,890
2
416
47
5
1
true
false
true
true
false
false
low
36,754,097
Ionic Post Request File Not Found
<p>I'm trying to make a simple post request by running my app on an Android device (6.0.1). AFAIK there is no CORS problem when doing this but the console outputs this:</p> <p>(apiurl is replacing the actual url for reasons, the actual url is an IP address)</p> <pre><code>POST file:///android_asset/www/apiurl net::ER...
I'm trying to make a simple post request by running my app on an Android device (6.0.1). AFAIK there is no CORS problem when doing this but the console outputs this: (apiurl is replacing the actual url for reasons, the actual url is an IP address) [CODE] I've added the cordova whitelist plugin and set my content securi...
android|angularjs|cordova|ionic-framework
1
2016-04-20T20:05:21.940Z
2,016
4
20
2
423
2
374
33
4
3
true
false
false
false
false
false
low
36,754,116
Make addAction work for android notification
<p>I'm trying to do something when user hits action button in the notification. Notifications are showing with action button present. Yet for some reason, action is not firing; receiver is not getting the message. In fact, neither receiver is getting the intent - WakefulBroadcastReceiver (for alerts), BootReceiver (to ...
I'm trying to do something when user hits action button in the notification. Notifications are showing with action button present. Yet for some reason, action is not firing; receiver is not getting the message. In fact, neither receiver is getting the intent - WakefulBroadcastReceiver (for alerts), BootReceiver (to set...
android|android-intent|notifications|android-service|android-pendingintent
1
2016-04-20T20:06:31.380Z
2,016
4
20
2
620
1
501
44
5
3
true
false
false
false
false
false
low
36,754,157
Hide elements from Array Adapter, not remove them
<p>I am trying to hide some elements in my Array Adapter of AutoCompleteTextView from google places api. More spesific i want to hide the elements tha their <code>position%2==0</code>. I found some answers in stack overflow that suggests to do this in getView like this:</p> <pre><code>@Override public View getView(int...
I am trying to hide some elements in my Array Adapter of AutoCompleteTextView from google places api. More spesific i want to hide the elements tha their position%2==0 . I found some answers in stack overflow that suggests to do this in getView like this: [CODE] but I do not know what I have to do in the comment area. ...
java|android|android-arrayadapter|google-places-api
1
2016-04-20T20:08:46.040Z
2,016
4
20
2
422
1
350
49
4
2
true
false
false
false
false
false
low
36,754,258
Adding Spring for Android into Android Studio project
<p>I'm trying my hand at android development for the first time, and I'd like to create an app, "MyFirstApp", that's going to make calls to REST services. I did a little research and it looks like Spring for Android is a good tool to help me with this. I've never used Spring, and I'm not very familiar with Android Stud...
I'm trying my hand at android development for the first time, and I'd like to create an app, "MyFirstApp", that's going to make calls to REST services. I did a little research and it looks like Spring for Android is a good tool to help me with this. I've never used Spring, and I'm not very familiar with Android Studio ...
android|spring|android-studio
0
2016-04-20T20:14:45.260Z
2,016
4
20
2
2,515
3
951
53
3
3
true
false
false
false
false
false
zero
36,754,383
ArrayList automatically goes empty
<p>When the app runs, it fetches the users stored on parse server and then adds them to <code>userList</code>. But when I try to print the same list with <code>listView</code>, the <code>listView</code> is empty.</p> <p>I tried placing logs and found the <code>userList</code> has objects when it is in the <code>findIn...
When the app runs, it fetches the users stored on parse server and then adds them to userList . But when I try to print the same list with listView , the listView is empty. I tried placing logs and found the userList has objects when it is in the findInBackground method but after it is over, the size of userList become...
android|parse-platform
1
2016-04-20T20:21:18.340Z
2,016
4
20
2
105
2
393
34
2
1
true
false
false
false
false
false
low
36,754,387
Update ListItem with MessageProtocol in MVVMCross
<p>I have a list item which has more or less around 10 objects. I could able to detect which item is selected and also I sending this item properties into the <code>DetailViewModel</code>,I am using messageprotocol in mvvmcross. </p> <p>I could able to observe changes in the <code>MainViewModel</code> when user enters...
I have a list item which has more or less around 10 objects. I could able to detect which item is selected and also I sending this item properties into the DetailViewModel ,I am using messageprotocol in mvvmcross. I could able to observe changes in the MainViewModel when user enters new value in the edittext in DetailV...
c#|android|xamarin|mvvmcross
0
2016-04-20T20:21:36.910Z
2,016
4
20
2
58
2
511
49
4
4
true
false
false
false
false
false
zero
36,754,417
Fixing the size of watermark in all the Picture Sizes Android
<p>I want to place a watermark in all the images captured by my camera. The problem is the picture sizes are different for front and back camera. So, the watermark is coming of different size. Like in back camera, watermark is coming a little smaller and in front camera, as the picture size is smaller than the rear cam...
I want to place a watermark in all the images captured by my camera. The problem is the picture sizes are different for front and back camera. So, the watermark is coming of different size. Like in back camera, watermark is coming a little smaller and in front camera, as the picture size is smaller than the rear camera...
android|android-camera
0
2016-04-20T20:22:46.727Z
2,016
4
20
2
326
1
637
61
2
2
true
false
false
false
false
false
zero
36,754,829
Android REST API made on PHP connect to app
<p>First hello everyone and thanks for your help, sorry for bad english and if this is a stupid question I'm not that good on programming.</p> <p>So I'm doing an app for my graduation and I'm having this problem I made the connection to the API in the usual way making an config class with the URL of the API that I mad...
First hello everyone and thanks for your help, sorry for bad english and if this is a stupid question I'm not that good on programming. So I'm doing an app for my graduation and I'm having this problem I made the connection to the API in the usual way making an config class with the URL of the API that I made in PHP, b...
java|android|json|rest|android-volley
2
2016-04-20T20:45:18.780Z
2,016
4
20
2
112
0
679
43
5
2
true
true
false
false
false
false
low
36,754,873
Integrating Google Analytics with Android App
<p>I'm setting up an existing app with some of the activity tracking events offered through Google Analytics. I've added all the gradle changes and what not, but I keep getting an error related to having duplicate google_app_ids. I know one of the ids comes from using Google Maps in my app originally. I believe I may h...
I'm setting up an existing app with some of the activity tracking events offered through Google Analytics. I've added all the gradle changes and what not, but I keep getting an error related to having duplicate google_app_ids. I know one of the ids comes from using Google Maps in my app originally. I believe I may have...
android|android-studio|google-analytics|google-analytics-firebase|google-analytics-sdk
3
2016-04-20T20:47:30.030Z
2,016
4
20
2
1,653
2
682
45
5
3
true
false
false
false
false
false
low
36,754,923
Error trying to use GSON with own class
<p>I'm trying to use Google's GSON for the first time in my Android app. I want to use GSON with a class called <code>UserValues</code>, which keeps most of my ArrayList, booleans, Strings and other basic objects in one place. My goal is to save an instance of <code>UserValues</code> into <code>SharedPreferences</code>...
I'm trying to use Google's GSON for the first time in my Android app. I want to use GSON with a class called UserValues , which keeps most of my ArrayList, booleans, Strings and other basic objects in one place. My goal is to save an instance of UserValues into SharedPreferences . I wrote: [CODE] The error I get: [CODE...
java|android|gson|android-sharedpreferences
2
2016-04-20T20:49:45.073Z
2,016
4
20
2
5,500
4
478
39
4
4
true
false
true
false
false
false
low
36,755,134
Proguard and Libgdx NullPointerException at Unknown Source
<p>Hi I'm trying to use proguard in my libgdx project, but I have an error that I can't solve.</p> <p>These are my files: </p> <p><strong>build.gradle :</strong></p> <pre><code>android { buildToolsVersion "23.0.3" compileSdkVersion 23 sourceSets { m...
Hi I'm trying to use proguard in my libgdx project, but I have an error that I can't solve. These are my files: build.gradle : [CODE] proguard-project.txt : [CODE] LogCat : [CODE]
java|android|libgdx|proguard
2
2016-04-20T21:03:11.120Z
2,016
4
21
2
8,203
1
179
58
4
3
true
false
true
false
false
false
low
36,755,143
PopupWindow animation crashes device
<p>I have been trying to run a simple scale animation on my PopupWindow.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;set xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;scale android:duration="800" android:fromXScale="1.0" android:fromYScale="0.0" android:interpol...
I have been trying to run a simple scale animation on my PopupWindow. [CODE] Everything is working perfectly fine until I change duration to about 3000. From that point on, my Galaxy S5 running on Android 5.0(API 21) just hangs for couple of seconds and then crashes. Here is the method that deals with PopupWindow. [COD...
android|animation
0
2016-04-20T21:03:57.820Z
2,016
4
21
2
47
0
669
36
2
4
true
true
false
false
false
false
zero
36,755,192
Drag & Swipe in a RecyclerView List
<p>I've been trying the ItemTouchHelper for Drag and Swipe actions in a RecyclerView List. I've used this <a href="https://medium.com/@ipaulpro/drag-and-swipe-with-recyclerview-b9456d2b1aaf#.us6fdj5ud" rel="nofollow">guide</a> and it's working perfectly, except that i can't make the swipe activate on LongClick. I've ma...
I've been trying the ItemTouchHelper for Drag and Swipe actions in a RecyclerView List. I've used this guide and it's working perfectly, except that i can't make the swipe activate on LongClick. I've managed to do it for the Drag action: [CODE] I don't know how to do it for the swipe, since it doesn't have an onStartSw...
android|android-recyclerview
0
2016-04-20T21:07:14.500Z
2,016
4
21
2
1,278
1
1,518
35
2
3
true
false
false
false
false
false
zero
36,755,208
Set the child ExpandableListView buttons to change the layout when clicked
<p>I'm project in school and need help! I created a ExpandableListView, the problem is I can not create an onClick in the child ExpandableView buttons! I just want to change the layout when clicked on each button ... I even created the layout for each button. I've googled a lot but did not think anything more than a sy...
I'm project in school and need help! I created a ExpandableListView, the problem is I can not create an onClick in the child ExpandableView buttons! I just want to change the layout when clicked on each button ... I even created the layout for each button. I've googled a lot but did not think anything more than a syste...
android|android-layout|listview|expandablelistview
0
2016-04-20T21:08:01.687Z
2,016
4
21
2
440
1
539
74
4
1
true
false
false
false
false
false
zero
36,755,427
Unable to integrate ffmpeg as a native dependency for an Android NDK project
<p>I have an Android NDK project which consists entirely of C/C++ code, and it basically processes images without using any external libraries.</p> <p>I'm using Android Studio + Gradle NDK Experimental plugin (0.7.0-alpha1).</p> <p>Now, I need to integrate ffmpeg as a native library to use it from the C/C++ code in o...
I have an Android NDK project which consists entirely of C/C++ code, and it basically processes images without using any external libraries. I'm using Android Studio + Gradle NDK Experimental plugin (0.7.0-alpha1). Now, I need to integrate ffmpeg as a native library to use it from the C/C++ code in order to decode a H....
android|android-studio|ffmpeg|android-ndk|gradle-experimental
3
2016-04-20T21:21:32.450Z
2,016
4
21
2
707
1
1,100
76
5
2
true
false
false
false
false
false
low
36,755,562
how to realize game dots on canvas?
<p>I make game called dots on canvas. this is the wiki of game: <a href="https://en.wikipedia.org/wiki/Dots_(game)" rel="nofollow">https://en.wikipedia.org/wiki/Dots_(game)</a> I have a problem with drawing a polygon, someone can podskozat how to implement it? Thanks in advance</p> <p><div class="snippet" data-lang="j...
I make game called dots on canvas. this is the wiki of game: https://en.wikipedia.org/wiki/Dots_(game) I have a problem with drawing a polygon, someone can podskozat how to implement it? Thanks in advance [CODE]
arrays|html|canvas|android-canvas|2d-games
0
2016-04-20T21:29:50.217Z
2,016
4
21
2
79
1
211
35
5
1
true
false
false
false
false
false
zero
36,755,582
App crashes on RecyclerView (Adapter) on API 19
<p>I am trying almost whole day, to fix this bug...but logcat doesn't provide enough info for me to understand what i am doing wrong. On my real device, running with API 23, my recyclerview is working well. As soon i run the app on emulator running API 19, my apps crashes, when it start loading adapter of recycleview. ...
I am trying almost whole day, to fix this bug...but logcat doesn't provide enough info for me to understand what i am doing wrong. On my real device, running with API 23, my recyclerview is working well. As soon i run the app on emulator running API 19, my apps crashes, when it start loading adapter of recycleview. On ...
android|android-recyclerview
0
2016-04-20T21:31:20.603Z
2,016
4
21
2
1,183
2
545
47
2
4
true
false
false
false
false
false
zero
36,755,715
Can't open Google Maps Activity. Android
<p>I'm trying to open Google Maps Activity from my Android app and then when i'm clicking on map, getting location. But I can't open my Google Maps Activity. Here is my code where i'm trying to open Activity:</p> <pre><code> public class RegistrationActivity extends AppCompatActivity implements View.OnClickListener...
I'm trying to open Google Maps Activity from my Android app and then when i'm clicking on map, getting location. But I can't open my Google Maps Activity. Here is my code where i'm trying to open Activity: [CODE] Here is my BDMapsActivity.java [CODE] And here is my activity_bdmaps.xml [CODE] It gives me an error: E/And...
java|android|google-maps|android-studio
0
2016-04-20T21:40:11.297Z
2,016
4
21
2
1,272
1
2,386
40
4
3
true
false
false
false
false
false
zero
36,755,817
Android | Send "extras" to BroadcastReceiver
<p>In my app, I download some file with</p> <pre><code> DownloadManager downloadManagerStore = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE); Uri downloadUri = Uri.parse(queryURL); DownloadManager.Request request = new DownloadManager.Request(downloadUri); request.setAllow...
In my app, I download some file with [CODE] And I manage the file with a BroadcastReceiver , this is the code: [CODE] But I do two different download and when they finish the BroadcastReceiver run, but how can I know which download is finish?
android
0
2016-04-20T21:47:47.220Z
2,016
4
21
2
28
1
242
44
1
2
true
false
false
false
false
false
zero
36,755,883
Error when calling getActivity in second fragment
<p>Hello I'm new in android, I'm having inssues when calling a second getActivty in a second fragment. I have a viewPager with 2 fragments, and I want to call a recyclerview on both.</p> <p>When I call getActivity in the first fragment to get the recycleradapter context it's working fine </p> <pre><code>recyclerView ...
Hello I'm new in android, I'm having inssues when calling a second getActivty in a second fragment. I have a viewPager with 2 fragments, and I want to call a recyclerview on both. When I call getActivity in the first fragment to get the recycleradapter context it's working fine [CODE] But when I call it in the second f...
android|android-fragments|android-recyclerview
0
2016-04-20T21:51:25.500Z
2,016
4
21
2
452
1
450
49
3
4
true
false
false
false
false
false
zero
36,755,953
Opening Async Class from BroadcastReceiver
<p>I know this may be simple, and I have seen so many people ask how to open one activity from another, but it does not seem to be working for me. I have one class, "NewInstallReceiver", that extends BroadcastReceiver, and another class, "SendToClient" that extents AsyncTask. I am creating a string variable called "app...
I know this may be simple, and I have seen so many people ask how to open one activity from another, but it does not seem to be working for me. I have one class, "NewInstallReceiver", that extends BroadcastReceiver, and another class, "SendToClient" that extents AsyncTask. I am creating a string variable called "applic...
java|android|android-asynctask|broadcastreceiver
0
2016-04-20T21:55:50.397Z
2,016
4
21
2
23
0
992
42
4
3
true
true
false
false
false
false
zero
36,756,062
Cannot start a Virtual Device on Mac OS X El Capitan
<p>I wanted to do the simple <a href="https://developer.xamarin.com/guides/android/getting_started/hello,android/hello,android_quickstart/" rel="nofollow">Tutorial</a> available on the <code>Xamarin Developer</code> website but I faced an issue when I wanted to start a Virtual Device, indeed when I try to execute my pr...
I wanted to do the simple Tutorial available on the Xamarin Developer website but I faced an issue when I wanted to start a Virtual Device, indeed when I try to execute my project on any version of Nexus 4, 5 or 10, it starts and stops immediately the Device. According to the log file the errors are following: [CODE] I...
android|xamarin|xamarin.android|xamarin-studio|xamarin-android-player
1
2016-04-20T22:04:32.017Z
2,016
4
22
2
412
1
884
52
5
1
true
false
false
false
false
false
low
36,756,096
Cannot Set Up Android Nav Drawer in Action Bar
<p>I am trying to set up the Android Nav Drawer with an action bar. I am having difficulty setting the icon for the Nav Drawer and generating all of the list items as well. Below is my code, I am currently generating a NullPointer Exception:</p> <p>Crash:</p> <pre><code> ...
I am trying to set up the Android Nav Drawer with an action bar. I am having difficulty setting the icon for the Nav Drawer and generating all of the list items as well. Below is my code, I am currently generating a NullPointer Exception: Crash: [CODE] MainActivity: [CODE] XML: [CODE]
java|android|xml|material-design|navigation-drawer
0
2016-04-20T22:07:19.893Z
2,016
4
22
2
73
1
285
46
5
3
true
false
false
false
false
false
zero