[AC-2009] Android: Cursor not showing up when clicked in Text fields
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-12-30T05:22:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Vinothbabu |
Assignee | Shak Hossain |
Created | 2013-01-07T07:27:06.000+0000 |
Updated | 2016-03-08T07:40:57.000+0000 |
Description
When we set the following in AndroidManifest.xml, the cursor does not show up in TextFields:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" />
It seems that when the targetSdkVersion is set to 16, the cursor is not showing up.
Hello, Can you provide a sample code, as well as some more information on the device you are testing with? I did try on my side, and the cursor seems to be working fine. Thank you
Hi Vinoth, We have not heard back from you since you posted the issue. Not sure if this is still throwing error in your app. If so, please send us a test case so that we can take next necessary step to fix. If we don't hear back, we will assume the issue is no longer valid and close it. Thanks, Shak
We tested this issue with the test code below. We can’t reproduce this issue with Titanium SDK 3.1.3GA. Please test this issue using the latest release and let us know your feedback. If you continue to get the reported error, please post us your test case and steps to reproduce. We will revisit it again.
Testing Environment:
Ti CLI 3.1.2 Titanium SDK:3.0.2 and later Android SDK: 4.1 and laterSteps to Reproduce:
1.create a simple project. 2.Update this code in app.js and tiapp.xml 3.Then run this with testing environment. 4. Click on textfields 5. Cursor will shown well as we expected h5. Test Case app.jstiapp.xml
This is not reproducible in the latest SDK. Posted a sample that works.
Please, reproduce this ticket on Ti SDK 3.2.0. It's not working for me.
Environment:
Titanium Studio, build: 3.2.0.201312191547 Titanium SDK version 3.2.0.GA CLI version 3.2.0 Aloy 1.3.0 Mac OSX: 10.9.1 Device: HTC One S, Android 4.1.1Step to Reproduce:
1. Create a simple project 2. Open file ApplicationWindow.js for Android 3. Update code 4. Run app 5. Click on text field 6. Cursor not show upTest case:
ApplicationWindow.js[~tak8xx] We can reopen and investigate this ticket further if you can provide a simple and complete test case. You have provided a code snippet that refers to other code (ui/common/FirstView) so we can not use your code and we have not been able to reproduce using our own test.
@Ritu Agrawal, my complete test case. 1. Create new simple project 2. Put code in app.js
[~tak8xx] I tested your simple test on my Samsung Galaxy Nexus (4.2.2) device and I observed the same behavior irrespective of the targetSdkVersion I set in tiapp.xml file. An interesting behavior I observed is that the cursor did not show up in the portrait mode but it did show up in the landscape mode. Did you notice the different behavior in portrait and landscape modes as well?
@Ritu Agrawal, yes I see. The devices that I tested: - HTC One S, Android 4.1.1 => Working on landscape that not portrait mode - Samsung GT I9003, Android 2.3.5 => Working fine for me
[~tak8xx] This issue appears to be a duplicate of TIMOB-13567 and related to default Holo theme. Can you please review the comments posted in TIMOB-13567 ticket and let me know if it resolves your issue?
Thank @Ritu Agrawal for support, I think if using custom theme as your suggestion is ok. But my project is not using Alloy, are there other solutions?
Oh sorry, still can apply custom theme into my project that not need to use Alloy. I applied successfully. Thanks again.