User Profile & Activity

Thomas Albert Member
Page
of 31
Posted: May 6, 2016 1:58 PM

Hello Yudi,

this may work at your end and with your settings, but it does not work with my settings.

Unfortunately, I cannot record my screen like you do, so I try to describe as good as I can.

The first time I enter 123.50 into the empty Amount field. Then I set the focus to the text field above. No error and value stays as I entered it. I set the focus to the Amount field again. Then I clear the Amount field and set the focus to the text field above. The Amount field is now not empty. It shows 123,50 (! comma as decimal delimiter).

I think, this has to do with the culture settings as I wrote some posts before. My culture is German. Having different culture settings can cause problems when converting values. In one culture the dot (.) is the decimal delimiter and in another culture the comma (,) is the decimal delimiter. When you internally do a conversion and maybe a "TyrParse" you must handle this. Not matter what the decimal delimiter is, the conversion must not fail.

Please, try again with a different culture.

Thanks,

Thomas

Posted: May 6, 2016 8:31 AM

Hello Yudi,

I have some further information about the bug. After taking the photo the second time, I get an error message. Please, see attached screenshot.

In the output window I have the following:

The thread 'Unknown' (0x2) has exited with code 0 (0x0).
05-06 10:19:32.590 W/ContextImpl( 4232): Failed to ensure directory: /storage/sdcard1/Android/data/tea.net.ch.app.droid.voucherdepot/cache
Exception:

Java.Lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference

Thread finished: <Thread Pool> #4
05-06 10:20:01.451 D/Mono ( 4232): [0xb98275d0] worker finishing
The thread '<Thread Pool>' (0x4) has exited with code 0 (0x0).

-------------------------

Maybe this will help you finding the problem.

AddOn: Because of the error message, I just added the following to the manifest, but it changed nothing.

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Thanks,

Thomas

Posted: May 6, 2016 8:24 AM

Hello Yudi,

the localization of the menu works on Android as you described. Thank you.

How can I translate the text below the image? In your screenshot from the last post it is "edit". In other cases it can be "add photo".

I am doing the app on iOS, too. How can I translate the menu and the text below the image on iOS?

Can I do it via standard iOS localization (https://developer.xamarin.com/guides/ios/advanced_topics/localization_and_internationalization/) with the same keys as on Android?

Thanks,

Thomas

Are there any updated samples or tutorials available?

Posted: May 3, 2016 6:48 PM

Any statement?

Posted: May 3, 2016 6:48 PM

Hello Yudi,

did you already discuss with the team how to do the translations?

Thanks,

Thomas

Posted: May 3, 2016 6:45 PM

Hello Yudi,

I'm not sure if this makes the difference, but my phone has Android 5.0.2.

Thanks,

Thomas

Posted: May 2, 2016 6:42 PM

Hello Yudi,

I just watched your videos and you did it in the same way as I did it, except the wrong behaviour.

I did my initial tests on a Motorola E2 phone with Android 5.1 and API 21.

I just downloaded the sample from the url in your post. I opened the project and upgrade to Crosslight 5 Update 2. I cleaned the solution and tested with my Galaxy Tab SM-T310, Android 4.4, API 19. Here are the results:

- Starting the sample as is and taking and cropping a photo works multiple times. I always get the thumbnail in ImageData and ThumbnailData.

- Modifying the code of Item.FormMetadata like in "scenario1" and taking a photo works multiple times. I always get the image in ImageData and Thumbnail is null.

- Modifying the code of Item.FormMetadata like in "scenario2" and taking and cropping a photo works multiple times. I always get the image in ImageData and the thumbnail in ThumbnailData.

So, on a tablet with API 19 it works on my end, too. Either the problem is the phone or the different API level. Please, test again.

Thanks,

Thomas

Posted: April 29, 2016 2:43 PM

Unfortunately, CROS-1029 is not on the fix list of Crosslight 5 Update2. Do you have some information when this issue is on the schedule of the development team?

Thanks,

Thomas

Posted: April 29, 2016 2:36 PM

Unfortunately, CROS-1109 is not on the fix list of Crosslight 5 Update 2. When will this bug be fixed?

All times are GMT -5. The time now is 5:40 AM.
Previous Next