Jump to content

Search the Community

Showing results for tags 'mobile'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • uniGUI 1.x
    • Beta Releases
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. how do I play mp3 audio in a mobile app? I tried using html5, put in a unimHtmlFrame1 content: <audio id = "player3" src = "files / music.mp3"> </ audio> and I called to play using the code: UniSession.SendResponse ('var ael = document.getElementById ("player3"); ael.load (); ael.play ()'); It works perfectly on the desktop, but not on mobile! also I tried using: unimUrlFrame1.URL: = 'http: //192.168.25.198: 8077 / m / files / music.mp3'; again it works perfectly on the desktop but not on mobile, but if I put in the android browser manually, it works! please help me if you can Leandro Ávila
  2. Hi, I just made a HTTP call in UniGui Desktop and it works perfectly. I made the same in UniGui Mobile using mobile components and it's not working. HTTP - Request procedure TUFmLoginm.btLoginRequestClick(Sender: TObject); Var aUrlSubmit, aUrlCancel, aUrl, sProtocol :string; Begin frmPinm.UnimURLFrame1.URL := ''; if UniServerModule.PINEndPoint.Contains('https') then sProtocol := 'https' else sProtocol := 'http'; aUrlSubmit := UniSession.CallbackUrlEx('loggedwithcredentials', self, ['RES', 'OK']); if sProtocol.Contains('https') and not aUrlSubmit.Contains('https') then aUrlSubmit := aUrlSubmit.Replace('http', sProtocol, []); aUrlSubmit := aUrlSubmit.Replace(#$D#$A, '', [rfReplaceAll]); aUrlSubmit := TNetEncoding.URL.Encode(TStringRoutines.GetBase64CryptedString(aUrlSubmit)); aUrlCancel := UniSession.CallbackUrlEx('logincancelled', self, ['RES', 'Cancel']); if sProtocol.Contains('https') and not aUrlCancel.Contains('https') then aUrlCancel := aUrlCancel.Replace('http', sProtocol, []); aUrlCancel := aUrlCancel.Replace(#$D#$A, '', [rfReplaceAll]); aUrlCancel := TNetEncoding.URL.Encode(TStringRoutines.GetBase64CryptedString(aUrlCancel)); if TUniGUIApplication(UniApplication).Parameters.values['gestore'].IsEmpty then aUrl := UniServerModule.PINEndPoint+'/?action=authn&gestore='+UniMainModule.gestore+'&url_submit='+aUrlSubmit+'&url_cancel='+aUrlCancel+'&_S_ID='+UniSession.SessionId+'&appid='+UniMainModule.appID else aUrl := UniServerModule.PINEndPoint+'/?action=authn&gestore='+TUniGUIApplication(UniApplication).Parameters.values['gestore']+'&url_submit='+aUrlSubmit+'&url_cancel='+aUrlCancel+'&_S_ID='+UniSession.SessionId+'&appid='+UniMainModule.appID; frmPinm.UnimURLFrame1.URL := aURL; frmPinm.Show End; End Point procedure TFrmAuthnm.FormPost; var data_event : string; begin { ... elaboration ... } with UniMainModule.GetDM do begin if not UniMainModule.Url_submit.IsEmpty then begin if FResponsePost then begin s := 'var f = document.createElement("form"); '+ 'f.action="'+UniMainModule.Url_submit+'"; '+ // the second app url 'f.method="POST"; '; s := s+ 'var i=document.createElement("input"); '+ // url_submit 'i.type="hidden"; '+ 'i.name="data_event"; '+ 'i.value="'+TNetEncoding.Url.Encode(data_event)+'"; '+ 'f.appendChild(i); '; s := s+ 'document.body.appendChild(f); '+ 'f.submit(); '; UniSession.AddJS(s) end else UniSession.UrlRedirect(UniMainModule.Url_submit+'&data_event='+TNetEncoding.Url.Encode(data_event)); end; end; Ajax Event that intercept CallBack procedure TUFmLoginm.UnimLoginFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); var jsonResponse, aURL : string; credentials : TLoginCredentials; begin if (EventName = 'loggedwithcredentials') and (Params.Values['RES']='OK') then begin if not Params.Values['data_event'].IsEmpty then begin // elab .... frmPinm.Hide; ModalResult := mrOK finally credentials.Free end end end end; All works fine except AjaxEvent that doesn't intercept the EventName "loggedwithcredentials".
  3. Hello, I use TUnimDbListGrid to show a personal view of my data but I don't understand why my array doesn't show correctly : On the ClientEvent / beforeInit I have function beforeInit(sender, config) { var htmlRow= '<table style="width: 100%; height: 100%; vertical-align: middle;"> '+ '<tbody> '+ '<tr> '+ '<td><span style="fon-weight: bold; color: #000000; font-size: 16px; width: 100%; display: inline-block;">{2}</span> <span style="color: #808080; width: 100%; font-size: 13px; display: inline-block;">{1}</span></td> '+ '<td style="width: 100px;"><span style="color: #ff6600;">{0}</span></td> '+ '<td style="width: 100px;"><span style="color: #ff6600;">{0}</span></td> '+ '</tr> '+ '</tbody> '+ '</table> '; config.itemTpl= new Ext.XTemplate(htmlRow); } The result is like this and not with align : Somebody can help me (V7.0.0, Delphi 10.4)
  4. Good afternoon, I would like to change the colors of the buttons of a mobile Upload Dialog as well as the text "browse" (of one button), which seems also to be standardized. Can anyone help me with the CSS and the Delphi Calls, I need? Thanks a lot in advance.
  5. Dear all, Is there anyway to access and create appointment in local mobile calendar ?. our application need to create appointment in mobile calendar and will trigger the reminder alert. We are using for Mobile version ( touch version ) I am using unigui 1.90.0.1547
  6. Hi everyone! I'm kind of new into mobile development using framework Unigui in this current version (Trial 1.90.0.1520 - Equinox). So i was searching in forum about a doubt that was not resolved it at all, and i didn't find any answers that could helping me to find a clearly solution. But here in fact: - I have a Container Panel with alignment property (AlClient) defined. And inside him i have another UnimPanel form (again, with property Alclient defined) and a lot of components inside of them, like a UnimEdit, UnimCheckbox, Grid, etc... So, which property i have to use to, when i have more components inside that panel, he can dinamically adjust itself, besides i don't have to set a fixed height to my form? - Sorry if i posted in the wrong section or i don't used it correctly enough. I'm open to suggestions or links that could help me! Thanks.
  7. Using a PIN -Personal / (or sometimes, Private) Identification Number- is an additional security factor for transactions and serves as a simple way to add an extra layer of authentication or access management. A PIN is usually made up of a few (4-6) numeric digits that are easy to remember. And generally a PASSWORD and a PIN are used together: the password being to initiate an operation (access an application) and the PIN to authorize various operations within the application. This example shows how to use a PIN without using your device's numeric virtual keypad. That is, the example provided here is in its nature indicated for use on mobile. However, it can be used in the same way for Desktop, but I don't think it would make much sense. Download more examples from https://t.me/uniguiexpress See this and many other projects on our website https://www.unigui.com.br/democetera/pack4.html for sale. More content Packs of Projects, Books and Services at http://www.unigui.com.br/
  8. I'm trying to get some data from a mobile application, but the user's browser, version and operating system does not return procedure TMainmForm.UnimFormShow(Sender: TObject); var C : TUniClientInfoRec; SessionID:String; IPAddress:String; BrowserType: string; BrowserVersion: Integer; OSType: string; begin SessionID:=UniApplication.UniSession.SessionID; IPAddress:=UniApplication.RemoteAddress; C:=UniApplication.ClientInfoRec; BrowserType:=C.BrowserType; BrowserVersion:=C.BrowserVersion; OSType:=C.OSType; criaArquivoLog('Browser: '+BrowserType); criaArquivoLog('vVersaoBrowserUsuario: '+IntToStr(BrowserVersion)); criaArquivoLog('vSOUsuario: '+OSType); criaArquivoLog('SessionID: '+SessionID); criaArquivoLog('IPAddress: '+IPAddress); end; this is my return
  9. Hi Everyone! I'm using the component UnimDBGrid to create some ListView according to this tutorial created by Mohamad Sadek. But, unfortunately, seems not working using UnimDbGrid, under the BeforeInit Event... The Grid seems not to render the custom html... What could possible i can do for this? Ps: see the attachment below. Thanks!
  10. A simple example to generate alert and vibration beeps on smartphones. It works on all browsers except the most exotic. Download only allowed for subscribers of uniGUI. Subscribe to our Telegram channel below to access this and other examples. http://www.uniguiexpress.com Our group at Telegram: https://t.me/uniguiexpress same content in inglês. Um exemplo simples para gerar beeps de alerta evibração em smartphones. Funciona em todos os browsers menos os mais exóticos. Visite http://www.unigui.com.br/ Nosso grupo no Telegram: Livros, packs de projetos, cursos, serviços, consultoria e tudo sobre unigui ! https://t.me/uniguiBrazil www.unigui.com.br-BeepsAndVibrations.rar
  11. Hi everybody, I wonder if it's possible to remove the clear button on the TuniDBNumberEdit and TuniDBFormattedNumberEdit. I could not find properties for this. I am using the controls in the web form and mobile form. The button will show as i start typing and in the textbox. Best regards Christian
  12. Hi Everyone! UnimDbListGrid has a option that allow the users to navigate between pages in WebOptions -> Paged -> PageSize. But, it will be much better if can display some buttons to go to the next and previously page, indeed. I already have tested UnimDBNavigator and unfortunately only have buttons to go to the last and first page. There's another option or workaround that implements a button to go to the next page (not the last one) using this component on UnimdbListGrid? Thanks!!
  13. Hi everyone! I'm trying to change TabBarVisible property of UnimTabPanel by false but it's not working anymore in version 1.90.0.1535. In previously version was (1531), but now don't. And later i use the sample which i think it will work, but unsunccesfully: UniSession.AddJS(UnimTabPanel.JSName + '.tabBarVisible.Hide();'); or these one into befoneInit event's: function beforeInit(sender, config) { tabBarVisible = Hide; } But, unfortunately, none of these above has worked. Is there any workaround for this, or link i don't see in post's before? Really appreciate any help!
  14. A simple example of in APP to dial on Mobile (SmartPhone / Tablets). with
  15. Olá pessoal! Estamos com um problema ao colocar um scroll e rolar a pagina para baixo o componente htmlframe fica parado sem rolar junto com os demais elementos. Link para o vídeo mostrando o erro --- > http://www.grsoft.com.br/videos/VideoErroScroll.mp4 Agradecemos quem poder ajudar!
  16. The components UnimEdit and UnimNumberEdit do not seem to have a text alignment property. How do I change the text to be right-aligned?
  17. Hi there! Recently i have updated my Unigui to the version 1.90.0.1496. All the CSS and customizations i had before, is not truly working anymore. So, basically i had the CSS tags on ServerModule -> CustomCSS. And in my UnimButton -> ExtEvents (added or painted). But anyone of these not worked. Anyone had the same problem? Thanks anyway!
  18. I am using a mobile form in non-fullscreen mode and I want it to show at top of screen. It looks like mobile forms default to PoScreenCenter mode and there is no way to change this. The position property is not accessible. Is this a bug?
  19. I'm trying to use socket.io on unigui mobile, but it is not working, I would like some help, attached the source of an example with video, showing how to start the socket. The application was opened in 2 different tabs on the web to show that they communicate and the application was also opened in chrome on the desktop, switching to mobile where it worked, however opening the application in chrome on the phone does not work, the phone was mirrored on the computer to understanding.... Gravar_2020_02_12_10_40_17_623.mp4 HibridoSocket.rar
  20. I am creating a floating button in a TUnimForm, but I would like it to show results only ... so apply the code without the tabpanel extension, when you focus on showing, but showing yourself on another one ... how to do to adjust this? I used this example found here on the forum to create a button 1. UniServerModule -> CustomCSS: #back-to-top { position: fixed; bottom: 40px; right: 40px; z-index: 9999; width: 32px; height: 32px; text-align: center; line-height: 30px; background: #f5f5f5; color: #444; cursor: pointer; border: 0; border-radius: 2px; text-decoration: none; transition: opacity 0.2s ease-out; opacity: 0; } #back-to-top:hover { background: #af286d; color: white; } #back-to-top.show { opacity: 1; } 2. MainmForm -> ClientEvents -> ExtEvents -> window.painted fn: function window.painted(sender, eOpts) { var me = this; var aTopEl = new Ext.Element(document.createElement('a')); aTopEl.setId("back-to-top"); aTopEl.setHtml("+"); aTopEl.dom.title = "Back to top"; document.body.appendChild(aTopEl.dom); $('#back-to-top').addClass('show'); $('#back-to-top').show(); $('#back-to-top').on('click', function(e) { e.preventDefault(); //ajaxRequest(me, ...) alert('Your custom logic...') }); }
  21. Good evening, does anyone of us have an idea, how I could add a kind of "ActionButton" (like available in the Desktop Edition) to a column of a UnimDBGrid or UnimDBListGrid?
  22. There's a bug found on build 1510 for TUnimFileUpload. Just try to upload multiple files, it will work for first 3 or 4 files, then it will not work until restart the page. the bug only on mobile, desktop work fine. also demo uploaded on unigui.com works fine (build 1503), but when I run it locally from build 1510 it will show the same bug.
  23. Merhaba, Mobil projede form üzerine yerleştirilen unimcheckbox componentinin caption alanı, çalışma anında browser üzerinde yarım çıkıyor. Form ve frame üzerinde ayrı ayrı deneme yaptım her ikisinde de aynı sonucu aldım. Unigui versiyon 1.90.0.1511
  24. I want to build a Hybrid Application and use a Desktop Form to Login (request an account if necessary) then once logged in test if Desktop or Mobile and show the appropriate Desktop or Mobile form - please advise how to analyse users platform - Thanks in advance.
  25. Trying to build a "generic" modal form to substitute TUnimSelect. These are my problems to solve Adjusting form size and position after screen size changed (see my open topic here) Closing form by clicking in masked area (see my open ticket here) Need some tips for a perfect responsive layout (floating TUnimContainerPanel) for targeting several device types. Attached is a modified touch demo project to get the impression. TIA. demoModalForm.zip
×
×
  • Create New...