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,640,793 | Cannot perform CRUD operations to database in the Cloud from Android? | <p>I recently migrated my database from localhost the Google Cloud. I followed <a href="https://www.apachefriends.org/docs/hosting-xampp-on-google.html" rel="nofollow">this</a> tutorial as it suited my needs best (was running XAMPP previously).</p>
<p>So now I have a LAMP instance running in the Cloud. In my config.ph... | I recently migrated my database from localhost the Google Cloud. I followed this tutorial as it suited my needs best (was running XAMPP previously). So now I have a LAMP instance running in the Cloud. In my config.php I have; [CODE] This config setting is correct. When I attempt to (e.g login) I receive JSON back but i... | php|android|mysql|google-cloud-storage | 1 | 2015-02-21T00:59:25.530Z | 2,015 | 2 | 0 | 5 | 60 | 0 | 525 | 69 | 4 | 1 | true | true | false | false | false | false | low |
28,640,805 | why is continuing android keyboard after than memo max length in firemonkey android app? | <p>why is continuing android keyboard after than memo max length?</p>
<p>My Memo max length 120 characters but android keyboard is continuing.</p>
<p>How does android keyboard finish input after than memo max length?</p>
<p>Note: delphi firemonkey android application.</p> | why is continuing android keyboard after than memo max length? My Memo max length 120 characters but android keyboard is continuing. How does android keyboard finish input after than memo max length? Note: delphi firemonkey android application. | android|delphi|keyboard|firemonkey|delphi-xe6 | 0 | 2015-02-21T01:01:25.220Z | 2,015 | 2 | 1 | 5 | 468 | 1 | 244 | 88 | 5 | 0 | false | false | false | false | false | false | zero |
28,640,862 | how to update json file from android app? | <p>I have a json file on my server that i would like to update from my android app. And by update I mean I want to add new data to my .json file that is on my server.
Ps. I dont want to download the .json file and then update it. Any other way is appreciated</p> | I have a json file on my server that i would like to update from my android app. And by update I mean I want to add new data to my .json file that is on my server. Ps. I dont want to download the .json file and then update it. Any other way is appreciated | android|json | 0 | 2015-02-21T01:08:01.900Z | 2,015 | 2 | 1 | 5 | 967 | 0 | 255 | 41 | 2 | 0 | false | true | false | false | false | false | zero |
28,641,062 | change pic in dynamic UIandroid | <p>I'm a beginner in android. I have an image button and I want it to change after 5sec .first I wrote params and table then call image button with the first pic then I call sleep method and change pic in that but when I run this code, the first pic doesn't show. Where is my problem?</p>
<p>Thanks</p>
<pre><code> pro... | I'm a beginner in android. I have an image button and I want it to change after 5sec .first I wrote params and table then call image button with the first pic then I call sleep method and change pic in that but when I run this code, the first pic doesn't show. Where is my problem? Thanks [CODE] | android | 0 | 2015-02-21T01:38:56.190Z | 2,015 | 2 | 1 | 5 | 22 | 1 | 295 | 31 | 1 | 1 | true | false | false | false | false | false | zero |
28,641,090 | Android Studio - Webview - shouldOverrideUrlLoading - Do not open web browser | <p>I developed a Webview app with Android Studio but when the user clicks a link from a web page in the WebView, Android is opening the default web browser.
I already checked on Android Developers API Guides how to do but it does not work ;( on my app ... Guides Link: <a href="http://developer.android.com/guide/webapps... | I developed a Webview app with Android Studio but when the user clicks a link from a web page in the WebView, Android is opening the default web browser. I already checked on Android Developers API Guides how to do but it does not work ;( on my app ... Guides Link: Handling Page Navigation Who know how to use the "shou... | android|url|webview|url-redirection | 0 | 2015-02-21T01:45:07.200Z | 2,015 | 2 | 1 | 5 | 6,439 | 1 | 483 | 77 | 4 | 3 | true | false | true | false | false | false | zero |
28,641,110 | Implement back button on android fragment webview | <p>I want to implement back button for my webview fragment, tried different answers on stackoverflow, couldnt get it to work with my code.</p>
<p>Below is my code.</p>
<pre><code>public class LoginFragment extends Fragment {
public LoginFragment(){}
@Override
public View onCreateView(LayoutInflater infl... | I want to implement back button for my webview fragment, tried different answers on stackoverflow, couldnt get it to work with my code. Below is my code. [CODE] I even tried this, found it at developer.android.com [CODE] Thanks for any help. | android|android-fragments|webview | 0 | 2015-02-21T01:48:55.537Z | 2,015 | 2 | 1 | 5 | 355 | 2 | 241 | 49 | 3 | 2 | true | false | false | false | false | false | zero |
28,641,137 | Get transit data from google maps api for android | <p>I'm making an app which shows the status of the road ( incidents or slow traffic, etc) and I'm using Google Maps as of now, the thing is I can't find if there's a way to get said status from the Android API? I know their JavaScript API shows a map in a HTML page and I could parse it and show it in a web view, but I'... | I'm making an app which shows the status of the road ( incidents or slow traffic, etc) and I'm using Google Maps as of now, the thing is I can't find if there's a way to get said status from the Android API? I know their JavaScript API shows a map in a HTML page and I could parse it and show it in a web view, but I'd l... | java|javascript|android|google-maps | 0 | 2015-02-21T01:51:58.323Z | 2,015 | 2 | 1 | 5 | 881 | 1 | 549 | 49 | 4 | 0 | false | false | false | false | false | false | zero |
28,641,152 | Which files are mandatory to run appium on an Android 3rd party device? | <p>I use appium for the first time. I want to run a simple automation on a 3rd party installed app. I want to configure the appium server for that specific app.</p>
<p>I have few questions:</p>
<ol>
<li><p>Which fields are mandatory?</p>
</li>
<li><p>I have to fill them manually? because my Android is plugged in to the... | I use appium for the first time. I want to run a simple automation on a 3rd party installed app. I want to configure the appium server for that specific app. I have few questions: Which fields are mandatory? I have to fill them manually? because my Android is plugged in to the mac, and yet I cannot autocomplete names. ... | java|android|automation|ui-automation|appium | 0 | 2015-02-21T01:53:11.410Z | 2,015 | 2 | 1 | 5 | 361 | 1 | 601 | 71 | 5 | 3 | true | false | false | false | false | false | zero |
28,641,169 | How to load a file .txt from the website to the android textview? | <p>i just want to know how to load the <strong>.txt</strong> file from the website to our online connected android app. </p>
<p>i simply like to load the text in an online application using the internet to a text view, is there any best way to do that.</p>
<p>as i am very new to android so gone through many tutorial ... | i just want to know how to load the .txt file from the website to our online connected android app. i simply like to load the text in an online application using the internet to a text view, is there any best way to do that. as i am very new to android so gone through many tutorial and questions on stack overflow but n... | android|web | 1 | 2015-02-21T01:55:23.310Z | 2,015 | 2 | 1 | 5 | 850 | 2 | 356 | 65 | 2 | 0 | false | false | false | false | false | false | low |
28,641,307 | Configure Google Glass as Android Studio AVD | <p>Anyone know if it is possible to configure the <strong>google glass</strong> as <strong>AVD</strong> to run programs on <strong>Android Studio</strong>?</p> | Anyone know if it is possible to configure the google glass as AVD to run programs on Android Studio ? | android-studio|google-glass|avd | 2 | 2015-02-21T02:15:14.620Z | 2,015 | 2 | 2 | 5 | 780 | 2 | 102 | 44 | 3 | 0 | false | false | false | false | false | false | low |
28,641,382 | Services in Android Lollipop seem to randomly disappear without error | <p>I have a service running in an app that detects if the proximity sensor on the device is triggered or not.</p>
<p>However, when I'm testing on a device running Android Lollipop, the service seems to unexpectedly quit when I run other apps.</p>
<p>For example, I start my service:</p>
<pre><code>Intent service = ne... | I have a service running in an app that detects if the proximity sensor on the device is triggered or not. However, when I'm testing on a device running Android Lollipop, the service seems to unexpectedly quit when I run other apps. For example, I start my service: [CODE] And then I close the app and allow it to run. N... | java|android|android-activity|service|android-studio | 0 | 2015-02-21T02:28:32.333Z | 2,015 | 2 | 2 | 5 | 226 | 1 | 658 | 69 | 5 | 1 | true | false | false | false | false | false | zero |
28,641,416 | Android Emulator Virtualization | <p>I am trying to write android apps but found out that my computer does not support virtualization technology which is required for the emulator. Is there any possible way to test apps without an emulator or a way to get an emulator which does not require virtualization?</p> | I am trying to write android apps but found out that my computer does not support virtualization technology which is required for the emulator. Is there any possible way to test apps without an emulator or a way to get an emulator which does not require virtualization? | android|graphics|android-studio|virtualization | 0 | 2015-02-21T02:33:17.227Z | 2,015 | 2 | 2 | 5 | 62 | 1 | 269 | 31 | 4 | 0 | false | false | false | false | false | false | zero |
28,641,426 | Highlight a pressed card item : using CardView from cardslib | <p>I'm using CardView in a CardListView.
I would like to know how to highlight a card item when it's pressed just like in the "CardsLibDemo Extras" application, precisely in the "Card and Weather List" fragment when you press on a card from the "You may know" list ?
P.S. : I'm using API 15 (Android 4.0.4 Ice Cream san... | I'm using CardView in a CardListView. I would like to know how to highlight a card item when it's pressed just like in the "CardsLibDemo Extras" application, precisely in the "Card and Weather List" fragment when you press on a card from the "You may know" list ? P.S. : I'm using API 15 (Android 4.0.4 Ice Cream sandwic... | android|highlight|cardslib | 1 | 2015-02-21T02:35:23.177Z | 2,015 | 2 | 2 | 5 | 1,475 | 1 | 722 | 60 | 3 | 6 | true | false | false | false | false | false | low |
28,641,435 | Error: fail readDirectory() errno=13 by DownloadFolder (Android) | <p>I am developing an app for android. I use Samsung Galaxy S5 (Android 5.0). I get an error, if i am trying to get the files from the Download folder. But i am able to get the absolutPath of the Download folder. I will show you at first the code, which causes an error afterwards the error.</p>
<p><strong>CODE:</stron... | I am developing an app for android. I use Samsung Galaxy S5 (Android 5.0). I get an error, if i am trying to get the files from the Download folder. But i am able to get the absolutPath of the Download folder. I will show you at first the code, which causes an error afterwards the error. CODE: [CODE] Manifest: android:... | java|android | 1 | 2015-02-21T02:37:02.443Z | 2,015 | 2 | 2 | 5 | 2,198 | 0 | 602 | 64 | 2 | 1 | true | true | false | false | false | false | low |
28,641,445 | Dependency conflict error in my Android app which has Android Tests | <p>I'm using AndroidStudio and Gradle to build my Android app with tests in the 'androidTest' source directory. I added a new dependency and am now getting the following issue when running Android Tests either in AndroidStudio or via './gradlew connectedCheck'. What's the preferred way to resolve this?</p>
<p>'Warning... | I'm using AndroidStudio and Gradle to build my Android app with tests in the 'androidTest' source directory. I added a new dependency and am now getting the following issue when running Android Tests either in AndroidStudio or via './gradlew connectedCheck'. What's the preferred way to resolve this? 'Warning:Conflict w... | android|testing | 34 | 2015-02-21T02:39:23.360Z | 2,015 | 2 | 2 | 5 | 23,822 | 5 | 611 | 67 | 2 | 0 | false | false | true | true | true | false | high |
28,641,482 | Using android crop-library | <p>I wanna use android crop library(<a href="https://github.com/biokys/cropimage" rel="nofollow noreferrer">https://github.com/biokys/cropimage</a>) with custom settings.</p>
<p>Making an example circle line that doesn't show on the cropped image is my goal.</p>
<p><img src="https://i.stack.imgur.com/l1GsU.png" alt="... | I wanna use android crop library( https://github.com/biokys/cropimage ) with custom settings. Making an example circle line that doesn't show on the cropped image is my goal. | android|geometry|android-library | 2 | 2015-02-21T02:44:00.900Z | 2,015 | 2 | 2 | 5 | 1,993 | 1 | 174 | 26 | 3 | 0 | false | false | false | false | false | false | low |
28,641,557 | How to make a interface extend ActionBarActivity | <p>I am making a app that requires a lot of coding, so i want to make it organized. This was done in the past by extending multiple classes until and adding ActionBarActivity at the end, however that can get complicated. I heard about interfaces and want to try it out. How can i create a method in my interface that i c... | I am making a app that requires a lot of coding, so i want to make it organized. This was done in the past by extending multiple classes until and adding ActionBarActivity at the end, however that can get complicated. I heard about interfaces and want to try it out. How can i create a method in my interface that i can ... | java|android|interface | -2 | 2015-02-21T02:55:54.730Z | 2,015 | 2 | 2 | 5 | 265 | 2 | 482 | 48 | 3 | 2 | true | false | false | false | false | true | negative |
28,641,635 | ListView: Populate listview with images from JSON | <p>I have a listview which works perfectly when it comes to displaying all the text from a database through Php/JSON. However, in the database there is an image link associated with every item which I would like to show in the listview. Basically what it does is that a person clicks the search button and the default an... | I have a listview which works perfectly when it comes to displaying all the text from a database through Php/JSON. However, in the database there is an image link associated with every item which I would like to show in the listview. Basically what it does is that a person clicks the search button and the default andro... | php|android|json|listview|android-listview | 0 | 2015-02-21T03:07:31.697Z | 2,015 | 2 | 3 | 5 | 1,046 | 3 | 1,028 | 49 | 5 | 1 | true | false | false | false | false | false | zero |
28,641,649 | What is the Android equivalent of JFrame? | <p>I just wrote a Java program for a game and I was wondering how I could get the same game to run on Android using Android Studio.</p>
<p>I noticed that Android does not support JFrame, though. What is the Android equivalent to JFrame?</p> | I just wrote a Java program for a game and I was wondering how I could get the same game to run on Android using Android Studio. I noticed that Android does not support JFrame, though. What is the Android equivalent to JFrame? | java|android|android-studio | 6 | 2015-02-21T03:10:44.237Z | 2,015 | 2 | 3 | 5 | 6,600 | 1 | 226 | 41 | 3 | 0 | false | false | true | false | false | false | medium |
28,641,658 | Google API key works only for the build which i generated from my computer | <p>On google play i tried creating a public key for google login keeping the fields for SHA1 key and package name empty to allow all android devices to have access to the api.But it shows "An internal error has occured" while trying to login.Then i tried creating another key with my compuer SHA1 key and my project's p... | On google play i tried creating a public key for google login keeping the fields for SHA1 key and package name empty to allow all android devices to have access to the api.But it shows "An internal error has occured" while trying to login.Then i tried creating another key with my compuer SHA1 key and my project's packa... | android|api|google-api|sha1 | 3 | 2015-02-21T03:12:04.937Z | 2,015 | 2 | 3 | 5 | 633 | 1 | 885 | 74 | 4 | 0 | false | false | false | false | false | false | low |
28,641,669 | Output of BufferedReader is changing the bits | <p>So my app connects an Android to another device and sends/receives serial data over wifi. It is able to connect, disconnect, and transmit data flawlessly, however, when data is received, this happens...</p>
<p>I know for a fact that the transmitting device works and is not sending this incorrect data.</p>
<p>Does ... | So my app connects an Android to another device and sends/receives serial data over wifi. It is able to connect, disconnect, and transmit data flawlessly, however, when data is received, this happens... I know for a fact that the transmitting device works and is not sending this incorrect data. Does anyone have any clu... | java|android|sockets | 0 | 2015-02-21T03:13:38.853Z | 2,015 | 2 | 3 | 5 | 24 | 1 | 698 | 45 | 3 | 1 | true | false | false | false | false | false | zero |
28,641,704 | Converting bitmap to Base64 string causes OutOfMemory error | <p>I'm currently using the following method to convert a bitmap into a Base64 encoded string, however for very big images I'm getting an OutOfMemory error:</p>
<pre><code>public static String convertBitmapToBase64String(Bitmap bmp) throws OutOfMemoryError
{
ByteArrayOutputStream baos = new ByteArrayOutputStream();... | I'm currently using the following method to convert a bitmap into a Base64 encoded string, however for very big images I'm getting an OutOfMemory error: [CODE] I saw this answer, however it uses IOUtils: https://stackoverflow.com/a/24877734/720175 Is it possible to do convert a large bitmap into a base64 encoded string... | android|bitmap|base64|android-bitmap | 1 | 2015-02-21T03:19:24.010Z | 2,015 | 2 | 3 | 5 | 1,255 | 3 | 369 | 59 | 4 | 1 | true | false | false | false | false | false | low |
28,641,713 | url will not load in webview | <p>I have an application that has a fragment that contains a web view. The web view functions properly when I try other URLs however when I attempt to use "http://peekatu.com/scraper/onair.php" it will not load in the web view. I have no idea as to why it won't load. Help is appreciated. Thank you.</p>
<pre><... | I have an application that has a fragment that contains a web view. The web view functions properly when I try other URLs however when I attempt to use "http://peekatu.com/scraper/onair.php" it will not load in the web view. I have no idea as to why it won't load. Help is appreciated. Thank you. [CODE] onair.... | php|android|android-webview | 1 | 2015-02-21T03:21:02.563Z | 2,015 | 2 | 3 | 5 | 1,060 | 2 | 330 | 28 | 3 | 2 | true | false | false | false | false | false | low |
28,641,766 | Android: Refreshing view from UI thread | <p>Basic question, but my attempts to resolve it have failed</p>
<p>My activity contains the following </p>
<pre><code>override def onCreate(savedInstanceState: Bundle) {
super.onCreate(savedInstanceState)
setContentView(R.layout.match_list_view)
val listView = findViewById(R.id.matchListView).asInstanceOf[ListVie... | Basic question, but my attempts to resolve it have failed My activity contains the following [CODE] } which displays a list of matches in a ListView My adapter then contains the following logic in its getView method for an individual match: [CODE] My DeleteMatchDialogFragment then contains the following logic: [CODE] S... | android|scala|android-listview | 1 | 2015-02-21T03:28:40.863Z | 2,015 | 2 | 3 | 5 | 51 | 1 | 721 | 39 | 3 | 3 | true | false | false | false | false | false | low |
28,641,786 | Do I need to use threading? | <p>I need to fix some problem here. I am using java android eclipse.</p>
<p>Problem: If I click add or minus button it will execute those 2 methods, right?
What I want is:</p>
<ol>
<li>If I click button at the same time it should only execute 1 method.</li>
<li>I don't want the add method will be executed simultaneou... | I need to fix some problem here. I am using java android eclipse. Problem: If I click add or minus button it will execute those 2 methods, right? What I want is: If I click button at the same time it should only execute 1 method. I don't want the add method will be executed simultaneously if i keep pressing the button.... | java|android | 0 | 2015-02-21T03:32:33.043Z | 2,015 | 2 | 3 | 5 | 52 | 2 | 467 | 27 | 2 | 1 | true | false | false | false | false | false | zero |
28,641,835 | Exporting an Android file into a binary file | <p>I'm trying to put an Android app in the Amazon app store, and they require a binary file. How do I compile my app into a binary file to upload? </p> | I'm trying to put an Android app in the Amazon app store, and they require a binary file. How do I compile my app into a binary file to upload? | android|eclipse|binary | 0 | 2015-02-21T03:41:09.910Z | 2,015 | 2 | 3 | 5 | 96 | 1 | 143 | 44 | 3 | 0 | false | false | false | false | false | false | zero |
28,641,902 | Is global search in android still available for developer? | <p>I'm stuck for adding global search to my app.
I did everything that I should do.
my question is is global search is still available for developer?
I read somewhere that Google replaced it with index.</p>
<p>Thank you for your time and help</p> | I'm stuck for adding global search to my app. I did everything that I should do. my question is is global search is still available for developer? I read somewhere that Google replaced it with index. Thank you for your time and help | android|android-contentprovider|android-search|searchable | 4 | 2015-02-21T03:53:58.067Z | 2,015 | 2 | 3 | 5 | 2,758 | 1 | 232 | 58 | 4 | 0 | false | false | true | false | false | false | low |
28,641,952 | GraphView: rotating horizontal date labels, specifying a fixed size of the viewport and aligning the bullet points with the date labels | <p>This is a 3 part question.</p>
<p>1) First, is it possible to rotate the horizontal X values. Currently when I am trying to display all the days in a month on the X axis (4/1/2015, 4/2/2015, etc...) they will all bunch up and become unreadable. <strong>Is there a way to rotate the X-axis labels so they are vertical... | This is a 3 part question. 1) First, is it possible to rotate the horizontal X values. Currently when I am trying to display all the days in a month on the X axis (4/1/2015, 4/2/2015, etc...) they will all bunch up and become unreadable. Is there a way to rotate the X-axis labels so they are vertical? 2) To setup the v... | java|android|graph|android-graphview | 0 | 2015-02-21T04:04:09.537Z | 2,015 | 2 | 4 | 5 | 4,103 | 2 | 876 | 135 | 4 | 3 | true | false | true | false | false | false | zero |
28,641,957 | Can I use lat,lng as x, y in doing calculations | <p>I am using Google map api and location services. I was wondering, can I deal with the latitude and longitude as if they are x, y in cartesian coordinates. I would like to do math work to do some calculations and I wanted to see if I can use the lat and long as x, y. </p>
<p>The points are within the same city so a ... | I am using Google map api and location services. I was wondering, can I deal with the latitude and longitude as if they are x, y in cartesian coordinates. I would like to do math work to do some calculations and I wanted to see if I can use the lat and long as x, y. The points are within the same city so a very small m... | android | 0 | 2015-02-21T04:05:10.583Z | 2,015 | 2 | 4 | 5 | 24 | 0 | 359 | 47 | 1 | 0 | false | true | false | false | false | false | zero |
28,642,002 | Facebook SDK 3.23.0 with Android Studio 1.1.0 | <p>First of all, when I try to add it with "import module" and then "add dependency" I get the error:</p>
<blockquote>
<p>Error:(19, 0) Could not find property 'ANDROID_BUILD_MIN_SDK_VERSION' on project ':facebook'.</p>
</blockquote>
<p>So I went ahead and created a gradle.properties file in the facebook module fol... | First of all, when I try to add it with "import module" and then "add dependency" I get the error: Error:(19, 0) Could not find property 'ANDROID_BUILD_MIN_SDK_VERSION' on project ':facebook'. So I went ahead and created a gradle.properties file in the facebook module folder, then it gives me this error: Error:(111, 0)... | android|facebook|android-studio | 1 | 2015-02-21T04:13:39.903Z | 2,015 | 2 | 4 | 5 | 7,085 | 4 | 2,881 | 45 | 3 | 1 | true | false | true | false | false | false | low |
28,642,036 | What should i use to display a streaming url on my android app? | <p>I want to display a live-streaming on my android application (from a IP camera in this case) using the URL of the streaming.</p>
<p>The streaming is being shown on a webpage, so basically what I want to do is to display it from to the webpage, straight to my application.</p>
<p>Should I use Picasso, <code>WebView<... | I want to display a live-streaming on my android application (from a IP camera in this case) using the URL of the streaming. The streaming is being shown on a webpage, so basically what I want to do is to display it from to the webpage, straight to my application. Should I use Picasso, WebView or ImageView in this case... | java|android|url|live-streaming | 2 | 2015-02-21T04:19:49.613Z | 2,015 | 2 | 4 | 5 | 990 | 1 | 445 | 63 | 4 | 0 | false | false | false | false | false | false | low |
28,642,037 | Edit text styling android | <p>How to style an edit text like <a href="http://imgur.com/7acMQ6t" rel="nofollow">this</a>?</p>
<p>The lock is an icon. how to insert the bar after the lock?</p> | How to style an edit text like this ? The lock is an icon. how to insert the bar after the lock? | android|android-styles | 0 | 2015-02-21T04:19:57.860Z | 2,015 | 2 | 4 | 5 | 97 | 1 | 96 | 25 | 2 | 0 | false | false | false | false | false | false | zero |
28,642,132 | How to save video taken from VideoView to external SD card? | <p>I'm trying to save a video, I already successfully captured and put into my <code>VideoView</code>, to my SD card. Lots of research, but I found nothing simple and straightforward to help my problem.</p>
<p>I was able to save a photo to the SD card, using very similar code (except not a <code>Uri</code> parameter, ... | I'm trying to save a video, I already successfully captured and put into my VideoView , to my SD card. Lots of research, but I found nothing simple and straightforward to help my problem. I was able to save a photo to the SD card, using very similar code (except not a Uri parameter, but a Bitmap instead), so I thought ... | android|android-sdcard|android-file|android-videoview | 0 | 2015-02-21T04:34:38.483Z | 2,015 | 2 | 4 | 5 | 4,841 | 1 | 891 | 59 | 4 | 1 | true | false | true | false | false | false | zero |
28,642,144 | Adding items in listView android | <p>below is my <a href="http://wptrafficanalyzer.in/blog/deleting-selected-items-from-listview-in-android/" rel="nofollow">code</a> for a ListView with Add and Remove items functionality which is working fine; but i'd want to pass a text into the listview class from my webview class onbutton click (that should work as ... | below is my code for a ListView with Add and Remove items functionality which is working fine; but i'd want to pass a text into the listview class from my webview class onbutton click (that should work as save as bookmark) and also i want the listview to open the url in my webview onclick [CODE] webview [CODE] xml [COD... | android|listview | 0 | 2015-02-21T04:37:12.930Z | 2,015 | 2 | 4 | 5 | 243 | 0 | 532 | 32 | 2 | 3 | true | true | false | false | false | false | zero |
28,642,151 | Trouble adding Internet permission in Android Studio | <p>When I added the following line to <strong>AndroidManifest.xml</strong> file </p>
<pre><code>< uses-permission android:name = "android.permission.INTERNET" />
</code></pre>
<p>It shows two errors:</p>
<ol>
<li>Error:The content of elements must consist of well-formed character data or markup.</li>
<li>Error... | When I added the following line to AndroidManifest.xml file [CODE] It shows two errors: Error:The content of elements must consist of well-formed character data or markup. Error:Cannot read packageName from C:\Users\Name\AndroidStudioProjects\Sunshine\app\src\main\AndroidManifest.xml However, without That line of code,... | android | 0 | 2015-02-21T04:38:23.263Z | 2,015 | 2 | 4 | 5 | 523 | 0 | 510 | 52 | 1 | 1 | true | true | false | false | false | false | zero |
28,642,215 | Android : Auto aujust linear layout | <p>I am trying to add dynamic multiple views horizontally in a <code>LinearLayout</code>. The problem i am facing is "all views are not displayed". Only few views are displayed and other are not displayed. All views should be auto adjusted in the <code>LinearLayout</code>.
I tried with <code>FrameLayout</code> also. Bu... | I am trying to add dynamic multiple views horizontally in a LinearLayout . The problem i am facing is "all views are not displayed". Only few views are displayed and other are not displayed. All views should be auto adjusted in the LinearLayout . I tried with FrameLayout also. But no success. Any suggestions. | android|android-layout | 0 | 2015-02-21T04:49:48.927Z | 2,015 | 2 | 4 | 5 | 39 | 1 | 310 | 35 | 2 | 0 | false | false | false | false | false | false | zero |
28,642,240 | Activity seems to be transparent but it is not | <p>I have created an activity following some tutorials on SO.Activity is transparent with respect to the background color of another activity but it is not showing transparency with the text contained by the background activity.</p>
<p>XML:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout ... | I have created an activity following some tutorials on SO.Activity is transparent with respect to the background color of another activity but it is not showing transparency with the text contained by the background activity. XML: [CODE] ApplicationForeground is blue which I set purposefully. layoutrater is also not sh... | android|transparency | 0 | 2015-02-21T04:53:51.043Z | 2,015 | 2 | 4 | 5 | 63 | 1 | 502 | 46 | 2 | 3 | true | false | false | false | false | false | zero |
28,642,315 | Android fragment onActivityResult | <h1>Edit</h1>
<p>It seems that i need to call <code>startActivityForResult(intent, requestcode);</code></p>
<p>Would i do something like this on my main parent activity:</p>
<pre><code>public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
... | Edit It seems that i need to call startActivityForResult(intent, requestcode); Would i do something like this on my main parent activity: [CODE] and then start my intent like this? Still not sure... [CODE] Old I have main activity which launches a fragment, this fragment then starts another temporary activity which sho... | android|android-intent|android-fragments|onactivityresult | 0 | 2015-02-21T05:02:19.687Z | 2,015 | 2 | 5 | 5 | 476 | 1 | 698 | 33 | 4 | 3 | true | false | false | false | false | false | zero |
28,642,393 | How to auto load the large database values into listview using SimpleCursorAdapter | <p>I have an app where I load database values into listview (multiple columns) using SimpleCursorAdapter. The problem is that the data is increasing everyday and the app clearly lags to load this entire data at one go into listview.</p>
<p>I have done a lot of Google for this, found many solutions (some using <code>As... | I have an app where I load database values into listview (multiple columns) using SimpleCursorAdapter. The problem is that the data is increasing everyday and the app clearly lags to load this entire data at one go into listview. I have done a lot of Google for this, found many solutions (some using AsyncTasks and some... | android|listview|simplecursoradapter | 1 | 2015-02-21T05:15:03Z | -1 | -1 | -1 | -1 | 531 | 2 | 614 | 82 | 3 | 1 | true | false | false | false | false | false | low |
28,642,401 | I can't retrieve query, parse.com, android | <p>I wanna retrieve ParseUser.
Whn I retrieve ParseObject not ParseUser, it works.
But when I try to retrieve ParseUser object, it doesn't work.
What do I do?</p>
<pre><code>ParseQuery<ParseObject> query = ParseQuery.getQuery("User");
query.whereEqualTo("username",buddy);
query.findInBackground(n... | I wanna retrieve ParseUser. Whn I retrieve ParseObject not ParseUser, it works. But when I try to retrieve ParseUser object, it doesn't work. What do I do? [CODE] | android|parse-platform | 0 | 2015-02-21T05:16:54.210Z | 2,015 | 2 | 5 | 5 | 34 | 2 | 162 | 42 | 2 | 1 | true | false | false | false | false | false | zero |
28,642,667 | how to fetch database values and display it into textview in android | <p>intent: i tried many times fetching values from database. but it returns error message please anyone can help me.when i am getting username from database that will shows nullpointer exception.</p>
<pre><code> submit_btn.setOnClickListener(new OnClickListener() { String user;
Cursor cu... | intent: i tried many times fetching values from database. but it returns error message please anyone can help me.when i am getting username from database that will shows nullpointer exception. [CODE] I have been working on some sqlite database and i have created one table,and ... inserted data,How to fetch the data and... | android | 0 | 2015-02-21T05:57:41.673Z | 2,015 | 2 | 5 | 5 | 976 | 1 | 447 | 68 | 1 | 2 | true | false | false | false | false | false | zero |
28,642,811 | Refresh Menu with invalidate in Android | <p>I am working on Android application in which I want to refresh my menu at run time. For example if in the starting my menu is like <code>menu1.xml</code> then after getting any result for example 'Yes' from the server I want to refresh it with <code>menu2.xml</code>.</p>
<p>I want to use invalidate function for thi... | I am working on Android application in which I want to refresh my menu at run time. For example if in the starting my menu is like menu1.xml then after getting any result for example 'Yes' from the server I want to refresh it with menu2.xml . I want to use invalidate function for this but I am not able to make my menu ... | android|menuitem | 0 | 2015-02-21T06:17:00.690Z | 2,015 | 2 | 6 | 5 | 495 | 1 | 473 | 39 | 2 | 1 | true | false | false | false | false | false | zero |
28,642,819 | Emulator in AMD Processor is not working | <p>I using AMD processor. I have installed everything related to eclipse perfectly. But I'm unable to start the emulator. program is hang and keep waiting for adb forever. The same issue in android studio also. Please give a solution.</p> | I using AMD processor. I have installed everything related to eclipse perfectly. But I'm unable to start the emulator. program is hang and keep waiting for adb forever. The same issue in android studio also. Please give a solution. | android-emulator | 0 | 2015-02-21T06:18:59.133Z | 2,015 | 2 | 6 | 5 | 93 | 1 | 231 | 40 | 1 | 0 | false | false | false | false | false | false | zero |
28,642,824 | How to get context from ActivityManager.RunningTaskInfo? | <p>I want to get context from the below code.</p>
<p>I have not able to find the how to get activity so please help me in same.</p>
<p><strong>CODE :</strong></p>
<pre><code>ActivityManager mActivityManager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
List<ActivityManager.RunningTaskInfo> Ru... | I want to get context from the below code. I have not able to find the how to get activity so please help me in same. CODE : [CODE] Thanks in Advance | android|android-context | 0 | 2015-02-21T06:19:18.347Z | 2,015 | 2 | 6 | 5 | 1,459 | 1 | 149 | 56 | 2 | 1 | true | false | false | false | false | false | zero |
28,642,833 | Android development, how to load only sector on a map? | <p>I'm a newbie and i have a question. I'm developing a Map Application. But i only want to load a sector on a map, not all whole world. (for example: only New York city instead of all America). Can you help my with a clue, a tutorial, or just a "key word", then i can find it.
Thanks for your help !
(And sorry for my E... | I'm a newbie and i have a question. I'm developing a Map Application. But i only want to load a sector on a map, not all whole world. (for example: only New York city instead of all America). Can you help my with a clue, a tutorial, or just a "key word", then i can find it. Thanks for your help ! (And sorry for my Engl... | android|dictionary|fragment|sector | 0 | 2015-02-21T06:20:00.717Z | 2,015 | 2 | 6 | 5 | 34 | 0 | 324 | 54 | 4 | 0 | false | true | false | false | false | false | zero |
28,642,872 | onOptionsItemSelected ActionBarActivity doesn't respect false return | <p>I have some code that looks like this in an <code>ActionBarActivity</code>:</p>
<pre><code>@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
Intent returnIntent = new Intent();
if (isNameNull()) {
n... | I have some code that looks like this in an ActionBarActivity : [CODE] This code is just supposed to display an error in the EditText. It worked fine when I was using FragmentActivty . But when I switched to ActionBarActivity with ToolBar this code displays the error and navigates back to parent activity. This could be... | android|menu|toolbar | 0 | 2015-02-21T06:25:19.843Z | 2,015 | 2 | 6 | 5 | 398 | 1 | 488 | 68 | 3 | 1 | true | false | false | false | false | false | zero |
28,642,934 | How to show if ParseUser is online? | <p>I have implemented Parse in android app.Now suppose there are two users in my app A and B.Now if B is online I am trying to maintain a boolean variable isOnline to check the status of the user.Now B is able to continuosly check this variable whether user is online.But I am trying to set isOnline false as soon as B i... | I have implemented Parse in android app.Now suppose there are two users in my app A and B.Now if B is online I am trying to maintain a boolean variable isOnline to check the status of the user.Now B is able to continuosly check this variable whether user is online.But I am trying to set isOnline false as soon as B is n... | android|parse-platform | 0 | 2015-02-21T06:35:37.027Z | 2,015 | 2 | 6 | 5 | 489 | 1 | 561 | 35 | 2 | 0 | false | false | false | false | false | false | zero |
28,642,954 | Index out of bound exception in Spinner OnItemSelected | <p>I have a spinner inside listview.</p>
<p>adapter for list</p>
<pre><code>listQuantities = database.getItemQuantities(id);
Log.d("List size", listQuantities.size()); //getting 2 in first row
QuantityArrayAdapter adapter = new QuantityArrayAdapter(context, R.layout.spinner_item_black, listQuantities);
spQuantity.set... | I have a spinner inside listview. adapter for list [CODE] adapter for spinner [CODE] The spinner has populated correctrly. But while selecting an item, it is showing index out of bound. | android|list|spinner|indexoutofboundsexception | 0 | 2015-02-21T06:38:24.817Z | 2,015 | 2 | 6 | 5 | 660 | 0 | 185 | 54 | 4 | 2 | true | true | false | false | false | false | zero |
28,642,960 | The project is using an unsupported version of the Android Gradle plug-in (0.13.2). The recommended version is 1.0.0-rc2 | <p>How do I update Android Gradle in Adroid Studio? I'm using Android Studio 0.9.9.</p>
<p>I'm getting this error when I try to run my Android project:</p>
<pre><code>Error:The project is using an unsupported version of the Android Gradle plug-in (0.13.2). The recommended version is 1.0.0-rc2.
<a href="fixGradleEl... | How do I update Android Gradle in Adroid Studio? I'm using Android Studio 0.9.9. I'm getting this error when I try to run my Android project: [CODE] update: clicking the fix link that shows up brings this up: [CODE] | android|android-studio|gradle | 0 | 2015-02-21T06:38:58.613Z | 2,015 | 2 | 6 | 5 | 62 | 0 | 215 | 120 | 3 | 2 | true | true | false | false | false | false | zero |
28,643,058 | Parsing Data for android-21 failed Unsupported major.minor version 51.0 in mac os Eclipse | <blockquote>
<p>i am using Mac os x Yosemite version 10.10.1 And Eclipse Luna 4.4 </p>
<p>i integrated Android SDK into Eclipse and it showing the Following Error</p>
</blockquote>
<p><img src="https://i.stack.imgur.com/IowPo.png" alt="when i open the project its says like this"></p>
<blockquote>
<p>i search... | i am using Mac os x Yosemite version 10.10.1 And Eclipse Luna 4.4 i integrated Android SDK into Eclipse and it showing the Following Error i searched in net and i came to know that this problem is based on java JDK version problem. in My mac i installed JDK 1.6 and 1.7 and 1.8 as well. i know JDK 1.6 will not support f... | macos|eclipse-plugin|android-sdk-tools|java-6 | 6 | 2015-02-21T06:50:32.067Z | 2,015 | 2 | 6 | 5 | 4,817 | 3 | 773 | 89 | 4 | 0 | false | false | true | false | false | false | medium |
28,643,112 | Video Concatenating in FFMPEG | <p>I am trying to concatenate a couple of video files with ffmpeg for this i use </p>
<pre><code>.././ffmpeg -i 01.mov -i op_IMG_20150221114715.mp4 -i 02.mov -i op_IMG_20150221114724.mp4 -i op_IMG_20150221114736.mp4 -strict -2 -filter_complex '[0:0] setsar=1/1[sarfix];[sarfix] [0:1] [1:0] [1:1] [2:0] [2:1] [3:0] [3:1]... | I am trying to concatenate a couple of video files with ffmpeg for this i use [CODE] and it outputs this error [CODE] The issue seems like I need to apply sarfix on input files 02.mov also. But I dont know the syntax for that. | android|ffmpeg|video-processing | 0 | 2015-02-21T06:57:29.217Z | 2,015 | 2 | 6 | 5 | 534 | 1 | 226 | 29 | 3 | 2 | true | false | false | false | false | false | zero |
28,643,137 | DrawerLayout: Not part of android.jar? | <p>By Using <code>DrawerLayout</code> (by using <code>android.support.v4.widget.DrawerLayout</code>)from Android support library, we are achieving the navigation drawer functionality in our Android app.</p>
<p>But this is the <strong><em>ONLY</em></strong> thing an app needs from <code>android.support.v4</code>. </p>
... | By Using DrawerLayout (by using android.support.v4.widget.DrawerLayout )from Android support library, we are achieving the navigation drawer functionality in our Android app. But this is the ONLY thing an app needs from android.support.v4 . Is there a way or a roadmap in future exist, where DrawerLayout becomes part of... | android|navigation-drawer|android-support-library | 0 | 2015-02-21T07:00:26.860Z | 2,015 | 2 | 7 | 5 | 566 | 1 | 717 | 38 | 3 | 0 | false | false | false | false | false | false | zero |
28,643,147 | Showing Null Pointer Exception Calling From Static Method Android | <p>There are three class History, Databasehandlreone, DatabaseHandler. In History call there is one static method named addHistory(Record record). it calling the non static method which is in same class named calling(String u).</p>
<p>History</p>
<pre><code> class History extends Activity{
public static long a... | There are three class History, Databasehandlreone, DatabaseHandler. In History call there is one static method named addHistory(Record record). it calling the non static method which is in same class named calling(String u). History [CODE] In calling function, it calls the function named good which is in another class ... | java|android|android-sqlite|static-methods | 0 | 2015-02-21T07:01:55.340Z | 2,015 | 2 | 7 | 5 | 49 | 0 | 615 | 65 | 4 | 4 | true | true | false | false | false | false | zero |
28,643,205 | How do I properly setup Android Studio to work with GenyMotion? | <p>I am using Android Studio 1.1 and GenyMotion 2.3.1</p>
<p>I have followed many guides online but I am unable to run my apks through Genymotion.</p>
<p>This is what I get when I try to run something:-</p>
<p><img src="https://i.stack.imgur.com/3FLnn.png" alt="enter image description here"></p>
<p>When I click "<s... | I am using Android Studio 1.1 and GenyMotion 2.3.1 I have followed many guides online but I am unable to run my apks through Genymotion. This is what I get when I try to run something:- When I click " Run " I get a " Configuration is Still Incorrect. Do you want to edit it again.? " with two options :- " Edit " and " C... | android|android-studio|genymotion | 0 | 2015-02-21T07:09:09.117Z | 2,015 | 2 | 7 | 5 | 1,656 | 3 | 366 | 63 | 3 | 0 | false | false | false | false | false | false | zero |
28,643,208 | how to add fragment in blank activity created in android studio | <p>I am trying to add fragment in my main activity which I'd created as blank activity. I actually want to launch zxing module by button click from my app.</p>
<p>I removed 3 lines of code from oncreate method and inserted it in onClick method of PlaceholderFragment class.</p>
<p>but fragment is not working properly.... | I am trying to add fragment in my main activity which I'd created as blank activity. I actually want to launch zxing module by button click from my app. I removed 3 lines of code from oncreate method and inserted it in onClick method of PlaceholderFragment class. but fragment is not working properly. I could not unders... | android|android-fragments|android-studio | -1 | 2015-02-21T07:09:17.713Z | 2,015 | 2 | 7 | 5 | 23,078 | 1 | 454 | 63 | 3 | 3 | true | false | true | true | false | true | negative |
28,643,210 | Unknown callstack Android | <p>My android native application[5.0] crashes randomly but frequently.</p>
<p>I don't have any proper info from the call stack.</p>
<p>02-20 06:13:09.367 3085 3085 I DEBUG : backtrace:
02-20 06:13:09.367 3085 3085 I DEBUG : #00 pc 00010014
02-20 06:13:09.367 3085 3085 I DEBUG : #01 pc 000ab30c ... | My android native application[5.0] crashes randomly but frequently. I don't have any proper info from the call stack. 02-20 06:13:09.367 3085 3085 I DEBUG : backtrace: 02-20 06:13:09.367 3085 3085 I DEBUG : #00 pc 00010014 02-20 06:13:09.367 3085 3085 I DEBUG : #01 pc 000ab30c And from the stack also not getting any us... | android | 0 | 2015-02-21T07:09:50.490Z | 2,015 | 2 | 7 | 5 | 677 | 0 | 921 | 25 | 1 | 0 | false | true | false | false | false | false | zero |
28,643,223 | options menu background is translucent | <p>I have the following code for an options menu intended for Android versions starting on 2.3.3</p>
<pre><code>private static final int ECHO_MENU_ITEM = 7;
private static final int BEEP_PROMPT_MENU_ITEM = 8;
@Override
public boolean onCreateOptionsMenu(Menu menu) {
menu.add(Menu.NONE, ECHO_MENU_ITEM, 0, "Echo")... | I have the following code for an options menu intended for Android versions starting on 2.3.3 [CODE] When I click on the "Menu" button on my Samsung Galaxy S4 running Android 4.4.4 The menu pops up on the bottom left corner, but it has a translucent background. How can I make it opaque instead? I am not using an action... | android|menu|background|transparent | 3 | 2015-02-21T07:11:15.673Z | 2,015 | 2 | 7 | 5 | 201 | 0 | 324 | 38 | 4 | 1 | true | true | false | false | false | false | low |
28,643,255 | Cordova InAppBrowser and shared cookie with webview | <p>Apparently, InAppBrowser does not store the current session cookie when using _blank on Android. Is there some setting that I'm missing in order to make this possible? It seems to work flawlessly on IOS and is mildly frustrating to troubleshoot. The cookie needs to be there for when the callback from oAuth happens a... | Apparently, InAppBrowser does not store the current session cookie when using _blank on Android. Is there some setting that I'm missing in order to make this possible? It seems to work flawlessly on IOS and is mildly frustrating to troubleshoot. The cookie needs to be there for when the callback from oAuth happens and ... | android|angularjs|cordova|cookies|inappbrowser | 11 | 2015-02-21T07:17:26.327Z | 2,015 | 2 | 7 | 5 | 6,588 | 2 | 719 | 51 | 5 | 0 | false | false | true | false | true | false | medium |
28,643,273 | save images in specific sdcard folder | <p>file hase created and also display but it store in by default dcim folder </p>
<pre><code>public class MainActivity extends Activity {
Button camera;
ImageView mImageView;
static final int REQUEST_TAKE_PHOTO = 1;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCr... | file hase created and also display but it store in by default dcim folder [CODE] why storageDir folder has not created ? how can i create a folder ? and store images in particular folder give me some code which help me thanks in andvace | java|android|image|camera | 2 | 2015-02-21T07:19:28.293Z | 2,015 | 2 | 7 | 5 | 263 | 1 | 236 | 37 | 4 | 1 | true | false | false | false | false | false | low |
28,643,276 | Should i get expire time After cancel Subscription without Google API? | <p>Should i get expire time After cancel Subscription without Google API?</p>
<pre><code>{
"orderId": "1299974343434705758.13875232327338313",
"packageName": "com.test.99",
"productId": "test_99",
"purchaseTime": 1423213027496,
"purchaseState": 0,
"purchaseToken": "noimmjfcnmafdojafpjhfmde.AO-... | Should i get expire time After cancel Subscription without Google API? [CODE] If "purchaseState": 1 but its expire or not how i can check? | android|subscription|in-app | 0 | 2015-02-21T07:19:44.387Z | 2,015 | 2 | 7 | 5 | 126 | 1 | 138 | 70 | 3 | 1 | true | false | false | false | false | false | zero |
28,643,277 | Dialog box title text size in Android | <p>I am working on an Android application in which I want to set the text size of my dialog box. I have used the following code an XML for textview but it is only setting the size of my fields. I want to set the text size and color of my title as well.</p>
<pre><code>final CharSequence[] items = { "Fake Request", "Abu... | I am working on an Android application in which I want to set the text size of my dialog box. I have used the following code an XML for textview but it is only setting the size of my fields. I want to set the text size and color of my title as well. [CODE] | android|android-alertdialog | 8 | 2015-02-21T07:20:17.300Z | 2,015 | 2 | 7 | 5 | 19,763 | 7 | 256 | 37 | 2 | 1 | true | false | true | true | false | false | medium |
28,643,295 | Storing and streaming mpeg4 | <p>My app needs to store mpg4 files on a server and be able to quickly grab them and stream them via the MediaPlayer. I have been using AWS S3 to store them after recording from my app but when I go ahead and grab them to stream them through the MediaPlayer it is sometimes fast but often slow. I was just hoping for a l... | My app needs to store mpg4 files on a server and be able to quickly grab them and stream them via the MediaPlayer. I have been using AWS S3 to store them after recording from my app but when I go ahead and grab them to stream them through the MediaPlayer it is sometimes fast but often slow. I was just hoping for a litt... | android|video|amazon-web-services|amazon-s3|streaming | 0 | 2015-02-21T07:22:45.310Z | 2,015 | 2 | 7 | 5 | 64 | 1 | 503 | 27 | 5 | 0 | false | false | false | false | false | false | zero |
28,643,325 | get a number from string and paste it to caller-numpad in android | <p>I am trying to experiment the numpad.
I have a string which consists a number "115" and a button.When I click the button, the app closes and the android phone's caller num-pad appears with the number "115".
So I searched over the internet but wasn't able to get a good tutorial or hint on how to this </p> | I am trying to experiment the numpad. I have a string which consists a number "115" and a button.When I click the button, the app closes and the android phone's caller num-pad appears with the number "115". So I searched over the internet but wasn't able to get a good tutorial or hint on how to this | android | -1 | 2015-02-21T07:26:34.153Z | 2,015 | 2 | 7 | 5 | 110 | 1 | 300 | 65 | 1 | 0 | false | false | false | false | false | true | negative |
28,643,358 | AndroidViewClient install for Windows 7 | <p>I install Python version 2.7.9 for Windows 7, python is setup under the folder C:\Python27 and the subfolder Scripts has well the file easy_install.exe, then from the command line I run the command "easy_install --upgrade androidviewclient" as mentioned on the AndroidViewClient wiki page. The package is unstalled un... | I install Python version 2.7.9 for Windows 7, python is setup under the folder C:\Python27 and the subfolder Scripts has well the file easy_install.exe, then from the command line I run the command "easy_install --upgrade androidviewclient" as mentioned on the AndroidViewClient wiki page. The package is unstalled under... | android|python|windows|automation|androidviewclient | 1 | 2015-02-21T07:32:39.373Z | 2,015 | 2 | 7 | 5 | 729 | 2 | 709 | 39 | 5 | 0 | false | false | false | false | false | false | low |
28,643,367 | Facebook Graph Api search in android | <p>Just want to search all the events in a particular location by using new request in graph api,but error throws.</p>
<pre><code> //Request for events
new Request(
session,
"/search?q=dubai&type=event",
null,
... | Just want to search all the events in a particular location by using new request in graph api,but error throws. [CODE] Permission:- [CODE] output:- [CODE] suggest some way to solve it. | android|facebook-graph-api|sdk | 3 | 2015-02-21T07:33:45.973Z | 2,015 | 2 | 7 | 5 | 957 | 3 | 184 | 36 | 3 | 3 | true | false | false | false | false | false | low |
28,643,383 | twitter4j TwitterStream onDirectMessage doesn't work | <p>I have a service in Android that uses UserStreamListener to constantly check to see if the user has new tweets. It works perfectly in <code>onStatus(Status status),</code> but when I try and test it using <code>onDirectMessage(DirectMessage dm),</code> nothing displays. </p>
<p>I have the correct permissions (Read,... | I have a service in Android that uses UserStreamListener to constantly check to see if the user has new tweets. It works perfectly in onStatus(Status status), but when I try and test it using onDirectMessage(DirectMessage dm), nothing displays. I have the correct permissions (Read, Write and Access direct messages) ena... | java|android|twitter|twitter4j | 1 | 2015-02-21T07:36:01.150Z | 2,015 | 2 | 7 | 5 | 227 | 0 | 355 | 52 | 4 | 1 | true | true | false | false | false | false | low |
28,643,397 | Android tombstones are not always generated. How to enforce its generation? | <p>I'm trying to debug an unreal engine 4 native application (a game I made). Sometimes I see a "tombstone" is generated when the game crashes. But not always ...</p>
<p>Is there any way to enforce tombstones generation? why it isn't generated everytime my game crashes?</p>
<p>Thanks in advance</p> | I'm trying to debug an unreal engine 4 native application (a game I made). Sometimes I see a "tombstone" is generated when the game crashes. But not always ... Is there any way to enforce tombstones generation? why it isn't generated everytime my game crashes? Thanks in advance | android | 6 | 2015-02-21T07:38:02.737Z | 2,015 | 2 | 7 | 5 | 7,964 | 2 | 278 | 75 | 1 | 0 | false | false | true | false | false | false | medium |
28,643,432 | Undefined constructor at Constants.java | <p>In the fragment class inside Asynctask I am getting a constructor undefined error.</p>
<pre><code>protected String doInBackground(String... f_url) {
..............
.............
File file = new File(Constants.getAudioStoragePath()); --->Undefined constructor
//this will be used to write the downloaded data i... | In the fragment class inside Asynctask I am getting a constructor undefined error. [CODE] Constants.java: [CODE] Anyone can help me with this what parameter I have to pass it.Thank you. | java|android | 0 | 2015-02-21T07:43:09.883Z | 2,015 | 2 | 7 | 5 | 99 | 2 | 185 | 39 | 2 | 2 | true | false | false | false | false | false | zero |
28,643,433 | No Dagger2 generated files for JUnit tests | <p>A new AndroidStudio 1.1 version introduced the unit testing support. This URL <a href="http://tools.android.com/tech-docs/unit-testing-support">http://tools.android.com/tech-docs/unit-testing-support</a> provides step-by-step instruction how to setup IDE to run JUnit tests for Android sources.</p>
<p>This plugin <a... | A new AndroidStudio 1.1 version introduced the unit testing support. This URL http://tools.android.com/tech-docs/unit-testing-support provides step-by-step instruction how to setup IDE to run JUnit tests for Android sources. This plugin https://bitbucket.org/hvisser/android-apt used to provide Dagger2 generated files t... | android|dependency-injection|dagger|dagger-2 | 7 | 2015-02-21T07:43:13.057Z | 2,015 | 2 | 7 | 5 | 1,049 | 1 | 846 | 42 | 4 | 0 | false | false | false | false | false | false | medium |
28,643,482 | Processdialog just doesn't show up | <p>In my android application, I have written a async task which fetches geo location data from google app engine datastore.All works fine, except that process dialog doesn't show no matter what I do. I have followed all available tutorials etc but of no avail.</p>
<p>Here is what I do:</p>
<p>I have an activity to sh... | In my android application, I have written a async task which fetches geo location data from google app engine datastore.All works fine, except that process dialog doesn't show no matter what I do. I have followed all available tutorials etc but of no avail. Here is what I do: I have an activity to show map data. [CODE]... | android|dictionary|progressdialog | 0 | 2015-02-21T07:50:29.683Z | 2,015 | 2 | 7 | 5 | 75 | 2 | 487 | 34 | 3 | 2 | true | false | false | false | false | false | zero |
28,643,578 | Set progress in ProgressWheel for download files | <p>I have a list view. When user selects an item of my list view, I open DetailActivity that user can download a file in that activity and I show the user download percentage using <code>ProgressWheel</code>.</p>
<p>My problem is when user closes the activity and then returns back to activity, the <code>ProgressWheel<... | I have a list view. When user selects an item of my list view, I open DetailActivity that user can download a file in that activity and I show the user download percentage using ProgressWheel . My problem is when user closes the activity and then returns back to activity, the ProgressWheel doesn't update anymore. Here ... | android|android-asynctask|download | 1 | 2015-02-21T08:02:39.733Z | 2,015 | 2 | 8 | 5 | 268 | 0 | 473 | 48 | 3 | 1 | true | true | false | false | false | false | low |
28,643,633 | Changing orientation of a particular page in android | <p>I am working on an android app in Qt and c++. My whole application has portrait orientation.But when i play a video i want to change the orientation to landscape, and after video ends it should again change to portrait. </p>
<p>So the question is How is it possible to set the screen to landscape or portrait modes i... | I am working on an android app in Qt and c++. My whole application has portrait orientation.But when i play a video i want to change the orientation to landscape, and after video ends it should again change to portrait. So the question is How is it possible to set the screen to landscape or portrait modes in a Qt/C++ a... | java|android|c++|qt|qtandroidextras | 2 | 2015-02-21T08:11:46.813Z | 2,015 | 2 | 8 | 5 | 971 | 2 | 343 | 52 | 5 | 0 | false | false | false | false | false | false | low |
28,643,667 | Loss files when use getExternalStorageDirectory | <p>I am store files in subdirectory of getExternalStorageDirectory (memory card).
But sometimes users write to me that they are losing files.
why users lose their files? Maybe they remove sdcard? But if they have no sdcard?</p> | I am store files in subdirectory of getExternalStorageDirectory (memory card). But sometimes users write to me that they are losing files. why users lose their files? Maybe they remove sdcard? But if they have no sdcard? | android | 0 | 2015-02-21T08:17:03.570Z | 2,015 | 2 | 8 | 5 | 33 | 1 | 220 | 47 | 1 | 0 | false | false | false | false | false | false | zero |
28,643,690 | What is most efficient way for loading big amount of data from CSV file in Android? | <p>I have 15MB csv file (350 000 lines). I have problem with loading this data. I have tried:</p>
<p>1) Loading file data to memory: quite fast (about 7 seconds), but I'm receiving OutOfMemory error and OS closes my app. Even without this error, it's not perfect solution to load data for 7 seconds during each applicat... | I have 15MB csv file (350 000 lines). I have problem with loading this data. I have tried: 1) Loading file data to memory: quite fast (about 7 seconds), but I'm receiving OutOfMemory error and OS closes my app. Even without this error, it's not perfect solution to load data for 7 seconds during each application start. ... | java|android|csv | 0 | 2015-02-21T08:19:25.560Z | 2,015 | 2 | 8 | 5 | 432 | 1 | 765 | 83 | 3 | 0 | false | false | false | false | false | false | zero |
28,643,705 | android sqlite query slow | <p>I have a database (sqlite) where I do this query :</p>
<pre><code>String query = "SELECT * FROM "+DATABASE_TABLE+ " WHERE " +COLUM_NAME + "= ?" ;
</code></pre>
<p>then I set the Java Object accordinly, but I have a small problem. Its so slow. I have no idea why this one time query takes 1 - 2 sec. </p>
<p>Is ther... | I have a database (sqlite) where I do this query : [CODE] then I set the Java Object accordinly, but I have a small problem. Its so slow. I have no idea why this one time query takes 1 - 2 sec. Is there any feature of android where I am able to upgrade this speed ? | android|performance|sqlite | 2 | 2015-02-21T08:22:05.623Z | 2,015 | 2 | 8 | 5 | 7,083 | 1 | 265 | 25 | 3 | 1 | true | false | true | false | false | false | low |
28,643,747 | Android how to delete an object | <p>So im making an app where an arrow points towards a certain geo location point. In my program every time the phone moves a new instance of the GPSTracker class is called. The problem arises when after 10seconds of running the app freezes. I need to somehow discard gpsTracker right before a new gpsTracker is created.... | So im making an app where an arrow points towards a certain geo location point. In my program every time the phone moves a new instance of the GPSTracker class is called. The problem arises when after 10seconds of running the app freezes. I need to somehow discard gpsTracker right before a new gpsTracker is created. ` ... | java|android|gps|garbage-collection|finalize | 1 | 2015-02-21T08:28:50.373Z | 2,015 | 2 | 8 | 5 | 5,646 | 2 | 522 | 31 | 5 | 1 | true | false | true | false | false | false | low |
28,643,751 | Error 403 when trying to sign in to Google Game Services in android | <p>I'm trying to Sing In using Google Android SDK and I get A lot of errors...
I saw all the post about this and any other errors and still can't figure this out.
I check SH1, Google APIs, Linked my app, checked app_id.</p>
<p>This is my code:</p>
<pre><code> mGoogleApiClient = new GoogleApiClient.Builder(... | I'm trying to Sing In using Google Android SDK and I get A lot of errors... I saw all the post about this and any other errors and still can't figure this out. I check SH1, Google APIs, Linked my app, checked app_id. This is my code: [CODE] The errors I get: 02-21 10:07:18.920 11247-11712/com.google.android.gms E/Volle... | android|code-signing | 2 | 2015-02-21T08:29:27.937Z | 2,015 | 2 | 8 | 5 | 3,422 | 2 | 1,744 | 67 | 2 | 1 | true | false | true | false | false | false | low |
28,643,765 | BasicNetwork.performRequest: Unexpected response code 403 for http://localhost/database/login.php | <p>I am using Volley to connect to MySql database. I created the database tables and wrote the php function and below is the java code. All this was working all along but just yesterday it woke up giving this error in the logcat and its not returning any response, testing the php script using google chrome postman work... | I am using Volley to connect to MySql database. I created the database tables and wrote the php function and below is the java code. All this was working all along but just yesterday it woke up giving this error in the logcat and its not returning any response, testing the php script using google chrome postman works j... | php|android|android-volley | 7 | 2015-02-21T08:31:53.403Z | 2,015 | 2 | 8 | 5 | 15,629 | 6 | 633 | 97 | 3 | 1 | true | false | true | true | false | false | medium |
28,643,805 | Motion Event / Touch registration with two overlaying views | <p>I am currently writing a game for android. I have one normal GLSurfaceView where I am rendering my graphics and using the <code>public boolean onTouchEvent(MotionEvent me)</code> method to register touch inputs to for example turn the camera. In a separate class I programatically create a <code>FrameLayout</code> th... | I am currently writing a game for android. I have one normal GLSurfaceView where I am rendering my graphics and using the public boolean onTouchEvent(MotionEvent me) method to register touch inputs to for example turn the camera. In a separate class I programatically create a FrameLayout that contains the HUD. This is ... | android|android-layout|touch|multi-touch|motionevent | 0 | 2015-02-21T08:37:45.310Z | 2,015 | 2 | 8 | 5 | 138 | 1 | 1,092 | 59 | 5 | 0 | false | false | false | false | false | false | zero |
28,643,826 | Do BroadcastReceiver, Service, and Activity share Application object? | <p>I have among others the following components:</p>
<ul>
<li>a <code>BroadcastReceiver</code> registered in Manifest </li>
<li>a STICKY Service normally started by boot complete which processes <code>Intent</code>s from the above <code>BroadcastReceiver</code></li>
<li>an <code>Activity</code> which binds to the <cod... | I have among others the following components: a BroadcastReceiver registered in Manifest a STICKY Service normally started by boot complete which processes Intent s from the above BroadcastReceiver an Activity which binds to the Service (starting it if for some reason does not exist) Under which circumstances do these ... | android|android-activity|android-service|android-broadcast|android-context | 0 | 2015-02-21T08:41:08.050Z | 2,015 | 2 | 8 | 5 | 269 | 2 | 668 | 69 | 5 | 0 | false | false | false | false | false | false | zero |
28,643,974 | Dynamically position elements in a horizontal linearlayout | <p>Using Android API 10. I have a scenario where I need to dynamically add views to a horizontal <code>LinearLayout</code>. The layout should support 0-3 views, between views there should be a 1px vertical divider. If no view is added a placeholder text should be added in the center of the layout. The views should be c... | Using Android API 10. I have a scenario where I need to dynamically add views to a horizontal LinearLayout . The layout should support 0-3 views, between views there should be a 1px vertical divider. If no view is added a placeholder text should be added in the center of the layout. The views should be centered in the ... | android|android-layout|android-linearlayout | -1 | 2015-02-21T09:01:13.207Z | 2,015 | 2 | 9 | 5 | 634 | 1 | 441 | 58 | 3 | 1 | true | false | false | false | false | true | negative |
28,644,040 | Media.setLooping isn't worktin [Android] | <p>Hello guys i need some help with my android project :) I want when i press a button to play a sound , but i don't want this sound to end , I want it to repeat.This is my code :</p>
<pre><code>package projectill.mrme4ka.org.projectill;
import android.media.MediaPlayer;
import android.support.v7.app.ActionBarActivit... | Hello guys i need some help with my android project :) I want when i press a button to play a sound , but i don't want this sound to end , I want it to repeat.This is my code : [CODE] It is working but it doesn't play it again. It doesn't loop it. Help me please :) + Can u help me adding OFF button to that sound , if n... | android|audio|background | 1 | 2015-02-21T09:10:04.133Z | 2,015 | 2 | 9 | 5 | 661 | 1 | 391 | 40 | 3 | 1 | true | false | false | false | false | false | low |
28,644,055 | Android: Border for linear layout not displayed | <p>I am using the following code </p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
... | I am using the following code [CODE] In this border for linear layout with id linearLayout1 is not getting displayed. But when I comment the linear layout inside linearLayout1 then the border is getting properly displayed . How can I overcome the problem? | android|android-linearlayout|android-background | 0 | 2015-02-21T09:11:30.450Z | 2,015 | 2 | 9 | 5 | 414 | 5 | 255 | 47 | 3 | 1 | true | false | false | false | false | false | zero |
28,644,170 | I have an installed apk but i cannot find its path using usb with file explorer on mac | <p>I want to run Appium on an already installed app on my Android device.</p>
<p>(it's a 3rd party app. Like FB or Gmail)</p>
<p>I want to set</p>
<pre><code>File appDir = new File(classpathRoot, "../../../---");
File app = new File(appDir, "----.apk");
</code></pre>
<p>But I cannot find where is the apk installed ... | I want to run Appium on an already installed app on my Android device. (it's a 3rd party app. Like FB or Gmail) I want to set [CODE] But I cannot find where is the apk installed on my device (plugged in with USB and still don't find the apk in the file explorer) how can i easily find this apk path? | java|android|apk|appium | 0 | 2015-02-21T09:25:03.613Z | 2,015 | 2 | 9 | 5 | 813 | 1 | 299 | 86 | 4 | 1 | true | false | false | false | false | false | zero |
28,644,206 | adb logcat - missing logs | <p>I am fairly new to Android and I want to understand the activity lifecycle. The documentation on the Android developer site is really great for that, but I want to see the lifecycle in action.</p>
<p>So, I create a new simple project and in the main activity, I overwrite the methods <code>onCreate()</code>, <code>o... | I am fairly new to Android and I want to understand the activity lifecycle. The documentation on the Android developer site is really great for that, but I want to see the lifecycle in action. So, I create a new simple project and in the main activity, I overwrite the methods onCreate() , onDestroy() , onStart() , onSt... | android|logging|adb|android-logcat | 1 | 2015-02-21T09:29:21.947Z | 2,015 | 2 | 9 | 5 | 3,250 | 1 | 1,456 | 25 | 4 | 4 | true | false | true | false | false | false | low |
28,644,213 | failed to call Adapter method from fragment | <p>I am using fragments with tabs.
I have two fragments:
<code>AddTask.java</code> and <code>AddedTask.java</code></p>
<p>I have one Adaper class
Adapter.java</p>
<pre><code>public class Adapter extends BaseAdapter {
Context context;
List<Reminder_Database> lists;
TextView title, date,time,note,date_edit,time_e... | I am using fragments with tabs. I have two fragments: AddTask.java and AddedTask.java I have one Adaper class Adapter.java [CODE] above mentioned code is of adapter. Now i want number of list items in my first fragment AddTask.java but it returns null . I have tried like [CODE] but it returns null . Maybe Context of fr... | java|android|listview|android-fragments|android-adapter | 1 | 2015-02-21T09:30:21.707Z | 2,015 | 2 | 9 | 5 | 3,602 | 2 | 524 | 43 | 5 | 2 | true | false | true | false | false | false | low |
28,644,219 | Android GridLayout match_parent ignored (inner views don't strech) | <p>I have a problem with GridLayout, I need it to be match_parent, with two columns, first column should stretch to fill as much space as possible, second column should be wrap content on the right side. This is my code:</p>
<pre><code><GridLayout
android:layout_width="match_parent"
android:layout_height="w... | I have a problem with GridLayout, I need it to be match_parent, with two columns, first column should stretch to fill as much space as possible, second column should be wrap content on the right side. This is my code: [CODE] Here you can see how it looks: | android|android-gridlayout | 0 | 2015-02-21T09:31:17.607Z | 2,015 | 2 | 9 | 5 | 482 | 2 | 255 | 66 | 2 | 1 | true | false | false | false | false | false | zero |
28,644,249 | Android assets retrieve embedded font for Typeface | <p>I've managed to embed a font which I can access through Typeface.createFromAsset, however, there is also the "file:///android_asset/.." protocol.</p>
<p>I tried using "file:///android_asset/fonts/myfont.ttf" for Typeface.createFromFile, but this does not work ? Strange as I would have thought that file:///android_a... | I've managed to embed a font which I can access through Typeface.createFromAsset, however, there is also the "file:///android_asset/.." protocol. I tried using "file:///android_asset/fonts/myfont.ttf" for Typeface.createFromFile, but this does not work ? Strange as I would have thought that file:///android_asset is han... | android|file|assets|typeface | 0 | 2015-02-21T09:34:44.960Z | 2,015 | 2 | 9 | 5 | 506 | 2 | 506 | 50 | 4 | 0 | false | false | false | false | false | false | zero |
28,644,256 | Class not found error, but class definitely exists | <p>OK, so I have a project on Android Studio, but when I run the app on the emulator, it crashes. In the stack trace, there is a class not found exception for the main activity class, and by my understanding it points to a line with merely a closing brace for an if statement. </p>
<p>Here is the stack trace:</p>
<pre... | OK, so I have a project on Android Studio, but when I run the app on the emulator, it crashes. In the stack trace, there is a class not found exception for the main activity class, and by my understanding it points to a line with merely a closing brace for an if statement. Here is the stack trace: [CODE] Since I cannot... | java|android | 30 | 2015-02-21T09:35:50.770Z | 2,015 | 2 | 9 | 5 | 48,049 | 11 | 680 | 50 | 2 | 6 | true | false | true | true | true | false | high |
28,644,278 | How can I avoid repeated network requests with Picasso for resized images? | <p>When I use <a href="http://square.github.io/picasso/" rel="nofollow">Picasso</a> in different activities and monitor network requests, what I see is that the first activity creates a network request for image A. Before image A is loaded the user may tap somewhere and open a second activity which also loads image A. ... | When I use Picasso in different activities and monitor network requests, what I see is that the first activity creates a network request for image A. Before image A is loaded the user may tap somewhere and open a second activity which also loads image A. Now I see a second network request has been opened to fetch A aga... | android|image|android-lifecycle|picasso | 2 | 2015-02-21T09:38:09.827Z | 2,015 | 2 | 9 | 5 | 1,279 | 1 | 1,403 | 74 | 4 | 1 | true | false | false | false | false | false | low |
28,644,312 | How can my android app open another app, automated with appium? | <p>I want to automate an installed app on my android device using appium.</p>
<p><strong>Questions:</strong></p>
<ul>
<li>I want to automate a flow in an app like Facebook, say I want to do a
FB post on my wall. How can I do this with <a href="http://appium.io/" rel="nofollow noreferrer">appium</a>? </li>
<li>How can... | I want to automate an installed app on my android device using appium. Questions: I want to automate a flow in an app like Facebook, say I want to do a FB post on my wall. How can I do this with appium ? How can I still run the automation? [Please read below] Can I create my own app that just opens other app? In this p... | java|android|ui-automation|appium|android-uiautomator | -1 | 2015-02-21T09:42:23.770Z | 2,015 | 2 | 9 | 5 | 2,054 | 1 | 521 | 63 | 5 | 0 | false | false | false | false | false | true | negative |
28,644,364 | How to make Android app content load faster | <p>I have an Android app developed with Android studio. There is an admin panel on my server (shared hosting) where I add, delete and modify all the photos and text of the app. </p>
<p>I wanted to know if there is a way to make the content of the app load even faster for the user. Such as server requirements, settings... | I have an Android app developed with Android studio. There is an admin panel on my server (shared hosting) where I add, delete and modify all the photos and text of the app. I wanted to know if there is a way to make the content of the app load even faster for the user. Such as server requirements, settings, any additi... | android|performance|server | -1 | 2015-02-21T09:47:45.950Z | 2,015 | 2 | 9 | 5 | 481 | 1 | 346 | 43 | 3 | 0 | false | false | false | false | false | true | negative |
28,644,387 | How can i set my own images in whatsapp wallpaper? | <p>Hi I want to develop a small app. In that when a user click the wallpaper option in the whatsapp I want to add my app to the list of whatsapp. In my app if I select any image that image will be set as a wallpaper in whatsapp.</p>
<p>I have tried the with intent. But I didn't succeed. can you please help me how can ... | Hi I want to develop a small app. In that when a user click the wallpaper option in the whatsapp I want to add my app to the list of whatsapp. In my app if I select any image that image will be set as a wallpaper in whatsapp. I have tried the with intent. But I didn't succeed. can you please help me how can I achieve t... | android|list|android-intent|intentservice|whatsapp | 0 | 2015-02-21T09:50:55.843Z | 2,015 | 2 | 9 | 5 | 1,002 | 0 | 360 | 50 | 5 | 0 | false | true | false | false | false | false | zero |
28,644,423 | Android, check that a date from datepicker is not in the future | <p>In my activity, a user can select a date via datepicker. I what to ensure, that the selected date does not lie in the futur.</p>
<p>What it got so far:</p>
<pre><code>private String textStart="";
private String textEnd="";
private String setToday="";
</code></pre>
<hr>
<pre><code>calendar = Calendar.getI... | In my activity, a user can select a date via datepicker. I what to ensure, that the selected date does not lie in the futur. What it got so far: [CODE] [CODE] when i pick date from datepicker [CODE] call method showDateStart for check scope of date [CODE] but not work if i pick 1/1/2016 because today is 22/2/2015 value... | android|datepicker|compare | 0 | 2015-02-21T09:55:14.667Z | 2,015 | 2 | 9 | 5 | 1,551 | 1 | 485 | 63 | 3 | 4 | true | false | false | false | false | false | zero |
28,644,457 | How to hide password in phonegap prompt | <p>I'm building a phonegap app and I want to use prompt. Here is my code from index.js</p>
<pre><code>navigator.notification.prompt(
'Please enter your password', // message
startSmsPrompt, // callback
'Login', // title
... | I'm building a phonegap app and I want to use prompt. Here is my code from index.js [CODE] The problem is when the prompt opens and I enter the password, its in clear text (meaning, the characters aren't replaced with * or bullets). I want to hide the password. I also tried changing the code in plugins/org.apache.cordo... | android|cordova|passwords|hide|prompt | 0 | 2015-02-21T09:59:20.137Z | 2,015 | 2 | 9 | 5 | 712 | 1 | 509 | 39 | 5 | 3 | true | false | false | false | false | false | zero |
28,644,464 | How to find all image locations on Android device? | <p>How can I list all image directories on Android device? I need only directories, not image files. For example I want to receive:</p>
<pre><code>/mnt/sdcard/DCIM
/mnt/sdcard/Downloads
/mnt/sdcard/Pictures
</code></pre>
<p>etc...</p>
<p>Thank you.</p> | How can I list all image directories on Android device? I need only directories, not image files. For example I want to receive: [CODE] etc... Thank you. | android|image|location | 1 | 2015-02-21T09:59:58.303Z | 2,015 | 2 | 9 | 5 | 420 | 0 | 153 | 50 | 3 | 1 | true | true | false | false | false | false | low |
28,644,479 | eclipse treats an old Layout file as a current Layout file | <p>There was a layout file with the next editText element:
<p>I changed the name of the <strong>editText</strong> in the XML file from <strong>editText1</strong> to editText2:</p>
<pre><code> <EditText
android:id="@+id/editText2"
</code></pre>
<p>I saved the change.</p>
<p>Somehow Eclipse in the Jav... | There was a layout file with the next editText element: I changed the name of the editText in the XML file from editText1 to editText2: [CODE] I saved the change. Somehow Eclipse in the Java file doesnt recognize this change, and when I wanted to create the object by EditText myEditText=(EditText)findViewById(R.id.edit... | android|eclipse | 0 | 2015-02-21T10:02:01.383Z | 2,015 | 2 | 10 | 5 | 26 | 0 | 492 | 58 | 2 | 2 | true | true | false | false | false | false | zero |
28,644,538 | AndroidAnnotations bean initialize when OnActivityResult called | <p><strong>EDIT</strong></p>
<p>This problem is due to ViewPager+TabInfo UI structure, which child fragments are re-instanciated when <code>AddTab</code> performed. I post a reply accordingly.</p>
<p><strong>ORIGINAL POST BELOW</strong></p>
<p>In below code, the bean <code>injectedListAdapter</code> is not initializ... | EDIT This problem is due to ViewPager+TabInfo UI structure, which child fragments are re-instanciated when AddTab performed. I post a reply accordingly. ORIGINAL POST BELOW In below code, the bean injectedListAdapter is not initialized(null) but also @AfterInject and @AfterView are not executed when @OnActivityResult i... | java|android|onactivityresult|android-annotations | 0 | 2015-02-21T10:07:52.350Z | 2,015 | 2 | 10 | 5 | 337 | 1 | 478 | 63 | 4 | 1 | true | false | false | false | false | false | zero |
28,644,557 | Google App Engine Java HTTP Post Image from API Method to Servlet | <p>I hope someone can help me out.</p>
<p>I want to send a url as a string to the client endpoint function and then I want the endpoint function to download the image and send it then via a HTTP Post request to my servlet (also running on GAE).</p>
<p>The problem is - there is no image posted at all.</p>
<p>It's str... | I hope someone can help me out. I want to send a url as a string to the client endpoint function and then I want the endpoint function to download the image and send it then via a HTTP Post request to my servlet (also running on GAE). The problem is - there is no image posted at all. It's strange because if I use the e... | java|android|google-app-engine|servlets|google-cloud-datastore | 5 | 2015-02-21T10:10:03.987Z | 2,015 | 2 | 10 | 5 | 723 | 1 | 706 | 65 | 5 | 4 | true | false | false | false | false | false | low |
28,644,586 | Tizen sample code not running | <p>I've recently downloaded the Tizen SDK and I'm now trying to run a sample code (the sample Calculator project) just to see if everything works.
Well, it doesn't and I don't understand why. </p>
<p>Here's my problem: I have an emulator (which is launched, no problem so far) but when I run the project, I've got error... | I've recently downloaded the Tizen SDK and I'm now trying to run a sample code (the sample Calculator project) just to see if everything works. Well, it doesn't and I don't understand why. Here's my problem: I have an emulator (which is launched, no problem so far) but when I run the project, I've got errors (missing .... | android|eclipse|configuration|tizen | 0 | 2015-02-21T10:13:16.657Z | 2,015 | 2 | 10 | 5 | 296 | 2 | 604 | 29 | 4 | 1 | 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.