#1 Re: Topics related with App Builder » Preview images when designing APP with AP! » 2017-12-13 21:46:51

tumblr_o770sc1wvu1s7z2cyo1_500.gif

Thank YOU sooooooo much DAVID
Your support it is really AMAZING A+++++++++++

#2 Topics related with App Builder » Preview images when designing APP with AP! » 2017-12-13 18:15:09

eduardoalfaro
Replies: 4

Hello David,

I am wondering if I am doing wrong when loading images directly from the APP FILE MANAGER into the APP because I cannot preview any images at all. Let me explain myself better.

When I insert an image into the APP with the image tool, and define the source to a local image (for example, an image located at Desktop), the preview it is working pretty good.

Example: http://prntscr.com/hn0o94

But, if I previously add the image into the APP FILE MANAGER and then define the source to the APP PATH, the preview it is not working at all. I know you are advising us with the next message "Non existing image or available only at runtime."

Example: http://prntscr.com/hn0q6v

Is there any way to solve this issue?

When you have lots of views with lots of images, image buttons... it is more difficult to work like this. I prefer to use the APP FILE MANAGER to avoid path problems, but the preview will be very useful.

Thank you so much!!!

#3 Re: Topics related with App Builder » How to include JavaScript Framework within AppBuilder? » 2017-11-10 12:38:50

Hello David,

Really!!! YOU ARE INCREDIBLE!!!

This JS library gives to AppBuilder lots of new features!!!
THANK YOU so much for your knowledge

Eduardo

#4 Topics related with App Builder » How to include JavaScript Framework within AppBuilder? » 2017-11-09 23:24:03

eduardoalfaro
Replies: 3

Hello to anyone…

I am wondering about if we can include a JavaScript framework (or more than one) into our APP with AppBuilder.

I mean, there are a lot of JS (JavaScript) frameworks that gives you a lot of new functionalities and powerful features so you can include all of them into your own projects, websites and hybrid-apps.

I have tried to include, for example, “paper.js” JS frameworkb, but I really do not know to proceed or complete the process.

Please, if you have time, take a look to its website for more information: http://paperjs.org/about/

I know how to include the JavaScript “.js” file with the AppBuilder APP File Manager... but I do not know how to call it and then create the canvas.

First of all you need to call the “.js” file:

<script type="text/javascript" src="../../dist/paper-full.js"></script>

Then next, create the script code for the canvas:

    <script type="text/paperscript" canvas="canvas">
    // The amount of symbol we want to place;
    var count = 150;

    // Create a symbol, which we will use to place instances of later:
    var path = new Path.Circle({
        center: new Point(0, 0),
        radius: 5,
        fillColor: 'white',
        strokeColor: 'black'
    });

    var symbol = new SymbolDefinition(path);

    // Place the instances of the symbol:
    for (var i = 0; i < count; i++) {
        // The center position is a random point in the view:
        var center = Point.random() * view.size;
        var placed = symbol.place(center);
        var scale = (i + 1) / count;
        placed.scale(scale);
        placed.data.vector = new Point({
            angle: Math.random() * 360,
            length : scale * Math.random() / 5
        });
    }

    var vector = new Point({
        angle: 45,
        length: 0
    });

    var mouseVector = vector.clone();

    function onMouseMove(event) {
        mouseVector = view.center - event.point;
    }

    // The onFrame function is called up to 60 times a second:
    function onFrame(event) {
        vector = vector + (mouseVector - vector) / 30;

        // Run through the active layer's children list and change
        // the position of the placed symbols:
        for (var i = 0; i < count; i++) {
            var item = project.activeLayer.children[i];
            var size = item.bounds.size;
            var length = vector.length / 10 * size.width / 10;
            item.position += vector.normalize(length) + item.data.vector;
            keepInView(item);
        }
    }

    function keepInView(item) {
        var position = item.position;
        var itemBounds = item.bounds;
        var bounds = view.bounds;
        if (itemBounds.left > bounds.width) {
            position.x = -item.bounds.width;
        }

        if (position.x < -itemBounds.width) {
            position.x = bounds.width + itemBounds.width;
        }

        if (itemBounds.top > view.size.height) {
            position.y = -itemBounds.height;
        }

        if (position.y < -itemBounds.height) {
            position.y = bounds.height  + itemBounds.height / 2;
        }
    }
    </script>

