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,604,067
OutOfMemoryException using Bitmaps in Xamarin.Android
<p>I'm facing an OutOfMemoryException when I try to download images (that can be large images). I'm working with Xamarin.Android and a PCL for cross-platform actions.</p> <p>I want to do an image slideshow. I have a limited number of imageviews superposed on my layout. When I have swipe out all images, I reload new im...
I'm facing an OutOfMemoryException when I try to download images (that can be large images). I'm working with Xamarin.Android and a PCL for cross-platform actions. I want to do an image slideshow. I have a limited number of imageviews superposed on my layout. When I have swipe out all images, I reload new images in tho...
c#|android|bitmap|xamarin.android|akavache
2
2015-02-19T10:33:31.693Z
2,015
2
10
3
1,661
1
1,184
53
5
2
true
false
false
false
false
false
low
28,604,108
Get attribute of inner node in XML
<p>I have a next XML file </p> <pre class="lang-xml prettyprint-override"><code>&lt;cities&gt; &lt;country name="Абхазия"&gt; &lt;city id="37188" region="27028" head="" type="3" country="Абхазия" part="" resort="" climate=""&gt;Новый Афон&lt;/city&gt; &lt;/country&gt; &lt;/cities&gt; </code></pre> <p>And i need ...
I have a next XML file [CODE] And i need to get the id attribute from the inner city node. I've done the next code, but i have no idea how to proceed: [CODE]
java|android|xml
0
2015-02-19T10:35:54.333Z
2,015
2
10
3
496
4
157
34
3
2
true
false
false
false
false
false
zero
28,604,133
Create Gallery with HoritzontalScrollView Android
<p>I'm trying to do a gallery of ImageViews but with HortizontalScrollView, because gallery is deprecated and it does not work well. But I don't find the form for slide the images like Gallery. I have done this code: - xml file:</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/androi...
I'm trying to do a gallery of ImageViews but with HortizontalScrollView, because gallery is deprecated and it does not work well. But I don't find the form for slide the images like Gallery. I have done this code: - xml file: [CODE] Activity file: [CODE]
android|scroll|gallery|slide
0
2015-02-19T10:37:28.957Z
2,015
2
10
3
133
2
254
49
4
2
true
false
false
false
false
false
zero
28,604,192
Overlay text on each gridview cell
<p>It sounds simple enough, yet I am unable to figure out a method.</p> <p>I have a <code>gridview</code>, and I want to overlay a text on top of it - on its top right corner with some padding from the edges.</p> <p>Some options I considered - </p> <ol> <li><p><code>layer-list</code> - can't use this as it has no su...
It sounds simple enough, yet I am unable to figure out a method. I have a gridview , and I want to overlay a text on top of it - on its top right corner with some padding from the edges. Some options I considered - layer-list - can't use this as it has no support for text, but only for images (or so I found out, correc...
android|overlay|android-gridview
0
2015-02-19T10:40:26.387Z
2,015
2
10
3
144
1
588
34
3
0
false
false
false
false
false
false
zero
28,604,235
Line "try{" isn't covered by JaCoCo
<p>I'm using <code>JaCoCo</code> plugin for code coverage in my <code>Android</code> project. When I open <code>sonar</code> it shows me that following line isn't covered. </p> <p><img src="https://i.stack.imgur.com/6SZsC.png" alt=""></p> <p>I'm using <code>SonarQube Version 4.5.1</code> and <code>JaCoCo Gradle plugi...
I'm using JaCoCo plugin for code coverage in my Android project. When I open sonar it shows me that following line isn't covered. I'm using SonarQube Version 4.5.1 and JaCoCo Gradle plugin 0.7.1.201405082137 . Is this a bug in JaCoCo plugin? How can I fix it? Edit: reported to Gradle forum .
android|sonarqube|jacoco
-1
2015-02-19T10:42:30.333Z
2,015
2
10
3
56
1
292
35
3
0
false
false
false
false
false
true
negative
28,604,241
ExpandableListFragment doesn't exist. how to deal with it?
<p>The titles are not my forte so I will try to put this as clear as possible. </p> <p>We have a <code>ListFragment</code> and now we have to convert it to smth like an <code>ExpandableListFragment</code>, which doesnT exist apparently. </p> <p>Obviously, there are gists and individual attempts (<a href="https://gith...
The titles are not my forte so I will try to put this as clear as possible. We have a ListFragment and now we have to convert it to smth like an ExpandableListFragment , which doesnT exist apparently. Obviously, there are gists and individual attempts ( this , this and this ) but I wonder why Google itself didnT offer ...
android|android-fragments|expandablelistview
0
2015-02-19T10:42:53.610Z
2,015
2
10
3
29
1
587
58
3
0
false
false
false
false
false
false
zero
28,604,242
Button clicking notification not sending to multiple using services in android
<p>Hi in the below when I am clicking the button notification sending with groupname.but in my groupdata in that tmp string contains no of users that i want to send this string returning correct users.but notification got sending only one time. But,I want to send the based on users i want to notification.</p> <p>For e...
Hi in the below when I am clicking the button notification sending with groupname.but in my groupdata in that tmp string contains no of users that i want to send this string returning correct users.but notification got sending only one time. But,I want to send the based on users i want to notification. For example if t...
android|notifications
1
2015-02-19T10:42:56.950Z
2,015
2
10
3
50
0
474
78
2
1
true
true
false
false
false
false
low
28,604,246
How to update minDate and maxDate of Datepicker Android
<p>I have an activity containing 2 DatePickers (From and To) and a Button called "Special request". The first thing i do in my activity is set the minDate and maxDate of both DatePickers. Then by clicking on the Button i wish to update those minDate and maxDate to today's date + one day.</p> <p>Here's the setDate() m...
I have an activity containing 2 DatePickers (From and To) and a Button called "Special request". The first thing i do in my activity is set the minDate and maxDate of both DatePickers. Then by clicking on the Button i wish to update those minDate and maxDate to today's date + one day. Here's the setDate() method i call...
android|datepicker|maxdate|mindate|updatedate
1
2015-02-19T10:43:02.567Z
2,015
2
10
3
663
0
658
55
5
3
true
true
false
false
false
false
low
28,604,295
Imposible to develop a simple android app using Google Map API V2
<p>I would like to use a Google Map in my current application. Before integrate it to my app, I created a test project to understand the functionalities.</p> <p>I read this : <a href="https://developers.google.com/maps/documentation/android/start#installing_the_google_maps_android_v2_api" rel="nofollow">https://develo...
I would like to use a Google Map in my current application. Before integrate it to my app, I created a test project to understand the functionalities. I read this : https://developers.google.com/maps/documentation/android/start#installing_the_google_maps_android_v2_api and this : http://developer.android.com/google/pla...
java|android|eclipse|google-maps|google-play-services
0
2015-02-19T10:45:16.223Z
2,015
2
10
3
411
2
1,163
65
5
3
true
false
false
false
false
false
zero
28,604,316
How to apply color filter in video in android application
<p>Hello currently I am working on video editing android application, But i am not able to apply video filter in video. Anyone please suggest me the way by which i am able to apply color filter (sepia, black white) in my video in android application</p>
Hello currently I am working on video editing android application, But i am not able to apply video filter in video. Anyone please suggest me the way by which i am able to apply color filter (sepia, black white) in my video in android application
android
4
2015-02-19T10:45:58.497Z
2,015
2
10
3
331
0
246
57
1
0
false
true
false
false
false
false
low
28,604,324
Android game crashes if lock button is pressed
<p>If I press lock button while my game is in foreground then it calls onStop() and immediately onDestroy() and when I unlock the device only white screen is displayed with background music of the game. But if I press home button (when my game is in foreground) and then press the lock button it only calls onStop() meth...
If I press lock button while my game is in foreground then it calls onStop() and immediately onDestroy() and when I unlock the device only white screen is displayed with background music of the game. But if I press home button (when my game is in foreground) and then press the lock button it only calls onStop() method ...
android|crash|game-physics
0
2015-02-19T10:46:15.810Z
2,015
2
10
3
128
0
580
46
3
2
true
true
false
false
false
false
zero
28,604,367
Android 5.0 (Lollipop) Service Intent must be explicit
<p>I am working on a widget and code is working fine on pre Lollipop devices but when I run my code on Lollipop, it gives me error <code>Service Intent must be explicit: Intent { act=org.clangen.widget.clock.action.UPDATE }</code>. I have Google this error but I did't understand even this [question] <a href="https://st...
I am working on a widget and code is working fine on pre Lollipop devices but when I run my code on Lollipop, it gives me error Service Intent must be explicit: Intent { act=org.clangen.widget.clock.action.UPDATE } . I have Google this error but I did't understand even this [question] Android 5.0 (L) Service Intent mus...
android|service|android-5.0-lollipop|intentfilter
0
2015-02-19T10:48:29.040Z
2,015
2
10
3
4,993
1
461
54
4
3
true
false
true
false
false
false
zero
28,604,407
Android Date pattern for locale
<p>I am building an app that will required the dates to be formatted to the locale. I have it working using the below code, however Sweden use the date format yyyy-mm-dd but it is giving me dd.mm.yyyy. I have looked into localizedpattern but struggling to find a decent example of how this is implemented or if its any ...
I am building an app that will required the dates to be formatted to the locale. I have it working using the below code, however Sweden use the date format yyyy-mm-dd but it is giving me dd.mm.yyyy. I have looked into localizedpattern but struggling to find a decent example of how this is implemented or if its any diff...
android|date|localization
0
2015-02-19T10:50:35.400Z
2,015
2
10
3
317
1
371
31
3
1
true
false
false
false
false
false
zero
28,604,426
Thread waiting (vs) new instance
<p>I'm trying to optimize my android app, it's a big app and it's taking a lot of battery while running. So I'm trying to see what I can do to fix that.</p> <p>I ran DDMS and looked at the threads, there are a lot : almost 30. The ones I create through instances of AsyncTask are in "Wait" state. In my code I create th...
I'm trying to optimize my android app, it's a big app and it's taking a lot of battery while running. So I'm trying to see what I can do to fix that. I ran DDMS and looked at the threads, there are a lot : almost 30. The ones I create through instances of AsyncTask are in "Wait" state. In my code I create them, run som...
java|android|performance
0
2015-02-19T10:51:18.217Z
2,015
2
10
3
46
1
781
32
3
0
false
false
false
false
false
false
zero
28,604,528
Lazy thumbnails video from Android Mediastore
<p>I'm showing a video list with title, duration and thumb image of the media file. Since I don't want to use the fixed thumbnails size (eg: MediaStore.Video.Thumbnails.MICRO_KIND or MediaStore.Video.Thumbnails.MINI_KIND), I've decided to get the thumb URI by myself with:</p> <pre><code>thumbUri = videoThumbnailCursor...
I'm showing a video list with title, duration and thumb image of the media file. Since I don't want to use the fixed thumbnails size (eg: MediaStore.Video.Thumbnails.MICRO_KIND or MediaStore.Video.Thumbnails.MINI_KIND), I've decided to get the thumb URI by myself with: [CODE] All works fine, except that the thumbnails ...
android|lazy-loading|thumbnails|mediastore
0
2015-02-19T10:56:35.900Z
2,015
2
10
3
496
1
457
45
4
2
true
false
false
false
false
false
zero
28,604,546
Can simple_list_item_2 be customized?
<p>I've used simple_list_item_2 in my code to create listview.Everything is working alright, but i want to change the background color of the layout.Is it possible? Can this layout also be customized like user defined XML?</p>
I've used simple_list_item_2 in my code to create listview.Everything is working alright, but i want to change the background color of the layout.Is it possible? Can this layout also be customized like user defined XML?
android|android-layout|android-listview|customization
0
2015-02-19T10:57:22.927Z
2,015
2
10
3
1,416
2
219
37
4
0
false
false
false
false
false
false
zero
28,604,579
Android Master Detail template and ActionBar
<p>I'm new in Android..</p> <p>I have a question about MasterDetail template.</p> <p>I have an Activity to manage user login. When the login data are correct I need to show the Master Detail template.</p> <p>So, in Android Studio, i added a Master/Detail Flow activity in my project.</p> <p>In my <code>validateLogin...
I'm new in Android.. I have a question about MasterDetail template. I have an Activity to manage user login. When the login data are correct I need to show the Master Detail template. So, in Android Studio, i added a Master/Detail Flow activity in my project. In my validateLogin() method, after the login data are corre...
android|android-layout|android-fragments|android-activity|android-actionbar
1
2015-02-19T10:59:13.850Z
2,015
2
10
3
2,020
2
765
44
5
3
true
false
false
false
false
false
low
28,604,622
VS2013 Cordova blank app command failed with exit code 8 error
<p>I've create a new Blank App (Apache Cordova) typescript in VS2013 community edition. Running the ripple emulator works fine. But when I attempt to run the android emulator or device, then I get this error: </p> <blockquote> <p>C:\WorkspaceMobileVisualStudio\BlankCordovaApp1\BlankCordovaApp1\bld\Debug\platforms\an...
I've create a new Blank App (Apache Cordova) typescript in VS2013 community edition. Running the ripple emulator works fine. But when I attempt to run the android emulator or device, then I get this error: C:\WorkspaceMobileVisualStudio\BlankCordovaApp1\BlankCordovaApp1\bld\Debug\platforms\android\cordova\build.bat: Co...
android|node.js|cordova|visual-studio-2013|visual-studio-cordova
7
2015-02-19T11:00:41.977Z
2,015
2
11
3
4,043
1
1,650
62
5
0
false
false
true
false
false
false
medium
28,604,662
How to refresh a fragment after language change is applied in android?
<p>My app uses fragments extensively. It is supposed to support 3 languages - English, Arabic and Kurdish. The home screen consists of a navigation drawer which holds a menu of options one of them is languages which opens a language selector dialog. The language selector has 3 buttons - English, Kurdish and Arabic clic...
My app uses fragments extensively. It is supposed to support 3 languages - English, Arabic and Kurdish. The home screen consists of a navigation drawer which holds a menu of options one of them is languages which opens a language selector dialog. The language selector has 3 buttons - English, Kurdish and Arabic clickin...
android|android-fragments
8
2015-02-19T11:02:52.770Z
2,015
2
11
3
6,406
1
659
70
2
3
true
false
true
false
false
false
medium
28,604,687
Unable to resolve host name exception during sending http request using android volley through my app to AWS
<p>Unable to resolve host name exception during sending first http request using android volley through my app to AWS(Amazon) where my Java Web Application is hosted. But when I request from mobile browser to the same link then it respond and after this through app also it responds. Please help me out from this probl...
Unable to resolve host name exception during sending first http request using android volley through my app to AWS(Amazon) where my Java Web Application is hosted. But when I request from mobile browser to the same link then it respond and after this through app also it responds. Please help me out from this problem.#A...
android|jsp|amazon-web-services|amazon-elastic-beanstalk
3
2015-02-19T11:04:14.520Z
2,015
2
11
3
157
0
323
108
4
0
false
true
false
false
false
false
low
28,604,694
Reference the INTEGER value of a string resource in XML
<p>Is it possible to reference not the representated string, but the integer key of a resource in xml?</p> <pre><code>&lt;string name="first_string"&gt;First! :-D&lt;/string&gt; &lt;string name="second_string"&gt;Second :(&lt;/string&gt; &lt;integer-array name="something"&gt; &lt;item&gt;@string/first_string&lt;/...
Is it possible to reference not the representated string, but the integer key of a resource in xml? [CODE] This for example does not work, because @string/first_string is resolved to First! :-D , instead of it's resource key (for example 0x7f0c0010 ). Is there any way at all to access that?
java|android|xml|android-xml
0
2015-02-19T11:04:36.003Z
2,015
2
11
3
606
2
291
55
4
1
true
false
false
false
false
false
zero
28,604,724
What does Error:(13) Error: The <receiver> element must be a direct child of the <application> element [WrongManifestParent] mean and how do i fix it?
<p>Im having problems when trying to compile my app, im trying to launch it from the dialler and the manifest file gets this error. Here is my manifest file</p> <pre><code>&lt;uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/&gt; &lt;application android:allowBackup="true" android:icon="...
Im having problems when trying to compile my app, im trying to launch it from the dialler and the manifest file gets this error. Here is my manifest file [CODE]
android|android-intent|broadcastreceiver
-2
2015-02-19T11:06:01.830Z
2,015
2
11
3
2,880
2
160
150
3
1
true
false
true
false
false
true
negative
28,604,787
how to mark an active player in my application?
<p>I want to make a game that allow user to challenge other player. The mechanic will be simple, you click on "Find opponent" button, application sends a request to webapi, gets random opponent and is starting a match. Now my problem is....how can I find an active opponent ? The one that application is running in foreg...
I want to make a game that allow user to challenge other player. The mechanic will be simple, you click on "Find opponent" button, application sends a request to webapi, gets random opponent and is starting a match. Now my problem is....how can I find an active opponent ? The one that application is running in foregrou...
android
1
2015-02-19T11:08:35.800Z
2,015
2
11
3
17
0
552
47
1
0
false
true
false
false
false
false
low
28,604,792
Created a new activity - Actionbar won't show up
<p>I've just created a new application. The main activity contains a button which when pressed starts a new activity like this:</p> <pre><code>public void onClick(View v) { switch (v.getId()) { case R.id.activity_main_add: Intent i = new Intent(this, Activity2.class); startActivity(...
I've just created a new application. The main activity contains a button which when pressed starts a new activity like this: [CODE] This is how the Activity2 looks like: [CODE] The problem now is that the main activity shows the actionbar, but the second activity won't. I don't know where the problem could be, any sugg...
android|android-layout|android-activity
0
2015-02-19T11:08:43.410Z
2,015
2
11
3
74
2
408
48
3
4
true
false
false
false
false
false
zero
28,604,797
Automatically open PDF after force download in PHP
<p>I have the following PHP code from an HTML application (user is using Chrome browser on Android)</p> <pre><code>$path_full = '../files/this_is_my_dir/test.pdf'; $path_exploded = explode('/', $path_full); $filename = end($path_exploded); if (file_exists($path_full)) { $finfo = new finfo(FILEINFO_MIME); he...
I have the following PHP code from an HTML application (user is using Chrome browser on Android) [CODE] When a user clicks an icon it will force download (with above code) the file (which is outside public root) to the android download folder. But we want that the PDF automatically after download opens (just like click...
php|android|pdf|download
0
2015-02-19T11:09:03.567Z
2,015
2
11
3
1,139
1
358
50
4
1
true
false
false
false
false
false
zero
28,604,817
NDK BUILD No such file or directory
<p>I just used ANDROID SDK for the first time</p> <p>I've setup everything according to the documentation and I'm now trying to compile sample project but the ndk-build won't work.</p> <p>I have NDK r10d installed, doc says no setup is needed, only need to extract to some location. But when I run ndk-build I get the ...
I just used ANDROID SDK for the first time I've setup everything according to the documentation and I'm now trying to compile sample project but the ndk-build won't work. I have NDK r10d installed, doc says no setup is needed, only need to extract to some location. But when I run ndk-build I get the following error mes...
android|c++|android-ndk
1
2015-02-19T11:10:01.747Z
2,015
2
11
3
4,296
2
333
35
3
1
true
false
true
false
false
false
low
28,604,819
How to set textView in Layout
<p>I have a problem with <code>TextView</code>. I have a layout, where there are two layouts (one is 10% and the other 90% of the area), <code>TextView</code> is placed in the first layout. The problem is that the text is to be shown at the center and at the 2 lines of text layout begins to grow, the same is reduced ev...
I have a problem with TextView . I have a layout, where there are two layouts (one is 10% and the other 90% of the area), TextView is placed in the first layout. The problem is that the text is to be shown at the center and at the 2 lines of text layout begins to grow, the same is reduced even though the layout below t...
android|android-layout|textview
-1
2015-02-19T11:10:08.320Z
2,015
2
11
3
100
1
561
29
3
1
true
false
false
false
false
true
negative
28,604,822
how to visible an image in ACTION_DRAG_ENDED of dropping class in android?
<p>I use this class for <code>setOnDragListener</code> for Linear Layout. and after <code>ACTION_DRAG_ENDED</code> action, I want to show(visible) an image to users. But as I run the program, <code>"The App Has Been Stopped"</code> is shown on AVD. How can I solve it? </p> <pre><code> class MyDragListenerCorrect imple...
I use this class for setOnDragListener for Linear Layout. and after ACTION_DRAG_ENDED action, I want to show(visible) an image to users. But as I run the program, "The App Has Been Stopped" is shown on AVD. How can I solve it? [CODE] these are errors: [CODE]
android|drag-and-drop|visibility
2
2015-02-19T11:10:19.263Z
2,015
2
11
3
99
0
258
74
3
2
true
true
false
false
false
false
low
28,604,932
I'm developing a keyboard for android. How to change the text color of the keys?
<p>How to change the text color of the keys?</p> <p>Here is my keyboard layout.</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;android.inputmethodservice.KeyboardView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/keyboard" android:keyBackground="@drawable/ke...
How to change the text color of the keys? Here is my keyboard layout. [CODE] key_background.xml [CODE]
java|android|android-softkeyboard
1
2015-02-19T11:15:00.723Z
2,015
2
11
3
3,503
2
102
80
3
2
true
false
true
false
false
false
low
28,604,947
Xamarin Forms Ui project (Multiplatform)
<p>I am making this UI for a multiplatform app using Xamarin on my Macbook. I have set FormsUI as startup project. Xamarin gives errors when i try to run the project on ios simulator. </p> <hr> <p>/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets:</p> <p>Error: Failed to load ...
I am making this UI for a multiplatform app using Xamarin on my Macbook. I have set FormsUI as startup project. Xamarin gives errors when i try to run the project on ios simulator. /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: Failed to load output manifest for ibtool...
android|ios|windows-phone-8|xamarin.forms|multiplatform
2
2015-02-19T11:15:55.647Z
2,015
2
11
3
459
1
526
40
5
0
false
false
false
false
false
false
low
28,604,984
How can I get Main Thread from Thread.currentThread()?
<p>I am sorry, I have stupid question. </p> <p>I have two threads. Thread_Main and Thread_Simple, in Thread_Main performed method A() and method B(). In Thread_Simple performed method C(). Now: <code>first performed method A(), then performed method C(), then performed method B(), then performed method A(), then perfo...
I am sorry, I have stupid question. I have two threads. Thread_Main and Thread_Simple, in Thread_Main performed method A() and method B(). In Thread_Simple performed method C(). Now: first performed method A(), then performed method C(), then performed method B(), then performed method A(), then performed method C(), t...
java|multithreading|synchronization|android-espresso
0
2015-02-19T11:17:31.427Z
2,015
2
11
3
2,406
2
592
54
4
0
false
false
false
false
false
false
zero
28,605,021
$http.get code working in browser but not in android device using ionic framework
<pre><code>var service = angular.module('ionicApp.service', []) service .factory('menuService', function($http) { return { getMenu: function() { return $http.get("/json/menu.json"); }, } }); </code></pre> <p>This code works fine and ajax returns success,...
[CODE] This code works fine and ajax returns success, but in case when I deploy my app on device using command "cordova run android", same ajax fails. Here is how I am calling menuService.getMenu() function. [CODE]
javascript|android|ajax|angularjs|cordova
1
2015-02-19T11:19:17.450Z
2,015
2
11
3
411
0
214
81
5
2
true
true
false
false
false
false
low
28,605,031
?android:attr/selectableItemBackground not visible enough on a dark background
<p>On Android Lollipop, I'm using:</p> <pre><code>android:background="?android:attr/selectableItemBackground" </code></pre> <p>to have the material animated feedback when I click on a button.</p> <p>It works well when I have a button contained in a white/light layout, like a CardView for example.</p> <p>But when I ...
On Android Lollipop, I'm using: [CODE] to have the material animated feedback when I click on a button. It works well when I have a button contained in a white/light layout, like a CardView for example. But when I want to use the same thing on a dark background, we barely see the effect, it is not visible enough. Does ...
android|android-5.0-lollipop|material-design
13
2015-02-19T11:19:42.497Z
2,015
2
11
3
9,327
3
351
78
3
1
true
false
true
false
true
false
medium
28,605,120
Android Sharing with Subject E-Mail/Whatsapp
<p>I am using android native sharing with this code:</p> <pre><code>Intent intent = new Intent(Intent.ACTION_SEND); intent.putExtra(Intent.EXTRA_TEXT, "I like to share with you some stuff."); intent.putExtra(Intent.EXTRA_SUBJECT, "I like to share with you."); intent.setType(CONTENT_TYPE_TEXT); startActivity(Intent.cre...
I am using android native sharing with this code: [CODE] When I use E-Mail as the sharing channel, I get what i want: [CODE] When I use WhatsApp as the sharing channel, I get the following text: [CODE] What do I expect when sharing with Whatsapp: [CODE] Is there any option/flag indicating a sharing channel to suppress ...
android|email|whatsapp|android-sharing
5
2015-02-19T11:24:34.113Z
2,015
2
11
3
1,378
2
533
44
4
4
true
false
false
false
false
false
low
28,605,169
custom adapter for gridview's getView() method not returning correct content
<p>i am using custom adapter class for gridview and have one Button and one TextView in this. i am showing calander month in gridview, when i click on Button i want to show the text of button(i.e. current date) in a Toast. but it shows 28 always i.e. only last button's value of gridview. My code for getView() method is...
i am using custom adapter class for gridview and have one Button and one TextView in this. i am showing calander month in gridview, when i click on Button i want to show the text of button(i.e. current date) in a Toast. but it shows 28 always i.e. only last button's value of gridview. My code for getView() method is: [...
android|listview|gridview
0
2015-02-19T11:26:53.933Z
2,015
2
11
3
192
1
325
76
3
1
true
false
false
false
false
false
zero
28,605,205
Android : how to make a complete image from its various part
<p>I would like to show a picture (for example a house) from its various parts like its door, window, roof etc (different images of various part saved in asset folder). i am totally in dark from where and how to start to make this. If any idea or any library please help.</p>
I would like to show a picture (for example a house) from its various parts like its door, window, roof etc (different images of various part saved in asset folder). i am totally in dark from where and how to start to make this. If any idea or any library please help.
android|image
-5
2015-02-19T11:28:59.290Z
2,015
2
11
3
34
1
268
60
2
0
false
false
false
false
false
true
negative
28,605,217
Why my Drawer menu looks black?
<p>I have created a Drawer Menu Example, Following is my source code, </p> <pre><code>public class DrawerActivity extends Activity { private String [] menuOptions = new String[] { "Option1", "Option2","Option3" }; private DrawerLayout mDrawerLayout; private ListView mDrawerList; private ActionBarDrawe...
I have created a Drawer Menu Example, Following is my source code, [CODE] This is the code of my AndroidManifest.xml file [CODE] The code is working fine but my Drawer menu appears as black, see the image http://i.stack.imgur.com/toEfm.png Can you please tell me where did I done mistake ?
android|navigation-drawer
-1
2015-02-19T11:29:38.577Z
2,015
2
11
3
282
2
289
31
2
2
true
false
false
false
false
true
negative
28,605,278
Android 5 SD card label
<p>When I send ACTION_OPEN_DOCUMENT_TREE intent I can see some kind of SD card label. How I can get it in my application?</p> <p><img src="https://i.stack.imgur.com/UC9Fw.jpg" alt="SD card label"></p>
When I send ACTION_OPEN_DOCUMENT_TREE intent I can see some kind of SD card label. How I can get it in my application?
android
0
2015-02-19T11:32:50.367Z
2,015
2
11
3
1,454
1
118
23
1
0
false
false
false
false
false
false
zero
28,605,286
Disable my application in Android Accessibility settings
<p>My app uses Accessibility service to parse USSD response. I've added intent to open Accessibility settings so user could enable it. After it's enabled, app can read USSD messages and release USSD response dialog. How to disable my app in Accessibility settings programmatically if it doesn't need reading USSD message...
My app uses Accessibility service to parse USSD response. I've added intent to open Accessibility settings so user could enable it. After it's enabled, app can read USSD messages and release USSD response dialog. How to disable my app in Accessibility settings programmatically if it doesn't need reading USSD messages a...
android|accessibility|ussd
1
2015-02-19T11:33:05.453Z
2,015
2
11
3
960
1
327
56
3
0
false
false
false
false
false
false
low
28,605,293
Need to get the coordinates of the points in my arraylist from the index number and store in a new arraylist
<p>I currently have a program which tells the user what point in my arraylist they are closest to when they click on the screen. Currently, a toast appears which tells them the index number of the point they are closest to in the arraylist. I need to be able to get the value at that index i.e. the point's coordinate to...
I currently have a program which tells the user what point in my arraylist they are closest to when they click on the screen. Currently, a toast appears which tells them the index number of the point they are closest to in the arraylist. I need to be able to get the value at that index i.e. the point's coordinate to pu...
java|android|arraylist
0
2015-02-19T11:33:16.863Z
2,015
2
11
3
479
2
516
108
3
1
true
false
false
false
false
false
zero
28,605,314
startActivity() is not working inside BroadcastReceiverclass
<p>My code is :</p> <pre><code>Intent lockintent = new Intent(); lockintent.setClassName("com.example.lalitha.s1", "com.example.lalitha.s1.WipeActivity"); context.startActivity(lockintent); mDPM = DevicePolicyManager)context.getSystemService( Conte...
My code is : [CODE] that context.startActivity is not getting executed if i omit that then its showing device "not locked"
android
-2
2015-02-19T11:34:19.963Z
2,015
2
11
3
54
1
122
60
1
1
true
false
false
false
false
true
negative
28,605,317
How to update list of records with special characters into sqlite table using ormlite in Android
<p>I am using ormlite for database operations in my Android app. I want to update around 1000 records at a time. But, if these records have any special characters such as ' / \ % , I am getting the following exception. </p> <pre><code>java.sql.SQLException: Problems executing Android statement: UPDATE `staticresource`...
I am using ormlite for database operations in my Android app. I want to update around 1000 records at a time. But, if these records have any special characters such as ' / \ % , I am getting the following exception. [CODE] So, how to update these records optimally. Thanks in advance.
android|sqlite|ormlite
0
2015-02-19T11:34:29.587Z
2,015
2
11
3
614
2
284
96
3
1
true
false
false
false
false
false
zero
28,605,336
How to use fabric to get crash logs of application?
<p>i have added plugins into eclipse of fabric and whenever i click on the blue icon of fabric it ask to login but i didn't get any username password for it.</p> <p>So please tell me how to Sign-up for fabric and how to implmenet it in application to gt crash logs.</p> <p>Any help would be appreciated.</p>
i have added plugins into eclipse of fabric and whenever i click on the blue icon of fabric it ask to login but i didn't get any username password for it. So please tell me how to Sign-up for fabric and how to implmenet it in application to gt crash logs. Any help would be appreciated.
android|crash-reports|crashlytics
-1
2015-02-19T11:35:31.250Z
2,015
2
11
3
751
1
286
51
3
0
false
false
false
false
false
true
negative
28,605,367
library with bundles dependencies (fat aar)
<p>We build a library that we distribute to our customers. We distribute the raw aar files for them to use. Also we use the raw access API of GitHub to provide a Maven repository.</p> <p>Now to keep things tidy, we split up the library into several modules:</p> <pre><code>include ':library' include ':geohash' include...
We build a library that we distribute to our customers. We distribute the raw aar files for them to use. Also we use the raw access API of GitHub to provide a Maven repository. Now to keep things tidy, we split up the library into several modules: [CODE] library is an Android library, so are volley and okvolley and net...
android|gradle|android-library
28
2015-02-19T11:37:12.070Z
2,015
2
11
3
16,829
3
1,222
43
3
3
true
false
true
true
true
false
high
28,605,394
Is there a way to fire the action in a notification from notification service?
<p>I am writing a notification service in Android and currently reading and dismissing all the notifications from this Notification service.</p> <pre><code>Bundle extras = mNotification.extras; title = extras.getString(Notification.EXTRA_TITLE); notificationLargeIcon = (Bitmap) extras .getParc...
I am writing a notification service in Android and currently reading and dismissing all the notifications from this Notification service. [CODE] In order to reply to the notifications is there a way to fire the "Reply" action? I can access the notification actions but I am not sure how we can fire the actions from with...
android|android-intent|notifications|android-notifications
0
2015-02-19T11:38:41.283Z
2,015
2
11
3
203
1
355
78
4
2
true
false
false
false
false
false
zero
28,605,477
Android how to implement ZoomControls fucntions
<p>I am new to Android, How to implement ZoomControls zoomIn &amp; zoomOut fucntions.. please provide me with code to zoom in and out. Thanks</p> <pre><code> private ZoomControls zoom; View v; zoom.setOnZoomInClickListener(new View.OnClickListener() { public void onClick(View v) { // TODO Auto-generated m...
I am new to Android, How to implement ZoomControls zoomIn & zoomOut fucntions.. please provide me with code to zoom in and out. Thanks [CODE]
android
-1
2015-02-19T11:43:13.530Z
2,015
2
11
3
62
2
141
47
1
1
true
false
false
false
false
true
negative
28,605,565
How to get the "last" date or time that the user has run the application in android?
<p>How to get the time or a date of a user turning off an application? um Clash of Clans for example, you can see your clan users' last visiting time or last turning off time of the application. such as "5 minutes ago", or "1 day, 3 hours ago"</p> <p>i just want to know the specific method name of this and look for it...
How to get the time or a date of a user turning off an application? um Clash of Clans for example, you can see your clan users' last visiting time or last turning off time of the application. such as "5 minutes ago", or "1 day, 3 hours ago" i just want to know the specific method name of this and look for it at google ...
java|android|date|time
0
2015-02-19T11:47:14.043Z
2,015
2
11
3
95
3
339
84
4
0
false
false
false
false
false
false
zero
28,605,581
How can i implement Custom Seekbar in android?
<p>In android how can i customize the seekbar like this <img src="https://i.stack.imgur.com/Bolp9.png" alt="enter image description here"></p> <p>.I want to apply the seekbar progress(0 to 360) is anyway to design above custom seek bar.anyone have an idea please tell me .Advance thanks to all. </p>
In android how can i customize the seekbar like this .I want to apply the seekbar progress(0 to 360) is anyway to design above custom seek bar.anyone have an idea please tell me .Advance thanks to all.
android|android-seekbar
0
2015-02-19T11:48:06.010Z
2,015
2
11
3
173
1
201
46
2
0
false
false
false
false
false
false
zero
28,605,582
KSoap2 is not returning valid xml?
<p>I am trying to get an xml data from web service. The xml data is like this</p> <pre><code>&lt;Result&gt; &lt;ErrorCode&gt;0&lt;/ErrorCode&gt; &lt;ErrorMessage&gt;Login was succesful.&lt;/ErrorMessage&gt; &lt;AuthCode&gt;maneen90234&lt;/AuthCode&gt; &lt;/Result&gt; </code></pre> <p>But what i am getting from KSoap ...
I am trying to get an xml data from web service. The xml data is like this [CODE] But what i am getting from KSoap 2 is the following String [CODE] These is how I am calling web service [CODE] I have tried various answers available on SO, to no avail. Any idea what am I doing wrong here?
android|xml|soap|android-ksoap2
1
2015-02-19T11:48:12.090Z
2,015
2
11
3
127
1
288
34
4
3
true
false
false
false
false
false
low
28,605,615
ParseFile Android C# Xamarin uploading/downloading images
<p>I've successfully used Parse to upload and download sound clips to/from the device. I'm trying a similar thing, but with images. I have an imageView, which contains an image selected by the user. I want to send this image as a parseFile nested inside a parseObject (called "profileParseObject")</p> <p>I saw this pos...
I've successfully used Parse to upload and download sound clips to/from the device. I'm trying a similar thing, but with images. I have an imageView, which contains an image selected by the user. I want to send this image as a parseFile nested inside a parseObject (called "profileParseObject") I saw this post: Putting ...
c#|android|parse-platform|xamarin|imageview
1
2015-02-19T11:49:27.170Z
2,015
2
11
3
842
1
1,675
57
5
2
true
false
false
false
false
false
low
28,605,680
make Android Textview or EditText selectable
<p>I want to make <code>EditText</code> or <code>Textview</code> selectable in my android project . project is for android 4.0+ . I add this : <code>txtView.setTextIsSelectable(true)</code> and also : <code>txtView.setCustomSelectionActionModeCallback(new myCallback());</code> to make my custom selection menu . but thi...
I want to make EditText or Textview selectable in my android project . project is for android 4.0+ . I add this : txtView.setTextIsSelectable(true) and also : txtView.setCustomSelectionActionModeCallback(new myCallback()); to make my custom selection menu . but this error happend when i want to select the text . [CODE]...
android|android-edittext|textview|selectable
3
2015-02-19T11:51:58.723Z
2,015
2
11
3
3,884
2
396
44
4
1
true
false
true
false
false
false
low
28,605,686
boost::filesystem::wpath on Android
<p><code>boost::filesystem</code> provides many interesting functions, for example, we can use <code>boost::filesystem::exists</code> to check whether one file exists or not. I am now using this functionality in Android. It succeeds in the following program:</p> <pre><code>int main() { using namespace std; str...
boost::filesystem provides many interesting functions, for example, we can use boost::filesystem::exists to check whether one file exists or not. I am now using this functionality in Android. It succeeds in the following program: [CODE] However, if I use wstring instead: [CODE] It will fail. It seems to me that the rea...
android|c++|boost
0
2015-02-19T11:52:13.753Z
2,015
2
11
3
624
0
471
35
3
2
true
true
false
false
false
false
zero
28,605,733
how to show whether an item in the listview is positive or negative inside toast message based on the words initialized in an array of strings?
<p>I have written a program to get tweets from twitter in a listview , which is working perfectly fine ,i have also initialized an array of positive and negative strings with some words based on which i want to show a positive or negative toast message on each tweet click, need some guidance on how to do it .</p> <pre...
I have written a program to get tweets from twitter in a listview , which is working perfectly fine ,i have also initialized an array of positive and negative strings with some words based on which i want to show a positive or negative toast message on each tweet click, need some guidance on how to do it . [CODE]
android|listview|twitter
0
2015-02-19T11:55:15.237Z
2,015
2
11
3
59
2
314
143
3
1
true
false
false
false
false
false
zero
28,605,814
Clickable polygon Android
<p>With <a href="https://stackoverflow.com/questions/2047573/how-to-draw-filled-polygon">this</a> question I somwhat understood how to draw a polygon in Android, but is there any way to make this click(touch)able?</p> <p>Requirements:</p> <p>I'm going to have multiple polygons in one view: each polygon must have it's...
With this question I somwhat understood how to draw a polygon in Android, but is there any way to make this click(touch)able? Requirements: I'm going to have multiple polygons in one view: each polygon must have it's own unique ontouchevent. I need a lot of the functionality of a polygon, so they can't be replaced by i...
android|polygon|touch-event
0
2015-02-19T11:59:48.483Z
2,015
2
11
3
495
1
326
25
3
0
false
false
false
false
false
false
zero
28,605,845
Icon android dont appears
<p>Can someone help me, how I put this icon in my project? <img src="https://i.stack.imgur.com/UVNfb.png" alt="enter image description here"></p> <p>In my project icon doesn't appears and I already change the androidManifest.xml file Only appears this: <img src="https://i.stack.imgur.com/KLOPN.png" alt="enter image de...
Can someone help me, how I put this icon in my project? In my project icon doesn't appears and I already change the androidManifest.xml file Only appears this: Thanks
java|android|android-layout|android-studio
0
2015-02-19T12:01:04.243Z
2,015
2
12
3
57
4
166
25
4
0
false
false
false
false
false
false
zero
28,605,871
Battery info in notification
<p>How can I make programm which will Show Battery Life as a Percentage like notification.I created the MainActivity and Myservice.class ; </p> <pre><code>startService(new Intent(getApplication(), MyService.class)); </code></pre> <p>and in MyService.class</p> <pre><code> public void onCreate() { super.onCreate(...
How can I make programm which will Show Battery Life as a Percentage like notification.I created the MainActivity and Myservice.class ; [CODE] and in MyService.class [CODE] and [CODE] and I tried to show it But the variable [level] =null why and how i can get it
android
0
2015-02-19T12:01:43.820Z
2,015
2
12
3
47
1
262
28
1
3
true
false
false
false
false
false
zero
28,605,891
AutoCompleteTextView setDropDownWidth() not working
<p>I have implemented <code>SearchView</code> in the <code>ActionBar</code>, in which I'm setting a <code>SimpleCursorAdapter</code> with some random data using <code>setSuggestionAdapter()</code>.</p> <p>The problem I'm facing is that I'm unable to get the <code>setDropDownWidth()</code> working on the <code>SearchVi...
I have implemented SearchView in the ActionBar , in which I'm setting a SimpleCursorAdapter with some random data using setSuggestionAdapter() . The problem I'm facing is that I'm unable to get the setDropDownWidth() working on the SearchView 's custom AutoCompleteTextView . I'm able to change the background resource a...
android|autocompletetextview
3
2015-02-19T12:02:46.223Z
2,015
2
12
3
1,082
1
1,112
51
2
1
true
false
false
false
false
false
low
28,605,896
toggle button changed its state when scrolled in listview in android
<p>I have created listview with two textfield and one toggle button.i am able to get text from the listview when put toggle button on,but problem is when i close my application or i scroll the listview my toggle button state is changed.</p> <p>the below is my full code :</p> <pre><code> public class MainActivity ex...
I have created listview with two textfield and one toggle button.i am able to get text from the listview when put toggle button on,but problem is when i close my application or i scroll the listview my toggle button state is changed. the below is my full code : [CODE] } please help me.. and i want to save the all toggl...
android|listview|state|togglebutton
0
2015-02-19T12:03:00.797Z
2,015
2
12
3
950
1
373
68
4
1
true
false
false
false
false
false
zero
28,605,921
View pager onInterceptTouchEvent not generating event
<p>I have written an custom <a href="https://stackoverflow.com/a/13347008/2624806">ViewPager</a> but it's not generating event for Continuous Action.Move. On touch it generate DOWN once and MOVE event 2-3 time and that's it. Then after it not generate MOVE event.</p> <p>Parent XML code.</p> <pre><code>&lt;?xml versio...
I have written an custom ViewPager but it's not generating event for Continuous Action.Move. On touch it generate DOWN once and MOVE event 2-3 time and that's it. Then after it not generate MOVE event. Parent XML code. [CODE] Added Child Fragment XML implementation: [CODE] Any suggestion if I am missing anything here.
android|touch-event|xml-layout
0
2015-02-19T12:03:56.143Z
2,015
2
12
3
1,405
1
319
53
3
2
true
false
false
false
false
false
zero
28,605,974
add image from horizontal image view to vertical list view on button click
<p>I am trying to create one horizontal &amp; one vertical gridview which has scroll functionality.</p> <p>I am trying to follow blog <a href="http://www.dev-smart.com/archives/34" rel="nofollow">Horizontal scroll</a></p> <p>**In above blog they are loading images from /drawable folder. </p> <p>Source code implement...
I am trying to create one horizontal & one vertical gridview which has scroll functionality. I am trying to follow blog Horizontal scroll **In above blog they are loading images from /drawable folder. Source code implementation to make image grid view horizontal they are using HorizontalListView Using this I am able to...
android|android-imageview|vertical-scrolling
0
2015-02-19T12:06:14.620Z
2,015
2
12
3
1,084
0
898
74
3
3
true
true
false
false
false
false
zero
28,605,980
Convert image to PDF in Java Android
<p>I need to <code>convert an image to PDF file</code> in my Android application but i found two library <code>iTextG</code> and <code>iText</code>. Are they open source?</p>
I need to convert an image to PDF file in my Android application but i found two library iTextG and iText . Are they open source?
android|itext
0
2015-02-19T12:06:37.547Z
2,015
2
12
3
2,394
1
129
36
2
0
false
false
false
false
false
false
zero
28,605,989
Android add textview at the bottom of listview in drawerlayout
<p>my layout contains a drawerlayout with a fragment container and a listview. The listview contains three items, which I've added with an adapter.</p> <pre><code>&lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drawer_layout" android:layout_width="...
my layout contains a drawerlayout with a fragment container and a listview. The listview contains three items, which I've added with an adapter. [CODE] So now I want to add a view to the bottom of the listview (screen). I tried it with addFooterView(), but this just add the view under the last item and not at the botto...
android|listview|view|navigation-drawer
1
2015-02-19T12:07:14.957Z
2,015
2
12
3
3,368
4
562
62
4
1
true
false
true
false
false
false
low
28,606,009
Android AudioTrack.write returns -4
<p>I'm playing some audio on Android using the <code>AudioTrack</code>. Sometimes I get a return value of '<code>-4</code>' from the write method. The documentation say it will return </p> <blockquote> <p>the number of shorts that were written or ERROR_INVALID_OPERATION if the object wasn't properly initialized, ...
I'm playing some audio on Android using the AudioTrack . Sometimes I get a return value of ' -4 ' from the write method. The documentation say it will return the number of shorts that were written or ERROR_INVALID_OPERATION if the object wasn't properly initialized, or ERROR_BAD_VALUE if the parameters don't resolve to...
java|android|audio
3
2015-02-19T12:07:59.683Z
2,015
2
12
3
301
1
511
35
3
1
true
false
false
false
false
false
low
28,606,038
Xamarin Android Google Maps Fragment
<p>I'm new to xamarin, and I need to put a google map in a aplication.</p> <p>I have downloaded the example from xamarin of:</p> <p><a href="https://github.com/xamarin/monodroid-samples/tree/master/MapsAndLocationDemo_v2" rel="nofollow">https://github.com/xamarin/monodroid-samples/tree/master/MapsAndLocationDemo_v2</...
I'm new to xamarin, and I need to put a google map in a aplication. I have downloaded the example from xamarin of: https://github.com/xamarin/monodroid-samples/tree/master/MapsAndLocationDemo_v2 and after a few changes, it worked and this project displays the map. here is the code of the project that works: / MainActiv...
google-maps|android-fragments|xamarin|google-api
1
2015-02-19T12:09:04.353Z
2,015
2
12
3
3,562
2
1,765
36
4
8
true
false
true
false
false
false
low
28,606,096
showing image as small size in android
<p>My application need to show images from a host url. I am adding the image to the inner layout from class file. But I'm not able to reduce the image size and as you can see it is occupying the complete screen.</p> <p><img src="https://i.stack.imgur.com/Ru9vp.png" alt="Screen Out put"></p> <pre><code> import beans....
My application need to show images from a host url. I am adding the image to the inner layout from class file. But I'm not able to reduce the image size and as you can see it is occupying the complete screen. [CODE] Layout code [CODE]
android|image|layout|image-resizing
1
2015-02-19T12:12:15.163Z
2,015
2
12
3
134
2
234
38
4
2
true
false
false
false
false
false
low
28,606,194
Android wifimanager.startscan() in main thread or in background?
<p>What philosophy of startscan is better to use when i wanna get list of available wifi network? I'm do this in main thread:</p> <pre><code>List&lt;ScanResult&gt; wifiList; wifiManager = (WifiManager) context.getSystemService(context.WIFI_SERVICE); if (!wifiManager.isWifiEnabled()) wifiManager.setWifiEnabled(true); w...
What philosophy of startscan is better to use when i wanna get list of available wifi network? I'm do this in main thread: [CODE] In all device which i'm use for test, it's work fine, except few samsung smartphone. It's happened on customer device and i can't debug it quickly. Is some one have same problem with samsung...
android|android-wifi
1
2015-02-19T12:17:19.920Z
2,015
2
12
3
2,526
1
582
64
2
1
true
false
false
false
false
false
low
28,606,232
Rotate a Bitmap(a clocks hand) in a corner of Surface View, like an old stop watch timer?
<p>I am trying to make an app, in which at the bottom corner is a mock timer with the seconds-hand(needle) going round and round like an old stop watch. My dial and needle are .png files drawn out in the "onDraw(Canvas canvas)", that is repeatedly called by my GameLoopThread(no problem here). The needle is rotated by s...
I am trying to make an app, in which at the bottom corner is a mock timer with the seconds-hand(needle) going round and round like an old stop watch. My dial and needle are .png files drawn out in the "onDraw(Canvas canvas)", that is repeatedly called by my GameLoopThread(no problem here). The needle is rotated by sepa...
android|canvas|bitmap
0
2015-02-19T12:19:39.963Z
2,015
2
12
3
570
2
831
89
3
1
true
false
false
false
false
false
zero
28,606,246
To remove the back arrow button from Action Bar
<p>In my Android Project, whenever I go from First Activity to Second, I get an left arrow button followed by the some text in the action bar. That left arrow only comes when I set my First Activity as the hierarchical parent of the Second Activity.</p> <p>I want to remove that back button and replace it with an icon....
In my Android Project, whenever I go from First Activity to Second, I get an left arrow button followed by the some text in the action bar. That left arrow only comes when I set my First Activity as the hierarchical parent of the Second Activity. I want to remove that back button and replace it with an icon. I have rea...
java|android
3
2015-02-19T12:20:16.127Z
2,015
2
12
3
3,822
2
520
47
2
1
true
false
true
false
false
false
low
28,606,261
Spring-MVC & Android: Server gets a empty JSON string from android
<p>I am working on an Android project in which I want to create a RESTful POST connection to a Spring-MVC based server. I initially tried to post an object but I used to get errors. That is why I tried to send a JSON object. Currently I don't get any errors in the Android app, but when I receive the JSON object and get...
I am working on an Android project in which I want to create a RESTful POST connection to a Spring-MVC based server. I initially tried to post an object but I used to get errors. That is why I tried to send a JSON object. Currently I don't get any errors in the Android app, but when I receive the JSON object and get th...
java|android|json|spring|spring-mvc
0
2015-02-19T12:21:01.623Z
2,015
2
12
3
1,301
1
1,109
66
5
5
true
false
false
false
false
false
zero
28,606,348
Close white cursor in Android Studio
<p><img src="https://i.stack.imgur.com/WmWRL.png" alt="AndroidStudio"></p> <p>In Android Studio, my cursor is white rectangle. I'm cannot write anything. And changed my keyboard button actions.</p> <p>h-->left arrow j-->down arrow k--> up arrow l-->right arrow</p> <p>How can I fix problem or can I reset Android Stud...
In Android Studio, my cursor is white rectangle. I'm cannot write anything. And changed my keyboard button actions. h-->left arrow j-->down arrow k--> up arrow l-->right arrow How can I fix problem or can I reset Android Studio settings?
android-studio|text-cursor
16
2015-02-19T12:24:52.057Z
2,015
2
12
3
28,405
11
237
36
2
0
false
false
true
true
true
false
medium
28,606,389
How to share file between two android devices using Socket programming?
<p>I am new in android development i am trying to share files between two android device using socket programming</p> <p>I have the code which sends text between server and client but i am trying to send images or other files from client device to server</p> <p>Here my code goes Server Side Code</p> <pre><code>publi...
I am new in android development i am trying to share files between two android device using socket programming I have the code which sends text between server and client but i am trying to send images or other files from client device to server Here my code goes Server Side Code [CODE] Client Side Code [CODE] Thanks
android|eclipse|client-server|serversocket
1
2015-02-19T12:26:50.637Z
2,015
2
12
3
138
0
317
71
4
2
true
true
false
false
false
false
low
28,606,395
Get image dimensions after it draws in screen
<p>I have an <code>ImageView</code> with <code>MathParent</code> height and width<br/> In my activity it loads a pic from resource to <code>ImageView</code>. How can i get width and height of the picture inside the <code>ImageView</code> AFTER it has been scaled.<br/> I have not set the <code>android:scaleType</code> i...
I have an ImageView with MathParent height and width In my activity it loads a pic from resource to ImageView . How can i get width and height of the picture inside the ImageView AFTER it has been scaled. I have not set the android:scaleType in XML these dimensions i mean!
android|imageview|scale
0
2015-02-19T12:26:59.033Z
2,015
2
12
3
146
1
273
45
3
0
false
false
false
false
false
false
zero
28,606,404
open navigation drawer when options icon pressed
<p>I use navigation drawer in my app, set from right to left. I want it to only open when I press the options menu button is pressed(3 dots). <br/> I tried this thread <br> <a href="https://stackoverflow.com/questions/20842849/open-navigation-drawer-when-options-menu-button-is-pressed">Open navigation drawer when optio...
I use navigation drawer in my app, set from right to left. I want it to only open when I press the options menu button is pressed(3 dots). I tried this thread Open navigation drawer when options menu button is pressed but not working. menu.xml [CODE]
android|navigation-drawer|android-button
0
2015-02-19T12:27:19.323Z
2,015
2
12
3
1,204
2
250
48
3
1
true
false
false
false
false
false
zero
28,606,437
Adjust layout after using View.gone to delete empty black space
<p>i have 3 views of a drawerlayout added using inflater class </p> <pre><code>public View getView(int position, View myView , ViewGroup parent) { mView = inflater.inflate(R.layout.navigation_drawer_1,parent,false); switch (position % 2) { case 0: myView = inflater.i...
i have 3 views of a drawerlayout added using inflater class [CODE] I want to show only the second layout in an if statement (if the user if log in) so I did this [CODE] As you can see in the screenshot below that the first view (yellow stroke )is hidden ,using View.gone but there is black empty space ! http://i.stack.i...
android|android-layout|drawerlayout
0
2015-02-19T12:28:18.627Z
2,015
2
12
3
192
0
438
63
3
2
true
true
false
false
false
false
zero
28,606,561
Java serialization and deserialization on different API levels
<p>I want to store object in file with every sub-object it contains. At first I wanted to use JAXB, but it takes 9MB of disk space - due to my app limited disk space requirement I can not take much of disk space. Thus I thought about serialization and here is my question.</p> <p>Does different Java versions support th...
I want to store object in file with every sub-object it contains. At first I wanted to use JAXB, but it takes 9MB of disk space - due to my app limited disk space requirement I can not take much of disk space. Thus I thought about serialization and here is my question. Does different Java versions support the same seri...
java|android|serialization
0
2015-02-19T12:34:06.660Z
2,015
2
12
3
45
1
573
62
3
0
false
false
false
false
false
false
zero
28,606,571
How to add Burmese language in Android app
<p>I want to make an app in English and Burmese language. I create a "values-my-rMM" folder and place string.xml file for Burmese support.</p> <p>I am using this code in onCreate()</p> <pre><code>Locale myLocale = new Locale("my-rMM"); Resources res = getResources(); DisplayMetrics dm = res.getD...
I want to make an app in English and Burmese language. I create a "values-my-rMM" folder and place string.xml file for Burmese support. I am using this code in onCreate() [CODE] this code work perfectly for Spanish, French etc. but it's not working for Burmese language. I also tested on android 5.0.1 but nothing is wor...
android|multilingual
1
2015-02-19T12:34:59.307Z
2,015
2
12
3
978
0
325
42
2
1
true
true
false
false
false
false
low
28,606,582
Jquery if movement between touchstart and touchend (or clickstart and clickend?) less than 5 px count as click
<p>I have a website that includes dragging and clicking and does work on touch devices. (only using javascript, jquery-ui, and jquery, no other libraries)</p> <p>It works correctly on some devices (a.k. iPhone and some Android devices), but it does not work correctly on some other android devices, especially if they u...
I have a website that includes dragging and clicking and does work on touch devices. (only using javascript, jquery-ui, and jquery, no other libraries) It works correctly on some devices (a.k. iPhone and some Android devices), but it does not work correctly on some other android devices, especially if they use the late...
javascript|android|jquery|jquery-ui-sortable
-1
2015-02-19T12:35:31.590Z
2,015
2
12
3
674
2
807
110
4
0
false
false
false
false
false
true
negative
28,606,624
Youtube video visit count will increase if we open using a youtubeplayer library in android app
<p>Suppose we will watch video in YouTube using webbrowser in laptop/ mobile, then the views(visit) count will add for that video. But Will open a same youtube video using youtubeandroidplayer library in android app, so will that video views count will add to that video using a library?</p>
Suppose we will watch video in YouTube using webbrowser in laptop/ mobile, then the views(visit) count will add for that video. But Will open a same youtube video using youtubeandroidplayer library in android app, so will that video views count will add to that video using a library?
android|android-youtube-api
-2
2015-02-19T12:37:30.407Z
2,015
2
12
3
135
1
284
95
2
0
false
false
false
false
false
true
negative
28,606,649
how to implement arc menu to my project?
<p>I am new to android and i am trying to make a radial menu(arc menu) which has an image in the center and other images around it. </p> <p>I got a library online but i do not know how to use it or even how to import it to my project. i tried following the instructions given online but failed.</p> <p>All i have got t...
I am new to android and i am trying to make a radial menu(arc menu) which has an image in the center and other images around it. I got a library online but i do not know how to use it or even how to import it to my project. i tried following the instructions given online but failed. All i have got till now is a list ar...
android|android-layout|menu
0
2015-02-19T12:38:30.397Z
2,015
2
12
3
1,164
1
558
40
3
0
false
false
false
false
false
false
zero
28,606,660
Navigation drawer icon, ripple effect like Photos app
<p>I'm on Lollipop (minSdk=21) and using the v7-appcompat ActionBarDrawerToggle together with the Toolbar, like this (onCreate()):</p> <pre><code> setActionBar((Toolbar) findViewById(R.id.toolbar)); DrawerLayout drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); drawerToggle = new ActionBarDraw...
I'm on Lollipop (minSdk=21) and using the v7-appcompat ActionBarDrawerToggle together with the Toolbar, like this (onCreate()): [CODE] I also have the syncState() call in onPostCreate() etc. Generally, it all works well, and the hamburger-to-arrow spinning animation works fine. I noticed, though, that the icon is 'squa...
android|navigation-drawer
3
2015-02-19T12:39:27.400Z
2,015
2
12
3
417
0
612
53
2
1
true
true
false
false
false
false
low
28,606,662
QPython - Reading a file
<p>I have installed QPython in my Android mobile. I written a statement in the QEdit to read a text file from the below path</p> <p><code>/storage/emulated/0/com.hipipal.qpyplus/script3/File1.txt</code></p> <p>I used the below statement</p> <pre><code>fob=open('/storage/emulated/0/com.hipipal.qpyplus/script3/File1.t...
I have installed QPython in my Android mobile. I written a statement in the QEdit to read a text file from the below path /storage/emulated/0/com.hipipal.qpyplus/script3/File1.txt I used the below statement [CODE] If I run the statement, it is throwing error as: [CODE] Is the above statement correct?
android|python|qpython
1
2015-02-19T12:39:31.053Z
2,015
2
12
3
8,820
4
301
24
3
2
true
false
true
false
false
false
low
28,606,689
How to prevent Screen Capture in Android
<p>Is it possible to prevent the screen recording in Android Application?</p> <p>I would like to develop an Android Secure Application. In that I need to detect screen recording software which are running background and kill them. I have used SECURE FLAG for prevent screenshots. But I dont know is it possible to preve...
Is it possible to prevent the screen recording in Android Application? I would like to develop an Android Secure Application. In that I need to detect screen recording software which are running background and kill them. I have used SECURE FLAG for prevent screenshots. But I dont know is it possible to prevent Video ca...
android|security|screenshot|snapshot|screen-capture
172
2015-02-19T12:40:24.750Z
2,015
2
12
3
197,982
14
418
40
5
0
false
false
true
true
true
false
high
28,606,775
Get result from facebook activity without onActivityResult set for session
<p>I'm using the android facebook sdk but I'm running into an issue. I created 2 classes which are:</p> <pre><code>public class FacebookSession implements Session.StatusCallback { public interface SessionCallbacks { public void onSessionOpened(String token, User user, boolean isNewProfile); public void onSess...
I'm using the android facebook sdk but I'm running into an issue. I created 2 classes which are: [CODE] And in my activity calling facebook session: [CODE] As you can see I HAVE TO call Session.getActiveSession().onActivityResult(this, requestCode, resultCode, data); in the onActivityResult method of every activity usi...
android|facebook|facebook-android-sdk
0
2015-02-19T12:45:00.880Z
2,015
2
12
3
1,046
1
698
74
3
2
true
false
false
false
false
false
zero
28,606,784
Crosswalk with Eclipse crashes
<p>I added Crosswalk to eclipse as in this tutorial: <a href="https://crosswalk-project.org/documentation/embedding_crosswalk.html" rel="nofollow">ClickHere</a> I did everything exactly as in the tutorial and got no errors, but as i start the app on my phone I have this:</p> <pre><code>02-19 13:37:08.147: E/AndroidRun...
I added Crosswalk to eclipse as in this tutorial: ClickHere I did everything exactly as in the tutorial and got no errors, but as i start the app on my phone I have this: [CODE] MainActivity: [CODE] } activity_main.xml: [CODE] I digged google for several hours but couldn't find a solution.
android|eclipse|crosswalk-runtime
6
2015-02-19T12:45:32.213Z
2,015
2
12
3
2,861
5
290
30
3
3
true
false
true
false
false
false
medium
28,606,813
Cordova: Alternative of "Menu" button in Android
<p>I am working in <strong>Phonegap/Cordova</strong> and I need to use <strong>menu</strong> to go for app settings. But I have came to know that according to <a href="http://developer.android.com/guide/topics/ui/menus.html" rel="nofollow">Google/Android docs</a>, developer shouldn't use that menu button anymore. Inste...
I am working in Phonegap/Cordova and I need to use menu to go for app settings. But I have came to know that according to Google/Android docs , developer shouldn't use that menu button anymore. Instead, developer should use action bar for this purpose. Beginning with Android 3.0 (API level 11), Android-powered devices ...
android|ios|cordova|phonegap-plugins
1
2015-02-19T12:46:21.247Z
2,015
2
12
3
398
0
1,201
48
4
1
true
true
false
false
false
false
low
28,606,845
Why does my EditText got expanded horizontally or vertically after setting Width and Height as wrap_content in android?
<p>I'm newbie to android. So I'm struggling with the following problem.</p> <p>1.after set <code>android:layout_width = "wrap_content"</code> in EditText, it got expanded vertically.</p> <p>2.after set <code>android:layout_width="180dp"</code> in EditText, it got expanded horizontally.</p> <p>Is there anyway to set ...
I'm newbie to android. So I'm struggling with the following problem. 1.after set android:layout_width = "wrap_content" in EditText, it got expanded vertically. 2.after set android:layout_width="180dp" in EditText, it got expanded horizontally. Is there anyway to set my EditText fixed? Ex: If am going to type a long ema...
java|android|xml|android-layout
3
2015-02-19T12:48:05.423Z
2,015
2
12
3
2,583
5
525
119
4
1
true
false
false
false
false
false
low
28,606,891
Unable to reconnect XMPP on internet connectivity changed
<p>I am working on a chat application using asmack. I am able to establish xmpp connection and can send and receive messages properly. However, I wish to reconnect the XMPP connection if I change the internet connectivity from WIFI to #G and vice-versa. To listen to connectivity change, I have a broadcastreceiver which...
I am working on a chat application using asmack. I am able to establish xmpp connection and can send and receive messages properly. However, I wish to reconnect the XMPP connection if I change the internet connectivity from WIFI to #G and vice-versa. To listen to connectivity change, I have a broadcastreceiver which su...
java|android|xmpp
0
2015-02-19T12:50:29.987Z
2,015
2
12
3
636
2
1,224
57
3
2
true
false
false
false
false
false
zero
28,606,894
How to convert byte array to string?
<p>I am trying to covert the bytes into string what I am getting after reading from bluetooth device. Below is the code I am using, but it is not giving proper string. Output is like this</p> <p>02-19 18:01:49.300: I/BluetoothReadService(17693): Message Read : ���8��1.04TTO��������������������������������������������...
I am trying to covert the bytes into string what I am getting after reading from bluetooth device. Below is the code I am using, but it is not giving proper string. Output is like this 02-19 18:01:49.300: I/BluetoothReadService(17693): Message Read : ���8��1.04TTO��������������������������������������������������������...
java|android|bluetooth
0
2015-02-19T12:50:35.583Z
2,015
2
12
3
1,776
6
612
36
3
1
true
false
false
false
false
false
zero
28,606,995
Width and height of imageview when loading images from sdcard
<p>I am loading images from sdcard in the imageview. Right now I have set the width and height to wrap_content. How should I set my imageview width and height so the image doesn't looks stretched. There are some images which are also really small when loaded in the imageview if I let the width and height to be wrap_con...
I am loading images from sdcard in the imageview. Right now I have set the width and height to wrap_content. How should I set my imageview width and height so the image doesn't looks stretched. There are some images which are also really small when loaded in the imageview if I let the width and height to be wrap_conten...
android
0
2015-02-19T12:55:19.070Z
2,015
2
12
3
55
1
371
61
1
0
false
false
false
false
false
false
zero
28,607,049
How to adjust the TextView below corresponding to the ImageView?
<p>I have used a <code>TableLayout</code> to hold three <code>ImageView</code> and their captions (<code>TextView</code>) just below the <code>ImageView</code>. Here in the second row as my <code>TextView</code> caption size increases my alignment of the image view changes. How to set it correctly. How can we split the...
I have used a TableLayout to hold three ImageView and their captions ( TextView ) just below the ImageView . Here in the second row as my TextView caption size increases my alignment of the image view changes. How to set it correctly. How can we split the TextView if it is long? [CODE]
android|xml|uiimageview|textview
0
2015-02-19T12:58:05.017Z
2,015
2
12
3
214
1
286
64
4
1
true
false
false
false
false
false
zero
28,607,078
application stopped on android phone
<p>I create a simple AR application using unity. It works on windows pc using unity. To run on a android phone, I did below steps :</p> <p>On unity</p> <ol> <li>Click file->build settings->android, select google android project and press build button.</li> </ol> <p>On phone</p> <ol> <li>I click usb debugging, allow...
I create a simple AR application using unity. It works on windows pc using unity. To run on a android phone, I did below steps : On unity Click file->build settings->android, select google android project and press build button. On phone I click usb debugging, allow mock location On eclipse import project and select th...
android|eclipse|windows|unity3d|apk
0
2015-02-19T12:59:27.777Z
2,015
2
12
3
201
2
631
36
5
0
false
false
false
false
false
false
zero
28,607,126
Convert Map to inline element, text XML
<p>Considering the following Map structure (JSON for simplification):</p> <pre><code>{ "key1": "value1", "key2": "value2" } </code></pre> <p>Using the SimpleXML framework for Java, how can I convert to the following XML considering that the map is a class variable of Parent.</p> <pre><code>&lt;Parent&gt; &...
Considering the following Map structure (JSON for simplification): [CODE] Using the SimpleXML framework for Java, how can I convert to the following XML considering that the map is a class variable of Parent. [CODE] I have looked at the SimpleXML tutorials around inline mapping etc but it falls short of a solution. I t...
java|android|xml|xml-serialization|simple-framework
1
2015-02-19T13:01:22.877Z
2,015
2
13
3
123
2
383
39
5
2
true
false
false
false
false
false
low
28,607,160
Android Emulator Connection to http://10.0.2.2 refused
<p>I got this error on an Android Emulator when I tried connecting to a local server:</p> <pre><code>I/System.out﹕ org.apache.http.conn.HttpHostConnectException: Connection to http://10.0.2.2 refused </code></pre> <p>This is the code that I used to connect to the local server (<a href="http://10.0.2.2/bank/login.php"...
I got this error on an Android Emulator when I tried connecting to a local server: [CODE] This is the code that I used to connect to the local server ( http://10.0.2.2/bank/login.php ): [CODE] Also, I've added <uses-permission android:name="android.permission.INTERNET" /> to the AndroidManifest.xml file. The content of...
java|php|android|android-studio
1
2015-02-19T13:02:51.680Z
2,015
2
13
3
4,056
1
734
54
4
3
true
false
true
false
false
false
low
28,607,246
How could I use replace() of FragmentTransaction for replacing with ListFragment?
<p>This Class contains the tabs where onclick of the contacts tab I want to show a ListFragment SecondFragment.java</p> <pre><code>package com.example.crush_crm; import android.app.ListFragment; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support...
This Class contains the tabs where onclick of the contacts tab I want to show a ListFragment SecondFragment.java [CODE] This is the class extending ListFragment which is to be called for displaying the contacts in List on click of first tab "Contacts" [CODE]
android|replace|android-tabhost|fragmenttransaction
-1
2015-02-19T13:07:42.733Z
2,015
2
13
3
932
3
258
81
4
2
true
false
false
false
false
true
negative
28,607,271
Paste JavaScript code into mobile browser from clipboard – Android
<p>I want to put javascript code into android's browsers apps from clipboard. It works fine, but chrome always deletes word "javascript:" from pasted data. For example: instead of <code>javascript:(function(){</code> it paste only <code>(function(){</code>. How can I paste JS without auto-deleting? </p>
I want to put javascript code into android's browsers apps from clipboard. It works fine, but chrome always deletes word "javascript:" from pasted data. For example: instead of javascript:(function(){ it paste only (function(){ . How can I paste JS without auto-deleting?
javascript|android|security|browser|clipboard
0
2015-02-19T13:09:15.240Z
2,015
2
13
3
1,052
1
271
66
5
0
false
false
false
false
false
false
zero
28,607,332
Handle the case where getExtras returns null in the android cart
<p>I have a ExpandableListView in my cart, Im loading items to my cart using ExpandableListAdapter and cart activity. when an item is added to the cart i can display it but once i change the activity and go back to the cart, cart has become empty it shows the added item as empty. how can i hold the value in my cart.</p...
I have a ExpandableListView in my cart, Im loading items to my cart using ExpandableListAdapter and cart activity. when an item is added to the cart i can display it but once i change the activity and go back to the cart, cart has become empty it shows the added item as empty. how can i hold the value in my cart. I rea...
android|expandablelistview|expandablelistadapter|onrestoreinstancestate
0
2015-02-19T13:12:09.073Z
2,015
2
13
3
126
1
568
64
4
2
true
false
false
false
false
false
zero
28,607,344
Sending Data from One fragment to another
<p>I have 2 fragment hosted on an activity with a frame layout, I want to implement fragment communication.I have tried some of the codes, but my requirements are not met. Thanks in advance.!</p> <p>First fragment: It contains a list .</p> <pre><code>public class ListWithSearch extends Fragment{ String[] cityNam...
I have 2 fragment hosted on an activity with a frame layout, I want to implement fragment communication.I have tried some of the codes, but my requirements are not met. Thanks in advance.! First fragment: It contains a list . [CODE] Second Fragment: That will be inflated on item click of the list in the first fragment....
android|android-fragments
0
2015-02-19T13:12:52.787Z
2,015
2
13
3
60
2
579
41
2
2
true
false
false
false
false
false
zero
28,607,345
RadioButton isChecked control state android
<p>Here is the case : i have 4 radioButtons that <strong>are not</strong> members of a radioGroup. Thats because RadioGroup places children in vertical order by default and cannot place them relative to each other.Right now , i am check all the radioButtons. What i want to achieve is to control their checked state , so...
Here is the case : i have 4 radioButtons that are not members of a radioGroup. Thats because RadioGroup places children in vertical order by default and cannot place them relative to each other.Right now , i am check all the radioButtons. What i want to achieve is to control their checked state , so that when one is ch...
controls|state|checked|android-radiobutton
0
2015-02-19T13:12:54.123Z
2,015
2
13
3
89
1
1,523
43
4
1
true
false
false
false
false
false
zero
28,607,424
Android - Using a method from a Library
<p>I have setup my own android library and now want to use the methods within..</p> <p>For some reason I am having issues understanding how this works, looking at other questions/ internet has not helped.</p> <p>In my <strong>library class</strong> i have the following.</p> <pre><code> public void testMethod(){ ...
I have setup my own android library and now want to use the methods within.. For some reason I am having issues understanding how this works, looking at other questions/ internet has not helped. In my library class i have the following. [CODE] I want to be able to reference this in my main for example, how do i do this...
android|android-library
0
2015-02-19T13:17:11.783Z
2,015
2
13
3
79
1
644
39
2
1
true
false
false
false
false
false
zero
28,607,485
When Running App on Android Studio (App Crashes) For More Specific Info Refer to Description
<p>ApiTokenActivity.java (class)</p> <pre><code>package nl.empoly.android.safetysupport; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.View; import android.widget.Button; import andro...
ApiTokenActivity.java (class) [CODE] logcat(error): 02-19 13:58:18.144 7472-7472/nl.empoly.android.safetysupport E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: nl.empoly.android.safetysupport, PID: 7472 java.lang.NullPointerException at nl.empoly.android.safetysupport.ApiTokenActivity$CreateApiTokenTask.onPostExecute...
java|android|android-asynctask|android-studio
0
2015-02-19T13:19:58.747Z
2,015
2
13
3
450
1
1,638
92
4
1
true
false
false
false
false
false
zero