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,607,550 | LG G3 doesn't use image from xxxhdpi if there are alternatives — as a result, image is blurred | <p>Say, I have an ImageView with both sizes set to <code>wrap_content</code>, and it has some image: <code>android:src="@drawable/xyz"</code>.</p>
<p>If this image appears only in <code>xxxhdpi</code> folder, then everything is fine. However, if it appears in <strong>any</strong> of the other drawable directo... | Say, I have an ImageView with both sizes set to wrap_content , and it has some image: android:src="@drawable/xyz" . If this image appears only in xxxhdpi folder, then everything is fine. However, if it appears in any of the other drawable directories (xxhdpi, xhdpi, hdpi, mdpi, or even sw320dp), then it doesn... | android|scala|sbt|dpi | 0 | 2015-02-19T13:23:42.110Z | 2,015 | 2 | 13 | 3 | 951 | 2 | 1,088 | 94 | 4 | 0 | false | false | false | false | false | false | zero |
28,607,574 | How To Get State When VideoView Stop Playing Due To Buffer in middle of playing | <p>I tried the below code but did not worked for me</p>
<pre><code>videoView.setOnInfoListener(new MediaPlayer.OnInfoListener() {
@Override
public boolean onInfo(MediaPlayer mediaPlayer, int what, int i2) {
if (what == mediaPlayer.MEDIA_INFO_BUFFERING_START){
... | I tried the below code but did not worked for me [CODE] I have to get every state when videoview stop playing video due to buffering so that I can show progressbar for buffering state. Any help would be appreciable. | android|android-videoview | 1 | 2015-02-19T13:24:45.227Z | 2,015 | 2 | 13 | 3 | 581 | 0 | 215 | 79 | 2 | 1 | true | true | false | false | false | false | low |
28,607,654 | Can An EditText be added to a custom spinner? | <p>As the title says, can this be done i.e custom spinner having the first row as an EditText that can filter the ArrayAdapter of that spinner (same as a search in a ListView)?</p> | As the title says, can this be done i.e custom spinner having the first row as an EditText that can filter the ArrayAdapter of that spinner (same as a search in a ListView)? | android|filter|spinner | 0 | 2015-02-19T13:28:29.630Z | 2,015 | 2 | 13 | 3 | 173 | 0 | 173 | 45 | 3 | 0 | false | true | false | false | false | false | zero |
28,607,695 | How to uncheck radio button in different listview in same layout.? | <p>I have cleared many problems about radio buttons but this was in my mind since many days. I have 5 radio buttons in different list view please tell me how to uncheck any radio button while accessing other and get the value of selected radio button.
following are the codes.</p>
<p>custom_dialogue.xml</p>
<pre><cod... | I have cleared many problems about radio buttons but this was in my mind since many days. I have 5 radio buttons in different list view please tell me how to uncheck any radio button while accessing other and get the value of selected radio button. following are the codes. custom_dialogue.xml [CODE] CustomDialogue.java... | android|android-layout|radio-button|radio-group | 2 | 2015-02-19T13:30:35.743Z | 2,015 | 2 | 13 | 3 | 542 | 1 | 327 | 66 | 4 | 2 | true | false | false | false | false | false | low |
28,607,709 | Display Text with ImageView in Gridlayout | <p>I have already achieved this with GridView but because I was not able to span columns in GridView(which I can only achieve with GridLayout), I have to do same with Gridlayout. </p>
<p>Has anyone been able to achieve this with GridLayout?</p>
<p><img src="https://i.stack.imgur.com/iYh7W.png" alt="ImageView with Tex... | I have already achieved this with GridView but because I was not able to span columns in GridView(which I can only achieve with GridLayout), I have to do same with Gridlayout. Has anyone been able to achieve this with GridLayout? I was adding view to the GridLayout like this: [CODE] I decided to add a FrameLayout with ... | java|android|view|android-gridlayout | 0 | 2015-02-19T13:31:23.017Z | 2,015 | 2 | 13 | 3 | 1,705 | 1 | 400 | 41 | 4 | 2 | true | false | false | false | false | false | zero |
28,607,737 | In Android, what Layout is faster 1. FrameLayouts inside LinearLayout or 2. One big RelativeLayout? | <p>I am considering two different layout arrangements for a view (which will be a row in a RecyclerView). They are different, but they will both work, either as</p>
<ol>
<li>One container vertical LinearLayout containing rows of FrameLayouts e.g. LinearLayout -> FrameLayouts -> Content</li>
<li>One big RelativeLayout ... | I am considering two different layout arrangements for a view (which will be a row in a RecyclerView). They are different, but they will both work, either as One container vertical LinearLayout containing rows of FrameLayouts e.g. LinearLayout -> FrameLayouts -> Content One big RelativeLayout that contains all other vi... | android|layout|android-linearlayout|android-relativelayout|android-recyclerview | 3 | 2015-02-19T13:33:08.347Z | 2,015 | 2 | 13 | 3 | 4,982 | 2 | 863 | 99 | 5 | 0 | false | false | true | false | false | false | low |
28,607,751 | Application crashes when I press back button using AsyncTask | <p>I am trying to use AsyncTask and the activity is working perfectly but I am facing a problem. The problem comes after I have pressed back button, because pressing this button my app crashes. I have seen other posts saying that I must cancel the task in onStop() and onDestroy() but still crashes. Does anyone have any... | I am trying to use AsyncTask and the activity is working perfectly but I am facing a problem. The problem comes after I have pressed back button, because pressing this button my app crashes. I have seen other posts saying that I must cancel the task in onStop() and onDestroy() but still crashes. Does anyone have any id... | android-asynctask | 1 | 2015-02-19T13:33:45.650Z | 2,015 | 2 | 13 | 3 | 262 | 1 | 351 | 60 | 1 | 1 | true | false | false | false | false | false | low |
28,607,770 | Android - Retrofit exception Expected BEGIN_OBJECT but was BEGIN_ARRAY | <p>I am new to GSON and retrofit, Here is my output model (Just for reference structure),</p>
<pre><code> public class Result1
{
public int TotalCount { get; set; }
}
public class Result2
{
public int PostId { get; set; }
public int PostTypeId { get; set; }
public st... | I am new to GSON and retrofit, Here is my output model (Just for reference structure), [CODE] Here is my output [CODE] This is my retrofit code [CODE] Expected BEGIN_OBJECT but was BEGIN_ARRAY" I have tried replacing RootObject With List < Result2 > since I am only interested in result 2.In that case I am getting the r... | android|gson|retrofit | 0 | 2015-02-19T13:34:44.743Z | 2,015 | 2 | 13 | 3 | 1,258 | 1 | 348 | 70 | 3 | 3 | true | false | false | false | false | false | zero |
28,607,923 | cannot load data from sqlite in navigation drawer fragment | <p>In my app i am using Navigation drawer and also sqlite database to display data from sqlite in the fragments.When i click on one of the navigation element i.e Search hospitals it should load data from the db but then the app flashes "unfortunately app was closed".</p>
<p>Below is the code of the fragment,</p>
<pre... | In my app i am using Navigation drawer and also sqlite database to display data from sqlite in the fragments.When i click on one of the navigation element i.e Search hospitals it should load data from the db but then the app flashes "unfortunately app was closed". Below is the code of the fragment, [CODE] and this is m... | android|sqlite|android-fragments | -1 | 2015-02-19T13:41:38.363Z | 2,015 | 2 | 13 | 3 | 929 | 1 | 394 | 58 | 3 | 3 | true | false | false | false | false | true | negative |
28,607,952 | Android Export to CSV While Showing Progress Dialog not Writing to Files (Blank Files) | <p>Am using the opencsv library to export data from sqlite to csv. The code shown below works well when used in activity but the same is not working while implemented using a progress dialog. The files are created but are empty. Seems like the thread am running the export from is unable to access</p>
<p>Here is the co... | Am using the opencsv library to export data from sqlite to csv. The code shown below works well when used in activity but the same is not working while implemented using a progress dialog. The files are created but are empty. Seems like the thread am running the export from is unable to access Here is the code: [CODE] ... | android|multithreading|csv|progressdialog | 0 | 2015-02-19T13:43:24.303Z | 2,015 | 2 | 13 | 3 | 177 | 1 | 363 | 86 | 4 | 1 | true | false | false | false | false | false | zero |
28,607,966 | Can't start appium inspector and arc command from console | <p>hej everybody. I'm new in appium, so excuse for obvious questions. I need start to test with Android device/emulator using appium.
I have next configuration:</p>
<ol>
<li><p>AS 1.1.0</p></li>
<li><p>Appium.app 1.3.5</p></li>
<li>all necessary components from <a href="http://appium.io/slate/en/tutorial/android.html?... | hej everybody. I'm new in appium, so excuse for obvious questions. I need start to test with Android device/emulator using appium. I have next configuration: AS 1.1.0 Appium.app 1.3.5 all necessary components from official site Genymotion 2.3.1 my Android settings my General settings when I check settings with launchin... | android|testing|appium | 1 | 2015-02-19T13:44:18.180Z | 2,015 | 2 | 13 | 3 | 708 | 1 | 615 | 57 | 3 | 0 | false | false | false | false | false | false | low |
28,607,990 | java.lang.NullPointerException: println needs a message android database error | <p>I have made a database and it gives me this error. </p>
<p>This is the logcat.</p>
<pre><code>02-19 15:33:38.057 1273-1273/tubapps.dbtutorial E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{tubapps.dbtutorial/tubapps.dbtutorial.EditIncome}: java.lan... | I have made a database and it gives me this error. This is the logcat. [CODE] And this is my activity. [CODE] P.S. The 66 line is Log.d("incomeAmount",incomeList.get("incomeAmount")); I have found something on the internet but it doesn't solve my problem. Also I'm a beginner so please don't over react. | java|android|error-handling | -1 | 2015-02-19T13:45:36.370Z | 2,015 | 2 | 13 | 3 | 3,361 | 1 | 303 | 78 | 3 | 2 | true | false | true | false | false | true | negative |
28,608,105 | android:: how to set app icon on app data directory in external storage , | <p>I want to show my android Application data directory on external storage like shown in image (with icon).
I am currently using simple directory to store files. </p>
<p>please give your thoughts on this .
thanks in advance ..</p>
<p><a href="http://i.stack.imgur.com/fQbtH.png" rel="nofollow">http://i.stack.i... | I want to show my android Application data directory on external storage like shown in image (with icon). I am currently using simple directory to store files. please give your thoughts on this . thanks in advance .. http://i.stack.imgur.com/fQbtH.png | android|android-external-storage | 0 | 2015-02-19T13:51:05.117Z | 2,015 | 2 | 13 | 3 | 506 | 1 | 251 | 73 | 2 | 0 | false | false | false | false | false | false | zero |
28,608,163 | AsyncTask and MainActivity in separated files | <p>I'm trying to separate my AsyncTask class and MainActivity class by putting them in other files.
Here is my fully-working program:</p>
<pre><code>package com.example.kamilh.pierwsza;
import android.location.Address;
import android.location.Criteria;
import android.location.Geocoder;
import android.location.Locati... | I'm trying to separate my AsyncTask class and MainActivity class by putting them in other files. Here is my fully-working program: [CODE] Now, I'd like to be able to clean up a bit my code, so I decided to separate those two classes. I saw this example (above) and I tried to implement this solution in my project, but i... | java|android|android-asynctask | -1 | 2015-02-19T13:54:31.797Z | 2,015 | 2 | 13 | 3 | 97 | 4 | 565 | 45 | 3 | 4 | true | false | false | false | false | true | negative |
28,608,173 | FATAL EXCEPTION: main | <p>/* I havent made any changes in he code..previously it was running properly.I donno why it showing runtime exception when executed. Please help */</p>
<pre><code> package com.example.klarity;
import java.io.BufferedReader;
import java.io.IOExce... | /* I havent made any changes in he code..previously it was running properly.I donno why it showing runtime exception when executed. Please help */ [CODE] } This is what logCat is showing : [CODE] /* This is the problem occuring sudenly..No changes are made to code. I was running soothly before. | java|android | -1 | 2015-02-19T13:55:00.330Z | 2,015 | 2 | 13 | 3 | 72 | 1 | 295 | 21 | 2 | 2 | true | false | false | false | false | true | negative |
28,608,184 | Repaint/Invalidate Fragment View | <p>I have an activity with a fragment, which contains different views for User Input.
Whenever this fragment changes, the view seems not to be updated, as you can see in the screenshot below.</p>
<p><img src="https://i.stack.imgur.com/9XlZj.png" alt="fragment view"></p>
<p>I also tried to invalidate the view. What am... | I have an activity with a fragment, which contains different views for User Input. Whenever this fragment changes, the view seems not to be updated, as you can see in the screenshot below. I also tried to invalidate the view. What am I missing? [CODE] [CODE] | java|android|fragment | 2 | 2015-02-19T13:55:39.163Z | 2,015 | 2 | 13 | 3 | 845 | 1 | 258 | 32 | 3 | 2 | true | false | false | false | false | false | low |
28,608,214 | TextView - setCustomSelectionActionModeCallback how create ActionMode.Callback for when the text is selected to many TextView | <p>I have several <strong>TextView</strong> in my systems and most of them I have to call my custom <code>ActionMode.Callback</code>. </p>
<p>The question is how do I create a TextView with custom <code>ActionMode.Callback</code>?</p>
<p>today my code is that way</p>
<pre><code>mTxOne.setCustomSelectionActionMode... | I have several TextView in my systems and most of them I have to call my custom ActionMode.Callback . The question is how do I create a TextView with custom ActionMode.Callback ? today my code is that way [CODE] | android|textview|custom-controls | 1 | 2015-02-19T13:57:38.333Z | 2,015 | 2 | 13 | 3 | 4,698 | 2 | 211 | 125 | 3 | 1 | true | false | true | false | false | false | low |
28,608,232 | Get connected devices in wireless network | <p><strong>Hello,
I search how detect the devices connected in my wireless network.</strong></p>
<pre><code> public class WiFiBroadcastReceiver extends BroadcastReceiver {
private WifiP2pManager manager;
private Channel channel;
private WifiDirect activity;
private PeerListListener myPeerListListener;
... | Hello, I search how detect the devices connected in my wireless network. [CODE] But this code showed a toast contained the message : Wifi P2P is enabled what is the problem. Please help me. | java|android | 0 | 2015-02-19T13:58:25.990Z | 2,015 | 2 | 13 | 3 | 88 | 0 | 189 | 41 | 2 | 1 | true | true | false | false | false | false | zero |
28,608,247 | Play random sound on button click | <p>I want to my application play random sound when user click on button. So I don't want android natural sound, I want to play my own sound every time user click on one button. Does anyone knows the solution of this problem.</p> | I want to my application play random sound when user click on button. So I don't want android natural sound, I want to play my own sound every time user click on one button. Does anyone knows the solution of this problem. | android|button|android-activity|soundpool | 2 | 2015-02-19T13:59:09.297Z | 2,015 | 2 | 13 | 3 | 3,192 | 2 | 221 | 33 | 4 | 0 | false | false | true | false | false | false | low |
28,608,326 | Use android's libssl.so and libcrypto.so in native C code | <p>As per this link <a href="http://wiki.openssl.org/index.php/Android" rel="nofollow">"building the OpenSSL library for Android devices"</a> "some versions of the Android Java system loader will load the system's version of the OpenSSL library, even though you built and included a copy with your application."</p>
<p>... | As per this link "building the OpenSSL library for Android devices" "some versions of the Android Java system loader will load the system's version of the OpenSSL library, even though you built and included a copy with your application." So, is it possible link to the system's openssl (System level) in native C code in... | android|openssl|java-native-interface | 0 | 2015-02-19T14:02:52.600Z | 2,015 | 2 | 14 | 3 | 834 | 0 | 540 | 57 | 3 | 0 | false | true | false | false | false | false | zero |
28,608,399 | Android ListAdapter NullPointerException using Volley | <p>I'm running into a perpetual issue with getting an NPE when my ListAdapter calls getCount() after initialization. I populate my array of "Sound" items using Volley, but the app still crashes on start.</p>
<p>I've been using this tutorial for help: <a href="http://www.androidhive.info/2014/06/android-facebook-like-c... | I'm running into a perpetual issue with getting an NPE when my ListAdapter calls getCount() after initialization. I populate my array of "Sound" items using Volley, but the app still crashes on start. I've been using this tutorial for help: http://www.androidhive.info/2014/06/android-facebook-like-custom-listview-feed-... | android|android-fragments|nullpointerexception | 0 | 2015-02-19T14:06:08.277Z | 2,015 | 2 | 14 | 3 | 529 | 2 | 1,037 | 53 | 3 | 7 | true | false | false | false | false | false | zero |
28,608,404 | Spotify android SDK : How to refresh Spotify token after 1 hour? | <p>I'm looking for a good way to refresh a spotify token after one hour without calling <code>AuthenticationClient.openLoginInBrowser(context, request);</code> </p> | I'm looking for a good way to refresh a spotify token after one hour without calling AuthenticationClient.openLoginInBrowser(context, request); | android|spotify | 2 | 2015-02-19T14:06:19.253Z | 2,015 | 2 | 14 | 3 | 325 | 0 | 143 | 64 | 2 | 0 | false | true | false | false | false | false | low |
28,608,428 | Connecting client to server in chat apps like Viber or Telegram | <p>I want to create an application like Viber or WhatsApp etc. My main challenge is connecting clients and server. Right now what i know that i have to use Websockets standard for connections. For web client i want to use standard Websockets and for Android and iOS i will use libraries for them based on Websockets. For... | I want to create an application like Viber or WhatsApp etc. My main challenge is connecting clients and server. Right now what i know that i have to use Websockets standard for connections. For web client i want to use standard Websockets and for Android and iOS i will use libraries for them based on Websockets. For ex... | android|ios|web|websocket | 5 | 2015-02-19T14:07:00.137Z | 2,015 | 2 | 14 | 3 | 3,086 | 2 | 646 | 63 | 4 | 0 | false | false | true | false | false | false | low |
28,608,445 | System.currentTimeMillis() and nanoTime() not timing correctly | <p>Has anyone else had a problem where Android is measuring time intervals incorrectly?
On all my devices except my HUDL2 this code returns the correct amount of time: checked by running a stopwatch.</p>
<pre><code>long time = System.currentTimeMillis();
long timenano = System.nanoTime();
try {
Thread.sleep(12000... | Has anyone else had a problem where Android is measuring time intervals incorrectly? On all my devices except my HUDL2 this code returns the correct amount of time: checked by running a stopwatch. [CODE] Returns 12seconds, but actually takes nearer 17 seconds to run (according to a stopwatch). Nano time and millis have... | android|time | 0 | 2015-02-19T14:07:38.280Z | 2,015 | 2 | 14 | 3 | 95 | 1 | 412 | 62 | 2 | 1 | true | false | false | false | false | false | zero |
28,608,603 | Steganography attempt, why is nothing happening to my picture? | <p>I'm trying to write a message to an image saved on the users phone, and basically what my app should have done is, set the image view to the the one I just created, (I set it to add 100 to the other pixels so I can tell) however this didn't happen and I was hoping you could tell me why and how to fix it. Thanks!</p>... | I'm trying to write a message to an image saved on the users phone, and basically what my app should have done is, set the image view to the the one I just created, (I set it to add 100 to the other pixels so I can tell) however this didn't happen and I was hoping you could tell me why and how to fix it. Thanks! Code: ... | java|android|imageview|steganography | 1 | 2015-02-19T14:14:18.387Z | 2,015 | 2 | 14 | 3 | 96 | 1 | 339 | 62 | 4 | 2 | true | false | false | false | false | false | low |
28,608,691 | Letting Another to Sign an APK with My Private-Key - How? | <p>To enable another developer to sign an APK with one of my private-keys, should I give out the original KeyStore file, or would giving him only this specific key's password be enough?</p>
<p><em>Please note</em> that my question intentionally disregards the "security" aspects of giving out a private signing key. Thi... | To enable another developer to sign an APK with one of my private-keys, should I give out the original KeyStore file, or would giving him only this specific key's password be enough? Please note that my question intentionally disregards the "security" aspects of giving out a private signing key. This is not part of the... | android|apk|keystore|android-keystore | 0 | 2015-02-19T14:18:45.200Z | 2,015 | 2 | 14 | 3 | 535 | 1 | 343 | 57 | 4 | 0 | false | false | false | false | false | false | zero |
28,608,731 | After disabling Vertex Attribute Array how glDrawArrays() works? | <p>I have started learning Opengl ES 2.0 for android. I am working with code segment taken from the following site:
<a href="http://www.learnopengles.com/android-lesson-two-ambient-and-diffuse-lighting/" rel="nofollow">http://www.learnopengles.com/android-lesson-two-ambient-and-diffuse-lighting/</a>
Here is a light poi... | I have started learning Opengl ES 2.0 for android. I am working with code segment taken from the following site: http://www.learnopengles.com/android-lesson-two-ambient-and-diffuse-lighting/ Here is a light point with 4 numbers: [CODE] This lightpoint is in model space. The following function is used to draw the point ... | android|opengl-es-2.0 | 0 | 2015-02-19T14:20:16.600Z | 2,015 | 2 | 14 | 3 | 200 | 1 | 744 | 64 | 2 | 2 | true | false | false | false | false | false | zero |
28,608,834 | Nullpointer Exception in LayoutInflator | <p>I am getting a NullPointerException at LayoutInflator. ı want to do Navigation Slider Menu but ı have a error. Can you help me?</p>
<pre><code>public class CategoryAdapter extends BaseAdapter {
private FragmentActivity nav_slider_activity;
private LayoutInflater nav_slider_inflater;
private List<Mov... | I am getting a NullPointerException at LayoutInflator. ı want to do Navigation Slider Menu but ı have a error. Can you help me? [CODE] And it throws this error.. [CODE] | android|nullpointerexception | 0 | 2015-02-19T14:25:26.973Z | 2,015 | 2 | 14 | 3 | 51 | 0 | 168 | 39 | 2 | 2 | true | true | false | false | false | false | zero |
28,608,897 | How to locate file faster with over 70000+ files in android | <p>We are working on app for android. Will have over 65,000 file(small file) on disk. And our app will be doing lots of action: locate file given absolute path.</p>
<p>So we are thinking, how to organize files to optimize performance of locating file given absolute path.</p>
<p>With very limited knowledge on android... | We are working on app for android. Will have over 65,000 file(small file) on disk. And our app will be doing lots of action: locate file given absolute path. So we are thinking, how to organize files to optimize performance of locating file given absolute path. With very limited knowledge on android, here are some ques... | android|file|system | 1 | 2015-02-19T14:28:47.500Z | 2,015 | 2 | 14 | 3 | 275 | 1 | 459 | 59 | 3 | 0 | false | false | false | false | false | false | low |
28,608,908 | How to build a Kony iOS Project using commandline | <p>My aim is to build a Kony Project for the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Meet+Jenkins" rel="nofollow">Jenkins</a> CI. So basically I need to know how to build the project on the unix commandline. When using Kony Studio my project builds without issues. </p>
<p>I've already managed to build an ... | My aim is to build a Kony Project for the Jenkins CI. So basically I need to know how to build the project on the unix commandline. When using Kony Studio my project builds without issues. I've already managed to build an android .apk using ant on the build.xml in the project directory. This also builds a .kar file for... | android|ios|ant|jenkins|temenos-quantum | 1 | 2015-02-19T14:29:33.873Z | 2,015 | 2 | 14 | 3 | 2,632 | 2 | 445 | 49 | 5 | 0 | false | false | true | false | false | false | low |
28,608,923 | Questions about JNI on Android | <p>I am planning to create a software that will be compatible with both Windows CE and Android devices.</p>
<p>Nothing has been decided yet, but so far I've imagined that I could write most parts of the program using C++ code that could be reused on these two platforms, except for system-dependant things like threads.... | I am planning to create a software that will be compatible with both Windows CE and Android devices. Nothing has been decided yet, but so far I've imagined that I could write most parts of the program using C++ code that could be reused on these two platforms, except for system-dependant things like threads. C++ is hig... | java|android|c++|linux|java-native-interface | 0 | 2015-02-19T14:30:19.967Z | 2,015 | 2 | 14 | 3 | 165 | 2 | 1,409 | 30 | 5 | 0 | false | false | false | false | false | false | zero |
28,608,949 | Android: column not found | <p>i'm making my first steps with android and databases. at the moment i have the problem that android keeps telling me that my column doesn't exist and i don't know why.</p>
<p>E/SQLiteLog﹕ (1) table positions has no column named latitude</p>
<p>This is where i create my Database</p>
<pre><code>SQLiteDatabase myDB ... | i'm making my first steps with android and databases. at the moment i have the problem that android keeps telling me that my column doesn't exist and i don't know why. E/SQLiteLog﹕ (1) table positions has no column named latitude This is where i create my Database [CODE] And this is where i'm trying to add my datas [CO... | android|database|sqlite | 0 | 2015-02-19T14:31:35.070Z | 2,015 | 2 | 14 | 3 | 61 | 0 | 351 | 25 | 3 | 2 | true | true | false | false | false | false | zero |
28,609,034 | How to load Google map in background in android? | <p>I have fragment for map in XML file as below,</p>
<pre><code><fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.SupportMapFragment" >
</fragment>
</code></pre>
<p>In which activi... | I have fragment for map in XML file as below, [CODE] In which activity I am displaying the Google map, that is not a main activity. I am redirecting to map activity from my main activity on button click. There is no any problem with map. But when I click on button of main activity then the process stops for sometime an... | android|android-intent|android-activity|android-fragments|google-maps-android-api-2 | 2 | 2015-02-19T14:36:03Z | -1 | -1 | -1 | -1 | 1,795 | 1 | 551 | 48 | 5 | 1 | true | false | false | false | false | false | low |
28,609,096 | How to stop a service that is triggered periodically by the Alarm Manager | <p>I was trying out some tutorials on the use of Services to run background tasks. Also I tried out how the services can trigger the action periodically. However when I triggered the periodic service I couldnt stop it even after using the <code>stopService(intent)</code> command. Tried a variety of code but the service... | I was trying out some tutorials on the use of Services to run background tasks. Also I tried out how the services can trigger the action periodically. However when I triggered the periodic service I couldnt stop it even after using the stopService(intent) command. Tried a variety of code but the service still won't sto... | android|service|alarmmanager | 0 | 2015-02-19T14:39:04.780Z | 2,015 | 2 | 14 | 3 | 712 | 1 | 735 | 73 | 3 | 3 | true | false | false | false | false | false | zero |
28,609,110 | Custom Theme not applying in FragmentActivity | <p>My theme is not working I have seen this <a href="https://stackoverflow.com/questions/8024706/how-do-i-change-the-background-color-of-the-actionbar-of-an-actionbaractivity-us/27847656#27847656">How do I change the background color of the ActionBar of an ActionBarActivity using XML?</a> but not working
still grey onl... | My theme is not working I have seen this How do I change the background color of the ActionBar of an ActionBarActivity using XML? but not working still grey only SplahScreen activity changed but MainActivity extend FragmentActivity not: Manifest: [CODE] I have localization and add theme file in every Language also in v... | android | 2 | 2015-02-19T14:39:35.327Z | 2,015 | 2 | 14 | 3 | 1,657 | 1 | 620 | 45 | 1 | 2 | true | false | false | false | false | false | low |
28,609,115 | How to install Android Studio on a pc without internet connection? | <p>I'd like to install Android Studio in pc which has no internet connection. </p>
<ul>
<li>I have already downloaded the JDK-7 and the Android Studio using
another laptop.</li>
<li>I have copied the both setup files and successfully installed JDK-7.</li>
<li>Now when i'm running android-studio setup , it requires in... | I'd like to install Android Studio in pc which has no internet connection. I have already downloaded the JDK-7 and the Android Studio using another laptop. I have copied the both setup files and successfully installed JDK-7. Now when i'm running android-studio setup , it requires internet connection.(step screenshot at... | android|android-studio|android-sdk-tools | 5 | 2015-02-19T14:39:47.823Z | 2,015 | 2 | 14 | 3 | 16,624 | 1 | 699 | 66 | 3 | 0 | false | false | true | true | false | false | low |
28,609,116 | Android Espresso Russian letter | <p>I'm using Espresso to test my Android application. I try to type russian text to <code>EditText</code> using <code>typeText()</code>. And i get an exception</p>
<pre><code>java.lang.NullPointerException: Failed to get events for string blabla...
</code></pre>
<p>Anybody, who knows the solution? </p>
<p>My logcat:... | I'm using Espresso to test my Android application. I try to type russian text to EditText using typeText() . And i get an exception [CODE] Anybody, who knows the solution? My logcat: [CODE] | android|testing|android-espresso|cyrillic | 0 | 2015-02-19T14:39:51.967Z | 2,015 | 2 | 14 | 3 | 396 | 0 | 189 | 31 | 4 | 2 | true | true | false | false | false | false | zero |
28,609,160 | How to disable a button till the cursor navigates in EditBox field | <p>I have a EditBox for Email and button to go for next page. I put the validation for EditBox to check Email is valid or not and its working fine. My problem is , even i do not fulfill validation criteria and click on Button ,its go on next page ,which is incorrect.I want to disable Button if cursor blink in EditBox... | I have a EditBox for Email and button to go for next page. I put the validation for EditBox to check Email is valid or not and its working fine. My problem is , even i do not fulfill validation criteria and click on Button ,its go on next page ,which is incorrect.I want to disable Button if cursor blink in EditBox till... | android | 1 | 2015-02-19T14:41:50.380Z | 2,015 | 2 | 14 | 3 | 43 | 0 | 443 | 66 | 1 | 0 | false | true | false | false | false | false | low |
28,609,183 | Pause characters not recognized by Android's tel:// URL | <p>Tapping on a tel:// url from an Android device, the pause characters ('p' or commas) aren't correctly recognized. Is there any workraound or solution about it ?</p> | Tapping on a tel:// url from an Android device, the pause characters ('p' or commas) aren't correctly recognized. Is there any workraound or solution about it ? | android|url|tel | 1 | 2015-02-19T14:42:49.970Z | 2,015 | 2 | 14 | 3 | 146 | 1 | 160 | 55 | 3 | 0 | false | false | false | false | false | false | low |
28,609,193 | Strange OutOfMemoryException and memory leaks | <p>I'm facing really strange <code>OutOfMemoryException</code> problem. First of all, I don't have problem with loading big bitmaps. My problem is based on memory leaks. Application is quite common - few activities; one main activity with fragments replaced on view.</p>
<p>After a few minutes of using application, I g... | I'm facing really strange OutOfMemoryException problem. First of all, I don't have problem with loading big bitmaps. My problem is based on memory leaks. Application is quite common - few activities; one main activity with fragments replaced on view. After a few minutes of using application, I get OOME because there is... | android|memory-leaks|out-of-memory|universal-image-loader|eclipse-memory-analyzer | 2 | 2015-02-19T14:43:12.277Z | 2,015 | 2 | 14 | 3 | 152 | 0 | 804 | 45 | 5 | 1 | true | true | false | false | false | false | low |
28,609,283 | Android - OpenCV Template Matching | <p>So I'm attempting to follow this example: <a href="https://stackoverflow.com/questions/17001083/opencv-template-matching-example-in-android">OpenCV Template Matching example in Android</a></p>
<p>I'm trying to use it with the updated OpenCV Examples which I have working. The difference I'm aware of in the updated e... | So I'm attempting to follow this example: OpenCV Template Matching example in Android I'm trying to use it with the updated OpenCV Examples which I have working. The difference I'm aware of in the updated examples is how the OpenCV libraries are added. The examples have you pull in a library project instead of a jar. T... | java|android|opencv|java-native-interface|android-4.4-kitkat | 1 | 2015-02-19T14:46:43.070Z | 2,015 | 2 | 14 | 3 | 833 | 1 | 522 | 34 | 5 | 1 | true | false | false | false | false | false | low |
28,609,287 | Put generated ImageView in xml ImageView | <p>I have a layout <code>activity_main</code> that (among other things) shows <code>ImageView</code>:</p>
<pre><code><ImageView
android:id="@+id/profileImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView2"
an... | I have a layout activity_main that (among other things) shows ImageView : [CODE] I've created a class that extends ImageView and shows animated gif: [CODE] In the main activity I use the following code: [CODE] How can I make that im will show gifImageView ?? | android|view|imageview | 0 | 2015-02-19T14:47:03.180Z | 2,015 | 2 | 14 | 3 | 130 | 2 | 258 | 40 | 3 | 3 | true | false | false | false | false | false | zero |
28,609,341 | How to activate Deviceadmin programmatically in android studio? | <p>In my application, I want to lock lost mobile phones remotely from another mobile phone through SMS code. So when my application is installed it will ask for the code and save it. When the mobile phone is lost, if we send the same code (saved one) through SMS the lost mobile should be locked.</p>
<p>So I am impleme... | In my application, I want to lock lost mobile phones remotely from another mobile phone through SMS code. So when my application is installed it will ask for the code and save it. When the mobile phone is lost, if we send the same code (saved one) through SMS the lost mobile should be locked. So I am implementing the c... | android | 1 | 2015-02-19T14:49:42.127Z | 2,015 | 2 | 14 | 3 | 255 | 0 | 610 | 63 | 1 | 1 | true | true | false | false | false | false | low |
28,609,356 | setAdapter from ListView acts like addView instead than just adding text on the View | <p>my name is Francesco and I was trying to create a chat-app, just to see how much time I would spend doing it.
Unluckily there's a thing that seems like a bug for me, but maybe I'm wrong.</p>
<p>I've 3 classes:</p>
<ol>
<li>A Global class to share variables.</li>
<li>A FriendList class.</li>
<li>A ChatRoom class.</... | my name is Francesco and I was trying to create a chat-app, just to see how much time I would spend doing it. Unluckily there's a thing that seems like a bug for me, but maybe I'm wrong. I've 3 classes: A Global class to share variables. A FriendList class. A ChatRoom class. The "buggy" piece of code is into the ChatRo... | java|android|listview|view|add | 0 | 2015-02-19T14:50:29.403Z | 2,015 | 2 | 14 | 3 | 208 | 1 | 1,082 | 84 | 5 | 2 | true | false | false | false | false | false | zero |
28,609,357 | Get location name in android without internet | <p>There are several methods to get location name using lon&lat like GeoCoder or GoogleMap API.</p>
<p>But these methods need to internet for their job!.</p>
<p>is there any way to get location name without internet access?</p>
<p><strong><em>note:in some device location name discovered as CellInfo</em></strong>... | There are several methods to get location name using lon&lat like GeoCoder or GoogleMap API. But these methods need to internet for their job!. is there any way to get location name without internet access? note:in some device location name discovered as CellInfo | android|gps|geolocation|reverse-geocoding|cellinfo | 0 | 2015-02-19T14:50:32.853Z | 2,015 | 2 | 14 | 3 | 422 | 1 | 263 | 45 | 5 | 0 | false | false | false | false | false | false | zero |
28,609,364 | How to convert int array to hex string | <p>I want to convert an <code>int</code> array to a hex string. I am unsure if I am doing this correctly. </p>
<p>I create an <code>int[]</code> in another class and get it with <em>via</em> <code>msg.obj</code>. I am getting some values in Hex but am unsure if they are correct.</p>
<pre><code>int[] readBuf = (int[])... | I want to convert an int array to a hex string. I am unsure if I am doing this correctly. I create an int[] in another class and get it with via msg.obj . I am getting some values in Hex but am unsure if they are correct. [CODE] | java|android|string|int|hex | 2 | 2015-02-19T14:50:51.960Z | 2,015 | 2 | 14 | 3 | 7,540 | 2 | 228 | 38 | 5 | 1 | true | false | true | false | false | false | low |
28,609,389 | storing value persistently in html (javascript) | <p>I have an android app in which I use a webview and inside webview, I load a html file. </p>
<p>Inside, the html file, i need to persistently store a value, so that I can use that value next time when I use the app. Because of some limitation, I cannot bring that value to android side and save it in shared preferenc... | I have an android app in which I use a webview and inside webview, I load a html file. Inside, the html file, i need to persistently store a value, so that I can use that value next time when I use the app. Because of some limitation, I cannot bring that value to android side and save it in shared preferences. I tried ... | javascript|android|html|android-webview | 0 | 2015-02-19T14:52:02.253Z | 2,015 | 2 | 14 | 3 | 43 | 1 | 534 | 47 | 4 | 0 | false | false | false | false | false | false | zero |
28,609,393 | Redirect website to unknown internal address | <p>A little background of what I'm doing. I have a home-brew smart thermostat that is connected to my wifi. The device hosts a website that is used to control everything. My main gripe is how unreliable it is to access the device via hostname (especially in android which will be the main controller). I'm trying to ... | A little background of what I'm doing. I have a home-brew smart thermostat that is connected to my wifi. The device hosts a website that is used to control everything. My main gripe is how unreliable it is to access the device via hostname (especially in android which will be the main controller). I'm trying to find ou... | javascript|php|android|ios|redirect | 1 | 2015-02-19T14:52:16.450Z | 2,015 | 2 | 14 | 3 | 297 | 3 | 1,896 | 44 | 5 | 0 | false | false | false | false | false | false | low |
28,609,422 | Android Dialogue with custom layout button style appcompat | <p>Currently working on an application which should even work with Android 2.2 I use the support library and its AppCompat theme for styling my UI. Although most of the UI works fine I have an AlertDialog with a custom layout including two custom buttons which are necessary as the dialogue should not be closed immediat... | Currently working on an application which should even work with Android 2.2 I use the support library and its AppCompat theme for styling my UI. Although most of the UI works fine I have an AlertDialog with a custom layout including two custom buttons which are necessary as the dialogue should not be closed immediately... | android|android-layout | 1 | 2015-02-19T14:53:29.617Z | 2,015 | 2 | 14 | 3 | 707 | 2 | 777 | 58 | 2 | 1 | true | false | false | false | false | false | low |
28,609,526 | Store client secret securely | <p>I know that a <a href="https://www.rfc-editor.org/rfc/rfc6819#section-5.2.3.1" rel="nofollow noreferrer">public client shouldn't use a client secret</a> because, no matter how much you obfuscate it, it won't be protected from <a href="https://stackoverflow.com/questions/13854425/how-to-avoid-reverse-engineering-of-a... | I know that a public client shouldn't use a client secret because, no matter how much you obfuscate it, it won't be protected from reverse engineering . But, the people in charge of the service I am authenticating to don't want to/can't change it. So, I need to store the client secret and try to protect it from reverse... | android|security|encryption|oauth|secret-key | 8 | 2015-02-19T14:57:30.693Z | 2,015 | 2 | 14 | 3 | 11,124 | 5 | 722 | 28 | 5 | 0 | false | false | true | false | false | false | medium |
28,609,527 | null intent on onActivityResult when using MediaStore.EXTRA_OUTPUT for ACTION_IMAGE_CAPTURE | <p>I'm trying to retrieve a file from my ACTION_IMAGE_CAPTURE activity, but when I use</p>
<pre><code>cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
</code></pre>
<p>I get a null intent on my activity result. Here is the full code.</p>
<p>The intent</p>
<pre><code>Inte... | I'm trying to retrieve a file from my ACTION_IMAGE_CAPTURE activity, but when I use [CODE] I get a null intent on my activity result. Here is the full code. The intent [CODE] My onActivityResult [CODE] i'm using the following permissions [CODE] i need to access to the file of the image captured but i'm getting null on ... | android | 3 | 2015-02-19T14:57:32.283Z | 2,015 | 2 | 14 | 3 | 3,610 | 2 | 596 | 91 | 1 | 7 | true | false | true | false | false | false | low |
28,609,555 | send List through PHP to MYSQL in android | <p>I built an android application, the application contain SQLite DB, i need when the user open the application a service run in background to compare the values in local SQlite with the data in MYSQL (Hosted externally), the comparision will based on status value, so the i took the ID and Status from the local SQlite ... | I built an android application, the application contain SQLite DB, i need when the user open the application a service run in background to compare the values in local SQlite with the data in MYSQL (Hosted externally), the comparision will based on status value, so the i took the ID and Status from the local SQlite and... | php|android|mysql|android-activity|android-service | 0 | 2015-02-19T14:59:20.870Z | 2,015 | 2 | 14 | 3 | 152 | 0 | 1,070 | 41 | 5 | 2 | true | true | false | false | false | false | zero |
28,609,674 | Removing marginTop of ListView with scrolling | <p>I want to start ListView with marginTop and with scrolling marginTop should be removed.
Here is my code:</p>
<pre><code><ListView
android:background="#ffff"
android:layout_marginTop="300dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/listView"
... | I want to start ListView with marginTop and with scrolling marginTop should be removed. Here is my code: [CODE] | android|listview | 1 | 2015-02-19T15:05:57.637Z | 2,015 | 2 | 15 | 3 | 74 | 0 | 111 | 45 | 2 | 1 | true | true | false | false | false | false | low |
28,609,734 | OpenGL ES 2.0 - Temporary performance drop after rendering texture for the first time | <p>Target platform: Android, OpenGL ES 2.0</p>
<p>At the beginning of the scene I upload my texture with <code>glTexImage2D</code>, so they are supposed to be right from the beginning available before the actual rendering starts. AFAIK calls to glTexImage2D are very time consuming, because the image data is basically ... | Target platform: Android, OpenGL ES 2.0 At the beginning of the scene I upload my texture with glTexImage2D , so they are supposed to be right from the beginning available before the actual rendering starts. AFAIK calls to glTexImage2D are very time consuming, because the image data is basically memcopied. Later on I w... | android|performance|optimization|textures|opengl-es-2.0 | 1 | 2015-02-19T15:08:26.003Z | 2,015 | 2 | 15 | 3 | 91 | 0 | 1,150 | 85 | 5 | 0 | false | true | false | false | false | false | low |
28,609,779 | Eclipse android ID cannot be resolved or is not a field | <p>I have this code:</p>
<pre><code> public void run() {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
// This action will have the side-effect of blurring the currently focused element
inAppWebView.loadUrl("javascript:" + finalScriptToInject);
... | I have this code: [CODE] But the id KITKAT gets the error: KITKAT cannot be resolved or is not a field | android|eclipse|sdk | 0 | 2015-02-19T15:10:14.710Z | 2,015 | 2 | 15 | 3 | 319 | 1 | 102 | 55 | 3 | 1 | true | false | false | false | false | false | zero |
28,609,863 | I want a solution to the problems jar? | <p><strong>I want a solution to these problems</strong></p>
<p>I want to solve these problems</p>
<p>photo
<a href="http://i.stack.imgur.com/p3CCj.png" rel="nofollow">http://i.stack.imgur.com/p3CCj.png</a></p>
<p><a href="http://i.stack.imgur.com/rHgld.png" rel="nofollow">http://i.stack.imgur.com/rHgld.png</a></p>
... | I want a solution to these problems I want to solve these problems photo http://i.stack.imgur.com/p3CCj.png http://i.stack.imgur.com/rHgld.png There are other pictures in the first to comment | android|android-layout | -2 | 2015-02-19T15:13:52.993Z | 2,015 | 2 | 15 | 3 | 30 | 1 | 191 | 38 | 2 | 0 | false | false | false | false | false | true | negative |
28,609,915 | send/receive data via Bluetooth | <p>I'm trying to send/receive a string from an android device.
I've been googling for the last 3 hours and I can't find anything that just works.
the closest I got was this: <a href="https://stackoverflow.com/questions/22899475/android-sample-bluetooth-code-to-send-a-simple-string-via-bluetooth">fella</a></p>
<p>and ... | I'm trying to send/receive a string from an android device. I've been googling for the last 3 hours and I can't find anything that just works. the closest I got was this: fella and I get these errors: [CODE] can anyone help me? I just need some code that can send/receive a string via bluetooth to get me started Thanks! | android|sockets|bluetooth|android-bluetooth|bluetooth-socket | 7 | 2015-02-19T15:15:46.580Z | 2,015 | 2 | 15 | 3 | 13,923 | 1 | 320 | 31 | 5 | 1 | true | false | true | true | false | false | medium |
28,609,921 | I need help in PDO and JSON | <p>I have a table with 3 column id, B_title, B_category like <a href="http://hpics.li/465e982" rel="nofollow">this</a></p>
<ol>
<li><p>I want dynamically load Json data (for B_category column but without returning the duplicated value) into a ListView using PDO.</p></li>
<li><p>display for each row in listview his cou... | I have a table with 3 column id, B_title, B_category like this I want dynamically load Json data (for B_category column but without returning the duplicated value) into a ListView using PDO. display for each row in listview his counter of duplicated values example Fiction counter=3 Humour counter=3 Business counter=2 I... | javascript|php|android|json | -2 | 2015-02-19T15:15:58.393Z | 2,015 | 2 | 15 | 3 | 106 | 2 | 493 | 27 | 4 | 0 | false | false | false | false | false | true | negative |
28,610,058 | MediaRecorder start error codes | <p>I want to record raw h.264 video without sound and possibly HW accelerated (and stream it later). So I decided to use <code>MediaRecorder</code> (and the socket <em>hack</em> for streaming).</p>
<p>I have the following code:</p>
<pre><code>final MediaRecorder recorder = new MediaRecorder();
final Camera camera = C... | I want to record raw h.264 video without sound and possibly HW accelerated (and stream it later). So I decided to use MediaRecorder (and the socket hack for streaming). I have the following code: [CODE] And bam! This in logcat: [CODE] I started googling, and found plenty of questions and answers, but none about my erro... | android|android-mediarecorder | 8 | 2015-02-19T15:21:45.020Z | 2,015 | 2 | 15 | 3 | 4,452 | 2 | 635 | 31 | 2 | 2 | true | false | true | false | false | false | medium |
28,610,070 | Android logcat - I do not understand the error | <p>I debug my program in Android studio but it didn't work; then I couldn't understand the logcat. Could you help me finding the problem?</p>
<p>Logcat:</p>
<pre><code>02-19 12:14:55.333 2300-2300/com.example.oem.mysql_test2 D/dalvikvm﹕ Late-enabling CheckJNI
02-19 12:14:55.349 2300-2306/com.example.oem.mysql_t... | I debug my program in Android studio but it didn't work; then I couldn't understand the logcat. Could you help me finding the problem? Logcat: [CODE] | java|android|logcat|android-logcat | 0 | 2015-02-19T15:22:22.310Z | 2,015 | 2 | 15 | 3 | 463 | 1 | 149 | 46 | 4 | 1 | true | false | false | false | false | false | zero |
28,610,086 | Disable callout (context menu) on Android | <p>In a web app, I need to disable the default callout that mobile browsers shows when touching and holding ("long tap") on a touch target, such as an <code><img></code> or a link.</p>
<p>I am already using <code>-webkit-touch-callout: none;</code> which works fine on iPhone and iPad, but doesn't seem to work on... | In a web app, I need to disable the default callout that mobile browsers shows when touching and holding ("long tap") on a touch target, such as an <img> or a link. I am already using -webkit-touch-callout: none; which works fine on iPhone and iPad, but doesn't seem to work on Android (tested on Android 4.4). This post... | android|html|css|web-applications|touch | 23 | 2015-02-19T15:23:02.780Z | 2,015 | 2 | 15 | 3 | 1,926 | 3 | 499 | 41 | 5 | 0 | false | false | false | false | true | false | high |
28,610,088 | Consume REST API - send post, receive JSON | <p>I`m trying to consume a REST API in Android but the response is returning nil...and in Web client and iOS Client, its returning JSON dictionary</p>
<p>there's my code:</p>
<pre><code> final Handler h = new Handler();
final Runnable r1 = new Runnable() {
@Override
public void run() {
... | I`m trying to consume a REST API in Android but the response is returning nil...and in Web client and iOS Client, its returning JSON dictionary there's my code: [CODE] | android|json|rest | 0 | 2015-02-19T15:23:05.017Z | 2,015 | 2 | 15 | 3 | 480 | 1 | 167 | 42 | 3 | 1 | true | false | false | false | false | false | zero |
28,610,130 | Add text or draw lines on video | <p>I'm searching for some library or tool for android for editing videos(e.g. drawing lines, adding text on some part of it). I tried to get frames of the video and add the text on some of them but it took a lot of time (8 seconds for video with 20 seconds length). So is there any way for editing video in a short time?... | I'm searching for some library or tool for android for editing videos(e.g. drawing lines, adding text on some part of it). I tried to get frames of the video and add the text on some of them but it took a lot of time (8 seconds for video with 20 seconds length). So is there any way for editing video in a short time? th... | android|video|ffmpeg|drawing | 1 | 2015-02-19T15:24:51.183Z | 2,015 | 2 | 15 | 3 | 460 | 0 | 335 | 31 | 4 | 0 | false | true | false | false | false | false | low |
28,610,150 | Eclipse keystore in android studio | <p><strong>So, here is my problem</strong> : 8 months ago I developped an app android and I published it on the play store. Meanwhile I changed my pc (cause of it was broke) so now I decided to create an update to the app, I developped it on Android studio (and it's work) but now the problem is I don't know how to sign... | So, here is my problem : 8 months ago I developped an app android and I published it on the play store. Meanwhile I changed my pc (cause of it was broke) so now I decided to create an update to the app, I developped it on Android studio (and it's work) but now the problem is I don't know how to sign correctly the app (... | java|android|eclipse|android-studio|keystore | 3 | 2015-02-19T15:26:18.347Z | 2,015 | 2 | 15 | 3 | 2,209 | 1 | 676 | 34 | 5 | 0 | false | false | false | false | false | false | low |
28,610,162 | Why are there 2 setFocusable methods in Android? | <p>I was trying to set the focusability of a component and found these two methods, hoping I could use them to make the component only focusable when the user touches it, not when requested programmatically:</p>
<pre><code>myComponent.setFocusable(false);
myComponent.setFocusableInTouchMode(true);
</code></pre>
<p>Th... | I was trying to set the focusability of a component and found these two methods, hoping I could use them to make the component only focusable when the user touches it, not when requested programmatically: [CODE] Then I looked at their documentation : public void setFocusable (boolean focusable) Set whether this view ca... | android|focus|android-view|setfocus | 4 | 2015-02-19T15:27:08.937Z | 2,015 | 2 | 15 | 3 | 2,821 | 3 | 701 | 48 | 4 | 1 | true | false | true | false | false | false | low |
28,610,201 | Does any one know how to view three imageview in just one click of button using eclipse? | <p><strong>Imageactivity.java</strong></p>
<pre><code> package com.example.Imagebuttonactivity;
import android.os.Bundle; import android.app.Activity; import
android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.view.Menu;
import android.view.Vi... | Imageactivity.java [CODE] | android|eclipse | 0 | 2015-02-19T15:28:33.617Z | 2,015 | 2 | 15 | 3 | 41 | 1 | 25 | 88 | 2 | 1 | true | false | false | false | false | false | zero |
28,610,330 | ionic framework sync data and work offline | <p>I'm developing an app using ionic framework, and it will fetch some data from an API which was built using laravel, save it in a database so when the user is offline he can continue use the app, I did a little research on the internet and found a plugin called pouchDB, is it recommended for what I need? what is the ... | I'm developing an app using ionic framework, and it will fetch some data from an API which was built using laravel, save it in a database so when the user is offline he can continue use the app, I did a little research on the internet and found a plugin called pouchDB, is it recommended for what I need? what is the bes... | android|angularjs|couchdb|ionic-framework|pouchdb | 8 | 2015-02-19T15:33:36.253Z | 2,015 | 2 | 15 | 3 | 13,811 | 2 | 335 | 42 | 5 | 0 | false | false | true | true | false | false | medium |
28,610,338 | What is a background push notification? Android, Urban Airship | <p>When extending the Urban Airship class <b>BaseIntentReceiver</b> there is a method which is called <b>onBackgroundPushReceived</b>, when is it triggered?</p>
<p>When the app is in the background and a push arrives the method <b>onPushReceived</b> is called.. so in which state needs the app to be in in order to trig... | When extending the Urban Airship class BaseIntentReceiver there is a method which is called onBackgroundPushReceived , when is it triggered? When the app is in the background and a push arrives the method onPushReceived is called.. so in which state needs the app to be in in order to trigger onBackgroundPushReceived ? ... | android|background|push-notification|urbanairship.com | 1 | 2015-02-19T15:33:58.520Z | 2,015 | 2 | 15 | 3 | 701 | 2 | 383 | 62 | 4 | 0 | false | false | false | false | false | false | low |
28,610,418 | How to use QAndroidJniObject to call a Intent from Java | <ul>
<li>I want to use the rtl_tcp Driver for my App in Android to read Raw data from a usb Tv tuner.</li>
<li>I found this source code <a href="https://github.com/martinmarinov/rtl_tcp_andro-" rel="nofollow">https://github.com/martinmarinov/rtl_tcp_andro-</a> and the guy has an App as driver at google play and anyone ... | I want to use the rtl_tcp Driver for my App in Android to read Raw data from a usb Tv tuner. I found this source code https://github.com/martinmarinov/rtl_tcp_andro- and the guy has an App as driver at google play and anyone can call this App and can read raw data via tcp port. This is the App https://play.google.com/s... | java|android|c++|qt|qandroidjniobject | 0 | 2015-02-19T15:37:32.123Z | 2,015 | 2 | 15 | 3 | 895 | 1 | 909 | 55 | 5 | 1 | true | false | false | false | false | false | zero |
28,610,452 | ImageButton background color change onClick | <p>First-time Android dev, though have used C# and Java in the past.</p>
<p>Trying to make a simple, Windows 8-like GUI. At the moment I have one tile (ImageButton) with a background color set in activity_main.xml.</p>
<pre><code> <ImageButton
android:id="@+id/btn1"
android:layout_width="120dp"
andr... | First-time Android dev, though have used C# and Java in the past. Trying to make a simple, Windows 8-like GUI. At the moment I have one tile (ImageButton) with a background color set in activity_main.xml. [CODE] And I have a function to change the color in MainActivity.java. [CODE] Compiles fine, but every time I click... | java|android|xml | 0 | 2015-02-19T15:38:50.463Z | 2,015 | 2 | 15 | 3 | 8,100 | 3 | 561 | 43 | 3 | 2 | true | false | true | false | false | false | zero |
28,610,575 | In-app billing and ad-free version of application | <p>I am trying to implement in-app billing (V3) into an application. The item that will be purchased will make the application ad-free. This item will be a non-consumable item.</p>
<p>I have implemented the code according to Google documentation but I have some trouble understanding the payload parameter. I am confuse... | I am trying to implement in-app billing (V3) into an application. The item that will be purchased will make the application ad-free. This item will be a non-consumable item. I have implemented the code according to Google documentation but I have some trouble understanding the payload parameter. I am confused as to why... | android|android-billing | 1 | 2015-02-19T15:44:25.453Z | 2,015 | 2 | 15 | 3 | 1,035 | 1 | 1,859 | 49 | 2 | 0 | false | false | false | false | false | false | low |
28,610,581 | The intent with android activity not executed | <p>WifiP2pManager : This intent not execute :</p>
<pre><code>mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION);
</code></pre>
<p>Have you an idea.</p> | WifiP2pManager : This intent not execute : [CODE] Have you an idea. | android | 0 | 2015-02-19T15:44:42.430Z | 2,015 | 2 | 15 | 3 | 38 | 1 | 67 | 45 | 1 | 1 | true | false | false | false | false | false | zero |
28,610,598 | spinner with one specially treadted item | <p>How to create spinner with drop down list like here:</p>
<pre><code>|------------|
| option1 |
|------------|
| option2 |
|------------|
| option3 |
|------------|
| create new |
|------------|
</code></pre>
<p>On clicking from 'option1' to 'option3' - just clicked item is set as a spinner value.<br>
But ... | How to create spinner with drop down list like here: [CODE] On clicking from 'option1' to 'option3' - just clicked item is set as a spinner value. But when we click 'create new' then: drop down list is closed nothing is selected [spinner retain primal value] some 'external action is called' [which I inject outside of s... | android | -1 | 2015-02-19T15:45:15.337Z | 2,015 | 2 | 15 | 3 | 95 | 1 | 747 | 40 | 1 | 1 | true | false | false | false | false | true | negative |
28,610,601 | List View Widget not updating on lock screen | <pre><code>package com.Widget;
import java.util.Random;
import com.Launcher.LauncherActivity;
import com.Widget.wifiwidget.R;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;
import a... | [CODE] [CODE] My listView of widget is not updating on lock screen, it seems like RemoteViewsService is not calling from lock screen. Please see my code of WidgetProvider Class I think this is enough code to explain the issue | android|widget|lockscreen | 1 | 2015-02-19T15:45:23.083Z | 2,015 | 2 | 15 | 3 | 590 | 1 | 225 | 44 | 3 | 2 | true | false | false | false | false | false | low |
28,610,626 | Why is Eclipse asking me to throw an exception? | <p>I am making an app that uses class Employee. So far, I created the class, three objects, and all other necessary stuff. I want to read a web file, so I created EditText object for user input (where he/she will input the url address of the file). I need to use the web file in order for my class objects to use the met... | I am making an app that uses class Employee. So far, I created the class, three objects, and all other necessary stuff. I want to read a web file, so I created EditText object for user input (where he/she will input the url address of the file). I need to use the web file in order for my class objects to use the method... | java|android|eclipse | -2 | 2015-02-19T15:46:17.190Z | 2,015 | 2 | 15 | 3 | 122 | 1 | 657 | 47 | 3 | 1 | true | false | false | false | false | true | negative |
28,610,635 | Android: drawable with perfect round corner | <p>I'm trying to make a drawable like below<img src="https://i.stack.imgur.com/j1TqV.png" alt="enter image description here">:</p>
<p>I've made this by the following code:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmln... | I'm trying to make a drawable like below : I've made this by the following code: [CODE] bg_round_button_green.xml [CODE] I also tried this: bg_round_button_green.xml [CODE] But it displays, Is it possible to do this with a single shape drawable (without creating three Views) ? | android|android-layout|android-drawable | 6 | 2015-02-19T15:46:34.850Z | 2,015 | 2 | 15 | 3 | 3,690 | 2 | 277 | 43 | 3 | 3 | true | false | true | false | false | false | medium |
28,610,655 | Creating a route using mapquest webservice in android | <p>I'm trying to create a route using the map mapquest on android, and I'm trying to create using the webservice the mapquest, because you need to make a reference, is a key enterprise, I have the following code.</p>
<pre><code>URL url = new URL("http://open.mapquestapi.com/directions/v2/route?key=MY_KEY&callback=... | I'm trying to create a route using the map mapquest on android, and I'm trying to create using the webservice the mapquest, because you need to make a reference, is a key enterprise, I have the following code. [CODE] This code, me returns data in JSON format, returns me the coordinates. [CODE] This code returns an arra... | android|web-services|mapquest | 0 | 2015-02-19T15:47:13.117Z | 2,015 | 2 | 15 | 3 | 318 | 2 | 485 | 53 | 3 | 2 | true | false | false | false | false | false | zero |
28,610,684 | Google maps not showing all of a sudden in Android | <p>I am currently developing an application in Android that uses Google maps. I have followed all the instructions like</p>
<ul>
<li>Including the google play services dependency to my project</li>
<li>Downloading google play services in Android SDK</li>
<li>Creating an Android key from google developers console.</li>
... | I am currently developing an application in Android that uses Google maps. I have followed all the instructions like Including the google play services dependency to my project Downloading google play services in Android SDK Creating an Android key from google developers console. giving the necessary permissions The go... | java|android|google-maps | 5 | 2015-02-19T15:48:40.280Z | 2,015 | 2 | 15 | 3 | 9,441 | 4 | 1,172 | 50 | 3 | 1 | true | false | true | false | false | false | low |
28,610,696 | Android app dosen't run on device | <p>The app I'm currently developing works perfectly on the simulator.</p>
<p>When plugging in my Android device and press "run", nothing happens on the device. </p>
<p>We have done a lot of code and don’t want to restart everything, we can run different project but not this one. Why ? </p>
<p>On the Emulator it work... | The app I'm currently developing works perfectly on the simulator. When plugging in my Android device and press "run", nothing happens on the device. We have done a lot of code and don’t want to restart everything, we can run different project but not this one. Why ? On the Emulator it works fine and we got no problems... | java|android | -1 | 2015-02-19T15:49:06.263Z | 2,015 | 2 | 15 | 3 | 64 | 1 | 434 | 33 | 2 | 0 | false | false | false | false | false | true | negative |
28,610,705 | How to prevent Outgoing SMS from getting stored in KitKat? | <p>I am creating an application that will send/receive messages to/from a certain gateway number. I don't want the messages that are sent to this particular number to be stored in the inbox of my device.</p>
<p>The code I am using to send the SMS is:</p>
<pre><code>protected void sendMessage(String strMessage) {
... | I am creating an application that will send/receive messages to/from a certain gateway number. I don't want the messages that are sent to this particular number to be stored in the inbox of my device. The code I am using to send the SMS is: [CODE] I have managed to tackle the problem of storing incoming messages by usi... | android|sms|smsmanager|inbox | 0 | 2015-02-19T15:49:29.210Z | 2,015 | 2 | 15 | 3 | 374 | 0 | 560 | 58 | 4 | 1 | true | true | false | false | false | false | zero |
28,610,869 | How to see the data stored in sqlite in android studio using genymotion as emulator | <p>As i am having AMD processor in my laptop i am using GENYMOTION as an emulator. I have stored the data in sqlite as it is a plugin in android studio. But if i want to see the data using DDMS the file explorer showing nothing. How can i see the data stored in sqlite database using androidstudio and using GENYMOTION. ... | As i am having AMD processor in my laptop i am using GENYMOTION as an emulator. I have stored the data in sqlite as it is a plugin in android studio. But if i want to see the data using DDMS the file explorer showing nothing. How can i see the data stored in sqlite database using androidstudio and using GENYMOTION. Tha... | android|sqlite|genymotion | 27 | 2015-02-19T15:56:22.447Z | 2,015 | 2 | 15 | 3 | 96,383 | 6 | 334 | 83 | 3 | 0 | false | false | true | true | true | false | high |
28,610,948 | Positionning correctly text over specific image on Android | <p>I have this dice image <img src="https://i.stack.imgur.com/PKlmw.png" alt="enter image description here"></p>
<p>I would like to write text on the grey part, but only on this part. I don't want text overstep black line. How I can do ? Moreover text will be added dynamically.</p> | I have this dice image I would like to write text on the grey part, but only on this part. I don't want text overstep black line. How I can do ? Moreover text will be added dynamically. | android|android-layout|android-imageview | 2 | 2015-02-19T16:00:27.803Z | 2,015 | 2 | 16 | 3 | 58 | 1 | 185 | 58 | 3 | 0 | false | false | false | false | false | false | low |
28,610,967 | Acquiring and storing accelerometer data on Android Wear smartwatch | <p>I'm trying to acquire accelerometer data using an Android Wear app on a smartwatch (Samsung Gear Live). To acquire that data I use a service which listens to three components:</p>
<ol>
<li>a SensorEventListener, where the onSensorChanged method triggers a SensorEventLoggerTask that stores the accelerometer data wit... | I'm trying to acquire accelerometer data using an Android Wear app on a smartwatch (Samsung Gear Live). To acquire that data I use a service which listens to three components: a SensorEventListener, where the onSensorChanged method triggers a SensorEventLoggerTask that stores the accelerometer data with timestamps in a... | java|android-activity|android-service|wear-os|android-sensors | 3 | 2015-02-19T16:01:08.693Z | 2,015 | 2 | 16 | 3 | 2,018 | 0 | 1,567 | 67 | 5 | 3 | true | true | false | false | false | false | low |
28,611,009 | Android ActionBar custom behaviour | <p>I created fully custom action bar, removed all native control from there and added button in left side.</p>
<p>This is done in order to get full control over action bar layout.
Now when user clicks on this button i want to grant the same functionality as Native Up button.</p>
<p>In other words i from my button cli... | I created fully custom action bar, removed all native control from there and added button in left side. This is done in order to get full control over action bar layout. Now when user clicks on this button i want to grant the same functionality as Native Up button. In other words i from my button click event i need the... | java|android|android-actionbar | 0 | 2015-02-19T16:03:13.853Z | 2,015 | 2 | 16 | 3 | 95 | 1 | 402 | 34 | 3 | 1 | true | false | false | false | false | false | zero |
28,611,051 | Android: How to access the other elements of parent list item on click of image view | <p>I have a <code>ListView</code> with custom list items each containing an <code>ImageView</code> on the left and 3 more imageviews-tick,cross,undo images. I want to change the image of the <code>ImageView</code> on the left when I click on the tick or cross or undo buttons.I tried storing a reference of the listview ... | I have a ListView with custom list items each containing an ImageView on the left and 3 more imageviews-tick,cross,undo images. I want to change the image of the ImageView on the left when I click on the tick or cross or undo buttons.I tried storing a reference of the listview in the adapter and used [CODE] But getChil... | android|listview|imageview|listadapter|listitem | 0 | 2015-02-19T16:05:18.177Z | 2,015 | 2 | 16 | 3 | 286 | 0 | 380 | 84 | 5 | 1 | true | true | false | false | false | false | zero |
28,611,061 | Can i store some string value into a text file in R.drawable folder in android | <p>I am making a lock screen application. In my application, i want to store a PIN.. But every time when my activity called from the service, The PIN value is being resetted. So i want to store the value of PIN in some permanent place. Is there any way to store the PIN to a text file in R.drawable ? or is there any bet... | I am making a lock screen application. In my application, i want to store a PIN.. But every time when my activity called from the service, The PIN value is being resetted. So i want to store the value of PIN in some permanent place. Is there any way to store the PIN to a text file in R.drawable ? or is there any better... | java|android|android-securityexception | -1 | 2015-02-19T16:05:55.133Z | 2,015 | 2 | 16 | 3 | 305 | 3 | 342 | 78 | 3 | 0 | false | false | false | false | false | true | negative |
28,611,148 | Database Structure without Delimited Values | <p>I'm creating an application to manage recipes and want to store my data in a database. The main problem is creating an appropriate database structure. </p>
<p>The structure of my objects in the program are:</p>
<pre><code> ________________________________
|Recipe |
|-----------------------... | I'm creating an application to manage recipes and want to store my data in a database. The main problem is creating an appropriate database structure. The structure of my objects in the program are: [CODE] The program stores a List. Each Recipe can have as many ingredients and methodSteps as the user wishes and both mu... | database|database-design|android-sqlite | 0 | 2015-02-19T16:09:50.650Z | 2,015 | 2 | 16 | 3 | 30 | 1 | 997 | 43 | 3 | 1 | true | false | false | false | false | false | zero |
28,611,222 | Android: Sharing data between native code (C) and application (java) | <p>I have a native app running on Android 5.0, an audio effect actually, that get launched on camcorder recording usecase (for instance).
I have an application that needs to retrieve some data from it, 3 integers exaclty, that changes constantly.</p>
<p>How can a share these data from my native process with my applic... | I have a native app running on Android 5.0, an audio effect actually, that get launched on camcorder recording usecase (for instance). I have an application that needs to retrieve some data from it, 3 integers exaclty, that changes constantly. How can a share these data from my native process with my application? What ... | java|android|native|shared-memory|ashmem | 1 | 2015-02-19T16:12:37.173Z | 2,015 | 2 | 16 | 3 | 737 | 1 | 632 | 68 | 5 | 0 | false | false | false | false | false | false | low |
28,611,269 | Robotic tests should be independent | <p>So i recently started using Robotium for the first time and noticed after some time that they are Executed in an alphabetical order. This made some test not work, because i needed the "introduction" of my app to be finished and than start other tests.</p>
<p>Since i have never used Automated tests before, im not su... | So i recently started using Robotium for the first time and noticed after some time that they are Executed in an alphabetical order. This made some test not work, because i needed the "introduction" of my app to be finished and than start other tests. Since i have never used Automated tests before, im not sure how to w... | android|testing|automated-tests|integration-testing|robotium | 0 | 2015-02-19T16:14:19.090Z | 2,015 | 2 | 16 | 3 | 27 | 2 | 638 | 35 | 5 | 0 | false | false | false | false | false | false | zero |
28,611,287 | Google Services draining battery of Nexus 6 | <p>This happened three times in the last month:</p>
<p>My Nexus 6 battery drained in several hours. When I reboot and go to battery usage, I always found Google Services uses up to 90% of the battery. However there is no application on my Nexus 6 called "Google Services". What does it mean?</p> | This happened three times in the last month: My Nexus 6 battery drained in several hours. When I reboot and go to battery usage, I always found Google Services uses up to 90% of the battery. However there is no application on my Nexus 6 called "Google Services". What does it mean? | android | 0 | 2015-02-19T16:15:12.100Z | 2,015 | 2 | 16 | 3 | 160 | 1 | 281 | 43 | 1 | 0 | false | false | false | false | false | false | zero |
28,611,390 | notifyDataSetChanged() not removing list item from listview | <p>I am trying to remove a list item from the <code>Listview</code> that is being populated using the CustomAdapter as the button in clicked. My Custom Adapter's <code>getView()</code> method looks like this :</p>
<pre><code>public View getView(final int position, View convertView, ViewGroup parent) {
final NonFol... | I am trying to remove a list item from the Listview that is being populated using the CustomAdapter as the button in clicked. My Custom Adapter's getView() method looks like this : [CODE] and the clickListener class MyListener is: [CODE] But the notifyDataSetChanged() is not refreshing the list and the item is not bein... | android|listview|android-listview | -1 | 2015-02-19T16:19:20.697Z | 2,015 | 2 | 16 | 3 | 263 | 1 | 379 | 59 | 3 | 4 | true | false | false | false | false | true | negative |
28,611,443 | Allow user to chose application for open file | <p>In application user can download file and open it after download completed. </p>
<p>I can open window for choosing application something like this:</p>
<pre><code>Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
Uri uri = Uri.parse("file://" + path);
intent.set... | In application user can download file and open it after download completed. I can open window for choosing application something like this: [CODE] But here "image/*" is hard-coded. In my application user can download files with different extensions (txt, gif, png, doc, .etc). Of course I can do something like this: [CO... | android|android-intent|android-file | 0 | 2015-02-19T16:22:01.240Z | 2,015 | 2 | 16 | 3 | 61 | 1 | 438 | 45 | 3 | 2 | true | false | false | false | false | false | zero |
28,611,483 | How to port cocos2d v2.1 ios game to Android using Apportable | <p>I'm using cocos2d v2.1 and Apportable now supports only cocos2d latest version or version greater than 3. Apportable Sprite Builder Android Plugin not support cocos2d v2.1. <a href="https://store.spritebuilder.com/products/spritebuilder-android-plugin-starter" rel="nofollow">Sprite Builder Android Plugin</a>
In ever... | I'm using cocos2d v2.1 and Apportable now supports only cocos2d latest version or version greater than 3. Apportable Sprite Builder Android Plugin not support cocos2d v2.1. Sprite Builder Android Plugin In every tutorial that I found they says download the sdk and run apportable load etc. My question is from where I ca... | android|ios|cocos2d-iphone|spritebuilder|apportable | 0 | 2015-02-19T16:23:25.460Z | 2,015 | 2 | 16 | 3 | 787 | 2 | 426 | 61 | 5 | 0 | false | false | false | false | false | false | zero |
28,611,527 | Passing data from activity to service through interface | <p>I am trying to pass data from an Android Activity to a Service. I am attempting to do so by calling a method within another class which contains an interface,this interface is implemented by the Service.</p>
<p>MQTTNotifier(Activity) >> MQTTServiceDelegate(Middle Man, Has Interface) >> MQTTService (Implements Inter... | I am trying to pass data from an Android Activity to a Service. I am attempting to do so by calling a method within another class which contains an interface,this interface is implemented by the Service. MQTTNotifier(Activity) >> MQTTServiceDelegate(Middle Man, Has Interface) >> MQTTService (Implements Interface) Is th... | java|android|android-activity|interface | 1 | 2015-02-19T16:25:34.423Z | 2,015 | 2 | 16 | 3 | 2,695 | 2 | 918 | 55 | 4 | 4 | true | false | true | false | false | false | low |
28,611,543 | importing project from github to android studio | <p>I am working on android project using android studio 1.0.2, due to some issues I had to delete my local git repository. Now I am importing project from my remote git repository not directly into studio but only after cloning and then importing. (I have also tried to clone from android studio directly as well)</p>
<... | I am working on android project using android studio 1.0.2, due to some issues I had to delete my local git repository. Now I am importing project from my remote git repository not directly into studio but only after cloning and then importing. (I have also tried to clone from android studio directly as well) When I im... | android|git|android-studio|gradle|android-gradle-plugin | 0 | 2015-02-19T16:26:15.483Z | 2,015 | 2 | 16 | 3 | 208 | 0 | 807 | 47 | 5 | 1 | true | true | false | false | false | false | zero |
28,611,635 | Android paint/draw path with transparent background | <p>Im my drawing app, when I draw path it appears in a black square, but should not be so, please enlighten me. This is my code an a screenshot: <a href="http://tinypic.com/r/2d9cuhl/8" rel="nofollow">http://tinypic.com/r/2d9cuhl/8</a></p>
<pre><code> //setup drawing
private void setupDrawing(){
drawPath = new Pat... | Im my drawing app, when I draw path it appears in a black square, but should not be so, please enlighten me. This is my code an a screenshot: http://tinypic.com/r/2d9cuhl/8 [CODE] | android|canvas|drawing|draw|paint | 2 | 2015-02-19T16:30:09.603Z | 2,015 | 2 | 16 | 3 | 1,881 | 2 | 179 | 51 | 5 | 1 | true | false | false | false | false | false | low |
28,611,681 | VideoView playing .m3u8 in Fragment won't play in Nexus 7. Plays fine in HTC1 M8 | <p>My VideoView Fragment does not play my .m3u8 type video while I am running it in the Nexus 7 (Android 4.4.2), with the "Can't play this video" error popping up. This is confusing because I am using the same code on my HTC1 M8 (4.4.4) and it runs just fine. </p>
<p>Here is my code for the fragment:</p>
<pre><code>p... | My VideoView Fragment does not play my .m3u8 type video while I am running it in the Nexus 7 (Android 4.4.2), with the "Can't play this video" error popping up. This is confusing because I am using the same code on my HTC1 M8 (4.4.4) and it runs just fine. Here is my code for the fragment: [CODE] Just to be clear, the ... | android|android-fragments|android-videoview | 0 | 2015-02-19T16:31:56.917Z | 2,015 | 2 | 16 | 3 | 649 | 1 | 819 | 80 | 3 | 1 | true | false | false | false | false | false | zero |
28,611,759 | Change Background color of app, depending on list item clicked | <p>I have a ListView with color names (array of strings stored in separate xml). How do I change background of my application depending on which color in the list I clicked? I have a function that displays a toast message depending on Item clicked but I don't know how to transform it into background color changing func... | I have a ListView with color names (array of strings stored in separate xml). How do I change background of my application depending on which color in the list I clicked? I have a function that displays a toast message depending on Item clicked but I don't know how to transform it into background color changing functio... | android|colors|onclick | 0 | 2015-02-19T16:35:19.933Z | 2,015 | 2 | 16 | 3 | 327 | 3 | 329 | 62 | 3 | 1 | true | false | false | false | false | false | zero |
28,611,790 | pocketsphinx error in adapt the acoustic model | <p>I want to create a voice recognition application using the pocketsphinx-android-demo-5prealpha. I only need this app to work with Spanish.</p>
<p>I replaced the default acoustic and language models with the Spanish packet of voxforge (voxforge-es-0.2.tar.gz).</p>
<p>In English, by default the app works correctly i... | I want to create a voice recognition application using the pocketsphinx-android-demo-5prealpha. I only need this app to work with Spanish. I replaced the default acoustic and language models with the Spanish packet of voxforge (voxforge-es-0.2.tar.gz). In English, by default the app works correctly in my phone: Samsung... | android|pocketsphinx | 3 | 2015-02-19T16:36:28.773Z | 2,015 | 2 | 16 | 3 | 287 | 0 | 689 | 46 | 2 | 1 | true | true | false | false | false | false | low |
28,611,842 | Android Espresso onData strange behavior | <p>I have an <strong>Activity</strong> with <strong>ListView</strong> (id: <em>android.R.id.list</em>). The <strong>ListView</strong> shows information from a custom adapter, and I want to use Espresso to click on a specific view in a specific item: I want to click the view with id <em>R.id.continueButton</em> in the i... | I have an Activity with ListView (id: android.R.id.list ). The ListView shows information from a custom adapter, and I want to use Espresso to click on a specific view in a specific item: I want to click the view with id R.id.continueButton in the item that shows information from the object testOrder . My test is: [COD... | android|functional-testing|android-espresso | 2 | 2015-02-19T16:38:54.867Z | 2,015 | 2 | 16 | 3 | 376 | 1 | 828 | 40 | 3 | 3 | true | false | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.