And finally, call the canvas:

<canvas id="canvas" resize hidpi="off" style="background:black"></canvas>

Do you have any idea how to include this and other JS Framework whintin AppBuilder?

I think this kind of feature will be..... gorgeous!!! ;-D

Thank you so much!!!

Eduardo.

#5 Topics related with App Builder » Augmented Reality with AP and Vuforia » 2017-05-15 21:49:44

eduardoalfaro
Replies: 1

Hello,

AB it is incredible, I am learning a lot since the very first APP I did.
Now I am trying to create an Augmented Reality APP made with AB and the cordova plugin for Vuforia Framework. One of the most important framework for creating VR APPS.

Please, see more info at this link:
https://github.com/mattrayner/cordova-plugin-vuforia

I have created a "first stage beta APP", just to see how it works, but I really do not know what I am doing wrong, because I cannot initialize the camera for recognize.
vuforia.ab

I have found a functional example for phonegap, but I could not integrate with AB.
https://github.com/eduardoalfaro/cordov … ia-example

I will do my best to have a functional example and share with all of you... I think this will add a very nice functionality to AB for creating Augmented Reality and Virtual Reality APPs. Does any one of you any idea or suggestion about how to integrate this cordova plug-in into AB?

Thank you so much!!!
Eduardo

#6 Re: Topics related with App Builder » Report Control table with two or more rows and colspan » 2017-03-17 08:50:57

Hello David,

Thank you very much!!!
Your sample was very useful!!

Eduardo

#7 Re: Topics related with App Builder » Report Control table with two or more rows and colspan » 2017-03-15 19:27:42

Hello David,

Thank you so much!!!
I would like to have something like this:
Screenshot_1.png

But I really do not know how to do the multi-line ROW.

Thank you so much!!!
Eduardo

#8 Topics related with App Builder » Report Control table with two or more rows and colspan » 2017-03-15 16:39:05

eduardoalfaro
Replies: 6

Hello David,

I am working with AB Report Control, and I would like to know if there is any way to do something like this:

head:
<td>head col 1</td><td>head col 2</td><td>head col 3</td>

body (html): (multi-line and colspan)
<tr><td>content col 1</td><td>content col 2</td><td>content col 3</td></tr>
<tr><td colspan="3">content col 4 - large text  - description - row</td></tr>

footer:
<td colspan="3">footer message</td>

I have tried, but the body(html) it is not working, and I would like to do with TABLE wrapper, so all the cols width (in header and body) will match width the content. Do you have any suggestion or clue to achieve this?

Thank you so much!
Eduardo

#9 Topics related with App Builder » OneSignal PUSH server 100% free and unlimited » 2017-03-13 10:25:37

eduardoalfaro
Replies: 1

Hello David,

I am trying to integrate OneSignal Push Server (100% free and unlimited) into AB. You have to register with your developer ID. OneSignal has a cordova plugin: https://documentation.onesignal.com/docs/cordova-sdk and I have integrated into AB on Cordova Custom plugin with onesignal-cordova-plugin. The plug-in it is working very good, but I have a doubt getting response from JSON.

The JavaScript is using the function JSON.stringify so you can question to the user within a PUSH notification, get the answer and use in your APP ;-D. I have store the result into a AB var with: window.App.RootScope.var_push_opened = JSON.stringify(jsonData);

The mainly problem is that none of the AB array actions cannot handle the JSON.stringify

This is the var containt for JSON.stringify(jsonData)

{"action":{"type":0},"notification":{"isAppInFocus":true,"shown":true,"androidNotificationId":-95396130,"displayType":1,"payload":{"notificationID":"1d4b8510-dd3e-4a76-a036-9ae73765","title":"titulo","body":"mensaje","lockScreenVisibility":1,"fromProjectNumber":"840278383294","priority":0,"rawPayload":"{\"google.sent_time\":1489392268319,\"custom\":\"{\\\"i\\\":\\\"1d4b8510-dd3e-4a76-a036-9ae73765e0ca\\\"}\",\"from\":\"840278383294\",\"alert\":\"mensaje\",\"title\":\"titulo\",\"google.message_id\":\"0:1489392268324753%476994fff9fd7ecd\",\"notificationId\":-95396130}"}}}

