Android Facebook SDK - Different Devices, Different Results - android

I have hooked up the Facebook application. I have a couple different devices to test on, and I'm getting different results. So far, everything is working great with my Motorola Droid phone, but I get a different experience when it comes to running the same code on an HTC Flyer. Basically, it leaves me stuck at the "Loading" screen with a black "Facebook" screen in the background. My application never completes authentication.
I have been digging around on the web, and I found a post about proceeding through SSL errors,
but this solution that doesn't work for me.
I am officially frustrated and I am not sure how to explain the problem better. I know my SSO keys are correct, because I have one device that is fully working with the Login Experience and one that doesn't. I have searched the web and there hasn't been any working solutions that I could find.
stringa

Related

My android app works on some devices while others from the same type can't work until doing factory rest

I have an android application that's working fin in my tablet Galaxy TabA with android version 10, my application was tested in some other android version like 9,8.1 and 7. it all works well. after releasing the app to others, the app will not work on some devices that are exactly the same type "Galaxy TabA android version 10". however the application will work after doing one of these two options
factory reset to the device
debug one of these devices and adding a breaking points the application will work and the issue
will disappear even after running the application without debug.
Both ways the issue will not happen again at all.
This is very confusing and really I have no idea why such behavior will happen, I really hope anyone can help me in this. for information I'm using OpenCV 4 in this app ,tesseract 4, and com.google.android.gms:play-services-vision:15.0.0:15.0.0
I have finally managed to find the source of the issue, the problem I had was the implementation of TextRecognizer in google-vision-API. TextRecognizer.isOperational() API always returns false, and therefore my program crashes after that. The difficult part was, the code was successfully installed in multiple devices since I implemented this API, and only after few months my app was published, so I totally didn't expect the issue to be from there.
Here are some links that suggest how to solve such issues.
TextRecognizer.isOperational() API always returns false
Google Vision API Text Recognizer is not working

routingError became GRAPH_DISCONNECTED all of a sudden

So I am one of several developers developing a GPS-app with the help of HERE SDK for Android.
This is a project that has been in the making for some time and it has been a somewhat smooth ride, until yesterday.
We have a couple of tablets to test our app with, and yesterday when building on the Samsung Galaxy Tab A(2016) the routing always gave us "GRAPH_DISCONNECTED" as an answer.
It doesn't matter what route I try. From current location. From a set location. The destination doesn't matter either.
So we have a CoreRouter.Listener that overrides the onCalculateRouteFinished-method and no matter what I do routingError seems to beceome GRAPH_DISCONNECTED.
I have tried to uninstall the app and install it again. Same result.
I have tried deleting the cache for the app. Same result.
The weird part? It has been working on the tablet for well over a year.
And if we use any other tablet, like the Xperia z4 tablet there is no problem with the routing.
Okay, so problem found!
Apparently, we had the wrong settings for the vehicle. It was too big to go from the positions we tried with, and that's why HERE couldn't make a valid route.
The strange part is that this route has worked with those vehicle settings before. So some construction must have come up all of a sudden that stopped me from making the same route.

Ionic side scroll bar not working with Samsung S6

I am facing very weird issue. Working on mobile application using Ionic and Angularjs. Things are pretty good but all of a sudden side menu scrollbar become sluggish. It will be easy to pin point things but issue is only coming with Samsung S6 (Android 5.x). S4 it is good. Any other mobile with Android 5.X version it is good. iOS working great. Just specific mobile it is not good.
I am creating dynamic menu based on response, I tried to do it hard code way but nothing helps. Also cross check digest timing that is also in ms. So, I doubt that can be issue.
I can't even pin point the issue to solve it. As things are very much specific to this mobile.
Any idea to debug it or way I can get and/or provide more info.
Let me know if any further information is required.
PS: I tried fresh ionic application with side menu, there it is working good on S6.

"Directions Not Available" Bring up navigation app in ios

We are trying to bring up the navigation app using HTML Code. We could make it happen in Android without any issues taking guidance from mobile html5 launch phone's native navigation app for iphone, Google navigation on a html5 Android app for android devices. It works quite for android devices. Tested in Sony Experia, Moto-G all is well.
But, when it comes to iphone, i get a mixed response. An Error Message saying:
"A route cannot be determined from this start location"
I tried out thie following code:
driving<br>directionsAnd got the following response in iphone 5, using iOS 7.1.1
But it works quite well for the ipad we tested in using the iOS 5.1.1. Still can't get a way to work it out in iphone with ios 7 or above versions.
Any idea or a way in which this can be overcome?
We shall be glad to have help with this.
I wandered around for the reason for the same. Then found that for places in India the apple maps doesn't seem to have the database for the same. Well finding directions from my home to office itself it point out the same error saying that the "Directions (are) not available".

how to test and debug all android device

A week ago,I developed a app and published to google play.
App Link
This app use camera and activity-alias . It works fine in my phones(S1,S2,New One,Sony Xperia v). But after i published to google play , i found many problems,like HTC one x camera or HTC butterfly activity-alias not working in my app . I dont have these phones ,so its hard to debug .
Is there a good way to solve this situation ? I used some test websites like appThwack and Keynote. But it only response me error message, I am hard to debug too,because it need to upload apk to test(spend long time).
I have found that with Android getting feedback from users on their specific device in inevitable, and unless you have those devices to test on beforehand you won't know until someone tells you.
Android is on so many devices with so many different screen sizes and hardware manufacturers it can be very difficult to get it working correctly 100% across the board. Knowing what devices have the issue helps point in the right direction, but nothing beats testing on the actual device.
Try to use Android Studio. You can preview your app for all screen resolution in one shot. For specific screen relotions and density, create an AVD. I think for independent developers, this is the best way (Considering your app runs on Emulator :-))

Categories

Resources