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,589,856 | Android custom class extending ParsePushBroadcastReceiver notification | <p>I am trying to work with Parse by extending the ParsePushBroadcastReceiver class to handle my push notifications. The problem I'm having is that the notification doesn't show up when I do a test push from the Parse dashboard. But I know I'm receiving the push because on my <code>onReceive</code> function, I log the ... | I am trying to work with Parse by extending the ParsePushBroadcastReceiver class to handle my push notifications. The problem I'm having is that the notification doesn't show up when I do a test push from the Parse dashboard. But I know I'm receiving the push because on my onReceive function, I log the message and it s... | android|parse-platform|push | 1 | 2015-02-18T17:23:49.233Z | 2,015 | 2 | 17 | 2 | 2,501 | 2 | 1,003 | 70 | 3 | 3 | true | false | false | false | false | false | low |
28,589,898 | Adding an image as the background of a shape | <p>I have this XML file with a background that has a gradient, round corners and a border:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<corners android:radius="14dp" />
<gradient
... | I have this XML file with a background that has a gradient, round corners and a border: [CODE] and it looks like this: What I want to know is how can I make the background an image from my /drawable folder? Instead of the current gradient? I need to keep the border and the round corners. Thanks. | java|android|xml|shapes | 0 | 2015-02-18T17:25:51.700Z | 2,015 | 2 | 17 | 2 | 75 | 0 | 296 | 44 | 4 | 1 | true | true | false | false | false | false | zero |
28,589,900 | How use an external sqlite database in android application | <p>I want to use my <strong>companies.db</strong> sqlite database in my android app. I copied it in "assets" folder of android project. and use DatabaseHelper class as seen below:</p>
<pre><code>public class DatabaseHelper extends SQLiteOpenHelper {
String DB_PATH = null;
public static String DB_NAME = "companies";
pr... | I want to use my companies.db sqlite database in my android app. I copied it in "assets" folder of android project. and use DatabaseHelper class as seen below: [CODE] and I use below code in an activity that I want database information: [CODE] but when I run the application I got some exception: [CODE] companies_fa is ... | android|sqlite|android-sqlite | 3 | 2015-02-18T17:25:55.680Z | 2,015 | 2 | 17 | 2 | 12,188 | 4 | 432 | 58 | 3 | 3 | true | false | true | true | false | false | low |
28,589,933 | Google deep link launches play store instead of app | <p>Am creating a deep link which can be in either ways :
1) domain://home/activityname
2) domain://view/activityname</p>
<p><strong>Working :</strong> deeplink#1 works fine which opens the app with the given activityname</p>
<p><strong>Not Working :</strong> deeplink#2 opens the app in the google play store with ope... | Am creating a deep link which can be in either ways : 1) domain://home/activityname 2) domain://view/activityname Working : deeplink#1 works fine which opens the app with the given activityname Not Working : deeplink#2 opens the app in the google play store with open and uninstall. When I click on open, app opens with ... | android|android-activity|view|google-play|deep-linking | 0 | 2015-02-18T17:27:26.180Z | 2,015 | 2 | 17 | 2 | 773 | 1 | 525 | 51 | 5 | 0 | false | false | false | false | false | false | zero |
28,590,036 | Eclipse says a TableRow is useless but I can't find a better way | <p>I'm working on an Android app, and I'm wondering whether I can do something differently and/or better in order to avoid warnings from Eclipse. For clarity, I'll include the XML layout in its entirety:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.andro... | I'm working on an Android app, and I'm wondering whether I can do something differently and/or better in order to avoid warnings from Eclipse. For clarity, I'll include the XML layout in its entirety: [CODE] The problem is with the TableLayout and TableRow elements. Eclipse is showing the following warning for the Tabl... | android|eclipse|android-layout | 0 | 2015-02-18T17:32:13.833Z | 2,015 | 2 | 17 | 2 | 150 | 1 | 924 | 64 | 3 | 1 | true | false | false | false | false | false | zero |
28,590,049 | How I can change my size font for entire application? | <p>In my application I have menu that has one item called" font size"
I want to give user right to choose the suitable size for whole application.
for example 3 sizes . small , medium , large.
and when user choose one of these size the whole application must change to the new size.
I search a lot , but is there any sam... | In my application I have menu that has one item called" font size" I want to give user right to choose the suitable size for whole application. for example 3 sizes . small , medium , large. and when user choose one of these size the whole application must change to the new size. I search a lot , but is there any sample... | java|android | 1 | 2015-02-18T17:32:56.693Z | 2,015 | 2 | 17 | 2 | 307 | 0 | 573 | 53 | 2 | 3 | true | true | false | false | false | false | low |
28,590,170 | Keyboard shifted after adding AndEngine | <p>I recently added AndEngine to my android studio project. And strangely all the symbols changed places (like { and } are now another keys). I dont understand what happened but is bothering not being able to find the = symbol!
Outside android its normal, so what is the problem?</p> | I recently added AndEngine to my android studio project. And strangely all the symbols changed places (like { and } are now another keys). I dont understand what happened but is bothering not being able to find the = symbol! Outside android its normal, so what is the problem? | android|andengine | 0 | 2015-02-18T17:38:38.467Z | 2,015 | 2 | 17 | 2 | 47 | 0 | 276 | 39 | 2 | 0 | false | true | false | false | false | false | zero |
28,590,298 | Android custom layout for search widget | <p>I want to have a search field in my actionbar in my Android app. I can do it without difficulty with default design. but I want to have the attached image design for my search bar. Is there any way to have a custom design for my search field?<br/>
I want to to be like the left image and when clicked , turn into the ... | I want to have a search field in my actionbar in my Android app. I can do it without difficulty with default design. but I want to have the attached image design for my search bar. Is there any way to have a custom design for my search field? I want to to be like the left image and when clicked , turn into the right im... | android|search|android-actionbar | 1 | 2015-02-18T17:46:00.180Z | 2,015 | 2 | 17 | 2 | 1,389 | 1 | 365 | 39 | 3 | 0 | false | false | false | false | false | false | low |
28,590,328 | How can I prevent calabash-android from pushing the apk for every feature file? | <p>When I run calabash-android, it appears to push the apk to the device for every feature file. I would prefer to push the apk once and reuse it, as each push takes about half a second, and I expect eventually to have enough feature files for this to matter. I'd be happy with a solution which doesn't push the apk at... | When I run calabash-android, it appears to push the apk to the device for every feature file. I would prefer to push the apk once and reuse it, as each push takes about half a second, and I expect eventually to have enough feature files for this to matter. I'd be happy with a solution which doesn't push the apk at all ... | calabash-android | 1 | 2015-02-18T17:47:12.773Z | 2,015 | 2 | 17 | 2 | 251 | 1 | 361 | 79 | 1 | 0 | false | false | false | false | false | false | low |
28,590,366 | IOException java.net.ConnectException: failed to connect to /127.0.0.1(port 5000):connect failed:ECONNREFUSED(Connection Refused) | <p>Trying to do android socket programming based on this tutorial
<a href="http://examples.javacodegeeks.com/android/core/socket-core/android-socket-example/" rel="nofollow">http://examples.javacodegeeks.com/android/core/socket-core/android-socket-example/</a></p>
<p>I have my firewall turned off and anti virus disab... | Trying to do android socket programming based on this tutorial http://examples.javacodegeeks.com/android/core/socket-core/android-socket-example/ I have my firewall turned off and anti virus disabled. If I make my server address to 127.0.0.1 I get the error in the title. If I make it my local IP address,it just sits at... | java|android|sockets | 3 | 2015-02-18T17:48:49.763Z | 2,015 | 2 | 17 | 2 | 7,384 | 1 | 459 | 129 | 3 | 2 | true | false | true | false | false | false | low |
28,590,396 | Calling an Activity from Non-Activity class | <p>I've run into this problem where I'm running a background process from a non-activity class. I have an activity in the foreground. I wanted to refresh the activity, i.e., call MainActivity.java such that it opens up and doesn't duplicate the application running (Which were causing errors). </p>
<p>To be even mor... | I've run into this problem where I'm running a background process from a non-activity class. I have an activity in the foreground. I wanted to refresh the activity, i.e., call MainActivity.java such that it opens up and doesn't duplicate the application running (Which were causing errors). To be even more specific, I'm... | android|adapter|sync | 1 | 2015-02-18T17:50:04.177Z | 2,015 | 2 | 17 | 2 | 205 | 2 | 1,121 | 43 | 3 | 1 | true | false | false | false | false | false | low |
28,590,401 | Options for packing/unpacking several strings for transmission via a byte[] parameter | <p>I've got several strings I want to send to a wearable app via the MessageApi.sendMessage method, which just takes a byte[] parameter to carry the payload.</p>
<p>I could concatenate all the strings together and introduce some arbitrary separating character sequence then convert the result to bytes and do the revers... | I've got several strings I want to send to a wearable app via the MessageApi.sendMessage method, which just takes a byte[] parameter to carry the payload. I could concatenate all the strings together and introduce some arbitrary separating character sequence then convert the result to bytes and do the reverse to unpack... | android | 0 | 2015-02-18T17:50:20.093Z | 2,015 | 2 | 17 | 2 | 20 | 1 | 429 | 85 | 1 | 0 | false | false | false | false | false | false | zero |
28,590,413 | ?attr/selectableItemBackground with state_selected | <p>I'm trying to use <code>?attr/selectableItemBackground</code> to set clicks, focus, selection, activation etc. to a list item view in my <code>RecyclerView</code>. After some digging I found out that <code>selectableItemBackground</code> doesn't provide selection states. Is there another theme attribute I can use(w... | I'm trying to use ?attr/selectableItemBackground to set clicks, focus, selection, activation etc. to a list item view in my RecyclerView . After some digging I found out that selectableItemBackground doesn't provide selection states. Is there another theme attribute I can use(with ripples and all for L)? | android|android-5.0-lollipop|android-recyclerview | 3 | 2015-02-18T17:50:53.337Z | 2,015 | 2 | 17 | 2 | 291 | 0 | 305 | 50 | 3 | 0 | false | true | false | false | false | false | low |
28,590,450 | Android studio : Creating a normal xml file in assests folder? | <p>I've been trying to create a normal XML file in Android studio for manual RSS feed but android studio not letting me to create it. I just started using Android studio & migrated from eclipse. </p>
<p>Here's the options for <code>File</code>-><code>New</code></p>
<p><img src="https://i.stack.imgur.com/5Vnxk.png... | I've been trying to create a normal XML file in Android studio for manual RSS feed but android studio not letting me to create it. I just started using Android studio & migrated from eclipse. Here's the options for File -> New | android|xml|android-studio | 1 | 2015-02-18T17:53:06.790Z | 2,015 | 2 | 17 | 2 | 13,566 | 1 | 226 | 62 | 3 | 0 | false | false | true | true | false | false | low |
28,590,483 | scrollable layout not working | <p>I'm a beginner in android. I'm creating a example phonebook using eclipse. i have few edit texts and a set off buttons in my layout.but when I run the project I can't see the buttons in the bottom of the layout, so I enclosed my main linear layout in a Scrollview. but after linear layout has become much bigger in he... | I'm a beginner in android. I'm creating a example phonebook using eclipse. i have few edit texts and a set off buttons in my layout.but when I run the project I can't see the buttons in the bottom of the layout, so I enclosed my main linear layout in a Scrollview. but after linear layout has become much bigger in heigh... | android|eclipse|android-layout | 1 | 2015-02-18T17:54:38.377Z | 2,015 | 2 | 17 | 2 | 73 | 3 | 542 | 29 | 3 | 1 | true | false | false | false | false | false | low |
28,590,720 | 1920x1080 Nexus 5 Emulator isn't 1920x1080 | <p>The head states everything.</p>
<p>When i start the emulator and render a 2D sprite/texture/image whatever you want with the dimensions similar to the emulator(1920x1080) i get following result:</p>
<p><img src="https://i.stack.imgur.com/QTirV.png" alt="enter image description here"></p>
<p>As you can see, a piec... | The head states everything. When i start the emulator and render a 2D sprite/texture/image whatever you want with the dimensions similar to the emulator(1920x1080) i get following result: As you can see, a piece of the texture has been cutting off at the right side. If you take a closer look at the buttom right part of... | android|libgdx | 0 | 2015-02-18T18:07:18.780Z | 2,015 | 2 | 18 | 2 | 84 | 0 | 843 | 42 | 2 | 1 | true | true | false | false | false | false | zero |
28,590,763 | working on an Android Game, stuck at In app purchase programming | <p>I am working on an Android Game. I got stuck at In app purchase programming.
I have decided to use Soomla Unity IAP plugin.
I tried their sample program of muffins, that worked well.
But I did not get idea how would I know if some one purchased coins(Or any good) from my game.
I have seen some videos on youtube, I... | I am working on an Android Game. I got stuck at In app purchase programming. I have decided to use Soomla Unity IAP plugin. I tried their sample program of muffins, that worked well. But I did not get idea how would I know if some one purchased coins(Or any good) from my game. I have seen some videos on youtube, I have... | android|plugins|unity3d|in-app-purchase|soomla | 0 | 2015-02-18T18:09:10.303Z | 2,015 | 2 | 18 | 2 | 494 | 1 | 484 | 64 | 5 | 0 | false | false | false | false | false | false | zero |
28,590,782 | Android ExoPlayer onProgressChanged | <p>How can I monitor progress changes on <code>ExoPlayer</code>?<br>
I tried to implement a hidden <code>MediaController</code> and overriding <code>setOnSeekBarChangeListener</code> methods, but for now without success. I'm wondering if there is another way to listen to the <code>ExoPlayer</code> progress.</p> | How can I monitor progress changes on ExoPlayer ? I tried to implement a hidden MediaController and overriding setOnSeekBarChangeListener methods, but for now without success. I'm wondering if there is another way to listen to the ExoPlayer progress. | android|listener|progress|exoplayer | 47 | 2015-02-18T18:10:00.380Z | 2,015 | 2 | 18 | 2 | 49,153 | 15 | 250 | 35 | 4 | 0 | false | false | true | true | true | false | high |
28,590,787 | Android tutorial issues | <p>I've been working through an Android Application tutorial on the developer android site for quite a while, but I can't get it to work perfectly for the life of me. My DisplayMessageActivity.java is filled with errors (i.e. getting undefined methods and unresolved types) Here are my files...</p>
<p>MainActivity.java... | I've been working through an Android Application tutorial on the developer android site for quite a while, but I can't get it to work perfectly for the life of me. My DisplayMessageActivity.java is filled with errors (i.e. getting undefined methods and unresolved types) Here are my files... MainActivity.java [CODE] Dis... | java|android|eclipse | 0 | 2015-02-18T18:10:07.917Z | 2,015 | 2 | 18 | 2 | 332 | 2 | 821 | 23 | 3 | 4 | true | false | false | false | false | false | zero |
28,590,815 | Cmnd F to Search on Page In Android Studio | <p>What I REALLY miss in Android Studio is the ability to search within a page without accessing the menu item "Edit/Find/Find" I simply want to use keys cmnd and f like I do in all other programs. I was able to add it through my Mac preferences and now the key sequence shows next to the find, but it still does not wo... | What I REALLY miss in Android Studio is the ability to search within a page without accessing the menu item "Edit/Find/Find" I simply want to use keys cmnd and f like I do in all other programs. I was able to add it through my Mac preferences and now the key sequence shows next to the find, but it still does not work. ... | android-studio|find | 0 | 2015-02-18T18:11:25.493Z | 2,015 | 2 | 18 | 2 | 41 | 0 | 414 | 42 | 2 | 0 | false | true | false | false | false | false | zero |
28,590,831 | Android permission denied when reading /proc/self/exe from non-main thread | <p>I'm trying to get the canonical path of /proc/self/exe. When I do this on the Main Thread it works, when I do this on an different thread it crashes with an IOException: "Permission denied":</p>
<pre><code> DBG E Thread: main
E Path: /system/bin/app_process32
... | I'm trying to get the canonical path of /proc/self/exe. When I do this on the Main Thread it works, when I do this on an different thread it crashes with an IOException: "Permission denied": [CODE] Code: [CODE] This error only happens when debuggable is configured to false in the build.gradle file Code to try it out: h... | java|android|linux|system | 5 | 2015-02-18T18:12:11.713Z | 2,015 | 2 | 18 | 2 | 4,363 | 2 | 476 | 74 | 4 | 2 | true | false | true | false | false | false | low |
28,590,905 | How make the same Android application but with different icon e colors in a clean way | <p>I have this needs.</p>
<p>I have developed an app and I want to duplicate it. I can copy and paste the project but if I do this 10 times can be a problem. The problem is, if I found a bug in the 10th duplicate, I have to review all other projects and I don't want to do this.</p>
<p>There is a clean way to solve th... | I have this needs. I have developed an app and I want to duplicate it. I can copy and paste the project but if I do this 10 times can be a problem. The problem is, if I found a bug in the 10th duplicate, I have to review all other projects and I don't want to do this. There is a clean way to solve this problem? | android|architecture|duplicates|project | 2 | 2015-02-18T18:16:00.843Z | 2,015 | 2 | 18 | 2 | 102 | 1 | 312 | 85 | 4 | 0 | false | false | false | false | false | false | low |
28,590,919 | Can i connect multiple phone via WiFi in android | <p>I need to connect multiple phones to each other using wifi, without there being any internet though.</p>
<p>So i was thinking if this can be done by turning on the hotspot on one phone and allow the others to connect to it, can this be done ?</p>
<p>Or is there any other way to connect multiple phones via wifi ?</... | I need to connect multiple phones to each other using wifi, without there being any internet though. So i was thinking if this can be done by turning on the hotspot on one phone and allow the others to connect to it, can this be done ? Or is there any other way to connect multiple phones via wifi ? Any help is apprecia... | android|wifi|connect | 0 | 2015-02-18T18:16:38.657Z | 2,015 | 2 | 18 | 2 | 1,021 | 1 | 331 | 48 | 3 | 0 | false | false | false | false | false | false | zero |
28,590,939 | Android studio - coloring the current execution code | <p>When debugging, it is hard to know where the execution point is so I went to file -> settings -> editor -> colors and fonts -> debugger and in execution point I set my own colors but it seems to have no effect. How can I make the current execution code line much more noticeable?</p>
<p>One small question: How can I... | When debugging, it is hard to know where the execution point is so I went to file -> settings -> editor -> colors and fonts -> debugger and in execution point I set my own colors but it seems to have no effect. How can I make the current execution code line much more noticeable? One small question: How can I export the... | android|debugging|android-studio | 3 | 2015-02-18T18:17:44.590Z | 2,015 | 2 | 18 | 2 | 577 | 1 | 386 | 52 | 3 | 0 | false | false | false | false | false | false | low |
28,591,012 | Youtube API permission 403 Forbidden error | <p>I'm following the tutorial on <a href="http://code.tutsplus.com/tutorials/create-a-youtube-client-on-android--cms-22858">this</a> page but I keep getting a 403 Forbidden error when I run the app and try to do a search.</p>
<p>I enabled Youtube Data API v3 on the <a href="https://console.developers.google.com/">http... | I'm following the tutorial on this page but I keep getting a 403 Forbidden error when I run the app and try to do a search. I enabled Youtube Data API v3 on the https://console.developers.google.com/ page and I created an Android API key. Any suggestions? Thank you. [CODE] | android|json|youtube|youtube-api | 21 | 2015-02-18T18:21:58.393Z | 2,015 | 2 | 18 | 2 | 13,548 | 5 | 273 | 42 | 4 | 1 | true | false | true | true | true | false | high |
28,591,026 | Eclipse Android Emulator | <p>Recently I tried to learn Android programming. I installed Eclipse, Android SDK, almost 10 GB of data with SDK Manager. I create new project and AVD. When I run the code, all I see on the console is this :</p>
<pre><code>[2015-02-18 20:16:27 - Hey] ------------------------------
[2015-02-18 20:16:27 - Hey] Android ... | Recently I tried to learn Android programming. I installed Eclipse, Android SDK, almost 10 GB of data with SDK Manager. I create new project and AVD. When I run the code, all I see on the console is this : [CODE] And all I see is emulator with android logo. I waited almost half an hour, I tried almost every method on i... | android|eclipse | 0 | 2015-02-18T18:22:29.170Z | 2,015 | 2 | 18 | 2 | 277 | 3 | 612 | 24 | 2 | 1 | true | false | false | false | false | false | zero |
28,591,060 | Need to go to a fragment in my mainActivity from a Home Screen Widget? | <p>Need to go to a <code>Fragment</code> in my <code>MainActivity</code> from a home screen <code>Widget</code>. In my <code>MainActivity</code> The first view is a <code>ListView</code> in a <code>Fragment</code>, there is an add button to enter in some data and this add button opens a <code>Fragment</code> that has s... | Need to go to a Fragment in my MainActivity from a home screen Widget . In my MainActivity The first view is a ListView in a Fragment , there is an add button to enter in some data and this add button opens a Fragment that has some EditText in it and on save it adds the entered data into the ListView back in the main F... | java|android|listview|android-fragments | 0 | 2015-02-18T18:24:04.127Z | 2,015 | 2 | 18 | 2 | 175 | 1 | 674 | 70 | 4 | 1 | true | false | false | false | false | false | zero |
28,591,068 | Mobile Ad Service: Choosing specific ads | <p>I have created a popular mobile app. It is only useful in the local area. Therefore I would like to get custom ads from local businesses in an attempt to get more $$ per click rather than just showing any ad. </p>
<p>I was wondering if there are any mobile ad services that would allow this?</p>
<p>If not, any sugg... | I have created a popular mobile app. It is only useful in the local area. Therefore I would like to get custom ads from local businesses in an attempt to get more $$ per click rather than just showing any ad. I was wondering if there are any mobile ad services that would allow this? If not, any suggestions? | android|ios|mobile|service|ads | 0 | 2015-02-18T18:24:43.680Z | 2,015 | 2 | 18 | 2 | 101 | 2 | 308 | 40 | 5 | 0 | false | false | false | false | false | false | zero |
28,591,183 | Calling Main Activity using Implicit Intents (specifying action and category) | <p>I'm trying to call main activity using implicit intents. I give both action and category in intent but before starting the activity android system gives me a list of applications to select from for opening the activity.</p>
<p>Code snippet I am using to call the main activity follows: </p>
<pre><code>protected vo... | I'm trying to call main activity using implicit intents. I give both action and category in intent but before starting the activity android system gives me a list of applications to select from for opening the activity. Code snippet I am using to call the main activity follows: [CODE] It seems to me that every app in s... | android|android-intent|android-implicit-intent | 0 | 2015-02-18T18:31:02.163Z | 2,015 | 2 | 18 | 2 | 642 | 1 | 506 | 77 | 3 | 1 | true | false | false | false | false | false | zero |
28,591,206 | Android - access clipboard from non-UI thread | <p>I have an Android application which starts a background service (running in its own process) when a button is clicked. This service connects to a remote machine whose IP is specified in the UI.</p>
<p>This service starts a thread which creates the connection. If the connection is successful, two more threads are st... | I have an Android application which starts a background service (running in its own process) when a button is clicked. This service connects to a remote machine whose IP is specified in the UI. This service starts a thread which creates the connection. If the connection is successful, two more threads are started (one ... | android|multithreading|service | 0 | 2015-02-18T18:31:59.043Z | 2,015 | 2 | 18 | 2 | 630 | 1 | 839 | 45 | 3 | 1 | true | false | false | false | false | false | zero |
28,591,303 | Android apk expansion without .zip files | <p>I'm trying to implement the sample project that google provided for apk expansioning. There is an external library for zip files but I only required the simple one without the compressing. But the sample project without zip has an implementation like:</p>
<ul>
<li>Check if file exist</li>
<li>If file exist, validat... | I'm trying to implement the sample project that google provided for apk expansioning. There is an external library for zip files but I only required the simple one without the compressing. But the sample project without zip has an implementation like: Check if file exist If file exist, validate the file If not, downloa... | android|apk-expansion-files | 0 | 2015-02-18T18:37:04.237Z | 2,015 | 2 | 18 | 2 | 169 | 0 | 1,445 | 40 | 2 | 0 | false | true | false | false | false | false | zero |
28,591,311 | listView don't update | <p>I have a problem, please help. I want <code>ListView</code> to update (refresh) each time I click on the radio button. Any useful help will be welcomed.</p>
<pre><code>public class thirdActivity extends Activity {
SQLiteDatabase db;
String date, gorivo, kolicina, cijena, litra, ID, gor;
Integer index=0;
RadioBu... | I have a problem, please help. I want ListView to update (refresh) each time I click on the radio button. Any useful help will be welcomed. [CODE] } If I click radio 1 I want ListView to show data from SQLite for vozilo1 , rado2 for vozilo2 , etc. | android|listview|refresh|adapter | -1 | 2015-02-18T18:37:35.157Z | 2,015 | 2 | 18 | 2 | 64 | 1 | 247 | 21 | 4 | 1 | true | false | false | false | false | true | negative |
28,591,367 | Different width of layout inside RecyclerView and normal LinearLayout | <p>I have a card view class which looks like:</p>
<pre><code>public class CardTest extends LinearLayout {
public CardTest(Context context) {
super(context);
LayoutInflater.from(getContext()).inflate(R.layout.card_main, this);
}
}
</code></pre>
<p>the card_main.xml is like:</p>
<pr... | I have a card view class which looks like: [CODE] the card_main.xml is like: [CODE] then if I do in my Fragment [CODE] I would see this result(actually, as I expect): but if I now using a RecyclerView with this code [CODE] I would have this as result Why are horzontal sizes of my card view different? Could it be someth... | android|view|android-recyclerview|android-cardview | 3 | 2015-02-18T18:40:30.623Z | 2,015 | 2 | 18 | 2 | 6,282 | 1 | 337 | 69 | 4 | 4 | true | false | true | false | false | false | low |
28,591,371 | how to select between multiple, activity animations based on button click in android | <p>I have a main activity in which I have 2 buttons. When I press button 1, I want the main activity to come from left to right and when I press the other, I want the activity to come from right to left. I have already created the animation button but can't find a way to change animation with button click.</p> | I have a main activity in which I have 2 buttons. When I press button 1, I want the main activity to come from left to right and when I press the other, I want the activity to come from right to left. I have already created the animation button but can't find a way to change animation with button click. | android|android-activity|android-animation | 1 | 2015-02-18T18:40:40.033Z | 2,015 | 2 | 18 | 2 | 91 | 1 | 304 | 84 | 3 | 0 | false | false | false | false | false | false | low |
28,591,405 | How to create a crop layer for a moveable image | <p>What I am trying to achieve is the screenshot below:</p>
<p><img src="https://s4.postimg.org/57d6ouci5/desired_layout.jpg" alt="desired layout"></p>
<p>It has the following:</p>
<ol>
<li>Background layer (in this case, red but ideally could support any image such as a pattern)</li>
<li>Rotated picture in the midd... | What I am trying to achieve is the screenshot below: It has the following: Background layer (in this case, red but ideally could support any image such as a pattern) Rotated picture in the middle Rotated black frame around the picture (ideally could support any 9 patch background) Semi-transparent layer around the blac... | android|android-layout|android-imageview | 1 | 2015-02-18T18:42:59.133Z | 2,015 | 2 | 18 | 2 | 874 | 1 | 832 | 47 | 3 | 0 | false | false | false | false | false | false | low |
28,591,445 | Android is blacklisting our location | <p>We have created a LocationListener in our application. Sometimes, the phone will go into a "GPS Gap" and simply stop reporting location data. We have watched for a while and the only thing that seems to move it from this state is rebooting the phone.</p>
<p>I hooked them up to get the logs off and found this:</p>
... | We have created a LocationListener in our application. Sometimes, the phone will go into a "GPS Gap" and simply stop reporting location data. We have watched for a while and the only thing that seems to move it from this state is rebooting the phone. I hooked them up to get the logs off and found this: [CODE] Looking a... | android|gps | 9 | 2015-02-18T18:45:44.477Z | 2,015 | 2 | 18 | 2 | 785 | 2 | 648 | 36 | 2 | 1 | true | false | false | false | false | false | medium |
28,591,447 | Style appcompat-v7 Toolbar menu background | <p>I'm trying to styling my appcompat-v7 toolbar to have a different background color for my overflow menu.
I tried to use the themes for my app and styles for my toolbar, but I was not able to achieve it. </p>
<p>This is my toolbar:</p>
<pre><code><android.support.v7.widget.Toolbar
xmlns:android="http://sche... | I'm trying to styling my appcompat-v7 toolbar to have a different background color for my overflow menu. I tried to use the themes for my app and styles for my toolbar, but I was not able to achieve it. This is my toolbar: [CODE] Here is the style I created: [CODE] My main theme is extending Theme.AppCompat.Light. Does... | android|android-layout|android-toolbar | 7 | 2015-02-18T18:45:49.807Z | 2,015 | 2 | 18 | 2 | 10,036 | 3 | 427 | 42 | 3 | 2 | true | false | true | false | false | false | medium |
28,591,689 | AdMob is not defined on Meteor app | <p>I have a Meteor(v1.0.3.1) app and installed AdMob Cordova plugin like this:</p>
<pre><code>meteor add cordova:com.google.cordova.admob@https://github.com/floatinghotpot/cordova-admob-pro/tarball/94a31660d1bb35337e3430e2608b7710ea4d882a
</code></pre>
<p>with the following code as the doc suggests:</p>
<pre><code>i... | I have a Meteor(v1.0.3.1) app and installed AdMob Cordova plugin like this: [CODE] with the following code as the doc suggests: [CODE] And started the app with meteor run android-device with my Android phone plugged in. The following error appears in the stack trace: [CODE] I looked for AdMob object on window and other... | android|cordova|meteor|admob | 2 | 2015-02-18T18:58:02.413Z | 2,015 | 2 | 18 | 2 | 1,198 | 3 | 349 | 34 | 4 | 3 | true | false | false | false | false | false | low |
28,591,696 | Add icon in bottom right of InboxStyle notification | <p><img src="https://i.stack.imgur.com/tmEU6.png" alt="Example notification"></p>
<p>I'm trying to add an icon as indicated by number 5 in the image above. I'm using the InboxStyle class and the NotificationCompat.Builder to build it. I've already called setSmallIcon without luck. Any ideas?</p>
<p>Thanks!</p> | I'm trying to add an icon as indicated by number 5 in the image above. I'm using the InboxStyle class and the NotificationCompat.Builder to build it. I've already called setSmallIcon without luck. Any ideas? Thanks! | android|notifications | 7 | 2015-02-18T18:58:25.577Z | 2,015 | 2 | 18 | 2 | 611 | 1 | 215 | 51 | 2 | 0 | false | false | false | false | false | false | medium |
28,591,726 | For Android, where do I find a complete list of @SuppressLint valid issue ids | <p>At the moment, I need to ignore a string concatenation warning relative to internationalization, but would like to <em>"learn how to fish"</em> for other specialized warnings in the future. </p> | At the moment, I need to ignore a string concatenation warning relative to internationalization, but would like to "learn how to fish" for other specialized warnings in the future. | android|lint | 20 | 2015-02-18T19:00:07.573Z | 2,015 | 2 | 19 | 2 | 15,918 | 5 | 180 | 77 | 2 | 0 | false | false | true | true | true | false | medium |
28,591,767 | Android custom layout with different number of childs in row | <p>I have been developing android for a while and I have been facing many similar layouts to the one in screenshot (in both iOS and Android)</p>
<p>So what I would like to achieve is the different number of childs in each row. </p>
<p>Well, first I would like to ask is there a specific name for this layout type, it i... | I have been developing android for a while and I have been facing many similar layouts to the one in screenshot (in both iOS and Android) So what I would like to achieve is the different number of childs in each row. Well, first I would like to ask is there a specific name for this layout type, it is not gridview altho... | android|android-layout|android-gridview|android-adapter|android-adapterview | 0 | 2015-02-18T19:02:49.487Z | 2,015 | 2 | 19 | 2 | 107 | 1 | 542 | 60 | 5 | 0 | false | false | false | false | false | false | zero |
28,591,840 | Android Activity transition - ListView dividers are visible too long | <p>During my exploration of Activity Transitions I've have encountered problem with ListView (unfortunately I've not migrated to RecyclerView yet :( ) </p>
<p>ListView default dividers are visible for really short time (see video <a href="https://www.youtube.com/watch?v=nHZCzQF3XOg&spfreload=10" rel="nofollow">htt... | During my exploration of Activity Transitions I've have encountered problem with ListView (unfortunately I've not migrated to RecyclerView yet :( ) ListView default dividers are visible for really short time (see video https://www.youtube.com/watch?v=nHZCzQF3XOg&spfreload=10 ) during transition. I've no idea why it is ... | android|android-listview|android-5.0-lollipop|activity-transition|shared-element-transition | 0 | 2015-02-18T19:07:07.967Z | 2,015 | 2 | 19 | 2 | 389 | 1 | 417 | 68 | 5 | 0 | false | false | false | false | false | false | zero |
28,591,870 | TextView.setText is being blocked until Timer's scheduleAtFixedRate completes | <p>Sorry for the awkward title, I didn't know how to describe my problem much more clearly.</p>
<p>I have two <code>textviews</code> on the screen. One <code>textview</code> is the number of seconds left in the minute (So it will always be less than 60, when it reaches 0 it will start over at 59), and the other <code>... | Sorry for the awkward title, I didn't know how to describe my problem much more clearly. I have two textviews on the screen. One textview is the number of seconds left in the minute (So it will always be less than 60, when it reaches 0 it will start over at 59), and the other textview holds the total amount of seconds ... | android|timer | 0 | 2015-02-18T19:08:58.940Z | 2,015 | 2 | 19 | 2 | 103 | 1 | 1,301 | 77 | 2 | 2 | true | false | false | false | false | false | zero |
28,591,985 | value of ints in if statements in Android | <p>so in my class I have a recording function (2 buttons, start & stop recording) and a leave your name function (TextEdit). It's the second screen of my survey app and I want that if the user does not give any input at the second screen for 20 seconds the app jumps back to the first screen. </p>
<pre><code>public... | so in my class I have a recording function (2 buttons, start & stop recording) and a leave your name function (TextEdit). It's the second screen of my survey app and I want that if the user does not give any input at the second screen for 20 seconds the app jumps back to the first screen. [CODE] So my question is, if i... | android|if-statement|int | -2 | 2015-02-18T19:15:38.400Z | 2,015 | 2 | 19 | 2 | 68 | 1 | 549 | 41 | 3 | 2 | true | false | false | false | false | true | negative |
28,592,015 | Parse Only one Value from json array which is nested inside another json array into android | <p>Good day guys.Im Working on a company and my college reposing me some json array but as per requirements the json array must be the next</p>
<pre><code>...some array code here
//Here i give the main array name as data but i don't need to post that part
Array
(
[0] => Array
(
... | Good day guys.Im Working on a company and my college reposing me some json array but as per requirements the json array must be the next [CODE] As you can see there is an two arrays which each of them having same key names but different values per requirements of my android program. And here is my code to parse this js... | android|arrays|json|nested | -1 | 2015-02-18T19:17:43.413Z | 2,015 | 2 | 19 | 2 | 878 | 1 | 1,009 | 91 | 4 | 2 | true | false | false | false | false | true | negative |
28,592,039 | Unable to start activity from within setOnClick Listener of Recycler View adapter | <p>I have implemented a recycler view with grid layout manager to create a category list. Now basically i have tried to implement a setOnClick Listener in my holder inside OnCreateViewholder Method. While running the code, I am getting this error</p>
<p>android.util.AndroidRuntimeException: Calling startActivity() fro... | I have implemented a recycler view with grid layout manager to create a category list. Now basically i have tried to implement a setOnClick Listener in my holder inside OnCreateViewholder Method. While running the code, I am getting this error android.util.AndroidRuntimeException: Calling startActivity() from outside o... | android|android-recyclerview | 3 | 2015-02-18T19:18:55.233Z | 2,015 | 2 | 19 | 2 | 2,685 | 1 | 444 | 81 | 2 | 1 | true | false | true | false | false | false | low |
28,592,076 | What's wrong with this IF...AND statement? | <p>I have the code below in an Android method. When I debug the code the value of callType is "upload_latest" and the value of uploaded_date (defined as long) is 1424286105554, but code execution bypasses the "return false" statement and goes straight to the string declaration below it. I know I've missed something obv... | I have the code below in an Android method. When I debug the code the value of callType is "upload_latest" and the value of uploaded_date (defined as long) is 1424286105554, but code execution bypasses the "return false" statement and goes straight to the string declaration below it. I know I've missed something obviou... | android|if-statement | -2 | 2015-02-18T19:21:15.293Z | 2,015 | 2 | 19 | 2 | 61 | 4 | 377 | 42 | 2 | 1 | true | false | false | false | false | true | negative |
28,592,277 | Android Maps API v2 : The import com.google.android.gms.maps.model.IndoorBuilding cannot be resolved | <p>I tried to make demo application of google indoor maps but i am not able to access some interfaces and some classes.</p>
<p>I added google play services project as a project library in my sample application. you can see in image all other classes and interface i am able to access but not about indoor related. Is th... | I tried to make demo application of google indoor maps but i am not able to access some interfaces and some classes. I added google play services project as a project library in my sample application. you can see in image all other classes and interface i am able to access but not about indoor related. Is there any pro... | google-maps|google-maps-android-api-2|indoor-positioning-system|google-indoor-maps | 0 | 2015-02-18T19:31:27.043Z | 2,015 | 2 | 19 | 2 | 367 | 1 | 407 | 100 | 4 | 1 | true | false | false | false | false | false | zero |
28,592,296 | eclipse android string to Jsonarray | <p>I got the following of my android app:</p>
<p>php file</p>
<pre><code><?php
$con=mysql_connect("localhost","root","");
mysql_select_db("tutorial",$con);
$r = mysql_query("select names from getdata where 1");
while($row=mysql_fetch_array($r))
{$out[]=$row;}
print(json_encode($out));
mysql_close($con);
?>
</co... | I got the following of my android app: php file [CODE] then i got the following: [CODE] as STRING variable "result". i confirm that the app can connect and get the data. BUT ... [CODE] this code keeps going to "exception" how can I solve it? Thanks a lot. | android|arrays|eclipse|string | 0 | 2015-02-18T19:32:38.687Z | 2,015 | 2 | 19 | 2 | 100 | 1 | 255 | 35 | 4 | 3 | true | false | false | false | false | false | zero |
28,592,384 | Hide (or dim) Android Wear Charging Icon | <p>I created an Android Wear watch face with specialized content for when the smart watch is in its charging cradle, such that it makes a reasonable bedside clock overnight. We use big super-dim digits in this mode for comfortable night viewing (& display preservation). It's astonishing how annoyingly bright the ti... | I created an Android Wear watch face with specialized content for when the smart watch is in its charging cradle, such that it makes a reasonable bedside clock overnight. We use big super-dim digits in this mode for comfortable night viewing (& display preservation). It's astonishing how annoyingly bright the tiny litt... | android|watch-face-api | 2 | 2015-02-18T19:37:30.047Z | 2,015 | 2 | 19 | 2 | 322 | 1 | 678 | 40 | 2 | 0 | false | false | false | false | false | false | low |
28,592,458 | Android System Version | <p>On my Moto Maxx & Moto Razr HD (probably all Moto devices), there is an entry in the About Phone settings that states System version. I am writing an app that pulls this info from the phone but I cannot find where Motorola is pulling that info from. All the Build.VERSION, Build.DISPLAY, etc do not contain it. I ... | On my Moto Maxx & Moto Razr HD (probably all Moto devices), there is an entry in the About Phone settings that states System version. I am writing an app that pulls this info from the phone but I cannot find where Motorola is pulling that info from. All the Build.VERSION, Build.DISPLAY, etc do not contain it. I have ev... | java|android|motorola-droid | 3 | 2015-02-18T19:41:09.613Z | 2,015 | 2 | 19 | 2 | 950 | 2 | 507 | 22 | 3 | 1 | true | false | false | false | false | false | low |
28,592,463 | How to remove bar (Android Studio) | <p>I am learning Android Studio and I made my first app. When I run it, there is a bar (is it a right name for it?) that I don't want (this with three dots on the right). How to remove it? I was trying with changing AndroidManifest.xml android:theme but app started crashing.</p>
<p><a href="http://i.stack.imgur.com/uK... | I am learning Android Studio and I made my first app. When I run it, there is a bar (is it a right name for it?) that I don't want (this with three dots on the right). How to remove it? I was trying with changing AndroidManifest.xml android:theme but app started crashing. http://i.stack.imgur.com/uKJsI.png | android | 0 | 2015-02-18T19:41:36.350Z | 2,015 | 2 | 19 | 2 | 5,323 | 4 | 307 | 34 | 1 | 0 | false | false | true | false | false | false | zero |
28,592,467 | How to check a file before delete in android | <p>I know how to delete a file, it's:</p>
<pre><code>File file = new File(path);
file.delete();
</code></pre>
<p>Can I <strong>test that the file is currenlty in use without rooting my device</strong>?
For exmple I want to check if the file is open before i can delete it.</p>
<p>I want to be able to catch errors wit... | I know how to delete a file, it's: [CODE] Can I test that the file is currenlty in use without rooting my device ? For exmple I want to check if the file is open before i can delete it. I want to be able to catch errors with a try catch sentence. | android|file | 1 | 2015-02-18T19:42:08Z | -1 | -1 | -1 | -1 | 250 | 1 | 246 | 44 | 2 | 1 | true | false | false | false | false | false | low |
28,592,481 | v7 searchview overlapping issue | <p>example to what kind of problem I am running into. </p>
<p>Let say I have 6 elements in a listview all in order from left to right [1,2,3,51,4,5].</p>
<p>When I search for 5 it displays "51" and "5". When I click on "51" it opens up "1". The problem is that the filtered list overlaps the listview that displays all... | example to what kind of problem I am running into. Let say I have 6 elements in a listview all in order from left to right [1,2,3,51,4,5]. When I search for 5 it displays "51" and "5". When I click on "51" it opens up "1". The problem is that the filtered list overlaps the listview that displays all the elements. I was... | java|android|searchview | 0 | 2015-02-18T19:43:01.900Z | 2,015 | 2 | 19 | 2 | 191 | 1 | 395 | 31 | 3 | 1 | true | false | false | false | false | false | zero |
28,592,593 | Android- print out values of an array | <p>I am new in programming Android. I am developing an app that you want to capture sound and analyzes it. The amplitude of the sound for each time is stored in an array. These are the data needed to analyze . My question is: How I show the values of the array in wich the sound is saved?</p> | I am new in programming Android. I am developing an app that you want to capture sound and analyzes it. The amplitude of the sound for each time is stored in an array. These are the data needed to analyze . My question is: How I show the values of the array in wich the sound is saved? | android|arrays | 0 | 2015-02-18T19:49:36.370Z | 2,015 | 2 | 19 | 2 | 86 | 2 | 285 | 37 | 2 | 0 | false | false | false | false | false | false | zero |
28,592,600 | Multi Networking in Lollipop | <p>I am working on an app that saves your credentials and logs in to the university wifi automatically when connected to a particular ssid. Everything is working fine. But when mobile data is on and wifi gets connected, the login request is sent through the mobile data (since the wifi connection is not active).
I read... | I am working on an app that saves your credentials and logs in to the university wifi automatically when connected to a particular ssid. Everything is working fine. But when mobile data is on and wifi gets connected, the login request is sent through the mobile data (since the wifi connection is not active). I read on ... | android|networking|wifi|android-5.0-lollipop|cellular-network | 3 | 2015-02-18T19:50:06.597Z | 2,015 | 2 | 19 | 2 | 2,606 | 1 | 408 | 28 | 5 | 1 | true | false | true | false | false | false | low |
28,592,674 | Best way to add a background to an activity | <p>I don't want to add new elements to my xml , but I can change values. I don't care about code ase soon as I dont have to append a huge chunk on a place. </p>
<p>I tried adding a background but this actually had the picture with a great amount of padding.....</p> | I don't want to add new elements to my xml , but I can change values. I don't care about code ase soon as I dont have to append a huge chunk on a place. I tried adding a background but this actually had the picture with a great amount of padding..... | java|android|layout | 0 | 2015-02-18T19:53:57.153Z | 2,015 | 2 | 19 | 2 | 37 | 1 | 250 | 43 | 3 | 0 | false | false | false | false | false | false | zero |
28,592,726 | MapFragment as child in ExpandableListAdapter - preserve touch events | <p>I have <code>ExpandableListView</code> with adapter. This is list of localizations. As childs on each item i use <code>MapFragment</code>, but when map is visible touching events working on listview, not on map. How to block touching events for listview when i touching a map ?</p> | I have ExpandableListView with adapter. This is list of localizations. As childs on each item i use MapFragment , but when map is visible touching events working on listview, not on map. How to block touching events for listview when i touching a map ? | android|android-maps-v2 | 0 | 2015-02-18T19:56:44.970Z | 2,015 | 2 | 19 | 2 | 58 | 0 | 252 | 69 | 2 | 0 | false | true | false | false | false | false | zero |
28,592,754 | Converting a byte array to .wav file in Android | <p>Working on trying to translate a byte array into a new .wav file in Android Studio.</p>
<p>I originally take a .wav file and transform it into a byte array to do some signal processing on the wav (filtering). Then I intend on transforming it back into a .wav file for audio outputting.</p>
<p>Since I am working in ... | Working on trying to translate a byte array into a new .wav file in Android Studio. I originally take a .wav file and transform it into a byte array to do some signal processing on the wav (filtering). Then I intend on transforming it back into a .wav file for audio outputting. Since I am working in Android Studio I ca... | java|android|arrays|wav | 3 | 2015-02-18T19:58:09.097Z | 2,015 | 2 | 19 | 2 | 2,090 | 0 | 548 | 47 | 4 | 1 | true | true | false | false | false | false | low |
28,592,845 | Adding text message on TeeChart | <p>I'm evaluating TeeChart Java for Android.
In some cases data can be unavailable for my chart. In this case <strong>I should display a message to user. What is the easiest way to do this with TeeChart?</strong></p>
<p>I've tried to use <code>textOut()</code> method but the problem is that the message I want to displ... | I'm evaluating TeeChart Java for Android. In some cases data can be unavailable for my chart. In this case I should display a message to user. What is the easiest way to do this with TeeChart? I've tried to use textOut() method but the problem is that the message I want to display can be wider than a chart control, but... | java|android|teechart | -1 | 2015-02-18T20:02:55.763Z | 2,015 | 2 | 20 | 2 | 135 | 1 | 619 | 31 | 3 | 1 | true | false | false | false | false | true | negative |
28,592,867 | Convert UTC timestamp to local timestamp with DST | <p>Here is my code to do this. My question is how does android(any other system take care of DST internally). DST rules can change. Or is it a too corner case to be of any real concern.</p>
<pre><code>public long getLocalTimeFromUTCTime(long utcTime)
{
Time time = new Time();
time.set(utcTime);
TimeZone lo... | Here is my code to do this. My question is how does android(any other system take care of DST internally). DST rules can change. Or is it a too corner case to be of any real concern. [CODE] | android|utc|dst | 0 | 2015-02-18T20:04:18.430Z | 2,015 | 2 | 20 | 2 | 206 | 1 | 189 | 49 | 3 | 1 | true | false | false | false | false | false | zero |
28,592,880 | Use API key for Google Plus API from Android app | <p>Is it okay to use API key with Google Plus API from Android application? </p>
<p>"An API key (either a server key or a browser key) is a unique identifier that you generate using the Developers Console. Using an API key does not require user action or consent. API keys do not grant access to any account information... | Is it okay to use API key with Google Plus API from Android application? "An API key (either a server key or a browser key) is a unique identifier that you generate using the Developers Console. Using an API key does not require user action or consent. API keys do not grant access to any account information, and are no... | android|google-api|google-plus | 2 | 2015-02-18T20:05:09.753Z | 2,015 | 2 | 20 | 2 | 616 | 0 | 1,948 | 48 | 3 | 0 | false | true | false | false | false | false | low |
28,592,920 | if else - working properly on editor, messed up on android | <p>I am new here so have mercy.
I created a simply method with if else if conditions to check for game objects using an ID and if they are enabled.</p>
<p>I basically have 10 game objects, each of them mirrored by their IDs. so 1 and 6 has id 1, 2 and 7 has id 2 and so on.</p>
<p>This works properly in the editor, b... | I am new here so have mercy. I created a simply method with if else if conditions to check for game objects using an ID and if they are enabled. I basically have 10 game objects, each of them mirrored by their IDs. so 1 and 6 has id 1, 2 and 7 has id 2 and so on. This works properly in the editor, but oddly enough, whe... | c#|android|unity3d | 0 | 2015-02-18T20:07:24.633Z | 2,015 | 2 | 20 | 2 | 66 | 0 | 441 | 58 | 3 | 1 | true | true | false | false | false | false | zero |
28,593,128 | Android app title bar sticks in recent apps view | <p>When I swipe my app away in the recent apps view, the title bar of my app sticks at its initial position. I really have no idea whats wrong with my app, I couldn't even find anyone with the same problem.</p>
<p>The following screenshot shows the behavior:</p>
<p><a href="https://i.stack.imgur.com/k95cR.png" rel="n... | When I swipe my app away in the recent apps view, the title bar of my app sticks at its initial position. I really have no idea whats wrong with my app, I couldn't even find anyone with the same problem. The following screenshot shows the behavior: This behavior can only be observed when my app is active at the moment ... | android|android-activity|titlebar | 1 | 2015-02-18T20:19:40.127Z | 2,015 | 2 | 20 | 2 | 141 | 1 | 633 | 48 | 3 | 0 | false | false | false | false | false | false | low |
28,593,286 | Android EditText enter key listener | <p>Please I have EditText field and I want on Enter key to start some my code, but I still got only new line in EditText field. Please can you help me?
Here is my source code:
In XML layout:</p>
<pre><code><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.and... | Please I have EditText field and I want on Enter key to start some my code, but I still got only new line in EditText field. Please can you help me? Here is my source code: In XML layout: [CODE] And MainActivity.java: [CODE] | java|android | 5 | 2015-02-18T20:29:29.333Z | 2,015 | 2 | 20 | 2 | 20,075 | 1 | 224 | 35 | 2 | 2 | true | false | true | true | false | false | low |
28,593,294 | ScrollView goes on top of another layout Android | <p>In the following code I've got two main containers, a RelativeLayout and a ScrollView. I need the RelativeLayout to be on top fixed and below that I need the ScrollView with Images to be scrollable. I've got the following two questions:</p>
<ol>
<li>Though my ScrollView is scrollable but it goes on top of the Relat... | In the following code I've got two main containers, a RelativeLayout and a ScrollView. I need the RelativeLayout to be on top fixed and below that I need the ScrollView with Images to be scrollable. I've got the following two questions: Though my ScrollView is scrollable but it goes on top of the RelativeLayout. !impor... | android|android-layout|scrollview|android-imageview|android-scrollview | 3 | 2015-02-18T20:29:42.383Z | 2,015 | 2 | 20 | 2 | 1,415 | 2 | 581 | 48 | 5 | 1 | true | false | false | false | false | false | low |
28,593,312 | Android application crashing when stepping into a method of a base class | <p>I'm very new to Android programming and I am using Android Studio to target a Nexus 9. So far it's been a good/great experience.</p>
<p>I'm finally encountering some odd behavior though, when I tried something a little advanced -- sorry for the oddball question, I'd be happy with just some troubleshooting tips, si... | I'm very new to Android programming and I am using Android Studio to target a Nexus 9. So far it's been a good/great experience. I'm finally encountering some odd behavior though, when I tried something a little advanced -- sorry for the oddball question, I'd be happy with just some troubleshooting tips, since the obse... | android | 0 | 2015-02-18T20:30:52.337Z | 2,015 | 2 | 20 | 2 | 62 | 0 | 2,678 | 72 | 1 | 1 | true | true | false | false | false | false | zero |
28,593,485 | When I attach sources to jar file in android studio why does it display no executible code found at line | <p>I open my android project with android studio. In my libs folder I've a jar file. When I expand this jar file I open one of the classes file. I get notification to attach source to this file. Then I attach source to it and I'm able to see the entire code. Then I click on attach debugger to android process icon.... | I open my android project with android studio. In my libs folder I've a jar file. When I expand this jar file I open one of the classes file. I get notification to attach source to this file. Then I attach source to it and I'm able to see the entire code. Then I click on attach debugger to android process icon. When I ... | java|android|android-studio | 1 | 2015-02-18T20:40:45.740Z | 2,015 | 2 | 20 | 2 | 213 | 0 | 515 | 104 | 3 | 0 | false | true | false | false | false | false | low |
28,593,554 | Android Studio Gradle :app:preDexDebug never finishes | <p>I have an issue and despite of a lot of googling, i couldn't find any informations about it.<br>
So I have Windows 7 and had Android Studio 1.1 RC Beta and after modifying my code regarding work with a database i got <em>failure install_failed_dexopt</em> <br>
I tried to clean and then to rebuild my project and sinc... | I have an issue and despite of a lot of googling, i couldn't find any informations about it. So I have Windows 7 and had Android Studio 1.1 RC Beta and after modifying my code regarding work with a database i got failure install_failed_dexopt I tried to clean and then to rebuild my project and since that moment Gradle ... | android|android-studio|gradle|android-gradle-plugin | 1 | 2015-02-18T20:44:42.707Z | 2,015 | 2 | 20 | 2 | 684 | 1 | 775 | 53 | 4 | 1 | true | false | false | false | false | false | low |
28,593,589 | Display Data from sqLite DB into different TextViews | <p>Now i have a working sqLite Database, a working Database search on a working ListView that showing the data that was searched. </p>
<p>But i down't know how to display the Data from the result from the database into different TextViews.</p>
<p>I have 3 activities for the database thing:</p>
<p>Search Activity -> ... | Now i have a working sqLite Database, a working Database search on a working ListView that showing the data that was searched. But i down't know how to display the Data from the result from the database into different TextViews. I have 3 activities for the database thing: Search Activity -> ListView Activity -> Details... | java|android|sqlite|listview|textview | 0 | 2015-02-18T20:46:56.410Z | 2,015 | 2 | 20 | 2 | 2,651 | 2 | 644 | 52 | 5 | 3 | true | false | true | false | false | false | zero |
28,593,612 | How to use getActionBar()/getSupportActionBar() when using material theme and AppCompat | <p>My application returns null on getActionBar() with android 4.4 and below, from research so I can see this is because my app is using a material theme for Android 5 and AppCompat for older versions.</p>
<p>However I cant see to fix the return null issue, or get getSupportActionBar() working, below is my code, what n... | My application returns null on getActionBar() with android 4.4 and below, from research so I can see this is because my app is using a material theme for Android 5 and AppCompat for older versions. However I cant see to fix the return null issue, or get getSupportActionBar() working, below is my code, what needs changi... | android|android-actionbar|material-design | 2 | 2015-02-18T20:48:14.377Z | 2,015 | 2 | 20 | 2 | 18,712 | 2 | 644 | 87 | 3 | 8 | true | false | true | true | false | false | low |
28,593,621 | push notification with custom icon | <p>I w'd like to know is there any way to send push notification with different icon than app's. I'm using Unity Parse SDK and able to send push notifications for both Android and iOS. Thanks for any suggestions!</p> | I w'd like to know is there any way to send push notification with different icon than app's. I'm using Unity Parse SDK and able to send push notifications for both Android and iOS. Thanks for any suggestions! | android|ios|unity3d|parse-platform|push-notification | 1 | 2015-02-18T20:48:49.660Z | 2,015 | 2 | 20 | 2 | 1,087 | 1 | 209 | 34 | 5 | 0 | false | false | false | false | false | false | low |
28,593,631 | Is there an iOS equivalent to Android's Immersive Mode? | <p>In android there is a <a href="https://developer.android.com/training/system-ui/immersive.html" rel="nofollow">relatively new 'Immersive Mode'</a> which basically lets your app overlay itself on top of the OS. </p>
<p>Is there an equivalent for iOS devices?</p> | In android there is a relatively new 'Immersive Mode' which basically lets your app overlay itself on top of the OS. Is there an equivalent for iOS devices? | android|ios|iphone | 1 | 2015-02-18T20:49:28.113Z | 2,015 | 2 | 20 | 2 | 955 | 1 | 156 | 55 | 3 | 0 | false | false | false | false | false | false | low |
28,593,632 | Appium testing: Clicking on a textview when clickable=true | <p>Android has a technique where you can turn text into a button. You set the element to clickable, and then define an onClick() method for it. </p>
<p>On the Appium side, what I'm seeing is that the text for the element ends with an "@" character. For example from "UI Automator Viewer" :</p>
<p><em>(2) TextView: ... | Android has a technique where you can turn text into a button. You set the element to clickable, and then define an onClick() method for it. On the Appium side, what I'm seeing is that the text for the element ends with an "@" character. For example from "UI Automator Viewer" : (2) TextView: Purchase an item @ [69,1038... | android|appium | 1 | 2015-02-18T20:49:32.427Z | 2,015 | 2 | 20 | 2 | 1,093 | 1 | 935 | 58 | 2 | 1 | true | false | false | false | false | false | low |
28,593,643 | Writing to a TextView outside of a Fragment | <p>I am using a TextView inside of a Fragment.</p>
<p>I wish to update this TextView outside of the fragment (but also outside of an activity) from a callback class.</p>
<p>For example the user scrolls, the callback is called somewhere in my package, and I want the fragment view to be updated.</p>
<p>Can anybody exp... | I am using a TextView inside of a Fragment. I wish to update this TextView outside of the fragment (but also outside of an activity) from a callback class. For example the user scrolls, the callback is called somewhere in my package, and I want the fragment view to be updated. Can anybody explain how to do this? I did ... | android|android-fragments | 0 | 2015-02-18T20:50:06.710Z | 2,015 | 2 | 20 | 2 | 142 | 4 | 393 | 43 | 2 | 0 | false | false | false | false | false | false | zero |
28,593,787 | Get textfield's value from one activity to another | <p>I have two activities</p>
<pre><code>Class MainActivity{
//has a single button and
//invokes SubActivity
}
Class SubActivity{
//This activity several textfields
}
</code></pre>
<p>While <code>SubActivity</code> is alive, I press back button and go back to MainActivity.
When I go back to <code>MainAct... | I have two activities [CODE] While SubActivity is alive, I press back button and go back to MainActivity. When I go back to MainActivity again, I would like to get the textfield values from the MainActivity . I tried using context but it doesn't seem to work. Any suggestion is welcome. | android-activity | 0 | 2015-02-18T20:58:04.243Z | 2,015 | 2 | 20 | 2 | 70 | 1 | 286 | 50 | 1 | 1 | true | false | false | false | false | false | zero |
28,593,789 | Programmatically get a view's dimension that's been set to wrap_content in the xml layout | <p>For a dropdown animation, I need to get the actual dp height of a view that has been set to <em>wrap_content</em>, thus depending on the number and sizes of its contained views.
The code sample shows the LinearLayout that I need to know the height of, inside a relative layout with a height of 0. The animation is su... | For a dropdown animation, I need to get the actual dp height of a view that has been set to wrap_content , thus depending on the number and sizes of its contained views. The code sample shows the LinearLayout that I need to know the height of, inside a relative layout with a height of 0. The animation is supposed to in... | android|android-layout | 0 | 2015-02-18T20:58:07.847Z | 2,015 | 2 | 20 | 2 | 947 | 2 | 468 | 89 | 2 | 2 | true | false | false | false | false | false | zero |
28,593,829 | Master onPause() onStop() in android | <p>I want to implement some sort of a monitor function, that tells me when my app is crashed or stopped or on pause. So I have 3 activities and I achieved so far that when in the mainActivity onPause is called it will send me a mail, however, I only want to know if someone stops the whole app and not just one of the ac... | I want to implement some sort of a monitor function, that tells me when my app is crashed or stopped or on pause. So I have 3 activities and I achieved so far that when in the mainActivity onPause is called it will send me a mail, however, I only want to know if someone stops the whole app and not just one of the activ... | android|crash|onpause | 0 | 2015-02-18T21:01:07.307Z | 2,015 | 2 | 21 | 2 | 377 | 3 | 472 | 36 | 3 | 1 | true | false | false | false | false | false | zero |
28,593,916 | Customizing Android Wear watch timeout programmatically | <p>I would like to allow the users of my Android Wear app to customize the timeout length of the backlight for my watch face. I've found an <a href="https://play.google.com/store/apps/details?id=com.phonephreak.extendedlight&hl=en" rel="nofollow">app that is able to do so</a>, but I am unable to figure out how it d... | I would like to allow the users of my Android Wear app to customize the timeout length of the backlight for my watch face. I've found an app that is able to do so , but I am unable to figure out how it does it. Has anyone been able to adjust screen timeout on an android wear device? | android|wear-os | 4 | 2015-02-18T21:06:35.580Z | 2,015 | 2 | 21 | 2 | 2,063 | 1 | 283 | 55 | 2 | 0 | false | false | false | false | false | false | low |
28,593,945 | shift position of the content in an ImageView (mobile data type, e.g. 'LTE' or 'H') programmatically | <p>Ryebread761's idea of <a href="https://github.com/rye761/upsidewifi/blob/master/src/ryebread761/upsidewifi/UpsideWifi.java" rel="nofollow noreferrer">rotating the Wifi signal</a> icon is genius! (for the uninitiated, it uses an Xposed module to hook the layout call from SystemUI and rotate the Wifi signal icon befor... | Ryebread761's idea of rotating the Wifi signal icon is genius! (for the uninitiated, it uses an Xposed module to hook the layout call from SystemUI and rotate the Wifi signal icon before drawing.) So I'm replicating this for the Cell Signal strength. Since we're the one receiving the signal strength from the tower, the... | android|android-layout|android-imageview | 1 | 2015-02-18T21:08:36.940Z | 2,015 | 2 | 21 | 2 | 293 | 1 | 799 | 100 | 3 | 0 | false | false | false | false | false | false | low |
28,594,004 | CheckBox and TextView in ArrayAdapter in Android | <p>Every row of my listview in android have checkbox and textview.
If I click on checkbox, I set up my checkbox checked, but how can I set my checkbox checked if I click on TextView.
Here is my code example.
Thank you on your time.</p>
<pre><code>public class PitanjaAdapter extends ArrayAdapter<Odgovor>{
privat... | Every row of my listview in android have checkbox and textview. If I click on checkbox, I set up my checkbox checked, but how can I set my checkbox checked if I click on TextView. Here is my code example. Thank you on your time. [CODE] } | android|android-activity|android-listview|android-arrayadapter | 1 | 2015-02-18T21:12:29.873Z | 2,015 | 2 | 21 | 2 | 869 | 1 | 237 | 48 | 4 | 1 | true | false | false | false | false | false | low |
28,594,029 | adb logcat does not work: /dev/log/main not found | <p>I have a first gen Moto G with this <a href="http://forum.xda-developers.com/moto-g/development/rom-4-4-4-stock-eu-1-click-easy-flash-t2879757" rel="nofollow">rom</a> and logcat does not work. I get the error message </p>
<blockquote>
<p>Unable to open log device '/dev/log/main': No such file or directory</p>
</b... | I have a first gen Moto G with this rom and logcat does not work. I get the error message Unable to open log device '/dev/log/main': No such file or directory I have already tried the following suggestions, but to no avail: Dialing # #2846579# # does not do anything logcat-enable in adb shell i looked for the logger.ko... | android|adb|logcat|motorola | 0 | 2015-02-18T21:13:50.077Z | 2,015 | 2 | 21 | 2 | 806 | 0 | 387 | 49 | 4 | 0 | false | true | false | false | false | false | zero |
28,594,055 | View Visiblity issue while scrolling of Listview | <p>I have a custom listview with textview and imageview and the imageview like checkmark. on OnItemClickListener of Listview when textview is selected, i will make imageview Visibilty to visible to show that is selected.</p>
<pre><code> stickyList.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
stickyLis... | I have a custom listview with textview and imageview and the imageview like checkmark. on OnItemClickListener of Listview when textview is selected, i will make imageview Visibilty to visible to show that is selected. [CODE] It working fine untill Listview scrolldown. If I have selected first two postions textview of l... | android|listview|android-listview|android-scrollbar | 0 | 2015-02-18T21:15:03.447Z | 2,015 | 2 | 21 | 2 | 886 | 1 | 515 | 48 | 4 | 2 | true | false | false | false | false | false | zero |
28,594,080 | import already created sqlite database (xamarin) | <p>I'm using Xamarin and want to know how to import an sqlite database I've already created. So far ive added it to the assets folder but dont know where to start next.</p> | I'm using Xamarin and want to know how to import an sqlite database I've already created. So far ive added it to the assets folder but dont know where to start next. | android|sqlite|xamarin.android|android-sqlite|monodevelop | 0 | 2015-02-18T21:17:06.790Z | 2,015 | 2 | 21 | 2 | 1,525 | 1 | 165 | 48 | 5 | 0 | false | false | false | false | false | false | zero |
28,594,100 | How to fit an image to ImageButton programmatically | <p>I'm trying to set background of ImageButton using this image: <img src="https://i.stack.imgur.com/uCLEB.jpg" alt="enter image description here"></p>
<p>and code:</p>
<p>OnCreate:</p>
<pre><code>protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout... | I'm trying to set background of ImageButton using this image: and code: OnCreate: [CODE] Auxiliary class: [CODE] But next result is received: I want to have correctly scaled image. How can I do it? Maybe there are any better way to do this using some other clickable class instead of ImageButton? | java|android | 1 | 2015-02-18T21:18:01.353Z | 2,015 | 2 | 21 | 2 | 1,542 | 1 | 296 | 51 | 2 | 2 | true | false | false | false | false | false | low |
28,594,127 | OnActivityResult() is not called in Android Activity | <p>I am trying to install CA certificates from a class in android. This is what I am doing.</p>
<pre><code>//File1.java - This is a non-activity
ArrayList<String> CACertsList = new ArrayList<String>();
CACertsList.add(encodedCACert1);
CACertsList.add(encodedCACert2);
Context context = _serviceInstance.ge... | I am trying to install CA certificates from a class in android. This is what I am doing. [CODE] And the actual activity [CODE] Manifest declaration [CODE] I have two problems. One is when I am installing multiple certs, only one of the cert installation prompt is coming up. Another is the onActivityResult method is nev... | android|android-intent|android-activity | 1 | 2015-02-18T21:19:40.703Z | 2,015 | 2 | 21 | 2 | 435 | 2 | 434 | 52 | 3 | 4 | true | false | false | false | false | false | low |
28,594,133 | How to delete entire row from Parse.com and update it with new data | <p><strong>Code for Deleting</strong></p>
<pre><code> DeleteDetails.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
final ParseObject Details = new ParseObject("Details");
ParseUser user = ParseUser.getCurrentUs... | Code for Deleting [CODE] I have created the code above, it deletes the data from the table on Parse however it automatically creates a new field. I want to be able to enter data, delete it and enter it again. Once the user exits the application and returns to it, the data is fetched from the cloud and displayed in Text... | android|database|parse-platform|cloud | 1 | 2015-02-18T21:19:54.990Z | 2,015 | 2 | 21 | 2 | 1,404 | 2 | 351 | 67 | 4 | 2 | true | false | false | false | false | false | low |
28,594,137 | EditText in Android Studio | <p>I have EditText in XML looks like
</p>
<p>The EditText gets number input. for example 5 as annual rate, I want is also display as 5.00%.</p>
<p>In my Java code I use</p>
<pre><code>rateAnnual = (EditText) rootView.findViewById(R.id.rate);
rateAnnual.setText(String.format("%,.2f",initialMortgage.getRate())+"%"... | I have EditText in XML looks like The EditText gets number input. for example 5 as annual rate, I want is also display as 5.00%. In my Java code I use [CODE] It can display rateAnnual EditText as 5.00%; The question is when I click the rateAnnual EditText, how it could be only show the real number 5.00 and remove the %... | android | 0 | 2015-02-18T21:20:01.803Z | 2,015 | 2 | 21 | 2 | 960 | 2 | 353 | 26 | 1 | 1 | true | false | false | false | false | false | zero |
28,594,217 | adding items to listview as a listitem | <p>Hi can someone please help me I am trying to create a messaging type app when 'addButton is clicked I want it to go to add this to my existing listview as an item - I've researched how to do this and have tried applying this to my code unsuccessfully. My problem line is </p>
<p>convoItems.add(editText.getText().to... | Hi can someone please help me I am trying to create a messaging type app when 'addButton is clicked I want it to go to add this to my existing listview as an item - I've researched how to do this and have tried applying this to my code unsuccessfully. My problem line is convoItems.add(editText.getText().toString()); I ... | android | 0 | 2015-02-18T21:24:28.183Z | 2,015 | 2 | 21 | 2 | 28 | 1 | 414 | 38 | 1 | 2 | true | false | false | false | false | false | zero |
28,594,264 | Android: how to convert activities to fragments in order to use the navigation drawer correctly? | <p>I'm developing an android application that currently displays a list of articles in the MainActivity and is working correctly, i want to make the application a little more sophisticated by adding a navigation drawer that contains the articles' categories and a "Home" button above them.</p>
<p>So i started a new pro... | I'm developing an android application that currently displays a list of articles in the MainActivity and is working correctly, i want to make the application a little more sophisticated by adding a navigation drawer that contains the articles' categories and a "Home" button above them. So i started a new project on And... | java|android|android-fragments|android-studio|navigation-drawer | 0 | 2015-02-18T21:27:04.110Z | 2,015 | 2 | 21 | 2 | 1,318 | 1 | 930 | 96 | 5 | 2 | true | false | false | false | false | false | zero |
28,594,297 | Get the directory from a file path in java (android) | <p><strong>Is there a function to get the directory part of a file path?</strong> </p>
<p>so from </p>
<pre><code>String a="/root/sdcard/Pictures/img0001.jpg";
</code></pre>
<p>you get </p>
<pre><code>"/root/sdcard/Pictures"
</code></pre> | Is there a function to get the directory part of a file path? so from [CODE] you get [CODE] | java|android|path|directory | 31 | 2015-02-18T21:29:13.140Z | 2,015 | 2 | 21 | 2 | 147,652 | 4 | 91 | 52 | 4 | 2 | true | false | true | true | true | false | high |
28,594,517 | from an activity to new xml file without making new class for the xml | <p>I want to know if threre is a way to use a button.OnclickListener() to go from one activity to xml file without making a class for that xml.For example:</p>
<p>btn.OnClickListener(new OnclickListener(){</p>
<p>@Override
public void onClick(View v) {</p>
<pre><code> Intent i = new Intent(ex.this, ex.... | I want to know if threre is a way to use a button.OnclickListener() to go from one activity to xml file without making a class for that xml.For example: btn.OnClickListener(new OnclickListener(){ @Override public void onClick(View v) { [CODE] }}; we use the intent to go from activity class to another new activity class... | android-layout|android-intent|android-activity | 0 | 2015-02-18T21:43:57.833Z | 2,015 | 2 | 21 | 2 | 328 | 1 | 528 | 69 | 3 | 1 | true | false | false | false | false | false | zero |
28,594,555 | AngularJS Material - Dialog Close Using Phone "back" Button | <p>Overflow!</p>
<p>I am building an Angular Material site for the first time and I seem to be having an issue with the Dialog box feature. I can get the box to display and close fine except on a mobile device. Namely, when the user presses the "Clear" or "Back Button" on the phone. When you do this (or click the back... | Overflow! I am building an Angular Material site for the first time and I seem to be having an issue with the Dialog box feature. I can get the box to display and close fine except on a mobile device. Namely, when the user presses the "Clear" or "Back Button" on the phone. When you do this (or click the back button on ... | javascript|android|angularjs|modal-dialog|angular-material | 3 | 2015-02-18T21:46:39.817Z | 2,015 | 2 | 21 | 2 | 3,619 | 3 | 1,288 | 59 | 5 | 2 | true | false | true | false | false | false | low |
28,594,592 | android uninstall package from within device | <p>I need to uninstall some package on my Android phone. This app is not listed by the Application Manager<br>
Using <em>Terminal Emulator</em>, I can see the package using <code>pm list packages | grep com.mycompany.mypackage</code><br>
However <code>pm uninstall com.mycompany.mypackage</code> gives me<br></p>
<pre><... | I need to uninstall some package on my Android phone. This app is not listed by the Application Manager Using Terminal Emulator , I can see the package using pm list packages | grep com.mycompany.mypackage However pm uninstall com.mycompany.mypackage gives me [CODE] Since pm sees the package I would think I am not that... | android|android-package-managers | 0 | 2015-02-18T21:48:26.940Z | 2,015 | 2 | 21 | 2 | 841 | 2 | 716 | 44 | 2 | 2 | true | false | false | false | false | false | zero |
28,594,634 | Error inflating class android.support.v7.widget.Toolbar | <p>I have moved my app from using actionbar to toolbar however end up with the error (full error at bottom). My code:</p>
<p>My Activity:</p>
<pre><code>public class MapsActivity extends ActionBarActivity implements LocationListener {
@Override
protected void onCreate(Bundle savedInstanceState) {
sup... | I have moved my app from using actionbar to toolbar however end up with the error (full error at bottom). My code: My Activity: [CODE] v21/style.xml [CODE] style.xml [CODE] gradle dependency [CODE] my XML layout (after changes made by answer) [CODE] Error below answer gives: [CODE] | android|xml|android-toolbar | 5 | 2015-02-18T21:51:21.007Z | 2,015 | 2 | 21 | 2 | 15,924 | 1 | 282 | 55 | 3 | 6 | true | false | true | true | false | false | low |
28,594,709 | PsiFile not parsed for file error does not let me open Project Structure in Android Studio | <p>I started getting this error after I imported a library (extendedCalendarView) into Android Studio. It happens when I try to open Project Structure from File menu, or 'Open Module Settings'.</p>
<p>Here's the full error details:
PsiFile not parsed for file C:/leandro/lagoonapps/RoutePlanner/RoutePlanner/build.grad... | I started getting this error after I imported a library (extendedCalendarView) into Android Studio. It happens when I try to open Project Structure from File menu, or 'Open Module Settings'. Here's the full error details: PsiFile not parsed for file C:/leandro/lagoonapps/RoutePlanner/RoutePlanner/build.gradle. Wait unt... | android|android-studio | 2 | 2015-02-18T21:55:43.470Z | 2,015 | 2 | 21 | 2 | 542 | 1 | 1,019 | 90 | 2 | 0 | false | false | false | false | false | false | low |
28,594,763 | Change default activity after activation | <p>I currently have three activities for my Android app, two of these are for logging in. The first is used for authorizing a device and requires the user to input more user information (FullLogin), the second is used once a device has been authorized (ReducedLogin). </p>
<p>The idea is to show the FullLogin activity ... | I currently have three activities for my Android app, two of these are for logging in. The first is used for authorizing a device and requires the user to input more user information (FullLogin), the second is used once a device has been authorized (ReducedLogin). The idea is to show the FullLogin activity all new user... | android|android-activity|default | -2 | 2015-02-18T21:59:30.407Z | 2,015 | 2 | 21 | 2 | 41 | 2 | 620 | 40 | 3 | 0 | false | false | false | false | false | true | negative |
28,594,826 | is getting mapview working without api key possible on Android? | <p>I am creating app to only show information about me, I wanna show the location on the map, then user can go from the mapview to the google maps to navigate if he wanted. </p>
<p>So, I dont wanna navigate, i dont wanna use maps api, i dont wanna use api key.
I just want to show a mapview then user can switch from th... | I am creating app to only show information about me, I wanna show the location on the map, then user can go from the mapview to the google maps to navigate if he wanted. So, I dont wanna navigate, i dont wanna use maps api, i dont wanna use api key. I just want to show a mapview then user can switch from the mapview to... | android|google-maps|google-maps-android-api-2|android-mapview | 4 | 2015-02-18T22:03:41.410Z | 2,015 | 2 | 22 | 2 | 4,390 | 2 | 352 | 63 | 4 | 0 | false | false | true | false | false | false | low |
28,594,939 | Accessing Google Play Services Location API in a Service | <p>I want to connect to the Google Play Services Location API in a service so I can request location updates and geofencing. The example on the Android developer site makes the connection in an Activity using the activity lifecycle methods to connect and disconnect, it also handles failure by displaying dialogs etc. In... | I want to connect to the Google Play Services Location API in a service so I can request location updates and geofencing. The example on the Android developer site makes the connection in an Activity using the activity lifecycle methods to connect and disconnect, it also handles failure by displaying dialogs etc. In my... | android|android-service|google-play-services|android-location | 1 | 2015-02-18T22:11:27.633Z | 2,015 | 2 | 22 | 2 | 394 | 1 | 773 | 56 | 4 | 0 | false | false | false | false | false | false | low |
28,594,959 | Android - retrieving json via HTTPS | <p>I've a problem with parsing json from facebook graph api.<br>
When I'm using facebook URL:<br><code>https://graph.facebook.com/interstacjapl/feed?access_token=MyTOKEN</code> to grab json it's no working, but when I copied that json (it works in browser) and paste to my webiste <code>http://mywebsite/fb.json</code> a... | I've a problem with parsing json from facebook graph api. When I'm using facebook URL: https://graph.facebook.com/interstacjapl/feed?access_token=MyTOKEN to grab json it's no working, but when I copied that json (it works in browser) and paste to my webiste http://mywebsite/fb.json and change site URL in the code, it w... | android|json|facebook|facebook-graph-api | 0 | 2015-02-18T22:12:34.900Z | 2,015 | 2 | 22 | 2 | 1,625 | 1 | 480 | 35 | 4 | 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.