MapView Doesn't Display Map on Samsung S Duos - android

I am using Google map API v2 in my android app. The map is working probably on all devices _ that I tested the app on it _ but Samsung S Duos with android version 4.1.2 though it works on Galaxy S3 mini with android version 4.1.2
When I run the app on Samsung s duos nothing looks wrong in the log Cat.. no errors no warnings.. it runs exactly as it runs on other devices but doesn't show the map.. only showing the zoom buttons and Google word at the bottom of the screen..

I figured out the problem.. it was a strange problem really! the date of the device was incorrect and that lead to an error in network connection.. the WiFi was connected but there was no really connection.. I fixed the date and the map was loaded :)
I wrote this to help anyone having the same problem! :)

Related

Firebase dynamic links don't work on galaxy s8 and galaxy s9

I have a problem on galaxy s8 and galaxy s9 with dynamic links from firebase. On other android devices it works. A strange loading screen appears, then returns to the application from which there was an attempt to open the application. Anyone had a similar problem or potentially knows a solution? The application is not installed. Certificate SHA-1 is attached. https://drive.google.com/open?id=15BTDWjFgMtijZ7RVILN7DUq-fG0BzlE7
on the next day the links started to work correctly ... it looked like a problem with permissions on devices

Black Screen issue on Samsung Note 5, Galaxy S7 Marshmallow on launching 2nd Activity of the application

We have received issues from Customers who are seeing Black screen on Samsung Note 5, Samsung Galaxy s7 after they updated their device to Marshmallow. My application target SDK is 19. Basically the user are able to see the Launcher Activity A, but when they click on other activity B they see a Black screen. Activity A--> singletask and Activity B has default launch mode.
We have tested this application on other Vendors Marshmallow( Motorola, Nexus) devices and it seems to be working well. We have also seen some customer using our application on Samsung Galaxy s7 Edge(Marshmallow) too. We had one of the customer facing the same issue on Marshmallow Note 5, but he resolved that issue after Backing up the data from old Samsung J7 device, in which our application was running well. I am not sure, how backing up the data resolve this issue. Is there any device setting which is turned on or any thing which may be causing this issue. We do not have the Samsung Devices with Marshmallow and could not reproduce this issue.
Any advice appreciated, and let me know what could have caused this issue. Thanks in advance.
We received ANR Logs from the users on Playstore and we found out the issue was due to the Spannable String which we had used. The issue seems to be on only Samsung Marshmallow (6.0) Devices. This issue has been fixed in Marshmallow 6.0.1. Really don't understand, why Android is customized to such extent by Samsung. As our application is running well on Motorola Marshmallow 6.0. Here is the entire Logs from Samsung Marshmallow. Hope this might help some one who is facing similar issue.
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1477)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1468)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1473)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1468)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1468)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1468)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1473)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1473)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1473)
... repeated 3 times
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1468)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1468)
at android.text.SpannableStringBuilder.calcMax(SpannableStringBuilder.java:1468)
at android.text.SpannableStringBuilder.restoreInvariants(SpannableStringBuilder.java:1510)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:762)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:662)
Additional Logs on other Samsung Galaxy Edge Marshmallow 6.0 devices related to Spannable Text View
at android.text.SpannableStringBuilder.countSpans(SpannableStringBuilder.java:857)
at android.text.SpannableStringBuilder.countSpans(SpannableStringBuilder.java:864)
at android.text.SpannableStringBuilder.countSpans(SpannableStringBuilder.java:844)
at android.text.SpannableStringBuilder.countSpans(SpannableStringBuilder.java:864)
at android.text.SpannableStringBuilder.countSpans(SpannableStringBuilder.java:864)
at android.text.SpannableStringBuilder.countSpans(SpannableStringBuilder.java:864)
... repeated 7 times
at android.text.SpannableStringBuilder.countSpans(SpannableStringBuilder.java:844)
at android.text.SpannableStringBuilder.countSpans(SpannableStringBuilder.java:864)
at android.text.SpannableStringBuilder.countSpans(SpannableStringBuilder.java:844)
at android.text.SpannableStringBuilder.getSpans(SpannableStringBuilder.java:823)
at android.text.SpannableStringBuilder.sendSpanAdded(SpannableStringBuilder.java:1053)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:763)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:662)

Samsung Galaxy S2 Screen blinking with my App

I am beginner of Android Developer.I just published a app on google and I get some of feedback which is screen keep on blinking in Samsung Galaxy S2. But I tested it with Nexus4 and Samsung galaxy S3 with no such problem at all. and also tested it with simulator Android 2.3.3(API 10)also No problem with it.
Since I do not own a Galaxy S2 device, do you guys have any idea which part I should look for in order to find out the problem? because I really no idea, Please help and give advice. thanks.
the app implemented some of external library which is:
(jfeinstein10) - SlidingMenu and (chrisbanes) -Android-PullToRefresh

Google map is not loading in android samsung ace mobile

i am displaying some locations using Google map in my application, and displaying all locations with custom pins.
Every thing is working fine in emulator but when i tested in Samsung galaxy s and s plus working fine, But in Samsung ace the map is not displayed, i am not able to solve this problem.
How to display the map with locations in Samsung ace?
Are you generate Google Maps API from YOUR Keystore file?
Check it please http://code.google.com/android/add-ons/google-apis/mapkey.html
Hope it hepl you!!!

MapView partially greying out my map

I am developing an android app so I am still in "debug mode" in terms of signing my app. The MapView that I am using used to work so far but since today (maybe yesterday) the map shows greyed out areas. (Compare the following image.)
Does anybody know the reason for this?
[EDIT]
I have installed my app on two other devices (Samsung Galaxy Ace and Galaxy S2). On the Ace it shows the exact same behavior with the greyed out "chessboard" tiles. On the Galaxy S2 however it does not.
I have also thrown away the debug certificate and generated a new fingerprint and API key. But that did not help.
Trying to narrow down the problem I found that it seems to be related to the streetview feature. When I started to code the mapview into my app I set the streetview feature to true:
mapView.setStreetView(true);
When I turn it off (set to false) the greyed out areas disappear.
I have not further investigated this but for now my problem is solved (so I wrote this as an answer).

Categories

Resources