Posts by Eduardo Alfaro

Show threads by Eduardo Alfaro
40 posts found, page 2 of 3

Eduardo Alfaro (In thread: Apache Cordova HTTP tiny web server)

Hello,

I am trying to setting up this apache cordova plug-in, but I am really do not know how to proceed.

https://github.com/floatinghotpot/cordova-httpd

I have included the file at APP OPTIONS -> CORDOVA -> CUSTOM PLUGINS, and the plug-in has been installed correctly into APP folder, but I do not know how to use the functions.

The main idea is to implement a tiny http server into the APP, so I could share some files with an user inside the local-network, and the user could get the files by simply address its default browser to the APP/Device IP.

Could you help me with this issue???

Thank you so much!!!
Eduardo


Eduardo Alfaro (In thread: MediaPlayer and some issues on iOS)

Hello David,

As usually, thank you for your great support!!!
It is working so good!!! ;-D Now, the MediaPlayer hides all the "controls".
I will try in a real device very soon, I will tell you!

Thank you so much again.

Eduardo.


Eduardo Alfaro (In thread: MediaPlayer and some issues on iOS)

Hello,

During a couple of months, I have tried AppBuilder on Android, and it is working sooooo good!!! ;-D
Right know, I am trying to do the same on iOS platform, I would like to develop Apps with AppBuilder for both platforms.

I am having issues with MediaPlayer control, and the XCode console reports some errors when I try to build the App for testing on virtual device.

MediaPlayer "controls" are always visible, does not matter if you set "controls" to false or true, always are visible. I have used this control sometime to playback an intro video, presentation, advertisement... I need to hide the "controls" to avoid fast-forward, so the user MUST see the whole video to continue.

I really do not try the APP built on a real device, I have tried always on virtual device. Please, see the attached picture. The MediaPlayer control have by default the "controls" as false, so the "controls" should not appear, like they do.

Attached 1: [img=iphone_app_1.png]https://www.decsoftutils.com/_support/uploads/400f24908919b500b0f64fd42dd25218.png[/img]

The other thing, is XCode console errors, I have attached two pictures about this... I have tried some basic examples, and all of them reports more or less the same errors.

Attached 2: [img=iphone_app_2.png]https://www.decsoftutils.com/_support/uploads/69c946b10655ce9e7545c5b049fdbc5f.png[/img]
Attached 3: [img=iphone_app_3.jpg]https://www.decsoftutils.com/_support/uploads/315514c1e470ed7348b0ad01035c1cbe.jpg[/img]

Is there any way to solve those issues??? Maybe there are minor errors and there do not produce any issues on the App built. Any idea about how to solve the MediaPlayer control issue?

I will deeply test on iOs from now, so I will inform you about issues.

Thank you so much!!!
Eduardo


