Posts by Joseph Caristena

Show threads by Joseph Caristena
40 posts found, page 3 of 3

Joseph Caristena (In thread: Media Player with external videos)

Hi,
I am using absolute URLs now.
But something strange is happening.
I hear the audio, but I do not see the video.
Why ?

Thanks
Best
Joseph Caristena


Joseph Caristena (In thread: Media Player with external videos)

Hi,
Is it possible to use the Media Player with external videos on a web site ?

I am using the following script and it works properly.

NewArray "[VideoSources]"
ArrayPush "[VideoSources]" "app/files/a.mp4"
ArrayPush "[VideoSources]" "app/files/b.mp4"
ArrayPush "[VideoSources]" "app/files/c.mp4"

SetVar "[CurrentVideoIndex]" "0" "Number"
ArrayLength "[VideoSources]" "[TotalVideoSources]"

ArrayGetItem "[VideoSources]" "[CurrentVideoIndex]" "[CurrentVideoPath]"
MediaSetSource "MediaPlayer1" "" "[CurrentVideoPath]" "" ""

But can I use something like this ?

NewArray "[VideoSources]"
ArrayPush "[VideoSources]" "www.egovmetrics.com/AppMobilePlatform/Video/a.mp4"
ArrayPush "[VideoSources]" "www.egovmetrics.com/AppMobilePlatform/Video/b.mp4"
ArrayPush "[VideoSources]" "www.egovmetrics.com/AppMobilePlatform/Video/c.mp4"

SetVar "[CurrentVideoIndex]" "0" "Number"
ArrayLength "[VideoSources]" "[TotalVideoSources]"

ArrayGetItem "[VideoSources]" "[CurrentVideoIndex]" "[CurrentVideoPath]"
MediaSetSource "MediaPlayer1" "" "[CurrentVideoPath]" "" ""

It can be useful to handle the media content on a web site.

Thanks
Best
Joseph Caristena


Joseph Caristena (In thread: Report control or Details View with image)

Hi,
I think the other Report samples with images are not connected to database mysql.

Thanks
Best
Joseph Caristena


Joseph Caristena (In thread: Report control or Details View with image)

Hi,
I need to insert a photo in the Report control
or in the Details View.

Here are some links to better understand:

http://www.egovmetrics.com/Screenshots/Screenshot001.jpg

http://www.egovmetrics.com/Screenshots/Screenshot002.jpg

Thanks
Best
Joseph Caristena


Joseph Caristena (In thread: Image. How to align it vertically in the middle of the screen ?)

Hi,
Works well:)

Thanks
Joseph Caristena


Joseph Caristena (In thread: Download a file from Internet)

Hi,
Sometimes it can be useful to download a simple txt file
or json file from the admin's website and save it in the following path:

app/files/variables.txt

or

app/files/variables.json

Once downloaded these files can be viewed as
the samples called LoadVars and LoadVars2.

In this way you can send daily news and more.

How can I do this ?

Thanks
Joseph Caristena


Joseph Caristena (In thread: Image. How to align it vertically in the middle of the screen ?)

Hi,
I have an image W 175 and H 330 on the View called
Credits.
I have to always align in the middle of the screen
this image.
So when screen changes the image must be always in the middle,
perfectly vertically aligned.

This is the code to keep it fixed (with no stretching)
and it is working well.

Just click on the View called Credits
click once on the View and then go to Code.
At the bottom of the View click on the Show tab
and copy the following script:

Now the problem is to align it vertically in the middle
of the screen.

So when screen changes the image must be always in the middle,
perfectly vertically aligned.

Thanks
Joseph Caristena


Joseph Caristena (In thread: Typeahead Control + over 8.000 records)

Hi,
I just finished to add over 8.000 records in the typeahead control.
The records are the Italian Zip codes.
I just can't believe it is only 180 kb !!!

And obviously it works like a charm.

Thanks
Best
Joseph Caristena


Joseph Caristena (In thread: HTML control field to a text control)

Hi,
I am programming a simple autofill zip code.

I inserted the js file called index.js in
App
File's Manager
Scripts

The App Path is:
app/scripts/index.js

And then the css file called style.css in
App
File's Manager
Others

The App Path is:
app/files/style.css

Then I am using the HTML control to insert the HTML code of the page.

Now I have to get the selected value of a textbox called autofill:

and insert the value in a text control of a View form.

How can I transfer the value of a field from HTML control to a text control of a View form ?

Here is the link of the HTML file:

http://www.egovmetrics.com/000Scripts/CSSAutocomplete.zip

Thanks
Best
Joseph Caristena
...


Joseph Caristena (In thread: New User)

Hi,
I am a new user of App Builder.
I already published on Google Play Store.
I already went through some tricky issues about apk distribution.

I want to say thanks to David Esperalta
for his great App Builder and his wonderful technical support.

Best
Joseph Caristena
www.egovmetrics.com

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.