Do you have any example with JSON.stringify done for AB? Any idea o clue for this issue?

Thank you so much!!!
Eduardo

#10 Re: Topics related with App Builder » Example Text-2-Speech with APP BUILDER and cordova TTS plugin » 2017-03-02 12:52:07

By the way, I have tested on ANDROID and IOS, and it is working so good on both platforms!!!

#11 Topics related with App Builder » Example Text-2-Speech with APP BUILDER and cordova TTS plugin » 2017-03-02 12:45:42

eduardoalfaro
Replies: 3

Hello!!!

I would like to share with all of you this project made with APP BUILDER.
It is so useful if you have planned to create an APP able to give instructions, alerts, or wherever by voice to the user.
It have been done using a cordova plugin called tts (text to speech) https://github.com/vilic/cordova-plugin-tts

Hope you find it useful for your future project created with APP BUILDER.
Example: text2speech.ab

Have a really nice day.

David, is the range control able to give a step less than 1? The speech speed can be configured from 0.1 till wherever, but I could not do less than 1 because the range control step field does not accept other than integer number.

Thank you so much!!!

Eduardo

#12 Re: Topics related with App Builder » Apache Cordova HTTP tiny web server » 2017-02-28 15:21:45

David...

I REALLY HAVE NO WORDS!!! CONGRATULATIONS!!! AGAIN!!!

Thank you so much for sharing your talent and knowledge with all of us. Your example works as expected, SO GOOD! ;-D With this HTTP embedded server, we can serve files or even pack-files compressed on ZIP or RAR from our device to any other device or computer like a PC, MAC, tablet.... using the same wireless network from our home or job, and just pointing with any browser to the given IP address and port. So simply!!!

Lots of new possibilities for the APPS created with your awesome APP BUILDER software.

Thank you VERY much!

Eduardo

#13 Topics related with App Builder » Apache Cordova HTTP tiny web server » 2017-02-27 11:59:52

eduardoalfaro
Replies: 10

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

#14 Re: Topics related with App Builder » MediaPlayer and some issues on iOS » 2017-02-13 16:19:00

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.

#15 Topics related with App Builder » MediaPlayer and some issues on iOS » 2017-02-13 09:54:48

eduardoalfaro
Replies: 3

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: iphone_app_1.png

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: iphone_app_2.png
Attached 3: iphone_app_3.jpg

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

#16 Re: Topics related with App Builder » Is app running in tablet? With theUserAgent action or Cordova's plugin » 2017-02-10 09:50:36

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

#17 Re: Topics related with App Builder » Question about HTML code inside VARS for HTML control » 2017-01-31 21:17:06

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

#18 Topics related with App Builder » Is app running in tablet? With theUserAgent action or Cordova's plugin » 2017-01-31 18:14:17

eduardoalfaro
Replies: 6

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.davidesperalta.com/Humm/Sit … ugins.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

#20 Re: Topics related with App Builder » How to fix a container on the top of one or more app's views » 2017-01-30 22:12:58

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

#21 Topics related with App Builder » Question about HTML code inside VARS for HTML control » 2017-01-30 22:05:59

eduardoalfaro
Replies: 4

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 <a href=”” id=””> 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!!!

#22 Re: Topics related with App Builder » Applying External Media To Media Player... » 2017-01-24 13:30:40

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!!!

#23 Re: Topics related with App Builder » How to fix a container on the top of one or more app's views » 2017-01-24 13:07:07

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.

81e36643581144d4bc333d97f84f7b99.png

Thank you so much!!!
Eduardo

#24 Topics related with App Builder » Download files (images, sounds, videos) from server to APP's folder » 2017-01-24 12:35:48

eduardoalfaro
Replies: 7

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

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.