Eduardo Alfaro (In thread: Is app running in tablet? With theUserAgent action or Cordova's plugin)

Hi edunt,
I am so sorry, but I could not try at moment, I will do this weekend and then I will tell all of you.
Thank you so much!!!
Eduardo


Eduardo Alfaro (In thread: Question about HTML code inside VARS for HTML control)

Woooooooouuuu ;-D

THANK YOU SO MUCH!!! DAVID!!!

I am terribly sorry because I did not try, or even focused on, the REPORT control... Soooo sorry ;-( but... ;-DDDDD It is soooooo powerful. I think I could do what I have in mind... even better because all the functionalities. Thank you su much...

Eduardo ;-D


Eduardo Alfaro (In thread: Is app running in tablet? With theUserAgent action or Cordova's plugin)

Hello,

I am trying to add a new cordova/phonegap plugin to AppBuilder, this is the first time, and I really do not know if I am doing well.
Maybe one of you could help me with this issue.

I want to add the plugin "istablet" (https://github.com/dpa99c/phonegap-istablet) that detects if the APP is running on a tablet or not.
I followed the "add new plugins guide" (https://www.decsoftutils.com/Humm/Sites/Main/Views/Data/AppBuilder/Help/en-US/tutorialCordovaPlugins.html) for AppBuilder, so I added the ID on Cordova -> Apps Option -> Custom plugins: uk.co.workingedge.phonegap.plugin.istablet

Then I created the JS function istablet whith this code: alert("This device is "+(window.isTablet?'':'NOT')+" a tablet");

But all the time returns "This device is NOT a tablet", even if I run the app with a tablet emulator.

I also modified the function with this code: alert(window.isTablet);
But it returns "undefined" on the alertbox. ;-(

Could you help me with this???
Do you know any other easy way to detect if the apps is running on a tablet or not?

Thank you so much!!!
Eduardo


Eduardo Alfaro (In thread: How to fix a container on the top of one or more app's views)

Sure,

Please, see attached the example for this case.. I solved like this...
left_side_menu.ab

Eduardo


Eduardo Alfaro (In thread: How to fix a container on the top of one or more app's views)

Already solved,

What I did is set the position fixed with SetStyle when the “side menu” is visible or enabled, and then set position to relative when side menu is hidden or disabled, it is working very nice.

Just for your reference, I have notice, that this issue does not appear if you create the side menu at your right.

Thank you so much!!!
Eduardo


Eduardo Alfaro (In thread: Question about HTML code inside VARS for HTML control)

Hello David,

I am doing a lot with your "masterpiece" AppBuilder software... ;-D

I have a doubt that I wanted to share with all of you. I am using the HTML control to create dynamically content. What I am doing is use the SIMPLEGET or SIMPLEPOST actions included at AppBuilder to retrieve update info from a PHP server and then use the HTML control to show the updated info.

The PHP server produce all the HTML code necessary for the HTML control, so inside HTML control there is only a VAR. The VAR used by SIMPLEGET or SIMPLEPOST to store the server response.

Everything seems to be ok, the VAR stores all the code without problems, and it shows with no problem, BUT I cannot use the [HtmlContent1.Event.target.id] to interact with it because all the are not working.

I have tried to replace all “ for \” or \x22 but it is not working too…

I attached a sample, without the SIMPLEGET or SIMPLEPOST part… just a VAR with some code and the HTML control with code and the var. html_and_vars.ab

Hope you can help me with this issue.

Thank you so much!!!


Eduardo Alfaro (In thread: Applying External Media To Media Player...)

Hello David,

Of course, please, download this sample.
sample.ab

You can see what I mean when you create the APK an tried on mobile.
Thank you so much!!!


Eduardo Alfaro (In thread: How to fix a container on the top of one or more app's views)

Hello David,

It is working like charm... thank you so much!!
Just one more question. ;-D THX

I have added a left side menu, similar at the one that appears on the sample "SwipeMenu". I have use CSS translate to move both containers to the right, so the side menu gets revealed. The mainly problem, is that I can scroll the large container in any direction, up, down, left or right. So I am wondering if I can fix or block the container to scroll left or right.

Please, se attached picture for better understand me.

Thank you so much!!!
Eduardo


Eduardo Alfaro (In thread: Download files (images, sounds, videos) from server to APP's folder)

Hello, maybe one of you have tried this, or know how to accomplish it, thank you in advance.

I am wondering if there is any way to download files (in runtime) from any server (web hosting server) to the APP's folder for later usage. Let me explain better ;-D, I really know we can play a music or video, or read content from a remote url, (example: http://www.myserver.com/file.mp3), but in this scenario the app user will always need an internet connection.

What I am thinking or trying to discover is if there is a possible way to connect to a remote server, download the content (separately or even ZIP o RAR compressed ;-D), and then let the app use the content previously downloaded. So the next time the user opens the app, if there is not internet connection available, the apps will have already some content in local to use.

It will be perfect for downloading updated info, new videos, new audios, wherever… with some code like: Check Internet, connect to a remote server, check if there is new content, download new content, disconnect from server.

Thank you so much!!!
Eduardo


Eduardo Alfaro (In thread: How to fix a container on the top of one or more app's views)

Thank you so much David for your very best support!!!


Eduardo Alfaro (In thread: How to fix a container on the top of one or more app's views)

Hello,
Maybe one of your people could help me with this issue. Thank you so much in advance.

I want to create an app with two containers, a "menu" container, that always stay fixed at top (even on scroll action). This container will keep all the menu items, and always must be visible on the app's top. And then, a second container with all the "contents", this container will be bigger in height than the app's height, so I could scroll down and up to see all the container contents.

Please see the picture for better reference: http://prntscr.com/dz5eok

I did not found an "on change" event on view or design to include some code to maintain the "menu" container always visible at the very top of the application. So, could you help me with this issue???

Thank you so much!!!
Eduardo.


Eduardo Alfaro (In thread: Default or native sound when "click" events!!!)

David, you are simply amazing!!!!!!!!
Thank you so much, really...
Eduardo.

Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.