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,757,288 | Get wrong Date from parsing time string by SimpleDateFormat. (1 hour offset) [Android/Java] | <p>First of all, I would like to make clear that it is not daylight saving issue.</p>
<p>Second, after trying hard, it seems related to the locale used in SimpleDateFormat.</p>
<p>Third, it seems only to occur with PST/PDT timezone. UTC is ok.</p>
<hr>
<p>Here is the test code.</p>
<p>Use US and ENGLISH locale to ... | First of all, I would like to make clear that it is not daylight saving issue. Second, after trying hard, it seems related to the locale used in SimpleDateFormat. Third, it seems only to occur with PST/PDT timezone. UTC is ok. Here is the test code. Use US and ENGLISH locale to parse the same Date. [CODE] The result is... | java|android|timezone|locale|simpledateformat | 1 | 2015-02-27T04:00:12.627Z | 2,015 | 2 | 4 | 4 | 1,235 | 2 | 782 | 91 | 5 | 1 | true | false | false | false | false | false | low |
28,757,292 | Separate array from json and store to db | <p>I have a json coming from web server as follows:</p>
<pre><code> "data": {
"classes": [
{
"subject_name": "Chemistry",
"class_id": "48",
"class_division": "A",
"map_id": "44",
"teacher_name": "Principal",
... | I have a json coming from web server as follows: [CODE] I want to store class information in the database. Here in the classes array there is two objects it may differ according to the input. So how may separate each field in the array. | android|arrays|json|android-json | 0 | 2015-02-27T04:00:46.147Z | 2,015 | 2 | 4 | 4 | 73 | 2 | 236 | 40 | 4 | 1 | true | false | false | false | false | false | zero |
28,757,331 | How to open files on eclipse from phone | <p>I don't have access to the source code of my app, but I have my phone that the last build was installed on. Is there a way to edit it from the stuff I have?</p> | I don't have access to the source code of my app, but I have my phone that the last build was installed on. Is there a way to edit it from the stuff I have? | android|eclipse | -1 | 2015-02-27T04:05:29.307Z | 2,015 | 2 | 4 | 4 | 30 | 1 | 156 | 39 | 2 | 0 | false | false | false | false | false | true | negative |
28,757,390 | how to change button color dynamically? | <p>In my application i created dynamic buttons. Now i want to change the button background color and button text color whenever the button are clicked. I wrote the code for this. My problem is when I clicked the button; the button changed background color. After that I click another button. I need to change the previo... | In my application i created dynamic buttons. Now i want to change the button background color and button text color whenever the button are clicked. I wrote the code for this. My problem is when I clicked the button; the button changed background color. After that I click another button. I need to change the previous b... | android|android-button | 0 | 2015-02-27T04:12:47.497Z | 2,015 | 2 | 4 | 4 | 3,578 | 4 | 481 | 39 | 2 | 1 | true | false | true | false | false | false | zero |
28,757,449 | Android Deeplink and Fallback to URL | <p>I need to implement deeplink and URL fallback in case app is not present.</p>
<p>I can open my app using intent filter and URL scheme but not able to fall back to my URL when app is not present. </p>
<p>Here is my code</p>
<pre><code>setTimeout(function() {
window.location =
"http://m.abcd.com";
}, 25);
wi... | I need to implement deeplink and URL fallback in case app is not present. I can open my app using intent filter and URL scheme but not able to fall back to my URL when app is not present. Here is my code [CODE] abcd is the URL scheme provided in intentfilter. What could be the issue? | android|google-chrome|deep-linking|fallback | 4 | 2015-02-27T04:18:18.870Z | 2,015 | 2 | 4 | 4 | 5,711 | 1 | 284 | 36 | 4 | 1 | true | false | true | false | false | false | low |
28,757,453 | Display message in Textview when Websocket message recieved | <p>this is my websocket client in android. It's a quick test and the reply from server should be display on the <code>TextView</code>.</p>
<pre><code>Boolean status1 = false;
static String msg = "reply ";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
se... | this is my websocket client in android. It's a quick test and the reply from server should be display on the TextView . [CODE] When server send the message it is not showing in the textview. But in Logcat the reply is displayed. What could be the problem? | android|textview|java-websocket | 0 | 2015-02-27T04:18:40.503Z | 2,015 | 2 | 4 | 4 | 993 | 2 | 255 | 59 | 3 | 1 | true | false | false | false | false | false | zero |
28,757,465 | Trying to populate listview but nothing was shown in emulator | <p>I am trying to populate listview but nothing was shown in emulator and no error.</p>
<p>Here is my MainActivity</p>
<pre><code>public class MainActivity extends ListActivity {
// Progress Dialog
private ProgressDialog pDialog;
// Creating JSON Parser object
JSONParser jParser = ne... | I am trying to populate listview but nothing was shown in emulator and no error. Here is my MainActivity [CODE] Here is my ListView [CODE] Here is my single_list.xml [CODE] Here is the logcat [CODE] I am trying to populate the listview from MySQL database with JSONParser. The app was able to run but no data was shown i... | android|listview|android-listview | 0 | 2015-02-27T04:19:52.810Z | 2,015 | 2 | 4 | 4 | 58 | 0 | 468 | 61 | 3 | 4 | true | true | false | false | false | false | zero |
28,757,478 | Getting TypeNotPresentException followed by ClassNotFoundException or NoClassDefFoundError on All android versions except android L | <p>I am getting very interesting bug in one of my apps. My app is working fine on android L, But as soon as i try to run it on other android versions, I am getting <strong>ClassNotFoundException or NoClassDefFoundError</strong> while trying to call web services using Retrofit, even though all those classes are existing... | I am getting very interesting bug in one of my apps. My app is working fine on android L, But as soon as i try to run it on other android versions, I am getting ClassNotFoundException or NoClassDefFoundError while trying to call web services using Retrofit, even though all those classes are existing and working fine on... | android|android-5.0-lollipop|noclassdeffounderror|classnotfoundexception|retrofit | 10 | 2015-02-27T04:21:21.053Z | 2,015 | 2 | 4 | 4 | 2,668 | 1 | 1,538 | 131 | 5 | 2 | true | false | true | false | true | false | medium |
28,757,522 | AndroidStudio project that supports both Android and AndroidTV | <p>I'm trying to create an AndroidStudio project that supports both Android (phone/tablet) and AndroidTV. The goal is to have similar functionality on the Phone/tablet and AndroidTV, while one not needing the other to operate, and reusing code.</p>
<p>When I create a new project, do I:</p>
<ul>
<li>a) Put a check ma... | I'm trying to create an AndroidStudio project that supports both Android (phone/tablet) and AndroidTV. The goal is to have similar functionality on the Phone/tablet and AndroidTV, while one not needing the other to operate, and reusing code. When I create a new project, do I: a) Put a check mark on both "Phone and Tabl... | android|android-tv | 9 | 2015-02-27T04:25:54.760Z | 2,015 | 2 | 4 | 4 | 4,830 | 2 | 935 | 62 | 2 | 1 | true | false | true | false | false | false | medium |
28,757,591 | Checkbox Click Event Handler Called Twice | <p>For some reason, my Checkbox.Click event handler get called twice in my Custom ListView adapter of Xamarin.Android. I am providing my GetView method below for any help or pointer in what I am doing wrong. </p>
<pre><code>public override View GetView(int position, View convertView, ViewGroup parent)
{
... | For some reason, my Checkbox.Click event handler get called twice in my Custom ListView adapter of Xamarin.Android. I am providing my GetView method below for any help or pointer in what I am doing wrong. [CODE] And just to clarify, the goal of this Checkbox.Click event handler it to pass the selected Item to the Activ... | xamarin|xamarin.android | 0 | 2015-02-27T04:34:52.043Z | 2,015 | 2 | 4 | 4 | 1,206 | 2 | 407 | 41 | 2 | 1 | true | false | false | false | false | false | zero |
28,757,596 | Listview Volley with Fragment | <p>I want to show <code>listview</code> in fragment, but I got an error.</p>
<p>This is my <strong>MainActivity</strong>:</p>
<pre><code>public class HomeFragment extends Fragment {
private List<Produk> produkList = new ArrayList<Produk>();
private ListView listView;
private CustomListAdapter adapter;
pri... | I want to show listview in fragment, but I got an error. This is my MainActivity : [CODE] I got this error: java.lang. NullPointerException I debug with Log.d, error line is in: [CODE] what is it? this is my CustomListAdapter [CODE] Logcat: 02-27 04:45:26.808: E/AndroidRuntime(4739): FATAL EXCEPTION: main 02-27 04:45:2... | java|android|listview|adapter | 1 | 2015-02-27T04:35:14.407Z | 2,015 | 2 | 4 | 4 | 3,414 | 1 | 2,853 | 29 | 4 | 3 | true | false | true | false | false | false | low |
28,757,662 | Android: Toast shows up late when using threads | <p>So I have code put together to download an image that's displayed in an <code>ImageView</code>, and I'm trying to put up a Toast when the user clicks the download button so they know some-thing's happening. The problem is that the Toast is coming up after a few seconds rather than when they have clicked the download... | So I have code put together to download an image that's displayed in an ImageView , and I'm trying to put up a Toast when the user clicks the download button so they know some-thing's happening. The problem is that the Toast is coming up after a few seconds rather than when they have clicked the download button. I've t... | android|multithreading|toast | 1 | 2015-02-27T04:41:27.607Z | 2,015 | 2 | 4 | 4 | 243 | 2 | 531 | 47 | 3 | 1 | true | false | false | false | false | false | low |
28,757,682 | Issue with android spinners - Loading distinct values in spinners | <p>I'm using two Spinners to show the items I'm getting from the json response. I have 2 problems right now. When u check my logcat u can see there are items repeating (Right side list, u can see so many pan). I want to have 1 item only once in my Spinner. I want to use something similar to distinct we use in sql datab... | I'm using two Spinners to show the items I'm getting from the json response. I have 2 problems right now. When u check my logcat u can see there are items repeating (Right side list, u can see so many pan). I want to have 1 item only once in my Spinner. I want to use something similar to distinct we use in sql database... | android|spinner|distinct | 0 | 2015-02-27T04:43:56.847Z | 2,015 | 2 | 4 | 4 | 553 | 1 | 543 | 65 | 3 | 1 | true | false | false | false | false | false | zero |
28,757,683 | Pusher VS Client request to server every second for changes | <p>I am trying to implement a real-time pushing from my server to a customized android device. (A device which runs on android OS). I can't use GCN because there is no unique token.</p>
<hr>
<p>Here is the deal.</p>
<p><strong>Problem</strong></p>
<ol>
<li>I am posting a message from a web portal to the server</li>... | I am trying to implement a real-time pushing from my server to a customized android device. (A device which runs on android OS). I can't use GCN because there is no unique token. Here is the deal. Problem I am posting a message from a web portal to the server I would like the message to be pushed to the android device ... | android|node.js|real-time|pusher | 1 | 2015-02-27T04:44:02.140Z | 2,015 | 2 | 4 | 4 | 967 | 1 | 850 | 59 | 4 | 0 | false | false | false | false | false | false | low |
28,757,693 | How to change the color of animated in android programmiticaly? | <p>I have shape in res/drawable/back.xml :</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:innerRadius="85dp"
android:shape="ring"
android:thickness="5dp"
android:useLevel="false">
<solid
andr... | I have shape in res/drawable/back.xml : [CODE] This shape set in background on TextView: [CODE] I need infinitely change color (random color - is done) of animation on shape. In the end, I need to ring around the text, which will be constantly animated color change. P.S. Sorry for my english. I partly use a translator.... | android|animation|background|shapes | 0 | 2015-02-27T04:45:28.883Z | 2,015 | 2 | 4 | 4 | 1,929 | 2 | 366 | 63 | 4 | 4 | true | false | false | false | false | false | zero |
28,757,826 | Android: On click in adapter give wrong position | <p>I am developing an application in which i am having a list view with custom adapter. I am attaching the ArrayList to the custom adapter. The adapter is having four image view, and onclick listener is applied to each image view in get view.</p>
<p>I am populating the array list from other two arraylist on the basis ... | I am developing an application in which i am having a list view with custom adapter. I am attaching the ArrayList to the custom adapter. The adapter is having four image view, and onclick listener is applied to each image view in get view. I am populating the array list from other two arraylist on the basis of conditio... | android|android-listview|listener|android-adapter|android-adapterview | 0 | 2015-02-27T04:59:14.803Z | 2,015 | 2 | 4 | 4 | 1,087 | 1 | 765 | 48 | 5 | 2 | true | false | false | false | false | false | zero |
28,757,914 | Create PDF Document using Qoppa pdf Tool kit for android without Network | <p>I am using Qoppa pdf Toolkit for android tablet application to convert images to pdf document. I want to convert this without connecting to network i.e. offline. Is there any possibility to convert images to pdf document offline?</p> | I am using Qoppa pdf Toolkit for android tablet application to convert images to pdf document. I want to convert this without connecting to network i.e. offline. Is there any possibility to convert images to pdf document offline? | android|mobile-application|pdf-conversion | 0 | 2015-02-27T05:06:30.253Z | 2,015 | 2 | 5 | 4 | 147 | 2 | 229 | 72 | 3 | 0 | false | false | false | false | false | false | zero |
28,757,919 | Recycler view focusing another text view in other rows | <p>In my project i have a recycler view which contains a text view in every row. when i select a text view in a row text views in some random rows are also selected and also whatever is typed into it, it is also showing in those rows.Here is my code.
onBindViewHolder</p>
<pre><code>public void onBindViewHolder(final ... | In my project i have a recycler view which contains a text view in every row. when i select a text view in a row text views in some random rows are also selected and also whatever is typed into it, it is also showing in those rows.Here is my code. onBindViewHolder [CODE] ViewHolder [CODE] activity onCreate [CODE] Custo... | android|android-recyclerview | 0 | 2015-02-27T05:06:59.897Z | 2,015 | 2 | 5 | 4 | 717 | 1 | 412 | 54 | 2 | 4 | true | false | false | false | false | false | zero |
28,757,931 | How to format the input of EditText when typing with thousands separators (,) in Android? | <p>I've an <code>edittext</code> , it only gets numeric without decimal numbers. </p>
<pre><code>android:inputType="number"
</code></pre>
<p>I want to separate thousands while I'm typing . For example 25,000 . </p>
<p>I know I should use <code>TextWatcher</code> and I've used this code but I couldn't make it work :<... | I've an edittext , it only gets numeric without decimal numbers. [CODE] I want to separate thousands while I'm typing . For example 25,000 . I know I should use TextWatcher and I've used this code but I couldn't make it work : [CODE] Could you help me to do so ? | java|android|android-edittext|number-formatting|textwatcher | 12 | 2015-02-27T05:08:18.257Z | 2,015 | 2 | 5 | 4 | 19,114 | 3 | 262 | 89 | 5 | 2 | true | false | true | true | true | false | medium |
28,758,001 | Android - Get variable from oncreate() of another class | <p>I have a class <em>GetMyLocation</em> that gets the current location of the user. Now I'm trying to call an object of this class from another class, <em>ShowMap2</em>. But I am unable to send the updated location to the new class.</p>
<p>I haven't included the other overrides for GetMyLocation here.</p>
<p>What I ... | I have a class GetMyLocation that gets the current location of the user. Now I'm trying to call an object of this class from another class, ShowMap2 . But I am unable to send the updated location to the new class. I haven't included the other overrides for GetMyLocation here. What I have: [CODE] This is the class that ... | java|android|android-activity|oncreate | 0 | 2015-02-27T05:16:32.420Z | 2,015 | 2 | 5 | 4 | 1,764 | 2 | 1,015 | 55 | 4 | 5 | true | false | false | false | false | false | zero |
28,758,014 | How to convert a file to Base64? | <p>Here the report contain the path(pathname in sdcard in string format)</p>
<pre><code>File dir = Environment.getExternalStorageDirectory();
File yourFile = new File(dir, report);
String encodeFileToBase64Binary = encodeFileToBase64Binary(yourFile);
private static String encodeFileToBase64Binary(File fileName) throw... | Here the report contain the path(pathname in sdcard in string format) [CODE] in the byte[] encoded line getting this error. The method encodeBase64(byte[]) is undefined for the type Base64 | android|base64 | 21 | 2015-02-27T05:17:27.537Z | 2,015 | 2 | 5 | 4 | 56,492 | 7 | 188 | 32 | 2 | 1 | true | false | true | true | true | false | high |
28,758,095 | Passing Mat object from android java to native cpp part | <p>I'm passing Mat object from android java code to native cpp part, but getting "OpenCV ERROR: Unsupported format or combination of formats".
Please help in it.
Thanks in advance.</p>
<p>Java code : </p>
<pre><code>public class MainActivity extends ActionBarActivity {
static {
if (!OpenCVLoader.initDebug())
... | I'm passing Mat object from android java code to native cpp part, but getting "OpenCV ERROR: Unsupported format or combination of formats". Please help in it. Thanks in advance. Java code : [CODE] nativeCode : [CODE] Error : [CODE] | android|c++|opencv|android-ndk|java-native-interface | 2 | 2015-02-27T05:23:49.790Z | 2,015 | 2 | 5 | 4 | 995 | 1 | 231 | 55 | 5 | 3 | true | false | false | false | false | false | low |
28,758,107 | Custom calendar cannot selecting date in Samsung galaxy s5 | <p>My application is working fine in all devices including samsung galaxy s4, it has a custom calendar but if i try to select date in Samsung galaxy S5 its not selecting, nothing happens.</p>
<p>Please provide suggestions to make it working with samsung galaxy s5.</p>
<p>I am using this in menifest to set target leve... | My application is working fine in all devices including samsung galaxy s4, it has a custom calendar but if i try to select date in Samsung galaxy S5 its not selecting, nothing happens. Please provide suggestions to make it working with samsung galaxy s5. I am using this in menifest to set target level uses-sdk android:... | android | 0 | 2015-02-27T05:25:11.647Z | 2,015 | 2 | 5 | 4 | 81 | 1 | 368 | 58 | 1 | 0 | false | false | false | false | false | false | zero |
28,758,130 | Android Button onClick run method, Unfortunately App has stopped | <p>I'm trying to post data to external PHP file, i have a button and when i click on it, it should run the method and post the data to the php file then return some data and print it.</p>
<p>In <strong>activity_main.xml</strong> :</p>
<pre><code><Button
android:onClick="postData" />
</code></pre>
<p>In... | I'm trying to post data to external PHP file, i have a button and when i click on it, it should run the method and post the data to the php file then return some data and print it. In activity_main.xml : [CODE] In MainActivity.java : [CODE] The problem is when i click the button it gives me this error : Unfortunately A... | java|php|android | 1 | 2015-02-27T05:27:17.730Z | 2,015 | 2 | 5 | 4 | 1,354 | 6 | 363 | 64 | 3 | 2 | true | false | false | false | false | false | low |
28,758,167 | X-Y Co-Ordinates input on slow fling are more but less on fast fling | <p>I m working on a android app, which takes X-Y co-ordinates as input using openGL. The Problem is when we draw slow (fling slow) the input co-ordinate points are more and input co-ordinate points are less on fast fling.</p>
<p>I would like to know to the reason why it happens, So as to optimize and have same number ... | I m working on a android app, which takes X-Y co-ordinates as input using openGL. The Problem is when we draw slow (fling slow) the input co-ordinate points are more and input co-ordinate points are less on fast fling. I would like to know to the reason why it happens, So as to optimize and have same number of co-ordin... | java|android|opengl-es-2.0 | 0 | 2015-02-27T05:29:55.337Z | 2,015 | 2 | 5 | 4 | 31 | 1 | 616 | 68 | 3 | 0 | false | false | false | false | false | false | zero |
28,758,215 | eclipse android AVD virtual diver Nexus 6 no longer exists as a driver | <p>Actually, I'm using an AVD for my Android APP. Tested for many time. But, it cannot be launched suddenly. And shows it need repair. And <code>error: Google Nexus 6 no longer exists as a diver</code>, I check the Path Nexus_6_API_21 is here. How can I do?</p>
<p>I cannot r... | Actually, I'm using an AVD for my Android APP. Tested for many time. But, it cannot be launched suddenly. And shows it need repair. And error: Google Nexus 6 no longer exists as a diver , I check the Path Nexus_6_API_21 is here. How can I do? I cannot run other driver too, as they keep loading and loading for a time an... | android|eclipse|emulation|avd | 0 | 2015-02-27T05:33:44.547Z | 2,015 | 2 | 5 | 4 | 2,110 | 1 | 545 | 70 | 4 | 0 | false | false | false | false | false | false | zero |
28,758,248 | 2nd button will not work with event handler in Xamarin c# android app | <p>MainActivity.cs</p>
<pre><code>namespace testApp
{
[Activity (Label = "DHS HotKeys", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
// Set our view from the "main"... | MainActivity.cs [CODE] } Inside the resource designer: [CODE] The 2nd button is set exactly like the first, but it does nothing when clicked, while the first one opens the webpage. The ID for 2nd button is @+id/button1 Thank you | c#|android|button|event-handling | 0 | 2015-02-27T05:36:22.920Z | 2,015 | 2 | 5 | 4 | 707 | 1 | 228 | 69 | 4 | 2 | true | false | false | false | false | false | zero |
28,758,357 | Save Android ListView items while scrolling | <p>my problem is. I'm having a ListView with a random number of rows (15 to 30).
I'm using a custom ArrayAdapter to display the rows. Each row contains a seekbar, TextViews and switches.
When I move the seekbar(progress) I change text of some TextViews.
When I scroll down so the seekbar isn't visible anymore, they get ... | my problem is. I'm having a ListView with a random number of rows (15 to 30). I'm using a custom ArrayAdapter to display the rows. Each row contains a seekbar, TextViews and switches. When I move the seekbar(progress) I change text of some TextViews. When I scroll down so the seekbar isn't visible anymore, they get rel... | android|listview|android-listview | 0 | 2015-02-27T05:45:53.123Z | 2,015 | 2 | 5 | 4 | 835 | 2 | 603 | 43 | 3 | 1 | true | false | false | false | false | false | zero |
28,758,363 | Android adding an image to an app for later use | <p>My project (in AndroidStudio) would need an image that will be loaded later for processing. This is going to be a noob question I know...</p>
<p>I have the image file on my computer (myimage.bmp), and I need to add it to my project, so that when I test my app on the device, the image file will be loaded into the de... | My project (in AndroidStudio) would need an image that will be loaded later for processing. This is going to be a noob question I know... I have the image file on my computer (myimage.bmp), and I need to add it to my project, so that when I test my app on the device, the image file will be loaded into the device and I ... | android|android-studio | 0 | 2015-02-27T05:46:15.663Z | 2,015 | 2 | 5 | 4 | 53 | 2 | 1,315 | 47 | 2 | 3 | true | false | false | false | false | false | zero |
28,758,383 | onClick in fragments of Navigation Drawer | <p>I've been searching through all the questions for a while and I'm still stuck. I cant figure out how to add a button link in a fragment of an navigation drawer linking to another fragment not a member of the navigation drawer. I've tried implementing the <code>OnClickListener</code>, i know fragments work different... | I've been searching through all the questions for a while and I'm still stuck. I cant figure out how to add a button link in a fragment of an navigation drawer linking to another fragment not a member of the navigation drawer. I've tried implementing the OnClickListener , i know fragments work differently to an activit... | android|android-fragments|onclicklistener|navigation-drawer | 0 | 2015-02-27T05:47:53.600Z | 2,015 | 2 | 5 | 4 | 5,040 | 1 | 490 | 41 | 4 | 3 | true | false | true | false | false | false | zero |
28,758,456 | Optimized way to store text in android | <p>I am developing an application that has large number of text files, i stored file in asset folder and a webview that has a list of links and while clicking on that links data is displayed. The files that are storerd in asset folder are very big in size, I want to know is there any other way to store the data that ca... | I am developing an application that has large number of text files, i stored file in asset folder and a webview that has a list of links and while clicking on that links data is displayed. The files that are storerd in asset folder are very big in size, I want to know is there any other way to store the data that can o... | android|sqlite|android-webview | 0 | 2015-02-27T05:54:26.157Z | 2,015 | 2 | 5 | 4 | 58 | 1 | 420 | 38 | 3 | 0 | false | false | false | false | false | false | zero |
28,758,496 | Expandable List View refresh automate? | <p>My Scenario is that, I have one Expandable List View add i dynamically and child in the list. my child layout is like that.</p>
<p><img src="https://i.stack.imgur.com/a2JZs.png" alt="enter image description here"></p>
<p>When i click on edit button with respective item i am open dialog box get input from user and ... | My Scenario is that, I have one Expandable List View add i dynamically and child in the list. my child layout is like that. When i click on edit button with respective item i am open dialog box get input from user and on click update respective detail update into database. Now from database retrieve all data and set to... | android|expandablelistview|expandablelistadapter | 1 | 2015-02-27T05:58:05.473Z | 2,015 | 2 | 5 | 4 | 1,927 | 3 | 683 | 38 | 3 | 1 | true | false | false | false | false | false | low |
28,758,539 | In Android, how to check programatically which secure element settings is selected in NFC Advanced Settings (SIM or eSE or HCE)? | <p>In Android, how to check programatically which secure element settings is selected in NFC Advanced Settings (SIM or eSE or HCE) ?</p> | In Android, how to check programatically which secure element settings is selected in NFC Advanced Settings (SIM or eSE or HCE) ? | android|nfc | 0 | 2015-02-27T06:00:49.813Z | 2,015 | 2 | 6 | 4 | 796 | 2 | 129 | 128 | 2 | 0 | false | false | false | false | false | false | zero |
28,758,561 | how can generate apk file from installed android application? | <p>Hi android developers I got an issue from android development. Actually one android app I installed in my mobile successfully it is installed. But I want my apk file from installed app. How can I get suggest me thanks!!</p> | Hi android developers I got an issue from android development. Actually one android app I installed in my mobile successfully it is installed. But I want my apk file from installed app. How can I get suggest me thanks!! | android | 0 | 2015-02-27T06:02:14.547Z | 2,015 | 2 | 6 | 4 | 8,392 | 2 | 219 | 61 | 1 | 0 | false | false | true | false | false | false | zero |
28,758,565 | What should be the name for values folder for developer english in android | <p>What i want is the name of value folder which consists of String.xml , In that XML i have written key-key pairing i.e "NAME"
"EMPLOYEE_ID". If i use any language key word say en,fi, that will not a good practice. So what should be the name of value folder for above string.xml.
Thank you. </p> | What i want is the name of value folder which consists of String.xml , In that XML i have written key-key pairing i.e "NAME" "EMPLOYEE_ID". If i use any language key word say en,fi, that will not a good practice. So what should be the name of value folder for above string.xml. Thank you. | android | 0 | 2015-02-27T06:02:45.373Z | 2,015 | 2 | 6 | 4 | 110 | 3 | 288 | 74 | 1 | 0 | false | false | false | false | false | false | zero |
28,758,597 | Cannot bind argument at index 1 because the index is out of range. The statement has 0 parameters." | <p>I am struggling a lot to fix this issue. Can any one please help me to get through this. Please let me know where am I going wrong in my where clause in the query statement. I want to read values from all the columns and then give those to display.</p>
<p>Here is my query code:</p>
<pre><code>public Task getTask1(... | I am struggling a lot to fix this issue. Can any one please help me to get through this. Please let me know where am I going wrong in my where clause in the query statement. I want to read values from all the columns and then give those to display. Here is my query code: [CODE] Updated method as per the suggestions: [C... | android|mysql | 1 | 2015-02-27T06:05:59.440Z | 2,015 | 2 | 6 | 4 | 11,256 | 2 | 848 | 99 | 2 | 3 | true | false | true | false | false | false | low |
28,758,609 | How to update GPS Location on App Background to Foreground? | <p>I am using GPS either GPS_PROVIDER or NETWORK_SERVICE_PROVIDER for latitude and longitude . I want to detect when specifically App goes background to foreground (Either By Home button) . </p>
<p>ISSUES:</p>
<ol>
<li>GPS detected location is not updated from time to time until any app used it so can get the updated... | I am using GPS either GPS_PROVIDER or NETWORK_SERVICE_PROVIDER for latitude and longitude . I want to detect when specifically App goes background to foreground (Either By Home button) . ISSUES: GPS detected location is not updated from time to time until any app used it so can get the updated location . Detect the Bac... | android|gps|geolocation | 0 | 2015-02-27T06:06:55.830Z | 2,015 | 2 | 6 | 4 | 1,762 | 1 | 458 | 59 | 3 | 0 | false | false | false | false | false | false | zero |
28,758,612 | Android bluetooth low energy characteristic value | <p>I have this code on android app that I have edited but I'm having a problem on getting the characteristic value to set on <code>mHumidity</code> (<code>TextView</code>). the value being display is something like <code>android.bluetooth.BluetoothGatt@4780c</code> something like that. But my expected value is 0 or 1 f... | I have this code on android app that I have edited but I'm having a problem on getting the characteristic value to set on mHumidity ( TextView ). the value being display is something like android.bluetooth.BluetoothGatt@4780c something like that. But my expected value is 0 or 1 from a button pushed on my BLE device [CO... | android|bluetooth-lowenergy | 1 | 2015-02-27T06:07:06.157Z | 2,015 | 2 | 6 | 4 | 10,656 | 3 | 323 | 49 | 2 | 1 | true | false | true | false | false | false | low |
28,758,688 | Regarding using dll with android app? | <p>I've a "<strong>dll</strong>" file which contains some methods.</p>
<p>I want to import the dll within the android application and use its methods. Is there a way to accomplish this???</p> | I've a " dll " file which contains some methods. I want to import the dll within the android application and use its methods. Is there a way to accomplish this??? | android | 0 | 2015-02-27T06:13:48.760Z | 2,015 | 2 | 6 | 4 | 47 | 0 | 162 | 37 | 1 | 0 | false | true | false | false | false | false | zero |
28,758,700 | Android - Loading data from internet | <p>I am new to Android. I would like to ask , if i have 2 pages and page2 need some data from internet with some parameters from page1. </p>
<p>I should</p>
<p><strong>A) Load the data (HTTPREQUEST) in page1 when i click the button and pass it by</strong> intent</p>
<p>or </p>
<p><strong>B) pass the parameter by in... | I am new to Android. I would like to ask , if i have 2 pages and page2 need some data from internet with some parameters from page1. I should A) Load the data (HTTPREQUEST) in page1 when i click the button and pass it by intent or B) pass the parameter by intent and load the data (HTTPREQUEST) in page2 what people norm... | android|dialog|httprequest|splash-screen | 0 | 2015-02-27T06:15:02.723Z | 2,015 | 2 | 6 | 4 | 132 | 3 | 454 | 36 | 4 | 0 | false | false | false | false | false | false | zero |
28,758,722 | SQLite plugin doesn't work when I restart the app | <p>I made an android app with ionic/cordova/sqlite plugin .When I launched the app, the db plugin works well, it open the database and execute sql query as expected.
Next I use back button to exit the app and launch it again, I found the db is opened again but I can't execute query with this db, and I can't get the err... | I made an android app with ionic/cordova/sqlite plugin .When I launched the app, the db plugin works well, it open the database and execute sql query as expected. Next I use back button to exit the app and launch it again, I found the db is opened again but I can't execute query with this db, and I can't get the error ... | android|sqlite|cordova|ionic-framework | 1 | 2015-02-27T06:17:03.607Z | 2,015 | 2 | 6 | 4 | 405 | 0 | 528 | 49 | 4 | 2 | true | true | false | false | false | false | low |
28,758,747 | Animate RecyclerView additions from bottom | <p>I am using the latest RecyclerView library to display a list with an option to add items to this list. The list is in reverse order, so newest additions are displayed at the bottom. When adding new items to a recycler view from the top, a nice animation is displayed and the list is automatically scrolled to display ... | I am using the latest RecyclerView library to display a list with an option to add items to this list. The list is in reverse order, so newest additions are displayed at the bottom. When adding new items to a recycler view from the top, a nice animation is displayed and the list is automatically scrolled to display the... | android|animation|adapter|android-recyclerview | 6 | 2015-02-27T06:18:56.533Z | 2,015 | 2 | 6 | 4 | 1,858 | 1 | 849 | 42 | 4 | 1 | true | false | false | false | false | false | medium |
28,758,759 | how to integrate FIPS capable openssl library in AOSP in place of default openssl. | <p>a.)I am trying to make my device fips capable. I have AOSP code, can I integrate the fips capable library I generated using <a href="https://wiki.openssl.org/index.php/FIPS_Library_and_Android" rel="nofollow">https://wiki.openssl.org/index.php/FIPS_Library_and_Android</a> into my aosp build?</p>
<p>b.)Also, I want ... | a.)I am trying to make my device fips capable. I have AOSP code, can I integrate the fips capable library I generated using https://wiki.openssl.org/index.php/FIPS_Library_and_Android into my aosp build? b.)Also, I want all the sites that open to be minimum 256 bit encrypted. Is there any way to ensure the requirement ... | android|openssl|android-source|fips | 1 | 2015-02-27T06:20:22.173Z | 2,015 | 2 | 6 | 4 | 145 | 0 | 323 | 82 | 4 | 0 | false | true | false | false | false | false | low |
28,758,768 | Where does the details about the files is stored in android like its type, author etc | <p>I can view the details about the file in details tab in android,where does these details actually stored in android?</p> | I can view the details about the file in details tab in android,where does these details actually stored in android? | android|file|metadata | 0 | 2015-02-27T06:20:45.737Z | 2,015 | 2 | 6 | 4 | 56 | 1 | 116 | 85 | 3 | 0 | false | false | false | false | false | false | zero |
28,758,781 | What's the best practice to get data from onActivityResult to fragments? | <p>My parent activity is launching another activity and needs its fragments to update when the results are returned via onActivityResult. Should I simply implement methods in each fragment to pass the data into them, or is there a different way this should be done?</p>
<p>Thanks!</p> | My parent activity is launching another activity and needs its fragments to update when the results are returned via onActivityResult. Should I simply implement methods in each fragment to pass the data into them, or is there a different way this should be done? Thanks! | android|android-intent|android-activity|android-fragments | 1 | 2015-02-27T06:21:49.747Z | 2,015 | 2 | 6 | 4 | 808 | 3 | 270 | 72 | 4 | 0 | false | false | false | false | false | false | low |
28,758,842 | Changing facebook Application name doesnot reflects in Android app? | <p>I have used facebook sdk and created facebook application for login and sharing in Android application . All works great but when I tried renaming the facebook application , the new name doesnot reflects in Android app. It still shows the older name on authorizing screen . Is there something I am missing please help... | I have used facebook sdk and created facebook application for login and sharing in Android application . All works great but when I tried renaming the facebook application , the new name doesnot reflects in Android app. It still shows the older name on authorizing screen . Is there something I am missing please help. | android|facebook|facebook-graph-api | 1 | 2015-02-27T06:26:04.713Z | 2,015 | 2 | 6 | 4 | 28 | 0 | 318 | 67 | 3 | 0 | false | true | false | false | false | false | low |
28,758,880 | Why Android receiver action in manifest file not showing constant PHONE_STATE | <p>I am using Android studio 1.1.0 and I set api level from 11 to 21 for my project , when i try to set receiver- action in android main manifest file String constant PHONE_STATE not found in suggestions . Can you please help me on this .</p>
<p><img src="https://i.stack.imgur.com/A9zBQ.png" alt="enter image descripti... | I am using Android studio 1.1.0 and I set api level from 11 to 21 for my project , when i try to set receiver- action in android main manifest file String constant PHONE_STATE not found in suggestions . Can you please help me on this . | android|android-studio | 2 | 2015-02-27T06:29:24.687Z | 2,015 | 2 | 6 | 4 | 145 | 0 | 235 | 77 | 2 | 0 | false | true | false | false | false | false | low |
28,758,930 | Azure Backend Cost for a simple app | <p>I am planning to create a simple app hotel booking app that will be used by 300-500 users per month. Im looking to use Azure mobile services at its backend service. I have no idea how much I will be using</p>
<p><a href="http://azure.microsoft.com/en-us/pricing/calculator/?scenario=mobile" rel="nofollow">http://azu... | I am planning to create a simple app hotel booking app that will be used by 300-500 users per month. Im looking to use Azure mobile services at its backend service. I have no idea how much I will be using http://azure.microsoft.com/en-us/pricing/calculator/?scenario=mobile First come to my mind is I only need an SQL Da... | android|ios|azure|mobile|azure-mobile-services | 0 | 2015-02-27T06:33:41.860Z | 2,015 | 2 | 6 | 4 | 505 | 0 | 630 | 35 | 5 | 0 | false | true | false | false | false | false | zero |
28,758,951 | How to get likes and dis likes count of a video using youtube data api v3 in android? | <p>I am trying to get all videos of a channel. I am getting the video id and thumbnails etc...but i am not able get likes, dis likes and comments count of a video.</p>
<p>For example: here i am using BBC News channel id in the below url.</p>
<pre><code>https://www.googleapis.com/youtube/v3/search?key={MY API KEY}&... | I am trying to get all videos of a channel. I am getting the video id and thumbnails etc...but i am not able get likes, dis likes and comments count of a video. For example: here i am using BBC News channel id in the below url. [CODE] With this url i am getting viedo information but not likes, dis likes and comments co... | android|youtube-api|youtube-data-api | 4 | 2015-02-27T06:34:49.313Z | 2,015 | 2 | 6 | 4 | 3,869 | 2 | 366 | 85 | 3 | 1 | true | false | true | false | false | false | low |
28,758,965 | How to open current fragment from notification? | <p>i make an app with tales and some of the tham will have text and audio.
ol navigation i make in fragments, so at first - fragment with listView with taleNames, when some chosen - next fragment in which i will upload text and audio for chosen tale. for audio i am using Service, and also there i push notification when... | i make an app with tales and some of the tham will have text and audio. ol navigation i make in fragments, so at first - fragment with listView with taleNames, when some chosen - next fragment in which i will upload text and audio for chosen tale. for audio i am using Service, and also there i push notification when au... | android | 3 | 2015-02-27T06:36:07.327Z | 2,015 | 2 | 6 | 4 | 1,649 | 1 | 774 | 47 | 1 | 2 | true | false | false | false | false | false | low |
28,758,976 | Android - How to parse specific values from JSON Array and display Toast | <p>New to Android and Java in general and I'm learning how to make a JSON call. To do so, I'm following this guide: <a href="http://mobiforge.com/design-development/consuming-json-services-android-apps" rel="nofollow">http://mobiforge.com/design-development/consuming-json-services-android-apps</a></p>
<p>Here's where ... | New to Android and Java in general and I'm learning how to make a JSON call. To do so, I'm following this guide: http://mobiforge.com/design-development/consuming-json-services-android-apps Here's where things get confusing for me. The author of that tutorial wants the reader to call this API: http://ws.geonames.org/fi... | java|android|json | 0 | 2015-02-27T06:37:00.450Z | 2,015 | 2 | 6 | 4 | 3,526 | 8 | 1,221 | 72 | 3 | 3 | true | false | true | false | false | false | zero |
28,759,008 | Android kitkat webview css positioning | <p>I have an android app which uses webview. I have 3 elements in my app and I use css to position them on top of the screen. I use percentages for their width,height and positions. the html file works perfectly fine in desktop and mobile chrome browser. But when I try it in webview the positions are not correct and se... | I have an android app which uses webview. I have 3 elements in my app and I use css to position them on top of the screen. I use percentages for their width,height and positions. the html file works perfectly fine in desktop and mobile chrome browser. But when I try it in webview the positions are not correct and seems... | android|html|css|webview|android-4.4-kitkat | 0 | 2015-02-27T06:39:52.133Z | 2,015 | 2 | 6 | 4 | 543 | 1 | 678 | 38 | 5 | 0 | false | false | false | false | false | false | zero |
28,759,028 | How to receive missed messages on resuming connection lost in pubnub? | <p>I tried <a href="https://github.com/pubnub/java/tree/master/android#connection-durability-reconnecting--resuming-when-a-connection-is-lost-or-changed" rel="nofollow">https://github.com/pubnub/java/tree/master/android#connection-durability-reconnecting--resuming-when-a-connection-is-lost-or-changed</a> but still I'm ... | I tried https://github.com/pubnub/java/tree/master/android#connection-durability-reconnecting--resuming-when-a-connection-is-lost-or-changed but still I'm not able to figure out how to use setResumeOnReconnect() . I'm running android-service and added following code snippet inside onCreate() of the service. [CODE] Don'... | android|push-notification|android-service|pubnub | 1 | 2015-02-27T06:41:19.870Z | 2,015 | 2 | 6 | 4 | 384 | 1 | 349 | 69 | 4 | 1 | true | false | false | false | false | false | low |
28,759,183 | change typeface of textview in android | <p>I want to change font of my entire app to roboto-reglar. For that i have used code mentioned in <a href="https://gist.github.com/artem-zinnatullin/7749076" rel="nofollow">https://gist.github.com/artem-zinnatullin/7749076</a> link. But only for 1 heading text in my app i want to set font as Arial.I have added below c... | I want to change font of my entire app to roboto-reglar. For that i have used code mentioned in https://gist.github.com/artem-zinnatullin/7749076 link. But only for 1 heading text in my app i want to set font as Arial.I have added below code for that. [CODE] But still this heading is displayed in Roboto font. Please he... | android|textview|typeface | 1 | 2015-02-27T06:50:50.087Z | 2,015 | 2 | 6 | 4 | 123 | 0 | 348 | 38 | 3 | 1 | true | true | false | false | false | false | low |
28,759,214 | TimeOut error in Volley library | <p>I am facing one weird time out issue on volley library even after setting timeout interval to 1 min. It was running fine previously but from last couple of days it always show server time out error. </p>
<p>Please take a look of my code snippet below:</p>
<pre><code>public class AppVolley {
private static App... | I am facing one weird time out issue on volley library even after setting timeout interval to 1 min. It was running fine previously but from last couple of days it always show server time out error. Please take a look of my code snippet below: [CODE] and my calling function are as [CODE] | java|android|android-volley | 0 | 2015-02-27T06:53:13.500Z | 2,015 | 2 | 6 | 4 | 1,159 | 0 | 288 | 31 | 3 | 2 | true | true | false | false | false | false | zero |
28,759,256 | How can I refer to layout/xml files of another project from my Activity class in Android? | <p>I have two Android projects in my Workspace. Now, I want to access the res/layout files of second project in the activity/Java class of my first project. </p>
<p>I have already added the second project as a library of first project but its not working. Do I need to give the path in setContentView(R.layout.main) or ... | I have two Android projects in my Workspace. Now, I want to access the res/layout files of second project in the activity/Java class of my first project. I have already added the second project as a library of first project but its not working. Do I need to give the path in setContentView(R.layout.main) or something li... | java|android | 1 | 2015-02-27T06:56:37.867Z | 2,015 | 2 | 6 | 4 | 711 | 2 | 407 | 89 | 2 | 0 | false | false | false | false | false | false | low |
28,759,287 | Force browser screen orientation | <p>I'd like to display my website only in landscape mode when viewed from modern smartphones. Is there a way to force the major mobile browsers- Chrome/Firefox/Safari/IE10 to do so? Basically I'd like them to start the browser in landscape mode, irrespective of screen orientation and rotation lock. </p>
<p>Is it too m... | I'd like to display my website only in landscape mode when viewed from modern smartphones. Is there a way to force the major mobile browsers- Chrome/Firefox/Safari/IE10 to do so? Basically I'd like them to start the browser in landscape mode, irrespective of screen orientation and rotation lock. Is it too much to ask? ... | android|iphone|windows-phone-8|mobile-website | 0 | 2015-02-27T06:58:35.990Z | 2,015 | 2 | 6 | 4 | 676 | 1 | 461 | 32 | 4 | 0 | false | false | false | false | false | false | zero |
28,759,373 | Blink Animation in left drawable of textview in android | <p>I want to set the blink animation, in the compound drawable(left) of textview.</p>
<p>i followed the link:
<a href="http://chiuki.github.io/advanced-android-textview/#/4" rel="nofollow">http://chiuki.github.io/advanced-android-textview/#/4</a></p>
<p>its helped me and also working like a charm.
but, i failed to ac... | I want to set the blink animation, in the compound drawable(left) of textview. i followed the link: http://chiuki.github.io/advanced-android-textview/#/4 its helped me and also working like a charm. but, i failed to achieve blink animation, please guide me for the correct approach. the xml file i used for blink animati... | android|animation|textview|compound-drawables | 1 | 2015-02-27T07:05:45.290Z | 2,015 | 2 | 7 | 4 | 631 | 1 | 460 | 55 | 4 | 3 | true | false | false | false | false | false | low |
28,759,376 | Android WebView Cannot Load html | <p>I want to load html file when application runs. I tried on my cell phone but it's not working.
I'm trying to load the html file in the WebView. Below html file gets loaded but at run time these (01,02,03...) html files not loaded.</p>
<p>This is my html code:</p>
<pre><code><html>
<FRAMESET rows="18%,... | I want to load html file when application runs. I tried on my cell phone but it's not working. I'm trying to load the html file in the WebView. Below html file gets loaded but at run time these (01,02,03...) html files not loaded. This is my html code: [CODE] | android|html | -1 | 2015-02-27T07:05:51.490Z | 2,015 | 2 | 7 | 4 | 350 | 1 | 259 | 32 | 2 | 1 | true | false | false | false | false | true | negative |
28,759,454 | Enabling Location mode High Accuracy or Battery saving, programmatically, without user needing to visit Settings | <p><strong><em>Why i ask this:</em></strong>(also the reason for trying it in an app) </p>
<p><strong>It happens</strong> when we use <strong>Google Maps in Lollipop</strong>. <em>Even if the Location is disabled, it is turned on, in high accuracy mode after user's input from the Maps app, without having to visit Se... | Why i ask this: (also the reason for trying it in an app) It happens when we use Google Maps in Lollipop . Even if the Location is disabled, it is turned on, in high accuracy mode after user's input from the Maps app, without having to visit Settings. A similar functionality can be achieved for enabling Bluetooth, wher... | android|google-play-services|android-5.0-lollipop|android-location|android-settings | 21 | 2015-02-27T07:11:09.560Z | 2,015 | 2 | 7 | 4 | 34,057 | 3 | 984 | 112 | 5 | 0 | false | false | true | true | true | false | high |
28,759,505 | Execution failed for task ':app:compileDebugNdk' | <p>I'm using the latest android studio build 1.1 ,since i want to import an eclipse project that needs NDK .i installed NDK and set the NDK location in the <code>local.properties</code>.The problem is when i try to run the project 2 errors are displayed they are </p>
<pre><code>1) Error:(199) *** Android NDK: Aborting... | I'm using the latest android studio build 1.1 ,since i want to import an eclipse project that needs NDK .i installed NDK and set the NDK location in the local.properties .The problem is when i try to run the project 2 errors are displayed they are [CODE] any solution? | android|android-ndk | 8 | 2015-02-27T07:14:32.220Z | 2,015 | 2 | 7 | 4 | 33,831 | 3 | 268 | 48 | 2 | 1 | true | false | true | true | false | false | medium |
28,759,508 | Do Not Disturb mode - always silent incoming calls | <p>I have an app with an integrated music player. I don't want the music to be interrupted by incoming calls.</p>
<p>I use following function for that:</p>
<pre><code>public static void updateDoNotDisturbMode(boolean enabled, boolean checkPrefs)
{
...
AudioManager audioManager = ((AudioManager) MainApp.get().... | I have an app with an integrated music player. I don't want the music to be interrupted by incoming calls. I use following function for that: [CODE] what works silent phone if no headphones are connected internal music player does play on without interruption if someone calls so without headphones connected, everything... | android|android-audiomanager | 3 | 2015-02-27T07:14:36.453Z | 2,015 | 2 | 7 | 4 | 1,259 | 1 | 629 | 50 | 2 | 1 | true | false | false | false | false | false | low |
28,759,646 | android - universal image loader how to apply displayer when image failed to load? | <p>I have loaded and displayed some image from internet using UIL.</p>
<pre><code> DisplayImageOptions options = new DisplayImageOptions.Builder()
.displayer(new CircleBitmapDisplayer(0xFF70C7BE, 2))
.showImageOnLoading(R.drawable.avatar)
.showImageOnFail(R.drawable.avatar)
... | I have loaded and displayed some image from internet using UIL. [CODE] As you can see from the code, I used a CircleBitmapDisplayer as the displayer, and set showImageOnFail with an image. The problem I am facing is that the displayer only applied when image load successfully, but not applied when image load failed. So... | android|image|bitmap|universal-image-loader|image-loading | 0 | 2015-02-27T07:25:33.937Z | 2,015 | 2 | 7 | 4 | 2,583 | 2 | 411 | 82 | 5 | 1 | true | false | false | false | false | false | zero |
28,759,661 | Two app installed in my device while running android application | <p>I have developed an android application using Eclipse.While running the application, there will be two application installed in my device.I really have no idea why this is happened.Please do anyone have idea about this issue?
Thank you in advance.</p> | I have developed an android application using Eclipse.While running the application, there will be two application installed in my device.I really have no idea why this is happened.Please do anyone have idea about this issue? Thank you in advance. | java|android | 0 | 2015-02-27T07:26:52.390Z | 2,015 | 2 | 7 | 4 | 50 | 2 | 247 | 64 | 2 | 0 | false | false | false | false | false | false | zero |
28,759,900 | How we can open instagram app while login integration in android | <p>I'm facing one problem.I need to login with instagram and i have followed method and it work fine but I need to login time it show in dialog or redirect to browser because instagram provide us api's <strong>(api.instagram)</strong> like this for its authentication.</p>
<p>But i want to know is there any way to log... | I'm facing one problem.I need to login with instagram and i have followed method and it work fine but I need to login time it show in dialog or redirect to browser because instagram provide us api's (api.instagram) like this for its authentication. But i want to know is there any way to login with instragram like faceb... | android|authentication|instagram|instagram-api | 0 | 2015-02-27T07:43:04.090Z | 2,015 | 2 | 7 | 4 | 1,016 | 0 | 620 | 64 | 4 | 0 | false | true | false | false | false | false | zero |
28,759,920 | Storing Lists in arraylist for ListView | <p>I've parsed xml and saved parsed elements in array list. My aim to use this values for my listviews sections and items.</p>
<pre><code>arraylist1 = [Satellite, Satellite, Satellite, Satellite, Map, Map, Hybrid, Hybrid, Hybrid, Hybrid]
arraylist2 = [Roads, Rivers, Buildings, Cars, Animals, Cats, Parcels, Speeds, Bl... | I've parsed xml and saved parsed elements in array list. My aim to use this values for my listviews sections and items. [CODE] I've used Set<String> s = new HashSet<String>(LayerNames); to eliminate duplicates for first arraylist. It did my stuff. How can i store the other elements like this ; [CODE] Thanks in advance ... | android|parsing|listview|arraylist | -1 | 2015-02-27T07:44:39.690Z | 2,015 | 2 | 7 | 4 | 82 | 1 | 509 | 39 | 4 | 5 | true | false | false | false | false | true | negative |
28,759,950 | How can I ensure that a user has filled all required fields in a PreferenceFragment before allowing them to back out? | <p>I have a <code>PreferenceFragment</code> with a few preferences in it. My aim is to ensure that the user fills in all of the values on this screen (they can leave if they fill none at all, but if you fill one in, you need to fill all in)</p>
<p>My first thought was that I could handle <code>onBackPressed</code> an... | I have a PreferenceFragment with a few preferences in it. My aim is to ensure that the user fills in all of the values on this screen (they can leave if they fill none at all, but if you fill one in, you need to fill all in) My first thought was that I could handle onBackPressed and check pref1, pref2, pref3, but it tu... | android|back|preferencefragment | 0 | 2015-02-27T07:46:56.597Z | 2,015 | 2 | 7 | 4 | 44 | 1 | 677 | 117 | 3 | 0 | false | false | false | false | false | false | zero |
28,759,965 | Android studio, library project, javadoc url setting missing | <p>Android studio supports writing pure java modules as library. In such a library the platform jdk is used. However, the javadoc url for the documentation quickview (with <kbd>Ctrl</kbd>+<kbd>Q</kbd>) is wrong. Im my case for a code snippet it states on the doc for ConcurrentLinkedQueue.take()</p>
<pre>
Following ext... | Android studio supports writing pure java modules as library. In such a library the platform jdk is used. However, the javadoc url for the documentation quickview (with Ctrl + Q ) is wrong. Im my case for a code snippet it states on the doc for ConcurrentLinkedQueue.take() [CODE] Where does the IDE get the javafx url f... | android|android-studio|javadoc | 11 | 2015-02-27T07:47:55.020Z | 2,015 | 2 | 7 | 4 | 1,222 | 0 | 422 | 60 | 3 | 1 | true | true | false | false | true | false | medium |
28,759,985 | Is there any possible way to generate a notication from BroadcastReceiver | <p>I need to generate a titlbar notification from a broadcast receiver.
or
an alert dialogue with a notification sound</p> | I need to generate a titlbar notification from a broadcast receiver. or an alert dialogue with a notification sound | android | -3 | 2015-02-27T07:49:27.703Z | 2,015 | 2 | 7 | 4 | 46 | 2 | 115 | 73 | 1 | 0 | false | false | false | false | false | true | negative |
28,760,025 | Android write files to USB via OTG cable | <p>I've been searching for many topics about android file writing, yet most of them wanted to write files to android internal storage. Others who wanted to write files on external SD card didn't success at all. My case is quite similar but I think that writing files to external USB is a totally different case.</p>
<p>I... | I've been searching for many topics about android file writing, yet most of them wanted to write files to android internal storage. Others who wanted to write files on external SD card didn't success at all. My case is quite similar but I think that writing files to external USB is a totally different case. I am using ... | android|file-io|android-external-storage | 2 | 2015-02-27T07:52:24.760Z | 2,015 | 2 | 7 | 4 | 10,508 | 2 | 1,044 | 40 | 3 | 2 | true | false | true | false | false | false | low |
28,760,043 | Application Crashes when clicking button | <p>Im making an android app that is crashing every time i try call another Activity. Im trying to read the log cat but i cant see where the issue is or why its crashing?</p>
<blockquote>
<p>MainActivity.java</p>
</blockquote>
<pre><code>import android.content.Intent;
import android.support.v7.app.ActionBarActivity;... | Im making an android app that is crashing every time i try call another Activity. Im trying to read the log cat but i cant see where the issue is or why its crashing? MainActivity.java [CODE] SearchResults.java (This is the activity that is called from MainActivity.java) [CODE] LogCat results: [CODE] XML Of MainActivit... | java|android | 0 | 2015-02-27T07:53:42.257Z | 2,015 | 2 | 7 | 4 | 73 | 2 | 343 | 40 | 2 | 4 | true | false | false | false | false | false | zero |
28,760,056 | How to clear Animation Listeners set by NineOldAndroids? | <p>I am trying to have a view animated in my app and am using NineOldAndroid for animations.<br>
The desired effect is to fade the view out and then set it's visibility to gone so that it doesn't get clicked while invisible. Here is How I do it.</p>
<pre><code>ViewPropertyAnimator.animate(view).alpha(0).setListener(ne... | I am trying to have a view animated in my app and am using NineOldAndroid for animations. The desired effect is to fade the view out and then set it's visibility to gone so that it doesn't get clicked while invisible. Here is How I do it. [CODE] The problem here is that the listener above sticks with the view and when ... | android|android-animation|nineoldandroids | 4 | 2015-02-27T07:54:42.540Z | 2,015 | 2 | 7 | 4 | 1,937 | 1 | 527 | 56 | 3 | 2 | true | false | false | false | false | false | low |
28,760,097 | Divide screen width equally and a few more layout questions | <p>I am stuck somewhere... I am writing an app for logging behaviour observations of grazing cows. The idea is that at the bottom of the screen, I have fields with identification of the individual animals. To register an observation, that field is dragged to one of the fields at the top, i.e. drag 240 to Grazing to sho... | I am stuck somewhere... I am writing an app for logging behaviour observations of grazing cows. The idea is that at the bottom of the screen, I have fields with identification of the individual animals. To register an observation, that field is dragged to one of the fields at the top, i.e. drag 240 to Grazing to show t... | android|android-layout | 3 | 2015-02-27T07:57:14.173Z | 2,015 | 2 | 7 | 4 | 3,751 | 2 | 1,569 | 59 | 2 | 1 | true | false | true | false | false | false | low |
28,760,142 | Implementing RevealLayout in between actvities | <p>What would be the best way to implement <a href="https://github.com/kyze8439690/RevealLayout" rel="nofollow noreferrer"><code>RevealLayout</code></a> in between activities? The answer the developer gave in the open bug is incredibly vague and I would like a bit more guidance. Also, if there's a better way of approac... | What would be the best way to implement RevealLayout in between activities? The answer the developer gave in the open bug is incredibly vague and I would like a bit more guidance. Also, if there's a better way of approaching it than with RevealLayout , I would appreciate any other ideas. Looking to implement it on the ... | android|android-animation|material-design | 2 | 2015-02-27T08:00:38.503Z | 2,015 | 2 | 8 | 4 | 159 | 0 | 351 | 46 | 3 | 0 | false | true | false | false | false | false | low |
28,760,204 | Android Studio Unable to open class file Manifest.java | <p>I have a eclipse-based Android project, I migrated to Android Studio without Gradle build system, when I compile the project, it reports this error:</p>
<pre><code>Error:android-apt-compiler: [android_test] ERROR: Unable to open class file C:\Windows\System32\config\systemprofile\.AndroidStudio\system\compile-serve... | I have a eclipse-based Android project, I migrated to Android Studio without Gradle build system, when I compile the project, it reports this error: [CODE] | android|eclipse|android-studio | -1 | 2015-02-27T08:06:10.947Z | 2,015 | 2 | 8 | 4 | 480 | 1 | 155 | 54 | 3 | 1 | true | false | false | false | false | true | negative |
28,760,210 | why i can't get the right result when I using ContentResolver.update? | <p>I'd recently learned Content provider in android.I tried to implement ContentProvider.When I perform updating ,it felt more like deleting than updating.</p>
<pre><code>public void updateBook(Context context){
String name=edName.getText().toString();
String isbn=edIsbn.getText().toString();
String autho... | I'd recently learned Content provider in android.I tried to implement ContentProvider.When I perform updating ,it felt more like deleting than updating. [CODE] Befor i ran this ,therea was already a book whose id was 4.The update count returned 1.But when i tried to call show_books method ,the book 4 was disappear.It r... | android|android-contentprovider | -2 | 2015-02-27T08:07:00.403Z | 2,015 | 2 | 8 | 4 | 75 | 1 | 530 | 69 | 2 | 4 | true | false | false | false | false | true | negative |
28,760,214 | Custom Actionbar imageview needs to fit | <p>I have a very simple question.</p>
<p>I have been asked by my company to make the actionbar just a simple imageview. So no icon, no title and no buttons at all. I've created a custom actionbar, and the imageview is up there just fine. I have attached a link to an image of my layout, and the emulator on the right. T... | I have a very simple question. I have been asked by my company to make the actionbar just a simple imageview. So no icon, no title and no buttons at all. I've created a custom actionbar, and the imageview is up there just fine. I have attached a link to an image of my layout, and the emulator on the right. They want th... | android|android-actionbar|imageview|banner | 0 | 2015-02-27T08:07:24.763Z | 2,015 | 2 | 8 | 4 | 685 | 2 | 1,116 | 39 | 4 | 0 | false | false | false | false | false | false | zero |
28,760,218 | ImageView can't be clicked like a button | <ul>
<li>Everything is OK except the onClick() method.It didn't work at all.When I click the any of the 3 images,nothing happened.</li>
<li>I know that I can solve the problem by using Button or ImageButton.But where is the bug in my code?</li>
<li><p>Here is a part of my code:</p>
<pre><code>protected void onCreate(B... | Everything is OK except the onClick() method.It didn't work at all.When I click the any of the 3 images,nothing happened. I know that I can solve the problem by using Button or ImageButton.But where is the bug in my code? Here is a part of my code: [CODE] XML: [CODE] | java|android|xml | 1 | 2015-02-27T08:07:27.430Z | 2,015 | 2 | 8 | 4 | 169 | 4 | 267 | 40 | 3 | 2 | true | false | false | false | false | false | low |
28,760,220 | Data shuffles in ListView android xamarin | <p>I am working on a listview in android xamarin. I have created a custom control with a webview, radiogroup and 3 radio buttons. I have an html string which is split to create an array of questions which is passed to the adapter.Which binds them to the ListView as shown in the screen shot. </p>
<p>The problem is when... | I am working on a listview in android xamarin. I have created a custom control with a webview, radiogroup and 3 radio buttons. I have an html string which is split to create an array of questions which is passed to the adapter.Which binds them to the ListView as shown in the screen shot. The problem is whenever i scrol... | c#|android|android-listview|xamarin|xamarin.android | 1 | 2015-02-27T08:07:36.157Z | 2,015 | 2 | 8 | 4 | 547 | 1 | 915 | 41 | 5 | 1 | true | false | false | false | false | false | low |
28,760,269 | In android how to Handel Runnable Handler class | <p>In my android code my requirement is :--
when I click the button it will show an animation..this animation will run for 4 sec..then it will go to another activity.</p>
<p>my code is:--</p>
<pre><code>public class Animation_test extends Activity {
private Handler handler;
Context context;
private Tran... | In my android code my requirement is :-- when I click the button it will show an animation..this animation will run for 4 sec..then it will go to another activity. my code is:-- [CODE] But my code is only showing the animation..where is the problem??? | java|android | 1 | 2015-02-27T08:11:30.813Z | 2,015 | 2 | 8 | 4 | 115 | 1 | 251 | 47 | 2 | 1 | true | false | false | false | false | false | low |
28,760,274 | How to use the curl in android Twitter integration | <p>i try to get the friends ids from Twitter i have the following cURL to get the friends list</p>
<blockquote>
<p>curl --request 'POST' '<a href="https://api.twitter.com/1.1/friends/ids.json" rel="nofollow">https://api.twitter.com/1.1/friends/ids.json</a>'
--data 'amp%3Bcount=5000&amp%3Bscreen_name=twitterapi... | i try to get the friends ids from Twitter i have the following cURL to get the friends list curl --request 'POST' ' https://api.twitter.com/1.1/friends/ids.json ' --data 'amp%3Bcount=5000&%3Bscreen_name=twitterapi&cursor=-1' --header 'Authorization: OAuth oauth_consumer_key="XXXXXXXXX", oauth_nonce="XXXXXXXXXXX", oa... | android|twitter|twitter-oauth | 0 | 2015-02-27T08:11:53.250Z | 2,015 | 2 | 8 | 4 | 175 | 1 | 519 | 50 | 3 | 0 | false | false | false | false | false | false | zero |
28,760,277 | flipping a tile in android | <p>In my layout, I am having a set of tiles(Something similar to windows phone home screen) .I am trying to flip the tile to show more content. I have taken a look at card flipping, but then it flips the entire fragment.I want it to flip a part of the whole layout.I have tried rotating it using Object animator .Here is... | In my layout, I am having a set of tiles(Something similar to windows phone home screen) .I am trying to flip the tile to show more content. I have taken a look at card flipping, but then it flips the entire fragment.I want it to flip a part of the whole layout.I have tried rotating it using Object animator .Here is my... | android|animation|nineoldandroids | 0 | 2015-02-27T08:12:03.977Z | 2,015 | 2 | 8 | 4 | 698 | 1 | 400 | 26 | 3 | 1 | true | false | false | false | false | false | zero |
28,760,278 | Android Open CV make: *** Android NDK: Aborting | <p>![I got this error when i try to run sample projects of opencv][1]</p>
<p>![1]: (<a href="http://i.stack.imgur.com/6zoTZ.png" rel="nofollow">http://i.stack.imgur.com/6zoTZ.png</a>)</p> | ![I got this error when i try to run sample projects of opencv][1] ![1]: ( http://i.stack.imgur.com/6zoTZ.png ) | android-ndk | 0 | 2015-02-27T08:12:04.077Z | 2,015 | 2 | 8 | 4 | 30 | 0 | 111 | 47 | 1 | 0 | false | true | false | false | false | false | zero |
28,760,284 | convert String to Double in EditText | <p>I am making an android application. The user will enter a 11-15 digit in android <code>EditText</code> as I have to do some mathematical work on this no, i need to convert it into double but so far this is not working well </p>
<p>how can i get the same string after parsing it into double </p>
<p>so far this is m... | I am making an android application. The user will enter a 11-15 digit in android EditText as I have to do some mathematical work on this no, i need to convert it into double but so far this is not working well how can i get the same string after parsing it into double so far this is my code: [CODE] OUTPUT: [CODE] DESIR... | java|android|string|performance|double | 0 | 2015-02-27T08:12:26.213Z | 2,015 | 2 | 8 | 4 | 1,199 | 4 | 337 | 36 | 5 | 3 | true | false | false | false | false | false | zero |
28,760,298 | Open server socket in android : permission denied? | <p>I'm trying to create server socket on port 554 (rtsp) in Android and i'm getting <code>BindException</code> with 'denied' message:</p>
<pre><code> public RequestListener() throws IOException {
try {
mRtspServerSocket = new ServerSocket(mPort);
start();
... | I'm trying to create server socket on port 554 (rtsp) in Android and i'm getting BindException with 'denied' message: [CODE] Are standard ports (or < 1024) unavailable for binding? Do i have to have root permission on the device for that? PS. I have <uses-permission android:name="android.permission.INTERNET" /> in Andr... | android|sockets|root | 0 | 2015-02-27T08:13:18.067Z | 2,015 | 2 | 8 | 4 | 2,680 | 1 | 335 | 50 | 3 | 1 | true | false | true | false | false | false | zero |
28,760,314 | Android License Verification Check returns always Error Code 6 | <p>My LicenseCheckerCallback calls method applicationError and return errorCode 6.
In my LogCat I get the following JavaStack:</p>
<pre><code>02-27 08:55:18.258: I/LicenseChecker(19572): Binding to licensing service.
02-27 08:55:18.268: D/dalvikvm(19572): threadid=1: still suspended after undo (sc=1 dc=1)
02-27 08:55:... | My LicenseCheckerCallback calls method applicationError and return errorCode 6. In my LogCat I get the following JavaStack: [CODE] My License Verification Implementation : [CODE] I have published the app in the BETA TEST Phase and fetched the BASE64_PUBLIC_KEY for my code. I have added a licensetest-account in the sett... | java|android|android-lvl | 1 | 2015-02-27T08:14:29.660Z | 2,015 | 2 | 8 | 4 | 1,158 | 2 | 673 | 62 | 3 | 2 | true | false | false | false | false | false | low |
28,760,343 | Simulate Touch Controls Through Code | <p>I'm trying to make it possible to navigate through my Google Glass application by using head gestures. I'm able to recognize head gestures like looking to the right left and up. They each have their own method for what to do when this gesture is recognized</p>
<p>Now I need to simulate the corresponding touch gestur... | I'm trying to make it possible to navigate through my Google Glass application by using head gestures. I'm able to recognize head gestures like looking to the right left and up. They each have their own method for what to do when this gesture is recognized Now I need to simulate the corresponding touch gestures inside ... | android|google-glass|google-gdk | 3 | 2015-02-27T08:16:52.143Z | 2,015 | 2 | 8 | 4 | 1,510 | 2 | 1,227 | 36 | 3 | 2 | true | false | false | false | false | false | low |
28,760,384 | Can't paint on surfaceview | <p>I'm trying to use SurfaceView and want to paint on it, use code:</p>
<pre><code>public class TestPaint extends SurfaceView {
public TestPaint(Context context) {
super(context);
setWillNotDraw(false);
setBackgroundColor(color.white);
}
@Override
protected void onDraw(Canvas c... | I'm trying to use SurfaceView and want to paint on it, use code: [CODE] The TestPaint display black background only. I try Why do I get it? | android | 0 | 2015-02-27T08:19:43.957Z | 2,015 | 2 | 8 | 4 | 43 | 1 | 139 | 26 | 1 | 1 | true | false | false | false | false | false | zero |
28,760,418 | Set CardView height programmatically | <p>I am new to Android dev and I'm having trouble trying to set the min height of a <code>it.gmariotti.cardslib.library.view.CardView</code> programmatically. I create a new instance of a CardView and set all the xml elements in code, but it does not affect the cardView. I do not inflate the cardview from xml.</p>
<pr... | I am new to Android dev and I'm having trouble trying to set the min height of a it.gmariotti.cardslib.library.view.CardView programmatically. I create a new instance of a CardView and set all the xml elements in code, but it does not affect the cardView. I do not inflate the cardview from xml. [CODE] | android | 13 | 2015-02-27T08:22:30.927Z | 2,015 | 2 | 8 | 4 | 31,949 | 3 | 302 | 36 | 1 | 1 | true | false | true | true | true | false | medium |
28,760,464 | Android Studio not Build tool 19.1.0 | <p>i am getting this error "Error:The SDK Build Tools revision (19.0.0) is too low for project ':CordovaLib'. Minimum required is 19.1.0"</p>
<p>so i have updated settings as below but still getting same error</p>
<pre><code>import java.util.regex.Pattern
apply plugin: 'android'
buildscript {
repositories {
... | i am getting this error "Error:The SDK Build Tools revision (19.0.0) is too low for project ':CordovaLib'. Minimum required is 19.1.0" so i have updated settings as below but still getting same error [CODE] what wrong is going here? | android|cordova|android-studio|phonegap-plugins | 0 | 2015-02-27T08:25:06.953Z | 2,015 | 2 | 8 | 4 | 512 | 0 | 232 | 36 | 4 | 1 | true | true | false | false | false | false | zero |
28,760,491 | Android: How to read Digital Signature Certificates from a secured USB token | <p>I have a requirement of reading the certificates that are installed on a USB token which is connected to the android device (Phone/tablet). The USB dongle also has associated public and private keys with it.</p>
<p>For this, Should I use UsbInterface, UsbConnections to read it as we normally do. If yes, Then how sh... | I have a requirement of reading the certificates that are installed on a USB token which is connected to the android device (Phone/tablet). The USB dongle also has associated public and private keys with it. For this, Should I use UsbInterface, UsbConnections to read it as we normally do. If yes, Then how should I chec... | android|cryptography|usb|spongycastle | 1 | 2015-02-27T08:26:51.510Z | 2,015 | 2 | 8 | 4 | 1,034 | 0 | 549 | 76 | 4 | 0 | false | true | false | false | false | false | low |
28,760,690 | Adding views to FrameLayout and animating them | <p>What is the best to add a bunch of views to a FrameLayout parent and add animations and interactions to these views programmatically?</p>
<p>For example I want to add some image buttons and move them away after an event bring some other buttons in view, which were out of view initially.</p> | What is the best to add a bunch of views to a FrameLayout parent and add animations and interactions to these views programmatically? For example I want to add some image buttons and move them away after an event bring some other buttons in view, which were out of view initially. | android|user-interface|animation | -1 | 2015-02-27T08:39:40.600Z | 2,015 | 2 | 8 | 4 | 722 | 1 | 280 | 46 | 3 | 0 | false | false | false | false | false | true | negative |
28,760,696 | Error in running android code on emulator | <p>While running an android code in Eclipse, I get an error saying "<strong>Installation error: INSTALL_FAILED_VERSION_DOWNGRADE
Please check logcat output for more details.</strong>". But I have declared Target SDKVersion = 11, MinSDKVersion = 3, MaxSDKVersion = 21. Version Code = 15 Version Name = 2.0</p> | While running an android code in Eclipse, I get an error saying " Installation error: INSTALL_FAILED_VERSION_DOWNGRADE Please check logcat output for more details. ". But I have declared Target SDKVersion = 11, MinSDKVersion = 3, MaxSDKVersion = 21. Version Code = 15 Version Name = 2.0 | android|eclipse|sdk | 0 | 2015-02-27T08:39:50.053Z | 2,015 | 2 | 8 | 4 | 52 | 1 | 286 | 41 | 3 | 0 | false | false | false | false | false | false | zero |
28,760,709 | Got 'IOException: hostname was not verified', although given hostname (IP address) matches common name | <p>How is it possible that I get a <code>IOException: hostname was not verified</code> after I have successfully inserted my certificate, and use it as part of OKHttp's SSLFactory instance? I know that this is a common issue with self-signed certificates, but only if the name on the server, does not match the name on t... | How is it possible that I get a IOException: hostname was not verified after I have successfully inserted my certificate, and use it as part of OKHttp's SSLFactory instance? I know that this is a common issue with self-signed certificates, but only if the name on the server, does not match the name on the certificate. ... | java|android|ssl|okhttp | 3 | 2015-02-27T08:40:35.377Z | 2,015 | 2 | 8 | 4 | 1,944 | 1 | 936 | 102 | 4 | 2 | true | false | false | false | false | false | low |
28,760,829 | How to encode AndroidManifest.xml when creating apk | <p>According to the requirements, I need to encode AndroidManifest.xml while creating apk so that no one can extract or hack my project information. How can I achieve this?</p>
<p>I searched on Google but didn't find any solution for this. I also tried <a href="https://stackoverflow.com/questions/16777049/encode-deco... | According to the requirements, I need to encode AndroidManifest.xml while creating apk so that no one can extract or hack my project information. How can I achieve this? I searched on Google but didn't find any solution for this. I also tried this but got no solution. Any help will be appreciated. Thanks. | android|encoding|android-manifest | 2 | 2015-02-27T08:47:32.630Z | 2,015 | 2 | 8 | 4 | 1,074 | 1 | 306 | 51 | 3 | 0 | false | false | false | false | false | false | low |
28,760,888 | is calling getWidth() and getHeight() on android.View expensive? | <p>I have an application that draws Bitmaps and drawing primitives on <code>android.View</code> <code>Canvas</code>. I call operations <code>getWidth()</code> and <code>getHeight()</code> on a view and/or its <code>Canvas</code> a couple of dozen times per frame and the view size can sometimes change.</p>
<p>What are ... | I have an application that draws Bitmaps and drawing primitives on android.View Canvas . I call operations getWidth() and getHeight() on a view and/or its Canvas a couple of dozen times per frame and the view size can sometimes change. What are the factors that could make these operations expensive? Please refrain from... | android|performance|android-layout | 0 | 2015-02-27T08:51:23.323Z | 2,015 | 2 | 8 | 4 | 180 | 1 | 360 | 64 | 3 | 0 | false | false | false | false | false | false | zero |
28,760,919 | Integrating DexGuard into Android Studio | <p>Has anyone of you managed to install DexGuard as a plugin to Android Studio? I am trying to do so with DexGuard 6.1 and Android Studio 1.1.0 using <code>Settings>Plugin>Install from disk</code>, however both <em><code>libs/dexguard.jar</code></em> and <em><code>eclipse/com.saikoa.(...).jar</code></em> files re... | Has anyone of you managed to install DexGuard as a plugin to Android Studio? I am trying to do so with DexGuard 6.1 and Android Studio 1.1.0 using Settings>Plugin>Install from disk , however both libs/dexguard.jar and eclipse/com.saikoa.(...).jar files result in " Failed to load plugin descriptor for file ((the_selecte... | android|android-studio|gradle|dexguard | 4 | 2015-02-27T08:53:25.337Z | 2,015 | 2 | 8 | 4 | 8,906 | 1 | 568 | 40 | 4 | 0 | false | false | true | false | false | false | low |
28,760,941 | compress image file from camera to certain size | <p>I'm trying to compress an image that I saved in the file. I'm trying to compress the File into 1MB. I try a few way but it usually make an OutofMemoryError.
and then i tried to use this solution, but it makes the bitmap blank. </p>
<blockquote>
<p><a href="https://stackoverflow.com/questions/27415478/how-to-compr... | I'm trying to compress an image that I saved in the file. I'm trying to compress the File into 1MB. I try a few way but it usually make an OutofMemoryError. and then i tried to use this solution, but it makes the bitmap blank. How to compress bitmap from 10mb image from camera to 300kb beforw setting to imageview in an... | android|memory-management|bitmap|android-bitmap | 4 | 2015-02-27T08:54:47.147Z | 2,015 | 2 | 8 | 4 | 8,614 | 2 | 350 | 47 | 4 | 1 | true | false | true | false | false | false | low |
28,760,953 | Manage ListView contextual menu while listview displayed content changes | <p>I have a fragment in which I display a listview with lets say 3 items : A, B and C
I long press on B to display a contextual menu. Then once this menu is displayed a background process updates the data and removes A from the adapter (cursor adapter + notifydatasetchanged). My contextual menu is still displayed. Now ... | I have a fragment in which I display a listview with lets say 3 items : A, B and C I long press on B to display a contextual menu. Then once this menu is displayed a background process updates the data and removes A from the adapter (cursor adapter + notifydatasetchanged). My contextual menu is still displayed. Now I p... | android|android-listview|contextmenu | 0 | 2015-02-27T08:55:46.957Z | 2,015 | 2 | 8 | 4 | 89 | 0 | 658 | 72 | 3 | 1 | true | true | false | false | false | false | zero |
28,760,955 | setPlaybckSpeed() of vitamio library is not working with the videos having no voice | <p>I am using vitamio library to play video at fast/slow then its original speed. <code>setPlaybackSpeed()</code> of the library works for the videos having sound but fails to work with videos having no sound.</p>
<p>Code which works for the videos having sound is :</p>
<pre><code>videoSurface_view.getMediaPlayer().s... | I am using vitamio library to play video at fast/slow then its original speed. setPlaybackSpeed() of the library works for the videos having sound but fails to work with videos having no sound. Code which works for the videos having sound is : [CODE] where videoSurface_view = VideoView of Vitamio speed = Float value to... | android | 2 | 2015-02-27T08:55:58.987Z | 2,015 | 2 | 8 | 4 | 227 | 0 | 343 | 83 | 1 | 1 | true | true | 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.