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,611,939 | Converting HTK model to Pocketsphinx | <p>I have a working model built with HTK for online handwriting recognition. Now I want to build another recognition system for Android. After some research I found out that PocketSphinx has a version running on Android OS. Now, what I think of is to convert my HTK model to Sphinx ( or to rebuild it in Sphinx) and then... | I have a working model built with HTK for online handwriting recognition. Now I want to build another recognition system for Android. After some research I found out that PocketSphinx has a version running on Android OS. Now, what I think of is to convert my HTK model to Sphinx ( or to rebuild it in Sphinx) and then us... | cmusphinx|htk|handwriting-recognition|pocketsphinx-android | 2 | 2015-02-19T16:43:12.790Z | 2,015 | 2 | 16 | 3 | 303 | 1 | 618 | 36 | 4 | 0 | false | false | false | false | false | false | low |
28,611,960 | Alljoyn framework - Java - Signals . BUS_NO_SUCH_INTERFACE | <p>It's a quite specific question but after days stuck in the same place and not getting any response in the Alljoyn forum, I decided to post it here. Maybe someone worked with this framework. </p>
<p>I am doing a project and I need the use of the signal mechanish that Alljoyn framework provides. However, I do need th... | It's a quite specific question but after days stuck in the same place and not getting any response in the Alljoyn forum, I decided to post it here. Maybe someone worked with this framework. I am doing a project and I need the use of the signal mechanish that Alljoyn framework provides. However, I do need the signals in... | java|android|signals|dbus|alljoyn | 2 | 2015-02-19T16:44:06.167Z | 2,015 | 2 | 16 | 3 | 945 | 3 | 2,357 | 58 | 5 | 5 | true | false | false | false | false | false | low |
28,612,011 | Register receiver to handle notification button | <p>I am trying to handle notification bar click on Android.
I created a class that extends BroadcastReceiver on my service.</p>
<pre><code>public class SwitchButtonListener extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
Log.i("PlayService", "EVENT");
}... | I am trying to handle notification bar click on Android. I created a class that extends BroadcastReceiver on my service. [CODE] Then i do: [CODE] Nothing fires.. It works when i register the broadcast on the manifest, but i don't want my Listener class to be static. Regards ! | android|notifications|broadcastreceiver|android-service | 0 | 2015-02-19T16:46:48.453Z | 2,015 | 2 | 16 | 3 | 675 | 1 | 276 | 47 | 4 | 2 | true | false | false | false | false | false | zero |
28,612,095 | Display a mp4 video in Android VideoView | <p>I have to show a MP4 video in a Android View.
So, in my layout I added this:</p>
<pre><code><VideoView
android:scrollbars="none"
android:clickable="false"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentTop="true"
an... | I have to show a MP4 video in a Android View. So, in my layout I added this: [CODE] and in my activity I have: [CODE] But I always get an alert message: can't play this video and In the log message I see: E/MediaPlayer﹕ error (1, -38) Some suggestions? | android|android-studio|android-videoview|mp4 | 3 | 2015-02-19T16:50:26.040Z | 2,015 | 2 | 16 | 3 | 840 | 1 | 252 | 40 | 4 | 2 | true | false | false | false | false | false | low |
28,612,160 | Different Images for Radio Buttons in Group by mvvmcross | <p>I'm using mvvmcross for android app. I'm trying to create group of dynamic radiobuttons with specific image for each button. Everything is going well except there are no images. </p>
<p>Parent axml:</p>
<pre><code><Mvx.MvxRadioGroup
android:layout_width="wrap_content"
android:layout_height="wrap_content... | I'm using mvvmcross for android app. I'm trying to create group of dynamic radiobuttons with specific image for each button. Everything is going well except there are no images. Parent axml: [CODE] RadioItem.axml: [CODE] My converter: [CODE] In debugger convertor method is invoked and image.RawImage is not null or empt... | android|image|xamarin|radio-button|mvvmcross | 0 | 2015-02-19T16:53:04.170Z | 2,015 | 2 | 16 | 3 | 562 | 0 | 1,081 | 56 | 5 | 4 | true | true | false | false | false | false | zero |
28,612,258 | Accessing webpages in my virtualhost from another device | <p>my virtual host file is something like this..</p>
<pre><code><VirtualHost *:80>
DocumentRoot "D:\projects\web"
ServerName mylocal
<Directory "D:\projects\web">
Order allow,deny
Allow from all
Require local
</Directory>
</VirtualHost>
</code></pre>
<p>when i access it... | my virtual host file is something like this.. [CODE] when i access it to my local i type something like this on my browser : [CODE] and this works.. how ever when i tried to access [CODE] i got an not found error.. can you please guide me?.. im a newbie thank you! | php|android|mysql|apache|wamp | 0 | 2015-02-19T16:57:37.330Z | 2,015 | 2 | 16 | 3 | 76 | 1 | 264 | 56 | 5 | 3 | true | false | false | false | false | false | zero |
28,612,382 | Creating custom maps over Google Maps is possible nowadays? | <p>A few years ago we wanted to add a custom map over Google Maps (like the World looks like Midearth), but back then it was not possible. Now, I can see multiple apps that have their own overlay over Google Maps. </p>
<p>I tried creating my own map via Google Maps using <a href="https://support.google.com/maps/answer... | A few years ago we wanted to add a custom map over Google Maps (like the World looks like Midearth), but back then it was not possible. Now, I can see multiple apps that have their own overlay over Google Maps. I tried creating my own map via Google Maps using their suggestions , but this was only for pins and routes. ... | android|google-maps|overlay | 0 | 2015-02-19T17:02:56.593Z | 2,015 | 2 | 17 | 3 | 214 | 2 | 551 | 59 | 3 | 0 | false | false | false | false | false | false | zero |
28,612,483 | How can I make an android app for a website I do not own? | <p>So, here I am asking for some ideas on how to make an android app for a website I do not own.
So, I just started android app developing, I am a newbie at this :3. This website I am talking about, I do not own it, it neither has a RSS feed nor api. Its a job advertising website, I guess each jod advertisement is a p... | So, here I am asking for some ideas on how to make an android app for a website I do not own. So, I just started android app developing, I am a newbie at this :3. This website I am talking about, I do not own it, it neither has a RSS feed nor api. Its a job advertising website, I guess each jod advertisement is a post,... | php|android|mysql|feed | -3 | 2015-02-19T17:08:08.717Z | 2,015 | 2 | 17 | 3 | 165 | 1 | 724 | 57 | 4 | 0 | false | false | false | false | false | true | negative |
28,612,486 | Have some troubles with get fresh coordinates | <p>Here is my code. Actually, I want to use this service to get user's fresh coordinates. In my test it didn't work well. I didn't get a good location. And it seem never call mobile's GPS to update the coordinates. Is my code has bug or my phone has problem? Thanks</p>
<pre><code>public class LocationService extends S... | Here is my code. Actually, I want to use this service to get user's fresh coordinates. In my test it didn't work well. I didn't get a good location. And it seem never call mobile's GPS to update the coordinates. Is my code has bug or my phone has problem? Thanks [CODE] // At here other PROVIDER doesn't work. Only passi... | android|gps|locationmanager | 0 | 2015-02-19T17:08:16.923Z | 2,015 | 2 | 17 | 3 | 66 | 0 | 351 | 45 | 3 | 2 | true | true | false | false | false | false | zero |
28,612,504 | Android Studio builds count | <p>is it possible to see how many builds a Project has since start on the Computer.</p>
<p>Mabye 10 or 100 or 1000?</p>
<p>Manually or in android code?</p>
<p>Is there anything that helps?</p> | is it possible to see how many builds a Project has since start on the Computer. Mabye 10 or 100 or 1000? Manually or in android code? Is there anything that helps? | android|build|count | 2 | 2015-02-19T17:09:16.793Z | 2,015 | 2 | 17 | 3 | 1,311 | 3 | 164 | 27 | 3 | 0 | false | false | false | false | false | false | low |
28,612,538 | Android AOSP Lollipop build error no sys/types.h | <p>============================================</p>
<pre><code>enter PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.50.50.50.50
TARGET_PRODUCT=full_dory
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2... | ============================================ [CODE] ============================================ [CODE] it do not provide gcc arm-linux-androideabi-4.9/bin/ and host clang 3.6 I just download and copied to the directory: gcc arm-linux-androideabi-4.9 I copied and downloaded to the directory. uname -a Linux vip-Inspiron... | android|cross-compiling|android-5.0-lollipop|android-source | 0 | 2015-02-19T17:10:31.163Z | 2,015 | 2 | 17 | 3 | 1,763 | 1 | 419 | 48 | 4 | 2 | true | false | false | false | false | false | zero |
28,612,539 | WebView in background is still clickable when ProgressBar is shown | <p>I have my android webView app working nice. It also shows the ProgressBar while loading the url and hides it when finish the load with a beautiful effect cause I put some alpha in the ProgressBar layout to see webView in the background. I followed <a href="https://stackoverflow.com/questions/3149216/how-to-listen-fo... | I have my android webView app working nice. It also shows the ProgressBar while loading the url and hides it when finish the load with a beautiful effect cause I put some alpha in the ProgressBar layout to see webView in the background. I followed this example. . My problem is: webView is still clickable. MyManifest.xm... | java|android|webview | 1 | 2015-02-19T17:10:33.210Z | 2,015 | 2 | 17 | 3 | 373 | 2 | 631 | 66 | 3 | 5 | true | false | false | false | false | false | low |
28,612,587 | Android second screen audio synchronization | <p>For the Dutch movie "App" (<a href="http://www.imdb.com/title/tt2536436" rel="nofollow">http://www.imdb.com/title/tt2536436</a>), a second screen app was developed. This app synchronizes with the audio of the movie to give extra details about some scenes and some other movie fragments from other angles. It seems lik... | For the Dutch movie "App" ( http://www.imdb.com/title/tt2536436 ), a second screen app was developed. This app synchronizes with the audio of the movie to give extra details about some scenes and some other movie fragments from other angles. It seems like it is synchronized with the audio of the movie. For a school pro... | android|mpeg2-ts | 1 | 2015-02-19T17:13:06.743Z | 2,015 | 2 | 17 | 3 | 249 | 2 | 808 | 43 | 2 | 0 | false | false | false | false | false | false | low |
28,612,643 | Manage connected android clients on C# server | <p>I have Android clients connecting to a secure C# server. I can send and receive data to and from both. </p>
<p>What I would like to be able to do is keep track of each android client. I'm doing this via MAC address for now, but later I will have a unique ID that is more permanent. </p>
<p>I am successfully sending... | I have Android clients connecting to a secure C# server. I can send and receive data to and from both. What I would like to be able to do is keep track of each android client. I'm doing this via MAC address for now, but later I will have a unique ID that is more permanent. I am successfully sending the MAC address and ... | c#|android|ssl|server | 0 | 2015-02-19T17:15:21.560Z | 2,015 | 2 | 17 | 3 | 49 | 1 | 545 | 45 | 4 | 0 | false | false | false | false | false | false | zero |
28,612,648 | Qt for Android and OpenSSL | <p>Qt installation provides prebuilt binaries for Android. From <a href="http://doc.qt.io/qt-5/opensslsupport.html" rel="nofollow noreferrer">http://doc.qt.io/qt-5/opensslsupport.html</a>, it appears these binaries are built with OpenSSL support but OpenSSL libraries are not part of the package due to legal restriction... | Qt installation provides prebuilt binaries for Android. From http://doc.qt.io/qt-5/opensslsupport.html , it appears these binaries are built with OpenSSL support but OpenSSL libraries are not part of the package due to legal restrictions. The advice is to build and package the libraries yourself. Two questions: My appl... | android|qt | 2 | 2015-02-19T17:15:37.870Z | 2,015 | 2 | 17 | 3 | 2,292 | 3 | 948 | 26 | 2 | 0 | false | false | false | false | false | false | low |
28,612,683 | How to implement a button for emoji (like Hangouts)? | <p>How is it possible to implement a button that opens the emoji keyboard like in Hangouts?</p>
<p>I don't mean the standard emoji key inside the keyboard that appears when using android:inputType="textShortMessage". It should be a separate button inside the apps layout.</p>
<p>I'd appreciate any help or hints your g... | How is it possible to implement a button that opens the emoji keyboard like in Hangouts? I don't mean the standard emoji key inside the keyboard that appears when using android:inputType="textShortMessage". It should be a separate button inside the apps layout. I'd appreciate any help or hints your guys can give. Thank... | android|unicode|emoji|hangout | 1 | 2015-02-19T17:17:05.843Z | 2,015 | 2 | 17 | 3 | 264 | 0 | 324 | 52 | 4 | 0 | false | true | false | false | false | false | low |
28,612,696 | Nutrition Facts Detection with OpenCV | <p>I would like to detect some nutrition facts on food package with an Android Application, with OpenCV.
So far I managed to do it with one image of a nutrition table, but of course it only works with this one.</p>
<p>The goal is to detect and retrieve the value of Energy, Proteines, and Glucides, for 100g of product.... | I would like to detect some nutrition facts on food package with an Android Application, with OpenCV. So far I managed to do it with one image of a nutrition table, but of course it only works with this one. The goal is to detect and retrieve the value of Energy, Proteines, and Glucides, for 100g of product. These info... | android|opencv | 1 | 2015-02-19T17:17:44.510Z | 2,015 | 2 | 17 | 3 | 512 | 1 | 1,028 | 37 | 2 | 0 | false | false | false | false | false | false | low |
28,612,750 | Null Pointer Exception on Custom ListView Item | <p>Ok so:
I have a ListView with custom adapter. In ListView Item I have a SeekBar.
ListView adapter is in different class, and I want to when I click on listview to play some sound and show it on SeekBar(Like a progress bar).</p>
<p>The Problem:
I get null pointer exception because the SeekBar is in different Layout.... | Ok so: I have a ListView with custom adapter. In ListView Item I have a SeekBar. ListView adapter is in different class, and I want to when I click on listview to play some sound and show it on SeekBar(Like a progress bar). The Problem: I get null pointer exception because the SeekBar is in different Layout. The Listvi... | android|listview|nullpointerexception|seekbar | 0 | 2015-02-19T17:19:46.543Z | 2,015 | 2 | 17 | 3 | 153 | 1 | 496 | 46 | 4 | 0 | false | false | false | false | false | false | zero |
28,612,758 | Building Lollipop AOSP source on AWS | <p>Do you have experience building AOSP lollipop on AWS?</p>
<p>What type of EC2 instance to use? </p>
<p>How long does it take?</p>
<p>Would a higher grade instance + SSD really speeding things up?</p>
<p>How's the experience of using this:</p>
<p><a href="https://aws.amazon.com/marketplace/pp/B00HZ3NSPE/ref=_pt... | Do you have experience building AOSP lollipop on AWS? What type of EC2 instance to use? How long does it take? Would a higher grade instance + SSD really speeding things up? How's the experience of using this: https://aws.amazon.com/marketplace/pp/B00HZ3NSPE/ref=_ptnr_aosp2_prweb_ Thanks | amazon-ec2|android-5.0-lollipop | 5 | 2015-02-19T17:20:09.353Z | 2,015 | 2 | 17 | 3 | 951 | 1 | 288 | 36 | 2 | 0 | false | false | false | false | false | false | low |
28,612,762 | How mobile top up sites work | <p>I'm developing mobile top up site, and how i'm planning to implement the idea is below.
I've developed a site for user where they can input their mobile number with amount and pay the amount.
Then an android mobile is linked to this application will receive a notification and it'll make a request to company to trans... | I'm developing mobile top up site, and how i'm planning to implement the idea is below. I've developed a site for user where they can input their mobile number with amount and pay the amount. Then an android mobile is linked to this application will receive a notification and it'll make a request to company to transfer... | android|mobile | -1 | 2015-02-19T17:20:19.250Z | 2,015 | 2 | 17 | 3 | 341 | 1 | 480 | 28 | 2 | 0 | false | false | false | false | false | true | negative |
28,612,765 | Android Eclipse app deactivate logs in LogCat | <p>Hey this question has been asked a couple of times already, but is there a way to decrease the amount of logs, Eclipse receives from a device?</p>
<p>I am receiving HUNDREDS of log entries per second, most likely because I am using a china phone in which the debug levels probably haven't been set back before shippi... | Hey this question has been asked a couple of times already, but is there a way to decrease the amount of logs, Eclipse receives from a device? I am receiving HUNDREDS of log entries per second, most likely because I am using a china phone in which the debug levels probably haven't been set back before shipping. All tha... | android|eclipse|logcat | 0 | 2015-02-19T17:20:21.093Z | 2,015 | 2 | 17 | 3 | 38 | 0 | 886 | 45 | 3 | 0 | false | true | false | false | false | false | zero |
28,612,782 | Google Maps Lite Mode causes jank in RecyclerView | <p>I have a <code>RecyclerView</code> which is a vertical scrolling list of items. Each list item contains a Google Maps V2 MapView in <a href="https://developers.google.com/maps/documentation/android/lite" rel="noreferrer"><strong>Lite Mode</strong></a>. I'm taking advantage of this new feature which returns bitmaps i... | I have a RecyclerView which is a vertical scrolling list of items. Each list item contains a Google Maps V2 MapView in Lite Mode . I'm taking advantage of this new feature which returns bitmaps instead of a full-blown map as a replacement to the Google Static Maps API . MapView requires that you call onCreate() , onRes... | android|google-maps|android-recyclerview|google-play-services|google-maps-lite | 43 | 2015-02-19T17:21:19.193Z | 2,015 | 2 | 17 | 3 | 16,411 | 6 | 1,041 | 49 | 5 | 3 | true | false | true | true | true | false | high |
28,612,809 | how to turn off SQLite autoindex feature? | <p>My <strong>Android</strong> application uses <strong>SQLite</strong> and <strong>ORMLite</strong> to work with data. There is need to insert a big amount of data at one time and I want to make this faster than it is for this moment. For that I want to drop indexes then insert data and then recreate indexes.</p>
<p>... | My Android application uses SQLite and ORMLite to work with data. There is need to insert a big amount of data at one time and I want to make this faster than it is for this moment. For that I want to drop indexes then insert data and then recreate indexes. Problem: is when application creates database - SQLite adds in... | android|sqlite|ormlite | 4 | 2015-02-19T17:22:59.797Z | 2,015 | 2 | 17 | 3 | 5,291 | 3 | 840 | 41 | 3 | 1 | true | false | true | false | false | false | low |
28,612,840 | Google Cloud Messaging not working with Phonegap | <p>I'm having a lot of trouble to get Google Cloud Messaging to work in my Phonegap-based app.</p>
<p>I'm following the instructions that are <a href="http://gielberkers.com/push-notifications-phonegap-android/" rel="nofollow">here</a>.
It uses the PushPlugin, which I installed in my app according to the instructions.... | I'm having a lot of trouble to get Google Cloud Messaging to work in my Phonegap-based app. I'm following the instructions that are here . It uses the PushPlugin, which I installed in my app according to the instructions. Somehow I get no response after registering, nothing happens (no console.log appears) when I do : ... | android|cordova|google-cloud-messaging | 0 | 2015-02-19T17:24:17.590Z | 2,015 | 2 | 17 | 3 | 433 | 2 | 1,025 | 48 | 3 | 1 | true | false | false | false | false | false | zero |
28,612,860 | Android ; PreferenceFragment language is not the same as the app | <p>Im develooping an app that will handle later language change from preference but now my problem that my app will use phone locale (french in my case) but my R.xml.settings_prefs language is in english i have all my strings translated</p>
<pre><code>strings.xml
values-fr/strings.xml
values-en/strings.xml
</code></p... | Im develooping an app that will handle later language change from preference but now my problem that my app will use phone locale (french in my case) but my R.xml.settings_prefs language is in english i have all my strings translated [CODE] Here is a snap from my codes SettingsActivity.java [CODE] SettingsFragment.java... | android-layout|android-fragments | 1 | 2015-02-19T17:25:31.423Z | 2,015 | 2 | 17 | 3 | 481 | 1 | 398 | 64 | 2 | 4 | true | false | false | false | false | false | low |
28,612,861 | How can i make PPT Editor in Android | <p>i wanted to make ppt editor App for android,
i am facing problem to start it,if any one have some basic guidelines for starting a app can share. </p> | i wanted to make ppt editor App for android, i am facing problem to start it,if any one have some basic guidelines for starting a app can share. | android | -1 | 2015-02-19T17:25:31.487Z | 2,015 | 2 | 17 | 3 | 50 | 1 | 144 | 36 | 1 | 0 | false | false | false | false | false | true | negative |
28,612,923 | Get fragment title from string array | <p>So I am using a sample application based on ActionBarSherlock. I want to set the title of the fragment from a string array, but it gives me the NullPointerException error when I try to run it on emulator.</p>
<pre><code>String[] title;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(s... | So I am using a sample application based on ActionBarSherlock. I want to set the title of the fragment from a string array, but it gives me the NullPointerException error when I try to run it on emulator. [CODE] That is just a part of the code I think is involved. But here is my whole code. [CODE] Logcat: [CODE] I don'... | android|android-fragments|android-titlebar | 0 | 2015-02-19T17:28:51.417Z | 2,015 | 2 | 17 | 3 | 1,045 | 1 | 452 | 36 | 3 | 3 | true | false | false | false | false | false | zero |
28,613,001 | Method to draw a path throws error when invoked | <p>I have an arraylist of points which are drawn onto a canvas. I have made a method (drawLine) which draws a path/line from one point to another according to the points the user clicks on.</p>
<p>The order in which the points are clicked are put into an arraylist called userPath.</p>
<p>The drawLine method then capt... | I have an arraylist of points which are drawn onto a canvas. I have made a method (drawLine) which draws a path/line from one point to another according to the points the user clicks on. The order in which the points are clicked are put into an arraylist called userPath. The drawLine method then captures the last two v... | java|android|canvas|arraylist|path | 0 | 2015-02-19T17:31:53.643Z | 2,015 | 2 | 17 | 3 | 45 | 0 | 538 | 47 | 5 | 2 | true | true | false | false | false | false | zero |
28,613,037 | Android: How to lauch an app from browser? | <p>I want to launch an activity when a link is clicked on android browser.
I have followed the instructions provided by the <a href="https://developer.chrome.com/multidevice/android/intents" rel="nofollow">link</a> .
When I open the browser and click on the link, the play store is lauched.</p>
<p>This is my href code ... | I want to launch an activity when a link is clicked on android browser. I have followed the instructions provided by the link . When I open the browser and click on the link, the play store is lauched. This is my href code contained in the html page: [CODE] this and this is the code in the manifest: [CODE] Can anyone p... | android | 0 | 2015-02-19T17:33:45.820Z | 2,015 | 2 | 17 | 3 | 51 | 2 | 347 | 42 | 1 | 2 | true | false | false | false | false | false | zero |
28,613,118 | How to make my app look the same in all devices? | <p>I'm newly on android development and i build an app on android studio and i want to make my app have same design in all devices:</p>
<blockquote>
<p>Samsung Galaxy S4 => 1080x1290 ; 5.0”</p>
</blockquote>
<p>Galaxy Nexus => 720x1280 ; 4.7”</p>
<p>Nexus 4 => 768x1280 ; 4.7”</p>
<p>Motorola Droid Razr M => 540x9... | I'm newly on android development and i build an app on android studio and i want to make my app have same design in all devices: Samsung Galaxy S4 => 1080x1290 ; 5.0” Galaxy Nexus => 720x1280 ; 4.7” Nexus 4 => 768x1280 ; 4.7” Motorola Droid Razr M => 540x960 ; 4.3” Nexus S => 480x800 ; 4” Galaxy S2 => 480x800 ; 4.3” Ga... | android|layout|screen-orientation|screen-size|android-screen-support | 6 | 2015-02-19T17:37:49.233Z | 2,015 | 2 | 17 | 3 | 20,068 | 2 | 1,574 | 48 | 5 | 3 | true | false | true | true | false | false | medium |
28,613,129 | Why we use the StringBuilder and BufferedReader in java together? | <p>As in BufferedReader returns the String value after <code>readLine()</code>, and <code>StringBuilder</code> is also return the same after <code>append(line)</code>. Then why we use both together ?</p>
<pre><code> HttpEntity he = res.getEntity();
InputStream is= he.getContent();
InputStreamReader ir= new ... | As in BufferedReader returns the String value after readLine() , and StringBuilder is also return the same after append(line) . Then why we use both together ? [CODE] | java|android | 0 | 2015-02-19T17:38:13.013Z | 2,015 | 2 | 17 | 3 | 2,107 | 2 | 166 | 65 | 2 | 1 | true | false | false | false | false | false | zero |
28,613,132 | Eclipse Android ADT plugin | <p>Ive downloaded this version and followed all the steps. <a href="http://developer.android.com/sdk/installing/installing-adt.html" rel="nofollow">http://developer.android.com/sdk/installing/installing-adt.html</a>
The proplem is when I go to Window -> Preferences -> Android none of the SDK locations I select will all... | Ive downloaded this version and followed all the steps. http://developer.android.com/sdk/installing/installing-adt.html The proplem is when I go to Window -> Preferences -> Android none of the SDK locations I select will allow me to apply them | java|android|eclipse|sdk | 0 | 2015-02-19T17:38:16.187Z | 2,015 | 2 | 17 | 3 | 44 | 0 | 243 | 26 | 4 | 0 | false | true | false | false | false | false | zero |
28,613,151 | Jar Mismatch while using ActionBarSherlock and FacebookSdk | <p>I am working on a project which has ActionBarSherlock and FacebookSdk as dependencies. On adding the libraries to the project,there is a jar mismatch as both contain android-support-v4.jar. </p>
<pre><code>Found 2 versions of android-support-v4.jar in the dependency list,
[2015-02-19 21:57:08 - privly-android] but ... | I am working on a project which has ActionBarSherlock and FacebookSdk as dependencies. On adding the libraries to the project,there is a jar mismatch as both contain android-support-v4.jar. [CODE] | java|android|eclipse-adt | 0 | 2015-02-19T17:39:27.210Z | 2,015 | 2 | 17 | 3 | 61 | 1 | 196 | 58 | 3 | 1 | true | false | false | false | false | false | zero |
28,613,245 | How to get the value of a selected item in a spinner? | <p>I'm just learning Android app development, and I don't understand how to <code>Log</code> the value of a selected item from a spinner.</p>
<p>Here's what I have for <code>MainActivity.java</code></p>
<pre><code>import android.content.ContentResolver;
import android.database.Cursor;
import android.support.v7.app.Ac... | I'm just learning Android app development, and I don't understand how to Log the value of a selected item from a spinner. Here's what I have for MainActivity.java [CODE] I'm following the Android dev docs on responding to user selections , but with my code, I get this error: Could not resolve symbol setOnItemSelectedLi... | java|android|xml|spinner|android-spinner | 0 | 2015-02-19T17:43:52.863Z | 2,015 | 2 | 17 | 3 | 1,847 | 3 | 566 | 53 | 5 | 3 | true | false | false | false | false | false | zero |
28,613,267 | Android JUnit Test does not work | <p>i am new on Android JUnit Testing and i am trying to to my StartActivity. But even simplest test does not work:</p>
<pre><code>public class testMain extends ActivityUnitTestCase<MainActivity> {
private MainActivity activity;
private int buttonId;
public testMain() {
super(MainActiv... | i am new on Android JUnit Testing and i am trying to to my StartActivity. But even simplest test does not work: [CODE] My LogCat-File looks like this: [CODE] How can i get more information?? Why is a assert Fail: final String hallo = "HalloWelt"; assertEquals("HalloWelt", hallo); Thx. | android|testing|junit | 0 | 2015-02-19T17:45:13.753Z | 2,015 | 2 | 17 | 3 | 199 | 0 | 285 | 32 | 3 | 2 | true | true | false | false | false | false | zero |
28,613,471 | Android - Why can't I do add member variables for only BuildConfig.DEBUG builds? | <p>This is probably more of a java issue, but shouldn't it be possible to do something like this?</p>
<pre><code>public class MyActivity extends Activity{
public TextView text;
if (BuildConfig.DEBUG){
public TextView debugText;
}
//onCreate code
onCreate()...
}
</code></pre>
<p>Is there any way to get around thi... | This is probably more of a java issue, but shouldn't it be possible to do something like this? [CODE] Is there any way to get around this? I don't want to have two separate files, but I don't want debug variables to be compiled into the build. | java|android | 0 | 2015-02-19T17:54:40.937Z | 2,015 | 2 | 17 | 3 | 104 | 1 | 243 | 80 | 2 | 1 | true | false | false | false | false | false | zero |
28,613,497 | Listview setonitemclicklistener | <p>I've looked up similar post regarding this question but they didn't solve my issue, so here it is.</p>
<p>I'm trying to set a setOnItemClickListener, for when I click on any item of my list I will open a dialog with the info (retrieve from the list) on the clicked list and more info. But i'm struggling to implement... | I've looked up similar post regarding this question but they didn't solve my issue, so here it is. I'm trying to set a setOnItemClickListener, for when I click on any item of my list I will open a dialog with the info (retrieve from the list) on the clicked list and more info. But i'm struggling to implement the setOnI... | android|listview|dialog|onclick | 0 | 2015-02-19T17:55:39.357Z | 2,015 | 2 | 17 | 3 | 777 | 2 | 462 | 31 | 4 | 1 | true | false | false | false | false | false | zero |
28,613,587 | sound volume not working on Android | <p>I have an app that is producing a sound on Android, my code is setting volume on all audio streams to make sure all streams has volume set. Here are that streams:</p>
<pre><code>STREAM_MUSIC
STREAM_RING
STREAM_ALARM
STREAM_NOTIFICATION
STREAM_VOICE_CALL
STREAM_DTMF
STREAM_SYSTEM
</code></pre>
<p>If I change the vo... | I have an app that is producing a sound on Android, my code is setting volume on all audio streams to make sure all streams has volume set. Here are that streams: [CODE] If I change the volume using: [CODE] I don't see the volume is being changed, it play the default volume but the touch sound volume is getting changed... | android | 1 | 2015-02-19T18:00:47.087Z | 2,015 | 2 | 18 | 3 | 1,870 | 2 | 366 | 35 | 1 | 3 | true | false | false | false | false | false | low |
28,613,610 | Android AccelerateDecelerateInterpolator not working | <pre><code>AnimatorSet set = new AnimatorSet();
set.playTogether(
ObjectAnimator.ofFloat(mCard, "scaleX", 1f, 0f),
ObjectAnimator.ofFloat(mCard, "scaleY", 1f, 0f),
ObjectAnimator.ofFloat(mBackground, "alpha", 1f, 0f)
);
set.setDuration(2000l);
set.setInterpolator(new AccelerateDecelerateInterpo... | [CODE] This seems pretty straightforward to me, I've used interpolators in the past and have not had trouble. However, with this AnimatorSet, if I comment out the setInterpolator line the animation looks exactly the same. As you can see I slowed it down so I could make sure I wasn't just not noticing the effect, but it... | android|android-animation | 1 | 2015-02-19T18:01:36.983Z | 2,015 | 2 | 18 | 3 | 682 | 1 | 376 | 52 | 2 | 1 | true | false | false | false | false | false | low |
28,613,619 | Android Full screen videoview | <p>I want to like youtube like full screen video shrink and expand on click full size video click on fullscreen imagebutton I want to video screen full size I use fragment.</p>
<p>my videoplayer.xml</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.co... | I want to like youtube like full screen video shrink and expand on click full size video click on fullscreen imagebutton I want to video screen full size I use fragment. my videoplayer.xml [CODE] just tell me on fullscreen image button click event what i do... | android|android-videoview | 0 | 2015-02-19T18:01:59.110Z | 2,015 | 2 | 18 | 3 | 984 | 2 | 260 | 29 | 2 | 1 | true | false | false | false | false | false | zero |
28,613,655 | Data from two tables in MySql into Android app | <p>I am trying to list data from Employee table and then check if the employee listed is also in the Status table. Right now I got the listview to work but I can't seem to figure out how to connect to the Status table to see if that Employee exist using his UserID field (which is in both tables).</p>
<p>I am doing the... | I am trying to list data from Employee table and then check if the employee listed is also in the Status table. Right now I got the listview to work but I can't seem to figure out how to connect to the Status table to see if that Employee exist using his UserID field (which is in both tables). I am doing the following ... | java|android|mysql|sql | 0 | 2015-02-19T18:03:36.513Z | 2,015 | 2 | 18 | 3 | 1,032 | 1 | 753 | 46 | 4 | 3 | true | false | false | false | false | false | zero |
28,613,678 | Convert Java String with GMT date and -6 at end to CST | <p>I have a string with gmt date value and -06:00 at end. What is best way to convert this to CST? I looked at other questions but none of them have -06:00 at end to answer my question.</p>
<p>This is what I tried and it errors out as java.text.ParseException: Unparseable date: "2015-02-19T11:50:09.5953377-06:00"</p>
... | I have a string with gmt date value and -06:00 at end. What is best way to convert this to CST? I looked at other questions but none of them have -06:00 at end to answer my question. This is what I tried and it errors out as java.text.ParseException: Unparseable date: "2015-02-19T11:50:09.5953377-06:00" [CODE] | java|android|date|timezone|simpledateformat | 0 | 2015-02-19T18:05:01.080Z | 2,015 | 2 | 18 | 3 | 2,029 | 2 | 311 | 54 | 5 | 1 | true | false | false | false | false | false | zero |
28,613,696 | Runnable method stops after one time | <p>I built a small app that u write a number of secs and then there is a timer. when the timer comes to 0 it plays music.
Unfortunately the <code>Runnable</code> stops after one substract (I mean that after I wrote 5 and Pressed the button the 5 substracted to 4 and stops then.)
I cannot write the <code>Runnable</code>... | I built a small app that u write a number of secs and then there is a timer. when the timer comes to 0 it plays music. Unfortunately the Runnable stops after one substract (I mean that after I wrote 5 and Pressed the button the 5 substracted to 4 and stops then.) I cannot write the Runnable outside the onClick because ... | java|android|timer|onclick|runnable | -1 | 2015-02-19T18:05:51.807Z | 2,015 | 2 | 18 | 3 | 81 | 1 | 430 | 36 | 5 | 1 | true | false | false | false | false | true | negative |
28,613,751 | How to Register New File Type Association with MP3 | <p>I am beginner with Android Studio. I have an MP3 file in my <code>res\raw</code> folder. When I <code>sync project with Gradle files</code>. I get the following dialog box:</p>
<p><img src="https://i.stack.imgur.com/HjzbH.png" alt="enter image description here"></p>
<p>How do I allow for MP3 files in my project? <... | I am beginner with Android Studio. I have an MP3 file in my res\raw folder. When I sync project with Gradle files . I get the following dialog box: How do I allow for MP3 files in my project? I read this: Register new file type in Android , but I'm not building an MP3 player. My intention is for the user to have an MP3... | android|android-studio|gradle|mp3 | 31 | 2015-02-19T18:09:04.120Z | 2,015 | 2 | 18 | 3 | 40,046 | 8 | 564 | 50 | 4 | 0 | false | false | true | true | true | false | high |
28,613,772 | How to use cursor-based pagination with Android Facebook API | <p>I am trying to retrieve items from my Facebook news feed using the graph API. The code (unfinished) I am using is below, which seems to only be returning a single news feed post. I have read the documentation on cursor based pagination but it does not explain how to implement it, nor have i found any other resources... | I am trying to retrieve items from my Facebook news feed using the graph API. The code (unfinished) I am using is below, which seems to only be returning a single news feed post. I have read the documentation on cursor based pagination but it does not explain how to implement it, nor have i found any other resources ex... | java|android|facebook-graph-api|facebook-android-sdk | 0 | 2015-02-19T18:10:33.157Z | 2,015 | 2 | 18 | 3 | 836 | 2 | 610 | 60 | 4 | 1 | true | false | false | false | false | false | zero |
28,613,784 | NoClassDefFoundError: java.util.Objects Android | <p>In two projects that I've contributed I've had this Error:</p>
<pre><code>FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: java.util.Objects
</code></pre>
<p>That because I've implemented <code>hashCode</code> and <code>equals</code> methods using <code>Objects</code> class. </p>
<pre><code>@Override
public ... | In two projects that I've contributed I've had this Error: [CODE] That because I've implemented hashCode and equals methods using Objects class. [CODE] When I compile I don't get error or warnings. Why might it be happening? | android | 5 | 2015-02-19T18:11:04.243Z | 2,015 | 2 | 18 | 3 | 2,594 | 2 | 224 | 47 | 1 | 2 | true | false | false | false | false | false | low |
28,613,817 | RecyclerView Sticky Header onClick and scrollbar | <p>I've made a decoration class to create sticky headers in a recyclerview. I have two problems about that.</p>
<ol>
<li>While listening for the clicks, when a normal item is under the sticky header, clicks for sticky header doesn't work.(The item under it, is clicked.)</li>
<li>Since I'm drawing over the sticky heade... | I've made a decoration class to create sticky headers in a recyclerview. I have two problems about that. While listening for the clicks, when a normal item is under the sticky header, clicks for sticky header doesn't work.(The item under it, is clicked.) Since I'm drawing over the sticky headers, they are drawn on to t... | android|android-recyclerview | 5 | 2015-02-19T18:12:35.763Z | 2,015 | 2 | 18 | 3 | 2,195 | 0 | 574 | 48 | 2 | 1 | true | true | false | false | false | false | low |
28,613,842 | Add Facebook Audience Network Mediation to application | <p>I am using Eclipse and I try to show ads via the Facebook Audience Network. I have added the "AudienceNetwork.jar" from the <a href="https://developers.facebook.com/docs/android" rel="nofollow noreferrer">official Facebook SDK</a>, and the "FacebookAdapter.jar" from the <a href="https://developers.google.com/mobile-... | I am using Eclipse and I try to show ads via the Facebook Audience Network. I have added the "AudienceNetwork.jar" from the official Facebook SDK , and the "FacebookAdapter.jar" from the AdMob Mediation Networks . I should mention that I monetize via the AdMob and do not use proguard . My problem is that when I try to ... | android|eclipse|admob|facebook-audience-network | 2 | 2015-02-19T18:13:54.263Z | 2,015 | 2 | 18 | 3 | 3,880 | 2 | 668 | 54 | 4 | 1 | true | false | true | false | false | false | low |
28,613,855 | Why are lifecycle methods in fragments public while those of activity are protected? | <p>The activity is protected for encapsulation within the framework package android.app and subclasses according to <a href="https://stackoverflow.com/questions/20161662/why-are-lifecycle-methods-in-activity-class-defined-with-protected-access-specif">this link</a> so why are fragments lifecycle methods having a public... | The activity is protected for encapsulation within the framework package android.app and subclasses according to this link so why are fragments lifecycle methods having a public access modifier? | android|android-fragments | 1 | 2015-02-19T18:14:27.700Z | 2,015 | 2 | 18 | 3 | 415 | 1 | 194 | 84 | 2 | 0 | false | false | false | false | false | false | low |
28,613,896 | Android Window Manager Layout Inflater is not inflating a full screen layout | <p>I have been attempting to learn Android Java shenanigans, so still very new to it. I managed to get a <code>Service</code> working that inflates a layout to create a <code>TYPE_SYSTEM_OVERLAY</code>. The layout is a transparent red, but only takes up the middle part of my screen. My hope was to have it cover and fil... | I have been attempting to learn Android Java shenanigans, so still very new to it. I managed to get a Service working that inflates a layout to create a TYPE_SYSTEM_OVERLAY . The layout is a transparent red, but only takes up the middle part of my screen. My hope was to have it cover and fill the entire screen. This is... | android|android-layout|android-windowmanager | 2 | 2015-02-19T18:16:45.140Z | 2,015 | 2 | 18 | 3 | 5,922 | 1 | 604 | 76 | 3 | 4 | true | false | true | false | false | false | low |
28,613,909 | SupportMapFragment return null on Android studio | <p>I move my application eclipse to android studio. My code works perfect on Eclipse but on Android studio</p>
<pre><code>mapView = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap();
</code></pre>
<p>return null
my xml is here</p>
<pre><code><LinearLayout
xmlns:android="ht... | I move my application eclipse to android studio. My code works perfect on Eclipse but on Android studio [CODE] return null my xml is here [CODE] why it return null? I searched and compileSdkVersion 21 cause it. But if I change it 19 still return null | android|android-studio|google-maps-api-2 | 0 | 2015-02-19T18:17:29.933Z | 2,015 | 2 | 18 | 3 | 962 | 1 | 250 | 48 | 3 | 2 | true | false | false | false | false | false | zero |
28,613,953 | Cannot refer to non-final variable inside an inner class | <p>I'm trying to have a <code>CountDownTimer</code> inside each row in a <code>ListView</code>. The only place I can have my <code>onClick</code> methods for the button in each row, is in the <code>CustomListAdapter</code>. But I can't refer to the <code>TextView</code> where the time left should be displayed. I get th... | I'm trying to have a CountDownTimer inside each row in a ListView . The only place I can have my onClick methods for the button in each row, is in the CustomListAdapter . But I can't refer to the TextView where the time left should be displayed. I get this error: Cannot refer to a non-final variable holder inside an in... | java|android | 0 | 2015-02-19T18:19:21.803Z | 2,015 | 2 | 18 | 3 | 914 | 3 | 593 | 56 | 2 | 1 | true | false | false | false | false | false | zero |
28,614,048 | Volley sending request as utf-8 | <p>I am sending a request to web by <strong>volley</strong> library on android that contains some <strong>Arabic</strong> characters in the URL , But in the php file I got question marks instead of my arabic letters (??????) , I tried the solutions that people said on the net but all of them are try to read the data fr... | I am sending a request to web by volley library on android that contains some Arabic characters in the URL , But in the php file I got question marks instead of my arabic letters (??????) , I tried the solutions that people said on the net but all of them are try to read the data from web as UTF-8 not send data as UTF-... | android|utf-8|android-volley | 2 | 2015-02-19T18:24:51.047Z | 2,015 | 2 | 18 | 3 | 2,030 | 1 | 347 | 31 | 3 | 1 | true | false | false | false | false | false | low |
28,614,105 | Can I make a "Game" in Java and use the source code on Android with out changing? | <p>Just a really quick question and thank you ahead of time for any one who reads|| reply's.</p>
<p>My Question is if I make a game or any type of application within Java(Eclipse),
Can I then take that source code and import it into a program like Android Studio, or use the Sdk within Eclipse for Android. And it will ... | Just a really quick question and thank you ahead of time for any one who reads|| reply's. My Question is if I make a game or any type of application within Java(Eclipse), Can I then take that source code and import it into a program like Android Studio, or use the Sdk within Eclipse for Android. And it will work fine o... | java|android | -1 | 2015-02-19T18:27:17.507Z | 2,015 | 2 | 18 | 3 | 73 | 1 | 383 | 81 | 2 | 0 | false | false | false | false | false | true | negative |
28,614,168 | Unregister Receiver is it necessary? | <p>I have an alarm manager whose receiver I had registered in my code. The whole point of having an alarm manager in case of <code>Timer</code> is that it should run in background when in Pause state. Now, do I unregister it in <code>onPause()</code> or in <code>OnDestroy()</code> and will it still run in background an... | I have an alarm manager whose receiver I had registered in my code. The whole point of having an alarm manager in case of Timer is that it should run in background when in Pause state. Now, do I unregister it in onPause() or in OnDestroy() and will it still run in background and wake up and the receiver would receive i... | android|receiver | 1 | 2015-02-19T18:31:02.790Z | 2,015 | 2 | 18 | 3 | 575 | 1 | 335 | 36 | 2 | 1 | true | false | false | false | false | false | low |
28,614,287 | TextAppearance.AppCompat.Widget.ActionBar.Title doesn't color the text | <p>I'm developing an Android app, and I want to color the text on the actionbar, so I have the following code:</p>
<pre><code><style name="MyTheme" parent="@Theme.AppCompat.Light">
<item name="android:actionBarStyle">@style/MyTheme.ActionBar</item>
</style>
<style name="MyTheme.Action... | I'm developing an Android app, and I want to color the text on the actionbar, so I have the following code: [CODE] And I want to make the color of the text on the actionbar white, however I do manage to color the actionbar but not the text! | xml|colors|android-actionbar | 1 | 2015-02-19T18:36:17.690Z | 2,015 | 2 | 18 | 3 | 839 | 1 | 240 | 70 | 3 | 1 | true | false | false | false | false | false | low |
28,614,497 | Someone knows how to install Android Studio for all users to avoid every user download the same sdk? | <p>I have a computer that is used by multiple developers.</p>
<p>Everytime when a new developer used the computer, Android Studio will download the sdk to the user profile.</p>
<p>Could I set a sdk path for all users to prevent this duplication of information?</p> | I have a computer that is used by multiple developers. Everytime when a new developer used the computer, Android Studio will download the sdk to the user profile. Could I set a sdk path for all users to prevent this duplication of information? | android|android-studio | 2 | 2015-02-19T18:49:14.703Z | 2,015 | 2 | 18 | 3 | 1,188 | 0 | 243 | 100 | 2 | 0 | false | true | false | false | false | false | low |
28,614,503 | Is it possible to connect leaderboard of two apps in google play game services? | <p>I have a free version of game in play store and i am planning to update to paid version(package name will change) with more features, right now my free version has a leaderboard integrated into it, and i want my paid application to follow same leaderboard is it possible for sharing leaderboard between two apps. or i... | I have a free version of game in play store and i am planning to update to paid version(package name will change) with more features, right now my free version has a leaderboard integrated into it, and i want my paid application to follow same leaderboard is it possible for sharing leaderboard between two apps. or its ... | android|google-play|google-play-services | 1 | 2015-02-19T18:49:40.123Z | 2,015 | 2 | 18 | 3 | 975 | 1 | 357 | 79 | 3 | 0 | false | false | false | false | false | false | low |
28,614,528 | Best User Experience when navigating between 2 Lists (Fragment / Activity) | <p>This question is more my way of gauging a better understanding of the "Proper" way to handle this content flow instead of just "whatever works" or the "quickest" solution to code. Im looking for the best on performance and user experience.</p>
<h2>The situation:</h2>
<p>So my main activity handles my NavigationDra... | This question is more my way of gauging a better understanding of the "Proper" way to handle this content flow instead of just "whatever works" or the "quickest" solution to code. Im looking for the best on performance and user experience. The situation: So my main activity handles my NavigationDrawer and is the basis ... | android|android-fragments|android-listview|user-experience|android-recyclerview | 0 | 2015-02-19T18:50:54.573Z | 2,015 | 2 | 18 | 3 | 133 | 1 | 1,722 | 74 | 5 | 0 | false | false | false | false | false | false | zero |
28,614,592 | bash script not reading local.properties | <p>I have created a project based off an official Cocos2dx sample. In the script, it tries to read the local properties in using the following:</p>
<pre><code>_LOCALPROPERTIES_FILE=$(dirname "$0")"/local.properties"
if [ -f "$_LOCALPROPERTIES_FILE" ]
then
[ -r "$_LOCALPROPERTIES_FILE" ] || die "Fatal Error: $_LOCA... | I have created a project based off an official Cocos2dx sample. In the script, it tries to read the local properties in using the following: [CODE] It then tries to get the NDK_ROOT: [CODE] If I define the NDK root in my local.properties like the following: NDK_ROOT=/Users/myuser/Documents/android-ndk-r9d It fails to r... | java|android|bash|cocos2d-x | 1 | 2015-02-19T18:54:17.337Z | 2,015 | 2 | 18 | 3 | 179 | 1 | 755 | 40 | 4 | 2 | true | false | false | false | false | false | low |
28,614,634 | One of two Android ListView filling too much space | <p>I would like to obtain this layout for an Android app for mobile phones:</p>
<pre><code>Icon - Object1
List with entries related to Object1
Icon - Object2
List with entries related to Object2
</code></pre>
<p>So far I have used the following layout tree (edited graphically with the editor in Android Studio):</p>
... | I would like to obtain this layout for an Android app for mobile phones: [CODE] So far I have used the following layout tree (edited graphically with the editor in Android Studio): Root-LinearLayout Vertical LinearLayout Horizontal LinearLayout with icon and text ListView Vertical LinearLayout Horizontal LinearLayout w... | android|android-layout|android-listview | 0 | 2015-02-19T18:57:18.187Z | 2,015 | 2 | 18 | 3 | 457 | 1 | 1,096 | 50 | 3 | 2 | true | false | false | false | false | false | zero |
28,614,775 | Android app + Web API Server + External Authenticators | <p>I'm building an app for iOS and Android, even tho I started with Android.</p>
<p>My app will allow users to login with FB, Google, or just registering(user, pass, confirmPass).</p>
<p>Now, my app is based (and displays) on information of other users that I will store in a DB and will access it with my Web API Serv... | I'm building an app for iOS and Android, even tho I started with Android. My app will allow users to login with FB, Google, or just registering(user, pass, confirmPass). Now, my app is based (and displays) on information of other users that I will store in a DB and will access it with my Web API Server (C#) with EF. I ... | c#|android|facebook|entity-framework|asp.net-web-api | 1 | 2015-02-19T19:04:11.353Z | 2,015 | 2 | 19 | 3 | 163 | 0 | 743 | 54 | 5 | 2 | true | true | false | false | false | false | low |
28,614,799 | Android Javascript Wrapper can't call any function in outer class? | <pre><code>public class main extends Activity {
/*
The function videoViewURL(url) works anywhere else
in my program but here!!
It needs to be called from one of these places.
I think it has to do with class hiearchy.
Also I believe passing the function setUrl(url) another parameter might work.
... | [CODE] My VideoView works that's not the problem, it just won't let me call it from these two spots. If I could attach the project I would, but I stripped this down to as compact as I could get it. Thank you. | java|android | 0 | 2015-02-19T19:05:44.730Z | 2,015 | 2 | 19 | 3 | 95 | 1 | 208 | 66 | 2 | 1 | true | false | false | false | false | false | zero |
28,614,853 | How custom Sticky headers work in Android Listviews? | <p>My question is not about adding a Sticky header in a <code>ListView</code> in Android, I want to ask how it actually works ?</p>
<p>I know that there are so many sticky headers libraries available on github like,</p>
<p><a href="http://applidium.github.io/HeaderListView/#how_to_use" rel="nofollow">http://applidium... | My question is not about adding a Sticky header in a ListView in Android, I want to ask how it actually works ? I know that there are so many sticky headers libraries available on github like, http://applidium.github.io/HeaderListView/#how_to_use and https://github.com/emilsjolander/StickyListHeaders and I know that th... | android|listview|android-listview | 0 | 2015-02-19T19:10:01.867Z | 2,015 | 2 | 19 | 3 | 1,484 | 1 | 1,022 | 52 | 3 | 0 | false | false | false | false | false | false | zero |
28,614,898 | Android Studio: Gradle DSL method not found: 'classpath()' | <p>First of all, I've read all other solution posts and the official documentation on migrating to 1.0. So far, none has worked.</p>
<p>Error:</p>
<pre><code>Error:(23, 0) Gradle DSL method not found: 'classpath()'
Possible causes:<ul><li>The project 'SparkDatabase' may be using a version of Gradle that d... | First of all, I've read all other solution posts and the official documentation on migrating to 1.0. So far, none has worked. Error: [CODE] Apply Gradle plugin Currently, this is my build.gradle: apply plugin: 'com.android.application' [CODE] My other gradle: [CODE] Alternatively: How do I make a fresh installation of ... | android|android-studio | 4 | 2015-02-19T19:12:44.680Z | 2,015 | 2 | 19 | 3 | 3,533 | 2 | 432 | 58 | 2 | 3 | true | false | true | false | false | false | low |
28,614,913 | Url not redirecting to playstore | <p>I created a blog that focus on helping smartphone users to find best and helpful applications to use on smartphones.</p>
<p>I created a blog post on Avast Antivirus with a link to Playstore. The link was given in bb code but when I tested the link it only opens in the browser rather than it should open the applicat... | I created a blog that focus on helping smartphone users to find best and helpful applications to use on smartphones. I created a blog post on Avast Antivirus with a link to Playstore. The link was given in bb code but when I tested the link it only opens in the browser rather than it should open the application page in... | android | 0 | 2015-02-19T19:13:24.750Z | 2,015 | 2 | 19 | 3 | 3,511 | 3 | 574 | 32 | 1 | 0 | false | false | true | false | false | false | zero |
28,614,965 | How do I Log an object's keys and values | <p>In my Android app, I have a class with the names and phone numbers of the user's contact list. I also have a spinner that lists the contacts' names. When a user selects a name from the spinner, I want to <code>Log</code> the contact's name and number.</p>
<p>Here's <code>MainActivity.java</code></p>
<pre><code>pac... | In my Android app, I have a class with the names and phone numbers of the user's contact list. I also have a spinner that lists the contacts' names. When a user selects a name from the spinner, I want to Log the contact's name and number. Here's MainActivity.java [CODE] How do I edit onItemSelected() so it Log s the se... | java|android|class|object|spinner | -1 | 2015-02-19T19:16:28.253Z | 2,015 | 2 | 19 | 3 | 1,271 | 1 | 357 | 40 | 5 | 1 | true | false | false | false | false | true | negative |
28,614,984 | How to call get fragmentManger in a fragment ANDROID | <p>I am trying to use a date and time picker in a fragment, and I am some what basing my code off of <a href="http://developer.android.com/guide/topics/ui/controls/pickers.html" rel="nofollow">this guide</a>. I access the my fragmentManager in my activity from my fragment so I can use a datepicker in my fragment like b... | I am trying to use a date and time picker in a fragment, and I am some what basing my code off of this guide . I access the my fragmentManager in my activity from my fragment so I can use a datepicker in my fragment like below: [CODE] The error that I get here is on the last line 'Cannot resolve method "show(android.ap... | java|android|android-fragments|android-5.0-lollipop|android-datepicker | 0 | 2015-02-19T19:18:12.630Z | 2,015 | 2 | 19 | 3 | 110 | 2 | 575 | 52 | 5 | 1 | true | false | false | false | false | false | zero |
28,614,988 | Android AudioGroup device loop timeout | <p>I'm trying to develop an Android Native SIP VoIP App. For the SIP session instantiation I use the example Code, provided bei Google (<a href="http://developer.android.com/guide/topics/connectivity/sip.html" rel="nofollow">http://developer.android.com/guide/topics/connectivity/sip.html</a>). In my testing environment... | I'm trying to develop an Android Native SIP VoIP App. For the SIP session instantiation I use the example Code, provided bei Google ( http://developer.android.com/guide/topics/connectivity/sip.html ). In my testing environment, I call a second phone with CSipSimple VoIP application from my own VoIP app. Making a call w... | android|speech-recognition|sip | 2 | 2015-02-19T19:18:28.220Z | 2,015 | 2 | 19 | 3 | 324 | 0 | 697 | 38 | 3 | 1 | true | true | false | false | false | false | low |
28,615,016 | Build Mobile Apps for Enterprise uses only | <p>We are going to build Mobile apps to access the data inside of firewall for our employees to use. We have the skill to build hybrid apps. We are looking for a solution to be able to authenticate users to use the apps. Below is the ideal solution.</p>
<ol>
<li>Can we upload our apps to a private app store to allow ... | We are going to build Mobile apps to access the data inside of firewall for our employees to use. We have the skill to build hybrid apps. We are looking for a solution to be able to authenticate users to use the apps. Below is the ideal solution. Can we upload our apps to a private app store to allow only our employee ... | android|ios|mobile | 0 | 2015-02-19T19:20:26.883Z | 2,015 | 2 | 19 | 3 | 51 | 1 | 636 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
28,615,094 | Google maps api v2 show all markers title always without any click | <p>I need that in my Map-application Google map markers title always will be shown without any user click. I want that this title even will not be possible hide.
Of course I searched online, and I found this: marker.showInfoWindow(); but it is not working because I have near to 30 markers and I need that all of them w... | I need that in my Map-application Google map markers title always will be shown without any user click. I want that this title even will not be possible hide. Of course I searched online, and I found this: marker.showInfoWindow(); but it is not working because I have near to 30 markers and I need that all of them will ... | java|android|google-maps|google-maps-android-api-2 | 3 | 2015-02-19T19:24:04.667Z | 2,015 | 2 | 19 | 3 | 1,782 | 0 | 677 | 66 | 4 | 1 | true | true | false | false | false | false | low |
28,615,149 | Android flashlight app, can turn light on but not off | <p>Just getting into Android programming and this is my first app. It is essentially a toggle button which turns the light on or off. The app loads fine, if I press the button it turns on fine, however if I turn it off while it is on I get "App has stopped working" message and it closes. </p>
<p>Can someone point wher... | Just getting into Android programming and this is my first app. It is essentially a toggle button which turns the light on or off. The app loads fine, if I press the button it turns on fine, however if I turn it off while it is on I get "App has stopped working" message and it closes. Can someone point where I'm going ... | android|android-studio|flashlight | 1 | 2015-02-19T19:27:06.163Z | 2,015 | 2 | 19 | 3 | 1,307 | 1 | 340 | 53 | 3 | 1 | true | false | false | false | false | false | low |
28,615,165 | Accessing Google Drive through Android | <p>I am trying to access the google drive through android app. I have turned on the <code>Drive API</code> and <code>Drive SDK</code> in Google Developer Console and generated a OAuth Client id. </p>
<p>Inserted the Client key in <code>AndroidManifest.xml</code> as</p>
<pre><code><meta-data
android:name="com.goo... | I am trying to access the google drive through android app. I have turned on the Drive API and Drive SDK in Google Developer Console and generated a OAuth Client id. Inserted the Client key in AndroidManifest.xml as [CODE] And a permission as [CODE] This is the code which I am trying to run (Originally from here ) [COD... | android|google-drive-api|google-drive-android-api | 1 | 2015-02-19T19:27:56.170Z | 2,015 | 2 | 19 | 3 | 1,793 | 2 | 463 | 38 | 3 | 4 | true | false | false | false | false | false | low |
28,615,330 | Multiple EditTexts in RecyclerView results in strange tab order | <p>Thanks in advance for any help. I have an application that uses several ListViews. I am re-writing for Lollipop release and converting all ListViews into RecyclerViews. 2 out of 3 conversions were seamless, but I have 1 ListView that has several EditTexts per ViewHolder. After I've converted it to a RecyclerView, th... | Thanks in advance for any help. I have an application that uses several ListViews. I am re-writing for Lollipop release and converting all ListViews into RecyclerViews. 2 out of 3 conversions were seamless, but I have 1 ListView that has several EditTexts per ViewHolder. After I've converted it to a RecyclerView, the '... | android|focus|android-recyclerview | 2 | 2015-02-19T19:35:32.833Z | 2,015 | 2 | 19 | 3 | 2,069 | 0 | 1,149 | 63 | 3 | 2 | true | true | false | false | false | false | low |
28,615,413 | How do I go about doing an onTouchListener that allows pressing two buttons at the same time on android | <p>What I mean is, that I want to be able to press two separate buttons at the same time and have them do things on ACTION_DOWN and UP.</p>
<p>I have multiple onTouchListeners, but the app only lets me press one at a time. I need to be able to press at least two at the same time. I assume it has to do with the program... | What I mean is, that I want to be able to press two separate buttons at the same time and have them do things on ACTION_DOWN and UP. I have multiple onTouchListeners, but the app only lets me press one at a time. I need to be able to press at least two at the same time. I assume it has to do with the program getting st... | java|android|button|multi-touch|ontouchlistener | 1 | 2015-02-19T19:39:05.410Z | 2,015 | 2 | 19 | 3 | 189 | 1 | 546 | 103 | 5 | 1 | true | false | false | false | false | false | low |
28,615,439 | Android Gradle Plugin 1.1.0 - getNdkFolder() not found anymore, any replacement? | <p>I just updated android Gradle plugin to 1.1.0 from 1.0.0, and I got this error: </p>
<blockquote>
<p>No signature of method:
com.android.build.gradle.LibraryPlugin.getNdkFolder() is applicable
for argument types: () values: []</p>
</blockquote>
<p>I tried to find diff of gradle plugin 1.0.0 to 1.1.0 but cou... | I just updated android Gradle plugin to 1.1.0 from 1.0.0, and I got this error: No signature of method: com.android.build.gradle.LibraryPlugin.getNdkFolder() is applicable for argument types: () values: [] I tried to find diff of gradle plugin 1.0.0 to 1.1.0 but couldn't find anywhere online. Seems like getNdkFolder me... | android|android-studio|android-ndk|android-gradle-plugin|android-build | 10 | 2015-02-19T19:40:45.567Z | 2,015 | 2 | 19 | 3 | 8,153 | 5 | 678 | 80 | 5 | 0 | false | false | true | false | true | false | medium |
28,615,495 | How are Gradle subtasks executed in build task "assembleDebug"? | <p>I have been learning about the Gradle system for Android recently. We know that if we put "gradle tasks --all" in the command line, Gradle will print out all the available tasks.</p>
<p>What interests me is the list of subtasks under the task "assembleDebug"(such as "bundleDebug", "... | I have been learning about the Gradle system for Android recently. We know that if we put "gradle tasks --all" in the command line, Gradle will print out all the available tasks. What interests me is the list of subtasks under the task "assembleDebug"(such as "bundleDebug", "compileDe... | android|android-studio|gradle|android-gradle-plugin | 1 | 2015-02-19T19:43:53.317Z | 2,015 | 2 | 19 | 3 | 2,430 | 2 | 664 | 63 | 4 | 0 | false | false | false | false | false | false | low |
28,615,501 | Refresh listview setvisible all checkbox | <p>EDIT: I wish show all checkbox with a longitemclick. But only get show one checkbox</p>
<p>I have a listview with my custom row.xml. Row.xml has a checkbox, imageview, textview and an imageview.</p>
<p>By default, the checkbox is visibility:GONE in the row.xml</p>
<p>In the code, I override the next method:</p>
... | EDIT: I wish show all checkbox with a longitemclick. But only get show one checkbox I have a listview with my custom row.xml. Row.xml has a checkbox, imageview, textview and an imageview. By default, the checkbox is visibility:GONE in the row.xml In the code, I override the next method: [CODE] But only get one row visi... | android|listview|checkbox | 1 | 2015-02-19T19:44:11.080Z | 2,015 | 2 | 19 | 3 | 449 | 3 | 444 | 40 | 3 | 2 | true | false | false | false | false | false | low |
28,615,503 | Automatically open/close keyboard using SearchView in Toolbar | <p>I'm having big problems opening and closing the keyboard using a searchview in my toolbar as actionbar. When I hit the searchbutton it expends as a action and the edit text appears, but it has no focus and they keyboards doesnt open. I have to manually click on the edittext to open the keyboard.
The same for closing... | I'm having big problems opening and closing the keyboard using a searchview in my toolbar as actionbar. When I hit the searchbutton it expends as a action and the edit text appears, but it has no focus and they keyboards doesnt open. I have to manually click on the edittext to open the keyboard. The same for closing th... | android|keyboard|android-actionbar|toolbar|searchview | 2 | 2015-02-19T19:44:15.140Z | 2,015 | 2 | 19 | 3 | 2,561 | 1 | 1,192 | 61 | 5 | 2 | true | false | false | false | false | false | low |
28,615,723 | 2 custom views within an activity | <p>Deal All</p>
<p>I have a game that is a customized view, canvas and onDraw etc. In the onSize changed it gets screen width and heightand there are animations etc. and is working well. Now what I wanted to do is to reduce the size of the whole view by 80% and then use the rest 20% (bottom) for displaying another vie... | Deal All I have a game that is a customized view, canvas and onDraw etc. In the onSize changed it gets screen width and heightand there are animations etc. and is working well. Now what I wanted to do is to reduce the size of the whole view by 80% and then use the rest 20% (bottom) for displaying another view. Searched... | android|canvas|view|android-custom-view | 0 | 2015-02-19T19:57:06.130Z | 2,015 | 2 | 19 | 3 | 40 | 2 | 431 | 33 | 4 | 0 | false | false | false | false | false | false | zero |
28,615,840 | Android Wear Message Api Not Working | <p>Android Wear Java I'm having some trouble finding out how to implement the Wear to Phone call using the Message Api. Can someone give me a simple working example or help me out here?
This is my code for testing...</p>
<blockquote>
<p><strong>Wear MainJava</strong></p>
</blockquote>
<pre><code>import android.app.... | Android Wear Java I'm having some trouble finding out how to implement the Wear to Phone call using the Message Api. Can someone give me a simple working example or help me out here? This is my code for testing... Wear MainJava [CODE] Wear Listener Service [CODE] and the mobile(phone) [CODE] All this code is from a tut... | java|android|wear-os | 0 | 2015-02-19T20:03:24.913Z | 2,015 | 2 | 20 | 3 | 868 | 2 | 483 | 36 | 3 | 3 | true | false | false | false | false | false | zero |
28,615,853 | Android: Can't type in an EditText | <p>I don't know why but I can't type/write on the EditText when I try to do it.
The EditText's cursor doesn't appear and the keyboard when appears is not the numeric one.
I have the following part of code:</p>
<pre><code><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http... | I don't know why but I can't type/write on the EditText when I try to do it. The EditText's cursor doesn't appear and the keyboard when appears is not the numeric one. I have the following part of code: [CODE] I tried to solve this situation with "android:cursorVisible="true" or even "android:textColor="#000000" , I al... | android|android-edittext | 14 | 2015-02-19T20:04:13.100Z | 2,015 | 2 | 20 | 3 | 22,881 | 5 | 468 | 34 | 2 | 1 | true | false | true | true | true | false | medium |
28,615,986 | AndroidStudio - Using ListView.addFooterView | <p>I want to use this method to create a "ADD String" button to my List which runs through a String Array.</p>
<p>It's just a practice exercise and I can't seem to do this.</p>
<p>My objective is to add a Item to the list, that when clicked. Will prompt the user to add another String to the list, however I can't seem... | I want to use this method to create a "ADD String" button to my List which runs through a String Array. It's just a practice exercise and I can't seem to do this. My objective is to add a Item to the list, that when clicked. Will prompt the user to add another String to the list, however I can't seem to add the footer.... | android|listview | 0 | 2015-02-19T20:11:18.177Z | 2,015 | 2 | 20 | 3 | 42 | 0 | 484 | 44 | 2 | 1 | true | true | false | false | false | false | zero |
28,616,042 | Android - Passing ParseUser object between activities | <p>in my Android app I have 3 activities for user to fill in their profile and sign up:</p>
<ul>
<li>In 1st activity RegisterActivity: user can fill in their name, address, phone number, emergency contact, etc.</li>
<li>In 2nd activity AppearanceActivity: user can fill in their ethnicity, height, weight, hair color, e... | in my Android app I have 3 activities for user to fill in their profile and sign up: In 1st activity RegisterActivity: user can fill in their name, address, phone number, emergency contact, etc. In 2nd activity AppearanceActivity: user can fill in their ethnicity, height, weight, hair color, eye color, etc. In 3rd acti... | android|parse-platform | 3 | 2015-02-19T20:14:56.633Z | 2,015 | 2 | 20 | 3 | 884 | 1 | 1,041 | 53 | 2 | 3 | true | false | false | false | false | false | low |
28,616,155 | Getting the warning : The application may be doing too much work on its main thread | <p>I am developing and Android application with a Facebook log in, and I keep having the following warning on logcat : "<strong>Choreographer﹕ Skipped xx frames! The application may be doing too much work on its main thread.</strong>". First I thought maybe I am doing too much operations on the main thread of the acti... | I am developing and Android application with a Facebook log in, and I keep having the following warning on logcat : " Choreographer﹕ Skipped xx frames! The application may be doing too much work on its main thread. ". First I thought maybe I am doing too much operations on the main thread of the activity, but then I tr... | android|multithreading|facebook|authentication | 1 | 2015-02-19T20:21:27.850Z | 2,015 | 2 | 20 | 3 | 448 | 0 | 586 | 83 | 4 | 1 | true | true | false | false | false | false | low |
28,616,160 | Array of chars vs. array of bytes | <p>I've found a few answers about this but none of them seem to apply to my issue.</p>
<p>I'm using the NDK and C++ is expecting an unsigned char array of 1024 elements, so I need to create this in java to pass it as a parameter.</p>
<p>The unsigned char array is expected to contain both numbers and characters.</p>
... | I've found a few answers about this but none of them seem to apply to my issue. I'm using the NDK and C++ is expecting an unsigned char array of 1024 elements, so I need to create this in java to pass it as a parameter. The unsigned char array is expected to contain both numbers and characters. I have tried this: [CODE... | java|c++|android-ndk | -1 | 2015-02-19T20:21:32.473Z | 2,015 | 2 | 20 | 3 | 148 | 2 | 639 | 33 | 3 | 2 | true | false | false | false | false | true | negative |
28,616,185 | Battery status in Android NDK when `/sys/class/power_supply/battery` is not readable | <p>I have an NDK app that reads battery status information from <code>/sys/class/power_supply/battery</code>. This works fine on most devices. On some devices that directory is not readable. For example, on the NVIDIA Shield:</p>
<pre><code>$ adb shell
shell@shieldtablet:/ $ ls /sys/class/power_supply/battery/
/sys/cl... | I have an NDK app that reads battery status information from /sys/class/power_supply/battery . This works fine on most devices. On some devices that directory is not readable. For example, on the NVIDIA Shield: [CODE] Is there an alternate way to obtain battery information in the NDK on these devices? The Java APIs for... | android|c++|android-ndk | 2 | 2015-02-19T20:23:08.160Z | 2,015 | 2 | 20 | 3 | 1,274 | 1 | 427 | 84 | 3 | 1 | true | false | false | false | false | false | low |
28,616,205 | Facebook Login-Logout Issue Invalid Key Hash Error, While Trying to Login Again | <p>I have a simple Facebook login-logout activity that is working successfully.</p>
<p>However, after I logout from the app I try to login again but the facebook gives invalid key hash error. </p>
<p>Note that I login and logout at first time successfully but after I logged out and try to login again Facebook gives t... | I have a simple Facebook login-logout activity that is working successfully. However, after I logout from the app I try to login again but the facebook gives invalid key hash error. Note that I login and logout at first time successfully but after I logged out and try to login again Facebook gives that error. What shou... | android|facebook-graph-api|facebook-login | 7 | 2015-02-19T20:24:30.837Z | 2,015 | 2 | 20 | 3 | 881 | 1 | 383 | 79 | 3 | 1 | true | false | false | false | false | false | medium |
28,616,243 | Make keeps using native gcc instead of Android NDK | <p>First of all, I know only basics about makefile and I'm new to Android NDK.</p>
<p>I've got x64 Linux Mint 17.1 and <a href="http://dl.google.com/androihttps://yadi.sk/d/r6dnof69enipod/ndk/android-ndk-r8e-linux-x86_64.tar.bz2" rel="nofollow">Android NDK r8e</a>, and I'm trying to build <a href="https://github.com/g... | First of all, I know only basics about makefile and I'm new to Android NDK. I've got x64 Linux Mint 17.1 and Android NDK r8e , and I'm trying to build NetHack for Android . As stated in README , basic idea is to modify makefile with local Android NDK path: [CODE] But I keep getting this error: cc -m32 -o makedefs maked... | linux|gcc|android-ndk|makefile | 0 | 2015-02-19T20:28:16.590Z | 2,015 | 2 | 20 | 3 | 600 | 1 | 1,013 | 50 | 4 | 2 | true | false | false | false | false | false | zero |
28,616,263 | Save daily scores with Google Play Game Services | <p>I want to save users' last 2 weeks scores daily, then using them in my app, so others can see user's daily scores (for last 2 weeks). Is it possible to make it with Google Play Game Services ?</p> | I want to save users' last 2 weeks scores daily, then using them in my app, so others can see user's daily scores (for last 2 weeks). Is it possible to make it with Google Play Game Services ? | android|google-play-services|google-play-games | 0 | 2015-02-19T20:29:16.657Z | 2,015 | 2 | 20 | 3 | 150 | 1 | 192 | 48 | 3 | 0 | false | false | false | false | false | false | zero |
28,616,279 | Texcolor of Textview not being applied | <p>How is everything?</p>
<p>So, as the question says, i have two textviews in my fragment that has this layout:</p>
<pre><code><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="match_... | How is everything? So, as the question says, i have two textviews in my fragment that has this layout: [CODE] When i load the app on my device (Nexus 5), it doesn't show the color i specified, in other hand, it shows the primaryWord with black border and white color, and the secondaryWord with white border and black co... | java|android|android-layout|android-fragments|colors | 0 | 2015-02-19T20:30:27.643Z | 2,015 | 2 | 20 | 3 | 43 | 2 | 442 | 38 | 5 | 3 | true | false | false | false | false | false | zero |
28,616,395 | Cursor from db.rawQuery SELECT SUM returns null: how to catch? | <p>I'm running the following query,</p>
<pre><code>Cursor c = db.rawQuery("SELECT SUM(surveycount) FROM surveyDB WHERE species = " + "'" + szSpecies + "' AND location = " + "'" + szLocation + "'", null);
</code></pre>
<p>With the database column "surveycount" declared as an INT when the table is created. The below c... | I'm running the following query, [CODE] With the database column "surveycount" declared as an INT when the table is created. The below code works fine except when no records are returned that have the target string values for szSpecies and szLocation at which point szSum is shown as null. [CODE] How can I catch this er... | android|mysql | 0 | 2015-02-19T20:36:58.693Z | 2,015 | 2 | 20 | 3 | 1,036 | 2 | 339 | 62 | 2 | 2 | true | false | false | false | false | false | zero |
28,616,430 | SlidingUpPanelLayout won't collapse on resume after OS kill my activity | <p>I am using the latest version (3.0) of the SlidingUpPanelLayout library. Periodically the Android OS would kill my Activity if it's running in the background (exit by pressing Home instead of Back). If that happens, and the panel was expanded when the user last used the app, then the panel would still be expanded ... | I am using the latest version (3.0) of the SlidingUpPanelLayout library. Periodically the Android OS would kill my Activity if it's running in the background (exit by pressing Home instead of Back). If that happens, and the panel was expanded when the user last used the app, then the panel would still be expanded when ... | android|android-layout|android-activity | 6 | 2015-02-19T20:39:36.763Z | 2,015 | 2 | 20 | 3 | 662 | 1 | 1,006 | 71 | 3 | 2 | true | false | false | false | false | false | medium |
28,616,501 | startActivity(intent) is not opening activity | <p>I'm making an android app with 2 activities and a Java class that reads/writes RFID data using NFC. </p>
<p>I'm using the <code>enableReaderMode()</code> method to enable reader/writer mode in the <code>mainActivity</code>, which then calls <code>onTagDiscovered</code> in a separate java class. Once in the <code>on... | I'm making an android app with 2 activities and a Java class that reads/writes RFID data using NFC. I'm using the enableReaderMode() method to enable reader/writer mode in the mainActivity , which then calls onTagDiscovered in a separate java class. Once in the onTagDiscovered method, I'm calling mainActivity.startNewA... | java|android|android-intent|android-activity|start-activity | 2 | 2015-02-19T20:43:33.313Z | 2,015 | 2 | 20 | 3 | 8,480 | 2 | 1,172 | 45 | 5 | 6 | true | false | true | false | false | false | low |
28,616,515 | Can't save a photo to external storage using getFilesDir() | <p>I'm trying to save a photo to external storage and display it in a ImageView, but I don't want other apps can access this photo. I try to create a new <code>File</code> with the method <code>getFilesDir()</code> as the directory argument when I want to create that file, but if I ask if I can write to it (to save the... | I'm trying to save a photo to external storage and display it in a ImageView, but I don't want other apps can access this photo. I try to create a new File with the method getFilesDir() as the directory argument when I want to create that file, but if I ask if I can write to it (to save the image), it return that I can... | android|photos | 0 | 2015-02-19T20:44:29.040Z | 2,015 | 2 | 20 | 3 | 572 | 1 | 700 | 58 | 2 | 1 | true | false | false | false | false | false | zero |
28,616,578 | inflate android.support.v4.widget.CircleImageView inflateException | <p>I started migrating my app to material design so I changed one of my ImageViews to android.support.v4.widget.CircleImageView and the app crashes the fact is that it can't inflate it but if I use the same as CircleImageView from android v21 on a lollipop device works perfectly with the same attributtes.</p>
<p>so to... | I started migrating my app to material design so I changed one of my ImageViews to android.support.v4.widget.CircleImageView and the app crashes the fact is that it can't inflate it but if I use the same as CircleImageView from android v21 on a lollipop device works perfectly with the same attributtes. so to test it al... | android|android-support-library | 3 | 2015-02-19T20:48:09.327Z | 2,015 | 2 | 20 | 3 | 10,240 | 3 | 591 | 66 | 2 | 1 | true | false | true | false | false | false | low |
28,616,588 | How to use deprecated ActionBarDrawerToggle | <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>this.navDrawerToggle = new ActionBarDrawerToggle(this,this.getApplicationContext(), this.navDrawerLayout,R.drawable.ic_drawer, R.st... | [CODE] I'm new to android i i'm making an app in which i was using Navigation Drawer i was following a tutorial but then in the end i stuck on ActionBarDrawerToggle() which i think is now deprecated and that tutorial was made earlier please can anyone tell me how to use deprecated ActionBarDrawerToggle or any other way... | android | 0 | 2015-02-19T20:48:30.130Z | 2,015 | 2 | 20 | 3 | 865 | 2 | 628 | 43 | 1 | 1 | true | false | false | false | false | false | zero |
28,616,660 | admob interstitial ad shows after minute it should | <p>I'm making a 2D game in Unity3D. When a main character dies, a menu with "restart" ( which is Application.LoadLevel("thisLevel")) and "go to main menu" options appears. But I need interstitial ad to appear before menu (Character dies => ad appears). I did it. But here is the problem: Character dies, interstitial ad ... | I'm making a 2D game in Unity3D. When a main character dies, a menu with "restart" ( which is Application.LoadLevel("thisLevel")) and "go to main menu" options appears. But I need interstitial ad to appear before menu (Character dies => ad appears). I did it. But here is the problem: Character dies, interstitial ad app... | android|unity3d|admob|interstitial|ads | 0 | 2015-02-19T20:52:05.367Z | 2,015 | 2 | 20 | 3 | 1,688 | 2 | 783 | 50 | 5 | 2 | true | false | false | false | false | false | zero |
28,616,744 | cut off text if it doesn't fit in the Textview widget in Android? | <p>I have a <code>TextView</code> and let's say for example I set it's width to 100dp. If the text value is too long, it automatically tries to make a new line.</p>
<p>I DON'T want to do that. I want to just show "..." at the end of the text so the user know there is more to this text. When the user clicks on it, t... | I have a TextView and let's say for example I set it's width to 100dp. If the text value is too long, it automatically tries to make a new line. I DON'T want to do that. I want to just show "..." at the end of the text so the user know there is more to this text. When the user clicks on it, they will be able to all the... | c#|android|xamarin | 3 | 2015-02-19T20:58:22.610Z | 2,015 | 2 | 20 | 3 | 1,275 | 2 | 459 | 65 | 3 | 0 | false | false | false | false | false | false | low |
28,616,806 | Having trouble with starting a new fragment, app is built using ViewPager Swipe template | <p>I have an activity that holds a ViewPager, set up as the template Swipe ViewPager. I have attached two fragments to that ViewPager via an adapter. I am now trying to open a new fragment but I am having great trouble getting it to work. I don't fully understand this idea of changing fragments with FragmentTransaction... | I have an activity that holds a ViewPager, set up as the template Swipe ViewPager. I have attached two fragments to that ViewPager via an adapter. I am now trying to open a new fragment but I am having great trouble getting it to work. I don't fully understand this idea of changing fragments with FragmentTransaction (I... | android|fragment|viewpage | 0 | 2015-02-19T21:01:59.657Z | 2,015 | 2 | 21 | 3 | 59 | 1 | 750 | 88 | 3 | 3 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.