samsung-mobile

Simple image gallery with HorizontalScrollView

瘦欲@ 提交于 2019-12-12 02:04:23
问题 I'm writing an image gallery with horizontal scrolling. Images must be added programatically. I use a custom horizontal scroll view to process and add images as in the following code: public void setViewList(Integer linearLayoutId, Integer[] imageIdList, Activity activity) { displayMetrics = ImageUtils.getDisplayMetric(activity); LinearLayout ll = (LinearLayout) findViewById(linearLayoutId); for (Integer imgId : imageIdList) { ImageView imageView = new ImageView(getContext()); imageView

Disable Android Notification Bar in Full Screen (in SGIII)

喜欢而已 提交于 2019-12-12 01:34:53
问题 In Samsung Galaxy S3, even though my app is set to be full screen, and this makes the notification bar not to be visible, if I swipe from the very edge of the screen side, this action will make the notification bar to appear again, allowing the user to expand it over the full screen app. Is there any way to disable this, or to cancel the expand of the notification bar? The problem is that I have a listview covering the whole screen, and if I swipe to scroll the items, every time I do it from

Samsung Galaxy Player 4.0 permissions filter on Google Play

和自甴很熟 提交于 2019-12-11 23:26:10
问题 My app does not show up on Samsung Galaxy Player 4.0 in Google Play (ex-Android Market). If I sign in through the Play web interface, I get the error message: "This app is incompatible with your Samsung YP-G1. Samsung YP-G1 This item is not compatible with your device.". The same device was used for development, and there were no problem running app on it. App uses somewhat minimal set of permissions, and so far I did not have any problem with filtering on the Google Play. I was able to

samsung S3 leftswipe and right swipe not working in one touch

拟墨画扇 提交于 2019-12-11 21:21:03
问题 i created one mobile app with jquery mobile everything is working fine but in samsung phones left swipe and right swipe is not working properly. its working after 2-3 swipe. it can be handled with var startCoords; $(document.body).on("touchstart", function(event) { startCoords = event.originalEvent.targetTouches[0]; }); document.addEventListener('touchmove', function(e) { var touchmoveEvent = e.touches[0]; if(touchmoveEvent.pageX && Math.abs(startCoords.pageX - touchmoveEvent.pageX) > 10) e

jsignature signature not displaying on Samsung Galaxy S4

只愿长相守 提交于 2019-12-11 13:17:31
问题 Using jSignature (https://github.com/willowsystems/jSignature) within a PhoneGap, JQuery Mobile application. When trying to sign in the content div using the Samsung Galaxy S4 the drawn line is not displaying. The signature is there when I pull the data but is for some reason not displaying. Any ideas why this might be? It has been working on other devices such as Samsung Galaxy S3, iPhone, and iPad. <script> var signatureContentDiv = $("#signatureContentDiv"); signatureContentDiv.html("");

ng-animate is not working in android WebView of Samaung Galaxy S4

◇◆丶佛笑我妖孽 提交于 2019-12-11 12:56:30
问题 I'm trying to implement an animation with ng-animate for a button in an Android hybrid app in which I use WebView . The animated button is like this: <div class="dish-like dish-like-animater"> <img ng-hide="page.liked" class="dish-like-unliked" src="http://dev.fotodish.com/img/dish_like_icon@2x.png" ng-click="Like()"> <img ng-show="page.liked" class="dish-like-liked-up" src="http://dev.fotodish.com/img/dish_liked_bg@2x.png"> <img ng-show="page.liked" class="dish-like-liked-down" src="http:/

Android - Samsung Galaxy S4 Reboot issue

北战南征 提交于 2019-12-11 11:06:45
问题 I am an android developer who is making an app that uses a camera feature. Recently, I updated my app to support GS4. I tested it on my GS4 and it worked fine. Both front and back camera. However, it seems like some users's phone restarts after the record a video with my app. I googled and found this article.. http://www.phonesreview.co.uk/2013/05/14/samsung-galaxy-s4-rebooting-issues-emerge-needs-update-fix/ http://forum.xda-developers.com/showthread.php?t=2271227 It seems like some users

Location Provider SAMSUNG always returns true

天大地大妈咪最大 提交于 2019-12-11 08:27:34
问题 I am trying to check if it is possible to fetch the location using Location Manager using the below procedure LocationManager service = (LocationManager).getSystemService(Context.LOCATION_SERVICE); boolean network = service.isProviderEnabled(LocationManager.NETWORK_PROVIDER); The above logic works fine in Sony Ericsson, but when it comes to samsung, 'service.isProviderEnabled(LocationManager.NETWORK_PROVIDER)' always returns true., even with GPS , WiFi turned OFF and even with out a SIM card

android.provider.Settings.ACTION_BLUETOOTH_SETTINGS crashes on Samsung

我的未来我决定 提交于 2019-12-11 03:57:07
问题 Anybody have any idea why Intent pairIntent = new Intent(android.provider.Settings.ACTION_BLUETOOTH_SETTINGS); startActivityForResult(pairIntent, 0); Crashes on all Samsung devices, but works fine on emulator, HTC, Sony, LG etc. EDITED ----------------------------------- Turns out Samsung also requires BLUETOOTH_ADMIN in the manifest <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 回答1: If you have an app in production, you need to have something that will allow you to

Samsung Galaxy s4 in Eclipse ADT

烂漫一生 提交于 2019-12-11 03:31:18
问题 I want to test my App in a Samsung Galaxy S4, i've checked "unknown sources" and enabled the developer menu and checked "Debug mode". But It is displayed offline C:\Program Files (x86)\Android\android-sdk\platform-tools>adb.exe devices List of devices attached XXXXXXXX offline any ideas why? 回答1: Check that you have latest Android SDK tools. After installing latest SDK tools, check your phone: you need to confirm that you allow debugging from your computer. 回答2: For me, it wasn't until I