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
28,768,149
Android Lollipop LinearLayout on the bottom of the screen
<p>I have this problem only on Lollipop, older versions work (4.0 to 4.X).</p> <p>In my xml, i have 3 parts :</p> <ul> <li>First part : An ImageView with TextView.</li> <li>Second part : A ListView</li> <li>Third : A bottom bar with Buttons in a LinearLayout (horizontal)</li> </ul> <p>Problem : In Android Lollipop D...
I have this problem only on Lollipop, older versions work (4.0 to 4.X). In my xml, i have 3 parts : First part : An ImageView with TextView. Second part : A ListView Third : A bottom bar with Buttons in a LinearLayout (horizontal) Problem : In Android Lollipop Device, the third part is missing and ListView go to end of...
java|android|xml|android-layout|listview
0
2015-02-27T15:06:17.503Z
2,015
2
15
4
485
2
486
57
5
1
true
false
false
false
false
false
zero
28,768,154
How to scroll page in appium
<p>I am testing hybrid android app using Appium. I want to scroll to page bottom and then click on one link. Could anyone please tell me how to scroll to page bottom.</p> <p>Many thanks!</p>
I am testing hybrid android app using Appium. I want to scroll to page bottom and then click on one link. Could anyone please tell me how to scroll to page bottom. Many thanks!
android|appium
0
2015-02-27T15:06:30.710Z
2,015
2
15
4
2,076
4
176
28
2
0
false
false
false
false
false
false
zero
28,768,244
In Android how to implement a pop-up screen with buttons. Clicking the buttons calls different functions in the activity
<p>I am developing a game in Android. The game is implemented in the MainActivity.java and uses Relative Layout in xml. I want to implement a pause button, which when clicked opens a pop-up window with buttons for options like "1 player","2 Player","Change skin",'Challenge Friend" etc.</p> <p>1.How to create a layout ...
I am developing a game in Android. The game is implemented in the MainActivity.java and uses Relative Layout in xml. I want to implement a pause button, which when clicked opens a pop-up window with buttons for options like "1 player","2 Player","Change skin",'Challenge Friend" etc. 1.How to create a layout at runtime ...
android|android-layout
0
2015-02-27T15:10:55.337Z
2,015
2
15
4
1,985
2
787
120
2
0
false
false
false
false
false
false
zero
28,768,284
Skewing the SurfaceView of the Camera Preview
<p>Here is some background information to help explain the situation. I've been tasked to build a whiteboard app. This app would require a device's camera to display the whiteboard in a live stream. This device could be positioned at an angle to the white board and yet still display a "flat" image. Pretty much like tak...
Here is some background information to help explain the situation. I've been tasked to build a whiteboard app. This app would require a device's camera to display the whiteboard in a live stream. This device could be positioned at an angle to the white board and yet still display a "flat" image. Pretty much like taking...
android|android-camera|surfaceview|skew
1
2015-02-27T15:13:29.893Z
2,015
2
15
4
656
1
594
45
4
0
false
false
false
false
false
false
low
28,768,332
ffmpeg copy file while recording
<p>I am developing an Android app that records and live streams videos through the mobile camera. Right now, I am toggling between both of them. I want to record and stream at the same time.</p> <p>While the file is being recorded, is not possible to stream using ffmpeg, because the MOV ATOM from the MP4 file informat...
I am developing an Android app that records and live streams videos through the mobile camera. Right now, I am toggling between both of them. I want to record and stream at the same time. While the file is being recorded, is not possible to stream using ffmpeg, because the MOV ATOM from the MP4 file information is not ...
android|ffmpeg|streaming|record|mp4
2
2015-02-27T15:16:25.793Z
2,015
2
15
4
1,241
0
1,226
32
5
3
true
true
false
false
false
false
low
28,768,403
how to share images using view pager
<pre><code>public class EyeLinerActivity extends Activity { int position; private ShareActionProvider provider; ELImageAdapter adapter; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R...
[CODE] adapter.java [CODE] i want to share images .. and i am using viewpager how can i get images ids to share.? as viewpager does not support onclickitemlistener property. kindly suggest how i can get image id to dhare
android|android-viewpager|shareactionprovider
0
2015-02-27T15:19:33.097Z
2,015
2
15
4
1,965
4
220
36
3
2
true
false
false
false
false
false
zero
28,768,431
Edittext background color issue
<p>I have a linear layout with two child items, an edittext fied and button. I set the background color of the linear layout to a shade of blue. On android api 8 the the edittext field has a white background which is how i want it to be, however on android api 17+ the edittext background is the same as the linear layou...
I have a linear layout with two child items, an edittext fied and button. I set the background color of the linear layout to a shade of blue. On android api 8 the the edittext field has a white background which is how i want it to be, however on android api 17+ the edittext background is the same as the linear layout a...
android|android-edittext
0
2015-02-27T15:21:09.727Z
2,015
2
15
4
195
0
957
31
2
1
true
true
false
false
false
false
zero
28,768,440
Android - Send email with styled HTML
<p>I get a server response which provides us with HTML to be sent via gmail. This works fine on the iOS counterpart of the app, however the text just comes out as plain text in the Android application.</p> <p>Here is an example part of the response we get:</p> <pre><code>&lt;html&gt; &lt;p style="color: #5987c6"&...
I get a server response which provides us with HTML to be sent via gmail. This works fine on the iOS counterpart of the app, however the text just comes out as plain text in the Android application. Here is an example part of the response we get: [CODE] And I have tried doing the following: [CODE] Where testBody is set...
android|html|colors|styles
0
2015-02-27T15:21:33.850Z
2,015
2
15
4
2,507
1
532
37
4
2
true
false
false
false
false
false
zero
28,768,500
How to add child dynamically into particular group in expandableListview?
<pre><code>alertDialogBuilder.setPositiveButton("Ok", new DialogInterface.OnClickListener() { @Override public void onClick( DialogInterface dialog, int which) { try { ...
[CODE] Here i want to add different expenses into different group(header) but expenses gets overwrite to previous one into header. How can i add different multiple values into different group(header)? please guide me.
android|expandablelistadapter
2
2015-02-27T15:24:15.043Z
2,015
2
15
4
1,899
1
217
73
2
1
true
false
false
false
false
false
low
28,768,576
Appium : unable to run script in multiple android device connected
<p>Created multiple instance of appium. from console i run :</p> <pre><code>node . -p 4722 -U Z*****K --chromedriver-port 9 515 -bp 2251 node . -p 4723 -U T*****K --chromedriver-port 9 516 -bp 2252 </code></pre> <p>Instances are created on both the devices but the URL opens only on the second device connected.Browse...
Created multiple instance of appium. from console i run : [CODE] Instances are created on both the devices but the URL opens only on the second device connected.Browser in the first device just stays open without the url being opened. Code : Specflow file : Test.feature [CODE] Steps.cs [CODE] TestAppium.cs [CODE] Insta...
android|selenium-webdriver|appium|selendroid
1
2015-02-27T15:27:26.693Z
2,015
2
15
4
2,173
1
656
66
4
4
true
false
false
false
false
false
low
28,768,584
How do I create a drawable that expand only vertically / horizontally with XML in Android
<p>I want to know if there is a way to obtain the effect of an image expanding with solid color only from one side.</p> <p>Suppose you start with a bitmap like this: <img src="https://i.stack.imgur.com/NsLof.png" alt="drawable-xxxhdpi/my_bitmap"></p> <p>and you want to setup an XML drawable so that it expand and shri...
I want to know if there is a way to obtain the effect of an image expanding with solid color only from one side. Suppose you start with a bitmap like this: and you want to setup an XML drawable so that it expand and shrink horizontally keeping its features but vertically I want it to add solid "blue" color on the top w...
android|android-resources|android-drawable|nine-patch|android-shape
-1
2015-02-27T15:27:44.413Z
2,015
2
15
4
365
1
1,176
89
5
0
false
false
false
false
false
true
negative
28,768,677
Building Notification through an Interface callback
<p>I am running into a issue trying to build a notification using an interface that I have implemented. </p> <p>The interface implements a handler which has 4 methods, the method I have having issue with is the onNotificationReceived()</p> <p>Here is the error </p> <p><code>The constructor NotificationCompat.Builder...
I am running into a issue trying to build a notification using an interface that I have implemented. The interface implements a handler which has 4 methods, the method I have having issue with is the onNotificationReceived() Here is the error The constructor NotificationCompat.Builder(new MQTTCommunicator.MQTTEventHand...
java|android|notifications
0
2015-02-27T15:32:07.743Z
2,015
2
15
4
53
1
941
51
3
2
true
false
false
false
false
false
zero
28,768,679
What is the gradle dependency for "Google Maps Mobile SDK for Work"?
<p>I'm migrating from the free Google Maps API for Android v2 to the Google Maps Mobile SDK for Work.</p> <p>The documentation states that I should only replace the <strong>gsm</strong> package with the <strong>m4b</strong> package in all import statements. However, it does not explain, what dependency to add in order...
I'm migrating from the free Google Maps API for Android v2 to the Google Maps Mobile SDK for Work. The documentation states that I should only replace the gsm package with the m4b package in all import statements. However, it does not explain, what dependency to add in order to let Android Studio resolve that package. ...
google-maps-android-api-2|android-gradle-plugin|dependency-management
5
2015-02-27T15:32:11.397Z
2,015
2
15
4
899
1
666
68
3
0
false
false
false
false
false
false
low
28,768,704
Save Arraylist to file android
<p>I'm doing my first Android app here and I'm trying to write an <code>ArrayList&lt;String&gt;</code> to a file, and read it back.</p> <p>Here's my code to write the file:</p> <p>(Class is called SaveFiles)</p> <pre><code>public static void writeList(Context c, ArrayList&lt;String&gt; list){ try{ ...
I'm doing my first Android app here and I'm trying to write an ArrayList<String> to a file, and read it back. Here's my code to write the file: (Class is called SaveFiles) [CODE] I don't have code yet to read the file. Code that calls this method: [CODE] The log says the file's been created, but I can't find the file A...
android|arraylist|file-handling
2
2015-02-27T15:33:41.183Z
2,015
2
15
4
4,109
2
524
30
3
3
true
false
true
false
false
false
low
28,768,708
Fragment list in a Tabhost
<p>in mainactivty of my app I set a tabhost with its viewpager , now I would like to create within each tab is a list of custom fragment and that is different for each tab , how can I do ? thanks in advance deposit</p> <pre><code>public class MainActivity extends ActionBarActivity implements MaterialTabListener { Mat...
in mainactivty of my app I set a tabhost with its viewpager , now I would like to create within each tab is a list of custom fragment and that is different for each tab , how can I do ? thanks in advance deposit [CODE] } [CODE]
android|fragment-tab-host
1
2015-02-27T15:33:46.997Z
2,015
2
15
4
411
1
227
26
2
2
true
false
false
false
false
false
low
28,768,802
Share icon not showing in ActionBar
<p>I am trying to use ShareActionProvider as in <a href="http://developer.android.com/training/sharing/shareaction.html" rel="nofollow">http://developer.android.com/training/sharing/shareaction.html</a> but my ActionBar does not show the share icon. Instead, the overflow button is shown which a menu item "share" (the r...
I am trying to use ShareActionProvider as in http://developer.android.com/training/sharing/shareaction.html but my ActionBar does not show the share icon. Instead, the overflow button is shown which a menu item "share" (the rest works well). I am using this code: [CODE] In my activity, I have: [CODE] And my theme is: [...
android
1
2015-02-27T15:39:02.073Z
2,015
2
15
4
912
1
365
35
1
3
true
false
false
false
false
false
low
28,768,896
Failed to install on virtual device
<p>It's my first application The application was running twice on the virtual device actually I just added an imageview but then ctrl+z it continues giving this error in the console I tried many emulators but still having the error</p> <p>[2015-02-27 18:39:05 - IdealBodyWeight] Failed to install IdealBodyWeight.apk ...
It's my first application The application was running twice on the virtual device actually I just added an imageview but then ctrl+z it continues giving this error in the console I tried many emulators but still having the error [2015-02-27 18:39:05 - IdealBodyWeight] Failed to install IdealBodyWeight.apk on device 'em...
android|eclipse
-1
2015-02-27T15:43:49.880Z
2,015
2
15
4
29
1
436
35
2
0
false
false
false
false
false
true
negative
28,768,960
Why does fading in a webview using an alpha value not animate linearly? (goes from alpha 0 to 1 instantly)
<p>I am trying to fade in a <code>RelativeLayout</code> that contains a <code>WebView</code> after the page has finished loading. It mostly works, except I cannot get it to fade in. The animation's duration is correct, but the opacity stays 0 until the very end of the animation, when it instantly becomes 1, so there's ...
I am trying to fade in a RelativeLayout that contains a WebView after the page has finished loading. It mostly works, except I cannot get it to fade in. The animation's duration is correct, but the opacity stays 0 until the very end of the animation, when it instantly becomes 1, so there's no fade-in effect. What am I ...
android|android-layout|android-webview|android-animation
2
2015-02-27T15:46:40.700Z
2,015
2
15
4
744
1
353
106
4
2
true
false
false
false
false
false
low
28,768,979
Android: strange green pixels on Bitmap with Alpha 200
<p>I just get green Pixels at the border of my drawn bitmap if I set the alpha of the paint to 200.</p> <p>The problem does not appear if I set the alpha to 100 or 255.</p> <p><img src="https://i.stack.imgur.com/7RAi5.png" alt="enter image description here"></p> <p>How can I fix this?</p> <pre><code>public class Ga...
I just get green Pixels at the border of my drawn bitmap if I set the alpha of the paint to 200. The problem does not appear if I set the alpha to 100 or 255. How can I fix this? [CODE]
android|bitmap|surfaceview|alpha|pixels
2
2015-02-27T15:47:13.863Z
2,015
2
15
4
147
1
185
54
5
1
true
false
false
false
false
false
low
28,769,019
PushWoosh on Android: `nullpointerexception` when running .registerDevice()
<p>I'm trying to run a <a href="https://www.pushwoosh.com/programming-push-notification/ios/ios-additional-platforms/push-notification-sdk-integration-for-phonegap/" rel="nofollow">Apache Cordova based app with the PushWoosh plugin</a> on Android. To avoid fragmentation problems on Android, we're using <a href="https:/...
I'm trying to run a Apache Cordova based app with the PushWoosh plugin on Android. To avoid fragmentation problems on Android, we're using MobileChromeApps to build our Android version of the app. However, I can't register the device for push messages via PushWoosh. The code is working flawlessly on iOS. The error happ...
android|cordova|pushwoosh|crosswalk-runtime
0
2015-02-27T15:49:49.230Z
2,015
2
15
4
216
2
920
75
4
2
true
false
false
false
false
false
zero
28,769,026
Android Studio: modification of a sourcefile propagates through multiple copies
<p>Android Studio 1.0 and 1.1, running on Windows 8.1 and 10: I developed a sample following book chapters. At the end of each chapter I use FileExplorer copy and paste of the whole project folder to create a copy of the current state. The new folder is then renamed. When I edited a menu layout file in Android Studio i...
Android Studio 1.0 and 1.1, running on Windows 8.1 and 10: I developed a sample following book chapters. At the end of each chapter I use FileExplorer copy and paste of the whole project folder to create a copy of the current state. The new folder is then renamed. When I edited a menu layout file in Android Studio in a...
android
1
2015-02-27T15:50:03.133Z
2,015
2
15
4
21
0
649
79
1
0
false
true
false
false
false
false
low
28,769,051
Insert Buttons and Menus (slide menu) in a FragmentActivity
<p>I have an <code>FragmentActivity</code> which has a SupportMapFragment. I want to add buttons, menus (slide menu)...how could I do this?</p> <p>here is my code:</p> <pre><code>public class MapsActivity extends FragmentActivity { private GoogleMap mMap; // Might be null if Google Play services APK is not available...
I have an FragmentActivity which has a SupportMapFragment. I want to add buttons, menus (slide menu)...how could I do this? here is my code: [CODE]
android|android-fragments
0
2015-02-27T15:51:09.703Z
2,015
2
15
4
41
1
147
59
2
1
true
false
false
false
false
false
zero
28,769,120
how to convert Object[] to String[ ]
<p>in order to list all running applications in a listview, I need to convert an Array of Objects to a Array of Strings. </p> <p>With this code I read out all running processes: </p> <pre><code> private String[] runningProcesses() { ActivityManager am = (ActivityManager) this.getSystemService(ACTIVITY_SERVICE); ...
in order to list all running applications in a listview, I need to convert an Array of Objects to a Array of Strings. With this code I read out all running processes: [CODE] How to convert object to a string[] in order to list all running processes in a listView? Thanks a lot
android|android-listview
1
2015-02-27T15:54:00.403Z
2,015
2
15
4
145
1
276
36
2
1
true
false
false
false
false
false
low
28,769,134
ActionBarActivity cannot be resolved to a type how to resolve
<p>Hi can some one help me on this error. In my project I have <code>ABS</code> and <code>appcompactv7_3</code> added as libraries. I've got following errors:</p> <pre><code>Description Resource Path Location Type ActionBarActivity cannot be resolved to a type Frind_ptofile.java /SN/src/com/FINAL/sn line...
Hi can some one help me on this error. In my project I have ABS and appcompactv7_3 added as libraries. I've got following errors: [CODE]
android
0
2015-02-27T15:54:56.920Z
2,015
2
15
4
1,053
1
136
61
1
1
true
false
false
false
false
false
zero
28,769,185
Google play services dont work
<p>I've done everything according to <a href="http://developer.android.com/google/play-services/setup.html" rel="nofollow">http://developer.android.com/google/play-services/setup.html</a> , but libary is not even recognized. <a href="http://oi61.tinypic.com/hs80gz.jpg" rel="nofollow">http://oi61.tinypic.com/hs80gz.jpg<...
I've done everything according to http://developer.android.com/google/play-services/setup.html , but libary is not even recognized. http://oi61.tinypic.com/hs80gz.jpg As you see object are in red, so they do not work, but there is no error. Tried clean, didn't work. Here is te code of gradle: [CODE] Here is the manifes...
android|android-studio|google-play-services
0
2015-02-27T15:57:15.267Z
2,015
2
15
4
135
1
329
30
3
2
true
false
false
false
false
false
zero
28,769,193
which class to send and receive text messages on android
<p>I want to write an app that is able to receive and send text messages,sms received must be able to contain text strings that would be interpreted as commands,the shipped may be for example the location gps,I have found that this class would seem appropriate <a href="http://developer.android.com/reference/android/tel...
I want to write an app that is able to receive and send text messages,sms received must be able to contain text strings that would be interpreted as commands,the shipped may be for example the location gps,I have found that this class would seem appropriate http://developer.android.com/reference/android/telephony/SmsMa...
android|sms|telephony
-1
2015-02-27T15:57:42.227Z
2,015
2
15
4
477
1
771
56
3
0
false
false
false
false
false
true
negative
28,769,244
Customize a ProgressBar to become a Thermometer
<p>How to customize a ProgressBar to look like a Thermometer ? with the possibility to change color.</p> <p><img src="https://i.stack.imgur.com/IL7N2.png" alt="Thermometer bleu full"> <img src="https://i.stack.imgur.com/Mv0aj.png" alt="Thermometer bleu empty"> <img src="https://i.stack.imgur.com/cJqPJ.png" alt="Thermo...
How to customize a ProgressBar to look like a Thermometer ? with the possibility to change color. My suggestion was to rotate the progressBar 90° to become vertical then have it overlay an image of an empty Thermometer but it's bad and messy solution. I Think the best will be to either to extends View or ProgressBar cl...
android|drawing|draw|android-custom-view|android-progressbar
4
2015-02-27T16:00:07.027Z
2,015
2
16
4
3,974
2
428
47
5
0
false
false
true
false
false
false
low
28,769,247
Android: Google play music
<p>Regarding thumbs icon, when i play a song I press thumbs up icon nothing happens, but when I press thumbs down icon the song restarts. why this happens? </p>
Regarding thumbs icon, when i play a song I press thumbs up icon nothing happens, but when I press thumbs down icon the song restarts. why this happens?
android|audio-player|android-music-player
0
2015-02-27T16:00:11.240Z
2,015
2
16
4
62
0
152
26
3
0
false
true
false
false
false
false
zero
28,769,320
How to check wether Speech Recognition is Available or not?
<p>When I am initializing a Speech recognition app, I use this line of code:</p> <pre><code>Boolean b=SpeechRecognizer.isRecognitionAvailable(cContext); </code></pre> <p>Why does b always equals false on some devices (the emulator for example)? I understand what the function does from its description on Android docum...
When I am initializing a Speech recognition app, I use this line of code: [CODE] Why does b always equals false on some devices (the emulator for example)? I understand what the function does from its description on Android documentation, but the documentation does not say what to do to make voice recognition available...
android|speech-recognition
6
2015-02-27T16:03:56.583Z
2,015
2
16
4
3,096
1
432
59
2
1
true
false
true
false
false
false
medium
28,769,323
How to get recently updated records in sqlite android
<p>I want to get recently updated records from a sqlite database. Here is my table structure. </p> <pre><code>_id BookName BookPath 1 Book Title Path 2 Book Title Path </code></pre> <p>I want to know which books user read recently. If there is no exact way is available please tell me ...
I want to get recently updated records from a sqlite database. Here is my table structure. [CODE] I want to know which books user read recently. If there is no exact way is available please tell me any logic to achieve it. I can also add more columns if needed to achieve it.
android|sqlite
-1
2015-02-27T16:04:04.237Z
2,015
2
16
4
54
2
275
53
2
1
true
false
false
false
false
true
negative
28,769,570
Android - Void methods cannot return a value
<p>I have an activity with a tablelayout. I put text into the layout from string arrays. But now I get the error: "Void methods cannot return a value"</p> <pre><code>public class stop10 extends SherlockFragmentActivity { String[] column1; String[] column2; View view; @Override public void onCreate(Bundle savedInstan...
I have an activity with a tablelayout. I put text into the layout from string arrays. But now I get the error: "Void methods cannot return a value" [CODE] I understand that the void method cannot return value, but what else should I use now? Thanks in advance.
android|methods|tablelayout|void
0
2015-02-27T16:17:31.820Z
2,015
2
16
4
393
1
260
44
4
1
true
false
false
false
false
false
zero
28,769,597
double datePicker in single android activity
<p>im develping an android app where on one activity the user needs to select two different dates. i've followed approximately [this] (<a href="http://www.tutorialspoint.com/android/android_datepicker_control.htm" rel="nofollow">http://www.tutorialspoint.com/android/android_datepicker_control.htm</a>) tutorial but don'...
im develping an android app where on one activity the user needs to select two different dates. i've followed approximately [this] ( http://www.tutorialspoint.com/android/android_datepicker_control.htm ) tutorial but don't undestand how to get over the following thing: when i invoke [CODE] then [CODE] since i need to d...
java|android|datepicker|showdialog
0
2015-02-27T16:19:00.973Z
2,015
2
16
4
358
0
642
44
4
4
true
true
false
false
false
false
zero
28,769,604
Android HTTP Request issue
<p>I am trying to fire a http request from an app i'm building in Andorid Studio, but seeing some bizzare behavoir</p> <p>The following code, when ran, returns a HTTP/1.1 200, but the php scripts does not run. To check the the php script is correct, ive copied and pasted it into a browser and it runs absolutely fine</...
I am trying to fire a http request from an app i'm building in Andorid Studio, but seeing some bizzare behavoir The following code, when ran, returns a HTTP/1.1 200, but the php scripts does not run. To check the the php script is correct, ive copied and pasted it into a browser and it runs absolutely fine [CODE] Could...
java|android
0
2015-02-27T16:19:34.953Z
2,015
2
16
4
109
2
2,103
26
2
1
true
false
false
false
false
false
zero
28,769,693
Check if removable sd-card is on device
<p>I'm developing an app for the specific device. When i get external storage path it gives me the location, that is placed on internal memory. I need to find out if there is any removable sd card found on device(true,false).</p>
I'm developing an app for the specific device. When i get external storage path it gives me the location, that is placed on internal memory. I need to find out if there is any removable sd card found on device(true,false).
android
4
2015-02-27T16:25:06.697Z
2,015
2
16
4
884
2
222
39
1
0
false
false
false
false
false
false
low
28,769,764
Cross-compiling a source (tslib) for Android image (Allwinner A20)
<p>I would like to know if it's possible to add this repo in a source of Android : <a href="https://github.com/kergoth/tslib" rel="nofollow">https://github.com/kergoth/tslib</a> to build it at the same time. There's not Android.mk file.</p> <p>I would like to use it to calibrate a touchscreen</p> <p>I have seen this ...
I would like to know if it's possible to add this repo in a source of Android : https://github.com/kergoth/tslib to build it at the same time. There's not Android.mk file. I would like to use it to calibrate a touchscreen I have seen this one http://sourceforge.net/p/tslibonandroid/code/ci/master/tree/ but my touchscre...
android|kernel|cross-compiling
0
2015-02-27T16:29:04.130Z
2,015
2
16
4
553
1
810
66
3
3
true
false
false
false
false
false
zero
28,769,766
HTTP POST in android device with localhost and port
<p>I want to make a post on <a href="http://xx.xx.xx.xx:8083/AuthenticationService.svc/SignIn" rel="nofollow">http://xx.xx.xx.xx:8083/AuthenticationService.svc/SignIn</a> in an android app. The x's represent the localhost and 8083 is the port. This works very well on the computer, but how do I get the localhost numbers...
I want to make a post on http://xx.xx.xx.xx:8083/AuthenticationService.svc/SignIn in an android app. The x's represent the localhost and 8083 is the port. This works very well on the computer, but how do I get the localhost numbers (and possibly the port, if it differs) in an android app? I've only found answers on how...
android|url|localhost|port
0
2015-02-27T16:29:07.213Z
2,015
2
16
4
824
1
579
51
4
0
false
false
false
false
false
false
zero
28,769,815
Android Navigation Drawer & recyclerview onclick new Intent
<p>I watched a nice Tutorial Video about creating a Navigation Drawer and using custom listView with RecycleView. The NaviDrawer works fine , but when I tried to do it myself using onClick methods, I failed. Can anyone tell me what have I done wrong and how to make my code better?</p> <p><strong>NavigationDrawer</str...
I watched a nice Tutorial Video about creating a Navigation Drawer and using custom listView with RecycleView. The NaviDrawer works fine , but when I tried to do it myself using onClick methods, I failed. Can anyone tell me what have I done wrong and how to make my code better? NavigationDrawer [CODE] Adapter.java [COD...
android|android-studio|onclick|android-recyclerview
0
2015-02-27T16:31:51.537Z
2,015
2
16
4
1,230
1
492
59
4
7
true
false
false
false
false
false
zero
28,769,824
Android hide image from user gallery
<p>i'm using the following phonegap build plugin:</p> <blockquote> <p>com.chanthu.evri.gcs-file-transfer version="1.0.0"</p> </blockquote> <p>to download images on devices. The download is ok but the images are visible in user's standard gallery myApp folder. How can i save the images without creating such a galler...
i'm using the following phonegap build plugin: com.chanthu.evri.gcs-file-transfer version="1.0.0" to download images on devices. The download is ok but the images are visible in user's standard gallery myApp folder. How can i save the images without creating such a gallery ? The path I use to save them is: cdvfile://lo...
android|web|gallery|phonegap-build|file-transfer
2
2015-02-27T16:32:27.043Z
2,015
2
16
4
1,062
3
408
36
5
0
false
false
false
false
false
false
low
28,769,852
Converting a String from Byte array to int
<p>I've been googling all night for this problem since it is my first time to use arduino and android. My question is, how can I convert the variable <code>data</code> *String to int? I've been getting NumberFormatException whenever I do: <code>int pulse = Integer.ParseInt(data);</code></p> <p>My objective here is to ...
I've been googling all night for this problem since it is my first time to use arduino and android. My question is, how can I convert the variable data *String to int? I've been getting NumberFormatException whenever I do: int pulse = Integer.ParseInt(data); My objective here is to be able to get the data coming from t...
java|android|bluetooth|arduino
0
2015-02-27T16:33:44.900Z
2,015
2
16
4
168
2
775
42
4
1
true
false
false
false
false
false
zero
28,769,876
How to fill entire ImageView with a icon?
<p>I have an <code>ImageView</code> in <code>RelativeLayout</code>. Problem is my icon is not filling all the space in the <code>ImageView</code>. Its padding inside from all the direction. I found some solution and tried every possible combination, but its not changing a bit. My icon regulation <code>256*256</code>.</...
I have an ImageView in RelativeLayout . Problem is my icon is not filling all the space in the ImageView . Its padding inside from all the direction. I found some solution and tried every possible combination, but its not changing a bit. My icon regulation 256*256 . [CODE]
android|android-layout|android-imageview|android-relativelayout
0
2015-02-27T16:34:52.447Z
2,015
2
16
4
676
2
273
41
4
1
true
false
false
false
false
false
zero
28,769,932
Are two Broadcast Receivers (one Alarm Manager and another for System Events) required?
<p>I am calling the following <code>BroadcastReceiver</code> using <code>AlarmManager</code> every X mins. Its working fine. </p> <pre><code>public class MyAlarmReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (CommonFuncs.isConnectedBySettings...
I am calling the following BroadcastReceiver using AlarmManager every X mins. Its working fine. [CODE] Manifest [CODE] I want to use the same BroadcastReceiver for connectivity change as well, by just adding the following manifest. [CODE] But my receiver is not getting called when WIFI is connected. I am not sure what ...
android|broadcastreceiver|alarmmanager
0
2015-02-27T16:38:17.353Z
2,015
2
16
4
112
0
457
87
3
3
true
true
false
false
false
false
zero
28,769,974
quickblox chat sample is showing errors
<p>hello I try to implement open group chat feature in my android app by using quickblox android sdk</p> <p>I import the sample chat from quickblox android sdk and import the core and chat jars as external jars through properties-> java build path-> library</p> <p>and pull-to-refresh as a library through properties->...
hello I try to implement open group chat feature in my android app by using quickblox android sdk I import the sample chat from quickblox android sdk and import the core and chat jars as external jars through properties-> java build path-> library and pull-to-refresh as a library through properties-> android-> add I fo...
android|sdk|quickblox
0
2015-02-27T16:40:01.603Z
2,015
2
16
4
479
1
542
39
3
0
false
false
false
false
false
false
zero
28,769,977
Extracting 2 strings from 2 listviews in adroidstudio
<p>I have 2 listviews in 1 activity (1 on the left 1 on the right of screen). I want 2 strings extracted from both list views and use them else where in the code (either in the same activity but different class or different activity). I have tried assigning clicked items to a public variable and then posting them on a ...
I have 2 listviews in 1 activity (1 on the left 1 on the right of screen). I want 2 strings extracted from both list views and use them else where in the code (either in the same activity but different class or different activity). I have tried assigning clicked items to a public variable and then posting them on a tex...
android
0
2015-02-27T16:40:05.590Z
2,015
2
16
4
55
1
424
53
1
1
true
false
false
false
false
false
zero
28,769,988
Listview Item selector issue when using addHeaderView()
<p>I have added a static layout over Listview and disabled headerview click using</p> <pre><code>View view = View.inflate(MainActivity.this, R.layout.drawer_header, null); mDrawerList.addHeaderView(view, null, false);//mDrawerList is Listview </code></pre> <p>To avoid item position problem I have adde...
I have added a static layout over Listview and disabled headerview click using [CODE] To avoid item position problem I have added [CODE] In Listview onitemclick. Now its loading correct fragments according to Listview Item. But I have another problem of list_selector issue. Drawer Listview is [CODE] When I click positi...
android|android-listview
0
2015-02-27T16:40:56.263Z
2,015
2
16
4
97
1
516
55
2
4
true
false
false
false
false
false
zero
28,770,004
how to setText() in android embedded card
<p>Here I have a nice simple table layout to display the contents of my database.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal...
Here I have a nice simple table layout to display the contents of my database. [CODE] Here is the method that is called in the onCreate of the calling activity: [CODE] I used the CarBuilder object card that was a simple card without an embedded layout and this worked fine. I then commented it out and tried implementing...
android|xml|sqlite|android-layout
1
2015-02-27T16:41:40.100Z
2,015
2
16
4
111
1
675
41
4
2
true
false
false
false
false
false
low
28,770,006
Android app crashes on 4.4.4 device but not 4.4.2/5.0 emulator?
<p>I'm using Android Studio to develop my first app. On my 4.4.4 device, I can launch MainActivity but when I click something on the screen that navigates to another activity, the app crashes. It only crashes on my one device, and runs fine on my Note 2 running 4.4.2, as well as two emulators running 4.4.2 and 5.0.</...
I'm using Android Studio to develop my first app. On my 4.4.4 device, I can launch MainActivity but when I click something on the screen that navigates to another activity, the app crashes. It only crashes on my one device, and runs fine on my Note 2 running 4.4.2, as well as two emulators running 4.4.2 and 5.0. I've t...
android|android-activity
0
2015-02-27T16:41:43.547Z
2,015
2
16
4
617
0
711
63
2
1
true
true
false
false
false
false
zero
28,770,043
Downloading txt file from ftp server
<p>I'm trying to download a simple txt file from a FTP-Server for quite some time now.</p> <p>I'm using this code:</p> <pre><code> String server = "ftp.server.com"; int port = 21; String user = "user"; String pass = "pass"; FTPClient ftpClient = new FTPClient(); try { ftpClient.connect(s...
I'm trying to download a simple txt file from a FTP-Server for quite some time now. I'm using this code: [CODE] But Android studio throws an error at me: [CODE] And I can't find out why. I doublechecked my FTP login data, but they are correct. I'm using the apache-commons-net library btw. Can anybody help me out here?
android|ftp
1
2015-02-27T16:43:27.207Z
2,015
2
16
4
4,512
2
319
36
2
2
true
false
true
false
false
false
low
28,770,186
unable to resolve host error with AWS Mobile Analytics on Android
<p>I am trying to implement the starter code for AWS Mobile Analytics got from <a href="http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/analytics.html" rel="nofollow">http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/analytics.html</a> </p> <p>I have everything setup along with Internet per...
I am trying to implement the starter code for AWS Mobile Analytics got from http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/analytics.html I have everything setup along with Internet permission in manifest but I am still getting this error after all debugging and troubleshooting. [CODE] [CODE] I have tri...
android|amazon-web-services|host|amazon-mobile-analytics
0
2015-02-27T16:51:39.867Z
2,015
2
16
4
730
1
769
65
4
2
true
false
false
false
false
false
zero
28,770,191
Two Spinners and extracting strings from each. Android
<p>My app offers guitar players a page they can define a song in terms of Name, chords used, and relevant scales.</p> <p>My app has two spinners that have parts of a fully formed guitar chord, and another spinner for 'split' chords, so three spinners in all. They are working nicely. </p> <p>In the Activity, one spin...
My app offers guitar players a page they can define a song in terms of Name, chords used, and relevant scales. My app has two spinners that have parts of a fully formed guitar chord, and another spinner for 'split' chords, so three spinners in all. They are working nicely. In the Activity, one spinner holds a list of g...
java|android|android-layout
-1
2015-02-27T16:51:57.500Z
2,015
2
16
4
86
1
1,470
54
3
2
true
false
false
false
false
true
negative
28,770,303
FusedLocationApi delivers null
<p>I am using this code</p> <pre><code>mLastLocation = LocationServices.FusedLocationApi.getLastLocation( mGoogleApiClient); </code></pre> <p>to get the last Location of the user. If I enable the location services in Android, it works fine, but if I disable them, the LocationApi delivers null. The Google ...
I am using this code [CODE] to get the last Location of the user. If I enable the location services in Android, it works fine, but if I disable them, the LocationApi delivers null. The Google Documantation says, the Api delivers normaly an Object, and just in some rare cases, the Object can be null. But it is null, as ...
android|geolocation
1
2015-02-27T16:57:40.870Z
2,015
2
16
4
68
0
717
30
2
1
true
true
false
false
false
false
low
28,770,393
Outsource Stack and Filereader from Main Class
<p>Hello i'm a little bit lost and could use some help. So basically i got a stack of Objects, in this case Strings. </p> <pre><code>public class Showall extends ActionBarActivity implements OnClickListener { Stapel&lt;String&gt; s = new EVLStapel&lt;String&gt;(); @Override public void onCrea...
Hello i'm a little bit lost and could use some help. So basically i got a stack of Objects, in this case Strings. [CODE] and i'm running the add() method, which is just reading a textfile and pushes an object with 3 values into my stack & init() method, which is basically pulling them out of the stack again: [CODE] Her...
java|android|stack
0
2015-02-27T17:01:06.713Z
2,015
2
17
4
82
0
706
46
3
6
true
true
false
false
false
false
zero
28,770,408
how to create random UUID in Android when button click event happens?
<p>I am an apprentice to Android. I need to make random UUID and store to the database as a primary key. I am utilizing UUID.randomUUID.toString() this code in Button click event. The UUID has been effectively made interestingly. Yet, in the event that I click the button once more, I need to make another UUID. In any c...
I am an apprentice to Android. I need to make random UUID and store to the database as a primary key. I am utilizing UUID.randomUUID.toString() this code in Button click event. The UUID has been effectively made interestingly. Yet, in the event that I click the button once more, I need to make another UUID. In any case...
java|android|uuid
46
2015-02-27T17:01:57.487Z
2,015
2
17
4
51,108
3
449
69
3
1
true
false
true
true
true
false
high
28,770,463
How to load JsonObjectRequest in an Asynctask?
<p>I'am trying to load a json request using asynctask in my splash screen using a progress bar, but I have no idea how to do that, can someone help me please?</p> <p>here is my splash screen activity:</p> <pre><code>public class SplashActivity extends ActionBarActivity { private static final String TAG = SplashActiv...
I'am trying to load a json request using asynctask in my splash screen using a progress bar, but I have no idea how to do that, can someone help me please? here is my splash screen activity: [CODE] // disable the cache for this request, so that it always fetches updated // json [CODE] // Making the request [CODE] } }
android|json|android-asynctask
0
2015-02-27T17:04:50.487Z
2,015
2
17
4
1,071
1
318
46
3
3
true
false
false
false
false
false
zero
28,770,530
How to Hide ActionBar/Toolbar While Scrolling Down in Webview
<p>In Google chrome and play store. the app can hide the actionbar while scrolling and allows the user to Browse conveniently. Please Help me to do like this.</p> <p>I've used onTouchListener for webview it doesn't works.</p> <pre><code>mWebView.setOnTouchListener(new View.OnTouchListener() { @Override ...
In Google chrome and play store. the app can hide the actionbar while scrolling and allows the user to Browse conveniently. Please Help me to do like this. I've used onTouchListener for webview it doesn't works. [CODE] Thanks in Advance
android|android-webview|android-scrollview|android-scroll
22
2015-02-27T17:07:37.060Z
2,015
2
17
4
27,283
3
236
61
4
1
true
false
true
true
true
false
high
28,770,559
Get Android Unique Identification
<p>How to get an Android Unique Identification, except for Hardware Serial Code, is there any way to obtain? Iv'e tried this </p> <pre><code>String AndroidID = Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID); </code></pre> <p>but im still looking for other way that been used by other devel...
How to get an Android Unique Identification, except for Hardware Serial Code, is there any way to obtain? Iv'e tried this [CODE] but im still looking for other way that been used by other developers. Thank You.
java|android
0
2015-02-27T17:09:08.337Z
2,015
2
17
4
125
2
210
33
2
1
true
false
false
false
false
false
zero
28,770,565
repo: stuck while syncing (also with -f)
<p>Last day I wanted to do repo sync (I'm compiling android sources), and then I noticed that it got stucked in 99%</p> <p>I did some researchs and people adviced to use repo sync -f, but the problem was the same. Also in the android official page, they said that you can try this command "sysctl -w net.ipv4.tcp_window...
Last day I wanted to do repo sync (I'm compiling android sources), and then I noticed that it got stucked in 99% I did some researchs and people adviced to use repo sync -f, but the problem was the same. Also in the android official page, they said that you can try this command "sysctl -w net.ipv4.tcp_window_scaling=0"...
android|git|sync|repo
0
2015-02-27T17:09:23.647Z
2,015
2
17
4
2,778
2
1,422
40
4
0
false
false
true
false
false
false
zero
28,770,626
Actionbar not work in extends ListActivity
<p>hi i tried searching how use actionbar in extends ListActivity. </p> <p>please help me.</p> <p>my activity code :</p> <pre><code>public class extends ListActivity{ private String[] items; private database db; @Override protected void onCreate(Bundle savedInstanceState) { ...
hi i tried searching how use actionbar in extends ListActivity. please help me. my activity code : [CODE] and my listview code : [CODE] if you have sample code please give me.
android|android-actionbar
0
2015-02-27T17:13:29.573Z
2,015
2
17
4
85
0
175
42
2
2
true
true
false
false
false
false
zero
28,770,657
How to make all action bar items white?
<p>I cannot use <code>Theme.AppCompat.Light.DarkActionBar</code> because of <a href="https://code.google.com/p/android/issues/detail?id=78819" rel="nofollow noreferrer">this HTC bug</a>.</p> <p>So I've been trying to find a workaround. I attempted to remove the <code>DarkActionBar</code> and just use <code>Theme.AppCo...
I cannot use Theme.AppCompat.Light.DarkActionBar because of this HTC bug . So I've been trying to find a workaround. I attempted to remove the DarkActionBar and just use Theme.AppCompat.Light as a parent of my app theme; it fixed the bug, but some items in my action bar appear black: Items that appear black: v7 ActionB...
android|xml|android-actionbar|android-theme|android-styles
0
2015-02-27T17:15:27.810Z
2,015
2
17
4
1,227
1
448
39
5
0
false
false
false
false
false
false
zero
28,770,683
Pass object containing two integers or different method?
<p>I have this method. It takes a Node and I need it to take two ints.</p> <pre><code> public void resetAnchorpoints(Object sender, Object passed){ Log.v("TAG", "CALLED FUNCTION 1!" + sender.toString()); Log.v("TAG", "The center tile was " + (int[]) passed[1] + "," + (int[]) passed[2]); } </code>...
I have this method. It takes a Node and I need it to take two ints. [CODE] To call it, I use CCCallFuncND mresetAnchorpoint = CCCallFuncND.action(this, "resetAnchorpoints", pass); As I gather, CCCallFuncND passes one Node (N) and a Data Object (D). However, if i compose the data object like this : int[] pass = new int[...
java|android|cocos2d-iphone
1
2015-02-27T17:16:48.180Z
2,015
2
17
4
94
2
734
56
3
1
true
false
false
false
false
false
low
28,770,722
Resolution of image from camera to Imageview
<p>I want to take a picture and add image to the activity. I was having a weird pixelation and at first i thought that it was something with the blob I used, but it seems like it has to do with the image after capture from camera.</p> <p>I activate the camera to take a picture</p> <pre><code>Camera.setOnClickListener...
I want to take a picture and add image to the activity. I was having a weird pixelation and at first i thought that it was something with the blob I used, but it seems like it has to do with the image after capture from camera. I activate the camera to take a picture [CODE] Then I want to set image at the imageview. [C...
android|android-imageview|pixels
2
2015-02-27T17:18:55.680Z
2,015
2
17
4
4,024
1
602
44
3
2
true
false
true
false
false
false
low
28,770,819
IONIC Framework - how to detect simultaneous tap gesture with two fingers in Android?
<p>I am using Yo Ionic for building my android app. I have two 3 div.row where I want to detect onTap and onRelease gestures on both the DIVs, irrespective of their timing. Currently, When I tap and hold on one div, the other div doesn't respond! Vice versa on the oposite side. ANy pointers?</p>
I am using Yo Ionic for building my android app. I have two 3 div.row where I want to detect onTap and onRelease gestures on both the DIVs, irrespective of their timing. Currently, When I tap and hold on one div, the other div doesn't respond! Vice versa on the oposite side. ANy pointers?
android|gesture|ionic-framework
1
2015-02-27T17:24:52.153Z
2,015
2
17
4
675
0
289
85
3
0
false
true
false
false
false
false
low
28,770,924
How to refresh a fragment tab after a menubar selection?
<p>When browsing between fragment tabs in my application, the tab that I am going back to is automatically refreshed from an obsolete, to a current view. I would like to also have my application refresh the current tab after making a selection in the menubar. </p> <p>What is the best way to do this? TIA</p>
When browsing between fragment tabs in my application, the tab that I am going back to is automatically refreshed from an obsolete, to a current view. I would like to also have my application refresh the current tab after making a selection in the menubar. What is the best way to do this? TIA
android|android-activity|android-fragments|android-actionbar|android-menu
0
2015-02-27T17:30:45.347Z
2,015
2
17
4
303
2
293
56
5
0
false
false
false
false
false
false
zero
28,770,951
Android animation: bouncing button like on mac
<p>If i open an application on a mac os x the app button is bouncing like a ball, high up and then 2x not so high and same again. Can this be done using an bouncing animation or some other kind of animation?</p> <p>The Button should like like to jump to the user out of the phone (growing a bit) and then shrinking 2 ti...
If i open an application on a mac os x the app button is bouncing like a ball, high up and then 2x not so high and same again. Can this be done using an bouncing animation or some other kind of animation? The Button should like like to jump to the user out of the phone (growing a bit) and then shrinking 2 times before ...
java|android|animation|button|bounce
4
2015-02-27T17:32:07.983Z
2,015
2
17
4
2,527
1
687
46
5
2
true
false
false
false
false
false
low
28,771,049
Display ImageView in StickyListHeadersListView using an ArrayAdapter
<p>I am implementing the <code>StickyListHeadersListView</code> for displaying contact info. I'm using an <code>ArrayAdapter&lt;Contact&gt;</code> which implements <code>StickyListHeadersAdapter</code>. Works fine and it shows an image and a string per item, the problem is that the images are being swapped around on s...
I am implementing the StickyListHeadersListView for displaying contact info. I'm using an ArrayAdapter<Contact> which implements StickyListHeadersAdapter . Works fine and it shows an image and a string per item, the problem is that the images are being swapped around on scroll and I'm not sure why ListView: [CODE]
android|listview|android-listview
0
2015-02-27T17:37:13.463Z
2,015
2
17
4
136
1
315
68
3
1
true
false
false
false
false
false
zero
28,771,069
Android layouts size and resize
<p>I am doing a lot of work about android layout I still can't create a layout working in every phone. I am not sure about best the way to create a layout so correct me if I am wrong . There are three things to keep in mind :</p> <ul> <li>Screen px (resolution, for example 1080x1920 px)</li> <li>Screen dimension "inc...
I am doing a lot of work about android layout I still can't create a layout working in every phone. I am not sure about best the way to create a layout so correct me if I am wrong . There are three things to keep in mind : Screen px (resolution, for example 1080x1920 px) Screen dimension "inches" Screen density dp or a...
android|android-layout|layout|android-studio|screen
1
2015-02-27T17:37:55.587Z
2,015
2
17
4
8,072
3
1,197
31
5
0
false
false
true
false
false
false
low
28,771,082
Couldn't resolve resource @style/Widget.Holo.Light.ActionMode.Inverse
<p>I'm creating an Android app in Android Studio. When I open the layout editor, I see that gray "popup window" on top of the layout, which says that it </p> <blockquote> <p>Couldn't resolve resource @style/Widget.Holo.Light.ActionMode.Inverse.</p> </blockquote> <p>This happens when I change the "rendering version...
I'm creating an Android app in Android Studio. When I open the layout editor, I see that gray "popup window" on top of the layout, which says that it Couldn't resolve resource @style/Widget.Holo.Light.ActionMode.Inverse. This happens when I change the "rendering version" to API 15 ( Android 4.0.3 ). It worked a minute ...
android|rendering|android-resources|android-appcompat|android-actionmode
11
2015-02-27T17:38:29.213Z
2,015
2
17
4
22,058
3
634
69
5
1
true
false
true
true
true
false
medium
28,771,168
Running Android tests (junit) in Android Studio does not work Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter
<p>When I run a Andriod test (junit) test in Android Studio I get the folowing errormessage. Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter.</p> <p>I assume the error is because it cannot find the junit.jar file. When I follow below junit setup it does not fix the error:</p> <p>...
When I run a Andriod test (junit) test in Android Studio I get the folowing errormessage. Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter. I assume the error is because it cannot find the junit.jar file. When I follow below junit setup it does not fix the error: http://www.tutorial...
android|junit|android-studio
2
2015-02-27T17:44:57.130Z
2,015
2
17
4
1,180
1
472
147
3
0
false
false
false
false
false
false
low
28,771,175
Android:text from string array
<p>Is it possible to set text of textview in xml from string array? (like android:text="@string/title[3]" if I want to set the third item) Or I have to do it programatically?</p> <p>Thanks in advance.</p>
Is it possible to set text of textview in xml from string array? (like android:text="@string/title[3]" if I want to set the third item) Or I have to do it programatically? Thanks in advance.
android|arrays|string|text|textview
0
2015-02-27T17:45:14.150Z
2,015
2
17
4
1,642
1
190
30
5
0
false
false
false
false
false
false
zero
28,771,192
Android: Back button causing WebView to look for wrong asset
<p>In my Android app, I start a new Activity by overriding the URL loading of a WebView that loads a local html file from assets. When I click the back button on the Android device to get back to the Activity with the WebView, the WebView now displays the message "Web page not available" with a reference to previous Ac...
In my Android app, I start a new Activity by overriding the URL loading of a WebView that loads a local html file from assets. When I click the back button on the Android device to get back to the Activity with the WebView, the WebView now displays the message "Web page not available" with a reference to previous Activ...
android|webview|android-webview
1
2015-02-27T17:46:01.500Z
2,015
2
17
4
355
1
1,104
60
3
2
true
false
false
false
false
false
low
28,771,202
OnItemSelectedListener for Spinner in Android development
<p>I'm using a spinner in order to select a certain value, and in the activity that contains the spinnr, I've implemented OnItemSelectedListener.</p> <p>in the OnCreate() method, I've defined: <code>spinner1.setOnItemSelectedListener(this);</code></p> <p>but it doesn't get to the method onItemSelected(), my guess is ...
I'm using a spinner in order to select a certain value, and in the activity that contains the spinnr, I've implemented OnItemSelectedListener. in the OnCreate() method, I've defined: spinner1.setOnItemSelectedListener(this); but it doesn't get to the method onItemSelected(), my guess is that I'm not sending the right v...
android|spinner|android-spinner|onitemselectedlistener
0
2015-02-27T17:46:46.350Z
2,015
2
17
4
1,303
2
436
57
4
0
false
false
false
false
false
false
zero
28,771,210
keyfob cc2541 bluetooth connection drops when trying to enable acclerometer on android
<p>I am developing an Android app that needs to read the Keyfob's Accelerometer data. Until now I've followed this tutorial: <a href="https://thenewcircle.com/s/post/1553/bluetooth_smart_le_android_tutorial" rel="nofollow">https://thenewcircle.com/s/post/1553/bluetooth_smart_le_android_tutorial</a></p> <p>With it I wa...
I am developing an Android app that needs to read the Keyfob's Accelerometer data. Until now I've followed this tutorial: https://thenewcircle.com/s/post/1553/bluetooth_smart_le_android_tutorial With it I was able to connect with the Keyfob, search for services and read some characteristics. The problem is when I try t...
android|bluetooth-lowenergy
0
2015-02-27T17:47:32.890Z
2,015
2
17
4
200
1
1,086
86
2
2
true
false
false
false
false
false
zero
28,771,219
Toolbar title with custom view
<p>I am attempting to show both a title, using setTitle and a custom view in my toolbar.</p> <p>I am not treating it as an actionbar, instead as nothing more than a view.</p> <p>I am adding both the titles and custom view in Java</p> <pre><code> toolbar = (Toolbar) view.findViewById(R.id.toolbar); if (title != ...
I am attempting to show both a title, using setTitle and a custom view in my toolbar. I am not treating it as an actionbar, instead as nothing more than a view. I am adding both the titles and custom view in Java [CODE] The xml for my switch view is [CODE] What happens is that the RelativeLayout fills the entire toolba...
android|android-5.0-lollipop|toolbar
7
2015-02-27T17:47:57.160Z
2,015
2
17
4
1,825
2
366
30
3
2
true
false
false
false
false
false
medium
28,771,227
Determine if data was sent via intent
<p>Is there any way to determine if a specific boolean value was sent via an Intent? In other words, I know how to send data via an Intent and how to read it back, but I would like to know if data was sent.</p> <p>The current <code>getBooleanExtra</code> method requires a default value, so I can't check if it wasn't s...
Is there any way to determine if a specific boolean value was sent via an Intent? In other words, I know how to send data via an Intent and how to read it back, but I would like to know if data was sent. The current getBooleanExtra method requires a default value, so I can't check if it wasn't sent by using this. I cur...
android|android-intent
0
2015-02-27T17:48:12.863Z
2,015
2
17
4
55
2
537
37
2
1
true
false
false
false
false
false
zero
28,771,276
How to run custom function within another one?
<p>i build complicated application on android studio and i have this code which i have to put it in another function upon click it:</p> <pre><code> EditText e1 = (EditText) findViewById(R.id.Name); EditText e2 = (EditText) findViewById(R.id.Room); EditText e3 = (EditText)...
i build complicated application on android studio and i have this code which i have to put it in another function upon click it: [CODE] but as you see it's long one and with time i will face a hard problem to make any change in my app, so i need to store this in a custom function and upon click the button the action of...
java|android
0
2015-02-27T17:50:34.460Z
2,015
2
17
4
55
2
452
46
2
3
true
false
false
false
false
false
zero
28,771,302
How to save the state of Fragments when using FragmentStatePageAdapter and custom classes (Serializable Relative Layout)
<p>I need to have a Relative Layout that's Serializable because I need to pass it in the Bundle of the creation of a newInstance of a Fragment (just casting it in to Serializable didn't work).</p> <p>I did like this. </p> <pre><code>import java.io.Serializable; public class SerializableRelativeLayout extends Relativ...
I need to have a Relative Layout that's Serializable because I need to pass it in the Bundle of the creation of a newInstance of a Fragment (just casting it in to Serializable didn't work). I did like this. [CODE] In the layout files I use it like this: [CODE] It's working fine, but the problem is that if I go to the b...
android|android-layout|android-fragments
0
2015-02-27T17:51:42.197Z
2,015
2
17
4
195
0
1,037
120
3
6
true
true
false
false
false
false
zero
28,771,402
How to set transparent color of relative layout
<p>I want that my relative layout be transparent. I have relative layout who contains linearlayout and two images. Color that I use now is #878787, but how can I set that whole layout to transparent. Is it possible in android or not. Does anyone have the problem of this type. Thank you very much</p> <pre><code>&lt;Re...
I want that my relative layout be transparent. I have relative layout who contains linearlayout and two images. Color that I use now is #878787, but how can I set that whole layout to transparent. Is it possible in android or not. Does anyone have the problem of this type. Thank you very much [CODE]
android|xml|android-layout|android-activity|colors
0
2015-02-27T17:57:25.667Z
2,015
2
17
4
1,529
3
300
47
5
1
true
false
false
false
false
false
zero
28,771,432
Android Sql Like
<p>I'm using SQLite for my database and what I need is get the list of the username based on a specific string</p> <p>My query is </p> <pre><code>SELECT * FROM username_table WHERE username like 'john[^0-9]%' </code></pre> <p>Results are:</p> <pre><code>john1, johnny12, john123, johnatan12 ... (Except john I dont ...
I'm using SQLite for my database and what I need is get the list of the username based on a specific string My query is [CODE] Results are: [CODE] What i need is only john or john with any number besides him Expected Result [CODE] Thank you
java|android|sql|sqlite
0
2015-02-27T17:59:12.750Z
2,015
2
17
4
70
3
240
16
4
3
true
false
false
false
false
false
zero
28,771,464
Google Maps v2 API shows world map when I return to Map activity
<p>The first time I enter the Map activity, it correctly displays everything I want - my location, tools, and the map zoomed in to where I am:</p> <p><img src="https://i.stack.imgur.com/50qxE.png" alt="Image of what it should look like"></p> <p>Then, when I go out of this activity, and back in, I see this:</p> <p><i...
The first time I enter the Map activity, it correctly displays everything I want - my location, tools, and the map zoomed in to where I am: Then, when I go out of this activity, and back in, I see this: This is my activity code: @Override public void onStart() { super.onStart(); } [CODE] Why does it work perfectly the ...
android|google-maps
0
2015-02-27T18:01:30.067Z
2,015
2
18
4
759
1
541
64
2
3
true
false
false
false
false
false
zero
28,771,618
LIbGdx - Google play Services - Error in Android Studio
<p>I am pretty new to LibGDX and I don't have much experience. I am trying to get Google play services to my project, however, I'v encountered an error in Android Studio</p> <blockquote> <p>H:\JimmyCode\ActiveProjects\test\test4\test4\core\src\com\fish\test\SI.java</p> <p>Error:(8, 25) error: cannot find symbol class A...
I am pretty new to LibGDX and I don't have much experience. I am trying to get Google play services to my project, however, I'v encountered an error in Android Studio H:\JimmyCode\ActiveProjects\test\test4\test4\core\src\com\fish\test\SI.java Error:(8, 25) error: cannot find symbol class ActionResolver Error:(14, 16) e...
java|android|android-studio|libgdx|google-play
0
2015-02-27T18:11:18.313Z
2,015
2
18
4
377
0
712
55
5
3
true
true
false
false
false
false
zero
28,771,623
How are IP addresses handled for mobile devices on cellular networks?
<p>I'm working on a web project at the moment, and during testing with my cell phone to make sure everything executes correctly, I noticed something peculiar. The IP address of my device was different every time I accessed a new web page. For example, it would appear like this in my logs:</p> <p>02-27-15 9:00:00 x....
I'm working on a web project at the moment, and during testing with my cell phone to make sure everything executes correctly, I noticed something peculiar. The IP address of my device was different every time I accessed a new web page. For example, it would appear like this in my logs: 02-27-15 9:00:00 x.x.x.137 02-27-...
android|mobile
2
2015-02-27T18:11:29.530Z
2,015
2
18
4
552
0
972
69
2
0
false
true
false
false
false
false
low
28,771,629
Android : Crash using sqlite database with cursor
<p>I'm new to android developpment and I'm trying to create a contact manager list using sqlite but i'm having troubles with accessing to my sqlite database with a cursor. I have 2 activities, one for add a new contact to the database and one for reading it for the database.</p> <p>Here's my main activity :</p> <pre>...
I'm new to android developpment and I'm trying to create a contact manager list using sqlite but i'm having troubles with accessing to my sqlite database with a cursor. I have 2 activities, one for add a new contact to the database and one for reading it for the database. Here's my main activity : [CODE] The TestDBOpen...
android|ios
1
2015-02-27T18:11:54.017Z
2,015
2
18
4
746
1
4,014
49
2
5
true
false
false
false
false
false
low
28,771,661
Best practice for managing most used cached images
<p>In the spirit of not reinventing the bicycle I'm wondering if there's an Android best practice approach (which I'm not finding through google, but I'm probably not articulating my search correctly) for keeping a defined amount of local storage allocated for downloaded bitmaps, which are kept around based on a most c...
In the spirit of not reinventing the bicycle I'm wondering if there's an Android best practice approach (which I'm not finding through google, but I'm probably not articulating my search correctly) for keeping a defined amount of local storage allocated for downloaded bitmaps, which are kept around based on a most comm...
android|image-caching|file-storage
0
2015-02-27T18:13:44.360Z
2,015
2
18
4
679
2
1,085
50
3
0
false
false
false
false
false
false
zero
28,771,685
Unable to add CardView to layout in Eclipse
<p>I am using Eclipse and trying to add <code>CardView</code> to my layout. However I keep getting an exception: </p> <pre><code>02-27 23:33:41.982: E/AndroidRuntime(20071): FATAL EXCEPTION: main 02-27 23:33:41.982: E/AndroidRuntime(20071): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.exampl...
I am using Eclipse and trying to add CardView to my layout. However I keep getting an exception: [CODE] I have: 1. Imported appcompat_v7 to my workspace, added it to libraries. 2. Imported cardview project and added it to libraries. 3. Configured the build path and added cardview to the "Projects". 4. My targetSdkVersi...
java|android|eclipse|android-cardview
0
2015-02-27T18:15:45.700Z
2,015
2
18
4
349
1
382
43
4
1
true
false
false
false
false
false
zero
28,771,686
Do I need service to do something when app is in background?
<p>I have to write an app that is supposed to send user location to server.</p> <p>I have class that is listening events from Android and it sends data to server bia webservice.</p> <p>Do I have to put that in some service, or I can just put it into my MainActivity class code?</p> <p>Im asking, because Android is st...
I have to write an app that is supposed to send user location to server. I have class that is listening events from Android and it sends data to server bia webservice. Do I have to put that in some service, or I can just put it into my MainActivity class code? Im asking, because Android is still weird for me. It pauses...
android
0
2015-02-27T18:15:46.647Z
2,015
2
18
4
59
3
486
60
1
0
false
false
false
false
false
false
zero
28,771,709
Attempt to invoke virtual method on a null object reference - drawer layout
<p>I'm creating a parent activity that extends ActionBarActivity which all of my activities will extend (so I only have to do drawer setup once).</p> <p>I keep getting a null pointer exception on the setAdapter method of my drawer's list and can't figure out why.</p> <p>Here's the parent activity: <em>(The crash log ...
I'm creating a parent activity that extends ActionBarActivity which all of my activities will extend (so I only have to do drawer setup once). I keep getting a null pointer exception on the setAdapter method of my drawer's list and can't figure out why. Here's the parent activity: (The crash log shows it's being cause ...
android|navigation-drawer
1
2015-02-27T18:17:15.320Z
2,015
2
18
4
19,780
1
726
75
2
5
true
false
true
true
false
false
low
28,771,723
Android Google Maps Api Tileprovider reapeating x
<p>i want to build a map for my app with custom tiles</p> <p>here is the code of my tiles provider:</p> <pre><code> TileProvider tileProvider = new UrlTileProvider(256, 256) { @Override public synchronized URL getTileUrl(int x, int y, int zoom) { Integer tileRange = 1 &lt;&lt; zoom; ...
i want to build a map for my app with custom tiles here is the code of my tiles provider: [CODE] but the problem is that when is scroll right the map repeats the tiles. This problem does not occur when i scrolling top or bottom. Is it possible to disable this repeating for the x axis? I have already tested [CODE] from ...
java|android|api|google-maps|tiles
1
2015-02-27T18:18:28.747Z
2,015
2
18
4
351
1
449
49
5
2
true
false
false
false
false
false
low
28,771,724
Create ListView with popup window?
<p>Is there a way to create ListView with custom adapter to do next: When item 1 is pressed, to push down other listview items and inflate some view? Something like this: <img src="https://i.stack.imgur.com/uaQ9H.jpg" alt="This is normal ListView, not p ressed"></p> <p><img src="https://i.stack.imgur.com/Lk0QP.jpg" al...
Is there a way to create ListView with custom adapter to do next: When item 1 is pressed, to push down other listview items and inflate some view? Something like this: What is the right way to do this? What should I use? I tried with expandable listview but I can't make the buttons to be horizontal.
android|listview
0
2015-02-27T18:18:29.203Z
2,015
2
18
4
120
1
300
34
2
0
false
false
false
false
false
false
zero
28,771,745
How to use IntentFliter for URL to get every link?
<p>I am trying to set up a filter for URLs specific to my domain and a certain subdomain. This is what I have so far:</p> <pre><code>&lt;intent-filter&gt; &lt;action android:name="android.intent.action.VIEW"/&gt; &lt;category android:name="android.intent.category.DEFAULT"/&gt; &lt;category android:name="an...
I am trying to set up a filter for URLs specific to my domain and a certain subdomain. This is what I have so far: [CODE] I tried it without the host (only pathPattern), with and without the first slash on pathPattern and every combination I thought of, but it always links my app to every https link I click. What is go...
android|url|android-intent
3
2015-02-27T18:20:00.970Z
2,015
2
18
4
58
0
466
50
3
1
true
true
false
false
false
false
low
28,771,773
how to fix NPE from fragment?
<p>from fragment in my app i need to call public void that state in <code>myService.class</code>.</p> <p>in fact i needed to do actions for buttons of mediaPlayer, that will be called from fragment. when first time press <code>btn_PlayResume</code> - it <code>startService();</code> when second time pressed - call paus...
from fragment in my app i need to call public void that state in myService.class . in fact i needed to do actions for buttons of mediaPlayer, that will be called from fragment. when first time press btn_PlayResume - it startService(); when second time pressed - call pause(); and if again - just call play(), but not sta...
android|service|nullpointerexception|fragment
-1
2015-02-27T18:21:29.293Z
2,015
2
18
4
78
1
467
29
4
1
true
false
false
false
false
true
negative
28,771,834
Where can I find the code to modify the stock Android dialer in Lollipop?
<p>I want to change the SIP registration timeout value in the default android Dialer, as well as route all calls through cell instead of SIP. </p> <p>I am looking in 5.0.0_r2 tree, and under packages/apps/Dialer, I can't find any appropriate source code.</p> <p>packages/apps/Phone is empty.</p> <p>Does this mean Goo...
I want to change the SIP registration timeout value in the default android Dialer, as well as route all calls through cell instead of SIP. I am looking in 5.0.0_r2 tree, and under packages/apps/Dialer, I can't find any appropriate source code. packages/apps/Phone is empty. Does this mean Google has closed source for th...
android|android-source
-1
2015-02-27T18:25:13.180Z
2,015
2
18
4
1,422
2
376
73
2
0
false
false
false
false
false
true
negative
28,771,852
Android Deleting File From Storage OutputStream
<p>I am trying to delete a file from storage however when I do it returns true as it's been deleted yet on next boot up reads out the file as if it still exists :/</p> <pre><code> package com.example.Mazer.Utilities; import android.app.Activity; import android.content.Context; import android.util.Log; import java...
I am trying to delete a file from storage however when I do it returns true as it's been deleted yet on next boot up reads out the file as if it still exists :/ [CODE] As you can see I have added a few out of the million approaches I have tried, I have even tried over-writing the file. I read from the file like so: [CO...
android|file|directory|storage|internal
0
2015-02-27T18:27:05.877Z
2,015
2
18
4
788
2
366
47
5
3
true
false
false
false
false
false
zero
28,771,867
Android - NFC string into Textview
<p>I have created a simple app which the user can search for a room and then presses the search button to search for the room.</p> <p>My next task is to have NFC so that the NFC stores the room in text format (Room 101) and when the user taps the tag it opens the app and inserts Room 101 into the textview. </p> <p>Is...
I have created a simple app which the user can search for a room and then presses the search button to search for the room. My next task is to have NFC so that the NFC stores the room in text format (Room 101) and when the user taps the tag it opens the app and inserts Room 101 into the textview. Is this possible? And ...
android|textview|nfc
1
2015-02-27T18:28:13.767Z
2,015
2
18
4
258
1
369
34
3
0
false
false
false
false
false
false
low
28,771,947
Android project code structure for app - deailing with FragmentActivity
<p>I've run into a road block with creating a basic app - due to my understanding of fragments and basic app structure. Could you give me an idea for how my app should be structured?</p> <ul> <li>I have an app with a navigation drawer (currently in the main activity).</li> <li>The main activity layout has the drawerla...
I've run into a road block with creating a basic app - due to my understanding of fragments and basic app structure. Could you give me an idea for how my app should be structured? I have an app with a navigation drawer (currently in the main activity). The main activity layout has the drawerlayout widget, a frame layou...
android|android-fragments
0
2015-02-27T18:33:42.180Z
2,015
2
18
4
73
2
908
71
2
0
false
false
false
false
false
false
zero
28,772,010
Dagger: class could not be bound with key
<p>I'm trying for first time dagger and, after configuring the module, I get an error I don't understand.</p> <p>My code is:</p> <pre><code>public class Parrot { private Language language; @Inject public Parrot(Language language) { this.language = language; } public void sayHello() { ...
I'm trying for first time dagger and, after configuring the module, I get an error I don't understand. My code is: [CODE] My module is [CODE] And in the code I use it this way [CODE] The compiler complains with: [CODE] What do I am doing wrong? Note: This is only a simplified example, in the real code the EnglishLangua...
java|android|dagger
7
2015-02-27T18:37:54.760Z
2,015
2
18
4
2,719
2
396
41
3
4
true
false
true
false
false
false
medium
28,772,028
What is the best practice for designing an Android application with self update content?
<p>My firm has been developing a number of Android apps lately and it has become a common theme that our applications should be able to self update their content without having to download an update through Google Play. While we've come up with some solutions, I've run into quite a few limitations doing this and I want...
My firm has been developing a number of Android apps lately and it has become a common theme that our applications should be able to self update their content without having to download an update through Google Play. While we've come up with some solutions, I've run into quite a few limitations doing this and I wanted ...
android
1
2015-02-27T18:39:05.393Z
2,015
2
18
4
72
0
843
88
1
0
false
true
false
false
false
false
low
28,772,082
Eclipse: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl
<p>A similar question has been asked for Android Studio. But I am an eclipse user.</p> <p>I am including the Facebook SDK in my project. After adding the SDK, when I run the program, I get the error</p> <p><code>Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$Accessib...
A similar question has been asked for Android Studio. But I am an eclipse user. I am including the Facebook SDK in my project. After adding the SDK, when I run the program, I get the error Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionIm...
android|eclipse|facebook|dex
0
2015-02-27T18:42:52.750Z
2,015
2
18
4
356
1
425
142
4
0
false
false
false
false
false
false
zero
28,772,290
How to add string in int? R.string.name+Integer.parse(myindex). not working
<p>How to add string in int? </p> <pre><code>R.string.name+Integer.parse(myindex). </code></pre> <p>not working.Link <a href="https://stackoverflow.com/questions/28132214/txtt-settextgetstringr-string-i-j">txtt.setText(getString(R.string.(&quot;i&quot; + j++)));</a> not helpful. others found</p>
How to add string in int? [CODE] not working.Link txtt.setText(getString(R.string.(&quot;i&quot; + j++))); not helpful. others found
android|android-resources
1
2015-02-27T18:56:00.407Z
2,015
2
18
4
378
2
132
75
2
1
true
false
false
false
false
false
low
28,772,397
Back Key not working properly
<p>I want to add the back key in my application so I added this</p> <pre><code>onCreate(){ getActionBar().setDisplayHomeAsUpEnabled(true); } </code></pre> <p>And this</p> <pre><code> if(id == android.R.id.home){ this.finish(); Intent intent = new Intent(getApplicationContext(),...
I want to add the back key in my application so I added this [CODE] And this [CODE] It works fine when i press the back button from the App But when I press physical back button key it kill the application
android|back
0
2015-02-27T19:03:07.630Z
2,015
2
19
4
649
2
205
29
2
2
true
false
false
false
false
false
zero
28,772,449
Android crash due to layout casting
<p>Android Studio 1.1.0, java 8, Windows 7 pro 64bit</p> <p>My App crashes with a run-time fatal exception, the following error in the log. java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.LinearLayout$LayoutParams</p> <p>it does not crash if I comment out the ...
Android Studio 1.1.0, java 8, Windows 7 pro 64bit My App crashes with a run-time fatal exception, the following error in the log. java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.LinearLayout$LayoutParams it does not crash if I comment out the second line in the ...
android-layout|casting
0
2015-02-27T19:05:59.757Z
2,015
2
19
4
388
1
460
35
2
2
true
false
false
false
false
false
zero
28,772,467
android sqlite and regular expressions
<p>I need to select the query from the database all the names that begin with the letter or letters, but without the letter "x".</p> <p>For some titles that now exists in the following code(It's slow but it works):</p> <pre><code> String qstr = "SELECT SUM("+SQLhelper.COL_COUNT +") FROM " + SQLhelper....
I need to select the query from the database all the names that begin with the letter or letters, but without the letter "x". For some titles that now exists in the following code(It's slow but it works): [CODE] When I add other names must be added to the query string. I tried to do so, using regular expressions: [CODE...
android|regex|sqlite
1
2015-02-27T19:06:55.113Z
2,015
2
19
4
2,160
2
384
38
3
2
true
false
false
false
false
false
low