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,760,972 | Transparency with rgba does not work in Android Chrome | <p>You may see the transparency in some divs which is achieved with rgba css property. However, Chrome in my tablet(ASUS) and my smartphone(Samsung S3 mini Galaxy) denies to follow these transparencies (Internet Explorer does follow!).
Why that? Is there any solution to this problem?
Thank you</p> | You may see the transparency in some divs which is achieved with rgba css property. However, Chrome in my tablet(ASUS) and my smartphone(Samsung S3 mini Galaxy) denies to follow these transparencies (Internet Explorer does follow!). Why that? Is there any solution to this problem? Thank you | android|css|google-chrome | 2 | 2015-02-27T08:57:00.650Z | 2,015 | 2 | 8 | 4 | 1,469 | 1 | 291 | 54 | 3 | 0 | false | false | false | false | false | false | low |
28,761,000 | Caught ClassNotFound exception when load class from downloaded dex file | <p>I'm trying to implement a hot-fix mechanism in my android app. After googling for a while, here's what I've done:</p>
<ol>
<li>I generated a <code>dynamic.jar</code> file with the classes that I want to patch. (I'm using eclipse and ADT)</li>
<li>Using <code>dx --dex --output=patch.jar dynamic.jar</code>, I managed... | I'm trying to implement a hot-fix mechanism in my android app. After googling for a while, here's what I've done: I generated a dynamic.jar file with the classes that I want to patch. (I'm using eclipse and ADT) Using dx --dex --output=patch.jar dynamic.jar , I managed to create a jar file that contains classes.dex In ... | java|android|classloader|dexclassloader | 4 | 2015-02-27T08:58:49.457Z | 2,015 | 2 | 8 | 4 | 434 | 0 | 1,021 | 71 | 4 | 0 | false | true | false | false | false | false | low |
28,761,017 | "setSupportActionBar(toolbar)" inside FragmentActivity? | <p>How do I access <code>setSupportActionBar(Toolbar toolbar)</code> inside <code>FragmentActivity</code>?
I can't access it inside <code>FragmentActivity</code></p>
<pre><code>toolbar = (Toolbar) findViewById(R.id.search_bar);
setSupportActionBar( toolbar);
</code></pre> | How do I access setSupportActionBar(Toolbar toolbar) inside FragmentActivity ? I can't access it inside FragmentActivity [CODE] | android|android-actionbar|android-support-library | 45 | 2015-02-27T08:59:52.850Z | 2,015 | 2 | 8 | 4 | 47,834 | 9 | 127 | 55 | 3 | 1 | true | false | true | true | true | false | high |
28,761,179 | Android bottom zig-zag shape | <p>I need to achieve below attached image programatically, is there any way? I know how to draw rectangle in <code>layer-list</code> but for the particular zig-zag texture in bottom I don't have any idea <img src="https://i.stack.imgur.com/DESFj.jpg" alt="enter image description here"></p>
<p>Please help me to achieve... | I need to achieve below attached image programatically, is there any way? I know how to draw rectangle in layer-list but for the particular zig-zag texture in bottom I don't have any idea Please help me to achieve this shape Thanks in advance | android|shapes|drawrectangle|zigzag | 2 | 2015-02-27T09:09:02.113Z | 2,015 | 2 | 9 | 4 | 3,261 | 1 | 242 | 28 | 4 | 0 | false | false | true | false | false | false | low |
28,761,267 | Method setUp in android.test.AndroidTestCase not mocked | <p>I'm trying to come to terms with the new unit test feature of Android Studio.
I've followed the instructions on <a href="http://tools.android.com/tech-docs/unit-testing-support" rel="noreferrer">http://tools.android.com/tech-docs/unit-testing-support</a>. The description there explicitly mentions the 'Method ... no... | I'm trying to come to terms with the new unit test feature of Android Studio. I've followed the instructions on http://tools.android.com/tech-docs/unit-testing-support . The description there explicitly mentions the 'Method ... not mocked' error and suggests to put the following into the build.gradle : [CODE] This work... | android|unit-testing|android-studio | 11 | 2015-02-27T09:14:10.153Z | 2,015 | 2 | 9 | 4 | 16,433 | 3 | 738 | 55 | 3 | 4 | true | false | true | true | true | false | medium |
28,761,320 | android robotium second test get stuck | <p>Using robotium to run the automated tests. There are two tests, if I run each of these independently it works fine to successful completion. If the tests are run one of the other by selected to run all the tests in the module, the first test runs, the second test starts but the first fragment never get rendered prop... | Using robotium to run the automated tests. There are two tests, if I run each of these independently it works fine to successful completion. If the tests are run one of the other by selected to run all the tests in the module, the first test runs, the second test starts but the first fragment never get rendered properl... | android|robotium | 0 | 2015-02-27T09:16:28.363Z | 2,015 | 2 | 9 | 4 | 88 | 0 | 661 | 38 | 2 | 0 | false | true | false | false | false | false | zero |
28,761,334 | Android notifyDataSetChanged not working | <p>I have an adapter which fills a ListView with 2 TextViews with data from a TreeMap.
When the user adds or deletes Data from the ListView, the View should be refreshed.</p>
<p>So here is <strong>my Adapter:</strong></p>
<pre><code>public class MyAdapter extends BaseAdapter {
private final ArrayList mData;
... | I have an adapter which fills a ListView with 2 TextViews with data from a TreeMap. When the user adds or deletes Data from the ListView, the View should be refreshed. So here is my Adapter: [CODE] Because I want to update the view from a dialog and on another question I read, that notifyDataSetChanged() needs to be ca... | android|listview|android-arrayadapter|notifydatasetchanged | 1 | 2015-02-27T09:16:53.613Z | 2,015 | 2 | 9 | 4 | 4,169 | 4 | 601 | 40 | 4 | 3 | true | false | true | false | false | false | low |
28,761,376 | Gradle DSL method not found: complie() | <p>Error:(17, 0) Gradle DSL method not found: 'compile()'
Possible causes:<li>The project 'WizardPagerrr_production_server' may be using a version of Gradle that does not contain the method.
Gradle settings</li><li>The build file may be missing a Gradle plugin.
Apply Gradle plugin</li></p>
<pre><code>buildscript {
rep... | Error:(17, 0) Gradle DSL method not found: 'compile()' Possible causes: The project 'WizardPagerrr_production_server' may be using a version of Gradle that does not contain the method. Gradle settings The build file may be missing a Gradle plugin. Apply Gradle plugin [CODE] | android-studio | 0 | 2015-02-27T09:19:08.430Z | 2,015 | 2 | 9 | 4 | 906 | 1 | 274 | 38 | 1 | 1 | true | false | false | false | false | false | zero |
28,761,402 | Android SQLite dealing with days | <p>I am relatively new to Android and SQLite, I was wondering I can create basic form input where user can input his data to be added to SQLite table</p>
<p>When it comes to selecting the day, Monday, tuesday...etc is it possible to compare current day that was added in SQLite to real time day so that for example if i... | I am relatively new to Android and SQLite, I was wondering I can create basic form input where user can input his data to be added to SQLite table When it comes to selecting the day, Monday, tuesday...etc is it possible to compare current day that was added in SQLite to real time day so that for example if its monday, ... | android|android-listview|android-sqlite|android-listfragment|reminders | -1 | 2015-02-27T09:20:53.547Z | 2,015 | 2 | 9 | 4 | 65 | 1 | 767 | 32 | 5 | 0 | false | false | false | false | false | true | negative |
28,761,452 | How to change visibility of widget views(Buttons) programmatically Android | <p>I have two buttons in my android widget and I want to change there visibility at run time i.e. if data is not coming present in local database I want to hide one button.</p>
<p>How can I get the id's of that button and how can I make it visible or invisible.</p>
<p>Please suggest</p> | I have two buttons in my android widget and I want to change there visibility at run time i.e. if data is not coming present in local database I want to hide one button. How can I get the id's of that button and how can I make it visible or invisible. Please suggest | android | -3 | 2015-02-27T09:23:28.553Z | 2,015 | 2 | 9 | 4 | 3,984 | 5 | 266 | 74 | 1 | 0 | false | false | true | false | false | true | negative |
28,761,453 | how to include roboguice library in eclipse | <p>I have no idea about how to install roboguice 3.0 in my eclipse,I searched a lot but none of the links didn't give me a clear desc about this..any help would be appreciated.</p> | I have no idea about how to install roboguice 3.0 in my eclipse,I searched a lot but none of the links didn't give me a clear desc about this..any help would be appreciated. | android|roboguice | 0 | 2015-02-27T09:23:28.643Z | 2,015 | 2 | 9 | 4 | 53 | 1 | 173 | 43 | 2 | 0 | false | false | false | false | false | false | zero |
28,761,464 | Error while import the NavigationDrawer sample for lollipop? | <p><img src="https://i.stack.imgur.com/ZtJEN.png" alt="enter image description here">I just import the Navigation Drawer for Lollipop in eclipse. And I am facing the issue and unable to resolve for the same.
Here, I attached the picture.</p>
<p>Let me know, if you have faced such problems suggest me some ways to resol... | I just import the Navigation Drawer for Lollipop in eclipse. And I am facing the issue and unable to resolve for the same. Here, I attached the picture. Let me know, if you have faced such problems suggest me some ways to resolve this. I am using Eclipse. | android|navigation-drawer|android-appcompat|android-styles|eclipse-adt | 0 | 2015-02-27T09:23:47.117Z | 2,015 | 2 | 9 | 4 | 35 | 0 | 255 | 60 | 5 | 0 | false | true | false | false | false | false | zero |
28,761,489 | Values is not updated after asynchronous task execution in android | <p>This is my code in DashBoard_Gujrat Activity</p>
<pre><code> public class DashBoard_Gujrat extends NavigationDrawerActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
inflater = (LayoutInflater) this
... | This is my code in DashBoard_Gujrat Activity [CODE] Here i used an asynchrous task GetTadaysSummary task to update valve status,trips etc.For automatic updation of values i call the GetTodaysSummaryTask using callasynchronous() method using timer in every 5 seconds.But on live testing the values in the from the GetToda... | java|android|web-services|android-asynctask | 2 | 2015-02-27T09:24:59.550Z | 2,015 | 2 | 9 | 4 | 68 | 1 | 525 | 66 | 4 | 1 | true | false | false | false | false | false | low |
28,761,493 | phone gap Cordova build command is failed to causes Build Failure | <p>The following error is appearing when cordova build command is entered.
Please help me out : The following are version i used to setup phone gap:
Cordova version: 4.2.0
Phone Gap version :4.2.0-0.24.2
jdk:1.8.0_25
Android platform-19
Tool: 21.1.2</p>
<p>Blockquote</p>
<pre><code>Error as Follows:
... | The following error is appearing when cordova build command is entered. Please help me out : The following are version i used to setup phone gap: Cordova version: 4.2.0 Phone Gap version :4.2.0-0.24.2 jdk:1.8.0_25 Android platform-19 Tool: 21.1.2 Blockquote [CODE] | android|cordova | 0 | 2015-02-27T09:25:19.407Z | 2,015 | 2 | 9 | 4 | 168 | 1 | 264 | 65 | 2 | 1 | true | false | false | false | false | false | zero |
28,761,511 | Push Notification Onclick it should open the application | <p>I'm developing an app and use push notification. My app contains a list of IDs. Clicking on particular id, I am able to see the details related to the id.</p>
<p>The push notification contains an id and so I want that if I click on the push notification then it will open the details page of the id for display detai... | I'm developing an app and use push notification. My app contains a list of IDs. Clicking on particular id, I am able to see the details related to the id. The push notification contains an id and so I want that if I click on the push notification then it will open the details page of the id for display details related ... | android|push-notification | -6 | 2015-02-27T09:26:23.427Z | 2,015 | 2 | 9 | 4 | 1,148 | 2 | 651 | 56 | 2 | 0 | false | false | false | false | false | true | negative |
28,761,532 | Update to already published game on Google Play giving error with SHA1 key | <p>I have a problem with my already published game at Google Play Store.<br>
In my first published game I have not used any Google APIs.<br>
But in my next update I have used Google Play Game Services.<br>
Now I have uploaded updated APK for Alpha testing. When I have downloaded my app I get </p>
<blockquote>
<p>"Th... | I have a problem with my already published game at Google Play Store. In my first published game I have not used any Google APIs. But in my next update I have used Google Play Game Services. Now I have uploaded updated APK for Alpha testing. When I have downloaded my app I get "The application is incorrectly configured... | android|eclipse|google-play-services|sha1|google-play-games | 1 | 2015-02-27T09:27:15.403Z | 2,015 | 2 | 9 | 4 | 910 | 1 | 889 | 74 | 5 | 1 | true | false | false | false | false | false | low |
28,761,558 | How to return JSON Object from PHP to read from Android App | <p>I have the following <code>MySQL</code> table.</p>
<p><img src="https://i.stack.imgur.com/4oOJy.png" alt="enter image description here"></p>
<p>I need to send the dealer name from <code>android</code> app and send all matching rows to the app.I dont know how to set the <code>php</code> output.I know i should encod... | I have the following MySQL table. I need to send the dealer name from android app and send all matching rows to the app.I dont know how to set the php output.I know i should encode using json_encode(array('stuff')); But i dont know how to format the data.Been checking http://www.w3schools.com/json/ It shows an example ... | php|android|mysql|json | 5 | 2015-02-27T09:28:22.317Z | 2,015 | 2 | 9 | 4 | 47,014 | 3 | 584 | 59 | 4 | 6 | true | false | true | true | false | false | low |
28,761,626 | How to Cancel a AlertDialogue from another method? | <p>I have an Alert Dialogue Box and I want it to be accessible from a runnable method. The goal is to cancel the dialogue box once it reaches a certain criteria.</p>
<p>Below is the code for creating the AlertDialogue:</p>
<pre><code>public void perm_dialogue()
{
final WifiManager wifiManager = (WifiManager)getAp... | I have an Alert Dialogue Box and I want it to be accessible from a runnable method. The goal is to cancel the dialogue box once it reaches a certain criteria. Below is the code for creating the AlertDialogue: [CODE] Now this is the code I used to make the Runnable: [CODE] Now in the runnable, I have placed a Comment ta... | android|android-alertdialog|runnable | 0 | 2015-02-27T09:31:42.663Z | 2,015 | 2 | 9 | 4 | 131 | 2 | 439 | 50 | 3 | 2 | true | false | false | false | false | false | zero |
28,761,655 | How to handle progress bar state when updates come from backgroud thread | <p>It's a simple scenario:</p>
<ol>
<li>You start some background, let's say, network operation in a separate thread.</li>
<li>Set your <code>ProgressBar</code> visible.</li>
<li>Go away from your app before network operation completed.</li>
<li>While your app is in background the network operation completes but you n... | It's a simple scenario: You start some background, let's say, network operation in a separate thread. Set your ProgressBar visible. Go away from your app before network operation completed. While your app is in background the network operation completes but you never receive a callback (or fired event) because you shou... | android | 2 | 2015-02-27T09:32:49.697Z | 2,015 | 2 | 9 | 4 | 389 | 3 | 624 | 72 | 1 | 0 | false | false | false | false | false | false | low |
28,761,671 | Android Java regexp pattern | <p>I ping a host. In result a standard output. Below a REGEXP but it do not work correct. Where I did a mistake?</p>
<pre><code>String REGEXP ="time=(\\\\d+)ms";
Pattern pattern = Pattern.compile(REGEXP);
Matcher matcher = pattern.matcher(result);
if (matcher.find()) {
result = mat... | I ping a host. In result a standard output. Below a REGEXP but it do not work correct. Where I did a mistake? [CODE] | java|android|regex | 0 | 2015-02-27T09:33:45.230Z | 2,015 | 2 | 9 | 4 | 95 | 2 | 116 | 27 | 3 | 1 | true | false | false | false | false | false | zero |
28,761,748 | Android AssertJ 1.0.0 with Android gradle 1.1.1 | <p>Here is part of my <code>build.gradle</code> that has conflict:</p>
<pre><code>...
dependencies {
classpath 'com.android.tools.build:gradle:1.1.1'
}
...
testCompile( 'com.squareup.assertj:assertj-android:1.0.0' )
...
</code></pre>
<p>The issue that I see in log:</p>
<pre><code>WARNING: Conflict with dependency ... | Here is part of my build.gradle that has conflict: [CODE] The issue that I see in log: [CODE] Apparently it removes conflicting dependency from the classpath. I'm not sure if it is gradle or android gradle plugin. I've tried next: [CODE] But I still have compilation errors so dependency is excluded. I've tried next: [C... | android|gradle|android-gradle-plugin|assertj|android-assertj | 8 | 2015-02-27T09:37:04.347Z | 2,015 | 2 | 9 | 4 | 1,602 | 3 | 569 | 47 | 5 | 4 | true | false | false | false | false | false | medium |
28,761,779 | GridView breaks while scrolling | <p>I am working on a custom launcher application. For this reason I created a custom GridView that displays all installed applications. </p>
<p>The problem is that when I scroll through the apps, the gridview has a weird behavior. Sometimes it will break the horizontal alignment because of a multiline application name... | I am working on a custom launcher application. For this reason I created a custom GridView that displays all installed applications. The problem is that when I scroll through the apps, the gridview has a weird behavior. Sometimes it will break the horizontal alignment because of a multiline application name. Sometimes ... | android | 2 | 2015-02-27T09:38:27.203Z | 2,015 | 2 | 9 | 4 | 674 | 1 | 569 | 31 | 1 | 3 | true | false | false | false | false | false | low |
28,761,820 | android how have the value of edittext auto format itself and calculate-able at the same time | <p>I have 2 edittexts and 1 textview. 1 edittext for input the price another one the percentage and the textview will display the result of them both <code>(the price * percentage/100)</code> and i want to make the 1st edittext input(for the price) will change the format of the input and display it on the same edittex... | I have 2 edittexts and 1 textview. 1 edittext for input the price another one the percentage and the textview will display the result of them both (the price * percentage/100) and i want to make the 1st edittext input(for the price) will change the format of the input and display it on the same edittext with decimal fo... | android | 2 | 2015-02-27T09:40:40.547Z | 2,015 | 2 | 9 | 4 | 2,985 | 1 | 1,091 | 93 | 1 | 4 | true | false | true | false | false | false | low |
28,761,826 | InflateException in Google Cardboard tutorial | <p>I'm a trying to render a Google Cardboard app rendering droidar objects, but for now i'm trying to display a simple cardboardview using the official tutorial (<a href="https://developers.google.com/cardboard/android/get-started" rel="nofollow">https://developers.google.com/cardboard/android/get-started</a>) but I ha... | I'm a trying to render a Google Cardboard app rendering droidar objects, but for now i'm trying to display a simple cardboardview using the official tutorial ( https://developers.google.com/cardboard/android/get-started ) but I have an exception : [CODE] And i can't find a solution, it's starting to drive me crazy... C... | android|google-cardboard | 1 | 2015-02-27T09:40:53.530Z | 2,015 | 2 | 9 | 4 | 1,217 | 1 | 702 | 45 | 2 | 5 | true | false | false | false | false | false | low |
28,761,834 | How can i convert JSON data present in a URL into a JSON string in java or android? | <p>I tried the code in android below:-</p>
<pre><code> HttpClient httpClient = new DefaultHttpClient();
HttpContext localContext = new BasicHttpContext();
HttpGet httpGet = new HttpGet("http://echo.jsontest.com/key/value/one/two");
String text = null;
try {
HttpResp... | I tried the code in android below:- [CODE] so when i just use getASCIIContentFromEntity(entity) ,then i am able to print full JSON data as it is.but instead i wanna print only the values inside this URL it is JSON data,please open to see it . How can i fetch the values inside this json URL? | java|android|json | 4 | 2015-02-27T09:41:19.207Z | 2,015 | 2 | 9 | 4 | 1,698 | 2 | 291 | 83 | 3 | 1 | true | false | false | false | false | false | low |
28,761,872 | material-dialogs library:Failed to find: com.android.support:appcompat-v7:21.0.3 | <p>I am going to add <a href="https://github.com/afollestad/material-dialogs" rel="nofollow"><code>material-dialogs</code></a> library to my project but I get this error <code>Error:Failed to find: com.android.support:appcompat-v7:21.0.3</code> This is <code>build.gradle</code>..Where is my mistake?Is sth wrong with my... | I am going to add material-dialogs library to my project but I get this error Error:Failed to find: com.android.support:appcompat-v7:21.0.3 This is build.gradle ..Where is my mistake?Is sth wrong with my project? [CODE] thank you so much for your help | android|android-studio | 2 | 2015-02-27T09:42:41.743Z | 2,015 | 2 | 9 | 4 | 3,756 | 2 | 251 | 80 | 2 | 1 | true | false | true | false | false | false | low |
28,761,898 | In Espresso, specify that you want to work with the current visible AdapterView | <p>In an activity I have a <code>ViewPager</code> with 2 tabs: "ALL" and "Filtered".<br>
Both pages use the same <code>Fragment</code> to display the data, with the difference that the "Filtered" page filters the data by some criteria.</p>
<p>I want to click on an item from the "ALL" page (which might exist as well in... | In an activity I have a ViewPager with 2 tabs: "ALL" and "Filtered". Both pages use the same Fragment to display the data, with the difference that the "Filtered" page filters the data by some criteria. I want to click on an item from the "ALL" page (which might exist as well in the "Filtered" page), and if I do: [CODE... | android|android-espresso | 4 | 2015-02-27T09:44:07.130Z | 2,015 | 2 | 9 | 4 | 3,577 | 1 | 1,299 | 79 | 2 | 4 | true | false | true | false | false | false | low |
28,761,941 | Cordova doesn't add data to URL (AJAX) | <p>I'm sending an Jquery.Ajax request to a server which is hosting a .asmx web service.</p>
<pre><code>jQuery.ajax({
type: 'GET',
url: 'http://IP-destination/myFolder/WebService.asmx/LogonUser',
cache: 'true',
data: {
'username':get_cookie('username'),
'... | I'm sending an Jquery.Ajax request to a server which is hosting a .asmx web service. [CODE] While sending data through my browser, emulator or "Legacy Hybrid build (Intel XDK) for android" everything works great. But when I use Cordova (still android, works on IOS) the request get an "500 Internal Server Error". It see... | android|jquery|ajax|cordova|url | 0 | 2015-02-27T09:45:43.657Z | 2,015 | 2 | 9 | 4 | 248 | 1 | 754 | 38 | 5 | 1 | true | false | false | false | false | false | zero |
28,762,016 | Store captured video in specific folder and play the video in a video view | <p>I required a simple code to store a video and display in videoview I required a simple code to store a video and display in videoview .</p>
<pre><code> Intent takeVideoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
startActivityForResult(takeVideoIntent, ACTION_TAKE_VIDEO);
</code></pre>
<p>... | I required a simple code to store a video and display in videoview I required a simple code to store a video and display in videoview . [CODE] I am a new developer. I create apps. I am required to store the video in a specific folder and also to view the video in video view. | java|android|video | 0 | 2015-02-27T09:49:26.410Z | 2,015 | 2 | 9 | 4 | 444 | 1 | 275 | 74 | 3 | 1 | true | false | false | false | false | false | zero |
28,762,034 | Android security app ask for permission when recording audio | <p>When recording audio on android phone.
I already add permission in the manifest file
I can recording audio on most of the device, but can not recording on some device. The device pop-up window and ask for permission, if I click yes, then I can recording.</p>
<p>I guess this is the security software instal... | When recording audio on android phone. I already add permission in the manifest file I can recording audio on most of the device, but can not recording on some device. The device pop-up window and ask for permission, if I click yes, then I can recording. I guess this is the security software installed on the phone. How... | android|audio|permissions|record | 0 | 2015-02-27T09:50:40.143Z | 2,015 | 2 | 9 | 4 | 704 | 0 | 398 | 60 | 4 | 0 | false | true | false | false | false | false | zero |
28,762,035 | Error in logCat with onNestedScrollAccepted | <p>I extend ActionBarActivity in my class and i have this kind of error : </p>
<pre><code> 2-27 09:41:59.787 1836-1836/com.application.wineot.wineotapplication I/dalvikvm﹕ Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayL... | I extend ActionBarActivity in my class and i have this kind of error : [CODE] I don't know why this error is here... I show my code in my class too : [CODE] public class MyAccount extends ActionBarActivity{ [CODE] If somebody know this error and how resolve this I am here :) | java|android|android-actionbaractivity | 0 | 2015-02-27T09:50:44.287Z | 2,015 | 2 | 9 | 4 | 143 | 0 | 275 | 43 | 3 | 3 | true | true | false | false | false | false | zero |
28,762,044 | How to access custom view from public void function in Android? | <p>I want to access custom view from public void onLocationChanged in public class MyCurrentLocationListener implements LocationListener.
MyActivity:</p>
<pre><code>public class MyActivity extends ActionBarActivity {
public final static String EXTRA_MESSAGE = "net.motameni.alisapp.MESSAGE";
@Override
protected void o... | I want to access custom view from public void onLocationChanged in public class MyCurrentLocationListener implements LocationListener. MyActivity: [CODE] and MyCurrentLocationListener is this: [CODE] What is wrong??? | android|location|locationlistener | -1 | 2015-02-27T09:51:07.650Z | 2,015 | 2 | 9 | 4 | 229 | 1 | 216 | 63 | 3 | 2 | true | false | false | false | false | true | negative |
28,762,047 | how to call toast from another class in android | <p>i want to call toast from another class's method</p>
<p>i have MainActivity.java</p>
<pre><code>package cZ.example.z;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState... | i want to call toast from another class's method i have MainActivity.java [CODE] where p is button1 (ie. android:onClick) and newclass.java [CODE] when i clock button1 (p) my app force close but i want to show toast from another class method when click button any solution | android | 0 | 2015-02-27T09:51:18.957Z | 2,015 | 2 | 9 | 4 | 8,335 | 1 | 272 | 47 | 1 | 2 | true | false | true | false | false | false | zero |
28,762,050 | Meteor Crosswalk build fails at second 'ant debug' step | <p>I have a Meteor Cordova Android app which I'm trying to migrate and build using Crosswalk. I followed the steps from here:
<a href="https://meteor.hackpad.com/Building-Meteor-app-with-Crosswalk-kHKh4DzGxFQ" rel="nofollow">https://meteor.hackpad.com/Building-Meteor-app-with-Crosswalk-kHKh4DzGxFQ</a></p>
<p>Until her... | I have a Meteor Cordova Android app which I'm trying to migrate and build using Crosswalk. I followed the steps from here: https://meteor.hackpad.com/Building-Meteor-app-with-Crosswalk-kHKh4DzGxFQ Until here, the build succeeds. [CODE] The next step, ant release or ant debug , the build fails with 100 javac errors. The... | android|cordova|meteor|apk|crosswalk-runtime | 0 | 2015-02-27T09:51:23.507Z | 2,015 | 2 | 9 | 4 | 320 | 2 | 1,162 | 55 | 5 | 1 | true | false | false | false | false | false | zero |
28,762,057 | Android emulator craches when Using SmsManager to send SMS | <p>I click on send button in my app and emulator craches with following error message : </p>
<blockquote>
<p>HAX is working and emulator runs in fast virt mode<br>
dyld: lazy symbol binding failed: Symbol not found: _utf8_write
Referenced from: /Users/Nabil/Documents/Development/Android/sdk/tools/emulator64-x8... | I click on send button in my app and emulator craches with following error message : HAX is working and emulator runs in fast virt mode dyld: lazy symbol binding failed: Symbol not found: _utf8_write Referenced from: /Users/Nabil/Documents/Development/Android/sdk/tools/emulator64-x86 Expected in: flat namespace dyld: S... | android|android-emulator | 1 | 2015-02-27T09:51:33.783Z | 2,015 | 2 | 9 | 4 | 160 | 1 | 521 | 58 | 2 | 2 | true | false | false | false | false | false | low |
28,762,111 | Nokia Android SDK is not working | <p>I am trying to embed turn by turn navigation into my android mobile application. I have found that Nokia has an android api. I have followed <a href="https://developer.here.com/mobile-sdks/documentation/android/topics/app-simple.html" rel="nofollow">https://developer.here.com/mobile-sdks/documentation/android/topics... | I am trying to embed turn by turn navigation into my android mobile application. I have found that Nokia has an android api. I have followed https://developer.here.com/mobile-sdks/documentation/android/topics/app-simple.html to embedd the nokia here maps into my android application. The problem is when I open the appli... | android|here-api|nokiax | 1 | 2015-02-27T09:53:33.303Z | 2,015 | 2 | 9 | 4 | 365 | 1 | 772 | 32 | 3 | 1 | true | false | false | false | false | false | low |
28,762,149 | Detect which SIM card has received message | <p>I'm trying to detect which SIM card has received the incoming message in BroadcastReceiver on a Dual or Triple SIM support phone.</p>
<p>Note:
All SIM cards has same SMSC.</p> | I'm trying to detect which SIM card has received the incoming message in BroadcastReceiver on a Dual or Triple SIM support phone. Note: All SIM cards has same SMSC. | android|sms|broadcastreceiver|messaging|telephony | 6 | 2015-02-27T09:55:18.690Z | 2,015 | 2 | 9 | 4 | 1,859 | 2 | 164 | 42 | 5 | 0 | false | false | false | false | false | false | medium |
28,762,165 | Ray effect animation behind buttons in android | <p>Is there any way to create a ray animation behind buttons in Android like <a href="http://davidwalsh.name/javascript-spin" rel="nofollow noreferrer">this</a> javascript-demo.</p>
<p>It should just rotate behind the <code>Button</code> when it is clicked but shouldn't extend the content area of the view (float behin... | Is there any way to create a ray animation behind buttons in Android like this javascript-demo. It should just rotate behind the Button when it is clicked but shouldn't extend the content area of the view (float behind the Button ). That rays should rotate within the rectangle of the parent layout. Any easy way to do i... | android|android-animation|android-button | 1 | 2015-02-27T09:55:49.527Z | 2,015 | 2 | 9 | 4 | 774 | 1 | 338 | 46 | 3 | 1 | true | false | false | false | false | false | low |
28,762,177 | Android Edittext number only | <p>I have a a Edittext field that is dynamically created I have it so that the input method is number only. However it is still possible to paste text into the field. Is there anyway of preventing this without having to do post validation? </p>
<p>My code to for input method is currently:</p>
<pre><code>editText.se... | I have a a Edittext field that is dynamically created I have it so that the input method is number only. However it is still possible to paste text into the field. Is there anyway of preventing this without having to do post validation? My code to for input method is currently: [CODE] | android|android-input-method | 3 | 2015-02-27T09:56:29.577Z | 2,015 | 2 | 9 | 4 | 959 | 3 | 285 | 28 | 2 | 1 | true | false | false | false | false | false | low |
28,762,187 | Android Google Tag Manager | <p>I am implementing Google Tag Manager for Android Application V4 as requested by my Marketing team for future use,and I have never worked on GTM for websites so I am naive in this context.</p>
<p>I have created account and Container and tags according to instructions on official site.
I have linked tag manager with ... | I am implementing Google Tag Manager for Android Application V4 as requested by my Marketing team for future use,and I have never worked on GTM for websites so I am naive in this context. I have created account and Container and tags according to instructions on official site. I have linked tag manager with google anal... | android|google-analytics|google-tag-manager | 1 | 2015-02-27T09:56:52.153Z | 2,015 | 2 | 9 | 4 | 3,552 | 1 | 737 | 26 | 3 | 0 | false | false | true | false | false | false | low |
28,762,190 | Android application Can't access database for insert and update | <p>I am developing notes application for Android, when I click the save button it is supposed to insert data to the db using the content provider method insert, after that the loader will automatically load the data, and the simplecursoradapter should populate that data. However, after clicking save nothing appears. It... | I am developing notes application for Android, when I click the save button it is supposed to insert data to the db using the content provider method insert, after that the loader will automatically load the data, and the simplecursoradapter should populate that data. However, after clicking save nothing appears. It se... | java|android|sqlite|simplecursoradapter | -3 | 2015-02-27T09:57:00.547Z | 2,015 | 2 | 9 | 4 | 401 | 1 | 609 | 63 | 4 | 3 | true | false | false | false | false | true | negative |
28,762,222 | Node.js and Mongodb database on my server for android application | <p>I am developing an android application using node.js and mongodb .I followed following link-
<a href="http://www.learn2crack.com/2014/04/android-login-registration-nodejs-server.html" rel="nofollow">http://www.learn2crack.com/2014/04/android-login-registration-nodejs-server.html</a>.
i am successful in running app w... | I am developing an android application using node.js and mongodb .I followed following link- http://www.learn2crack.com/2014/04/android-login-registration-nodejs-server.html . i am successful in running app with localhost on emulator.now i want to keep my database on server and to run app on any device.What steps are r... | android|node.js|mongodb|server | 0 | 2015-02-27T09:58:11.520Z | 2,015 | 2 | 9 | 4 | 1,623 | 1 | 438 | 65 | 4 | 0 | false | false | false | false | false | false | zero |
28,762,223 | How to get onclick of a view in custom dialog in an activity in android? | <p>How to get onclick of a view in custom dialog in an activity in android?</p>
<p>My XML is:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
and... | How to get onclick of a view in custom dialog in an activity in android? My XML is: [CODE] My code is: [CODE] I am able to show dialog view but no able to get on click of dialog save button in activity class. Error was no method found exception. | android|xml | 3 | 2015-02-27T09:58:12.600Z | 2,015 | 2 | 9 | 4 | 582 | 2 | 245 | 72 | 2 | 2 | true | false | false | false | false | false | low |
28,762,344 | Android AutoCompleteTextView NullPointerException | <p>I am trying to create an auto complete text input field with AutoCompleteTextView. But when i start the app, it breaks and the log file reports the NullPointerException. </p>
<p>In the onCreate I have:</p>
<pre><code> ArrayAdapter<String> adapter = new ArrayAdapter<String>
(this, android.R.la... | I am trying to create an auto complete text input field with AutoCompleteTextView. But when i start the app, it breaks and the log file reports the NullPointerException. In the onCreate I have: [CODE] in the xml layout: [CODE] I checked the 'codes' array, and it's populated fine. Why is actv null? | android|nullpointerexception|autocompletetextview | 1 | 2015-02-27T10:03:57.817Z | 2,015 | 2 | 10 | 4 | 1,111 | 3 | 298 | 49 | 3 | 2 | true | false | false | false | false | false | low |
28,762,355 | Android Studio: Core app with different wrapper for every customer | <p>I'm developing an app which is to be offered to many different potential customers. The idea is to create a core app which has all the functionality and activities, but which does not stand alone.</p>
<p>Another project will be the a wrapper project which will have a config JSON string and the styling that the fina... | I'm developing an app which is to be offered to many different potential customers. The idea is to create a core app which has all the functionality and activities, but which does not stand alone. Another project will be the a wrapper project which will have a config JSON string and the styling that the final apk will ... | android|android-studio | 1 | 2015-02-27T10:04:34.320Z | 2,015 | 2 | 10 | 4 | 146 | 2 | 837 | 66 | 2 | 0 | false | false | false | false | false | false | low |
28,762,370 | Android development on OS X 10.7 (Lion) | <p>I would like to start developing Android apps using my old Mac. It still runs the OS 10.5.8 (Leopard) but I can upgrade it to 10.7 (Lion). Unfortunately, it does not seem like it is possible to upgrade my Mac to 10.8 (Mountain Lion).
When I see the system requirements for the Android Studio, it looks like at least t... | I would like to start developing Android apps using my old Mac. It still runs the OS 10.5.8 (Leopard) but I can upgrade it to 10.7 (Lion). Unfortunately, it does not seem like it is possible to upgrade my Mac to 10.8 (Mountain Lion). When I see the system requirements for the Android Studio, it looks like at least the ... | android|macos|ide | -2 | 2015-02-27T10:05:17.160Z | 2,015 | 2 | 10 | 4 | 1,743 | 1 | 526 | 39 | 3 | 0 | false | false | false | false | false | true | negative |
28,762,408 | Android How to create rain like animtion? | <p>I want to create a animation with some dots and they are falling from top to bottom. For that I am using a translate animation which moves the dots images from top to bottom. But I want this to be continuous meaning the animation should repeat itself.</p>
<p>I have to create a animation with some dots and they are ... | I want to create a animation with some dots and they are falling from top to bottom. For that I am using a translate animation which moves the dots images from top to bottom. But I want this to be continuous meaning the animation should repeat itself. I have to create a animation with some dots and they are falling fro... | java|android|user-interface|animation | 0 | 2015-02-27T10:07:18.913Z | 2,015 | 2 | 10 | 4 | 3,094 | 1 | 887 | 41 | 4 | 1 | true | false | true | false | false | false | zero |
28,762,433 | Scrolling Image on Android | <p>I want to make an animated background on a splash screen. How can I scroll an image across the screen. </p>
<p>I am currently using an animation</p>
<pre><code><set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="10000"
android:toXDelta="100%p"... | I want to make an animated background on a splash screen. How can I scroll an image across the screen. I am currently using an animation [CODE] The problem is the image size is currently set to fill the parent, so as it scrolls I can see the borders of the image. Is it possible to have an image with a size larger than ... | android|image|animation|drawable | 2 | 2015-02-27T10:08:06.547Z | 2,015 | 2 | 10 | 4 | 253 | 0 | 404 | 26 | 4 | 1 | true | true | false | false | false | false | low |
28,762,438 | How to reverse enum? | <p>I have an Enum class below </p>
<pre><code>public class PTalkCommand {
public enum Code {
CLR((byte) 0),
ACK((byte) 170),
SER((byte) 0),
NAK((byte) 0),
TIMEOUT((byte) 255),
DIP((byte) 173),
REQUEST_CHECKSUM((byte) 162),
REQUEST_STATUS((byte) 181),
... | I have an Enum class below [CODE] And want it to get in reverse order. In .Net the code is like this [CODE] And in Java i am trying to do the same. [CODE] But, i am not able to do it. Please tell me how can i do the same in Java? | java|android|enums | 5 | 2015-02-27T10:08:25.497Z | 2,015 | 2 | 10 | 4 | 7,445 | 2 | 229 | 20 | 3 | 3 | true | false | true | false | false | false | low |
28,762,449 | How do I use the Stanford POS Tagger in android? | <p>I want to use the Stanford POS Tagger 3.5.0 in my android application project. I am using Eclipse for android app development. Can anyone tell me how to do so? I'm new in android development so could really use some help.</p> | I want to use the Stanford POS Tagger 3.5.0 in my android application project. I am using Eclipse for android app development. Can anyone tell me how to do so? I'm new in android development so could really use some help. | java|android|eclipse|stanford-nlp|pos-tagger | 0 | 2015-02-27T10:08:54.150Z | 2,015 | 2 | 10 | 4 | 491 | 1 | 221 | 48 | 5 | 0 | false | false | false | false | false | false | zero |
28,762,469 | Video is not downloading from a URL | <p>i want to download video from URL my function is as below</p>
<pre><code>String fileURL = "http://192.168.1.2/UserFiles/Videos/OutputVideo/Birthday%20Bash5tV3fgjf4Sfi11sC.mp4";
String fileName = "Abc.mp4";
public void downloadFile(String fileURL, String fileName){
Toast.makeText(getApplicationContext(), "... | i want to download video from URL my function is as below [CODE] its downloading video in 0kb whats wrong with this | java|android | 0 | 2015-02-27T10:09:34.700Z | 2,015 | 2 | 10 | 4 | 111 | 2 | 115 | 35 | 2 | 1 | true | false | false | false | false | false | zero |
28,762,514 | Android: system overlay | <p>How to Overlay screen?</p>
<ol>
<li>it should be touchable</li>
<li>view must overlay system action bar</li>
<li>view must overlay soft buttons back/home/recent_apps</li>
<li><p>Android 4.0 + </p>
<pre><code>public class MyService extends Service {
@Override
public void onCreate() {
super.onCreate();
Wind... | How to Overlay screen? it should be touchable view must overlay system action bar view must overlay soft buttons back/home/recent_apps Android 4.0 + [CODE] and layout params creator [CODE] ok, looks good. Flag TYPE_SYSTEM_ALERT not overlays the system bar (android < 5.0), not overlays soft buttons, but I can to handle ... | java|android|android-layout | 9 | 2015-02-27T10:11:45.327Z | 2,015 | 2 | 10 | 4 | 2,417 | 2 | 453 | 23 | 3 | 2 | true | false | false | false | false | false | medium |
28,762,516 | Implement a relationship between two Spinners in android | <p>I have 2 spinners in my application. I have loaded all the items got from json response. But now I want to implement connection between these 2 Spinners. When select an item in spinner 1 then spinner 2 should load the content according to the spinner 1 selection. </p>
<p><strong>This is what happens now,</strong> <... | I have 2 spinners in my application. I have loaded all the items got from json response. But now I want to implement connection between these 2 Spinners. When select an item in spinner 1 then spinner 2 should load the content according to the spinner 1 selection. This is what happens now, Spinner 1 loads 1, 2, 3, 4 Spi... | android|json|android-spinner | 1 | 2015-02-27T10:11:49.533Z | 2,015 | 2 | 10 | 4 | 1,317 | 2 | 824 | 56 | 3 | 4 | true | false | false | false | false | false | low |
28,762,624 | com.crashlytics.android.CrashlyticsMissingDependencyException during gradle 'testDebug' on android studio project | <p>I have an Android Studio project with the latest 1.15.2 crashlytics.
It works well when i build and run on my device.
However after crashlytic's setup my tests fails on gradle 'testDebug'.</p>
<p><strong>Output is</strong> </p>
<pre><code>....app.entity.ConfigurationTest > parseTest FAILED
java.lang.Runtime... | I have an Android Studio project with the latest 1.15.2 crashlytics. It works well when i build and run on my device. However after crashlytic's setup my tests fails on gradle 'testDebug'. Output is [CODE] It can be related to the call of an activity onCreate method during the test preparation. And in the onCreate i ha... | android|android-studio|crashlytics | 14 | 2015-02-27T10:17:25.593Z | 2,015 | 2 | 10 | 4 | 5,649 | 2 | 1,011 | 113 | 3 | 8 | true | false | true | false | true | false | medium |
28,762,688 | What is the best way to move Android Development Tools to another computer? | <p>i'm using Android Development Tools (Eclipse 3.8 Juno) in Linux Mint (version 17 Qiana) and i have to move to another computer (with Linux Mint Cinnamon Edition).
The project i'm developing in ADT includes google-play-services library and a couple of other libraries. In addition it has plugins for git and svn.
I cop... | i'm using Android Development Tools (Eclipse 3.8 Juno) in Linux Mint (version 17 Qiana) and i have to move to another computer (with Linux Mint Cinnamon Edition). The project i'm developing in ADT includes google-play-services library and a couple of other libraries. In addition it has plugins for git and svn. I copied... | android|eclipse|dependencies|adt|move | 0 | 2015-02-27T10:20:40.893Z | 2,015 | 2 | 10 | 4 | 49 | 0 | 1,101 | 75 | 5 | 2 | true | true | false | false | false | false | zero |
28,762,701 | Finish() method of BaseLoaderCallback does not exist? | <p>I'm currently trying to make the <code>BaseLoaderCallback</code> in <code>OpenCV</code> to run as a service in an Android application. On <code>OpenCV website</code>, there is a information about how to implement the <code>BaseLoaderCallback</code> in a service and that is to override the <code>finish()</code> metho... | I'm currently trying to make the BaseLoaderCallback in OpenCV to run as a service in an Android application. On OpenCV website , there is a information about how to implement the BaseLoaderCallback in a service and that is to override the finish() method of the BaseLoaderCallback . Check out this link: ( http://docs.op... | android|opencv|service | 0 | 2015-02-27T10:21:22.080Z | 2,015 | 2 | 10 | 4 | 217 | 1 | 515 | 53 | 3 | 0 | false | false | false | false | false | false | zero |
28,762,739 | Change TextColor / Background of a single ActionBar Menu Item programmatically | <p>Is there a way to change the Text color or background color of a single ActionBar menu item by code ?</p>
<p>To be more clear, only one item of the actionBar should have a different color, the rest of them should be the original color.</p>
<p>If so, how exactly can I achieve this.
Thank you.</p> | Is there a way to change the Text color or background color of a single ActionBar menu item by code ? To be more clear, only one item of the actionBar should have a different color, the rest of them should be the original color. If so, how exactly can I achieve this. Thank you. | android|android-actionbar | 3 | 2015-02-27T10:23:07.180Z | 2,015 | 2 | 10 | 4 | 986 | 3 | 278 | 78 | 2 | 0 | false | false | false | false | false | false | low |
28,762,745 | Authorize.net Login fails | <p>This is the first time I am working on authorize.net payment gateway.
I am developing one android application which requires authorize.net.
I have downloaded code sample from </p>
<p><a href="https://github.com/AuthorizeNet/sdk-android" rel="nofollow">https://github.com/AuthorizeNet/sdk-android</a></p>
<p>in this ... | This is the first time I am working on authorize.net payment gateway. I am developing one android application which requires authorize.net. I have downloaded code sample from https://github.com/AuthorizeNet/sdk-android in this code when I try to login with my sandbox credentials it is not allowing me to login. there is... | android|authorize.net | 2 | 2015-02-27T10:23:44.843Z | 2,015 | 2 | 10 | 4 | 176 | 0 | 654 | 25 | 2 | 0 | false | true | false | false | false | false | low |
28,762,750 | Can the android broadcasts be received programmatically using java? | <p>Say I have an android app named "MyFirstApp" that can broadcast messages and is available/registered/deployed at google play store.<br>
And I have no right to make any amendments to the app. </p>
<p>Now, <strong><em>can I detect it through a java program(or a webservice) whether the app has broadcasted a message</... | Say I have an android app named "MyFirstApp" that can broadcast messages and is available/registered/deployed at google play store. And I have no right to make any amendments to the app. Now, can I detect it through a java program(or a webservice) whether the app has broadcasted a message to it's receivers ? and can I ... | java|android | 0 | 2015-02-27T10:24:14.367Z | 2,015 | 2 | 10 | 4 | 312 | 2 | 648 | 67 | 2 | 0 | false | false | false | false | false | false | zero |
28,762,833 | Java: The input I enter must assign according to its datatype..How? | <p>If I give 4 as an input.. the 4 must be assigned to an integer variable.</p>
<p>If I give 4.2 as input... the 4.2 must assign to an float variable.</p> | If I give 4 as an input.. the 4 must be assigned to an integer variable. If I give 4.2 as input... the 4.2 must assign to an float variable. | java|android | 1 | 2015-02-27T10:27:42.413Z | 2,015 | 2 | 10 | 4 | 44 | 2 | 140 | 67 | 2 | 0 | false | false | false | false | false | false | low |
28,762,998 | Vector2 in box2d become shorter | <p>I've developed a game with AndEngine GLES2-AnchorCenter with Box2d ext for android. To make the player jump I use a vector2, see code below :</p>
<pre><code>@Override
public boolean onSceneTouchEvent(Scene pScene,
TouchEvent pSceneTouchEvent) {
if (pSceneTouchEvent.isActionDown()) {
awalx =... | I've developed a game with AndEngine GLES2-AnchorCenter with Box2d ext for android. To make the player jump I use a vector2, see code below : [CODE] You can see that I use variables jarakX and jaraxY to measure the jumping distance. When I play the game for the first time vector2 is running perfectly, but when I exit t... | android|box2d|andengine | 0 | 2015-02-27T10:36:55.253Z | 2,015 | 2 | 10 | 4 | 65 | 1 | 603 | 31 | 3 | 1 | true | false | false | false | false | false | zero |
28,763,046 | Twitter and Instagram Web services working within the Intel XDK emulator but not responding on my android and windows phone | <p>I have an Intel XDK App, with a bootStrap UI Framework. </p>
<p>I called some web services within the app (Twitter and IG) using the "Explore Services" tab within the Intel XDK and I enabled the Cordova Plugins within the XDK. </p>
<p>I then called the web services and entered the necessary Tokens for authenticati... | I have an Intel XDK App, with a bootStrap UI Framework. I called some web services within the app (Twitter and IG) using the "Explore Services" tab within the Intel XDK and I enabled the Cordova Plugins within the XDK. I then called the web services and entered the necessary Tokens for authentication to get feeds from ... | android|web-services|cordova|twitter|instagram | 0 | 2015-02-27T10:39:01.157Z | 2,015 | 2 | 10 | 4 | 225 | 0 | 616 | 123 | 5 | 0 | false | true | false | false | false | false | zero |
28,763,063 | How to install an AIR android app without deleting the data generated by the previous version | <p>I have an android app developed using adobe AIR SDK 16 and Flash CS6. Every time i publish/debug the app directly in the connected device. But every time i publish the app the data(image, text files) saved in the application storage directory including the sqlite file is removed. Hence i have to recreate all the dat... | I have an android app developed using adobe AIR SDK 16 and Flash CS6. Every time i publish/debug the app directly in the connected device. But every time i publish the app the data(image, text files) saved in the application storage directory including the sqlite file is removed. Hence i have to recreate all the data a... | android|actionscript-3|flash|air | 1 | 2015-02-27T10:39:43.480Z | 2,015 | 2 | 10 | 4 | 299 | 1 | 512 | 93 | 4 | 0 | false | false | false | false | false | false | low |
28,763,103 | how to install ftdi drivers in beagle bone black for communication | <p>I'm trying to communicate an android device with beaglebone black.But the application should not detect the beagle bone black device.Can any one help me what are the procedures are used before an application is run in Beagle Board.</p>
<p>Thank you !</p> | I'm trying to communicate an android device with beaglebone black.But the application should not detect the beagle bone black device.Can any one help me what are the procedures are used before an application is run in Beagle Board. Thank you ! | android|eclipse|windows|beagleboneblack | 0 | 2015-02-27T10:41:55.493Z | 2,015 | 2 | 10 | 4 | 739 | 1 | 243 | 66 | 4 | 0 | false | false | false | false | false | false | zero |
28,763,214 | How to send android push notifications automatically when new row inserted in MySQL? | <p>Currently I have 2 android applications that share the same MySQL database. The first app will post data to the database. The second app will display the database data. How do I send a push notification to the second app AUTOMATICALLY and immediately after the first app post data to the database ?</p>
<p>Any idea h... | Currently I have 2 android applications that share the same MySQL database. The first app will post data to the database. The second app will display the database data. How do I send a push notification to the second app AUTOMATICALLY and immediately after the first app post data to the database ? Any idea how to solve... | php|android|mysql|push-notification | 0 | 2015-02-27T10:46:58.377Z | 2,015 | 2 | 10 | 4 | 2,080 | 1 | 336 | 84 | 4 | 0 | false | false | false | false | false | false | zero |
28,763,282 | LinearLayout two TextViews Side by Side not taking equal width | <p>I have two side by side TextViews in LinearLayout, but second TextView taking more space than first one and i want both to take equal width that's why i have used <code>layout_weight="1"</code> but did not solve my issue, check below:</p>
<pre><code><LinearLayout
android:layout_width="fill_parent"
andr... | I have two side by side TextViews in LinearLayout, but second TextView taking more space than first one and i want both to take equal width that's why i have used layout_weight="1" but did not solve my issue, check below: [CODE] | android|xml|android-linearlayout | 0 | 2015-02-27T10:50:22.710Z | 2,015 | 2 | 10 | 4 | 2,569 | 4 | 228 | 62 | 3 | 1 | true | false | false | false | false | false | zero |
28,763,326 | Android - Keep user logged between activities | <p>In my app I've a first activity that allow you to login to a web service. If the server allow user to connect it should call a TabHost activity. In TabHost activity I've 3 different activity:</p>
<ul>
<li>HomeActivity: it display just a webview</li>
<li>HistoryActivity: it should display a ListView in which I inser... | In my app I've a first activity that allow you to login to a web service. If the server allow user to connect it should call a TabHost activity. In TabHost activity I've 3 different activity: HomeActivity: it display just a webview HistoryActivity: it should display a ListView in which I insert the notification history... | java|android | 0 | 2015-02-27T10:52:26.410Z | 2,015 | 2 | 10 | 4 | 1,145 | 3 | 1,072 | 45 | 2 | 4 | true | false | false | false | false | false | zero |
28,763,343 | Android | Google Maps Getting Touched Location | <p>I am trying to get latitude and longitude of touched location on map. I tried a lot of methods from internet but nothing worked. Does anybody have a simple solution?</p>
<p><strong>EDIT:</strong></p>
<pre><code>public void onClick_Test(View v) {
double latitude ;
map.setOnMapClickListener(new GoogleMap.On... | I am trying to get latitude and longitude of touched location on map. I tried a lot of methods from internet but nothing worked. Does anybody have a simple solution? EDIT: [CODE] | android|google-maps | -1 | 2015-02-27T10:53:30.223Z | 2,015 | 2 | 10 | 4 | 134 | 2 | 178 | 46 | 2 | 1 | true | false | false | false | false | true | negative |
28,763,388 | "Unrecognized option 'filter_complex'" error when using FFmpeg in Android | <p>I am creating a watermark application using FFmpeg in Android.
I used the following command </p>
<pre><code>ffmpeg -i /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20150217-WA0002.mp4 -i /storage/emulated/0/mp4parser/img001.png -filter_complex '[0:v][1:v]overlay[out]' -map '[out]' /storage/emulated/0/What... | I am creating a watermark application using FFmpeg in Android. I used the following command [CODE] When I launched the app, I got this line in the log: [CODE] I have read this command on the FFmpeg.org site, but I don't know why it is not working. Below is the log: [CODE] I have also tried using filter:v. | android|android-ndk|ffmpeg | 0 | 2015-02-27T10:55:24.480Z | 2,015 | 2 | 10 | 4 | 1,561 | 0 | 306 | 73 | 3 | 3 | true | true | false | false | false | false | zero |
28,763,393 | Is there any method to get count of new added items to list adapter in android? | <p>Hie...every one.I want to show badge in my activity(containing list view )and the badge should contain the count of new list items added to that list view.Whenever i resume the activity the badge should refresh with updated count..does any have solution? Is there any methood from adapter to get new added items to th... | Hie...every one.I want to show badge in my activity(containing list view )and the badge should contain the count of new list items added to that list view.Whenever i resume the activity the badge should refresh with updated count..does any have solution? Is there any methood from adapter to get new added items to that ... | android|listadapter | 0 | 2015-02-27T10:55:35.620Z | 2,015 | 2 | 10 | 4 | 452 | 2 | 328 | 79 | 2 | 0 | false | false | false | false | false | false | zero |
28,763,398 | ScrollView not working while implementing aChartEngine | <p>In my app in on single screen i am trying to show multiple graphs so for that purpose i am adding scrollView into the layout. But as soon as I am adding the scrollView the bar chart is not getting displayed.</p>
<p>The <strong>graph_activity.xml</strong> is</p>
<pre><code><RelativeLayout xmlns:android="http://s... | In my app in on single screen i am trying to show multiple graphs so for that purpose i am adding scrollView into the layout. But as soon as I am adding the scrollView the bar chart is not getting displayed. The graph_activity.xml is [CODE] The GraphActivity.Java file is [CODE] If I am removing the scrollView then the ... | android|uiscrollview|achartengine | 0 | 2015-02-27T10:55:51.630Z | 2,015 | 2 | 10 | 4 | 68 | 0 | 494 | 54 | 3 | 2 | true | true | false | false | false | false | zero |
28,763,433 | Can I write to Android SharedPreference for a different package? | <p>I've written a game which I intend to upload to the marketplace as a free demo, and I intend to offer a full version for a buck. </p>
<p>I'd like to make the download for the full version just a simple unlocker which writes a value to the SharedPreferences for the demo. </p>
<p>When the demo launches it reads its ... | I've written a game which I intend to upload to the marketplace as a free demo, and I intend to offer a full version for a buck. I'd like to make the download for the full version just a simple unlocker which writes a value to the SharedPreferences for the demo. When the demo launches it reads its shared prefs and if t... | java|android|sharedpreferences | 1 | 2015-02-27T10:57:52.180Z | 2,015 | 2 | 10 | 4 | 706 | 1 | 780 | 64 | 3 | 0 | false | false | false | false | false | false | low |
28,763,434 | Count android crashes | <p>I need to count how many crashes of my application were on my device. How can I do that? Where to store this count? I need to create some field with a number of crashes. After every crash I should increase this number.</p> | I need to count how many crashes of my application were on my device. How can I do that? Where to store this count? I need to create some field with a number of crashes. After every crash I should increase this number. | android|logging | -7 | 2015-02-27T10:57:52.670Z | 2,015 | 2 | 10 | 4 | 158 | 1 | 218 | 21 | 2 | 0 | false | false | false | false | false | true | negative |
28,763,441 | How Create intent for an activityTwo | <p>Im new on Java so its confusing me a little bit, i want to create an intent for Activity two but there seem to be a problem with the code that i have written.</p>
<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>... | Im new on Java so its confusing me a little bit, i want to create an intent for Activity two but there seem to be a problem with the code that i have written. [CODE] | java|android | 1 | 2015-02-27T10:58:24.863Z | 2,015 | 2 | 10 | 4 | 434 | 2 | 165 | 36 | 2 | 1 | true | false | false | false | false | false | low |
28,763,449 | in Android pie-chart is not showing after getting result | <p>In my android project I am using achartengine.jar for viewing piechart ..</p>
<p>the code is:--</p>
<pre><code>public class AndroidPopupWindowActivity111_new_made2 extends Activity {
private static int[] COLORS = new int[] { Color.MAGENTA, Color.CYAN };
LinearLayout layout;
private CategorySeries mS... | In my android project I am using achartengine.jar for viewing piechart .. the code is:-- [CODE] here I have 2 edit text fields.after filling the edit text fields when I click the submit button it is showing the pie-chart..in the piechart there is also a button of dismiss..after click the dismiss button I am going to th... | android | -2 | 2015-02-27T10:58:46.610Z | 2,015 | 2 | 10 | 4 | 125 | 2 | 503 | 56 | 1 | 2 | true | false | false | false | false | true | negative |
28,763,490 | Android read/write file in USB drive OTG programatically | <p>I would like to read-write a file in USB drive OTG programatically. </p>
<p>Use case is following: </p>
<ol>
<li>User connects an USB OTG to Nexus 10 device. </li>
<li>My App will get notified that USB is connected. (achieved) </li>
<li>My App will read some files from the USB drive </li>
<li>My App will make some... | I would like to read-write a file in USB drive OTG programatically. Use case is following: User connects an USB OTG to Nexus 10 device. My App will get notified that USB is connected. (achieved) My App will read some files from the USB drive My App will make some changes on the files. My App will write the files back t... | android|android-5.0-lollipop|usb-otg | 6 | 2015-02-27T11:00:46.130Z | 2,015 | 2 | 11 | 4 | 3,240 | 0 | 419 | 56 | 3 | 0 | false | true | true | false | false | false | medium |
28,763,498 | Make a body move using touch down in libgdx | <p>I am a newbie in <code>libgdx</code>. I working on to make a body move using touch and as soon as the touch is released it must stop moving on !! Its working fine with KeyUp and Key down but I don't know how to implement using touch. </p>
<p>This is my code.I wrote it as a separate class. Here is the class:</p>
<p... | I am a newbie in libgdx . I working on to make a body move using touch and as soon as the touch is released it must stop moving on !! Its working fine with KeyUp and Key down but I don't know how to implement using touch. This is my code.I wrote it as a separate class. Here is the class: [CODE] This is my code.I tried ... | java|android|libgdx|touch | 0 | 2015-02-27T11:01:10.877Z | 2,015 | 2 | 11 | 4 | 816 | 3 | 509 | 43 | 4 | 1 | true | false | false | false | false | false | zero |
28,763,514 | I am helping develop a SMS/MMS messaging app for android but we cant send mms from Sprint and Verizon? | <p>Is there some secret sauce to third party sms/mms messaging apps? Our app downloads and Installs fine, sends sms fine, receives sms fine. The app also receives mms fine, but when trying to send MMS from either a Sprint or Verizon phone message always fails (quickly). We have tried many different APNs but I am begi... | Is there some secret sauce to third party sms/mms messaging apps? Our app downloads and Installs fine, sends sms fine, receives sms fine. The app also receives mms fine, but when trying to send MMS from either a Sprint or Verizon phone message always fails (quickly). We have tried many different APNs but I am beginning... | android|messaging|mms | 0 | 2015-02-27T11:01:40.463Z | 2,015 | 2 | 11 | 4 | 599 | 0 | 1,259 | 102 | 3 | 0 | false | true | false | false | false | false | zero |
28,763,526 | Android SQLite equals query | <p>Okay I am attempting to work with a ListView and SQLite database, Basically I have a table that consist of</p>
<p>Title | Day | Description</p>
<p>Buy Milk | Tuesday | Buy milk at store</p>
<p>Above shows what the table will hold. So I want to query this data where it will only retrieve ALL tuesday reminders and ... | Okay I am attempting to work with a ListView and SQLite database, Basically I have a table that consist of Title | Day | Description Buy Milk | Tuesday | Buy milk at store Above shows what the table will hold. So I want to query this data where it will only retrieve ALL tuesday reminders and display it on the ListView ... | android|android-listview|android-sqlite | 0 | 2015-02-27T11:02:21.633Z | 2,015 | 2 | 11 | 4 | 233 | 2 | 908 | 27 | 3 | 1 | true | false | false | false | false | false | zero |
28,763,563 | Google Play Services isn't recognized | <p>I have downloaded Google play service in SDK manager. Did everything according to their tutorial, but it's not working.</p>
<p>I have tried different things, but could not managed to get it working. Try even importing libary into lib folder. I am using Android Studio. What am I doing wrong?</p>
<p>Here is gradle c... | I have downloaded Google play service in SDK manager. Did everything according to their tutorial, but it's not working. I have tried different things, but could not managed to get it working. Try even importing libary into lib folder. I am using Android Studio. What am I doing wrong? Here is gradle code: [CODE] Here is... | android|android-studio|google-play-services | -1 | 2015-02-27T11:04:18.560Z | 2,015 | 2 | 11 | 4 | 90 | 2 | 393 | 37 | 3 | 3 | true | false | false | false | false | true | negative |
28,763,609 | Android: Designing for MySQL and SQLite database | <p>So as the title says, I'm creating an Android application with an SQLite database. This database will be synchronized with a MySQL database connected to a homepage (and also in the future the MySQL database will be used in conjunction with IPhone).</p>
<p>If the user makes a change on the android system or the MySQ... | So as the title says, I'm creating an Android application with an SQLite database. This database will be synchronized with a MySQL database connected to a homepage (and also in the future the MySQL database will be used in conjunction with IPhone). If the user makes a change on the android system or the MySQL database ... | android|mysql|sqlite|activerecord|orm | 1 | 2015-02-27T11:06:25.253Z | 2,015 | 2 | 11 | 4 | 165 | 1 | 1,540 | 48 | 5 | 0 | false | false | false | false | false | false | low |
28,763,618 | retrieve information from php file on 000webhost into android app | <p>I want to get information from a php file hosted by 000webhost into my android app. I have tried xxxxxxx.netau.net/xxxx.php and my ip address as my url in my app but still doesn't work.I use a json parser to get the information i need.</p> | I want to get information from a php file hosted by 000webhost into my android app. I have tried xxxxxxx.netau.net/xxxx.php and my ip address as my url in my app but still doesn't work.I use a json parser to get the information i need. | php|android|json | -2 | 2015-02-27T11:06:47.240Z | 2,015 | 2 | 11 | 4 | 1,008 | 1 | 235 | 65 | 3 | 0 | false | false | false | false | false | true | negative |
28,763,620 | How can I make the movement of my cardviews smoother? | <p>I am using a framelayout to hold each of my cardviews, and from which I am initiating each movement animation (left to right). But I have noticed that this movement doesn't appear incredibly smooth. </p>
<p>My code is below, what would you suggest to do, so to increase overall smoothness of card movement. Thanks</p... | I am using a framelayout to hold each of my cardviews, and from which I am initiating each movement animation (left to right). But I have noticed that this movement doesn't appear incredibly smooth. My code is below, what would you suggest to do, so to increase overall smoothness of card movement. Thanks MyFrameLayout:... | java|android|xml|android-layout|android-activity | 2 | 2015-02-27T11:06:52.183Z | 2,015 | 2 | 11 | 4 | 401 | 1 | 339 | 53 | 5 | 2 | true | false | false | false | false | false | low |
28,763,621 | Height and width in dp looks different on different devices (Android) | <p>According to this <a href="https://www.youtube.com/watch?v=zhszwkcay2A" rel="nofollow noreferrer">video</a> </p>
<p>If I want create some element, which must looks the same on devices with different dpi (Phone, Tablet, TV).</p>
<p>As shown on video (at 4:52), I must specify dimensions of this element in dp.</p>
... | According to this video If I want create some element, which must looks the same on devices with different dpi (Phone, Tablet, TV). As shown on video (at 4:52), I must specify dimensions of this element in dp. But I got this (Redmi Note vs Redmi 1s (android 4.2.2 on both)): (I use IntelliJ Idea 14) Here is my code from... | android | 2 | 2015-02-27T11:06:55.543Z | 2,015 | 2 | 11 | 4 | 1,065 | 1 | 429 | 69 | 1 | 1 | true | false | false | false | false | false | low |
28,763,629 | Android FragmentSupportManager is returning null when called out of Handler | <p>I am using a navigation drawer to switch between my fragments and an Handler to notify the current Fragment about changes in my ForegroundService. The handler code is located in the MainActivity class. All fragments are shown in an container with id "main_content" and replace each other.</p>
<p>All is working fine ... | I am using a navigation drawer to switch between my fragments and an Handler to notify the current Fragment about changes in my ForegroundService. The handler code is located in the MainActivity class. All fragments are shown in an container with id "main_content" and replace each other. All is working fine and my Frag... | android|android-fragments|android-handler|orientation-changes | 0 | 2015-02-27T11:07:16.937Z | 2,015 | 2 | 11 | 4 | 104 | 0 | 1,463 | 75 | 4 | 4 | true | true | false | false | false | false | zero |
28,763,661 | Prioritize intents in IntentService | <p>Here is what I do now:</p>
<ol>
<li><p>I have a service that runs in the background and reads user location. Each time a valid location is read (there are some parameters like distance and time) an IntentService is started to send that location to a web server</p></li>
<li><p>The app, that uses the tracking service... | Here is what I do now: I have a service that runs in the background and reads user location. Each time a valid location is read (there are some parameters like distance and time) an IntentService is started to send that location to a web server The app, that uses the tracking service, also has some web calls, depending... | android|service|intentservice|android-intentservice|android-webservice | 0 | 2015-02-27T11:09:21.033Z | 2,015 | 2 | 11 | 4 | 621 | 1 | 1,416 | 35 | 5 | 4 | true | false | false | false | false | false | zero |
28,763,684 | Content provider to open images in external app does not work | <p>I want to open images which are saved within my app, in an external image viewer app.</p>
<p>Because the images are stored in the (private) app directory, I use a content provider.</p>
<p>Here is the code of my content provider:</p>
<pre><code>[ContentProvider(new string[] { "com.company.myapp" })]
public cla... | I want to open images which are saved within my app, in an external image viewer app. Because the images are stored in the (private) app directory, I use a content provider. Here is the code of my content provider: [CODE] To open the image in an external image viewer app, I use the following code: [CODE] The problem is... | android|xamarin|xamarin.android|android-contentprovider | 1 | 2015-02-27T11:10:22.200Z | 2,015 | 2 | 11 | 4 | 910 | 1 | 650 | 61 | 4 | 2 | true | false | false | false | false | false | low |
28,763,736 | android async return type onPostexecute | <p>Why does this code give me an error in Android Studio that says there is an incompatible return type on line
<strong>protected String onPostExecute(String result2)</strong></p>
<p>Async code here;</p>
<pre><code>class loaderdd extends AsyncTask<String, Void, String> {
protected String doInBackground(Strin... | Why does this code give me an error in Android Studio that says there is an incompatible return type on line protected String onPostExecute(String result2) Async code here; [CODE] I am just trying to get my head round this idea and get it working before trying more complicated stuff like http requesting in it. Newbie. | android | 0 | 2015-02-27T11:12:46.590Z | 2,015 | 2 | 11 | 4 | 169 | 2 | 319 | 39 | 1 | 1 | true | false | false | false | false | false | zero |
28,763,738 | Recognise Drag in Android even if there are subviews on top | <p>I have an Activity in my app where I want to detect drag gestures. So I implemented the <code>boolean onTouchEvent(MotionEvent event)</code> function and can now handle a drag-gesture.</p>
<p>The only problem I have right now is that I only get the <code>onTouchEvent</code> called when I drag on the <strong>backgro... | I have an Activity in my app where I want to detect drag gestures. So I implemented the boolean onTouchEvent(MotionEvent event) function and can now handle a drag-gesture. The only problem I have right now is that I only get the onTouchEvent called when I drag on the background view where there is nothing on top of it.... | android|gesture-recognition|motionevent | 0 | 2015-02-27T11:12:49.517Z | 2,015 | 2 | 11 | 4 | 41 | 1 | 601 | 59 | 3 | 0 | false | false | false | false | false | false | zero |
28,763,744 | Multiple request between Android client and Java server | <p>I'm developing a client/server application where an Android client sends a request to a Java server and then show to the user a notification with the server's respose.
The requests are based on the LocationManager updates so they are very frequent.
I saw that the RTT is very high (about 6 seconds) and i want to make... | I'm developing a client/server application where an Android client sends a request to a Java server and then show to the user a notification with the server's respose. The requests are based on the LocationManager updates so they are very frequent. I saw that the RTT is very high (about 6 seconds) and i want to make lo... | java|android|sockets|tcp|server | 0 | 2015-02-27T11:12:59.627Z | 2,015 | 2 | 11 | 4 | 202 | 0 | 565 | 55 | 5 | 3 | true | true | false | false | false | false | zero |
28,763,778 | Regarding Execution of jar file through command line | <p>I downloaded both Jar files (AndroidScreencast.jar & ddmlib.jar) and the androidscreencast.jnlp, when I click the jnlp file while offline I cannot open screencast, how can I run this offline if I have the files already downloaded?</p>
<p>When i run it from command line.
I get the following message:</p>
<p>no m... | I downloaded both Jar files (AndroidScreencast.jar & ddmlib.jar) and the androidscreencast.jnlp, when I click the jnlp file while offline I cannot open screencast, how can I run this offline if I have the files already downloaded? When i run it from command line. I get the following message: no main manifest attribute,... | android | 1 | 2015-02-27T11:14:47.740Z | 2,015 | 2 | 11 | 4 | 32 | 0 | 345 | 52 | 1 | 0 | false | true | false | false | false | false | low |
28,763,787 | Searching for a specific entity(a specific bank) using Google Places API | <p>I am working on this android application of finding specific banks(by their names) nearby using Google maps API and i am stuck since am not sure how to do that. I have created a custom list and a map fragment getting the current location.From the custom list is a list of banks say Barclays. How do i get barclays ban... | I am working on this android application of finding specific banks(by their names) nearby using Google maps API and i am stuck since am not sure how to do that. I have created a custom list and a map fragment getting the current location.From the custom list is a list of banks say Barclays. How do i get barclays banks ... | android|google-maps-android-api-2|google-places-api | 0 | 2015-02-27T11:15:22.137Z | 2,015 | 2 | 11 | 4 | 1,335 | 2 | 369 | 72 | 3 | 0 | false | false | false | false | false | false | zero |
28,763,802 | Listening to Android's ActionView expanding event | <p>I want to do something when users click on look-up icon of a <code>SearchView</code>. After reading the API, i wrote something like those at the end of this post. But my application crashed at launch, here is the stack trace:</p>
<pre><code>java.lang.UnsupportedOperationException: This is not supported, use MenuIte... | I want to do something when users click on look-up icon of a SearchView . After reading the API, i wrote something like those at the end of this post. But my application crashed at launch, here is the stack trace: [CODE] I searched and found some posts that recommend to use MenuItemCompat instead. I also implemented it... | android|listener|searchview | 3 | 2015-02-27T11:16:18.387Z | 2,015 | 2 | 11 | 4 | 1,450 | 1 | 595 | 49 | 3 | 3 | true | false | false | false | false | false | low |
28,763,851 | Running Robolectric unit tests fails | <p>i am trying to build and run unit tests via Robolectrie test framework but i am unable to do so due the actual plugin i use</p>
<p>Here is my build script i tried</p>
<pre><code>//http://tools.android.com/tech-docs/new-build-system/migrating-to-1-0-0
buildscript {
repositories {
mavenCentral()
... | i am trying to build and run unit tests via Robolectrie test framework but i am unable to do so due the actual plugin i use Here is my build script i tried [CODE] here is a simple test class [CODE] Here is the error i get [CODE] I then tried a different plugin , i.e. com.github.jcandksolutions.gradle:android-unit-test:... | android|gradle|android-gradle-plugin|robolectric|robolectric-gradle-plugin | 0 | 2015-02-27T11:19:20.580Z | 2,015 | 2 | 11 | 4 | 1,301 | 1 | 420 | 36 | 5 | 5 | true | false | false | false | false | false | zero |
28,763,858 | Android get an Error while connection to Socket | <p>i'm trying to write simple application with nodejs and express.io after reading some express.io document and successful connection to <code>http://chat.socket.io</code> i'm find simple sample for create server side with nodejs and express.io, after run this below code in command line and opening <code>http://localho... | i'm trying to write simple application with nodejs and express.io after reading some express.io document and successful connection to http://chat.socket.io i'm find simple sample for create server side with nodejs and express.io, after run this below code in command line and opening http://localhost:3000 in browser i d... | android|node.js|express | 3 | 2015-02-27T11:19:32.337Z | 2,015 | 2 | 11 | 4 | 3,295 | 1 | 598 | 47 | 3 | 4 | true | false | true | false | false | false | low |
28,763,879 | I can not close the Activity when opened a new Activity | <p>I open the first Activitiy. click on the button and move on to the second Activity. at the same time I want to first closed. and when you press the "back" does not appear from the backstack.</p>
<pre><code>public void showUser(User user) {
Intent intent = new Intent(this, MainActivity.class);
intent... | I open the first Activitiy. click on the button and move on to the second Activity. at the same time I want to first closed. and when you press the "back" does not appear from the backstack. [CODE] and finish(); does not work | android|android-activity | 0 | 2015-02-27T11:20:17.903Z | 2,015 | 2 | 11 | 4 | 99 | 2 | 225 | 55 | 2 | 1 | true | false | false | false | false | false | zero |
28,763,911 | Opening and reading pdf file from devices internal storage android | <p>I have no idea where to start, and can't find a decent, or at least understandable tutorial how to do it. Im still new to android (and coding in any matter) but i need to create and app that opens a pdf file (CV in my case) and reads phone number and email from it. Any ideas (tutorial links) how to do it? :)</p> | I have no idea where to start, and can't find a decent, or at least understandable tutorial how to do it. Im still new to android (and coding in any matter) but i need to create and app that opens a pdf file (CV in my case) and reads phone number and email from it. Any ideas (tutorial links) how to do it? :) | android|pdf | 0 | 2015-02-27T11:22:17.083Z | 2,015 | 2 | 11 | 4 | 270 | 1 | 309 | 66 | 2 | 0 | false | false | false | false | false | false | zero |
28,763,912 | I need explain of a code line of JNI for Android | <p>I found this example at GitHub, <a href="https://github.com/martinmarinov/rtl_tcp_andro-/blob/master/jni/RtlTcp.c" rel="nofollow">https://github.com/martinmarinov/rtl_tcp_andro-/blob/master/jni/RtlTcp.c</a> and i want to understand how works.
I have a Question about some code with pointers. </p>
<p>This is the fun... | I found this example at GitHub, https://github.com/martinmarinov/rtl_tcp_andro-/blob/master/jni/RtlTcp.c and i want to understand how works. I have a Question about some code with pointers. This is the function's code: [CODE] If the jvm is a pointer how can he uses the operator -> and * together? In my compiler this an... | java|android|c++ | 0 | 2015-02-27T11:22:18Z | -1 | -1 | -1 | -1 | 117 | 1 | 390 | 48 | 3 | 1 | true | false | false | false | false | false | zero |
28,763,948 | Slowing down the speed of drawing an object | <p>I am drawing a gesture on the screen. Can we control the speed of drawing the gesture ?? It is being displayed but directly without showing how it was drawn.. I tried using sleep(), wait() methods but didn't work. I want it show the path how the gesture was drawn slowly.. Is it possible ?</p> | I am drawing a gesture on the screen. Can we control the speed of drawing the gesture ?? It is being displayed but directly without showing how it was drawn.. I tried using sleep(), wait() methods but didn't work. I want it show the path how the gesture was drawn slowly.. Is it possible ? | java|android|time|gesture | 0 | 2015-02-27T11:23:45.960Z | 2,015 | 2 | 11 | 4 | 71 | 0 | 289 | 43 | 4 | 0 | false | true | false | false | false | false | zero |
28,763,992 | Android: Can I change the height of a view before it's drawn? | <p>I'd like to do something like the following:</p>
<pre><code>rootLayout.getLayoutParams().height = 100;
</code></pre>
<p>Currently I have this line in my 'loadData' method. The problem is - 'layoutParams' seems to be null until sometime after 'loadData' has been called (but before it is displayed obviously).</p>
<... | I'd like to do something like the following: [CODE] Currently I have this line in my 'loadData' method. The problem is - 'layoutParams' seems to be null until sometime after 'loadData' has been called (but before it is displayed obviously). Is there somewhere I can place this line where the layoutParams will have been ... | java|android|android-studio | 0 | 2015-02-27T11:26:05.110Z | 2,015 | 2 | 11 | 4 | 246 | 3 | 391 | 61 | 3 | 1 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.