#1 2016-06-07 16:42:43

karmacomposer
Member
From: Wesley Chapel, Florida
Registered: 2016-05-04
Posts: 84
Website

What flat file databases work with App Builder?

How would I store all the emoji pictures into a flat file database or some way to embed them into the actual app so they don't have to load from a website or web server?

Mike

Offline

#2 2016-06-07 17:07:49

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: What flat file databases work with App Builder?

Hola Mike,

You can include images in the application using the application's file's manager. See at the Menu -> App -> Files's manager.

Offline

#3 2016-06-07 17:10:53

karmacomposer
Member
From: Wesley Chapel, Florida
Registered: 2016-05-04
Posts: 84
Website

Re: What flat file databases work with App Builder?

I've added the images to the File Manager - that part was easy.  But then how do you access them?  What is the process?  Please provide a code example.  How would I put them in a grid?

Mike

Last edited by karmacomposer (2016-06-07 17:11:41)

Offline

#4 2016-06-07 17:15:43

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: What flat file databases work with App Builder?

Hello Mike,

Various app samples shown us how to use images, for example, the "Animation" app sample. The "Report4" app sample, on the other hand, shown us how to include an app's image file in a Report control. Other "Report*" shown the same: if you change the remote reserved images URLs to app's images URLs (and include the appropiate images) the behaviour is exactly the same.

Offline

#5 2016-06-07 17:36:28

karmacomposer
Member
From: Wesley Chapel, Florida
Registered: 2016-05-04
Posts: 84
Website

Re: What flat file databases work with App Builder?

The problem is I load in the samples and some of it I just don't get?  Where are the images?  Where's the code?  I look all over but it's just not obvious enough for me.

Take report4 sample.  I see in file manager the css file and graphic file.  Where is the Lorum Ipsem text coming from?  How is it that there is quite a lot of rows?

None of this is obvious to me.  I feel like I have to reverse engineer these samples.

Mike

Last edited by karmacomposer (2016-06-07 17:39:46)

Offline

#6 2016-06-07 17:39:31

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: What flat file databases work with App Builder?

Hello Mike,

I just take a look at the many "Report*" includes samples and finally found than the "Report3" app samples does exactly what you wanted, that is, uses app's images to be show in a Report control. Please, Mike, take a look at that sample.

Offline

#7 2016-06-07 18:40:48

karmacomposer
Member
From: Wesley Chapel, Florida
Registered: 2016-05-04
Posts: 84
Website

Re: What flat file databases work with App Builder?

I tried to retrofit the report sample 3 to work with my images and all it does is say loading (as per the "loading" parameter).

Everything seems to match up (file names are correct), json file seems correct???

What have I done wrong?  I sent you the file.

Mike

Offline

#8 2016-06-07 18:44:02

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: What flat file databases work with App Builder?

Hello,

Yeah. I receive the compiled application, which is not the same than the project file. Anyway I send you a reply via email. If the sample works for you, then the problem is in your own application Mike.

Offline

#9 2016-06-07 18:47:38

karmacomposer
Member
From: Wesley Chapel, Florida
Registered: 2016-05-04
Posts: 84
Website

Re: What flat file databases work with App Builder?

Hmmm.  I used the report3 sample and simply loaded in my graphics and then used notepad++ to edit the .json file to read my graphics.

The rest is the exact sample - unchanged.

Any thoughts?

How do you save your .json files?  Is it just like an .xml file or do you have to use a very particular program to write a .json file.  I've heard of JSON but never heard of a .json file.

Mike

Offline

#10 2016-06-07 19:02:45

karmacomposer
Member
From: Wesley Chapel, Florida
Registered: 2016-05-04
Posts: 84
Website

Re: What flat file databases work with App Builder?

I emailed you.  I will upload my project to my server for you to download.

Mike

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.