Base solution for your next web application

Activities of "soonjoo"

Hi @aaron,

Thank you for your reply, I had managed to get my code working after looking at the example code in those topics!

thank you @alirizaadiyahsi,

now it works, and i have set the gulp to run everytime after the program builds.. however, the gulp task never seems to finish, i need to manually terminate it all the time.. is this normal?

thank you

what are the errors that appear in the developer console??

Hello team,

I have managed to do it, and it successfully calls the barcode scanner and gets the result of the scan! I had to create an overloaded method for Navigation Service Set Detail Page Async, to accept page instead of just a viewType, then I would pass in the scanner into that page. After it completes the scan, it will pop the page back out. Thank you.

private async Task ScanBarcodeAsync()
        {
            var scanPage = new ZXingScannerPage();
            await NavigationService.SetDetailPageAsync(scanPage, null, true);
            scanPage.OnScanResult += (scanResult) =>
            {
                // Stop scanning
                scanPage.IsScanning = false;

                // Pop the page and show the result
                Device.BeginInvokeOnMainThread(async () => {
                    await NavigationService.GoBackAsync();
                    BarcodeText = scanResult.Text;
                    await SearchBarcodeAsync();
                });


            };
        }

After reading through more on the source code, I think I understand more. The sharing of Entity Code will be in Core.Shared project. Thank you.

Thank you, I will try that.

I am trying to add a barcode scanner onto my page. However, the Abp Xamarin framework is much different from the tutorials, and it's very hard for me who is very new to this. A little guidance is very appreciated.

This is the barcode scanner I plan to integrate, <a class="postlink" href="https://blog.xamarin.com/barcode-scanning-made-easy-with-zxing-net-for-xamarin-forms/">https://blog.xamarin.com/barcode-scanni ... rin-forms/</a>

They said to create a Scanner Page I just need 2 lines of code.

var scanPage = new ZXingScannerPage ();
// Navigate to our scanner page
await Navigation.PushAsync (scanPage);

I can see MenuProvider which allows me to add new menu items, and NavigationService which does the pushing and popping. However, how do I add this in using the current menu provider?

also, to get the results?

scanPage.OnScanResult += (result) => 
{
    // Stop scanning
    scanPage.IsScanning = false;
 
    // Pop the page and show the result
    Device.BeginInvokeOnMainThread (async () => 
    {
        await Navigation.PopAsync ();        
        await DisplayAlert("Scanned Barcode", result.Text, "OK");
    });
};

Thank you

Thanks @alper, it works now...!

thank you for you reply,

I think I understand what you mean.. is it based on the I in SOLID principle??

The interface-segregation principle (ISP) states that no client should be forced to depend on methods it does not use

It was so convenient with those attributes, but thats alright.. I have another question that relates.. So for certain attributes that used to be taken from the entity, what is the best practice to do so now? For example, my MaxLength attribute on Name in the dto, I used to just call [MaxLength(MyEntity.MaxNameLength)], but now we do not reference the entity and we can't do that anymore.. Is it ok to repeat them or is there another way to do so?

Thank you.

thank you, looking forward to that!

hello,

here is the response that I get.

"�\b\0\0\0\0\0\0�\aI�%&/m�{J�J��t�\b�$ؐ@������iG#)���eVe]f@�흼��{���{���;�N'���?\fdl��J�ɞ!���?~|?"~�Guެ���G���u������G�>�f�b���f]w>A��G�"+��ٌ�5���s��g�͗ٲO�5\��yQ�/�i����G���}T�o{�d�4���Z;z�\b�"�>(����_Ϩ�7�+j&�M�M[-N��5k֓fZ�������ӬͿj��ۢ9[����|��EE/�ge��0g^\0z��Y��A�u�-gY=#tZ��4�>���\0\T�v^^���)5�ϲ�rM=�ͷ��y\u07b4����^S�E�Ω��E\b���u��՛�q���}���p{����ޣ{���|�w��a�ʮ����\bmvB*��\t����jY���1 ����ݽ���|�ժ,��������x\a�Q�:/���}���w��w���������=?������';;�v��9uN�B\��?z]\,��N�/�%�g��y�U]6�错Ph��uE\-߭���v^���٫����\nk�����g����K��m�6\0\0"

not sure why its like that, any idea??

Showing 1 to 10 of 38 entries