Hayri ASLAN Posted March 2, 2022 Share Posted March 2, 2022 UniMobileX is a middle man between UniGUI and Android - IOS operating systems. Supported Features: (Last Updated : 2 March 2022) DeviceID Keep Screen Awake Access Camera Read Barcode and QRCode Request Biometric Authentication (Fingerprint, FaceID, TouchID) Handle Back Button (Android) ANDROID: I'm using B4A. It is free. Please download it from below link and make sure you can run Hello World app. https://www.b4x.com/b4a.html IOS: I'm using B4I. Unfortunately it is not free. B4i is a development tool for native iOS applications. If you want to develop IOS apps, please buy it from below link and make sure you can run Hello World app. https://www.b4x.com/b4i.html DELPHI: UniMobileX component is a middle man component which is communicating with Android and IOS apps. Please Install it and make sure you can run Demo app. Parameters: Please change below parameters in B4XMainPage. Dim kvsEncyptPassword As String = "ChangeMe" Dim WebsiteLink As String = "http://192.168.0.59:8077/m" Please download from below link. UniMobileX.zip 5 1 1 Link to comment Share on other sites More sharing options...
Adeeb Rantawi Posted March 3, 2022 Share Posted March 3, 2022 Perfect. Thank you very much. Link to comment Share on other sites More sharing options...
NNPaulo Posted March 3, 2022 Share Posted March 3, 2022 Thanks Hayri; You "kill" UniAndroid? i using ! Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 3, 2022 Author Share Posted March 3, 2022 1 hour ago, NNPaulo said: Thanks Hayri; You "kill" UniAndroid? i using ! Hello This one is the enhanced version of it. You can change the Icon and you have source code now. Link to comment Share on other sites More sharing options...
NNPaulo Posted March 3, 2022 Share Posted March 3, 2022 HI Hayri; NetEncoding not found; C++Builder/Delphi XE5 Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 3, 2022 Author Share Posted March 3, 2022 2 hours ago, NNPaulo said: HI Hayri; NetEncoding not found; C++Builder/Delphi XE5 Hello use System.NetEncoding. Link to comment Share on other sites More sharing options...
NNPaulo Posted March 4, 2022 Share Posted March 4, 2022 Hi Hayri; Thanks for taking time to improve Unigui. NetEncoding or System.NetEncoding not found in XE5, but NetEncoding only used in Base64toImage and if comment Compile ok and install UniMobileX. When I run demo (changed WebsiteLink to correct url) and test with my android, "Waiting Connection" is diplayed in the app and don´t work. Maybe is necessary copy some files to "files" folder of unigui app? Another question in UniAndroid, my app is showing "UniAndroid not defined" i lost something? I can't find the forum thread about UniAndroid. Link to comment Share on other sites More sharing options...
NNPaulo Posted March 4, 2022 Share Posted March 4, 2022 B4A is ok, i make a test, download to my android phone and work ok. Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 4, 2022 Author Share Posted March 4, 2022 Hi, Did you install UniMobileX android app to your android device? Can you see the website in your android app? (Delphi Demo app) Link to comment Share on other sites More sharing options...
asapltda Posted March 5, 2022 Share Posted March 5, 2022 Good morning, is there an executable (apk) for test? Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 5, 2022 Author Share Posted March 5, 2022 43 minutes ago, asapltda said: Good morning, is there an executable (apk) for test? Hello In the source code please compile B4A project with changing the parameters. It will give you an apk Link to comment Share on other sites More sharing options...
Fred Montier Posted March 7, 2022 Share Posted March 7, 2022 Thanks a lot ! Really is the best contribution in the whole forum for uniGUI enhancement. Now I need to focus in a universal printing solution. I'll make some examples and post at the forum for the users. I abandoned the tests because I thought you had gave up of it. And there are Eletron and Nativefier. I was messing around with them. Link to comment Share on other sites More sharing options...
mehmet07 Posted March 7, 2022 Share Posted March 7, 2022 Merhaba Hayri bey, -https://www.b4x.com/b4a.html yuklemesini yaptim. B4A-Bridge uygulamasini da yukledim ve kendi ornegini calistirdim sorunsuz calisti. -Sizin bileseni yukledim. uygulamayi derledim. sorunsuz derlendi. Simdi sizin demo yu apk olarak nasil derleyebilirim? İşlem sıradaki işlem adımı nedir acaba? Teşekkür ederim Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 7, 2022 Author Share Posted March 7, 2022 5 minutes ago, mehmet07 said: Merhaba Hayri bey, -https://www.b4x.com/b4a.html yuklemesini yaptim. B4A-Bridge uygulamasini da yukledim ve kendi ornegini calistirdim sorunsuz calisti. -Sizin bileseni yukledim. uygulamayi derledim. sorunsuz derlendi. Simdi sizin demo yu apk olarak nasil derleyebilirim? İşlem sıradaki işlem adımı nedir acaba? Teşekkür ederim Merhaba B4A klasoru icindeki uygulamayi acin, eger kutuphane hatasi verirse Libraries kismindaki dosyalari internal library bolumune kopyalayin. Gerekli parametreleri degistirip uygulamayi derlediginizde apk olucak. 1- Make sure hello world app works. 2- Add missing libraries that I provided to Internal libraries folder. 3- Build B4A app and you will get an apk. Before building make sure you changed to parameters. Link to comment Share on other sites More sharing options...
mehmet07 Posted March 7, 2022 Share Posted March 7, 2022 Thank you Mr Hayri, After doing what you said, only the following error remained. Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 7, 2022 Author Share Posted March 7, 2022 9 minutes ago, mehmet07 said: Thank you Mr Hayri, After doing what you said, only the following error remained. Hello Please install the recommended items with B4A Sdk Manager. Link to comment Share on other sites More sharing options...
mehmet07 Posted March 8, 2022 Share Posted March 8, 2022 Thank you. problem solved Link to comment Share on other sites More sharing options...
mehmet07 Posted March 9, 2022 Share Posted March 9, 2022 Hello, I tried your demo and it works fine. When I add it to my own application, I get the message postAppMessage is not defined. My action steps: -I added the UniMobileX1 component to the form. -I added the postAppMessage function to the script property of the form. -One button UniMobileX1.ReadBarcode(true); i wrote your code Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 9, 2022 Author Share Posted March 9, 2022 6 hours ago, mehmet07 said: Hello, I tried your demo and it works fine. When I add it to my own application, I get the message postAppMessage is not defined. My action steps: -I added the UniMobileX1 component to the form. -I added the postAppMessage function to the script property of the form. -One button UniMobileX1.ReadBarcode(true); i wrote your code You should add postappmessage to mainform Link to comment Share on other sites More sharing options...
mehmet07 Posted March 9, 2022 Share Posted March 9, 2022 I added the postAppMessage function to the script property of the mainform. gives the same error Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 9, 2022 Author Share Posted March 9, 2022 55 minutes ago, mehmet07 said: I added the postAppMessage function to the script property of the mainform. gives the same error After getting connected with you, the solution was putting postappmessage script into Login form as you have a login form. Link to comment Share on other sites More sharing options...
mehmet07 Posted March 9, 2022 Share Posted March 9, 2022 thank you so much Link to comment Share on other sites More sharing options...
Franco Grech Posted March 28, 2022 Share Posted March 28, 2022 Thank you so much your work it's really nice. I'd like to ask that how can I use camera to record a new video. In my app I'm using the UniGUI mobile upload component where I already set the accept ('video') property. The mobile app every time wants to create photo. When I'm testing this function in Chrome browser, it works properly. Thank you for any help! Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted March 30, 2022 Author Share Posted March 30, 2022 On 3/28/2022 at 3:40 AM, Franco Grech said: Thank you so much your work it's really nice. I'd like to ask that how can I use camera to record a new video. In my app I'm using the UniGUI mobile upload component where I already set the accept ('video') property. The mobile app every time wants to create photo. When I'm testing this function in Chrome browser, it works properly. Thank you for any help! Hello Can you make a simple test case so I can work on it Link to comment Share on other sites More sharing options...
Franco Grech Posted March 31, 2022 Share Posted March 31, 2022 14 hours ago, Hayri ASLAN said: Hello Can you make a simple test case so I can work on it Thank you for your answer. I'd like to use this sample in your Android app. Project_mobile.zip Link to comment Share on other sites More sharing options...
Recommended Posts