For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 7 replies, 2 voices, and was last updated 12 years, 4 months ago by
support-octavio.
-
AuthorPosts
-
hspatzMemberThe comand bellow works in a test center but I tested in a android galaxy s3 and doesn´t work
$(‘#form1-button1’).css(‘visibility’, ‘hidden’);
Thanks
October 24, 2013 at 6:40 pm #343805
support-octavioMemberHi,
What Mobione version are you using?
What is your android model and version?
Can you share a sample project that help us to replicate the issue?November 4, 2013 at 5:19 am #344050
hspatzMemberHi
I tested in MObione 2.3 and today I´m using the new one version 2.5.
O wrote a small software just to test this feature and works by in my software doesn´t.
I usue a Galaxy S3 as a test cellphone with android version 4.1.2
I saw once the utton became unvisible and then never more.
links to my software and the test software.
http://www.consultaok.com.br/cel/d/ConsultaOK.zip
http://www.consultaok.com.br/cel/d/Teste_Aguarde.zipBut when I install the new version I start reving anither problem,
I use the Web Page UI as a result from a submit button and a function back ( in portuguese “Voltar” ) to go back to my software.
In version 2.3 works in test center and in my Galaxy S3 but in the version 2.5 works in the test center but crash in Galaxy S3.You can download the application builded by the old version here http://www.consultaok.com.br/cel/ok.apk
And the last question where can a find de debugger in the new version 2.5 ?
Thanks
November 4, 2013 at 5:48 am #344051
hspatzMemberI forgot
usuario ( user) “ab”
senha ( password ) “11”When ask a CPF or CNPJ type eleven times “1” ( “11111111111”)
When ask for a Placa ou Nome type anything
Thanks
November 12, 2013 at 1:39 pm #344349
support-octavioMemberHi hspatz,
I have tested your Teste_Aguarde project on Android 4.0.4 and couldn’t replicate the issue. Could you share more information about the crash you are seeing? Any error message?
Could you try isolating the issue to css property? I mean, instead of making the button submit the form, just make it to show/hide the label.
Also, other test is removing your instructions to show/hide the label/button in your test app to learn if the problem is with the form submission.We will probably have access to a S3 device this afternoon/tomorrow, will share our findings asap.
November 13, 2013 at 7:06 am #344386
hspatzMemberHI
the app “teste_aguarde” work for me to.
Please download the other application to see what happen.Now the biggest problem is that the behavior of the software compliled em mobione 2.3 is different when compiled in mobione 2.5.
I let both links.
Humberto
November 15, 2013 at 1:44 pm #344473
support-octavioMemberHi hspatz,
I have found a few problems in the app you shared, will follow up shortly with some recomendations.
November 15, 2013 at 4:10 pm #344476
support-octavioMemberHi hspatz,
As I mentioned before I’ve found some problems in your app and managed to get working visibility issue, that was more related with the way you are using forms.
1) In your phoneui.preSubmitForm_m1_Financeiras you are calling your show_comp function to show the “loading” label. So, when data is loaded succesfully you should revert what you hid and showed in phoneui.postSubmitForm_m1_Financeiras:
phoneui.postSubmitForm_m1_Financeiras = function(isSuccess, data) { var result = true; if (isSuccess) { $('#m1-Resultado-text2').text(data); $('#m1-Resultado-dataPanel-scroller').html("<div>" + data + "</div>"); hide_comp('#m1-Financeiras-lbl_aguarde'); show_comp('#m1-Financeiras-push1'); phoneui.gotoScreen('m1-Resultado', 'SLIDE_LEFT'); result = true; } else { result = false; } return result; }2) The instruction $(‘#m1-Resultado-dataPanel-scroller’).html(“<div>” + data + “</div>”);
is supposed to be adding the result data in your panel on the Resultado screen. But since your Form Financeiras Result Type property was WebPage UI, this code (and all the phoneui.postSubmitForm_m1_Financeiras function is not reached). Changing the Form Result Type property to Data-HTML (AJAX) should fix the issue. Resultado.mobi was not added as additional project file on ConsultasOK.mobi so, you should add it.
Note that $(‘#m1-Resultado-text2’).text(data); might be not necesary.3) I also found a problem in the Consultas.mobi that brings a js error with your exit_page() function, since I didn’t found it in your custom.js I can advice on this.
Hope this is helpful. Let me know if you need further assistance.
-
AuthorPosts
