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,008,403
Error await must not be called on the UI Thread in Android project
<p>I am currently trying to read data from google drive, using a query then transferring the gson to a fragment so I can set the edit text values of said fragment to the gson being read in (Kudos if you followed that!)</p> <p>Every time I move to open the fragment I am getting the following error message:</p> <pre><c...
I am currently trying to read data from google drive, using a query then transferring the gson to a fragment so I can set the edit text values of said fragment to the gson being read in (Kudos if you followed that!) Every time I move to open the fragment I am getting the following error message: [CODE] I thought by set...
android|multithreading|android-fragments
0
2016-05-03T15:33:03.333Z
2,016
5
15
1
2,687
1
559
66
3
3
true
false
true
false
false
false
zero
37,008,514
Chrome Custom Tabs - Intent not being triggered (Android)
<p>I am working on implementing PayPal into my current Android app, and I have been advised to use Chrome Custom Tabs, but I cannot seem to get the Intent to be triggered. </p> <p>I believe I have set the Intent up correctly in the AndroidManifest.xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;ma...
I am working on implementing PayPal into my current Android app, and I have been advised to use Chrome Custom Tabs, but I cannot seem to get the Intent to be triggered. I believe I have set the Intent up correctly in the AndroidManifest.xml [CODE] I am able to successfully launch the Google Chrome Tabs in my Fragment c...
android|android-intent|paypal|url-redirection|chrome-custom-tabs
5
2016-05-03T15:38:25.540Z
2,016
5
15
1
4,215
1
912
57
5
4
true
false
true
false
false
false
low
37,008,590
Android - Improving Performance with Grid Adapters and Images
<p>Occasionally, the application I am building will run out of memory or receiving an error relating to bytes (Failed to allocate a 2320024 byte allocation with 125240 free bytes and 122KB until OOM, for example). </p> <p>The app is very image heavy and relies on converting byte[] to bitmap (not generally recommended ...
Occasionally, the application I am building will run out of memory or receiving an error relating to bytes (Failed to allocate a 2320024 byte allocation with 125240 free bytes and 122KB until OOM, for example). The app is very image heavy and relies on converting byte[] to bitmap (not generally recommended I know - but...
java|android|performance
0
2016-05-03T15:42:41.230Z
2,016
5
15
1
37
2
1,280
61
3
3
true
false
false
false
false
false
zero
37,008,745
Unable to retrieve location Android Marshmallow
<p>I'm having hard times trying to retrieve location with my app. Apparently I'm stuck while trying to fill the location object.</p> <pre><code>import android.Manifest; import android.app.Activity; import android.content.DialogInterface; import android.content.IntentSender; import android.content.SharedPreferences; im...
I'm having hard times trying to retrieve location with my app. Apparently I'm stuck while trying to fill the location object. [CODE] When trying to call that Log.d(TAG, "Location changed. New location: " + String.valueOf(mLastlocation.getLatitude())); I get this error: java.lang.RuntimeException: Failure delivering res...
android|android-6.0-marshmallow|google-api-client
0
2016-05-03T15:50:24.057Z
2,016
5
15
1
338
2
756
47
3
1
true
false
false
false
false
false
zero
37,008,805
How can show a Dialog with RecycleView
<p>I have an Android activity with a RecycleView and I have implemented a ClickEvent on this RecycleView.</p> <p>If I try to click on one items, I want to display a Dialog with another RecycleView. </p> <p>So this is my activity code:</p> <pre><code>public class ResultActivity extends AppCompatActivity { private...
I have an Android activity with a RecycleView and I have implemented a ClickEvent on this RecycleView. If I try to click on one items, I want to display a Dialog with another RecycleView. So this is my activity code: [CODE] If I run my application and I try to click on one items, I have null exception. The problem is i...
android
0
2016-05-03T15:53:14.980Z
2,016
5
15
1
828
1
417
38
1
2
true
false
false
false
false
false
zero
37,008,862
How to share specific text from app to facebook?
<p>I tried this code, I chose Facebook app and went to post page, but the chosen text does not get displayed.</p> <pre><code>public void onShareClick(View v){ List&lt;Intent&gt; targetShareIntents=new ArrayList&lt;Intent&gt;(); Intent shareIntent=new Intent(); shareIntent.setAction(Intent.ACTION_SEND); ...
I tried this code, I chose Facebook app and went to post page, but the chosen text does not get displayed. [CODE] Why doesn't the chosen text to share Display on facebook? I read Facebook's policy and they do not allow this, yet other applications are able to do so. Is there some way I can achieve that?
java|android
0
2016-05-03T15:55:49.450Z
2,016
5
15
1
48
1
304
48
2
1
true
false
false
false
false
false
zero
37,008,894
Android SubMenu icon disappear when i cread a menu dynamically
<p>I am trying create a menu list dynamically, i was able to create the menu option but every time i run my code the icon for the main item disappear: here is my code sample:</p> <pre><code>private static final int SUB_Menu_ONE = R.menu.settings; private static final int SUB_Menu_TWO = R.menu.settings + 1; pri...
I am trying create a menu list dynamically, i was able to create the menu option but every time i run my code the icon for the main item disappear: here is my code sample: [CODE] // doStuff(); break; case SUB_Menu_TWO: // doStuff(); break; case SUB_Menu_THREE: // doStuff(); break; case SUB_Menu_FOUR: // doStuff(); brea...
java|android|html|android-layout|android-studio
-1
2016-05-03T15:57:02.183Z
2,016
5
15
1
247
1
543
62
5
3
true
false
false
false
false
true
negative
37,008,991
Notification click but not need start newly activity?
<p>I am new in android development. I have apps where I play one audio. When I run my apps then play that audio. I want audio playing when go another apps(back button/home). I have also one notification bar. When I click that notification bar. Then will run that activity which is playing audio. But not starting that au...
I am new in android development. I have apps where I play one audio. When I run my apps then play that audio. I want audio playing when go another apps(back button/home). I have also one notification bar. When I click that notification bar. Then will run that activity which is playing audio. But not starting that audio...
eclipse|android-intent|android-notifications
0
2016-05-03T16:01:43.427Z
2,016
5
16
1
49
1
612
53
3
1
true
false
false
false
false
false
zero
37,009,040
Aligning column headers above my ListView
<p>How can I align column headers above a ListView? </p> <p>I created an xml file (list_item.xml) that contain the result and I created another xml file that contain the header of my ListView (header.xml..</p> <p>1) "list_item.xml"</p> <pre><code>&lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/andr...
How can I align column headers above a ListView? I created an xml file (list_item.xml) that contain the result and I created another xml file that contain the header of my ListView (header.xml.. 1) "list_item.xml" [CODE] 2) "header.xml" [CODE] the problem is that the header is not aligned with list_item.. How can I do ...
android|android-layout|listview|android-studio
1
2016-05-03T16:04:22.100Z
2,016
5
16
1
864
1
381
41
4
2
true
false
false
false
false
false
low
37,009,281
CSS not applying in android WebView
<p>This is a followup question to <a href="https://stackoverflow.com/questions/37007443/webview-vs-textview-for-displaying-html-content">WebView vs TextView for displaying html content</a></p> <p>Here is the code</p> <pre><code>webView.loadDataWithBaseURL(url,value, "text/html", "UTF-8",url); </code></pre> <p>And he...
This is a followup question to WebView vs TextView for displaying html content Here is the code [CODE] And here is the html [CODE] The CSS is not taking effect as the code is not highlighted. How might I fix this?
javascript|android|css|android-layout|webview
1
2016-05-03T16:17:45.120Z
2,016
5
16
1
938
0
213
35
5
2
true
true
false
false
false
false
low
37,009,292
Android does not show tabs
<p>I am in a process of changing home activity to include tabs. I use <a href="https://github.com/saulmm/CoordinatorExamples" rel="nofollow">https://github.com/saulmm/CoordinatorExamples</a> as a source. For unknown reason I do not see the tabs in my <code>AppBarLayout</code>. I can see the <code>Fragment</code> conten...
I am in a process of changing home activity to include tabs. I use https://github.com/saulmm/CoordinatorExamples as a source. For unknown reason I do not see the tabs in my AppBarLayout . I can see the Fragment content but tab headers are not displayed at all. I use appcompat-v7:23.3.0. Shortened layout: [CODE] Activit...
android|android-tabs
0
2016-05-03T16:18:22.057Z
2,016
5
16
1
899
1
581
26
2
6
true
false
false
false
false
false
zero
37,009,426
Facebook share button causes a crash facebook sdk
<p>i have a share button inside eache item of an @listview Application starts well, but it crashes when I press Facebook sharebutton button.</p> <pre><code>holder.button = (ShareButton) v.findViewById(R.id.btnOne); holder.button.setOnClickListener(new View.OnClickListener() { @Override public void onClick( View v) ...
i have a share button inside eache item of an @listview Application starts well, but it crashes when I press Facebook sharebutton button. [CODE] }); and thhis is the logCat logCat Manifest [CODE] [CODE]
android|facebook|listview|share-button
0
2016-05-03T16:25:41.733Z
2,016
5
16
1
790
1
202
49
4
3
true
false
false
false
false
false
zero
37,009,457
Facebook registerCallBack method not initiated
<p>I'm using the following code for fetching Facebook user details through my Android application.</p> <pre><code> callbackManager = CallbackManager.Factory.create(); fb = (Button) findViewById(R.id.fb); loginButton = (LoginButton) findViewById(R.id.login_button); List &lt; String &gt; permissionNeeds = Arrays.a...
I'm using the following code for fetching Facebook user details through my Android application. [CODE] Here, the log inside the onActivityResult is printed, while the loginButton.registerCallback(callbackManager, new FacebookCallback<LoginResult>() is not at all initiated. None of the logs inside this method is printed...
android|facebook|android-studio|callback
4
2016-05-03T16:27:38.477Z
2,016
5
16
1
1,376
3
342
46
4
1
true
false
false
false
false
false
low
37,009,505
No response from FT230X using Android D2XX driver
<p>I have made a simple Android app that connects to an FTDI chip using the <a href="http://www.ftdichip.com/Drivers/D2XX/Android_Java_D2xx_2.04.zip" rel="nofollow">D2XX driver</a> and writes a command and listens for responses.</p> <p>Using this app I can successfully write some dummy data to an <a href="http://www.f...
I have made a simple Android app that connects to an FTDI chip using the D2XX driver and writes a command and listens for responses. Using this app I can successfully write some dummy data to an FT232B chip and receive a response. With the same app I am not getting any response from an FT230X chip (which has a differen...
android|usbserial|ftdi|d2xx
1
2016-05-03T16:30:24.580Z
2,016
5
16
1
351
1
848
49
4
0
false
false
false
false
false
false
low
37,009,512
Exporting Android Library with some class/methods hidden
<p>I have a project that must be exported as library.</p> <p>The project has multiple packages and I want that some public methods/classes can't be accessed from the application that will host my library. Quick example:</p> <pre><code>package test.package1 import test.package2.*; //Class1 can be accessed from extern...
I have a project that must be exported as library. The project has multiple packages and I want that some public methods/classes can't be accessed from the application that will host my library. Quick example: [CODE] [CODE] I've found many post that was speaking about this problem: link 1 link 2 and many others... But ...
java|android
0
2016-05-03T16:30:44.797Z
2,016
5
16
1
972
1
1,536
56
2
3
true
false
false
false
false
false
zero
37,009,559
MalformedURLException in Android Studio SDK 23, site redirects to no prefix
<p>I'm building an app that communicates with a internal web server at my work, it has a login process.</p> <p>The problem is, when I use the actual URL that works, I get a MalformedURLException. And when I use http:// with the address in my app, I get an error:</p> <p>com.android.okhttp.internal.http.HttpTransport$F...
I'm building an app that communicates with a internal web server at my work, it has a login process. The problem is, when I use the actual URL that works, I get a MalformedURLException. And when I use http:// with the address in my app, I get an error: com.android.okhttp.internal.http.HttpTransport$FixedLengthInputStre...
android|malformedurlexception
0
2016-05-03T16:32:59.943Z
2,016
5
16
1
107
1
1,095
75
2
1
true
false
false
false
false
false
zero
37,009,705
Background service confusion
<p>I'm trying to find out how to keep an Android service running after the starting app is closed. I've tried looking at samples for background services (e.g <a href="https://visualstudiomagazine.com/Articles/2012/07/10/Background-Services-in-Mono-for-Android.aspx" rel="nofollow">this</a> one, and some on the Xamarin s...
I'm trying to find out how to keep an Android service running after the starting app is closed. I've tried looking at samples for background services (e.g this one, and some on the Xamarin site) but in every case the service stops running if the minimised app is 'swiped' off the screen. I don't want the service to acci...
xamarin|xamarin.android
2
2016-05-03T16:39:20.480Z
2,016
5
16
1
2,622
2
1,078
28
2
1
true
false
true
false
false
false
low
37,009,826
Adding the Layer library dependency in Android suppresses requestPermissions dialog
<p>I made a very, very small demo app reproducing the bug on a Nexus 5 running Android version 6.0.1. The app is on github here: <a href="https://github.com/lexi-sr/LayerPermission" rel="nofollow">https://github.com/lexi-sr/LayerPermission</a></p> <p>I recently added 2 commits in which it targets API 23 and requests p...
I made a very, very small demo app reproducing the bug on a Nexus 5 running Android version 6.0.1. The app is on github here: https://github.com/lexi-sr/LayerPermission I recently added 2 commits in which it targets API 23 and requests permissions at run time, but it still didn't work. In these 2 commits, it has these ...
android|permissions
0
2016-05-03T16:46:39.877Z
2,016
5
16
1
1,121
1
1,108
83
2
0
false
false
false
false
false
false
zero
37,009,868
Sorting input lines in text file
<p>I am trying to sort the lines in text file using android. Can you help me? This code is sorting part part not all of them. I mean it sorts 1-2-3-20-4-5-6 like that. It should be 1-2-3-4-5-6-20</p> <pre><code> try { File root = new File(Environment.getExternalStorageDirectory(), "...
I am trying to sort the lines in text file using android. Can you help me? This code is sorting part part not all of them. I mean it sorts 1-2-3-20-4-5-6 like that. It should be 1-2-3-4-5-6-20 [CODE]
java|android|file
-1
2016-05-03T16:49:04.523Z
2,016
5
16
1
61
2
199
32
3
1
true
false
false
false
false
true
negative
37,010,047
IllegalStateException while showing DialogFragment after back from AppCompatActivity
<p>I am starting a FragmentActivity from a custom DialogFragment and after I come back the original Activity and try to open the dialog again I get: </p> <blockquote> <p>IllegalStateException: Can not perform this action after onSaveInstanceState</p> </blockquote> <p>I don't understand why is it happening, if I dis...
I am starting a FragmentActivity from a custom DialogFragment and after I come back the original Activity and try to open the dialog again I get: IllegalStateException: Can not perform this action after onSaveInstanceState I don't understand why is it happening, if I dismiss the dialog from the original activity than I...
android|android-fragments|android-fragmentactivity|android-dialogfragment|illegalstateexception
2
2016-05-03T16:57:57.397Z
2,016
5
16
1
1,208
1
1,707
84
5
4
true
false
false
false
false
false
low
37,010,070
Google Glass are bricked - receiving "Home/Camera/Voice stopped unexpectedly" errors
<p>Our research lab has several pair of Google Glass that we've been using in our research. Recently, one pair (that had been sitting in storage) stopped working - we booted them up about a month ago (they hadn't been used since April 2014) and during the boot sequence, we received several "stopped unexpectedly" errors...
Our research lab has several pair of Google Glass that we've been using in our research. Recently, one pair (that had been sitting in storage) stopped working - we booted them up about a month ago (they hadn't been used since April 2014) and during the boot sequence, we received several "stopped unexpectedly" errors (f...
android|google-glass
2
2016-05-03T16:59:08.993Z
2,016
5
16
1
1,976
3
981
84
2
0
false
false
false
false
false
false
low
37,010,160
Change imageview image src on screen orientation change
<p>I'm making a simple android app that loads a webpage in a webview and there is a splash screen as a loading screen in an imageview that appears at start with url loading. My problem is that I want to load different images according to the screen orientation here is my code activity_main.xml</p> <pre><code> &lt;?...
I'm making a simple android app that loads a webpage in a webview and there is a splash screen as a loading screen in an imageview that appears at start with url loading. My problem is that I want to load different images according to the screen orientation here is my code activity_main.xml [CODE] MainActivity.java [CO...
java|android
0
2016-05-03T17:03:54.390Z
2,016
5
17
1
447
2
409
55
2
2
true
false
false
false
false
false
zero
37,010,180
Android Toolbar Items not showing?
<p>I'm trying to create a Toolbar with the android.support.v7.widget.toolbar but when i try t add an item, it will not show on the toolbar:</p> <p>Toolbar in activity_main.xml:</p> <pre><code>&lt;android.support.v7.widget.Toolbar android:id="@+id/my_toolbar" android:layout_width="match_parent" android:lay...
I'm trying to create a Toolbar with the android.support.v7.widget.toolbar but when i try t add an item, it will not show on the toolbar: Toolbar in activity_main.xml: [CODE] main_activity: on the onCreate: [CODE] out of onCreate: [CODE] res/menu/main_menu.xml [CODE] the refresh_icon is created by me because in the @dra...
android|toolbar|menuitem|appbar
2
2016-05-03T17:05:02.527Z
2,016
5
17
1
1,180
1
400
34
4
4
true
false
false
false
false
false
low
37,010,313
How can I align views justify in LinearLayout?
<p>I want to align two buttons left and right and I'm using <code>layout_weight</code> property width <code>.25</code> for both of buttons. But when I did it, buttons width are became %50.</p> <p>This is what I want: <img src="https://i.stack.imgur.com/SLjuo.png" alt="image"></p> <p>This is what I have: <img src="htt...
I want to align two buttons left and right and I'm using layout_weight property width .25 for both of buttons. But when I did it, buttons width are became %50. This is what I want: This is what I have: And this is my XML layout: [CODE] How can I do this?
android|android-linearlayout
0
2016-05-03T17:12:19.700Z
2,016
5
17
1
421
2
254
46
2
1
true
false
false
false
false
false
zero
37,010,437
How to retrieve values from ListView with JSON values on new activity?
<p>The code below works fine. It populates a list with values from a JSON response and will open a new activity on selection of any of the items, as well as displaying the number of the item.</p> <p>My question is how to have the selected item open an activity with the specific information from that item. Example: I s...
The code below works fine. It populates a list with values from a JSON response and will open a new activity on selection of any of the items, as well as displaying the number of the item. My question is how to have the selected item open an activity with the specific information from that item. Example: I select "Bob"...
android|json|listview|android-activity
0
2016-05-03T17:18:50.993Z
2,016
5
17
1
58
2
759
70
4
3
true
false
false
false
false
false
zero
37,010,438
Force relayout of LinearLayout
<p>I have a situation where recycled views are displayed but, I presume due to some optimization in Android, they do not relayout.</p> <p>A number of posts suggest calling view.layout() on the recycled view, which I suspect will work. However, it also means setting up my own LayoutParams and, while I'm pretty sure I ...
I have a situation where recycled views are displayed but, I presume due to some optimization in Android, they do not relayout. A number of posts suggest calling view.layout() on the recycled view, which I suspect will work. However, it also means setting up my own LayoutParams and, while I'm pretty sure I can get it t...
android|android-layout
0
2016-05-03T17:18:52.023Z
2,016
5
17
1
395
1
1,125
30
2
1
true
false
false
false
false
false
zero
37,010,575
Android crash when using dialogs boxes
<p>I m using OKHttp : <a href="https://github.com/square/okhttp/wiki/Recipes" rel="nofollow">https://github.com/square/okhttp/wiki/Recipes</a> library to do some request for my Android application and I am using a library to display Dialog Box : <a href="https://github.com/afollestad/material-dialogs" rel="nofollow">h...
I m using OKHttp : https://github.com/square/okhttp/wiki/Recipes library to do some request for my Android application and I am using a library to display Dialog Box : https://github.com/afollestad/material-dialogs Here is a simplify code to explain my problem : [CODE] And here is the code for my DialogBox method : [CO...
android|dialog
0
2016-05-03T17:26:05.063Z
2,016
5
17
1
653
1
1,145
38
2
2
true
false
false
false
false
false
zero
37,010,589
How i can get my location? [android]
<p>I found this code</p> <pre><code> private void centerMapOnMyLocation() { map.setMyLocationEnabled(true); location = map.getMyLocation(); if (location != null) { myLocation = new LatLng(location.getLatitude(), location.getLongitude()); } map.animateCamera(CameraUpdat...
I found this code [CODE] But getMyLocation() is depricated. How i can determine my location and show this on my map at first. My code now is: [CODE] I read developers.android.com but not found the answer. I need just show my current location on the map. Noghing more
android|google-maps|geolocation|android-mapview
0
2016-05-03T17:27:12.457Z
2,016
5
17
1
933
2
266
36
4
2
true
false
false
false
false
false
zero
37,010,639
Getting the initial emission of an Observable later in its tree
<p>Given a hot <code>Observable&lt;String&gt; myObservable</code> which emit values at irregular intervals. I would like to be able to <code>flatMap</code> an <code>obs1</code> <code>Observable</code> and depending on the result of <code>obs1</code> I want to <code>flatMap</code> an <code>obs2</code> with the initial ...
Given a hot Observable<String> myObservable which emit values at irregular intervals. I would like to be able to flatMap an obs1 Observable and depending on the result of obs1 I want to flatMap an obs2 with the initial myObservable value. As an example consider the code below: [CODE] A solution would be to store the my...
rx-java|reactive-programming|rx-android|reactivex
0
2016-05-03T17:30:03.757Z
2,016
5
17
1
68
1
488
63
4
1
true
false
false
false
false
false
zero
37,010,659
HTTP Post Request using Volley
<p>I code to send some message and email using HTTP post using Volley. when i run the emulator using Genymotion.Everything luking fine but i click the click button it show HTTP has been stopped. I am giving logcat picture <a href="http://i.stack.imgur.com/UysnA.png" rel="nofollow">Please click this Logcat picture to se...
I code to send some message and email using HTTP post using Volley. when i run the emulator using Genymotion.Everything luking fine but i click the click button it show HTTP has been stopped. I am giving logcat picture Please click this Logcat picture to see Please help me what is wrong and how to resolve this problem ...
android|android-volley
0
2016-05-03T17:30:41.933Z
2,016
5
17
1
149
1
326
30
2
1
true
false
false
false
false
false
zero
37,010,767
Android - Calculate the average info received by webservice
<p>I have to calculate the average weather info (temperature, humidity, dewpoint and pressure) from <a href="http://ghelfer.net/weather.aspx?output=json" rel="nofollow">http://ghelfer.net/weather.aspx?output=json</a> . Receive it using JSONArray, calculate and show each average on the screen. I don't know how to popul...
I have to calculate the average weather info (temperature, humidity, dewpoint and pressure) from http://ghelfer.net/weather.aspx?output=json . Receive it using JSONArray, calculate and show each average on the screen. I don't know how to populate the arrays with the separated info (a array to temperature, other to humi...
android|json
0
2016-05-03T17:36:44.663Z
2,016
5
17
1
51
2
487
59
2
2
true
false
false
false
false
false
zero
37,010,835
Moshi Retrofit error: "Expected a string but was BEGIN_OBJECT"
<p>I built my Retrofit instance like this:</p> <pre><code>Retrofit retrofit = new Retrofit.Builder() .baseUrl(server.url("/")) .addConverterFactory(MoshiConverterFactory.create(moshi)) .build(); </code></pre> <p>Then I am calling my <strong>MockWebServer</strong> instance like this...
I built my Retrofit instance like this: [CODE] Then I am calling my MockWebServer instance like this: [CODE] Where jsonStr is built like this: [CODE] However, the code crashes at this point: [CODE] The exception is: com.squareup.moshi.JsonDataException: Expected a string but was BEGIN_OBJECT at path $ What did I do wro...
android|retrofit2|mockwebserver|moshi
7
2016-05-03T17:40:51.130Z
2,016
5
17
1
9,739
3
323
62
4
4
true
false
true
false
false
false
medium
37,011,143
Android switch statement is not working correctly
<p>I have an imageview that i use as a button, i set up an onclick method and inside it i declared a switch statement, i need every time i click the button i should call a different case, so i set up case 0, case 1, case 2, case 3, and i put the methods that i want for each case, however, everytime i click the button, ...
I have an imageview that i use as a button, i set up an onclick method and inside it i declared a switch statement, i need every time i click the button i should call a different case, so i set up case 0, case 1, case 2, case 3, and i put the methods that i want for each case, however, everytime i click the button, the...
android|switch-statement|case
-1
2016-05-03T17:57:06.483Z
2,016
5
17
1
1,206
2
531
49
3
1
true
false
false
false
false
true
negative
37,011,215
Decrypt segments in Host.processSegment
<p>I have my receiver app which plays encrypted HLS stream. With the KEY tag (EXT-X-KEY) in the manifest its able to play the encrypted content.But I want to decrypt the segments myself for some security issues, don't want to give the key url directly in the manifest. I used webcrypto to decrypt the HLS chunks. I t...
I have my receiver app which plays encrypted HLS stream. With the KEY tag (EXT-X-KEY) in the manifest its able to play the encrypted content.But I want to decrypt the segments myself for some security issues, don't want to give the key url directly in the manifest. I used webcrypto to decrypt the HLS chunks. I tried th...
android|chromecast|google-cast
1
2016-05-03T18:01:06.217Z
2,016
5
18
1
112
0
1,445
39
3
1
true
true
false
false
false
false
low
37,011,498
AWS Cognito and S3
<p>I am working on Android app in which users upload and download files from <code>Amazon S3</code>. I have developed authentication for my app. Currently, whenever user wants to upload few files, for every file user get <code>IdentityID</code> and <code>Token</code> by pinging my back end. </p> <p>I have few question...
I am working on Android app in which users upload and download files from Amazon S3 . I have developed authentication for my app. Currently, whenever user wants to upload few files, for every file user get IdentityID and Token by pinging my back end. I have few questions How do I know if the token is expired? Does AWS ...
android|amazon-web-services|amazon-s3|amazon-cognito
1
2016-05-03T18:15:38.827Z
2,016
5
18
1
398
1
687
18
4
2
true
false
false
false
false
false
low
37,011,636
Passing a Layout and it's contents between Activities
<p>So full admission, I am a bit self taught when it comes to Android Dev, so I maybe going about this all wrong. As such I am open to suggestions! I'm essentially trying to semi-automate a task I do every day currently.</p> <p><strong>Question: How to Pass a LinearLayout, it's contents intact, between Activities?</st...
So full admission, I am a bit self taught when it comes to Android Dev, so I maybe going about this all wrong. As such I am open to suggestions! I'm essentially trying to semi-automate a task I do every day currently. Question: How to Pass a LinearLayout, it's contents intact, between Activities? So I have this 2nd Act...
java|android|android-layout|android-studio|android-intent
0
2016-05-03T18:24:15.680Z
2,016
5
18
1
1,587
2
2,268
53
5
3
true
false
false
false
false
false
zero
37,011,640
Android | Youtube Live Streaming
<p>I need to play Live streaming from Youtube channel into my android app.</p> <p>Here is my RTMP Url - <code>rtmp://a.rtmp.youtube.com/live2</code> And i also have <code>Stream Key</code> Can someone please help me or guide me on this.</p> <p>It would be really great if someone suggest me how to achieve this.</p> ...
I need to play Live streaming from Youtube channel into my android app. Here is my RTMP Url - rtmp://a.rtmp.youtube.com/live2 And i also have Stream Key Can someone please help me or guide me on this. It would be really great if someone suggest me how to achieve this. EDIT I have integrated Youtube in my app, but when ...
android|youtube|rtmp|http-live-streaming|android-youtube-api
1
2016-05-03T18:24:25.203Z
2,016
5
18
1
1,060
1
380
32
5
1
true
false
false
false
false
false
low
37,011,723
Android: Passing float values from Java to JNI is always NaN
<p>Short version: I can pass double values from Java to C++ using a JNI jdouble. However, when I use floats, the C++ jfloat parameter is always NaN.</p> <p>Longer version: I'm modifying the hello-gl2 Android sample for VS 2015 which draws a triangle (<a href="https://code.msdn.microsoft.com/hello-gl2-android-3b61896c...
Short version: I can pass double values from Java to C++ using a JNI jdouble. However, when I use floats, the C++ jfloat parameter is always NaN. Longer version: I'm modifying the hello-gl2 Android sample for VS 2015 which draws a triangle ( https://code.msdn.microsoft.com/hello-gl2-android-3b61896c ), adding a simple ...
android|android-ndk|java-native-interface|nan
2
2016-05-03T18:28:45.103Z
2,016
5
18
1
1,470
1
977
60
4
3
true
false
false
false
false
false
low
37,012,082
CursorIndexOutOfBoundsException - SQLITE ERROR
<p>Please provide me a possible solution for this error. </p> <pre><code>Caused by: android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 2 at android.database.AbstractCursor.checkPosition(AbstractCursor.java:460) at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedC...
Please provide me a possible solution for this error. [CODE] And here is the code. [CODE]
android|sqlite|android-sqlite
-2
2016-05-03T18:46:56.863Z
2,016
5
18
1
93
2
89
46
3
2
true
false
false
false
false
true
negative
37,012,118
Bad quality of image via Glide
<p>I need to download image from url and then place it as background of my RelativeLayout. The image (jpeg) size is about 10kb and it has good quality and resolution. But when I try to download the image with Glide it looks compressed (see background image on the screen below).</p> <p><a href="https://i.stack.imgur.co...
I need to download image from url and then place it as background of my RelativeLayout. The image (jpeg) size is about 10kb and it has good quality and resolution. But when I try to download the image with Glide it looks compressed (see background image on the screen below). [CODE] How can I improve that? Thank you!
android|android-drawable|android-bitmap|android-glide
0
2016-05-03T18:48:39.483Z
2,016
5
18
1
2,769
1
317
30
4
1
true
false
true
false
false
false
zero
37,012,141
ListView items not deleting when I return to the main screen
<p>I'm trying to reset my <code>ListView</code> so that the remaining calories and total would be cleared when an image button is clicked. I tried deleting the <code>ListView</code> items, which worked, but when I came back to the activity the items are still displayed.</p> <pre><code>public class FragmentHome extends...
I'm trying to reset my ListView so that the remaining calories and total would be cleared when an image button is clicked. I tried deleting the ListView items, which worked, but when I came back to the activity the items are still displayed. [CODE]
java|android|listview|android-fragments
0
2016-05-03T18:49:49.237Z
2,016
5
18
1
33
0
248
60
4
1
true
true
false
false
false
false
zero
37,012,242
How can I send a message through NFC from an Android device to a PN532 reader?
<p>Dear StackOverflow users,</p> <p>I have a PN532 shield and I'm using the Adafruit library to control it through a WeMos D1 microcontroller (which is based on Arduino). I'm trying to send it an NDEF message using Android Beam. </p> <p>I tried host-based card emulation but my Android device (Galaxy Nexus running 4.4...
Dear StackOverflow users, I have a PN532 shield and I'm using the Adafruit library to control it through a WeMos D1 microcontroller (which is based on Arduino). I'm trying to send it an NDEF message using Android Beam. I tried host-based card emulation but my Android device (Galaxy Nexus running 4.4 through CMod) doesn...
android|arduino|nfc
4
2016-05-03T18:55:00.600Z
2,016
5
18
1
922
0
903
78
3
2
true
true
false
false
false
false
low
37,012,346
Android AsyncTask, doesn't send the sharedpreference to the socket
<p>I have searched the whole site but didn't find any hint to my problem i'm trying to send some sharedpreferences through socket when i hit the button in main activity and the sharedpreferences are saved in second activity the socket is created in SocketEsp class here is my code:</p> <p>MainActivity:</p> <pre><code>...
I have searched the whole site but didn't find any hint to my problem i'm trying to send some sharedpreferences through socket when i hit the button in main activity and the sharedpreferences are saved in second activity the socket is created in SocketEsp class here is my code: MainActivity: [CODE] EspSocket class: [CO...
java|android|sockets|android-asynctask
0
2016-05-03T19:00:47.760Z
2,016
5
19
1
159
1
357
66
4
3
true
false
false
false
false
false
zero
37,012,430
How to Open HTML pages that uses Java Script in WebView
<p>I am able to load <code>WebPage</code> in my <code>WebView</code>. It also opens <code>Non-Javascript</code> links in <code>WebView</code>, but when it comes to <code>JavsScript</code> it does not do anything.</p> <p>When i use this </p> <pre><code>webView.getSettings().setJavaScriptEnabled(true); </code></pre> <...
I am able to load WebPage in my WebView . It also opens Non-Javascript links in WebView , but when it comes to JavsScript it does not do anything. When i use this [CODE] It stop displaying anything in the WebView I have written the following code. but JavaScript is not working in my WebView [CODE] I want all the activi...
java|android|android-layout|webview|android-webview
1
2016-05-03T19:06:56.480Z
2,016
5
19
1
106
0
404
55
5
2
true
true
false
false
false
false
low
37,012,471
Android GCM - How to remove bad device tokens from my (third party) database?
<p>We have about 900 Android device tokens in our database for GCM push notifications.</p> <p>I use this PHP function to send the push instruction to the GCM server:</p> <pre><code>function send_android_push($android_gcm_reg_ids, $title, $message, $activityToLaunch) { global $ANDROID_GCM_API_KEY, $TESTING, $TEST...
We have about 900 Android device tokens in our database for GCM push notifications. I use this PHP function to send the push instruction to the GCM server: [CODE] Here is a snippet of the JSON content returned by that function/GCM: [CODE] It seems to be saying I have device tokens in my database that are NotRegistered ...
php|android|json|google-cloud-messaging|android-devicetoken
0
2016-05-03T19:09:12.370Z
2,016
5
19
1
1,043
1
1,433
77
5
2
true
false
false
false
false
false
zero
37,012,573
Exception thrown while retrieving data from MongoDB with Android studio
<p>In Android Studio I am trying to retrieve data from MongoDB through my application. For that I have written this piece of code (given below), but the application gives throws Exception and goes inside <code>catch</code>. So what can be the issue with this code? And how it can be solved?</p> <p><strong>Code:</strong...
In Android Studio I am trying to retrieve data from MongoDB through my application. For that I have written this piece of code (given below), but the application gives throws Exception and goes inside catch . So what can be the issue with this code? And how it can be solved? Code: [CODE]
android|mongodb|android-studio
0
2016-05-03T19:15:36.387Z
2,016
5
19
1
52
0
288
71
3
1
true
true
false
false
false
false
zero
37,012,679
how can i change my esp8266 as access point
<pre><code>#include &lt;SoftwareSerial.h&gt; #define DEBUG true SoftwareSerial esp8266(8,9); void setup() { Serial.begin(9600); esp8266.begin(9600); pinMode(11,OUTPUT); digitalWrite(11,LOW); pinMode(12,OUTPUT); digitalWrite(12,LOW); pinMode(13,OUTPUT); digitalWrite(13,LOW);...
[CODE] hi i have this code the esp will connect to the internet so that i can turn on or turn off led from a mobile appl i want to change it . i want the esp8266 01 ti be an access point .. i don't want to use the internet i want the phone to connect directly to the esp8266 what changes do i have to do and how can i co...
android|esp8266
0
2016-05-03T19:22:37.920Z
2,016
5
19
1
518
1
351
43
2
1
true
false
false
false
false
false
zero
37,012,687
Java - Display a text file content inside of a string
<p>The goal is to update the "text" inside the <code>&lt;string name="large_text"&gt;</code> without having to open and run Android Studio then updating the text to make changes inside the <em>scrolling activity</em>. I want to simply make changes to the text file and upload it to the server then it would display. </p>...
The goal is to update the "text" inside the <string name="large_text"> without having to open and run Android Studio then updating the text to make changes inside the scrolling activity . I want to simply make changes to the text file and upload it to the server then it would display. I want to display this text file i...
java|android
1
2016-05-03T19:22:52.610Z
2,016
5
19
1
80
1
432
53
2
1
true
false
false
false
false
false
low
37,012,692
pendingIntent not sending extras, despite the flags
<p>My pendingIntent is carrying no extras to the service, despite the flags I put in the intent or the pendingIntent itself.</p> <p>DrawerActivity.class:</p> <pre><code>@Override public void registerAlarmTask(Calendar time, String title, int iconId) { int requestId = (int) System.currentTimeMillis(); Intent...
My pendingIntent is carrying no extras to the service, despite the flags I put in the intent or the pendingIntent itself. DrawerActivity.class: [CODE] And the StartCommand method from NotificationService: [CODE] The extras from the intent are always null, no matter the requestId, intent flags or pendingIntent flags i p...
android|android-intent|android-pendingintent
1
2016-05-03T19:23:11.683Z
2,016
5
19
1
263
1
419
51
3
2
true
false
false
false
false
false
low
37,012,720
Using Picasso to get Images from Gallery
<p>I'm using Picasso to get images from the gallery. I've followed a few Questions around the same topic on SO but haven't seemed to have fixed my issue. I got my file path from onActivityResult and tried adding the "file:" + .... + ".jpg" to the file and setting it to the ImageView. But it doesn't seem to be setting t...
I'm using Picasso to get images from the gallery. I've followed a few Questions around the same topic on SO but haven't seemed to have fixed my issue. I got my file path from onActivityResult and tried adding the "file:" + .... + ".jpg" to the file and setting it to the ImageView. But it doesn't seem to be setting to i...
android|file|android-alertdialog|picasso
1
2016-05-03T19:24:35.337Z
2,016
5
19
1
391
0
520
40
4
1
true
true
false
false
false
false
low
37,012,781
How Do We Test Direct Boot?
<p>According to <a href="http://developer.android.com/preview/features/direct-boot.html#testing" rel="noreferrer">the N Developer Preview documentation</a>, we can set up Direct Boot support on Android N through Settings > Developer Options > Convert to file encryption. I cannot find this option on a Nexus 6 running ND...
According to the N Developer Preview documentation , we can set up Direct Boot support on Android N through Settings > Developer Options > Convert to file encryption. I cannot find this option on a Nexus 6 running NDP2, nor on an NDP2 emulator. According to that same documentation, we can also set this up by running ad...
android|android-7.0-nougat
9
2016-05-03T19:28:20.043Z
2,016
5
19
1
2,101
1
847
27
2
0
false
false
false
false
false
false
medium
37,012,788
Null Reference Exception From Azure Notification Hubs
<p>I have been using Azure Notification Hubs along with GCM to send notifications to the users of my app. This was all working great until I published the app to the Play Store. Now it gives a 500 Server error whenever I try to post a notification. I have no idea why this error is happening. Perhaps the app is not pick...
I have been using Azure Notification Hubs along with GCM to send notifications to the users of my app. This was all working great until I published the app to the Play Store. Now it gives a 500 Server error whenever I try to post a notification. I have no idea why this error is happening. Perhaps the app is not picking...
c#|android|google-play|entity-framework-6|azure-notificationhub
0
2016-05-03T19:28:51.960Z
2,016
5
19
1
606
1
685
53
5
3
true
false
false
false
false
false
zero
37,012,792
Explain the error in my android application
<p>I am making an android app,but can't launch it due to following error.Can anybody tell about this error?</p> <pre><code>05-04 00:52:31.682 2420-2420/com.rsa_solutions.attendance I/art: Not late-enabling -Xcheck:jni (already on) 05-04 00:52:31.865 2420-2420/com.rsa_solutions.attendance W/System: ClassLoader referenc...
I am making an android app,but can't launch it due to following error.Can anybody tell about this error? [CODE]
java|android
0
2016-05-03T19:29:06.243Z
2,016
5
19
1
23
0
111
43
2
1
true
true
false
false
false
false
zero
37,012,881
Getting Users Geo Location API 23
<p>Every time I run this, I get this error message "java.lang.IllegalStateException: System services not available to Activities before onCreate()"</p> <p>I need to get the users longitude and latitude so I can use it for the rest of my app, but I cannot figure out how to get past this error.</p> <pre><code> publi...
Every time I run this, I get this error message "java.lang.IllegalStateException: System services not available to Activities before onCreate()" I need to get the users longitude and latitude so I can use it for the rest of my app, but I cannot figure out how to get past this error. [CODE] }
android|geolocation
0
2016-05-03T19:34:12.360Z
2,016
5
19
1
74
1
292
33
2
1
true
false
false
false
false
false
zero
37,012,975
Submitting scores to Google Play Games leaderboards and displaying new rank(s)
<p><strong><em>I'm working on a game where scores are submitted to leaderboards in an activity and the new high scores are displayed with ranks in a fragment. I have something (somewhat) functional, but the success rate is ~10%.</em></strong></p> <p>The flow is as follows:</p> <p><strong>Method handleLeaders</strong>...
I'm working on a game where scores are submitted to leaderboards in an activity and the new high scores are displayed with ranks in a fragment. I have something (somewhat) functional, but the success rate is ~10%. The flow is as follows: Method handleLeaders This method gets the current scores for each leaderboard, and...
java|android|google-play|google-play-games
7
2016-05-03T19:39:08.067Z
2,016
5
19
1
885
1
1,142
78
4
3
true
false
false
false
false
false
medium
37,013,028
Unable to set connection type in Hyper-V Virtual Switch Manager
<p>For the <em>Visual Studio Android Emulator</em> I have to set the internet connection as a <em>Virtual Switch</em>. But I keep getting an error. This is what happens when I change the Virtual Switch of Windows Phone Emulator to my Physical network:</p> <p><a href="https://i.stack.imgur.com/fEXgF.png" rel="nofollow ...
For the Visual Studio Android Emulator I have to set the internet connection as a Virtual Switch . But I keep getting an error. This is what happens when I change the Virtual Switch of Windows Phone Emulator to my Physical network: By default it's set to Internal Network, when I select External network and my physical ...
android|hyper-v|visual-studio-emulator
1
2016-05-03T19:42:59.257Z
2,016
5
19
1
128
0
707
63
3
0
false
true
false
false
false
false
low
37,013,086
Slide Menu using Fragments: How to don't return on Splashscreen on back button
<p>I just implemented this menu, but the difference it's I'm gonna use some Actitivies at the beginning,for splascreen and sign-in:</p> <pre><code>public class SpashscreenActivity extends FragmentActivity { DatabaseHandler db; @Override protected void onCreate(Bundle savedInstanceState) { super.o...
I just implemented this menu, but the difference it's I'm gonna use some Actitivies at the beginning,for splascreen and sign-in: [CODE] If the check of the table user is empty, I'm gonna show the activity for sign-in: [CODE] Sowhen I'm in the Fragment with the Slide menu and I push on back button, the previous activity...
android|android-fragments|fragment
0
2016-05-03T19:45:59.960Z
2,016
5
19
1
38
2
372
78
3
2
true
false
false
false
false
false
zero
37,013,097
ViewPager always starts from 0th position
<p>I have a RecyclerView in a Fragment which is in a ViewPager hosted in an Activity. There's two Activities in this project MainActivity which lists items and DetailActivity which shows details about the item chosen in the first activity.</p> <p>When I move from DetailsActivity to MainActivity I am always take to Vie...
I have a RecyclerView in a Fragment which is in a ViewPager hosted in an Activity. There's two Activities in this project MainActivity which lists items and DetailActivity which shows details about the item chosen in the first activity. When I move from DetailsActivity to MainActivity I am always take to ViewPager Frag...
android|android-fragments|android-viewpager
0
2016-05-03T19:46:44.583Z
2,016
5
19
1
401
2
540
41
3
1
true
false
false
false
false
false
zero
37,013,117
Android - onPostExecute Result doesn't receive info
<p>I have two codes inside the doInBackground, but only the second passes the data to the <code>onPostExecute</code>. Already tried to debug the code, but it wasn't much helpful. The webservice that I'm using is fully functional, I think.</p> <pre><code>public void onClickWheater(View view){ new HttpAsyncTask...
I have two codes inside the doInBackground, but only the second passes the data to the onPostExecute . Already tried to debug the code, but it wasn't much helpful. The webservice that I'm using is fully functional, I think. [CODE] Edit - PostExecute [CODE]
java|android|json
0
2016-05-03T19:47:48.020Z
2,016
5
19
1
24
0
256
51
3
2
true
true
false
false
false
false
zero
37,013,181
NPE when extending VideoControlsMobile class
<p>I'm trying to extend <a href="https://github.com/brianwernick/ExoMedia/blob/master/library/src/main/java/com/devbrackets/android/exomedia/ui/widget/VideoControlsMobile.java" rel="nofollow">VideoControlsMobile</a> class to add some functionality to it but I'm getting a <code>NullPointerException</code> when I'm tryin...
I'm trying to extend VideoControlsMobile class to add some functionality to it but I'm getting a NullPointerException when I'm trying to use it. The code where I use this class is : [CODE] and the error I get is : [CODE] Where line 38 in MainActivity is : emVideoView.setVideoURI(Uri.parse(url)); and the MyVideoControls...
java|android
1
2016-05-03T19:51:31.403Z
2,016
5
19
1
122
0
343
44
2
3
true
true
false
false
false
false
low
37,013,233
Android App can't access Vagrant Homestead hosted Web API
<p><strong>Note:</strong><br/> I'm new to Laravel, Vagrant-Homestead setup, and Android's networking library Retrofit. But I'm good in Android and PHP Web development. However I setup Laravel, developed a simple test web API, just to test Retrofit library in Android App. And also please don't mark this as a Duplicate Q...
Note: I'm new to Laravel, Vagrant-Homestead setup, and Android's networking library Retrofit. But I'm good in Android and PHP Web development. However I setup Laravel, developed a simple test web API, just to test Retrofit library in Android App. And also please don't mark this as a Duplicate Question of the following ...
php|android|vagrant|laravel-5.2|retrofit2
4
2016-05-03T19:54:27.267Z
2,016
5
19
1
2,029
2
1,164
57
5
4
true
false
false
false
false
false
low
37,013,243
How do I iteratively add to a List on button click in java?
<p>I want to add values to an array/list and then store these in shared preferences, to then display on another activity.</p> <p>When I try my code it only seems to save the first value, and if I add more it just overwrites the value.</p> <p>I do not want to create the List each time I click the button so I have put ...
I want to add values to an array/list and then store these in shared preferences, to then display on another activity. When I try my code it only seems to save the first value, and if I add more it just overwrites the value. I do not want to create the List each time I click the button so I have put it at the very begi...
java|android|sharedpreferences
1
2016-05-03T19:55:01.477Z
2,016
5
19
1
88
1
661
59
3
2
true
false
false
false
false
false
low
37,013,619
ButterKnife 8.0.1 not working
<p>I am using <code>butterknife 8.0.1</code>, but a <code>nullpointerexception</code> is appearing.</p> <p>This line is on my build.grade file: <code>compile 'com.jakewharton:butterknife:8.0.1'</code></p> <p>this is my <code>Main Class:</code> (I wrote the includes properly)</p> <pre><code>import butterknif...
I am using butterknife 8.0.1 , but a nullpointerexception is appearing. This line is on my build.grade file: compile 'com.jakewharton:butterknife:8.0.1' this is my Main Class: (I wrote the includes properly) [CODE] and this is MainActivity.xml : [CODE]
android|nullpointerexception|butterknife
59
2016-05-03T20:19:22.917Z
2,016
5
20
1
33,766
10
252
29
3
2
true
false
true
true
true
false
high
37,013,813
How to connect an Android app to live remote datadase like 000webhost?
<p>I just learned how to connect an Android app to a database using Xampp server. Now I want to use a live, free remote server like 000webhost but I can't figure out where is the problem. </p> <p>My 000webhost domain info:</p> <blockquote> <p>Domain benbenben.net23.net<br> Username a5323947<br> Password ...
I just learned how to connect an Android app to a database using Xampp server. Now I want to use a live, free remote server like 000webhost but I can't figure out where is the problem. My 000webhost domain info: Domain benbenben.net23.net Username a5323947 Password Change Disk Usage 0.02 Bandwidth 100000 MB (100GB) Hom...
php|android|mysql|server|xampp
0
2016-05-03T20:30:52.083Z
2,016
5
20
1
526
0
839
70
5
2
true
true
false
false
false
false
zero
37,013,977
Why doesn't bitmap data from TextureView.getBitmap update in an ImageView?
<p>I have a piece of code that displays camera preview in a <code>TextureView</code>. Once in a while (let's say the user presses a button) I obtain a bitmap from the <code>TextureView</code> and set it for display in an <code>ImageView</code>, like this:</p> <pre><code>private void freezeFrame() { textureView.getBi...
I have a piece of code that displays camera preview in a TextureView . Once in a while (let's say the user presses a button) I obtain a bitmap from the TextureView and set it for display in an ImageView , like this: [CODE] The freezeBitmap is pre-allocated and reused on multiple calls to the above method. The problem i...
android|android-bitmap|textureview
2
2016-05-03T20:41:10.257Z
2,016
5
20
1
645
0
993
74
3
1
true
true
false
false
false
false
low
37,013,987
Superpowered API - SuperpoweredDecoder::decode does not return 0 for end of file
<p>I am using the Superpowered audio API in a Android project.</p> <p>I want to load a small wav file (10 ms length) using the <code>SuperpoweredDecoder</code> class. If I understood correctly I should call the <code>decode</code> method in a loop until it returns 0 for end of file.</p> <p>My small file is already re...
I am using the Superpowered audio API in a Android project. I want to load a small wav file (10 ms length) using the SuperpoweredDecoder class. If I understood correctly I should call the decode method in a loop until it returns 0 for end of file. My small file is already read completely in the first round but decode r...
android|c++|audio|android-ndk
1
2016-05-03T20:41:35.510Z
2,016
5
20
1
529
1
560
80
4
1
true
false
false
false
false
false
low
37,014,048
USB interrupt transfer lost data
<p>Since few days I am dealing with confusing USB problem. My Android(4.2) application should have connect with USB device which transmit/receive data using USB HID interrupt protocol. Sending data from Android to device works perfectly but I have got plenty of problems with receiving proper data. Main application base...
Since few days I am dealing with confusing USB problem. My Android(4.2) application should have connect with USB device which transmit/receive data using USB HID interrupt protocol. Sending data from Android to device works perfectly but I have got plenty of problems with receiving proper data. Main application based o...
android|usb|interrupt|hid
0
2016-05-03T20:45:28.437Z
2,016
5
20
1
296
0
802
32
4
1
true
true
false
false
false
false
zero
37,014,059
app crashes before the request is sent to the server
<p>I'm building an android app with Xamarin which communicates with an ASP.net server's API. I'm trying to upload a file to the server using the following lines of code:</p> <pre><code> public async Task&lt;HttpResponseMessage&gt; UploadFile(byte[] file) { var progress = new System.Net.Http.Handlers...
I'm building an android app with Xamarin which communicates with an ASP.net server's API. I'm trying to upload a file to the server using the following lines of code: [CODE] The app crashes before the server receives the request. The file I'm trying to upload could be a video or an audio file. The server receives the r...
c#|android|file-upload|asp.net-web-api|xamarin
0
2016-05-03T20:46:25.073Z
2,016
5
20
1
180
0
592
52
5
2
true
true
false
false
false
false
zero
37,014,112
Returning to parent activity's existing instance from another activity
<p>I am creating a library project which has chat feature, so user has to register his launch activity as parent in order to perform backstacking(navigating back). here is my manifest for sample app..</p> <pre><code>&lt;activity android:name=".MainActivity" android:label="@string/app_name" ...
I am creating a library project which has chat feature, so user has to register his launch activity as parent in order to perform backstacking(navigating back). here is my manifest for sample app.. [CODE] and here is how i am trying to navigate back from ChatActivity [CODE] But its always creating a new instance. is th...
android|android-intent|android-activity|android-navigation
0
2016-05-03T20:49:51.850Z
2,016
5
20
1
574
2
528
70
4
2
true
false
false
false
false
false
zero
37,014,124
App crash with proguard activated
<p>I have finished my app but when i try to build with </p> <pre><code>minifyEnabled true </code></pre> <p>It crash.</p> <p>My <strong>build.gradle</strong>:</p> <pre><code>apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.2" defaultConfig { applica...
I have finished my app but when i try to build with [CODE] It crash. My build.gradle : [CODE] I have not edited other files. I have searched on Google but I can't resolve it. Thank you in advance! LOG: http://pastebin.com/d7i4YUsK (Log is a big text) Proguard.config is this? [CODE] SOLVED: I have found the solution: [C...
android|android-gradle-plugin
-1
2016-05-03T20:50:38.377Z
2,016
5
20
1
159
1
324
33
2
4
true
false
false
false
false
true
negative
37,014,149
Put two parcelable inside same intent
<p>Folks, I'm getting mad with parcelables. Here goes, I have these lines:</p> <pre><code>Intent i = new Intent(context, PaymentDetailsActivity.class); i.putExtra(ConstantsUtils.PARAM_INTENT_ORDER_DETAILS, responseOrderInfoApiModel); i.putExtra(ConstantsUtils.PARAM_INTENT_PAYMENT_INFO, paymentInfoViewModel); startActi...
Folks, I'm getting mad with parcelables. Here goes, I have these lines: [CODE] and here I receive my parcelables: [CODE] The point is, responseOrderInfoApiModel is receiving a null, but it shouldn't, however if I comment the line: [CODE] My responseOrderInfoApiModel receive the correct value. Here goes my parcelables: ...
android|android-intent|parcelable
2
2016-05-03T20:52:15.310Z
2,016
5
20
1
161
1
465
37
3
6
true
false
false
false
false
false
low
37,014,401
Xamarin Android Binding incorrect method override name
<p>Quite a strange problem in Xamarin.Android bindings. I have a java class defined as follows:</p> <pre class="lang-java prettyprint-override"><code>// Java world public abstract class BaseRenderableSeries&lt;TX extends Comparable&lt;TX&gt;, TY extends Comparable&lt;TY&gt;, TRenderPassData exten...
Quite a strange problem in Xamarin.Android bindings. I have a java class defined as follows: [CODE] Derived classes in Java override getHitProvider as follows: [CODE] In Xamarin.Android the binding is generated like this: [CODE] Que? The property has been renamed from HitProvider to RawHitProvider . Derived classes of ...
xamarin|xamarin.android
2
2016-05-03T21:10:44.567Z
2,016
5
21
1
957
1
571
54
2
4
true
false
false
false
false
false
low
37,014,441
Custom ImageViews not populating when using Picasso for Custom Marker InfoWindows in Maps
<p>I'm trying to use Picasso now for my Custom Marker's Images. I was previously using a Bitmap and setting individual Marker's InfoWindow Images with those Bitmaps with the help of a HashMap. But I like how Picasso will cache the Images for me and helps scale them etc.</p> <pre><code>public class HomeActivity extends...
I'm trying to use Picasso now for my Custom Marker's Images. I was previously using a Bitmap and setting individual Marker's InfoWindow Images with those Bitmaps with the help of a HashMap. But I like how Picasso will cache the Images for me and helps scale them etc. [CODE] Is there something I'm not doing right? The p...
android|google-maps|google-maps-markers|picasso
2
2016-05-03T21:13:16.083Z
2,016
5
21
1
525
0
669
89
4
1
true
true
false
false
false
false
low
37,014,501
Convert RSA SecurID Phone Token to Windows Token
<p>There's an RSA soft token app for smart phones as well as a Windows desktop counterpart. I received a QR code to be used with the phone app, but I'd like to use it on my computer. The computer version of the RSA soft token program expects .sdtid files.</p> <p>The phone-app QR code decodes into a URL with the follow...
There's an RSA soft token app for smart phones as well as a Windows desktop counterpart. I received a QR code to be used with the phone app, but I'd like to use it on my computer. The computer version of the RSA soft token program expects .sdtid files. The phone-app QR code decodes into a URL with the following form: [...
android|windows|token|securid
6
2016-05-03T21:17:12.493Z
2,016
5
21
1
3,435
1
1,167
48
4
3
true
false
true
false
false
false
medium
37,014,542
Filterable ArrayList Base Adapter
<p>I am trying to create a filterable list view. The base adapter for the list view varies from anything I've found that's been filterable, and I can't figure out how to modify it to enable it to be filtered. The adapter:</p> <pre><code>public class PingerAdapter extends BaseAdapter { private static final String TAG ...
I am trying to create a filterable list view. The base adapter for the list view varies from anything I've found that's been filterable, and I can't figure out how to modify it to enable it to be filtered. The adapter: [CODE] The portion of the fragment that creates the listview: [CODE] Currently getFilter() cannot be ...
java|android|baseadapter|android-filterable
1
2016-05-03T21:20:01.510Z
2,016
5
21
1
45
0
349
33
4
2
true
true
false
false
false
false
low
37,014,600
Populating listview from json
<p>I know that this question is asked 100 times, but for some reason i cannot find what is wrong in my code. I am very new to android and java. Basically i have a wordpress website from which I want to get the articles. I have installed the wp-rest-api v2 to get the data in json array format. In my android app I have<...
I know that this question is asked 100 times, but for some reason i cannot find what is wrong in my code. I am very new to android and java. Basically i have a wordpress website from which I want to get the articles. I have installed the wp-rest-api v2 to get the data in json array format. In my android app I have Main...
android|json|listview|wordpress-json-api
0
2016-05-03T21:23:17.983Z
2,016
5
21
1
195
1
611
29
4
4
true
false
false
false
false
false
zero
37,014,802
Displaying Item's (Icons) evenly in Toolbar
<p>I want to display all five Icons evenly in my toolbar. But currently there is only one icon displayed on the left hand side of the toolbar, the rest of the space inside the toolbar is empty. I tried to manage the items with a Method called <code>setupEvenlyDistributedToolbar</code>.</p> <p>I got this Code in MainAc...
I want to display all five Icons evenly in my toolbar. But currently there is only one icon displayed on the left hand side of the toolbar, the rest of the space inside the toolbar is empty. I tried to manage the items with a Method called setupEvenlyDistributedToolbar . I got this Code in MainActivity: [CODE] My XML f...
android|toolbar
2
2016-05-03T21:36:59.843Z
2,016
5
21
1
118
0
508
43
2
4
true
true
false
false
false
false
low
37,014,836
google map android studio showing map error
<p>my app executed successfully , the problem is that i created button on the second XML layout that will take you to the map (class+layout) , i created method that take me to the class , but i face problems which is :</p> <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main Process: inducesmile.com.androidloginandregi...
my app executed successfully , the problem is that i created button on the second XML layout that will take you to the map (class+layout) , i created method that take me to the class , but i face problems which is : [CODE] i think the problem is in calling the object of the class onclick : [CODE] calling method [CODE] ...
android|google-maps
0
2016-05-03T21:38:38.650Z
2,016
5
21
1
71
0
366
43
2
4
true
true
false
false
false
false
zero
37,014,990
Synchronized method called by Android Activity onCreate method
<p>Is the following situation poor design or am I overlooking something important?</p> <p>Here is the code</p> <pre><code>public class MainActivity extends AppCompatActivity … { … @Override public void onCreate(Bundle savedInstanceState){ … buildGoogleApiClient(); } /** * Builds a GoogleApiC...
Is the following situation poor design or am I overlooking something important? Here is the code [CODE] Why is buildGoogleApiClient synchronized when it’s ever only called from inside onCreate ? I know it cannot hurt, but that's hardly the point of the question. What I need to know is: Why is it necessary? Edit source ...
java|android|multithreading|android-activity
4
2016-05-03T21:50:32.530Z
2,016
5
21
1
2,102
1
515
62
4
1
true
false
false
false
false
false
low
37,015,192
Cannot access CollapsingToolbar View
<p>I have a Navigation Drawer Activity <code>(NavActivity.java)</code>, which has a fragment <code>(HomeFrag)</code> with a recyclerView. When a user selects an item from the recyclerView, it replaces the current fragment with this one (<code>itemFrag</code>):</p> <pre><code>&lt;android.support.design.widget.Coordinat...
I have a Navigation Drawer Activity (NavActivity.java) , which has a fragment (HomeFrag) with a recyclerView. When a user selects an item from the recyclerView, it replaces the current fragment with this one ( itemFrag ): [CODE] Now, I cannot access the collapseBar's views
android|xml|android-fragments|android-viewpager|android-collapsingtoolbarlayout
0
2016-05-03T22:06:12.220Z
2,016
5
22
1
27
1
273
36
5
1
true
false
false
false
false
false
zero
37,015,266
Getting facebook pictures with graph api using android studio
<p>I cant figure out how to receive the users facebook albums and photos with graph api. I was able to get some info (with some help) like username, email etc. but can't figure out photos. </p> <pre><code> GraphRequest request = GraphRequest.newMeRequest(AccessToken.getCurrentAccessToken(), new GraphReques...
I cant figure out how to receive the users facebook albums and photos with graph api. I was able to get some info (with some help) like username, email etc. but can't figure out photos. [CODE]
java|facebook-graph-api|android-studio|photos
0
2016-05-03T22:11:25.677Z
2,016
5
22
1
896
1
192
61
4
1
true
false
false
false
false
false
zero
37,015,671
Backgrand image java
<p>I want to add a image to the background on android studio but I have no idea how to do it. In the code below I have public static final Color BACKGROUND_COLOR = Color.WHITE;, but I want to change it were the background is a image not a color. How do I do this? Thanks</p> <pre><code>package com.udacity.gamedev.icicl...
I want to add a image to the background on android studio but I have no idea how to do it. In the code below I have public static final Color BACKGROUND_COLOR = Color.WHITE;, but I want to change it were the background is a image not a color. How do I do this? Thanks [CODE]
java|android|android-studio|jframe
-1
2016-05-03T22:50:03.307Z
2,016
5
22
1
53
3
274
20
4
1
true
false
false
false
false
true
negative
37,015,686
DialogFragment with Roboelctric
<p>I wanted to test if a dialog Fragment is shown or not, with <strong>Roboelectric</strong>.</p> <pre><code>public class SomeDialogActivity extends FragmentActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEA...
I wanted to test if a dialog Fragment is shown or not, with Roboelectric . [CODE] Now I wanted to test if this dialog is shown, something like this: [CODE]
android|android-dialogfragment|robolectric
6
2016-05-03T22:50:51.787Z
2,016
5
22
1
2,747
1
155
31
3
2
true
false
true
false
false
false
medium
37,015,737
Fragment overlapping another fragment instead of replacing it
<p>The setup I have is a main_activity fragment that just has welcome text, and when you tap the start button, it's supposed to switch fragments. Instead of replacing the current fragment, it just overlays it on top of the main_activity fragment and won't allow me to perform the action associated with the new fragment....
The setup I have is a main_activity fragment that just has welcome text, and when you tap the start button, it's supposed to switch fragments. Instead of replacing the current fragment, it just overlays it on top of the main_activity fragment and won't allow me to perform the action associated with the new fragment. Ma...
java|android|android-fragments
0
2016-05-03T22:55:12.293Z
2,016
5
22
1
82
1
544
61
3
6
true
false
false
false
false
false
zero
37,015,842
500 internal server error when writing file to the server
<p>I'm developing an android app with Xamarin that uploads file to the server. My server is asp.net based and is hosted by azure. Xamarin throws this error when the code tries to write the file to the server directory. The code I'm using to post the file to the server is as follows:</p> <pre><code> public async...
I'm developing an android app with Xamarin that uploads file to the server. My server is asp.net based and is hosted by azure. Xamarin throws this error when the code tries to write the file to the server directory. The code I'm using to post the file to the server is as follows: [CODE] I've tried using a try catch blo...
android|asp.net|file-upload|xamarin
0
2016-05-03T23:05:53.643Z
2,016
5
23
1
504
0
1,085
57
4
3
true
true
false
false
false
false
zero
37,015,866
Retrieve firebase data in the same order as its added
<p>How do I retrieve the firebase list in the same order as it is added. Looks like I’m getting them in a random order. I need to have them in order to draw my polyline in correct order.</p> <pre><code>List&lt;LatLng&gt; latLngList = new ArrayList&lt;&gt;(); ref.addValueEventListener(new ValueEventListener() { @Ov...
How do I retrieve the firebase list in the same order as it is added. Looks like I’m getting them in a random order. I need to have them in order to draw my polyline in correct order. [CODE] I want the JSON file to be in the same order as it the entries were added to the firebase list: [CODE]
android|firebase|firebase-realtime-database
1
2016-05-03T23:09:30.163Z
2,016
5
23
1
1,615
2
293
53
3
2
true
false
false
false
false
false
low
37,015,934
ViewPager in a Fragment in an Activity
<p>I have a Navigation Drawer Activity <code>(NavActivity.java)</code>, which has a fragment <code>(HomeFrag)</code> with a recyclerView. When a user selects an item from the recyclerView, it replaces the current fragment with this one (<code>itemFrag</code> which contains a ViewPager). This ViewPager does not appear a...
I have a Navigation Drawer Activity (NavActivity.java) , which has a fragment (HomeFrag) with a recyclerView. When a user selects an item from the recyclerView, it replaces the current fragment with this one ( itemFrag which contains a ViewPager). This ViewPager does not appear at all! [CODE] itemFrag.java: [CODE]
android|android-fragments|android-viewpager|android-collapsingtoolbarlayout
0
2016-05-03T23:16:53.157Z
2,016
5
23
1
115
1
315
38
4
2
true
false
false
false
false
false
zero
37,015,998
Tab Activity Swipe
<p>There is a tabhost that contains 3 elements. How to make swipe between them?</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="match_parent" android:layout_height="match_parent" &g...
There is a tabhost that contains 3 elements. How to make swipe between them? [CODE] If you alter this option does not work, then how to do this with a tabbed activity(i need to swipe between the 3 elements)? Thanks in advance.
java|android|swipe
1
2016-05-03T23:24:10.243Z
2,016
5
23
1
56
0
226
18
3
1
true
true
false
false
false
false
low
37,016,050
Second dialog is automatically destroyed when created from within a first dialog's OnClickListener
<p>Basically, I have a login screen where users type their email and password to log in. After they have submitted their data, I check if they have confirmed their email address. If not, I display a dialog with a corresponding message. In that dialog I provide them with a neutral button to request a new confirmation em...
Basically, I have a login screen where users type their email and password to log in. After they have submitted their data, I check if they have confirmed their email address. If not, I display a dialog with a corresponding message. In that dialog I provide them with a neutral button to request a new confirmation email...
android|android-dialogfragment|android-dialog
0
2016-05-03T23:31:42.527Z
2,016
5
23
1
182
2
915
98
3
2
true
false
false
false
false
false
zero
37,016,102
Low volume in call recording (Rx)
<p>I do the following test:</p> <p>Call from android app phone to home phone, first speak from (android phone - > home phone), in the same call speak from (home phone-> android phone).</p> <p>The voice (android phone - > home phone) sounds in good volume (10/10 volume). But the voice (home phone-> android phone) soun...
I do the following test: Call from android app phone to home phone, first speak from (android phone - > home phone), in the same call speak from (home phone-> android phone). The voice (android phone - > home phone) sounds in good volume (10/10 volume). But the voice (home phone-> android phone) sounds very low (4/10 v...
android|mediarecorder|android-audiorecord
2
2016-05-03T23:38:12.240Z
2,016
5
23
1
4,195
1
1,226
33
3
1
true
false
true
false
false
false
low
37,016,205
Streaming VLC video to Android through HTTP using VideoView
<p>I have been trying to stream video from VLC to Android using VideoView. The following is the VLC command I have been using, which I know works because I have tested it in a web browser:</p> <pre><code>cvlc v4l2:///dev/video0 --sout '#transcode{width=150,vcodec=VP80,acodec=vorb,ab=128,channels=2,samplerate=200}:std{...
I have been trying to stream video from VLC to Android using VideoView. The following is the VLC command I have been using, which I know works because I have tested it in a web browser: [CODE] The code I am using for the videoview is as follows: [CODE] This is the only error message I see in LogCat: [CODE] And the mess...
java|android|networking
2
2016-05-03T23:49:30.877Z
2,016
5
23
1
190
0
526
59
3
3
true
true
false
false
false
false
low
37,016,228
Is there an Android equivalent to the continuous flag for UISliders on iOS?
<p>So I am writing a Xamarin.Forms application. I have a volume slider that needs to send a volume command to a device when the value changes. Because the volume is sent over a TCP connection and must be verified by the device, and the device may not always react in real time, (and is being monitored for changes as wel...
So I am writing a Xamarin.Forms application. I have a volume slider that needs to send a volume command to a device when the value changes. Because the volume is sent over a TCP connection and must be verified by the device, and the device may not always react in real time, (and is being monitored for changes as well f...
c#|android|xamarin|xamarin.android|xamarin.forms
1
2016-05-03T23:52:07.023Z
2,016
5
23
1
380
1
808
75
5
1
true
false
false
false
false
false
low
37,016,264
If statement in Android Studio - Proceed if just one word in a sentence matches
<p>I am trying to create an app that checks the condition of a statement entered in an EditText field. At the moment, I have written if the word entered is 'next' which is not case sensitive to then proceed onto the next screen by pressing the 'Blogin' button.</p> <p>My question is how do I write an 'if' statement so...
I am trying to create an app that checks the condition of a statement entered in an EditText field. At the moment, I have written if the word entered is 'next' which is not case sensitive to then proceed onto the next screen by pressing the 'Blogin' button. My question is how do I write an 'if' statement so that if a p...
android|listview|android-studio|android-intent|android-edittext
0
2016-05-03T23:56:35.677Z
2,016
5
23
1
262
2
808
79
5
1
true
false
false
false
false
false
zero
37,016,333
Auto resize gridview height?
<p>I created a gridview with 2 columns and 3 rows wich contains images with text. <a href="https://i.stack.imgur.com/SbE6a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SbE6a.png" alt="enter image description here"></a></p> <p>Everthing works great.. But the problem is when I try with another kin...
I created a gridview with 2 columns and 3 rows wich contains images with text. Everthing works great.. But the problem is when I try with another kind of screen... I have a Moto X 2013 and the images have 192x192 px and the gridview looks great With a moto G2 I have a scroll into de gridview and I don't want it I put t...
java|android|android-drawable|android-gridview
2
2016-05-04T00:04:35.103Z
2,016
5
0
2
1,510
1
1,056
28
4
3
true
false
false
false
false
false
low
37,016,339
Device Id Uncaught Error: Error calling method on NPObject
<p>I'm trying to get the device id to show in javascript but am receiving the above error. Im using android studio. I am able to get the getState value no issues. I'm a noob at the android stuff. Any help would be appreciated. Here is my code</p> <p>MainActivity.java</p> <pre><code>import android.os.Bundle; import or...
I'm trying to get the device id to show in javascript but am receiving the above error. Im using android studio. I am able to get the getState value no issues. I'm a noob at the android stuff. Any help would be appreciated. Here is my code MainActivity.java [CODE] HelperClass.java [CODE] index.html [CODE]
javascript|java|android
1
2016-05-04T00:05:32.037Z
2,016
5
0
2
83
0
306
58
3
3
true
true
false
false
false
false
low
37,016,409
How to send SMS on real device phone number? not on emulator
<p>I need your help. I want to send SMS on real device on its contact number not on emulator. I tried this code but its working on emulator not on real device. can anybody tell me about any API or any other library to send SMS on real device phone number. Please if don't want to help me then don't make it duplicate ple...
I need your help. I want to send SMS on real device on its contact number not on emulator. I tried this code but its working on emulator not on real device. can anybody tell me about any API or any other library to send SMS on real device phone number. Please if don't want to help me then don't make it duplicate please...
android
0
2016-05-04T00:14:56.577Z
2,016
5
0
2
106
0
479
60
1
1
true
true
false
false
false
false
zero
37,016,465
What's the best way to handle android and apple mobile app upgrades?
<p>I have read the app version control docs on both google and apple official websites but still have the following questions :</p> <ol> <li>Google does not specify a particular time when the updated app would be available for download to users - how do I decide when to deploy updates to my web services? If I deploy ...
I have read the app version control docs on both google and apple official websites but still have the following questions : Google does not specify a particular time when the updated app would be available for download to users - how do I decide when to deploy updates to my web services? If I deploy the web services b...
android|ios|mobile|google-play
0
2016-05-04T00:20:15.987Z
2,016
5
0
2
43
0
1,045
68
4
0
false
true
false
false
false
false
zero
37,016,468
Hybrid App Error adding plugin nl.xservices.plugins.Calendar
<p>Using this walk through i added cordova calendar for the android environment of my hybrid application. I try to add an event and get the log below.</p> <p><a href="http://phonegap-plugins.com/plugins/eddyverbruggen/calendar-phonegap-plugin" rel="nofollow noreferrer">http://phonegap-plugins.com/plugins/eddyverbrugge...
Using this walk through i added cordova calendar for the android environment of my hybrid application. I try to add an event and get the log below. http://phonegap-plugins.com/plugins/eddyverbruggen/calendar-phonegap-plugin I feel like the java classes are in the wrong spot. W/System.err(22908): java.lang.ClassNotFound...
android|cordova|phonegap-plugins|ibm-mobilefirst|hybrid-mobile-app
0
2016-05-04T00:20:26.753Z
2,016
5
0
2
408
1
3,040
60
5
0
false
false
false
false
false
false
zero
37,016,637
Register the same Callback in two different LoginButtons in Facebook SDK
<p>I have two buttons; each one is in a different layout, but they do the same thing because they are each a <code>LoginButton</code> from the Facebook SDK.</p> <p>Can I make the same class handle the same action on two different buttons from different layouts?</p> <p>I don't like to use an inner class so that's why ...
I have two buttons; each one is in a different layout, but they do the same thing because they are each a LoginButton from the Facebook SDK. Can I make the same class handle the same action on two different buttons from different layouts? I don't like to use an inner class so that's why I've made a new private class ca...
android|facebook
1
2016-05-04T00:43:55.250Z
2,016
5
0
2
56
1
510
72
2
2
true
false
false
false
false
false
low
37,016,723
Cordova project works on browser but not in android
<p>I'm having a strange problom where my cordova app on android fails to load js/css files where if I run in the browser It does not.</p> <p>from remote debugging I got these error messages: <code> file:///css/all.css Failed to load resource: net::ERR_FILE_NOT_FOUND file:///js/shims.js Failed to load resource: net::ER...
I'm having a strange problom where my cordova app on android fails to load js/css files where if I run in the browser It does not. from remote debugging I got these error messages: file:///css/all.css Failed to load resource: net::ERR_FILE_NOT_FOUND file:///js/shims.js Failed to load resource: net::ERR_FILE_NOT_FOUND f...
android|cordova
1
2016-05-04T00:55:52.650Z
2,016
5
0
2
1,341
2
462
51
2
2
true
false
false
false
false
false
low