Data dodania Pytanie
2017-12-09 20:12 findViewById() not finding custom view but it exists in layout »
Somehow my acitivity_main.xml has the view BottomSelectElement (custom view) but I cannot find it in the activity, but I can find anything else. acti...
(1) odpowiedzi
2017-12-09 19:12 Android Cordova App with IFrames Chrome 63 No Request Headers Cookies »
Since the release of Chrome 63 on Android, on the 6th December 2017, I have encountered a problem with my companies Cordova based Android app. This ap...
(4) odpowiedzi
2017-12-09 16:12 rxJava debounce operator not working with Observable.range() »
AFAIK, the debounce() operator of rxJava is used for delaying emission of events. When I apply it with the search box it work normally: RxTextView.te...
(1) odpowiedzi
2017-12-08 22:12 Getting Cognito Credentials on Android »
I need to authenticate a user using AWS's Cognito in Android and get a token to use on my future requests. Some information is provided to me by the b...
(1) odpowiedzi
2017-12-08 22:12 What are AllowedDataTypes on RemoteInput? »
There's a new function called setAllowDataType on RemoteInput.Builder in API 26. What is this used for? I tried the following: val remoteInput = Remo...
(1) odpowiedzi
2017-12-08 09:12 Pass facebook AccessToken by Retrofit »
I'm trying to get posts from facebook page using Retrofit but I can't pass Access token and every time I get an error io.reactivex.exceptions.OnErrorN...
(1) odpowiedzi
2017-12-08 05:12 How to automatically generate model class from Json in Android »
I will share a way to generate class from Json in Android. Generate Java and Kotlin POJO files from JSON: GSON, AutoValue, Logan Square, FastJSON,...
(0) odpowiedzi
2017-12-07 23:12 Facebook Android SDK: AccessToken.refreshCurrentAccessTokenAsync() not extending expiration »
My Android app is using the Android Facebook SDK's LoginManager and AccessToken classes. We use LoginManager.getInstance().logInWithReadPermissions() ...
(0) odpowiedzi
2017-12-07 18:12 Change WiFi hotspot's SSID and password in Android Oreo 8.x »
In my Android application I'm using the following code snippet: @RequiresApi(api = Build.VERSION_CODES.O) private void turnOnHotspot(){ WifiManag...
(1) odpowiedzi
2017-12-07 13:12 Unknow error in android studio »
logcat 12-07 14:54:16.903 14499-14499/? E/memtrack: Couldn't load memtrack module (No such file or directory) 12-07 14:54:16.903 14499-14499/? E/andro...
(2) odpowiedzi
2017-12-07 10:12 How to have an image with a dynamic text in it, all in a drawable, like the "today" action item on Google Calendar app? »
Background Google Calendar app has an action item that dynamically change according to the current day ("today"): I'm required to do a very simila...
(2) odpowiedzi
2017-12-07 06:12 How to consistently set EditText Selected Underline Color Programatically »
I'm trying to build a renderer for Xamarin Forms. The renderer needs to set the EditText underline color to "Active Color" when selected and "Hint Col...
(5) odpowiedzi
2017-12-06 12:12 React native-fbsdk unknown issue? »
HI there i am using react native 0.49.5 and react 16.0.0-beta.5 for making App. I am using react native-fbsdk(^0.6.3) for facebook login. All necessar...
(3) odpowiedzi
2017-12-06 11:12 Error:Failed to resolve: com.android.support:support-annotations:27.0.1 - Android Studio »
I am developing a project and 2-3 days ago it was working fine and being installed on the devices connected to the system. but today i tried to instal...
(0) odpowiedzi
2017-12-06 10:12 Dagger 2 ContributesAndroidInjector provide activity to module »
I'm trying to figure out a less-boilerplate-y way to implement an ActivityModule that is used in all of my app activities. This is my current setup: ...
(1) odpowiedzi
2017-12-06 10:12 getting error when run react-native run-android »
A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occu...
(5) odpowiedzi
2017-12-06 00:12 android gradle sync issue »
This app was running perfectly OK without any issue. Suddenly i saw this gradle sync problems.I'm really stuck and need help. What to do now? I've uni...
(7) odpowiedzi
2017-12-05 19:12 Scrollbar on Top Side in Horizontal RecyclerView »
I am working on the Simple demo of Horizontal RecyclerView. I want to display scrollbar along with the recyclerview. So I have added android:scrollba...
(1) odpowiedzi
2017-12-05 10:12 Android: NullPointerException on NetworkInfo.isConnected() with Firebase »
Sometimes, on different mobiles (Android 7) there is this crash: Fatal Exception: java.lang.RuntimeException: Error receiving broadcast Intent { act=...
(1) odpowiedzi
2017-12-05 09:12 Unable to download file with special character from Amazon S3 »
I have been trying to download a file from Amazon S3 that ends with special character. The file name ends with an "=" as a result of Base64 encoding...
(3) odpowiedzi
2017-12-05 03:12 Expo AuthSession for FB login not redirecting to expo App for some versions of Android »
I am having an issue with authSession from Expo and Facebook Login. Facebook Login works on iOS and my Android Phone. However there seems to be a redi...
(0) odpowiedzi
2017-12-04 11:12 Custom Glide ModelLoader for base64 images »
I have images from some SOAP API that are encoded in base64. To load them directly with Glide I decided to wrote custom ModelLoader. Glide Version: 4...
(1) odpowiedzi
2017-12-04 11:12 How to set the output of the Asynchronous Task to the text view of the Main Activity »
public class CheckLoginCredentialsTask extends AsyncTask<Boolean, Integer, EEmployeeHTTPResponse> { MainActivity obj = new MainActivity(); pr...
(6) odpowiedzi
2017-12-04 10:12 Fatal Exception: java.lang.NoClassDefFoundError: android/view/ViewStructure »
I am building an community directory application for android OS. It is working fine Lollipop onward devices.Appplication has been sometime crashed in ...
(1) odpowiedzi
2017-12-04 03:12 Send encrypted string between Android and Web API .NET »
One of my client whants to send encrypted string between native Android app and Web API .NET (ASP.NET MVC) over HTTP. This question is not well descr...
(1) odpowiedzi
2017-12-03 23:12 Twilio sending texts on android problems »
First time poster, sorry if anything is not formatted correctly. I am creating an android app for school which will need to send text messages. I have...
(1) odpowiedzi
2017-12-03 22:12 Inspect Element of Chrome within and Android Studio virtual device »
I have a local app running in an Android Studio Virtual Device (Nexus 5X), as below: Is there any way I can Inspect Element using Chrome, as I can ...
(0) odpowiedzi
2017-12-03 21:12 ScheduledExecutorService behaving unexpectedly »
I have the following code snippet, using a ScheduledExecutorService to run every 3'000 milliseconds a check whether it should call a function onOutTim...
(2) odpowiedzi
2017-12-03 08:12 I am unable to fetch data from json »
Here is my Json { "2017": { "11": { "8": { "status": "" }, "10": { "s...
(1) odpowiedzi
2017-12-02 12:12 Best practice to stream data in realtime from Android to Bluetooth »
I have an android application that writes data to a simblee bluetooth. Below the code I have : public void sendData(String data) { Utils.addLog...
(1) odpowiedzi
2017-12-02 10:12 Row item of recycle view in Constraint layout collapse instead taking parent width »
Recently, I started using Constraint layout but today encountered very strange behaviour using it. When I am using RelativeLayout as root instead of C...
(3) odpowiedzi
2017-12-02 10:12 Facebook Login Android SDK ClassNotFoundException: com.facebook.gdp.LightWeightLoginParameters »
The app works in debug, but it crashes in a loop in release mode. The app is not crashing, the Facebook dialog is. I'm not using facebook's LoginButt...
(0) odpowiedzi
2017-12-02 06:12 Parse a Bundle which is a JSONString in Remotemessage to JSON object »
I am trying to parse the notification data in FCM. I will try to explain my problem as detailed as i can. I have to two apps one is android and the ot...
(2) odpowiedzi
2017-12-01 18:12 Crashlytics and AsyncTask »
I'm adding Crashlytics into an app and I ran a couple tests. When I throw an exception within an async task the report didn't appear in the console. I...
(1) odpowiedzi
2017-12-01 14:12 Instanciation depending on type, generics, inheritance or both? »
I have a method instanciating a specific class depending on type send as parameter of this method. This works perfectly but I really don't like this i...
(5) odpowiedzi