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,709,236 | Why won't the "done" button show up for this EditText when my phone is vertical | <p>I have this <code>EditText</code>:</p>
<pre><code><EditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/inputText"
android:inputType="textCapCharacters|textMultiLine"
android:hint="@string/input_text_hint"
android:gravity="top|left"/>
</cod... | I have this EditText : [CODE] When I select it while my phone is horizontal, I see this: But when I select it while my phone is vertical, I see this: When the phone is vertical, I want the "DONE" button to appear like it does when the phone is horizontal. I also want the return key to move the cursor down a line when i... | android|xml|android-edittext|landscape|portrait | 0 | 2015-02-25T00:51:46.457Z | 2,015 | 2 | 0 | 2 | 609 | 2 | 414 | 79 | 5 | 2 | true | false | false | false | false | false | zero |
28,709,355 | fatal exception while loading my Listfragment Android | <p>I have some trouble with my code and i must have missed something.
here is my code.
I'm trying to build a simple fragment app with one listview window for users. and i can't seem to get it right.</p>
<pre><code>public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceStat... | I have some trouble with my code and i must have missed something. here is my code. I'm trying to build a simple fragment app with one listview window for users. and i can't seem to get it right. [CODE] activity_main.xml [CODE] CartList code [CODE] cartlist.xml [CODE] UsersAdapter code [CODE] I get this fatal exception... | java|android|eclipse|android-layout|android-intent | 0 | 2015-02-25T01:05:03.570Z | 2,015 | 2 | 1 | 2 | 265 | 1 | 327 | 53 | 5 | 6 | true | false | false | false | false | false | zero |
28,709,373 | Use the same source set but not the same AndroidManifest.xml in andorid gradle build | <p>I use product flavors with gradle to build different versions of my app. But I just need to replace some metadata in the AndroidManifest.xml for each version. The source code and resources are all the same.</p>
<p>Everytime, gradle will compile, package, and use proguard to compress the classes for each version ind... | I use product flavors with gradle to build different versions of my app. But I just need to replace some metadata in the AndroidManifest.xml for each version. The source code and resources are all the same. Everytime, gradle will compile, package, and use proguard to compress the classes for each version independently,... | android|build|gradle | 1 | 2015-02-25T01:06:29.133Z | 2,015 | 2 | 1 | 2 | 47 | 1 | 499 | 84 | 3 | 0 | false | false | false | false | false | false | low |
28,709,374 | HandlerThread null exception - Android | <p>I'm using ThreadHandler in my app this way, </p>
<pre><code>public class MessageThread extends HandlerThread {
Handler mHandler;
public MessageThread() {
super("Message Thread");
}
public void queueProcessMessage(msgObject mObj) {
mHandler.obtainMessage(PROCESS_MESSAGE, mObj).send... | I'm using ThreadHandler in my app this way, [CODE] And I initialize it in the onCreate() like so, [CODE] And it's working fine, the problem is that I needed to add something else where I have to start another activity waiting for result so I had to initialize/use it as shown below as the onActivityResult gets called be... | android|message-queue|android-handler|android-looper|android-handlerthread | 0 | 2015-02-25T01:06:34.577Z | 2,015 | 2 | 1 | 2 | 2,709 | 0 | 684 | 38 | 5 | 5 | true | true | true | false | false | false | zero |
28,709,483 | OnListItemClick Shift from one ListFragement to Another using fragment Transactions | <p>I have a list fragment from where when any list item is clicked, I want to move to another list fragement.
import java.util.Arrays;
import java.util.List;</p>
<pre><code>import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.app.ListFragment;
import android.view.Layo... | I have a list fragment from where when any list item is clicked, I want to move to another list fragement. import java.util.Arrays; import java.util.List; [CODE] } This is the new class that I am trying to move to. [CODE] I tried using v4 android support libraries. but the replace call is giving me this error "The meth... | android|android-fragments | 0 | 2015-02-25T01:17:43.163Z | 2,015 | 2 | 1 | 2 | 74 | 1 | 562 | 83 | 2 | 2 | true | false | false | false | false | false | zero |
28,709,634 | How to create custom type for android resources value using Android Studio | <p>I have a custom resource values in eclipse.</p>
<p>the file name is
errors.xml</p>
<p>In the errors.xml, we have</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="hello_1" type="errors">hello message 1</item>
<item name="hello_2" type="errors">hell... | I have a custom resource values in eclipse. the file name is errors.xml In the errors.xml, we have [CODE] In eclipse, I would be able to access this resources value by using String errorMessage = getString(R.errors.hello_1) I am trying to migrate my project to Android Studio. However it's complaining about my the error... | java|android|xml|resources | 1 | 2015-02-25T01:33:57.110Z | 2,015 | 2 | 1 | 2 | 717 | 0 | 797 | 74 | 4 | 1 | true | true | false | false | false | false | low |
28,709,643 | Android Camera Application: Capture button not working? | <p>I've been working on this Camera app for a little while now. Basically what I want to do is take a picture(and store it internally), then display that image in the next Activity. The preview works perfectly, but when I hit the Capture button on MainActivity the error "Unfortunately, myApplication has stopped" shows ... | I've been working on this Camera app for a little while now. Basically what I want to do is take a picture(and store it internally), then display that image in the next Activity. The preview works perfectly, but when I hit the Capture button on MainActivity the error "Unfortunately, myApplication has stopped" shows up ... | java|android|button|camera|onclick | 0 | 2015-02-25T01:35:37.053Z | 2,015 | 2 | 1 | 2 | 1,405 | 1 | 581 | 55 | 5 | 3 | true | false | false | false | false | false | zero |
28,709,788 | Google Play In-App-Billing V3 : confirm transaction | <p>Data flow for a purchase request with Google In-App-Billing V2 is : </p>
<p><img src="https://i.stack.imgur.com/qKkSp.png" alt="Google In-App-Billing V2"></p>
<p>The last part (<strong>CONFIRM_NOTIFICATIONS</strong>) allows developers to confirm that the item was successfully delivered to the user.</p>
<p>in V3,... | Data flow for a purchase request with Google In-App-Billing V2 is : The last part ( CONFIRM_NOTIFICATIONS ) allows developers to confirm that the item was successfully delivered to the user. in V3, transaction is confirmed as soon as " onActivityResult() " is called. My question is : how to "cancel" a transaction when ... | android|in-app-purchase|in-app-billing|android-billing | 0 | 2015-02-25T01:50:45.737Z | 2,015 | 2 | 1 | 2 | 280 | 1 | 354 | 51 | 4 | 0 | false | false | false | false | false | false | zero |
28,709,857 | What is the correct way of retrieving ParseUser using include.() | <p>I'm fairly new to Parse and I have 2 classes. The User class and another class that I called "Group". The Group class has a field called "users" where I keep ParseUser objects.</p>
<pre><code> ParseQuery<ParseObject> query = ParseQuery.getQuery("Group");
query.include("users");
query.findInBackground(... | I'm fairly new to Parse and I have 2 classes. The User class and another class that I called "Group". The Group class has a field called "users" where I keep ParseUser objects. [CODE] The parseObjects returned null, and I'm not sure where I went wrong. Any help? | android|parse-platform | 1 | 2015-02-25T01:59:32.967Z | 2,015 | 2 | 1 | 2 | 154 | 0 | 262 | 64 | 2 | 1 | true | true | false | false | false | false | low |
28,710,039 | Displaying a database in PDF using iText in Android Studio | <p>I have a function that creates a <code>PDF</code> file that displays a database (<code>SQLite</code>). When I try to open the file, it says: File read error. <strong>File type is unsupportted or the file is corrupted.</strong></p>
<p>I don't have any errors in my logcat. I am using <a href="http://repo.itextsupport... | I have a function that creates a PDF file that displays a database ( SQLite ). When I try to open the file, it says: File read error. File type is unsupportted or the file is corrupted. I don't have any errors in my logcat. I am using iTextg 5.5.3.jar that I added using Sync Project with Gradle Files button of Android ... | android|database|sqlite|pdf|itext | 0 | 2015-02-25T02:21:46.033Z | 2,015 | 2 | 2 | 2 | 2,935 | 1 | 450 | 58 | 5 | 2 | true | false | true | false | false | false | zero |
28,710,100 | Some Android devices extremely slow when rendering canvas elements | <p>Im developing an app for android devices, and found that samsung galaxy S4 specifically, has extremely poor performance when app/web page uses canvas.
Odd thing is, that its not always the case. </p>
<p>I have tested 2 sample apps.</p>
<p><a href="http://ie.microsoft.com/testdrive/Performance/FishIETank/Default.h... | Im developing an app for android devices, and found that samsung galaxy S4 specifically, has extremely poor performance when app/web page uses canvas. Odd thing is, that its not always the case. I have tested 2 sample apps. http://ie.microsoft.com/testdrive/Performance/FishIETank/Default.html and http://ie.microsoft.co... | javascript|android|html|mobile|canvas | 12 | 2015-02-25T02:28:27.267Z | 2,015 | 2 | 2 | 2 | 4,753 | 1 | 1,241 | 66 | 5 | 0 | false | false | true | false | true | false | medium |
28,710,106 | How to set button background programmatically with RippleDrawable (API 21) | <p>I subclassed <code>Button</code>. From within that class I try to change the color programmatically.</p>
<pre><code>RippleDrawable draw = (RippleDrawable) getContext().getApplicationContext()
.getResources().getDrawable(R.drawable.raised_btn);
this.setBackground(draw);
</code></pre>
<p>Looks great so far..</p>... | I subclassed Button . From within that class I try to change the color programmatically. [CODE] Looks great so far.. But then I press the button, and it's the most random of colors. Nowhere have I specified these pinkish colors. If I set this drawable as the background via XML ( android:background="@drawable/raised_btn... | android|android-layout|android-5.0-lollipop|android-drawable | 2 | 2015-02-25T02:29:14.093Z | 2,015 | 2 | 2 | 2 | 3,201 | 1 | 535 | 74 | 4 | 2 | true | false | true | false | false | false | low |
28,710,163 | Android Image Gallery with gif animation | <p>It's been a long time since I have worked on an android app. I am looking for the opinions and suggestions from all of yinz who develop on android more often than I do. I am trying to make an app that allows users browse thru an image gallery using Next/Previous buttons. The gallery will be housed on my webserver. I... | It's been a long time since I have worked on an android app. I am looking for the opinions and suggestions from all of yinz who develop on android more often than I do. I am trying to make an app that allows users browse thru an image gallery using Next/Previous buttons. The gallery will be housed on my webserver. I al... | android|image|animation|gallery | 1 | 2015-02-25T02:37:58.080Z | 2,015 | 2 | 2 | 2 | 1,184 | 2 | 1,001 | 40 | 4 | 0 | false | false | false | false | false | false | low |
28,710,197 | ScrollView including ListView in Android | <p>I would like to have a <code>ScrollView</code> that contains a <code>ListView</code>, which is obviously undesirable since a <code>ListView</code> has its own scroll bar.</p>
<p>Essentially I would like to have a <code>RelativeLayout</code> with a number of views forming the header of the page, followed by a <code>... | I would like to have a ScrollView that contains a ListView , which is obviously undesirable since a ListView has its own scroll bar. Essentially I would like to have a RelativeLayout with a number of views forming the header of the page, followed by a ListView , similar to Facebook's profile page with the images follow... | android|android-layout|android-listview|android-scrollview | 0 | 2015-02-25T02:42:06.653Z | 2,015 | 2 | 2 | 2 | 118 | 4 | 568 | 40 | 4 | 0 | false | false | false | false | false | false | zero |
28,710,371 | How to trace error in google app engine? | <p>I have following setup:</p>
<ol>
<li>Custom API on Android studio.</li>
<li>That API makes a call to google cloud sql to retrieve manipulate data.</li>
</ol>
<p>Query works perfectly on dev server. But when I deploy it to google app engine query does not work. Nothing get updated in table. I can trace error on dev... | I have following setup: Custom API on Android studio. That API makes a call to google cloud sql to retrieve manipulate data. Query works perfectly on dev server. But when I deploy it to google app engine query does not work. Nothing get updated in table. I can trace error on dev server to fix local bugs. Is there any w... | android|google-app-engine | 0 | 2015-02-25T03:03:00.197Z | 2,015 | 2 | 3 | 2 | 82 | 0 | 384 | 40 | 2 | 0 | false | true | false | false | false | false | zero |
28,710,435 | NoClassDefFoundError: com.exacttarget.etpushsdk.ETLocationManager$RegionMonitor | <p>I'm receiving a weird problem and I don't know if is a Android related or SDK related. The thing is, I'm following the instructions to add ExactTarget Journey Builder SDK (<a href="https://github.com/ExactTarget/JB4A-SDK-Android/" rel="nofollow">https://github.com/ExactTarget/JB4A-SDK-Android/</a>) , instructions fr... | I'm receiving a weird problem and I don't know if is a Android related or SDK related. The thing is, I'm following the instructions to add ExactTarget Journey Builder SDK ( https://github.com/ExactTarget/JB4A-SDK-Android/ ) , instructions from here: https://code.exacttarget.com/apis-sdks/journey-builder-for-apps/sdk-im... | android|gradle|exacttarget | 0 | 2015-02-25T03:09:36.700Z | 2,015 | 2 | 3 | 2 | 190 | 1 | 527 | 79 | 3 | 1 | true | false | false | false | false | false | zero |
28,710,478 | Android HCE with secure element source code example | <p>Hy... I'm trying to find a source code that implementing android HCE with secure element. I have read these two articles right here :</p>
<p><a href="http://developer.android.com/samples/CardEmulation/index.html" rel="nofollow">http://developer.android.com/samples/CardEmulation/index.html</a>
<a href="http://blog.o... | Hy... I'm trying to find a source code that implementing android HCE with secure element. I have read these two articles right here : http://developer.android.com/samples/CardEmulation/index.html http://blog.opendatalab.de/hack/2013/11/07/android-host-card-emulation-with-acr122/ But those just shows an Android HCE with... | android|nfc|hce | 0 | 2015-02-25T03:13:50.840Z | 2,015 | 2 | 3 | 2 | 2,339 | 1 | 721 | 51 | 3 | 0 | false | false | false | false | false | false | zero |
28,710,484 | android:animateLayoutChanges doesn't show view until touched | <p>I'm building an app with a swipe-left to delete function. I've got an undo dialog, so when the user decides to 'undo' a delete, I merely have to bring it on screen by restoring the original X position and making it visible. The problem is that it doesn't reappear until the view is touched, the scrollView is scrolle... | I'm building an app with a swipe-left to delete function. I've got an undo dialog, so when the user decides to 'undo' a delete, I merely have to bring it on screen by restoring the original X position and making it visible. The problem is that it doesn't reappear until the view is touched, the scrollView is scrolled, a... | android | 0 | 2015-02-25T03:14:12.873Z | 2,015 | 2 | 3 | 2 | 231 | 0 | 892 | 60 | 1 | 2 | true | true | false | false | false | false | zero |
28,710,488 | Building a SQL "toxi" tagging system, how to select items with a specific tag? | <p>First of all, i'm new to sql. </p>
<p>Now, I'm building a tagging system with sqlite for my android app that uses 3 tables (items, tags, tagmap) based on this "toxi" solution found <a href="http://tagging.pui.ch/post/37027745720/tags-database-schemas" rel="nofollow">here</a>, but I'm not sure on how the mechanics w... | First of all, i'm new to sql. Now, I'm building a tagging system with sqlite for my android app that uses 3 tables (items, tags, tagmap) based on this "toxi" solution found here , but I'm not sure on how the mechanics work, how would I select all items from this itemsTable that have a specific tag. itemsTable itemid 2 ... | android|sql|sqlite | 0 | 2015-02-25T03:14:48.047Z | 2,015 | 2 | 3 | 2 | 831 | 1 | 797 | 78 | 3 | 0 | false | false | false | false | false | false | zero |
28,710,528 | WordPress JSON API with Android AsyncTask | <p>I'm trying to create an application that retrieves data from Wordpress. I'm using the Wordpress JSON API for that. In my app, I have a <code>JSONAsyncTask</code> class that retrieves data using an HTTPClient, Post, and Response. When the JSON data (or any type of data the URL returns) is retrieved, it creates a Toas... | I'm trying to create an application that retrieves data from Wordpress. I'm using the Wordpress JSON API for that. In my app, I have a JSONAsyncTask class that retrieves data using an HTTPClient, Post, and Response. When the JSON data (or any type of data the URL returns) is retrieved, it creates a Toast that prints it... | android|json|wordpress|android-asynctask | 0 | 2015-02-25T03:19:27.150Z | 2,015 | 2 | 3 | 2 | 114 | 1 | 469 | 41 | 4 | 1 | true | false | false | false | false | false | zero |
28,710,530 | Downloading an Android app with an existing expansion file prompts downloading a large file? | <p>I have a 10MB app with a 100MB expansion file. If I try to download the app, but the expansion file already exists in my device, why does the Play Store tell me that it's downloading a large file? </p>
<p>The download is still 10MB, but most users would think that the Play Store downloads the expansion file every t... | I have a 10MB app with a 100MB expansion file. If I try to download the app, but the expansion file already exists in my device, why does the Play Store tell me that it's downloading a large file? The download is still 10MB, but most users would think that the Play Store downloads the expansion file every time I update... | android|apk-expansion-files | 1 | 2015-02-25T03:19:29.027Z | 2,015 | 2 | 3 | 2 | 81 | 1 | 348 | 92 | 2 | 0 | false | false | false | false | false | false | low |
28,710,558 | Java generics return type | <pre><code> public class Signal<T>{
public void addListener(T listener){
// do some thing
}
}
public static <T> Signal<? extends T> inject(Class<? extends T> type) {
// do some thing and return
}
public void execute(MyInterface callback){... | [CODE] I got a compiler error in the last raw, any idea how to fix it? I don't mind changing the implementation of inject or Signal class, my goal is to make execute method to work as it is now. | java|android|generics | 0 | 2015-02-25T03:22:58.063Z | 2,015 | 2 | 3 | 2 | 67 | 1 | 194 | 25 | 3 | 1 | true | false | false | false | false | false | zero |
28,710,562 | TimeUnit Cannot resolve symbol | <p>I am trying to make a basic countdown timer. I'm going to be honest I got most of this through a tutorial so I don't fully understand the workings of it but I've been trying for hours to find an answer and I don't know where else to look.</p>
<p>I am getting a 'Cannot resolve symbol' at the bottom after TimeUnit. F... | I am trying to make a basic countdown timer. I'm going to be honest I got most of this through a tutorial so I don't fully understand the workings of it but I've been trying for hours to find an answer and I don't know where else to look. I am getting a 'Cannot resolve symbol' at the bottom after TimeUnit. For example:... | java|android|android-studio | 2 | 2015-02-25T03:23:19.007Z | 2,015 | 2 | 3 | 2 | 11,455 | 1 | 448 | 30 | 3 | 1 | true | false | true | false | false | false | low |
28,710,609 | TabHost bar is above the keyboard when input data in android | <p>In my app I use the tabhost to create a menu bar like this:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
</code></pre>
<p></p>
<pre><code><LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<FrameLayout
... | In my app I use the tabhost to create a menu bar like this: [CODE] [CODE] And [CODE] The problem is , when the keyboard is show , the tabbar is above the keyboard , I have set the input mode like that: [CODE] How to hide the tabbar when keyboard shows? Thanks | android|android-layout|android-fragments|keyboard|android-tabhost | 2 | 2015-02-25T03:29:00.030Z | 2,015 | 2 | 3 | 2 | 1,038 | 1 | 259 | 60 | 5 | 4 | true | false | false | false | false | false | low |
28,710,633 | Difference between CursorLoader and AsyncTaskLoader | <p>Why should I use <strong>AsyncTaskLoader</strong>, and when should I prefer <strong>CursorLoader</strong> and vice-versa ?</p>
<p>In official <a href="http://developer.android.com/reference/android/content/AsyncTaskLoader.html">page</a>, the App-listing example is shown, this uses AsyncTaskLoader instead of CursorL... | Why should I use AsyncTaskLoader , and when should I prefer CursorLoader and vice-versa ? In official page , the App-listing example is shown, this uses AsyncTaskLoader instead of CursorLoader. What are the advantages and disadvantages of these two? I read somewhere about the CursorLoader not taking care about the cont... | android|android-asynctask|android-sqlite|android-cursorloader | 18 | 2015-02-25T03:32:30.980Z | 2,015 | 2 | 3 | 2 | 5,947 | 4 | 354 | 51 | 4 | 0 | false | false | true | false | true | false | medium |
28,710,662 | Android number1.setImageResource(R.drawable.n+"1"); Explanation | <p>Avoid this if possible. Step back and rethink if you really need to do it this way as it is an expensive operation and probably there are better ways of doing it.</p> | Avoid this if possible. Step back and rethink if you really need to do it this way as it is an expensive operation and probably there are better ways of doing it. | android|android-drawable | 0 | 2015-02-25T03:35:01.373Z | 2,015 | 2 | 3 | 2 | 177 | 3 | 162 | 63 | 2 | 0 | false | false | false | false | false | false | zero |
28,710,728 | google maps V2 “Unfortunately app has Stopped” | <p>I just begin to learn Android .take 4 days to try work maps view but not work .that error Unfortunately the app has stopped
<img src="https://i.stack.imgur.com/UiMYl.jpg" alt="manifest"></p>
<p><img src="https://i.stack.imgur.com/ZN6ea.jpg" alt="manifest"></p>
<p><img src="https://i.stack.imgur.com/CJBnj.jpg" alt=... | I just begin to learn Android .take 4 days to try work maps view but not work .that error Unfortunately the app has stopped | android|xml|api|google-maps|google-maps-android-api-2 | 0 | 2015-02-25T03:42:18.697Z | 2,015 | 2 | 3 | 2 | 1,748 | 2 | 123 | 46 | 5 | 0 | false | false | false | false | false | false | zero |
28,710,776 | Android Cannot Resolve Constructor on TimePickerDialog | <p>Please help me to work my code. I'm getting error like this</p>
<pre><code>error: no suitable constructor found for TimePickerDialog(MyHttpPostProjectActivity,<anonymous OnTimeSetListener>,int,int)
constructor TimePickerDialog.TimePickerDialog(Context,int,OnTimeSetListener,int,int,boolean) is not applicable
(... | Please help me to work my code. I'm getting error like this [CODE] | android|android-timepicker | 1 | 2015-02-25T03:47:53.490Z | 2,015 | 2 | 3 | 2 | 1,347 | 1 | 66 | 54 | 2 | 1 | true | false | false | false | false | false | low |
28,710,833 | Android- How to send data from activity to service? | <p>In my application I'm trying to send data from my <code>MainActivity.class</code> to a service called <code>bgservice.class</code>. This is my following code:</p>
<p>MainActivity.class:</p>
<pre><code>public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Intent serviceIntent = n... | In my application I'm trying to send data from my MainActivity.class to a service called bgservice.class . This is my following code: MainActivity.class: [CODE] bgservice.class: [CODE] but I'm not getting the data in the service class. these are the following error I get: 02-25 09:05:41.166: E/AndroidRuntime(2633): jav... | java|android|android-intent | 12 | 2015-02-25T03:55:04.767Z | 2,015 | 2 | 3 | 2 | 25,344 | 2 | 615 | 51 | 3 | 3 | true | false | true | true | true | false | medium |
28,710,845 | How do i get a String from another class? - ANDROID | <p>i got a question for you guys. I have 2 classes:</p>
<p><strong>TelaCadastroRestauranteDAO.java - IT DOES NOT EXTENDS ACTIVITY</strong> </p>
<p>and </p>
<p><strong>TelaCadastroRestaurante.java - IT DOES EXTENDS ACTIVITY</strong></p>
<p>In my first class <strong>TelaCadastroRestauranteDAO.java</strong>, i have a ... | i got a question for you guys. I have 2 classes: TelaCadastroRestauranteDAO.java - IT DOES NOT EXTENDS ACTIVITY and TelaCadastroRestaurante.java - IT DOES EXTENDS ACTIVITY In my first class TelaCadastroRestauranteDAO.java , i have a string restauranteParseIdString which it has a value. And i want pass this string to th... | java|android | 0 | 2015-02-25T03:56:50.073Z | 2,015 | 2 | 3 | 2 | 354 | 1 | 526 | 51 | 2 | 2 | true | false | false | false | false | false | zero |
28,710,864 | Android Handler to refresh GUI | <p>I am trying to create a UI Handler to refresh the gridview after i execute the parseURL ASyncTask class and return an Arraylist back to the MainActivity to print out on the gridview. </p>
<p>The code i have compiles and run without any errors but the gridview does not refresh after clicking the button. In the debu... | I am trying to create a UI Handler to refresh the gridview after i execute the parseURL ASyncTask class and return an Arraylist back to the MainActivity to print out on the gridview. The code i have compiles and run without any errors but the gridview does not refresh after clicking the button. In the debugger it shows... | java|android|android-handler | 0 | 2015-02-25T03:58:20.640Z | 2,015 | 2 | 3 | 2 | 752 | 1 | 496 | 30 | 3 | 1 | true | false | false | false | false | false | zero |
28,710,912 | Adding additional maven repositories for android build.gradle file is not working | <pre><code>buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
}
}
allprojects {
repositories {
jcenter()
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.0.2"
... | [CODE] above the build.gradle file. When I execute gradle tasks I'm getting A problem occurred configuring root project 'app'. Could not resolve all dependencies for configuration ':_debugCompile'. Could not resolve Android.myApp:rest-api:1.0. Required by: :app:unspecified Target host must not be null, or set in parame... | java|android|maven|build|gradle | 0 | 2015-02-25T04:04:48.317Z | 2,015 | 2 | 4 | 2 | 272 | 1 | 390 | 81 | 5 | 1 | true | false | false | false | false | false | zero |
28,711,023 | How I can download the source code and javadoc for both of javax.mail.jar and activation.jar? | <p>I made import libraries for javax.mail.jar and activation .jar and additional.jar and when i try send mail error tells me that source not found for DataHandler.</p> | I made import libraries for javax.mail.jar and activation .jar and additional.jar and when i try send mail error tells me that source not found for DataHandler. | android|jakarta-mail | 0 | 2015-02-25T04:17:05.727Z | 2,015 | 2 | 4 | 2 | 211 | 1 | 160 | 93 | 2 | 0 | false | false | false | false | false | false | zero |
28,711,025 | How to get only a specific button's click | <p>I have 2 buttons on the MainActivity. I want the first button to send me to TestPage1.class(Which it already does). And I want the second button to send me to TestPage2.class. Whenever I click on the second button, it sends me straight to TestPage1 and not TestPage2. How can I make this correct?</p>
<pre><code>impo... | I have 2 buttons on the MainActivity. I want the first button to send me to TestPage1.class(Which it already does). And I want the second button to send me to TestPage2.class. Whenever I click on the second button, it sends me straight to TestPage1 and not TestPage2. How can I make this correct? [CODE] | android|button|android-intent|onclicklistener | 0 | 2015-02-25T04:17:16.880Z | 2,015 | 2 | 4 | 2 | 137 | 3 | 303 | 41 | 4 | 1 | true | false | false | false | false | false | zero |
28,711,032 | How to organize apps into folders in Android Programming? | <p>I'm developing a launcher application. I want to auto organize apps into folders with subjects as Game, Social Network, Entertainment, Tool... But I do not know based on the information of the application to know what type it.</p>
<p>Sample : <a href="http://dantri4.vcmedia.vn/tI0YUx18mEaF5kMsGHJ/Image/2014/07/APUS... | I'm developing a launcher application. I want to auto organize apps into folders with subjects as Game, Social Network, Entertainment, Tool... But I do not know based on the information of the application to know what type it. Sample : http://dantri4.vcmedia.vn/tI0YUx18mEaF5kMsGHJ/Image/2014/07/APUS-Launcher-3-feb4a.jp... | android|directory|launcher | 1 | 2015-02-25T04:17:59.197Z | 2,015 | 2 | 4 | 2 | 260 | 1 | 321 | 57 | 3 | 0 | false | false | false | false | false | false | low |
28,711,047 | wrong item is being selected in listview when selecting checkbox | <p>**
When i select the items which are at the bottom of the listview,they wont get selected,
rather only first four items in the list is being selected.its because the items are out of view.
what to do to get these items in view ??sometimes the item gets randomly selected.
Please help me.
thank you
Here is my code**</... | ** When i select the items which are at the bottom of the listview,they wont get selected, rather only first four items in the list is being selected.its because the items are out of view. what to do to get these items in view ??sometimes the item gets randomly selected. Please help me. thank you Here is my code** [COD... | android|listview | 0 | 2015-02-25T04:19:44.863Z | 2,015 | 2 | 4 | 2 | 375 | 1 | 349 | 64 | 2 | 2 | true | false | false | false | false | false | zero |
28,711,079 | Android ArrayAdapter dynamic adding more data on scrolling | <p>I want to add some data at scrolling time whenever scroll reaches its 5 position but getting error ArrayOutOfBoundException...</p>
<p>//Set adapter in MainActivity</p>
<pre><code> Context context = this;
ArrayList<String> data = new ArrayList<String> ;
for(int i =0; i <20;i++){
... | I want to add some data at scrolling time whenever scroll reaches its 5 position but getting error ArrayOutOfBoundException... //Set adapter in MainActivity [CODE] // Custom adapter [CODE] Please tell me the solution how to remove that error and why that error is coming... | android|adapter|android-arrayadapter|autocompletetextview | 0 | 2015-02-25T04:24:26.277Z | 2,015 | 2 | 4 | 2 | 727 | 2 | 273 | 58 | 4 | 2 | true | false | false | false | false | false | zero |
28,711,097 | Logout functionality in Android using a local sqlite database | <p>How to make logout functionality in Android using a local sqlite database? I'm using a sqlite database to store data so that the user can use for logging in. </p> | How to make logout functionality in Android using a local sqlite database? I'm using a sqlite database to store data so that the user can use for logging in. | android | 1 | 2015-02-25T04:26:45.563Z | 2,015 | 2 | 4 | 2 | 2,924 | 2 | 157 | 61 | 1 | 0 | false | false | true | false | false | false | low |
28,711,114 | Creating external directory results in blank file | <p>This is fairly straightforward: I'm trying to create an app-specific directory, but the last folder in the path is created as a file. Below is my current snippet of code:</p>
<pre><code>public static File getExternalPath(Context context) {
File dir = context.getExternalFilesDir(null);
if(!dir.exists()) {
... | This is fairly straightforward: I'm trying to create an app-specific directory, but the last folder in the path is created as a file. Below is my current snippet of code: [CODE] The returned path is /storage/emulated/0/Android/data/<package>/files , but files is shown as a file rather than a directory. Is there a reaso... | android | 0 | 2015-02-25T04:27:56.560Z | 2,015 | 2 | 4 | 2 | 42 | 1 | 411 | 49 | 1 | 1 | true | false | false | false | false | false | zero |
28,711,275 | Media scanning specific folder | <p>I'm finding a media scanning source that can scan files in specific folder.<br>
Or source that scans specific extension files (Like .mp4) in specific folder.<br>Thanks.</p> | I'm finding a media scanning source that can scan files in specific folder. Or source that scans specific extension files (Like .mp4) in specific folder. Thanks. | android|android-mediascanner | 2 | 2015-02-25T04:42:01.713Z | 2,015 | 2 | 4 | 2 | 6,599 | 2 | 161 | 30 | 2 | 0 | false | false | true | false | false | false | low |
28,711,449 | I want to delete data on backpress of activity in android | <p>on back press of activity delete data this code work but appication is crash</p>
<pre><code>public void onBackPressed() {
File dir = context.getCacheDir();
if(dir!= null && dir.isDirectory()){
File[] children = dir.listFiles();
if (children == null) {
// Either dir does not exist or is not a... | on back press of activity delete data this code work but appication is crash [CODE] Thanks in advance. | android|database|caching|delegates|back | 2 | 2015-02-25T04:58:43.450Z | 2,015 | 2 | 4 | 2 | 95 | 0 | 102 | 57 | 5 | 1 | true | true | false | false | false | false | low |
28,711,509 | How to show current Location on Android AVD? | <p>What am I missing, When I launch the app, it gives me the map of the whole world, How come it can't seem to set my current location knowing I specified it in code? </p>
<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activ... | What am I missing, When I launch the app, it gives me the map of the whole world, How come it can't seem to set my current location knowing I specified it in code? [CODE] | android|google-maps | -1 | 2015-02-25T05:03:32.447Z | 2,015 | 2 | 5 | 2 | 76 | 1 | 170 | 44 | 2 | 1 | true | false | false | false | false | true | negative |
28,711,549 | How to create a whatsapp like recording button with slide to cancel | <p>As in whatsapp I need a recoding button and a slide to cancel and fade animation , I have searched for similar code but didn't got one.
I am new to android programming any help or link could be helpful.</p> | As in whatsapp I need a recoding button and a slide to cancel and fade animation , I have searched for similar code but didn't got one. I am new to android programming any help or link could be helpful. | android|whatsapp | 14 | 2015-02-25T05:05:56.320Z | 2,015 | 2 | 5 | 2 | 24,916 | 5 | 202 | 67 | 2 | 0 | false | false | true | true | true | false | medium |
28,711,562 | Android Studio Java Class has a dropdown | <p>I'm having an issue in Android Studio where I have a class in the Project tab, but next to it there is a dropdown arrow and the outer class says "class".java and it drops down and inside is a normal class that looks like all the rest. </p>
<p><img src="https://i.stack.imgur.com/zsH9T.png" alt="enter image descripti... | I'm having an issue in Android Studio where I have a class in the Project tab, but next to it there is a dropdown arrow and the outer class says "class".java and it drops down and inside is a normal class that looks like all the rest. How do I get it to look normal again? | java|android|android-studio | 2 | 2015-02-25T05:07:33.343Z | 2,015 | 2 | 5 | 2 | 122 | 2 | 272 | 40 | 3 | 0 | false | false | false | false | false | false | low |
28,711,675 | Merging a paid Android app with the free version | <p>I have an Android app that comes in two versions: a free one and a premium one with more features that costs $0.99.</p>
<p>I'd like to move to an In App Purchase approach where the premium features can be bought in the Free version. However, I obviously don't want to upset my users who have already bought the paid... | I have an Android app that comes in two versions: a free one and a premium one with more features that costs $0.99. I'd like to move to an In App Purchase approach where the premium features can be bought in the Free version. However, I obviously don't want to upset my users who have already bought the paid app. Is the... | android|ipc | 0 | 2015-02-25T05:15:10.770Z | 2,015 | 2 | 5 | 2 | 144 | 1 | 775 | 48 | 2 | 0 | false | false | false | false | false | false | zero |
28,711,722 | Fabric SDK for Android | <p>I have successfully implemented the Login part of <code>"Fabric SDK"</code> in my Android App.</p>
<p>Now I am trying to fetch the logged in user's Email Id.</p>
<p>I have went through <a href="https://dev.twitter.com/twitter-kit/android/request-email" rel="nofollow">Fabric's Twitter Kit</a>. There they have ment... | I have successfully implemented the Login part of "Fabric SDK" in my Android App. Now I am trying to fetch the logged in user's Email Id. I have went through Fabric's Twitter Kit . There they have mentioned "Requesting a user’s email address requires your application to be white-listed by Twitter. To request access, pl... | android|twitter|twitter-fabric | 2 | 2015-02-25T05:19:28.040Z | 2,015 | 2 | 5 | 2 | 515 | 1 | 575 | 22 | 3 | 0 | false | false | false | false | false | false | low |
28,711,754 | Android eclipse error on File upload to server | <p>In my android eclipse project, i want to upload image file with name and email fields to server.</p>
<p>But i got the following error : my logcat is following :</p>
<pre><code>NoSuchFieldError - BasicHeaderValueFormatter.INSTANCE
E/AndroidRuntime(25348): Caused by: java.lang.NoSuchFieldError: org.apache.http.mess... | In my android eclipse project, i want to upload image file with name and email fields to server. But i got the following error : my logcat is following : [CODE] my entire logcat : [CODE] My code for uploading image and some fields are following : [CODE] My libs folder have following necessary libraries : And in my java... | android|apache|http|multipartform-data|multipartentity | 0 | 2015-02-25T05:21:52.893Z | 2,015 | 2 | 5 | 2 | 2,190 | 2 | 547 | 46 | 5 | 3 | true | false | false | false | false | false | zero |
28,711,764 | How to hide footer while scrolling up webview in android? | <p>I have webview with linear layout with three buttons at bottom i.e. footer. I want to hide that footer while scrolling up webview and show footer on scrolling down.</p>
<p>Please Help me!!!</p> | I have webview with linear layout with three buttons at bottom i.e. footer. I want to hide that footer while scrolling up webview and show footer on scrolling down. Please Help me!!! | android|scroll|webview|footer | 1 | 2015-02-25T05:23:15.123Z | 2,015 | 2 | 5 | 2 | 983 | 1 | 182 | 57 | 4 | 0 | false | false | false | false | false | false | low |
28,711,766 | Load different images according to the receiving json response | <p>Im getting a json response and from the im using of the item details to load in the menu grid, for that im using a adapter. at the moment i was able to load all the item details such as ImageURL , Description , Price. but i have the problem when loading the isVeg detail. isveg returns a true or false, then if the re... | Im getting a json response and from the im using of the item details to load in the menu grid, for that im using a adapter. at the moment i was able to load all the item details such as ImageURL , Description , Price. but i have the problem when loading the isVeg detail. isveg returns a true or false, then if the respo... | android|json|image | -1 | 2015-02-25T05:23:20.853Z | 2,015 | 2 | 5 | 2 | 66 | 1 | 588 | 62 | 3 | 2 | true | false | false | false | false | true | negative |
28,711,784 | Language translation in worklight adapter | <p>How to provide the language translation in worklight adapter. The response from the worklight adapter should be based on the language selected in the android app. How to implement it?</p> | How to provide the language translation in worklight adapter. The response from the worklight adapter should be based on the language selected in the android app. How to implement it? | android|ibm-mobilefirst | 1 | 2015-02-25T05:24:33.417Z | 2,015 | 2 | 5 | 2 | 51 | 1 | 183 | 41 | 2 | 0 | false | false | false | false | false | false | low |
28,711,788 | Android Login into app Via local server connection? | <p>I want to build a login function in my app.</p>
<p>the user credential will be store on the local sever (no internet available).
So when the user try to login, the app will check the credential in the localsever. </p>
<p>Can you point me in the right direction . thanks </p> | I want to build a login function in my app. the user credential will be store on the local sever (no internet available). So when the user try to login, the app will check the credential in the localsever. Can you point me in the right direction . thanks | java|android|http|authentication|localhost | 0 | 2015-02-25T05:24:43.987Z | 2,015 | 2 | 5 | 2 | 100 | 0 | 254 | 51 | 5 | 0 | false | true | false | false | false | false | zero |
28,711,799 | Android Time Picker Format | <p>I am using <code>TimePicker</code> and in picker it showing time in <code>24 hour</code> format, which is good, but when i <code>select</code> ...</p>
<p>Getting - <code>9:5 PM</code></p>
<p>Requirement 1 - <code>09:05 PM</code></p>
<p>Requirement 2 - <code>21:05</code> </p>
<pre><code> case DIALOG_TIME:
fi... | I am using TimePicker and in picker it showing time in 24 hour format, which is good, but when i select ... Getting - 9:5 PM Requirement 1 - 09:05 PM Requirement 2 - 21:05 [CODE] So where i have to make changes in my code, to get this done ! | java|android|timepicker|android-timepicker | 0 | 2015-02-25T05:25:40.850Z | 2,015 | 2 | 5 | 2 | 2,542 | 1 | 241 | 26 | 4 | 1 | true | false | false | false | false | false | zero |
28,711,842 | Cocos2dx: dlopen failed: cannot locate symbol "atof" referenced by "libcocos2dcpp.so" | <p>I am trying to run my cocos2d-x game on android devices, it works perfectly on android 5.0(lollipop), but crashes on lower android versions. I am getting the following error:</p>
<p>02-25 10:41:09.787: E/ResourceType(18090): 0x5ad385b8: Failed to ResTable::remove() cookie = 0x3, not last table. mHeaders.size() = 4.... | I am trying to run my cocos2d-x game on android devices, it works perfectly on android 5.0(lollipop), but crashes on lower android versions. I am getting the following error: 02-25 10:41:09.787: E/ResourceType(18090): 0x5ad385b8: Failed to ResTable::remove() cookie = 0x3, not last table. mHeaders.size() = 4. Warning fo... | android|cocos2d-x|cocos2d-x-2.x | 5 | 2015-02-25T05:29:40.790Z | 2,015 | 2 | 5 | 2 | 7,040 | 5 | 3,420 | 85 | 3 | 0 | false | false | true | false | false | false | low |
28,711,850 | android OpenGl How to draw a rectangle | <p>I want to draw a rectangle using OpenGL</p>
<pre><code>package jnidemo.example.com.openglsquare;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import java.nio.By... | I want to draw a rectangle using OpenGL [CODE] But nothing appears on the screen. I don't want to use any color. I just want to draw a simple square or rectangle so that I can get some idea of simple OpenGL ES drawing mechanisms. I don't know what the problem is. | java|android|opengl-es | 3 | 2015-02-25T05:30:26.870Z | 2,015 | 2 | 5 | 2 | 6,184 | 2 | 263 | 38 | 3 | 1 | true | false | true | false | false | false | low |
28,711,873 | how to create slider in view pager in Android | <p>I want to implement view pager in Android.But i want to create layout something like this <img src="https://i.stack.imgur.com/2qUoC.png" alt="enter image description here"></p>
<p>I m trying but left side and right side half image is not showing with current page .Can someone help how to work with this.Thanks to ap... | I want to implement view pager in Android.But i want to create layout something like this I m trying but left side and right side half image is not showing with current page .Can someone help how to work with this.Thanks to appreciate. | java|android|xml | -1 | 2015-02-25T05:32:36.080Z | 2,015 | 2 | 5 | 2 | 621 | 1 | 235 | 45 | 3 | 0 | false | false | false | false | false | true | negative |
28,711,900 | Android APK track app installs without google play | <p>I want to have an apk on my server i.e. mysite.com/app.apk and track coversions.
Spent last 3 hours trying to crack this one no success.
I can't use google play broadcast receiver as mentioned here: <a href="https://stackoverflow.com/questions/4093150/get-referrer-after-installing-app-from-android-market">Get referr... | I want to have an apk on my server i.e. mysite.com/app.apk and track coversions. Spent last 3 hours trying to crack this one no success. I can't use google play broadcast receiver as mentioned here: Get referrer after installing app from Android Market Any solutions how do do in myself? I'd like to pass parameter www.m... | android|apk|tracking | 0 | 2015-02-25T05:34:55.087Z | 2,015 | 2 | 5 | 2 | 766 | 1 | 523 | 50 | 3 | 0 | false | false | false | false | false | false | zero |
28,711,902 | Error inserting into sqlite databases | <p>I am newbie at android. I am getting this error since yesterday and it is frustrating, sorry for the mess.
When I run this i get the error </p>
<pre><code> //String texto_a_añadir= et_asistencia.getText().toString();
//int _texto_a_añadir = Integer.parseInt(texto_a_añadir);
class... | I am newbie at android. I am getting this error since yesterday and it is frustrating, sorry for the mess. When I run this i get the error [CODE] ERROR: [CODE] this is the sourcecode. public class ClaseDataSource { [CODE] } | android|mysql|sqlite | 1 | 2015-02-25T05:35:11.357Z | 2,015 | 2 | 5 | 2 | 65 | 3 | 223 | 37 | 3 | 3 | true | false | false | false | false | false | low |
28,711,962 | Copy text using android:textIsSelectable="true" is not working with onClicklistner on same textview in android | <p>I am using android:textIsSelectable="true" so that my text is eligible for copying text,On the same textview i am using onclicklistner,But that clicklistner wont work. As soon as i remove android:textIsSelectable="true" it will work fine.
What i have tried set onLongpress listner to that textview and enable this p... | I am using android:textIsSelectable="true" so that my text is eligible for copying text,On the same textview i am using onclicklistner,But that clicklistner wont work. As soon as i remove android:textIsSelectable="true" it will work fine. What i have tried set onLongpress listner to that textview and enable this proper... | android | 1 | 2015-02-25T05:39:44.530Z | 2,015 | 2 | 5 | 2 | 1,959 | 2 | 372 | 110 | 1 | 0 | false | false | false | false | false | false | low |
28,711,966 | How to solve "Connection failed" in Google+ login in android? | <p>Recently, I did a code on Google+ login. I need to allow Google+ login to a user from a page and pass the control to the next page using Intent.
Heres what I did</p>
<p><pre></p>
<code>if (view == imageViewgoogleplus) {
str_button_clicked = "googleplus";
dogoogleLogin();
}
private void dogoo... | Recently, I did a code on Google+ login. I need to allow Google+ login to a user from a page and pass the control to the next page using Intent. Heres what I did [CODE] When I run the code, it should get the credentials from the user's mobile and then it should do the login. I am continuously getting Connection failed ... | android|google-plus|google-plus-signin | 4 | 2015-02-25T05:40:08.407Z | 2,015 | 2 | 5 | 2 | 4,318 | 0 | 485 | 61 | 3 | 1 | true | true | true | false | false | false | low |
28,711,970 | How to remove a particular list item in list view android? | <p>In my application i am using custom adapter for list view. In that list view item
it have close image. Whenever i click the image that particular row need to be deleted. My problem is if i perform delete operation on first item but the delete operation performed on last item only. Please any one help me out.</p>
<p... | In my application i am using custom adapter for list view. In that list view item it have close image. Whenever i click the image that particular row need to be deleted. My problem is if i perform delete operation on first item but the delete operation performed on last item only. Please any one help me out. My code: [... | android|android-listview | 0 | 2015-02-25T05:40:27.430Z | 2,015 | 2 | 5 | 2 | 1,566 | 4 | 325 | 58 | 2 | 1 | true | false | false | false | false | false | zero |
28,712,025 | How to disable gradle 'offline mode' in android studio? | <p>I am new to android studio IDE development. Every time when I imported a sample project that developed in the android studio, I am getting this error..</p>
<blockquote>
<p>No cached version of <strong>com.android.tools.build:gradle:1.1.0</strong> available
for offline mode. Disable Gradle <strong>'offline mode'... | I am new to android studio IDE development. Every time when I imported a sample project that developed in the android studio, I am getting this error.. No cached version of com.android.tools.build:gradle:1.1.0 available for offline mode. Disable Gradle 'offline mode' and sync project. How can I solve this problem. | android|android-studio|ide|android-gradle-plugin | 148 | 2015-02-25T05:44:47.173Z | 2,015 | 2 | 5 | 2 | 292,282 | 5 | 315 | 55 | 4 | 0 | false | false | true | true | true | false | high |
28,712,041 | ListView appers like sliding from bottom when button clicked | <p>I am a novice in android.
First, there is an empty activity then as user click on button a list view appears but in a bit of animation format i.e sliding from bottom to enhance user experience....... slightest help will be appreciated, thank you</p> | I am a novice in android. First, there is an empty activity then as user click on button a list view appears but in a bit of animation format i.e sliding from bottom to enhance user experience....... slightest help will be appreciated, thank you | android | 0 | 2015-02-25T05:46:17.560Z | 2,015 | 2 | 5 | 2 | 654 | 2 | 245 | 60 | 1 | 0 | false | false | false | false | false | false | zero |
28,712,060 | How do i check if a known hidden SSID network is in range or not? | <p>Consider i have an configured router with known hidden SSID named "hiddenhotspot" and i just want to check if it is in range in my android application.</p>
<p>As i know the scanned results of WifiManager doesn't return hidden networks. So is there any way that i can ensure my desired wifi is in range or not?</p> | Consider i have an configured router with known hidden SSID named "hiddenhotspot" and i just want to check if it is in range in my android application. As i know the scanned results of WifiManager doesn't return hidden networks. So is there any way that i can ensure my desired wifi is in range or not? | android|android-wifi|wifimanager|ssid | 0 | 2015-02-25T05:47:50.550Z | 2,015 | 2 | 5 | 2 | 1,235 | 1 | 302 | 65 | 4 | 0 | false | false | false | false | false | false | zero |
28,712,070 | How to Update the Text on click of list view items in baseadapter | <p>I am new in android and i am stuck in this problems , i have a text that will count the likes , onclick of like will set the total likes in text view.what code i ahve to written to increment the holder.likestatus on click of like. please help me....i am serching for 3 days bt didnt get the exact answer.</p>
<p>Here... | I am new in android and i am stuck in this problems , i have a text that will count the likes , onclick of like will set the total likes in text view.what code i ahve to written to increment the holder.likestatus on click of like. please help me....i am serching for 3 days bt didnt get the exact answer. Here Is baseada... | android|listview|baseadapter | 1 | 2015-02-25T05:48:40.043Z | 2,015 | 2 | 5 | 2 | 1,703 | 2 | 331 | 65 | 3 | 1 | true | false | false | false | false | false | low |
28,712,073 | How to detect location in device's current location mode since API level < 19 (Kitkat) | <p>It is possible to get the device's current location mode since API level 19 (Kitkat):</p>
<pre><code>public int getLocationMode(Context context)
{
return Settings.Secure.getInt(activityUnderTest.getContentResolver(), Settings.Secure.LOCATION_MODE);
}
0 = LOCATION_MODE_OFF
1 = LOCATION_MODE_SENSORS_ONLY
2 = LOCATI... | It is possible to get the device's current location mode since API level 19 (Kitkat): [CODE] What i want to know: How to detect location in device's current location mode since API level < 19 (Kitkat). Is it possible ? If not what is the work around | android | 2 | 2015-02-25T05:48:50.877Z | 2,015 | 2 | 5 | 2 | 326 | 1 | 249 | 86 | 1 | 1 | true | false | false | false | false | false | low |
28,712,112 | Getting Fatal Error in Android Application | <p>I had made application which takes name, contact number and another fields as input and saves that data on server in mysql database. This works fine when there is no validation in android app for input fields(EditText), but it gets fatal error when there is validation. Below is my code with validation and logcat. Ag... | I had made application which takes name, contact number and another fields as input and saves that data on server in mysql database. This works fine when there is no validation in android app for input fields(EditText), but it gets fatal error when there is validation. Below is my code with validation and logcat. Again... | android|json|android-asynctask | 0 | 2015-02-25T05:51:44.407Z | 2,015 | 2 | 5 | 2 | 373 | 2 | 586 | 42 | 3 | 3 | true | false | false | false | false | false | zero |
28,712,146 | Android AsyncHttpClient: how to POST a custom Object(model)? | <p>I have a <code>User</code> model and I want to POST it via AsyncHttpClient. Documentation says I have to add each parameter manually:</p>
<pre><code>RequestParams params = new RequestParams();
params.put("username", user.name);
params.put("password", user.password);
...
</code></pre>
<p>Am I really required to ... | I have a User model and I want to POST it via AsyncHttpClient. Documentation says I have to add each parameter manually: [CODE] Am I really required to do that each time when I need to POST a model? What if my model has 100 fields? Is there a quick way to do it this way: [CODE] - yes I've seen that it is possible if us... | android|android-async-http | 1 | 2015-02-25T05:53:42.720Z | 2,015 | 2 | 5 | 2 | 777 | 1 | 465 | 60 | 2 | 2 | true | false | false | false | false | false | low |
28,712,162 | Make Read Only access for Mifare UltraLight using Android | <p>I can write my data on card successfully. I want that no one can write on my card, but that they can only read. Is this possible to achieve? Or is there any key where I can assign some password protection before writing data on my card?</p>
<p>To write data using:</p>
<pre><code>public void writeTag(Tag tag) {
... | I can write my data on card successfully. I want that no one can write on my card, but that they can only read. Is this possible to achieve? Or is there any key where I can assign some password protection before writing data on my card? To write data using: [CODE] Any help would be appreciated! | android|nfc|mifare|lockbits | 2 | 2015-02-25T05:54:56.677Z | 2,015 | 2 | 5 | 2 | 1,986 | 1 | 295 | 57 | 4 | 1 | true | false | false | false | false | false | low |
28,712,184 | Spinning Wheel Concept in Android | <p>In one my project i want to use a spinning wheel.
No. of sectors, color and text used to fill those sectors will come from API response.
I need to create a circle(Center aligned in the screen) dynamically and split it according to the number of sectors and fill text and color. Then Spin the circle for 2-3 seconds a... | In one my project i want to use a spinning wheel. No. of sectors, color and text used to fill those sectors will come from API response. I need to create a circle(Center aligned in the screen) dynamically and split it according to the number of sectors and fill text and color. Then Spin the circle for 2-3 seconds and s... | android|android-animation|android-canvas|android-menu | 1 | 2015-02-25T05:56:17.573Z | 2,015 | 2 | 5 | 2 | 1,054 | 0 | 732 | 33 | 4 | 0 | false | true | false | false | false | false | low |
28,712,231 | issue in alert dialog remain open in Positive button validation click in android | <p>i want to open my alert dialog in positive button click which i have 3 validaiotn condition i check on it below is my code</p>
<pre><code> LayoutInflater li = LayoutInflater.from(getActivity());
View promptsView = li.inflate(R.layout.dialog_reset, null);
AlertDialog.Builde... | i want to open my alert dialog in positive button click which i have 3 validaiotn condition i check on it below is my code [CODE] In above code i check 3 validation inside positive button so my validation work fine but my alert dialog getting close at a same time , i want to remain open when my validation condition fir... | android|android-alertdialog | 0 | 2015-02-25T05:59:54.250Z | 2,015 | 2 | 5 | 2 | 596 | 2 | 360 | 80 | 2 | 1 | true | false | false | false | false | false | zero |
28,712,256 | Couldn't read row 0, col 3 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it | <p>I am having difficulty inserting image in my sqlite database. There are no syntax errors in my code. After I run it, the app automatically force stops. The logcat shows:</p>
<p><code>Caused by: java.lang.IllegalStateException: Couldn't read row 0, col 3 from CursorWindow. Make sure the Cursor is initialized correc... | I am having difficulty inserting image in my sqlite database. There are no syntax errors in my code. After I run it, the app automatically force stops. The logcat shows: Caused by: java.lang.IllegalStateException: Couldn't read row 0, col 3 from CursorWindow. Make sure the Cursor is initialized correctly before accessi... | java|android|database|sqlite|cursor | 1 | 2015-02-25T06:02:15.727Z | 2,015 | 2 | 6 | 2 | 2,179 | 1 | 785 | 121 | 5 | 2 | true | false | false | false | false | false | low |
28,712,321 | Unable to debug the apk signed for release | <p>The question is a duplicate of <a href="https://stackoverflow.com/questions/9081877/how-to-debug-apk-signed-for-release">How to debug apk signed for release?</a> </p>
<p>But I can't comment on that post. I have referred the <a href="https://stackoverflow.com/a/9082383/1793718">accepted answer posted by Sam Dozor</a... | The question is a duplicate of How to debug apk signed for release? But I can't comment on that post. I have referred the accepted answer posted by Sam Dozor for that question and followed all the steps. I could click the green bug too, to allow debugging for my app's process in the device. But I am still not able to s... | android|eclipse|debugging|apk | 1 | 2015-02-25T06:08:10.617Z | 2,015 | 2 | 6 | 2 | 131 | 0 | 675 | 42 | 4 | 0 | false | true | false | false | false | false | low |
28,712,339 | JNI error occurs sometimes in between while app is running | <p>I'm getting below JNI error.</p>
<pre><code>E/dalvikvm(16831): JNI ERROR (app bug): attempt to use stale global reference 0x1d20043a
E/dalvikvm(16831): VM aborting
A/libc(16831): Fatal signal 6 (SIGABRT) at 0x000041bf (code=-6), thread 16831 (com.example.sample)
A/libc(16831): Send stop signal to pid:16831 in void ... | I'm getting below JNI error. [CODE] It occurs sometimes rarely and my app closes. Any suggestion about what this error is and what causes it? | android|java-native-interface | 0 | 2015-02-25T06:10:02.800Z | 2,015 | 2 | 6 | 2 | 233 | 1 | 141 | 58 | 2 | 1 | true | false | false | false | false | false | zero |
28,712,365 | Any way to resume download from last break point Android? | <p>I am making a download manager for my app. It works fine, but as soon as network fluctuates, I have to press retry button and it starts downloading from the beginning again. Any way to resume it from last break point?</p>
<p>Thanks,
Rahul</p> | I am making a download manager for my app. It works fine, but as soon as network fluctuates, I have to press retry button and it starts downloading from the beginning again. Any way to resume it from last break point? Thanks, Rahul | android|download|android-volley|android-download-manager | 0 | 2015-02-25T06:11:41.470Z | 2,015 | 2 | 6 | 2 | 497 | 2 | 231 | 57 | 4 | 0 | false | false | false | false | false | false | zero |
28,712,414 | Android tint image with 2 different color | <p>I am trying to tint the image left half with orange, right with maroon color. I wrote my code, but whenever I tried, it returned just solid orange and maroon color. So this is what I am trying to do.</p>
<p>I want to tint the left and right with orange and maroon with good amount so it will be like</p>
<p><img src... | I am trying to tint the image left half with orange, right with maroon color. I wrote my code, but whenever I tried, it returned just solid orange and maroon color. So this is what I am trying to do. I want to tint the left and right with orange and maroon with good amount so it will be like Like this, mine is not work... | android|colors|bitmap|tint | 2 | 2015-02-25T06:14:57.797Z | 2,015 | 2 | 6 | 2 | 1,036 | 1 | 489 | 41 | 4 | 2 | true | false | false | false | false | false | low |
28,712,429 | NDK support deprecated for Android Studio 1.1.0 | <p>Currently running Android Studio 1.1.0. Installed NDK and added the link to the build.gradle file. Building the project gives a trace with the following text. </p>
<pre><code>WARNING [Project: :app] Current NDK support is deprecated. Alternative will be provided in the future.
android-ndk-r10d\ndk-build.cmd'' fin... | Currently running Android Studio 1.1.0. Installed NDK and added the link to the build.gradle file. Building the project gives a trace with the following text. [CODE] Is NDK r10d unsupported by Android Studio? | android-studio|android-ndk | 6 | 2015-02-25T06:15:57.550Z | 2,015 | 2 | 6 | 2 | 5,875 | 3 | 208 | 47 | 2 | 1 | true | false | true | false | false | false | medium |
28,712,482 | Android SQLiteDatabase.query() GROUP BY / HAVING with more than one column not working | <p>In Android I am having a table which stores latitude and longitude values, along with a corresponding id that is associated with every row. when i am using the query </p>
<pre><code>SELECT latitude, longitude, COUNT(*) count
FROM tasks
GROUP BY latitude, longitude
HAVING count > 1
</code></pre>
<p>It is giving ... | In Android I am having a table which stores latitude and longitude values, along with a corresponding id that is associated with every row. when i am using the query [CODE] It is giving me group by latitude only and not longitude. how can I achieve this? I want to get the count of tasks with unique lat long values only... | android|sqlite|having | 0 | 2015-02-25T06:19:47.717Z | 2,015 | 2 | 6 | 2 | 4,445 | 2 | 524 | 86 | 3 | 2 | true | false | true | false | false | false | zero |
28,712,568 | Get Notification Message using accessibilityservice android | <p>In My android app I want to show history of notification, so I want to capture all notifications title and message.
I am using accessibilityservice and able to fetch title using parcelable data but not get original message text.</p>
<p>If you have any ideal please help me. </p> | In My android app I want to show history of notification, so I want to capture all notifications title and message. I am using accessibilityservice and able to fetch title using parcelable data but not get original message text. If you have any ideal please help me. | android|notifications|accessibilityservice | 1 | 2015-02-25T06:25:41.753Z | 2,015 | 2 | 6 | 2 | 1,062 | 1 | 266 | 59 | 3 | 0 | false | false | false | false | false | false | low |
28,712,666 | Popping Fragment from backstack on BACK key press | <p>I am adding a Fragment and transaction is committed to the back stack using the following code:</p>
<pre><code>getSupportFragmentManager().beginTransaction().add(id, fragment, "TAG").addToBackStack(null).commit();
</code></pre>
<p>Now when is press the BACK key. Activity is getting finished. But I just want to rem... | I am adding a Fragment and transaction is committed to the back stack using the following code: [CODE] Now when is press the BACK key. Activity is getting finished. But I just want to remove the fragment. Should I manually handle the BACK key press and do the task of popping backstack or is there any way I can make act... | android|android-fragments | 2 | 2015-02-25T06:32:54.500Z | 2,015 | 2 | 6 | 2 | 468 | 1 | 355 | 49 | 2 | 1 | true | false | false | false | false | false | low |
28,712,696 | Get value from Async task in Activity | <p>I have a class as shown below. It is in a .java file called NQRequestHandler.java and I want to call this from an Activity.java. But I'm having problems with the AsyncTask method. When I run it in the Activity.java file it returns a null
value when I try to log the value of <code>Globals.PUBLIC_KEY</code> from the ... | I have a class as shown below. It is in a .java file called NQRequestHandler.java and I want to call this from an Activity.java. But I'm having problems with the AsyncTask method. When I run it in the Activity.java file it returns a null value when I try to log the value of Globals.PUBLIC_KEY from the Activity. Log.v("... | java|android|android-asynctask | 1 | 2015-02-25T06:34:33.563Z | 2,015 | 2 | 6 | 2 | 589 | 3 | 744 | 37 | 3 | 2 | true | false | false | false | false | false | low |
28,712,733 | How can "/dev/binde" file be mmaped by service_manager and server in android framework? | <p>I'm now analyzing the android framwork internal and
I found the mmap() was called twice by each module in android framework as referring the same file "dev/binder".</p>
<p>1) Could someone explain how it works to mmap() twice refreing same file?</p>
<p>2) Could someone explain how memory map by mmap() is organize... | I'm now analyzing the android framwork internal and I found the mmap() was called twice by each module in android framework as referring the same file "dev/binder". 1) Could someone explain how it works to mmap() twice refreing same file? 2) Could someone explain how memory map by mmap() is organized in this case? ----... | android|linux | 0 | 2015-02-25T06:37:14.197Z | 2,015 | 2 | 6 | 2 | 244 | 0 | 869 | 87 | 2 | 0 | false | true | false | false | false | false | zero |
28,712,748 | Android how to capture touch points location on regular time interval | <p>How to capture touch points location on regular time interval only when touch even is triggered. That is time interval is trigged only after touch event is trigged and time interval terminated when touch event is terminates. </p>
<p>Right now I have written code to capture touch points by referring android develope... | How to capture touch points location on regular time interval only when touch even is triggered. That is time interval is trigged only after touch event is trigged and time interval terminated when touch event is terminates. Right now I have written code to capture touch points by referring android developer document. ... | android|input|timer|touch | 0 | 2015-02-25T06:38:02.187Z | 2,015 | 2 | 6 | 2 | 207 | 2 | 416 | 69 | 4 | 1 | true | false | false | false | false | false | zero |
28,712,773 | Takes time to set textview on OnSelectedItem of Spinner | <p>Getview method of adapter.</p>
<pre><code>@Override
public View getView(int position, View convertView, ViewGroup parent) {
LayoutInflater inflater = (LayoutInflater) context
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View rowView = inflater.inflate(R.layout.list_items, parent, false);
... | Getview method of adapter. [CODE] Log shows the correct value fetched from the database. Everything else is working fine. But the TextView is not changing its value. Only the last row of listview's TextView is changing its value for first time. But when we wait for some time(about 30 secs), the text view changes. Why t... | android|listview|textview|spinner|onitemselectedlistener | 0 | 2015-02-25T06:40:09.597Z | 2,015 | 2 | 6 | 2 | 165 | 1 | 343 | 55 | 5 | 1 | true | false | false | false | false | false | zero |
28,712,774 | ViewPager with fragment not showing | <p>This is surprisingly my first attempt at using fragments. I know I should have started using them ages ago but well, better late than never.</p>
<p>I followed this guide <a href="http://developer.android.com/training/animation/screen-slide.html" rel="nofollow noreferrer">http://developer.android.com/training/animat... | This is surprisingly my first attempt at using fragments. I know I should have started using them ages ago but well, better late than never. I followed this guide http://developer.android.com/training/animation/screen-slide.html It didn't work for me so I searched here on stack and studied this answer How to implement ... | android|android-fragments|android-viewpager | 0 | 2015-02-25T06:40:14.660Z | 2,015 | 2 | 6 | 2 | 726 | 1 | 836 | 35 | 3 | 5 | true | false | false | false | false | false | zero |
28,712,853 | Hide tabHost bar when keyboard shows in android | <p>I create an app with tabhost bar with fragment, the problem is when I open the keyboard I would like to hide the tabhost bar.</p>
<p><img src="https://i.stack.imgur.com/ymNpC.png" alt="enter image description here"></p>
<p>So far I have put the code in Main Activity</p>
<pre><code>@Override
public void onConfigu... | I create an app with tabhost bar with fragment, the problem is when I open the keyboard I would like to hide the tabhost bar. So far I have put the code in Main Activity [CODE] And in the mainfest.xml [CODE] However, when I first time enter the app and press on the input box it does not show the tabhost bar. But when I... | android|android-layout|android-edittext|android-manifest|android-input-method | 2 | 2015-02-25T06:46:08.670Z | 2,015 | 2 | 6 | 2 | 515 | 0 | 439 | 47 | 5 | 2 | true | true | false | false | false | false | low |
28,712,864 | I want to fetch image from mysql to android listview using php json...? | <pre><code>> This is my MainActivity.java That receives all json data from the php file and converts into string format and print it in listview using string array but i have problem with bitmap image array
</code></pre>
<p>I want to add multiple items in listview like textview and image i dont have problem with te... | [CODE] I want to add multiple items in listview like textview and image i dont have problem with textview it displays properly but with image it is not done [CODE] I am not getting the image in Listview I am little bit confuse about the image bitmap array please helps with that bitmap [CODE] | android | 0 | 2015-02-25T06:47:06.137Z | 2,015 | 2 | 6 | 2 | 1,068 | 1 | 292 | 71 | 1 | 3 | true | false | false | false | false | false | zero |
28,712,886 | Google driving direction on map with way points | <p>I want to display driving path on google map using api v2. I have a source, destination and some way point between those two points.
and for this I am using below code and it works fine, but problem is when i have less then 10 points then it works find but when i added more then 10 points then api returns error.</p... | I want to display driving path on google map using api v2. I have a source, destination and some way point between those two points. and for this I am using below code and it works fine, but problem is when i have less then 10 points then it works find but when i added more then 10 points then api returns error. below ... | android|google-maps|google-maps-android-api-2|google-directions-api | 4 | 2015-02-25T06:48:56.403Z | 2,015 | 2 | 6 | 2 | 2,042 | 1 | 436 | 47 | 4 | 2 | true | false | false | false | false | false | low |
28,712,946 | Android Device orientation notification | <p>I'm developing an android app. The application orientation is fixed to portrait mode.</p>
<p>One screen of the application contains a view, which i need to rotate according to device orientation. How can I do this?</p> | I'm developing an android app. The application orientation is fixed to portrait mode. One screen of the application contains a view, which i need to rotate according to device orientation. How can I do this? | android|rotation|orientation | 0 | 2015-02-25T06:53:48.680Z | 2,015 | 2 | 6 | 2 | 220 | 1 | 207 | 39 | 3 | 0 | false | false | false | false | false | false | zero |
28,712,955 | Caldroid Dialog and FragmentActivity | <p>I'm building an app in which I need a calendar so the user can pick a date.
I'm trying to embed the Caldroid library in my project and I want to show the calendar not in a new <code>Activity</code>, but in a <code>Dialog</code> instead.</p>
<p>My questions are:</p>
<ol>
<li>Since I'm using an <code>Activity</code... | I'm building an app in which I need a calendar so the user can pick a date. I'm trying to embed the Caldroid library in my project and I want to show the calendar not in a new Activity , but in a Dialog instead. My questions are: Since I'm using an Activity which already has some widgets, do I need to change it to Frag... | android|android-fragmentactivity|caldroid | 1 | 2015-02-25T06:54:06.920Z | 2,015 | 2 | 6 | 2 | 780 | 1 | 444 | 36 | 3 | 0 | false | false | false | false | false | false | low |
28,712,962 | How to recall function in activity from listview adapter | <p>Can somebody help me ? I have tabhost with 4 activities A,B,C,D. Then in activity A, it has custom listview with image. If its image clicked then can call function from Activity A ? How can I solve for this case ? Thanks in advance.</p>
<p>Here my source of listview adapter :</p>
<pre><code>holder.imgitem.setOnCli... | Can somebody help me ? I have tabhost with 4 activities A,B,C,D. Then in activity A, it has custom listview with image. If its image clicked then can call function from Activity A ? How can I solve for this case ? Thanks in advance. Here my source of listview adapter : [CODE] | android|listview|adapter | 0 | 2015-02-25T06:54:32.830Z | 2,015 | 2 | 6 | 2 | 270 | 1 | 276 | 56 | 3 | 1 | true | false | false | false | false | false | zero |
28,712,996 | Does programmatically setting layout sizes actually save on performance? | <p>So whenever I try to use layout_weights within each other to achieve the layouts I want, Android Studio helpfully tells me that <code>nested weights are bad for performance</code>. Various answers here on SO say that it's okay to nest them for a couple layers of deep, but don't overdo it. I'm not sure how deep is to... | So whenever I try to use layout_weights within each other to achieve the layouts I want, Android Studio helpfully tells me that nested weights are bad for performance . Various answers here on SO say that it's okay to nest them for a couple layers of deep, but don't overdo it. I'm not sure how deep is too deep, o what ... | android|performance|layout | 2 | 2015-02-25T06:56:48.427Z | 2,015 | 2 | 6 | 2 | 94 | 2 | 727 | 72 | 3 | 1 | true | false | false | false | false | false | low |
28,713,082 | Forbid to prepare APK with test data | <p>For my Android app I use Android Studio. My application made some request to my server. I have 2 servers: development (for tests) and production (for releases).</p>
<p>And in my code I have variable, which save server url like:</p>
<pre><code>private static final String SERVER_URL = "http://192.XXX.XXX.XXX:XXXXX";... | For my Android app I use Android Studio. My application made some request to my server. I have 2 servers: development (for tests) and production (for releases). And in my code I have variable, which save server url like: [CODE] And during tests - I just commented production variable, but for releases - I removed develo... | java|android|android-studio | 0 | 2015-02-25T07:03:25.253Z | 2,015 | 2 | 7 | 2 | 36 | 0 | 594 | 36 | 3 | 1 | true | true | false | false | false | false | zero |
28,713,136 | Cannot stop AudioTrack on Android 5 | <p>I cannot stop playback of an <code>AudioTrack</code> on a Nexus 4 running Android 5.0.1. Am I doing something wrong?</p>
<p>The code is very simple (it's actually just a test app) and it works perfectly on devices running 2.3.6 and 4.4. Here's the relevant portion:</p>
<pre><code>mPlugReceiver = new BroadcastRec... | I cannot stop playback of an AudioTrack on a Nexus 4 running Android 5.0.1. Am I doing something wrong? The code is very simple (it's actually just a test app) and it works perfectly on devices running 2.3.6 and 4.4. Here's the relevant portion: [CODE] On 5.0.1, it logs "stopping power tone" but the track continues to ... | android|android-5.0-lollipop|audiotrack | 1 | 2015-02-25T07:06:50.827Z | 2,015 | 2 | 7 | 2 | 567 | 1 | 587 | 35 | 3 | 1 | true | false | false | false | false | false | low |
28,713,176 | android progress bar not updating | <p>I can't update the progress bar.</p>
<p>I tried many solutions but it still didn't help so I think there's a problem i'm completely missing. I just added the entire code so you could better understand what I'm doing here. I'm fairly new so I'm focusing on making it work first and design later. </p>
<p>Here's my co... | I can't update the progress bar. I tried many solutions but it still didn't help so I think there's a problem i'm completely missing. I just added the entire code so you could better understand what I'm doing here. I'm fairly new so I'm focusing on making it work first and design later. Here's my code: [CODE] my activi... | android|progress | 0 | 2015-02-25T07:09:40.967Z | 2,015 | 2 | 7 | 2 | 2,889 | 3 | 378 | 33 | 2 | 2 | true | false | true | false | false | false | zero |
28,713,179 | Android : How to launch specific Activity of other apps from our app? | <p>If I want to launch other applications from my application then I can write the following code.</p>
<pre><code>Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.package.address");
startActivity(LaunchIntent);
</code></pre>
<p>But in my scenario, I don't want to open the launcher <code>Activi... | If I want to launch other applications from my application then I can write the following code. [CODE] But in my scenario, I don't want to open the launcher Activity of other application and I want to open other specific Activity . Could someone help me? | android | 0 | 2015-02-25T07:09:46.567Z | 2,015 | 2 | 7 | 2 | 1,835 | 2 | 254 | 69 | 1 | 1 | true | false | false | false | false | false | zero |
28,713,224 | Android build error, eclipse | <p>Any idea why I am getting this error message while building an Android project in Eclipse Kepler? Was able to build this till last evening. Suddenly it stops from this morning. Seems weird.</p>
<pre><code>The library 'native-libs.jar' contains native libraries that will not run on the device.
Additionally some of t... | Any idea why I am getting this error message while building an Android project in Eclipse Kepler? Was able to build this till last evening. Suddenly it stops from this morning. Seems weird. [CODE] Additional info: Android SDK 24.0.2 ADT Plugin 23.0.4.1468518 Project was build using Google API level 19 | android|eclipse | 0 | 2015-02-25T07:12:56.160Z | 2,015 | 2 | 7 | 2 | 134 | 0 | 302 | 28 | 2 | 1 | true | true | false | false | false | false | zero |
28,713,231 | Android: Add divider between items in RecyclerView | <p>I am using <code>RecyclerView</code> with rounded corner, to make it rounded corner I used below XML:</p>
<p><strong>view_rounded.xml:-</strong></p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
&l... | I am using RecyclerView with rounded corner, to make it rounded corner I used below XML: view_rounded.xml:- [CODE] fragment_main.xml:- [CODE] adapter_main.xml:- [CODE] style.xml:- [CODE] Getting (without item separator): Required (with item separator): | android|xml|android-recyclerview|android-styles | 18 | 2015-02-25T07:13:26.413Z | 2,015 | 2 | 7 | 2 | 44,935 | 17 | 252 | 50 | 4 | 4 | true | false | true | true | true | false | medium |
28,713,302 | Resume Fragments in Android | <p>I am currently working on sample android navigation drawer application. It contains 1 activity and four fragments (import android.app.Fragment). I do not know how to resume the previous fragments, for example now I am in Fragment A here I did some activities like selected checkbox some thing like this. then I have m... | I am currently working on sample android navigation drawer application. It contains 1 activity and four fragments (import android.app.Fragment). I do not know how to resume the previous fragments, for example now I am in Fragment A here I did some activities like selected checkbox some thing like this. then I have move... | android|android-activity|resume | -1 | 2015-02-25T07:18:41.810Z | 2,015 | 2 | 7 | 2 | 731 | 1 | 497 | 27 | 3 | 0 | false | false | false | false | false | true | negative |
28,713,339 | Adding objects from Jsoup to an ArrayList | <p>I'm trying to add a bunch of objects (from JSoup) to an array list. For some reason, the objects aren't being added.The JSoup queries are correct because I printed the results as they are added in the for loop. Any help would be appreciated.</p>
<pre><code>public List<MainGridItem> fruitItem = new ArrayList&l... | I'm trying to add a bunch of objects (from JSoup) to an array list. For some reason, the objects aren't being added.The JSoup queries are correct because I printed the results as they are added in the for loop. Any help would be appreciated. [CODE] | java|android|jsoup | 0 | 2015-02-25T07:20:38.447Z | 2,015 | 2 | 7 | 2 | 1,022 | 1 | 248 | 41 | 3 | 1 | true | false | false | false | false | false | zero |
28,713,362 | ActionBar icon not showing | <p>i have added the menu file:</p>
<pre><code><item
android:id="@+id/action_refresh"
android:orderInCategory="100"
android:showAsAction="always"
android:icon="@drawable/ic_action_refresh"
android:title="Refresh"/>
</code></pre>
<p>but the icon is not showing in the action... | i have added the menu file: [CODE] but the icon is not showing in the actionbar, dont understand why ? actionbar is enabled like this: [CODE] | android | 0 | 2015-02-25T07:21:56.460Z | 2,015 | 2 | 7 | 2 | 109 | 1 | 141 | 26 | 1 | 2 | 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.