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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37,200,492 | one button shows shadow and two don’t: I cannot tell why | <p>I am dealing with the strangest situation. I have three buttons in a layout file. One of them cast a shadow and two don’t. Even if I add <code>android:elevation="10dp”</code> to one of the buttons not casting a shadow, they still don’t. Here is the xml</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<... | I am dealing with the strangest situation. I have three buttons in a layout file. One of them cast a shadow and two don’t. Even if I add android:elevation="10dp” to one of the buttons not casting a shadow, they still don’t. Here is the xml [CODE] ban_yes and ban_np are the ones not showing a shadow. | android|android-layout|button|android-button | 3 | 2016-05-13T02:54:58.703Z | 2,016 | 5 | 2 | 4 | 64 | 1 | 300 | 56 | 4 | 1 | true | false | false | false | false | false | low |
37,200,586 | Android UsageStatsManager works in activity, but returns empty in bounded service | <p>I have an activity and bounded service. In activity.OnCreate(), I print the usagestats and it works fine. I tried too many things to get the usagestats in boundedservice, but I could not. Here are some scenarios, I tested</p>
<p>1)Activity.Oncreate: calls <strong>usageStatsManager.queryAndAggregateUsageStats( star... | I have an activity and bounded service. In activity.OnCreate(), I print the usagestats and it works fine. I tried too many things to get the usagestats in boundedservice, but I could not. Here are some scenarios, I tested 1)Activity.Oncreate: calls usageStatsManager.queryAndAggregateUsageStats( startTime, endTime); and... | android | 1 | 2016-05-13T03:05:48.370Z | 2,016 | 5 | 3 | 4 | 384 | 1 | 1,585 | 81 | 1 | 1 | true | false | false | false | false | false | low |
37,200,610 | Why I keep getting "Unfortunately, <App> has stopped" on my app? (java, android studio) | <p>I just wanted to make an app that calculates the percentage of a value, but I never succeeded. I kept trying different methods and different codes but none worked, but so far this is most legit looking one I've made. Anyway, when I compile the app and debug it, it has no error at all, but when I launched the app and... | I just wanted to make an app that calculates the percentage of a value, but I never succeeded. I kept trying different methods and different codes but none worked, but so far this is most legit looking one I've made. Anyway, when I compile the app and debug it, it has no error at all, but when I launched the app and tr... | java|android|android-studio|compiler-errors|android-studio-2.1 | -1 | 2016-05-13T03:08:41.553Z | 2,016 | 5 | 3 | 4 | 176 | 3 | 717 | 87 | 5 | 2 | true | false | false | false | false | true | negative |
37,200,636 | Async await not wait the process using Visual Studio and Xamarin | <p>i don't know why my async not waiting the process, here is my code :</p>
<pre><code>userKu = new UserData();
btnLogin = FindViewById<Button>(Resource.Id.buttonLogin);
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.Main);
if (isOnline() == t... | i don't know why my async not waiting the process, here is my code : [CODE] When I run it, I don't get the value on #TOAST 1 and #TOAST 2, but on #TOAST 3 I get the value "0" or "1". If I change protected override async void OnCreate(Bundle bundle) and I don't use function like this : [CODE] On #Toast 1 I don't get val... | c#|android|asynchronous|xamarin.android|visual-studio-2015 | 1 | 2016-05-13T03:13:29.540Z | 2,016 | 5 | 3 | 4 | 903 | 0 | 538 | 64 | 5 | 2 | true | true | false | false | false | false | low |
37,200,745 | espresso onData matches multiple views in the hierarchy | <p>I have an Activity with 2 ListView, I want to find first ListView's Child but I find first ListView's Child and second ListView, why? please help me.</p>
<p>code:</p>
<pre><code>DataInteraction dataInteraction =
onData(allOf(
withClassName(endsWith("LinearLayout")),
... | I have an Activity with 2 ListView, I want to find first ListView's Child but I find first ListView's Child and second ListView, why? please help me. code: [CODE] It find: [CODE] | android|android-espresso | 0 | 2016-05-13T03:26:14.953Z | 2,016 | 5 | 3 | 4 | 3,928 | 2 | 178 | 55 | 2 | 2 | true | false | true | false | false | false | zero |
37,200,757 | How to turn off music bgm(Background Music) from other java | <p>I am making an app where bgm start from main page. But I couldn't find a way to turn it off when starts learning.</p>
<p>Can I remotely switch off bgm from different java file</p>
<p>This is my 1st java,mainmenu.class</p>
<pre><code>public class mainmenu extends AppCompatActivity {
MediaPlayer bkgrdmsc;
@Overrid... | I am making an app where bgm start from main page. But I couldn't find a way to turn it off when starts learning. Can I remotely switch off bgm from different java file This is my 1st java,mainmenu.class [CODE] This is the other file I want to remotely off the bgm when starting the learning session(as student start to ... | java|android|android-studio|background-music | 1 | 2016-05-13T03:28:14.103Z | 2,016 | 5 | 3 | 4 | 1,099 | 1 | 422 | 59 | 4 | 2 | true | false | false | false | false | false | low |
37,200,832 | Default fragment on Activity Launch | <p>I'm trying to have a fragment loaded as the default view for the activity, but I just get a blank screen and huge memory leaks.</p>
<p>Activity file <code>onCreate</code> method:</p>
<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentVie... | I'm trying to have a fragment loaded as the default view for the activity, but I just get a blank screen and huge memory leaks. Activity file onCreate method: [CODE] The XML for the activity: [CODE] And the Fragment class (relevant parts): [CODE] I followed instructions from a tutorial someone suggested earlier from a ... | java|android | 2 | 2016-05-13T03:37:55.923Z | 2,016 | 5 | 3 | 4 | 4,833 | 4 | 396 | 35 | 2 | 3 | true | false | true | false | false | false | low |
37,200,855 | How to convert multiple String Array to ArrayList<FileItems> in Java | <p>I have <strong>mListResult</strong> have <strong>size = 10</strong>;<br>
I have a Contructor <strong>FileItems</strong><br>
This is class <strong><em>FileItems</em></strong><br>
public class FileItems { </p>
<pre><code>private String mTitle;
private String mFileId;
public FileItems(String mTitle, String mFile... | I have mListResult have size = 10 ; I have a Contructor FileItems This is class FileItems public class FileItems { [CODE] } this is Activity [CODE] I use Debug Tesst [CODE] This is result [CODE] I use code above. It return only a element. Please Help me!!! | java|android | -1 | 2016-05-13T03:42:13.227Z | 2,016 | 5 | 3 | 4 | 216 | 1 | 256 | 68 | 2 | 4 | true | false | false | false | false | true | negative |
37,200,859 | Sqlite: how do I fix pimary key autoincrement? | <p>I have a TOTALCOUNT table with a PK _id column named COUNTID and an integer column named CARDNUM. I do an insert on CARDNUM so the PK will autoincrement. But when I do LogCat output in Android Studio it shows _id = 1 for the first insert and then _id =1 for the second insert. I thought the second insert should sh... | I have a TOTALCOUNT table with a PK _id column named COUNTID and an integer column named CARDNUM. I do an insert on CARDNUM so the PK will autoincrement. But when I do LogCat output in Android Studio it shows _id = 1 for the first insert and then _id =1 for the second insert. I thought the second insert should show _id... | android|sqlite|android-cursor | 0 | 2016-05-13T03:42:41.603Z | 2,016 | 5 | 3 | 4 | 55 | 1 | 370 | 46 | 3 | 2 | true | false | false | false | false | false | zero |
37,200,874 | Android - Calling a method in a Fragment when the Activity container is launched from homescreen | <p>Basically I have a social media app which main content needs to be updated whenever user restarts the app from home, or from system tray. I would like to implement it only on home start for now.</p>
<p>Tried using this : </p>
<pre><code>if(RUN_ONCE){
bottomLobiFragment = new BottomLobiFragment();
... | Basically I have a social media app which main content needs to be updated whenever user restarts the app from home, or from system tray. I would like to implement it only on home start for now. Tried using this : [CODE] to check whether the activity is ran first time or not. RUN_ONCE is a static variable. But activeLo... | android|android-fragments | 0 | 2016-05-13T03:45:20.297Z | 2,016 | 5 | 3 | 4 | 30 | 0 | 651 | 96 | 2 | 2 | true | true | false | false | false | false | zero |
37,200,954 | get EditText value in service | <p>Currently I'm doing a task for my company, where I need to implement a password. This password is actually is a <code>Service</code>. Beforehand, I test my password, just use a simple android project (that project is <code>Activity</code>) and I can get done this, and then I use the same method to do in <code>Servic... | Currently I'm doing a task for my company, where I need to implement a password. This password is actually is a Service . Beforehand, I test my password, just use a simple android project (that project is Activity ) and I can get done this, and then I use the same method to do in Service but Service cannot get the Edit... | java|android|service|android-edittext | 0 | 2016-05-13T03:54:17.843Z | 2,016 | 5 | 3 | 4 | 168 | 0 | 687 | 29 | 4 | 1 | true | true | false | false | false | false | zero |
37,201,029 | Published App But not showing in any device Accepts Destop | <p>I have published my app on play store but it is not showing in any device rather than Desktop pc..</p>
<p>if i go to the direct link of my app into any device it shows the same thing (<strong>Your Device isn't compatible with this version</strong>). what could be the cause..?</p>
<p>may be the problem is of checki... | I have published my app on play store but it is not showing in any device rather than Desktop pc.. if i go to the direct link of my app into any device it shows the same thing ( Your Device isn't compatible with this version ). what could be the cause..? may be the problem is of checking the option( PRICING & DISTRIBUT... | android|android-studio|android-manifest | 1 | 2016-05-13T04:02:37.117Z | 2,016 | 5 | 4 | 4 | 71 | 2 | 634 | 58 | 3 | 2 | true | false | false | false | false | false | low |
37,201,090 | Android WebView display a blank page after I login | <p>I'm trying to load a web application in <code>WebView</code> but I've encounter some problem. </p>
<p>The web application that I was trying to load was a login page and I am going to login to it. </p>
<p>Here is where the problem start, I have no problem loading the 1st page but after I login and it should be s... | I'm trying to load a web application in WebView but I've encounter some problem. The web application that I was trying to load was a login page and I am going to login to it. Here is where the problem start, I have no problem loading the 1st page but after I login and it should be showing the page after I login but all... | android|webview | 0 | 2016-05-13T04:09:37.167Z | 2,016 | 5 | 4 | 4 | 2,194 | 3 | 662 | 50 | 2 | 1 | true | false | false | false | false | false | zero |
37,201,115 | Gradle is build with errors in android studio | <p>I am using android studio.This is the error suddenly I got when building gradle. Earlier it was working correctly. I close the android studio and re-build the gradle. But doesn't fix the error. I clean and rebuild the gradle.</p>
<p>Can you solve the problem. </p>
<pre><code>Error:org.gradle.api.internal.changede... | I am using android studio.This is the error suddenly I got when building gradle. Earlier it was working correctly. I close the android studio and re-build the gradle. But doesn't fix the error. I clean and rebuild the gradle. Can you solve the problem. [CODE] Possible causes for this unexpected error include: Gradle's ... | java|android | 0 | 2016-05-13T04:11:36.397Z | 2,016 | 5 | 4 | 4 | 1,444 | 1 | 1,154 | 45 | 2 | 1 | true | false | false | false | false | false | zero |
37,201,150 | How to create a CloseableReference with Fresco | <p>i want to create a CloseableReference when i implement a PlatformBitmapFactory
the method .of have two implements, if i use the first one</p>
<pre><code>private PlatformBitmapFactory bmpFactory = new PlatformBitmapFactory() {
@Override
public CloseableReference<Bitmap> createBitmap(int width, ... | i want to create a CloseableReference when i implement a PlatformBitmapFactory the method .of have two implements, if i use the first one [CODE] it would be a compile error: of(java.io.CloseableReference & android.graphics.Bitmap) in CloseableReference cannot be applied to (android.graphics.Bitmap) But if i use the sec... | android|fresco | 0 | 2016-05-13T04:15:56.780Z | 2,016 | 5 | 4 | 4 | 209 | 0 | 1,210 | 46 | 2 | 2 | true | true | false | false | false | false | zero |
37,201,279 | Questions regarding Camera2 class in Android Studio and API level to develop Flashlight App | <p>I'm just starting to study Android Studio.</p>
<p>Trying to practice by creating custom flashlight application, but am having hard time doing so. There were many related questions here on S.O that I thought would be a perfect to take it as example. But those questions were asked few years ago and Its not working fo... | I'm just starting to study Android Studio. Trying to practice by creating custom flashlight application, but am having hard time doing so. There were many related questions here on S.O that I thought would be a perfect to take it as example. But those questions were asked few years ago and Its not working for me. My pr... | android-studio|flashlight | 0 | 2016-05-13T04:28:37.950Z | 2,016 | 5 | 4 | 4 | 378 | 1 | 1,045 | 91 | 2 | 2 | true | false | false | false | false | false | zero |
37,201,303 | how to stream audio files in android | <p>I am trying to stream audio files in android but everytime I get this exception </p>
<p>java.io.IOException: Prepare failed.: status=0x1</p>
<p>for my songs url stored on the server. eg(<a href="http://Touchstoneesol.com/listen/ML1%20(Section%202).mp3" rel="nofollow">http://Touchstoneesol.com/listen/ML1 (Section 2... | I am trying to stream audio files in android but everytime I get this exception java.io.IOException: Prepare failed.: status=0x1 for my songs url stored on the server. eg( http://Touchstoneesol.com/listen/ML1 (Section 2).mp3 ); But same code stream this link properly ( http://android.programmerguru.com/wp-content/uploa... | android | 1 | 2016-05-13T04:30:59.493Z | 2,016 | 5 | 4 | 4 | 111 | 1 | 454 | 36 | 1 | 1 | true | false | false | false | false | false | low |
37,201,349 | Not going to onMessageRecieved when the app is closed | <p>I am using push notifications and they work fine when i am inside the app. But when app is in background . When notification arrives , i need it to go to onMessageRecieved because i am setting a condition like :</p>
<pre><code>public class MyGcmListenerService extends GcmListenerService {
private static final Stri... | I am using push notifications and they work fine when i am inside the app. But when app is in background . When notification arrives , i need it to go to onMessageRecieved because i am setting a condition like : [CODE] For question Push Notification when it comes to the mainactivity by checking intent data it shoud be ... | android|push-notification | 0 | 2016-05-13T04:35:58.263Z | 2,016 | 5 | 4 | 4 | 39 | 1 | 478 | 53 | 2 | 1 | true | false | false | false | false | false | zero |
37,201,358 | Position Floating Action Bar above bottom tabs | <p>I have a floating action button but I need to position it above the bottom tabs. I've tried increasing the bottom margin or changing the layout_anchor, but nothing seems to work. How can I move the floating action bar slightly above the bottom tabs so it doesn't cover it?</p>
<p>This my floating action bar xml:</... | I have a floating action button but I need to position it above the bottom tabs. I've tried increasing the bottom margin or changing the layout_anchor, but nothing seems to work. How can I move the floating action bar slightly above the bottom tabs so it doesn't cover it? This my floating action bar xml: [CODE] [CODE] | android|android-layout|floating-action-button | 2 | 2016-05-13T04:37:21.963Z | 2,016 | 5 | 4 | 4 | 1,605 | 2 | 319 | 46 | 3 | 2 | true | false | false | false | false | false | low |
37,201,718 | Why when trying to connect using android studio java web server to my server on the pc i'm getting error? | <p>On my pc I'm running a web server. Then in my android device using my code in android studio I'm trying to connect to the pc web server on the network WiFi.</p>
<p>My android device is connected already to the network with WiFi.
I know my pc's IP address. </p>
<p>This is in the top of the <code>MainActivity</code>... | On my pc I'm running a web server. Then in my android device using my code in android studio I'm trying to connect to the pc web server on the network WiFi. My android device is connected already to the network with WiFi. I know my pc's IP address. This is in the top of the MainActivity [CODE] In the onCreate [CODE] Th... | java|android|sockets|android-studio | -1 | 2016-05-13T05:12:41.670Z | 2,016 | 5 | 5 | 4 | 282 | 1 | 545 | 105 | 4 | 8 | true | false | false | false | false | true | negative |
37,201,930 | Videoview replay feature not working in API level 17 and below | <p>I want to implement replay feature in the <code>VideoVew</code>. I has implemented successfully in the <code>API</code> level 18+ but not working in the below <code>API</code> level.
When i click on the replay button <code>VideoVew</code> freeze, does not start again.</p>
<pre><code> holder.videoView.setOnCompletio... | I want to implement replay feature in the VideoVew . I has implemented successfully in the API level 18+ but not working in the below API level. When i click on the replay button VideoVew freeze, does not start again. [CODE] | android|android-videoview | 0 | 2016-05-13T05:34:46.887Z | 2,016 | 5 | 5 | 4 | 123 | 1 | 224 | 62 | 2 | 1 | true | false | false | false | false | false | zero |
37,201,931 | Remove additional bar under Actionbar | <p><a href="https://i.stack.imgur.com/rRYbU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rRYbU.png" alt="enter image description here"></a></p>
<p>I would like to know how to remove the extra bar below my Actionbar? (There is addtional bar below that is similar color as the one above the Actionba... | I would like to know how to remove the extra bar below my Actionbar? (There is addtional bar below that is similar color as the one above the Actionbar) The following code shows my styles.xml: [CODE] activity_navigation.xml [CODE] app_bar_navigation.xml [CODE] content_navigation.xml [CODE] | java|android|xml | 0 | 2016-05-13T05:34:52.820Z | 2,016 | 5 | 5 | 4 | 102 | 0 | 290 | 37 | 3 | 4 | true | true | false | false | false | false | zero |
37,201,946 | How to set Layout weight for Widgets in android? | <p>Hi I am very new for android and in my app I want to set Textviews like my below image and for this I wrote the code below, then all Textviews widths become equal.</p>
<p>But I want to set Textviews like my below image.</p>
<p>Please help me.</p>
<h2>code:-</h2>
<pre><code><?xml version="1.0" encoding="utf-8"... | Hi I am very new for android and in my app I want to set Textviews like my below image and for this I wrote the code below, then all Textviews widths become equal. But I want to set Textviews like my below image. Please help me. code:- [CODE] | android|android-layout | 0 | 2016-05-13T05:36:10.810Z | 2,016 | 5 | 5 | 4 | 571 | 2 | 242 | 48 | 2 | 1 | true | false | false | false | false | false | zero |
37,201,956 | It is not under singleton mode, U can't use it | <p>In my Reminder app, If I select time which just passed away, then app not working, getting following error:</p>
<p><strong>Log</strong></p>
<pre><code>D/ANRAppManager: !!! It is not under singleton mode, U can't use it. !!!
05-13 10:55:19.934 22594-22600/com.mri I/dalvikvm: threadid=3: reacting to signal 3
05-13 1... | In my Reminder app, If I select time which just passed away, then app not working, getting following error: Log [CODE] Here is the code which I am using in AlarmReceiver.java [CODE] How can I resolve this issue ? | android|calendar|alarm|reminders | 2 | 2016-05-13T05:37:04.260Z | 2,016 | 5 | 5 | 4 | 1,834 | 1 | 212 | 46 | 4 | 2 | true | false | false | false | false | false | low |
37,201,964 | How to handle link click events in a textView | <p>I am using Jsoup to parse the a website, formatting it with <code>Html.fromHtml()</code>and displaying the formatted text in a textview.</p>
<p>Also, I'm using <code>LinkMoveMentmethod.getInstance</code> to make the links in the textview clickable.</p>
<p>When the links are clicked they fired up a chooser to choos... | I am using Jsoup to parse the a website, formatting it with Html.fromHtml() and displaying the formatted text in a textview. Also, I'm using LinkMoveMentmethod.getInstance to make the links in the textview clickable. When the links are clicked they fired up a chooser to choose browsers. Please, how can I override this ... | android|textview|linkmovementmethod | 0 | 2016-05-13T05:37:33.560Z | 2,016 | 5 | 5 | 4 | 1,663 | 2 | 451 | 45 | 3 | 1 | true | false | false | false | false | false | zero |
37,201,969 | When I capture image from camera it lost the quality of image? What to do? | <p>My code for clicking on an image is:</p>
<pre><code> Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(intent, 300);
</code></pre>
<p>Code of Activity Result:</p>
<pre><code>if (requestCode == 300) {
Bitmap thumbnail = (Bitmap) data.getExtras().get("data");
ByteArrayOutputS... | My code for clicking on an image is: [CODE] Code of Activity Result: [CODE] Image of camera capture demo: Please help me solve this problem. When I click on the photo from the camera it decreases the size of the image. | android|camera|imageview | 2 | 2016-05-13T05:37:51.453Z | 2,016 | 5 | 5 | 4 | 953 | 4 | 218 | 74 | 3 | 2 | true | false | false | false | false | false | low |
37,202,044 | Image taken with ACTION_IMAGE_CAPTURE - first decodeStream call fails, others OK | <p>I'm using <code>ACTION_IMAGE_CAPTURE</code> with a predetermined target Uri pretty much as suggested in the documentation. However, when I try to decode the image immediately after my activity gets it, <code>decodeStream()</code> fails. If I try it again a few seconds later, it works fine. I suppose the file is bein... | I'm using ACTION_IMAGE_CAPTURE with a predetermined target Uri pretty much as suggested in the documentation. However, when I try to decode the image immediately after my activity gets it, decodeStream() fails. If I try it again a few seconds later, it works fine. I suppose the file is being written asynchronously in t... | android | 2 | 2016-05-13T05:44:08.670Z | 2,016 | 5 | 5 | 4 | 234 | 3 | 1,251 | 80 | 1 | 3 | true | false | false | false | false | false | low |
37,202,049 | System.TypeInitializationException: The type initializer for 'Gdip' threw an exception | <p>I want to create an application where I can capture an image with Black Background with an Object and pass the image path to the Algorithm to calculate the size of an object in the image.</p>
<p><strong>What we are doing:</strong> Capturing the image with Black Background with an Object.</p>
<p><strong>Algorithm:<... | I want to create an application where I can capture an image with Black Background with an Object and pass the image path to the Algorithm to calculate the size of an object in the image. What we are doing: Capturing the image with Black Background with an Object. Algorithm: Algorithm is written in C# Windows compatibi... | c#|algorithm|xamarin.android|system.drawing | 0 | 2016-05-13T05:44:43.120Z | 2,016 | 5 | 5 | 4 | 3,138 | 0 | 849 | 86 | 4 | 1 | true | true | true | false | false | false | zero |
37,202,062 | Chronometer restarts on change orientation | <p>I reset the chronometer value when you change the orientation, has written is true, but does not help, ask for help, what went wrong</p>
<pre><code>@Override
protected void onSaveInstanceState(Bundle outState) {
timer = SystemClock.elapsedRealtime() - chronometer.getBase();
outState.putLong("timerValue", timer);
su... | I reset the chronometer value when you change the orientation, has written is true, but does not help, ask for help, what went wrong [CODE] | java|android|orientation|chronometer | 1 | 2016-05-13T05:45:55.340Z | 2,016 | 5 | 5 | 4 | 385 | 1 | 139 | 42 | 4 | 1 | true | false | false | false | false | false | low |
37,202,306 | dlopen failed: could not load library "libfb.so" needed by "libreactnativejni.so"; caused by library "libfb.so" not found | <p>I just want to use the react-native to my project, however , after i have added it. It got the error at the running time! Would someone help me? pls </p>
<pre><code> at android.os.AsyncTask$3.done(AsyncTask.java:301)
at java.util.co... | I just want to use the react-native to my project, however , after i have added it. It got the error at the running time! Would someone help me? pls [CODE] | android|facebook|android-ndk|react-native|android-library | 0 | 2016-05-13T06:05:01.450Z | 2,016 | 5 | 6 | 4 | 1,497 | 1 | 155 | 121 | 5 | 1 | true | false | false | false | false | false | zero |
37,202,379 | NullPointerException with onClickListener for elements in Fragment | <p>I'm having a hell of a time getting fragments to work. The basis of this is to lave a login screen (fragment) appear by default when <code>LoginActivity</code> is created. The fragment has an TextView that when clicked, is supposed to launch a new fragment (form for lost password). I keep getting a NullPointerExcept... | I'm having a hell of a time getting fragments to work. The basis of this is to lave a login screen (fragment) appear by default when LoginActivity is created. The fragment has an TextView that when clicked, is supposed to launch a new fragment (form for lost password). I keep getting a NullPointerException when calling... | java|android | -1 | 2016-05-13T06:09:37.837Z | 2,016 | 5 | 6 | 4 | 877 | 5 | 719 | 66 | 2 | 7 | true | false | false | false | false | true | negative |
37,202,452 | How to get current JSON object key from JSON array and pass it to another activity in android? | <p>I want to get current JSON object key from JSON array and pass it to another activity while Linear Layout OnClick function in android. My JSON array name <strong>extra_info</strong> has three objects inside the <strong>main_header</strong> there is string name of second object, I have to get the second object key p... | I want to get current JSON object key from JSON array and pass it to another activity while Linear Layout OnClick function in android. My JSON array name extra_info has three objects inside the main_header there is string name of second object, I have to get the second object key pass to the another activity to get fie... | android|android-layout|android-fragments|android-studio|android-json | 0 | 2016-05-13T06:14:38.900Z | 2,016 | 5 | 6 | 4 | 551 | 1 | 564 | 94 | 5 | 2 | true | false | false | false | false | false | zero |
37,202,458 | Android cursor out of bounds exception | <p>Error is cursor index out of bounds exception, cursor is empty, receiving nothing.</p>
<p><strong>Here is logcat:</strong></p>
<pre><code>FATAL EXCEPTION: main: com.example.root.notebook, PID:
.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.database.AbstractCursor... | Error is cursor index out of bounds exception, cursor is empty, receiving nothing. Here is logcat: [CODE] NotebookDbAdapter.java [CODE] | java|android|sqlite | -2 | 2016-05-13T06:14:51.150Z | 2,016 | 5 | 6 | 4 | 1,579 | 2 | 135 | 38 | 3 | 2 | true | false | false | false | false | true | negative |
37,202,550 | Android sqllite database lock occured when trying to insert in database from service | <p>Hi I'm using broadcast receiver in service to get message and update it in db. I successfully receive messages but my problem is when ever it tries to insert in db when the activity is destroyed (but the update is happening when the app is running),it shows the following errors</p>
<pre><code>Caused by: java.lang.N... | Hi I'm using broadcast receiver in service to get message and update it in db. I successfully receive messages but my problem is when ever it tries to insert in db when the activity is destroyed (but the update is happening when the app is running),it shows the following errors [CODE] I show some of my codes Broadcastr... | android|sqlite|android-service|android-broadcastreceiver | 0 | 2016-05-13T06:20:40.423Z | 2,016 | 5 | 6 | 4 | 166 | 1 | 529 | 84 | 4 | 4 | true | false | false | false | false | false | zero |
37,202,660 | Appcelerator tableview click event getting wrong row in Android when using className | <p>I'm using Ti SDK 5.2.2, Studio 4.5.0 and I am using standard code (not Alloy).</p>
<p><strong>Background</strong>
I have an App with 5 tabs in a tabgroup. The first tab/window contains a table that is created by pushing multiple custom tableViewRows into an Array and then into the table. I then insert or append ad... | I'm using Ti SDK 5.2.2, Studio 4.5.0 and I am using standard code (not Alloy). Background I have an App with 5 tabs in a tabgroup. The first tab/window contains a table that is created by pushing multiple custom tableViewRows into an Array and then into the table. I then insert or append additional tableViewRows to the... | android|indexing|tableview|appcelerator|appcelerator-titanium | 0 | 2016-05-13T06:27:07.787Z | 2,016 | 5 | 6 | 4 | 495 | 1 | 2,312 | 84 | 5 | 0 | false | false | false | false | false | false | zero |
37,202,685 | Using parameter of method as a result holder as well | <p>I am still in learning phase of android, I am comfortable with C language and hence tend to follow the same patterns in android as well. I want to understand this specific behavior which i observed in android (I was not able to find anything on google as answer).</p>
<pre><code>Bitmap imageBitmap = BitmapFactory.de... | I am still in learning phase of android, I am comfortable with C language and hence tend to follow the same patterns in android as well. I want to understand this specific behavior which i observed in android (I was not able to find anything on google as answer). [CODE] Now my question is when we use c = c+a; , then th... | android | 1 | 2016-05-13T06:28:26.480Z | 2,016 | 5 | 6 | 4 | 20 | 1 | 584 | 52 | 1 | 2 | true | false | false | false | false | false | low |
37,202,720 | No adapter attached; skipping layout : RecyclerView | <p>MainActivity.class</p>
<pre><code>public class MainActivity extends AppCompatActivity {
private static final String TAG = "ERROR";
private final static String API_KEY = "xxxxxxxxxxxxxx";
int totalpage;
int page;
int firstVisibleItem, visibleItemCount, totalItemCount;
ProgressBar progres... | MainActivity.class [CODE] Error 05-13 02:25:15.145 23598-23598/com.example.dhaval.retrofitonly E/RecyclerView: No adapter attached; skipping layout 05-13 02:25:15.481 23598-23598/com.example.dhaval.retrofitonly E/RecyclerView: No adapter attached; skipping layout Thanks in advance!!! | android|android-recyclerview|retrofit | -1 | 2016-05-13T06:29:49.067Z | 2,016 | 5 | 6 | 4 | 1,306 | 1 | 284 | 51 | 3 | 1 | true | false | false | false | false | true | negative |
37,202,801 | Validation on EditText is not working Correctly | <p>I have a <strong>sign up</strong> activity and trying to validate the fields on <strong>SIGN UP BUTTON</strong> Click. I'm using <code>setError()</code> method to show error message Its working <strong>But</strong> there is a problem Its working on the specific field which has focused at that time. What I want is It... | I have a sign up activity and trying to validate the fields on SIGN UP BUTTON Click. I'm using setError() method to show error message Its working But there is a problem Its working on the specific field which has focused at that time. What I want is It should check all the fields and validate message should appear at ... | java|android|validation | 1 | 2016-05-13T06:34:01.050Z | 2,016 | 5 | 6 | 4 | 90 | 2 | 832 | 47 | 3 | 2 | true | false | false | false | false | false | low |
37,202,838 | I'm try to do implement searchview in recycleview.....but its not working | <p>I am trying to implement <code>searchview</code> in <code>recycleview</code> but that is not working.<br>
No type of error shows, I can't figure out where my mistake is.</p>
<p>This is the <code>search activity</code> which contain <code>recycleview</code> and adapter class. I just create demo to search item in <co... | I am trying to implement searchview in recycleview but that is not working. No type of error shows, I can't figure out where my mistake is. This is the search activity which contain recycleview and adapter class. I just create demo to search item in recycleview : SearchActivity.java [CODE] This is the menu.xml file whi... | android|android-recyclerview|searchview | 0 | 2016-05-13T06:35:51.737Z | 2,016 | 5 | 6 | 4 | 156 | 1 | 364 | 73 | 3 | 2 | true | false | false | false | false | false | zero |
37,202,950 | How to set RelativeLayout parent right side | <p>Hi I am very new for android and here I have created two <code>RelativeLayout</code> on <code>LinearLayout</code> </p>
<p>My requirement is I want to set second Relative Layout at parent right side</p>
<p>According to my code screen seems to be like my below image</p>
<p>So how can I set second <code>RelativeLayo... | Hi I am very new for android and here I have created two RelativeLayout on LinearLayout My requirement is I want to set second Relative Layout at parent right side According to my code screen seems to be like my below image So how can I set second RelativeLayout at parent right side code: [CODE] | android|android-layout | 0 | 2016-05-13T06:43:30.983Z | 2,016 | 5 | 6 | 4 | 1,434 | 7 | 296 | 43 | 2 | 1 | true | false | false | false | false | false | zero |
37,203,067 | How To Change NavigationView Menu Programmatically | <p>I have a <code>navigationView</code> with a <code>headerLayout</code> and also <code>menu</code> attach to it. I didn't used any library for this one.
I'm trying to achieved the same effect with google <code>navigationView</code> but the difference is that, not changing account but to view extra's/hidden command (f... | I have a navigationView with a headerLayout and also menu attach to it. I didn't used any library for this one. I'm trying to achieved the same effect with google navigationView but the difference is that, not changing account but to view extra's/hidden command (for the admin side if the user is admin). How do I add/in... | android|android-navigationview | 0 | 2016-05-13T06:50:29.867Z | 2,016 | 5 | 6 | 4 | 1,187 | 1 | 634 | 50 | 2 | 2 | true | false | false | false | false | false | zero |
37,203,098 | How to make card size according to material design in android? | <p>I have a <code>listview</code> in activity containing <code>card view</code> with one <code>image</code>, and <code>text</code>.</p>
<p>I want to make dimension of card view according to material design. How can I do that? Could somebody help and kindly point out what I need to change in my code according to materi... | I have a listview in activity containing card view with one image , and text . I want to make dimension of card view according to material design. How can I do that? Could somebody help and kindly point out what I need to change in my code according to material design? Here is my code so far: [CODE] And here is my Imag... | android | 0 | 2016-05-13T06:52:22.837Z | 2,016 | 5 | 6 | 4 | 430 | 1 | 353 | 62 | 1 | 1 | true | false | false | false | false | false | zero |
37,203,136 | checkbox menu item doesn't work | <p>I have this in my menu_check.xml But when I click on the check nothing happens so the Toast never show... what's the problem? Thanks a lot</p>
<pre><code> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/r... | I have this in my menu_check.xml But when I click on the check nothing happens so the Toast never show... what's the problem? Thanks a lot [CODE] and this in my java class [CODE] | java|android|android-checkbox | 1 | 2016-05-13T06:54:19.547Z | 2,016 | 5 | 6 | 4 | 849 | 2 | 178 | 31 | 3 | 2 | true | false | false | false | false | false | low |
37,203,139 | JSON Arraylist HashMap Extraction Android | <p>Please bear with me with this.Follow through the whole code.I will be putting everything just to be clear:
<a href="https://i.stack.imgur.com/n7AkC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n7AkC.jpg" alt="enter image description here"></a></p>
<p>And this is my json : you can format here <... | Please bear with me with this.Follow through the whole code.I will be putting everything just to be clear: And this is my json : you can format here https://jsonformatter.curiousconcept.com/ [CODE] Now Here ,you can see inside that json we have 3 objects right now,which in future will be dynamic,means could be many num... | java|android|json|android-studio | 0 | 2016-05-13T06:54:35.590Z | 2,016 | 5 | 6 | 4 | 137 | 3 | 987 | 41 | 4 | 4 | true | false | false | false | false | false | zero |
37,203,154 | FaceBook ShareLinkContent setImageUrl image is overriden by setContentUrl meta-data image | <p>I am trying to Post the below infromation to FaceBook from Myapp using FaceBook ShareLinkContent class </p>
<pre><code> - link url (using SetContentUrl method)
- image (using setImageurl method)
- hashtags (using setHashTag method)
- and Description
</code></pre>
<p>as like</p>
<pre><code> ShareHashtag sha... | I am trying to Post the below infromation to FaceBook from Myapp using FaceBook ShareLinkContent class [CODE] as like [CODE] The question is, instead of posting the image from "selectedImagePath" url, it post the meta-data image coming from the "linkUrlPath" url. How to overcome it, so that i can post the image which i... | java|android|facebook | -3 | 2016-05-13T06:55:25.780Z | 2,016 | 5 | 6 | 4 | 350 | 1 | 425 | 89 | 3 | 2 | true | false | false | false | false | true | negative |
37,203,178 | Integrate Augmented Reality app with database | <p>I'm quite new to <code>AR</code> and <code>Unity3D</code>, but I've learnt how to create simple <code>AR</code> app using <code>Vuforia SDK</code> for <code>Unity</code>. Till now I can work with 3D object, image target and export into <code>Android</code> project. </p>
<p>Now, my question is: How can I use databas... | I'm quite new to AR and Unity3D , but I've learnt how to create simple AR app using Vuforia SDK for Unity . Till now I can work with 3D object, image target and export into Android project. Now, my question is: How can I use database ( MySql , Sqlite , etc.) with the AR? For example, I'd like to show some information r... | android|augmented-reality|unity3d|vuforia | 1 | 2016-05-13T06:56:25.213Z | 2,016 | 5 | 6 | 4 | 4,061 | 1 | 869 | 45 | 4 | 0 | false | false | true | false | false | false | low |
37,203,200 | NestedScrollView scroll lags until CollapsingToolbarLayout view does not collapse | <p>Hi I am experincing a kind of lag when NestedScrollView is scrolled and this scroll lag is observed until view does collapse once view is collapsed scroll is working fine.</p>
<p>Is there any solution not this.</p>
<p>Following is xml code</p>
<pre><code><android.support.design.widget.CoordinatorLayout xmlns:a... | Hi I am experincing a kind of lag when NestedScrollView is scrolled and this scroll lag is observed until view does collapse once view is collapsed scroll is working fine. Is there any solution not this. Following is xml code [CODE] | android|material-design|android-support-library|androiddesignsupport|nestedscrollview | 2 | 2016-05-13T06:57:21.033Z | 2,016 | 5 | 6 | 4 | 1,919 | 1 | 232 | 81 | 5 | 1 | true | false | false | false | false | false | low |
37,203,252 | Images not loading on Android 5 | <p>I'm dealing with an annoying problem: I'm writing a web site and noticed that with Chrome for Android 5 HTML tags
Sometimes you do not see, the browser gives loading error.
I added to the name of the string:
? Timestamp = 987459684798
so here's an example:
but it did not work.</p>
<p>The same proble... | I'm dealing with an annoying problem: I'm writing a web site and noticed that with Chrome for Android 5 HTML tags Sometimes you do not see, the browser gives loading error. I added to the name of the string: ? Timestamp = 987459684798 so here's an example: but it did not work. The same problem I encountered on a iphone... | javascript|android|html|image|google-chrome | 0 | 2016-05-13T06:59:56.183Z | 2,016 | 5 | 6 | 4 | 64 | 1 | 740 | 31 | 5 | 1 | true | false | false | false | false | false | zero |
37,203,309 | Gradle Error : duplicate entry: com/android/volley/AuthFailureError.class | <p>I imported EBS Sdk in my project.Now gradle building is success but while running </p>
<pre><code> Error:Execution failed for task':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/android/volley/AuthFailureError.... | I imported EBS Sdk in my project.Now gradle building is success but while running [CODE] this exception occurs. The following is the build.gradle of both app and the module i have searched and tried all the possiblities but i am not getting the result app/Build.gradle [CODE] ebs/build.gradle [CODE] | android|android-studio|android-gradle-plugin|build.gradle | 2 | 2016-05-13T07:02:58.920Z | 2,016 | 5 | 7 | 4 | 2,992 | 2 | 299 | 73 | 4 | 3 | true | false | true | false | false | false | low |
37,203,335 | Android Button With Background Color And Ripple Effect | <p>I have an android button, where I want to give it a background color and both ripple effect</p>
<p>my ripple xml is as below.</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
andr... | I have an android button, where I want to give it a background color and both ripple effect my ripple xml is as below. [CODE] and my button is [CODE] To give the ripple effect I have to remove background color...Is there a way I can keep both. | android|background|ripple | 7 | 2016-05-13T07:04:13.610Z | 2,016 | 5 | 7 | 4 | 11,488 | 4 | 243 | 54 | 3 | 2 | true | false | true | false | false | false | medium |
37,203,352 | Popup menu like Facebook For editing/ deleting/spam post | <p><a href="http://i.stack.imgur.com/CkUEI.png" rel="nofollow">listview item</a></p>
<p>Popup-menu :</p>
<pre><code><menu
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.... | listview item Popup-menu : [CODE] I have a listview, i have option like edit post and all that I want popup-menu on particular position, i am getting pop-up menu but not at correct position I have set pop-up menu in listview adapter code: [CODE] How menu appears on click | android|listview|drop-down-menu|popup | 1 | 2016-05-13T07:04:56.257Z | 2,016 | 5 | 7 | 4 | 430 | 2 | 271 | 56 | 4 | 2 | true | false | false | false | false | false | low |
37,203,356 | Having trouble creating a Firebase Query requesting only objects with a field of a certain value (in Android) | <p>I have Firebase data that looks like this.</p>
<p><img src="https://i.imgur.com/rMNJQgv.png" alt="Picture"></p>
<p>I want to create a Query object in java that retrieves only Invites (those are the objects with randomly generated key's KHcYy...) which have a name = "John Smith".</p>
<p>Here is the code for my cur... | I have Firebase data that looks like this. I want to create a Query object in java that retrieves only Invites (those are the objects with randomly generated key's KHcYy...) which have a name = "John Smith". Here is the code for my current attempt, which is only giving me an empty query: [CODE] I tried taking a look th... | android|firebase | 0 | 2016-05-13T07:05:05.277Z | 2,016 | 5 | 7 | 4 | 48 | 1 | 598 | 109 | 2 | 1 | true | false | false | false | false | false | zero |
37,203,440 | How can i remove Toggle side menu button from splash screen in android | <p>I have to remove "THDC" & "icon" from splash screen and main screen from action bar. Please see image of side menu & Splash screen. i am attaching code below.
How can i remove Toggle side menu button from splash screen.
please help me to remove.</p>
<p><a href="https://i.stack.imgur.com/Sh5cB.png" rel="nof... | I have to remove "THDC" & "icon" from splash screen and main screen from action bar. Please see image of side menu & Splash screen. i am attaching code below. How can i remove Toggle side menu button from splash screen. please help me to remove. Main Screen image Splashscreen image MainActivity.java [CODE] splashscreen... | android | 1 | 2016-05-13T07:09:45.937Z | 2,016 | 5 | 7 | 4 | 731 | 3 | 425 | 70 | 1 | 4 | true | false | false | false | false | false | low |
37,203,462 | espresso onData matches multiple views in the hierarchy? | <p>I'm testing an app using espresso. This app has 2 ListViews, espresso <strong>onData</strong> function finds the two ListViews but they have different ids.</p>
<p>code:</p>
<pre><code>onData(withId(R.id.order_jijia_listview)).perform(ViewActions.click());
</code></pre>
<p>result:</p>
<pre><code>ListView{id=21314... | I'm testing an app using espresso. This app has 2 ListViews, espresso onData function finds the two ListViews but they have different ids. code: [CODE] result: [CODE] | android|android-espresso | 0 | 2016-05-13T07:10:32.797Z | 2,016 | 5 | 7 | 4 | 2,297 | 1 | 166 | 56 | 2 | 2 | true | false | false | false | false | false | zero |
37,203,531 | Compare and merge two different generic List | <p>I have in my code <code>two generic list</code>, One containing some <code>plans</code> and other containing <code>promocode details</code>, the size of these lists <code>can be different</code>, the only common elements available in both list can be two, lets say <code>id</code> and <code>name</code>. </p>
<p>So m... | I have in my code two generic list , One containing some plans and other containing promocode details , the size of these lists can be different , the only common elements available in both list can be two, lets say id and name . So my question is, how can i compare these two lists and only retain plans containing same... | android|list|sorting|generics|arraylist | 0 | 2016-05-13T07:13:58.517Z | 2,016 | 5 | 7 | 4 | 85 | 0 | 813 | 44 | 5 | 2 | true | true | false | false | false | false | zero |
37,203,601 | react native Callback | <p>I am trying to pass callback func to my android native view but i get error. Can I pass callback to view as props or it is only available as invoking react method?</p>
<p>Here is my code:</p>
<p>Package.java</p>
<pre><code>public class RMTGesturePackage implements ReactPackage {
@Override
public List<NativeMo... | I am trying to pass callback func to my android native view but i get error. Can I pass callback to view as props or it is only available as invoking react method? Here is my code: Package.java [CODE] RMTGestureManager.java [CODE] NativeGesture.js [CODE] react-native run-android pass without error but on emulator i am ... | android|reactjs|react-native|native | 3 | 2016-05-13T07:17:49.190Z | 2,016 | 5 | 7 | 4 | 2,389 | 1 | 442 | 21 | 4 | 3 | true | false | false | false | false | false | low |
37,203,611 | can't access method of public class from inside fragment | <p>I'm having a really strange (to me) problem. I'm somewhat of a beginner.</p>
<p>Basically, I'm following the <a href="https://www.youtube.com/watch?v=D2mMwWiZBmE" rel="nofollow">tutorial</a>:</p>
<p>But I want to create an actual class, Player, instead of using an Array of Strings like the author of this video do... | I'm having a really strange (to me) problem. I'm somewhat of a beginner. Basically, I'm following the tutorial : But I want to create an actual class, Player, instead of using an Array of Strings like the author of this video does. But while doing that, I came across this strange problem... When I simply create an inst... | android|android-fragments|methods | 1 | 2016-05-13T07:18:25.913Z | 2,016 | 5 | 7 | 4 | 1,306 | 2 | 939 | 56 | 3 | 2 | true | false | false | false | false | false | low |
37,203,717 | Cannot Sort ListView item based on date which comes from SQLite and cursor adapter | <p>I populate my listview with cursor adapter from SQLite. Date is inserted with CalendarView and it has the format as SQLite said yyyy-mm-dd based on the following:</p>
<pre><code>cdr.setOnDateChangeListener(new CalendarView.OnDateChangeListener() {
@Override
public void onSelectedDayChange(CalendarView view, ... | I populate my listview with cursor adapter from SQLite. Date is inserted with CalendarView and it has the format as SQLite said yyyy-mm-dd based on the following: [CODE] Inside the Cursor Adapter I use the following to make the Date like dd-mm-yyyy: [CODE] I query the database with the following: [CODE] the results I g... | android|sqlite|date|listview|android-cursoradapter | 0 | 2016-05-13T07:23:04.397Z | 2,016 | 5 | 7 | 4 | 101 | 1 | 435 | 82 | 5 | 4 | true | false | false | false | false | false | zero |
37,203,726 | Android - Google Geofence API - Get all the registered geofences | <p>I want to retrieve a list of all the geofences currently active in the system.</p>
<p>I have a list view in which there is a slider button to switch on and off each Geofence</p>
<p>My problem is if the geofence is not triggered and the duration of expiration has passed, then i have no way to update my GUI. Is ther... | I want to retrieve a list of all the geofences currently active in the system. I have a list view in which there is a slider button to switch on and off each Geofence My problem is if the geofence is not triggered and the duration of expiration has passed, then i have no way to update my GUI. Is there any way i can get... | android|android-sqlite|android-geofence | 6 | 2016-05-13T07:23:35.760Z | 2,016 | 5 | 7 | 4 | 1,225 | 0 | 1,023 | 64 | 3 | 0 | false | true | false | false | false | false | medium |
37,203,730 | How to send JSON array containg jsonobjects to php server | <p>Hello everyone I m sorry if this has been asked earlier , i have been searching for this solution since past 3 days.I am new in android and php.
I want to know how can i send "jsonArray"(shown below) to my php server and then extract jsonobject values recieved in php.
I have tried jsonarrayrequest and hashmap but wa... | Hello everyone I m sorry if this has been asked earlier , i have been searching for this solution since past 3 days.I am new in android and php. I want to know how can i send "jsonArray"(shown below) to my php server and then extract jsonobject values recieved in php. I have tried jsonarrayrequest and hashmap but was n... | java|php|android|json|request-queueing | 2 | 2016-05-13T07:23:42.343Z | 2,016 | 5 | 7 | 4 | 814 | 2 | 356 | 57 | 5 | 1 | true | false | false | false | false | false | low |
37,203,797 | Compiler Error : com.sun.tools.javac.code.Symbol$CompletionFailure: class file for rx.Observable not found | <p>I was just making a basic realm file using the latest REALM version but the compiler throws this error:</p>
<pre><code>An exception has occurred in the compiler (1.8.0). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include ... | I was just making a basic realm file using the latest REALM version but the compiler throws this error: [CODE] The app I made is still relatively small and it works on Realm ver 0.82.0 I still don't know what has caused this problem. I wanted to use the latest version but this error is blocking it. Do you have any idea... | java|android|realm | 10 | 2016-05-13T07:27:13.217Z | 2,016 | 5 | 7 | 4 | 15,829 | 3 | 551 | 106 | 3 | 7 | true | false | true | true | true | false | medium |
37,203,846 | Adding static button at the end of the row view for a dynamically generated list | <p>We are creating a list view by fetching the values from shared preferences. The work flow will be like this.</p>
<ol>
<li>Customer login into the app and will click on Favorites Tab. For the First time a modal view will appear with toggle switches.</li>
<li>The Customer can select the toggle switches to add their f... | We are creating a list view by fetching the values from shared preferences. The work flow will be like this. Customer login into the app and will click on Favorites Tab. For the First time a modal view will appear with toggle switches. The Customer can select the toggle switches to add their favorite options and save i... | android|listview | 0 | 2016-05-13T07:29:46.203Z | 2,016 | 5 | 7 | 4 | 96 | 1 | 792 | 80 | 2 | 3 | true | false | false | false | false | false | zero |
37,203,980 | How can get List of Object from resource file | <p>I have build, this on String.xml in my Android Application:</p>
<pre><code> <string-array name="alerts_value_set">
<AlertValueSet>
<valueSetOid>2.16.840.1.113883.1.11.20.4</valueSetOid>
<code>106190000</code>
<codeS... | I have build, this on String.xml in my Android Application: [CODE] Now, there is a way to get this List programmatically by code? I have also create this class (whit getter and setter): [CODE] | android | 0 | 2016-05-13T07:35:42.183Z | 2,016 | 5 | 7 | 4 | 45 | 1 | 192 | 45 | 1 | 2 | true | false | false | false | false | false | zero |
37,204,021 | Android OpenGL ES 3.0: called unimplemented opengl es api | <p>Hi I am running an application on Nexus 7, Android version 5.0. It gives me error <b> called unimplemented opengl es api </b>. I am trying to use opengl es 3.0. I have added following to my manifest file</p>
<pre><code><uses-feature android:glEsVersion="0x00030000"/>
<uses-sdk android:minSdkVersion="21"/&g... | Hi I am running an application on Nexus 7, Android version 5.0. It gives me error called unimplemented opengl es api . I am trying to use opengl es 3.0. I have added following to my manifest file [CODE] Then in my make file I have [CODE] I debugged the code and found error is coming in GLSurfaceView class in guardedrun... | android|opengl-es | 0 | 2016-05-13T07:37:48.640Z | 2,016 | 5 | 7 | 4 | 218 | 0 | 693 | 57 | 2 | 3 | true | true | false | false | false | false | zero |
37,204,241 | how can I Maintaining States of Selected CheckBoxes when I click on other tabs? | <p>I have a problem:if I check a checkbox and after I click on another tab and after I came back to previous tab, the checkbox,which was checked before,is unchecked... Maybe I wrong to use shared preferences...ANY IDEA?</p>
<p>THANKS IN ADVANCE! I HOPE IN YOU!</p>
<p>PS:SAME THIS:<a href="http://www.codeproject.com/A... | I have a problem:if I check a checkbox and after I click on another tab and after I came back to previous tab, the checkbox,which was checked before,is unchecked... Maybe I wrong to use shared preferences...ANY IDEA? THANKS IN ADVANCE! I HOPE IN YOU! PS:SAME THIS: http://www.codeproject.com/Articles/31849/Maintaining-S... | android|android-fragments|android-studio|checkbox|sharedpreferences | 1 | 2016-05-13T07:49:35.143Z | 2,016 | 5 | 7 | 4 | 479 | 1 | 413 | 79 | 5 | 3 | true | false | false | false | false | false | low |
37,204,259 | 'Plugin unable to bind to background service' - Red-folder phonegap plugin | <p>I've been trying to create a background service for my cordova app using <a href="https://github.com/Red-Folder/bgs-core/wiki/Build-your-own-Background-Service" rel="nofollow noreferrer">this</a> tutorial. I've been getting an error which says: <code>Plugin unable to bind to background service.</code> I've been rese... | I've been trying to create a background service for my cordova app using this tutorial. I've been getting an error which says: Plugin unable to bind to background service. I've been researching this error and multiple fixes are offered on github here . However these fixes don't fix my problem. I've posted a comment in ... | java|android|cordova|phonegap-plugins|cordova-plugins | 2 | 2016-05-13T07:50:32.903Z | 2,016 | 5 | 7 | 4 | 681 | 1 | 868 | 74 | 5 | 1 | true | false | false | false | false | false | low |
37,204,267 | how to set text to text view based on the selection of item in dialogfragment and value of text in main activity, is it possible? | <p>Here I am trying to set text to a textview in my activity.
The text is set to the text view based on the text of the text view in my activity and the selected item in the custom dialog fragment.</p>
<p>The dialog fragment consists of recycler view and a button.when item is selected from the fragment and text of tex... | Here I am trying to set text to a textview in my activity. The text is set to the text view based on the text of the text view in my activity and the selected item in the custom dialog fragment. The dialog fragment consists of recycler view and a button.when item is selected from the fragment and text of textview of my... | java|android|android-fragments|textview|android-dialogfragment | 0 | 2016-05-13T07:50:51.810Z | 2,016 | 5 | 7 | 4 | 260 | 0 | 936 | 129 | 5 | 3 | true | true | false | false | false | false | zero |
37,204,273 | Centering an element on the current Viewport in a Scrollview | <p>I want to display a dot, which is always in the physical center of my device, even when I scroll the content around it, which is in a scrollview. This is my current code, but the dot is missing here, because I don't know where to place it. The scrollposition is only set via code, so it wouldn't be a problem, if the ... | I want to display a dot, which is always in the physical center of my device, even when I scroll the content around it, which is in a scrollview. This is my current code, but the dot is missing here, because I don't know where to place it. The scrollposition is only set via code, so it wouldn't be a problem, if the cen... | android|xml|android-layout|scrollview | 0 | 2016-05-13T07:51:08.887Z | 2,016 | 5 | 7 | 4 | 135 | 1 | 381 | 60 | 4 | 2 | true | false | false | false | false | false | zero |
37,204,437 | Android - Animation with only 2 images and mask | <p>I'm trying to make an <strong>animation</strong> with <strong>only 2 images</strong> and using a <strong>mask</strong>. But I do not know how. <strong>I can not use animation-list</strong>. I need help to do so. Thank you.</p>
<p>The effect of the animation would look like this:</p>
<p><a href="https://i.stack.img... | I'm trying to make an animation with only 2 images and using a mask . But I do not know how. I can not use animation-list . I need help to do so. Thank you. The effect of the animation would look like this: [CODE] animation [CODE] | android|image|animation|mask | 2 | 2016-05-13T07:59:11.820Z | 2,016 | 5 | 7 | 4 | 3,206 | 2 | 230 | 47 | 4 | 2 | true | false | true | false | false | false | low |
37,204,462 | want to apply setFrameVisibility | <p>I want to use setFrameVisibility between two frame layouts to load content. My problem is both pages are showing data at the same time. I want here is when one frame is showing data the other frame hides automatically. Here is my codes from main java file but these codes are not working.</p>
<p>
<pre><code><Fra... | I want to use setFrameVisibility between two frame layouts to load content. My problem is both pages are showing data at the same time. I want here is when one frame is showing data the other frame hides automatically. Here is my codes from main java file but these codes are not working. [CODE] [CODE] | java|android | 0 | 2016-05-13T08:00:16.180Z | 2,016 | 5 | 8 | 4 | 47 | 1 | 302 | 32 | 2 | 2 | true | false | false | false | false | false | zero |
37,204,479 | Unable to create MultiUserChat with Smack: receiving SmackException$NoResponseException: No response received within reply | <p>While Creating group I'm getting an Exception:
"SmackException$NoResponseException: No response received within reply"</p>
<p>This is the group create method with a reply time setted on 50sec.
I am able to do login, one to one chat.
But while trying to create a group getting the below exception on muc.create(nick... | While Creating group I'm getting an Exception: "SmackException$NoResponseException: No response received within reply" This is the group create method with a reply time setted on 50sec. I am able to do login, one to one chat. But while trying to create a group getting the below exception on muc.create(nick); [CODE] | android|exception|smack | 0 | 2016-05-13T08:01:03.283Z | 2,016 | 5 | 8 | 4 | 191 | 1 | 316 | 122 | 3 | 1 | true | false | false | false | false | false | zero |
37,204,550 | TCP ACK delay on Android 3G | <p>I'm using LibGDX network libraries to send data from clients to my server.</p>
<p>Everything is working fine on a desktop client.</p>
<p>Everything is also working fine on an Android client connected through WiFi.</p>
<p>But, I got some strange problems on an Android client connected through a 3G connection.</p>
... | I'm using LibGDX network libraries to send data from clients to my server. Everything is working fine on a desktop client. Everything is also working fine on an Android client connected through WiFi. But, I got some strange problems on an Android client connected through a 3G connection. Here is my server side code: [C... | java|android|tcp|libgdx | 0 | 2016-05-13T08:04:37.770Z | 2,016 | 5 | 8 | 4 | 415 | 1 | 670 | 27 | 4 | 2 | true | false | false | false | false | false | zero |
37,204,600 | Dynamic changing of the text color of Toolbar MenuItem text | <p>In the app I am working on colors for various UI elements come from an HTTP response, ie coloring is done at <em>runtime</em>, and cannot be done using Android theming.</p>
<p>Other questions exist on this topic, but most are using themes, or if dynamic code, the code is not working. For example using spans:</p>
<... | In the app I am working on colors for various UI elements come from an HTTP response, ie coloring is done at runtime , and cannot be done using Android theming. Other questions exist on this topic, but most are using themes, or if dynamic code, the code is not working. For example using spans: [CODE] Or similar approac... | android|android-support-library|android-toolbar | 1 | 2016-05-13T08:08:00.423Z | 2,016 | 5 | 8 | 4 | 721 | 2 | 607 | 59 | 3 | 1 | true | false | false | false | false | false | low |
37,204,682 | onClick button Android | <p>I am a beginner to Android developement, so I create an Android app using Eclipse based on gram units conversion but It's not working.</p>
<p>The concept of my Android app is that I am using a navigation drawer with three items : Home(Accueil), Converter(Convertisseur) and About(A Propos).
So when I clicked on conv... | I am a beginner to Android developement, so I create an Android app using Eclipse based on gram units conversion but It's not working. The concept of my Android app is that I am using a navigation drawer with three items : Home(Accueil), Converter(Convertisseur) and About(A Propos). So when I clicked on converter optio... | android|eclipse|button|spinner | -1 | 2016-05-13T08:12:08.753Z | 2,016 | 5 | 8 | 4 | 255 | 2 | 783 | 22 | 4 | 3 | true | false | false | false | false | true | negative |
37,204,838 | Loading fragment (with google map) gives exception when return | <p>I'm making an Android application with a Google Map. I've got a problem with showing the fragment that contains the map. The first thime I've no exception but if I return to the map I've got this exception:</p>
<blockquote>
<p><strong><code>android.view.InflateException</code>:</strong> Binary XML file line #28: Err... | I'm making an Android application with a Google Map. I've got a problem with showing the fragment that contains the map. The first thime I've no exception but if I return to the map I've got this exception: android.view.InflateException : Binary XML file line #28: Error inflating class fragment Caused by java.lang.Ille... | android|google-maps|android-fragments|inflate-exception | 0 | 2016-05-13T08:19:39.753Z | 2,016 | 5 | 8 | 4 | 142 | 1 | 903 | 62 | 4 | 4 | true | false | false | false | false | false | zero |
37,204,891 | Forcing Android Application to connect to wifi in marshmallow | <p>I am trying to forcefully move to wifi connection from Mobile data connection (3G/4G).</p>
<p>However this seems to work in Lollipop, however the callback for availability of network connection is not coming for marshmallow. </p>
<pre><code>final ConnectivityManager connectivityManager
= (Connectiv... | I am trying to forcefully move to wifi connection from Mobile data connection (3G/4G). However this seems to work in Lollipop, however the callback for availability of network connection is not coming for marshmallow. [CODE] Is there something which I am missing? Essentially I want to move to wifi so that I can connect... | android|android-wifi|android-6.0-marshmallow|wifimanager|captivenetwork | 1 | 2016-05-13T08:22:44.157Z | 2,016 | 5 | 8 | 4 | 326 | 0 | 430 | 61 | 5 | 1 | true | true | false | false | false | false | low |
37,204,905 | Using JDBC MySQL to connect database in Android? | <p>I create an Android app to connect database using MySQL. When I test connection with localhost 10.0.2.2:3306, I can get database, but when I use the real host to get database from my server, I can not get anything. My host is: <strong><a href="https://192.168.1.xxx:xxxxx" rel="nofollow">https://192.168.1.xxx:xxxxx</... | I create an Android app to connect database using MySQL. When I test connection with localhost 10.0.2.2:3306, I can get database, but when I use the real host to get database from my server, I can not get anything. My host is: https://192.168.1.xxx:xxxxx and my database name is test . What is my problem? Please help me... | java|android|mysql|database|jdbc | -1 | 2016-05-13T08:23:48.847Z | 2,016 | 5 | 8 | 4 | 1,384 | 1 | 356 | 48 | 5 | 1 | true | false | false | false | false | true | negative |
37,204,958 | Null object reference: When filling a textView with .txt data | <p>I need to <code>load</code> data from a <code>.txt file</code> by using the following method:</p>
<pre><code> public void getTextFromFile()
{
File path = getExternalFilesDir(null);
File file = new File(path, "alarmString.txt");
int length = (int) file.length();
byte[] bytes = new byte[length];
... | I need to load data from a .txt file by using the following method: [CODE] When calling the method getTextfromFile(); , under the onCreate(); the program crashes, with giving me the following error: [CODE] I have tried to: Check if the id is correct. Made sure that the correct layout is being called by setContentView(R... | java|android|xml | -1 | 2016-05-13T08:26:07.883Z | 2,016 | 5 | 8 | 4 | 92 | 1 | 439 | 61 | 3 | 2 | true | false | false | false | false | true | negative |
37,205,038 | Cordova form doesn't submit or buttons are not working (android +4.4) | <p><strong>NOTE: The following issue only occurs on Android versions above 4.4.2 (as far as I know)</strong>
<hr>
<strong>TL;DR</strong></p>
<ul>
<li>Problem 1:Buttons with click/tap/vclick/touchstart attached to them, seem to work only partly (10-30% of the time) in my cordova app (Android only).</li>
<li>Problem 2: ... | NOTE: The following issue only occurs on Android versions above 4.4.2 (as far as I know) TL;DR Problem 1:Buttons with click/tap/vclick/touchstart attached to them, seem to work only partly (10-30% of the time) in my cordova app (Android only). Problem 2: The button in my form (submit button) doesn't trigger my .submit(... | android|cordova|jquery-mobile|webview | 5 | 2016-05-13T08:29:36.517Z | 2,016 | 5 | 8 | 4 | 5,290 | 3 | 1,791 | 69 | 4 | 3 | true | false | true | false | false | false | low |
37,205,183 | Use ArrayAdapter with ArrayList | <p>I'm currently building an Android Agenda Activity which consists in 4 ListView. Basicaly, I got the method onAgendaDataReady(ArrayList appointments) that is called by a WebServiceCoordinator. This method sorts the appointments and that way, populates 4 new ArrayList. The code is the following :</p>
<pre><code>@Over... | I'm currently building an Android Agenda Activity which consists in 4 ListView. Basicaly, I got the method onAgendaDataReady(ArrayList appointments) that is called by a WebServiceCoordinator. This method sorts the appointments and that way, populates 4 new ArrayList. The code is the following : [CODE] This code is work... | android|arraylist|android-arrayadapter | 0 | 2016-05-13T08:37:13.247Z | 2,016 | 5 | 8 | 4 | 800 | 1 | 749 | 31 | 3 | 3 | true | false | false | false | false | false | zero |
37,205,240 | Android AOSP modification errors out | <p>I am trying to understand the flow of code in the native android. For the same, I downloaded the Android source code and built images for my android device.
I have the following java and javac versions in my system. </p>
<ol>
<li>javac 1.7.0_79</li>
<li>java version "1.7.0_79"</li>
</ol>
<p>When I make, every thi... | I am trying to understand the flow of code in the native android. For the same, I downloaded the Android source code and built images for my android device. I have the following java and javac versions in my system. javac 1.7.0_79 java version "1.7.0_79" When I make, every thing works as expected. i am able to create i... | java|android|android-source|unsupported-class-version | 0 | 2016-05-13T08:40:28.100Z | 2,016 | 5 | 8 | 4 | 64 | 0 | 972 | 36 | 4 | 0 | false | true | false | false | false | false | zero |
37,205,271 | How can display DialogFragment if I click on another point of View | <p>I have in a Android Application, a DialogFragment that is show, when I click on FloatingActionButton.</p>
<p>Now, this is the xml file of DialogFragment:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_... | I have in a Android Application, a DialogFragment that is show, when I click on FloatingActionButton. Now, this is the xml file of DialogFragment: [CODE] In my Fragment, I open the DialogFragment in this mode: [CODE] Now, whit this code, I'm able to display the Dialogfragment, but now I have two problems: 1) If I show,... | android|view|dialogfragment | 0 | 2016-05-13T08:42:06.413Z | 2,016 | 5 | 8 | 4 | 239 | 1 | 702 | 66 | 3 | 2 | true | false | false | false | false | false | zero |
37,205,283 | Custom Adapter checkbox not checked when search | <p>I am facing this issue, that is when I checked on an item and I search the name after that, the checkbox becomes unchecked.</p>
<p>I checked on Heather</p>
<p><a href="https://i.stack.imgur.com/h2JXw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h2JXw.png" alt="listview"></a></p>
<p>It's unch... | I am facing this issue, that is when I checked on an item and I search the name after that, the checkbox becomes unchecked. I checked on Heather It's unchecked after I search How can I ensure that the items are still checked after I search? CustomAdapter.java [CODE] | android|adapter|custom-adapter | 0 | 2016-05-13T08:42:31.267Z | 2,016 | 5 | 8 | 4 | 336 | 2 | 266 | 47 | 3 | 1 | true | false | false | false | false | false | zero |
37,205,473 | Plain Text "Text" property not displaying the content of a variable | <p>I mean to have an app where, among other things, I display a value and allow to increment or decrement it. This value can be changed through a "settings" activity, via a Plain Text field. My issue is about displaying the current value as default text of the Plain Text.</p>
<p>Here's the XML code of the settings pag... | I mean to have an app where, among other things, I display a value and allow to increment or decrement it. This value can be changed through a "settings" activity, via a Plain Text field. My issue is about displaying the current value as default text of the Plain Text. Here's the XML code of the settings page: [CODE] H... | c#|android|xamarin|xamarin.android | 0 | 2016-05-13T08:52:22.973Z | 2,016 | 5 | 8 | 4 | 62 | 1 | 488 | 67 | 4 | 3 | true | false | false | false | false | false | zero |
37,205,611 | Confusion regarding Getting Latitude and Longitude from Activity to Fragment | <p>I am now working on a online rent car finder apk. I want this program TO fetch database from server and sort it based on the location (distance from user current location of rent car garage).
But i am confuse here on how to sort the list view base on the distance ? I mean, i know how to calculate the distance but i... | I am now working on a online rent car finder apk. I want this program TO fetch database from server and sort it based on the location (distance from user current location of rent car garage). But i am confuse here on how to sort the list view base on the distance ? I mean, i know how to calculate the distance but i am ... | java|android|google-maps|android-fragments|gps | 0 | 2016-05-13T08:59:02.653Z | 2,016 | 5 | 8 | 4 | 312 | 3 | 1,092 | 76 | 5 | 2 | true | false | false | false | false | false | zero |
37,205,766 | Picasso image loading using own Target very slow | <p>when I use my own Target to put the Bitmap loaded by Picasso into my ImageView like this (I do that because I want to compress the bitmap to a byte array to store it in sqlite):</p>
<pre><code>private ImageView imageView;
.
.
.
Picasso.with(getContext()).load(uri).into(target);
private Target target=new Target()
... | when I use my own Target to put the Bitmap loaded by Picasso into my ImageView like this (I do that because I want to compress the bitmap to a byte array to store it in sqlite): [CODE] I do that in the getView method of my ArrayAdapter, which serves a GridView. it is very slow (without compressing yet), showing the pic... | android|picasso | 0 | 2016-05-13T09:06:36.663Z | 2,016 | 5 | 9 | 4 | 791 | 1 | 514 | 48 | 2 | 1 | true | false | false | false | false | false | zero |
37,205,819 | Android - Using SpannableStringBuilder for per character color change | <p>Heyo, I'm using <code>SpannableStringBuilder</code> to change a word's each character color. This is how I use it :</p>
<pre><code>SpannableStringBuilder specialSpan = new SpannableStringBuilder();
specialSpan.append(context.getResources().getString(R.string.asdf));
specialSpan.setSpan(new ForegroundColorSpan(con... | Heyo, I'm using SpannableStringBuilder to change a word's each character color. This is how I use it : [CODE] The problem is, the TextView 's color doesn't change. Am I missing something here? Update : I'm using this other Spannable string builder which works for adding Emojis [CODE] And to change the color of a detect... | android|spannablestring | 0 | 2016-05-13T09:09:00.507Z | 2,016 | 5 | 9 | 4 | 2,753 | 1 | 418 | 69 | 2 | 3 | true | false | true | false | false | false | zero |
37,205,830 | Why circular progressBar background not showing? | <p>This is my style_circular_fill.xml file</p>
<pre><code><selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/progress">
<rotate
android:fromDegrees="270"
android:pivotX="50%"
android:pivotY="50%"
android:toDegrees="270"... | This is my style_circular_fill.xml file [CODE] And here is the progressbar in my activity.xml file [CODE] And here is the result: I don't know why the white circle background is not showing up... Are there anything that I did wrong in either of the .xml file? | android|android-progressbar | 1 | 2016-05-13T09:09:24.040Z | 2,016 | 5 | 9 | 4 | 1,290 | 2 | 259 | 48 | 2 | 2 | true | false | false | false | false | false | low |
37,205,997 | NestedScrollView could not scroll with match_parent height child | <p>I implement NonSwipeableViewPager with a fragment has NestedScrollView like this, what I expect is that the scrollview can scroll up and show 2 textviews:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/andr... | I implement NonSwipeableViewPager with a fragment has NestedScrollView like this, what I expect is that the scrollview can scroll up and show 2 textviews: [CODE] But it could not scroll, I tried many ways but still did not get any solution | android|android-nestedscrollview | 37 | 2016-05-13T09:16:15.183Z | 2,016 | 5 | 9 | 4 | 60,931 | 5 | 239 | 64 | 2 | 1 | true | false | true | true | true | false | high |
37,206,014 | Android GAE polymorphism in Client side | <p>I am developing an Android application which use Google App Engine (GAE) for his back-end and with few words the situation is that...</p>
<p>On the back-end side (App Engine Java Endpoints Module) I have a few @Entity classes like "Vehicle", "Car" and "SportCar" where "SportCar" is a @Subclass of "Car" and "Car" is... | I am developing an Android application which use Google App Engine (GAE) for his back-end and with few words the situation is that... On the back-end side (App Engine Java Endpoints Module) I have a few @Entity classes like "Vehicle", "Car" and "SportCar" where "SportCar" is a @Subclass of "Car" and "Car" is a @Subclas... | java|android|google-app-engine|objectify | 0 | 2016-05-13T09:17:07.640Z | 2,016 | 5 | 9 | 4 | 50 | 1 | 1,340 | 39 | 4 | 3 | true | false | false | false | false | false | zero |
37,206,054 | How to remove Facebook "Currently Ineligible for Submission"? | <p>The app being developed is developed on iOS and Android. The iOS version created the Facebook app id first, and only asking for email, fb user id, and full name, therefore doesn't need for review.</p>
<p>Then the Android version came along, using the same facebook app, but it incorrectly and unnecessarily asking di... | The app being developed is developed on iOS and Android. The iOS version created the Facebook app id first, and only asking for email, fb user id, and full name, therefore doesn't need for review. Then the Android version came along, using the same facebook app, but it incorrectly and unnecessarily asking different (hi... | android|ios|facebook|fbsdk | 1 | 2016-05-13T09:18:54.797Z | 2,016 | 5 | 9 | 4 | 5,152 | 1 | 1,028 | 61 | 4 | 0 | false | false | true | false | false | false | low |
37,206,122 | sound locator in android | <p>i create app : record voice and determine frequency of sound</p>
<pre><code>package com.example.recordsound;
import edu.emory.mathcs.jtransforms.fft.DoubleFFT_1D;
import ca.uol.aig.fftpack.RealDoubleFFT;
public class MainActivity extends Activity implements OnClickListener{
int audioSource = MediaRecorder.Audio... | i create app : record voice and determine frequency of sound [CODE] how detect locate of sound with phone ? i want arrow display and rotate to sound direction . thank you... possible with android phone for sound locator ? or create a robot or external sensor ? thx | android|audio | 0 | 2016-05-13T09:22:20.357Z | 2,016 | 5 | 9 | 4 | 527 | 0 | 264 | 24 | 2 | 1 | true | true | false | false | false | false | zero |
37,206,172 | How to use Font Awesome in android Holder class which does not have a context? | <p>I am trying to use font awesome in my app. But i dont know how to use it without passing context as a parameter. This is my xml file:</p>
<pre><code> <Button
android:layout_below="@id/author"
android:id="@+id/compare_btn"
android:layout_toRightOf="@id/cart_btn"
android:layout_w... | I am trying to use font awesome in my app. But i dont know how to use it without passing context as a parameter. This is my xml file: [CODE] and this is my Holder class which ofcourse does not extend activity nor fragment. [CODE] and this is a method in my recycler adapter that set's the text of textview based on json ... | java|android|android-layout|android-studio|font-awesome | 1 | 2016-05-13T09:24:11.553Z | 2,016 | 5 | 9 | 4 | 803 | 3 | 540 | 78 | 5 | 5 | true | false | false | false | false | false | low |
37,206,229 | Toolbar in CoordinatorLayout is invisible in Android 4.4( visible in Android 5.0 ) | <p>It's a layout with a toolbar,a webView and a floating actionButton(there should be a floating action button in android 5.0):</p>
<p><a href="https://i.stack.imgur.com/jgaT3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jgaT3.png" alt="enter image description here"></a></p>
<p>I'm using Coordin... | It's a layout with a toolbar,a webView and a floating actionButton(there should be a floating action button in android 5.0): I'm using CoordinatorLayout because there's a floating action button in it. If change it to LinearLayout, action bar will be visible but the FloatingActionButton won't float on the screen. Changi... | android|android-layout | 1 | 2016-05-13T09:26:50.143Z | 2,016 | 5 | 9 | 4 | 657 | 0 | 445 | 82 | 2 | 3 | true | true | false | false | false | false | low |
37,206,231 | FileObserver onCreate Event does not trigger itself in activity | <p>I defined FileObserver class outside the activity</p>
<pre><code> public class MyFileObserver extends FileObserver {
public String absolutePath;
public MyFileObserver(String path) {
super(path, FileObserver.ALL_EVENTS);
absolutePath = path;
}
@Override
public void onEvent(int eve... | I defined FileObserver class outside the activity [CODE] and created an instance and started watching the file using StartWatching() in main activity [CODE] when i run the application and copy file in the directory being observed OnEvent() does not gets triggered, but when I click the button (used for other purpose def... | android|fileobserver | 2 | 2016-05-13T09:27:02.360Z | 2,016 | 5 | 9 | 4 | 310 | 0 | 640 | 63 | 2 | 3 | true | true | false | false | false | false | low |
37,206,351 | Implementing back stacks with fragments | <p>I'm attempting to implement a back stack while using fragments, but when using the Back button, I keep getting taken out of the app to the home screen.</p>
<p>Activity opens fragment A; Fragment A has a clickable TextView that opens fragment B (this works). Hitting BACK should return me to fragment A, but it takes ... | I'm attempting to implement a back stack while using fragments, but when using the Back button, I keep getting taken out of the app to the home screen. Activity opens fragment A; Fragment A has a clickable TextView that opens fragment B (this works). Hitting BACK should return me to fragment A, but it takes me to the h... | java|android|android-fragments|fragment-backstack | 2 | 2016-05-13T09:32:23.423Z | 2,016 | 5 | 9 | 4 | 95 | 3 | 770 | 39 | 4 | 2 | true | false | false | false | false | false | low |
37,206,451 | onclick listener not working on ImageButton inside CollapsingToolbarLayout android | <p><a href="http://i.stack.imgur.com/rdETx.png" rel="nofollow">onclick function on edit image button not working</a>[In coordinatorLayout....Im inserting the image button to right of collapsingToolbar title ,setOnClickListener not working on that image button.... You can find the code and images below. Any help is app... | onclick function on edit image button not working [In coordinatorLayout....Im inserting the image button to right of collapsingToolbar title ,setOnClickListener not working on that image button.... You can find the code and images below. Any help is appreciated 2 [CODE] [CODE] | android | 2 | 2016-05-13T09:36:47.137Z | 2,016 | 5 | 9 | 4 | 983 | 3 | 277 | 82 | 1 | 2 | true | false | false | false | false | false | low |
37,206,471 | GCM Broadcast receiver not detcting gcm notification when the app is closed | <p>I have a broadcast receiver which detects oncoming notifications when the app is open and in background but when the recent app is cleared the receiver is not working please suggest me ideas.</p>
<pre><code>public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {
@Override
public void onReceiv... | I have a broadcast receiver which detects oncoming notifications when the app is open and in background but when the recent app is cleared the receiver is not working please suggest me ideas. [CODE] Manifest decleration: [CODE] | java|android|google-cloud-messaging|broadcastreceiver | 1 | 2016-05-13T09:37:22.857Z | 2,016 | 5 | 9 | 4 | 790 | 2 | 227 | 75 | 4 | 2 | true | false | false | false | false | false | low |
37,206,527 | Overwrite manifest (themes) | <p>I have a project that has 3 themes (support,crm,sales), when I compile a version, I have to change the tiapp.xml:</p>
<ul>
<li>id (com.website.[support/crm/sales])</li>
<li>name (Website [Support/CRM/Sales])</li>
<li>android manifest</li>
</ul>
<p>My question is: there are any way to replace or merge the android m... | I have a project that has 3 themes (support,crm,sales), when I compile a version, I have to change the tiapp.xml: id (com.website.[support/crm/sales]) name (Website [Support/CRM/Sales]) android manifest My question is: there are any way to replace or merge the android manifest or some parts of tiapp.xml file: uses-perm... | android-activity|permissions|appcelerator|manifest|appcelerator-titanium | 0 | 2016-05-13T09:39:31.067Z | 2,016 | 5 | 9 | 4 | 84 | 1 | 706 | 27 | 5 | 1 | true | false | false | false | false | false | zero |
37,206,569 | i am getting an error while launching AVD in emulator | <p>Cannot launch <code>AVD</code> in emulator.</p>
<p>i did what you have mentioned..but still facing the error as:</p>
<blockquote>
<p>Hax is enabled</p>
<p>Could not load func glBindFramebuffer</p>
<p>Hax ram_size 0x60000000</p>
<p>Could not load func glGenFramebuffers</p>
<p>HAX is working and emulator runs in fast ... | Cannot launch AVD in emulator. i did what you have mentioned..but still facing the error as: Hax is enabled Could not load func glBindFramebuffer Hax ram_size 0x60000000 Could not load func glGenFramebuffers HAX is working and emulator runs in fast virt mode. Could not load func glFramebufferTexture2D Could not load fu... | android-emulator|avd | 1 | 2016-05-13T09:41:45.090Z | 2,016 | 5 | 9 | 4 | 8,027 | 2 | 899 | 53 | 2 | 0 | false | false | true | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.