sony-xperia

How to Create Seperate Values folder Sony Xperia Z1 in android

旧城冷巷雨未停 提交于 2021-02-07 03:27:47
问题 I have tried to Create Seperate Values folder for Sony Xperia Z1 in Android Eclipse Project. i done for values-sw390dp. inside that values folder, I put that dimen.xml file for that mobile UI sizes.. when i change ui sizes in that folder, it will not reflect it.. but, Instead of, it will take values-large folder automatically. Because, am developing an app, common for all 5 in and 7 inch mobiles and tablets.. i need to fit my UI for 5 inch and above.. http://www.gsmarena.com/sony_xperia_z1

How to Create Seperate Values folder Sony Xperia Z1 in android

霸气de小男生 提交于 2021-02-07 03:25:47
问题 I have tried to Create Seperate Values folder for Sony Xperia Z1 in Android Eclipse Project. i done for values-sw390dp. inside that values folder, I put that dimen.xml file for that mobile UI sizes.. when i change ui sizes in that folder, it will not reflect it.. but, Instead of, it will take values-large folder automatically. Because, am developing an app, common for all 5 in and 7 inch mobiles and tablets.. i need to fit my UI for 5 inch and above.. http://www.gsmarena.com/sony_xperia_z1

Cannot immediately connect to the server when android device is on sleep even though my app gets the PARTIAL_WAKE_LOCK at PowerManager (Sony Xperia)

岁酱吖の 提交于 2019-12-25 06:37:11
问题 [Abstract of my android app] My app monitors the server at fixed intervals (30 seconds). [Results(Issue)] 18[h] 00[m] 00[s] server check ok. 18[h] 00[m] 30[s] server check ok. 18[h] 03 [m] 14 [s] server check ok. <= This is issue. My app should check the server at 18:01:00. My app cannot connect the server at fixed intervals at Sony xperia. [Expected results] 18[h] 00[m] 00[s] server check ok. 18[h] 00[m] 30[s] server check ok. 18[h] 01 [m] 00 [s] server check ok. [About my program] My app

android dev : is any specific multithreading coding with Sony Xperia?

风流意气都作罢 提交于 2019-12-25 02:46:54
问题 my android project ( sensors capture , multithreads processing, and output writing into csv file ) is working fine on Nexus and other devices ( 4.4 kitkat, 4.3 / 4.2 Jellybean) ... but when testing it on Sony Xperia Z, it crashes... tip: it doesn't crash running in Debugging Mode .... I guess it's related to a multithreading issue, as dat are captured, processed and written into the output csv file , and the crash happens after running few secs... is anything specific to Sony implementation I

Logcat messages not shown with Xperia XA1 ultra

爱⌒轻易说出口 提交于 2019-12-24 10:35:24
问题 Hi when I debug my apps with Sony Xperia XA1 Ultra in android studio, debug and verbose logs do not appear. My phone is running Android 8.0. I have installed the necessary driver and have tested with another phone (Sony Xperia Z1 Compact) and it outputs the logcat messages. Anybody else with the same issue? 回答1: Log.d messages are ignored in some models. You can use Log.i to solve the problem. To replace in all of your project files, you can follow: Find and replace Android studio 来源: https:/

Android webview javascript seems not working on Sony Xperia

自作多情 提交于 2019-12-24 07:18:09
问题 I have tested my app on HTC and MI2 and some samsung devices, and it worked fine. However on Sony devices, it is not working at all. Java Code: mWebView.getSettings().setJavaScriptEnabled(true); mWebView.addJavascriptInterface(new TestInterface(), "jsjava"); public class TestInterface { @JavascriptInterface public void login() { Log.d("TEST", "js call java ok"); } } Html and js code: <script> function login(response){ window.jsjava.login(); } </script> <div class="land"><a href="javascript

Connecting my android device to eclipse

亡梦爱人 提交于 2019-12-23 21:15:41
问题 I can't get Eclipse to detect my Xperia E. I switched on the USB Debugging, tried adb kill-server and start server, tried both the MTP & MSC mode,modified the android_usb.inf file. I just can't get the device manager to update my driver. It shows there is no Android ADB Interface driver in my list of Device drivers. Please help me out. Trying to test my apps on my device since the last two days ! 回答1: Ok, This did it for me. Connected Xperia E to my laptop. Enabled USB Debugging. Went to the

adb devices command doesn't show my xperia z - got proper drivers and all [closed]

做~自己de王妃 提交于 2019-12-13 09:29:49
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I am trying to flash a custom rom and therefore I need to run certain adb commands. Now the thing is the when I'm booted in to fastboot everything is okay, the fastboot devices command recognizes my phone(C6603). Also the device is shown as an Android device - sony fastboot interface in the device manager. But

STAMINA mode breaks fragment loading with custom animations

自古美人都是妖i 提交于 2019-12-13 06:19:29
问题 This code is working as expected on all devices except Sony devices with activated STAMINA mode: int backStackCount = getSupportFragmentManager().getBackStackEntryCount(); getFragmentManager() .beginTransaction() .setCustomAnimations(backStackCount == 0? R.animator.noanim : R.animator.slide_in, R.animator.zoom_out, R.animator.zoom_in, backStackCount == 0? R.animator.noanim : R.animator.slide_out) .replace(R.id.container, fragment, String.valueOf(backStackCount)) .addToBackStack(fragment

Android Studio: Android Device Monitor not showing my device

◇◆丶佛笑我妖孽 提交于 2019-12-10 02:31:04
问题 My real device is Sony Xperia c6502 with android version 4.3 I'm sure I connect it to my computer and I turn Developer options/ USB debugging on In SDK manager, Google USB driver is already installed. I downloaded Xperia Z Driver from this page:http://developer.sonymobile.com/downloads/drivers/ But I don't know how to use it No PTP mode option in USB Connectivity in my phone My device is not shown in Android Device Monitor and thus I can't run app test on my phone. How to let my Android