Posts by DecSoft

Show threads by DecSoft
3348 posts found, page 212 of 224

DecSoft (In thread: {SOLVED} App Builder Is Not Working)

Hello edunt,

Glad to know you got it. Sometimes restarts the computer is the solution! :)


DecSoft (In thread: {SOLVED} App Builder Is Not Working)

Hello,

I am sorry but can't reproduce the problem here. What if you uninstall the program and then download and install the latest version? If they do not solve the problem, please, tell me if some error occur or what is the behaviour you can view. Without a little more information it's difficult to help you edunt.


DecSoft (In thread: {SOLVED} App Builder Is Not Working)

Hello edunt,

Sorry, but I can't understand very well your question. Please, can you explain a little more? What do you means with "click drag and drop"? Do you receive some error message?


DecSoft (In thread: Connecting to mysql database and update or get info)

Hello Donald,


Well now we have a can of worms.

I will email you later my script with some notes about it.

In your sample database, I see you have alot of scripts located locally. Where does this database exist? Is it created on my pc when run?

The PHP script must be placed along with our application if we deploy in order to run in mobile or desktop browsers. If our target is also the Android platform, for example, then the PHP scripts must be located in our app's server.

If we take a look at the Database sample PHP scripts there is exactly what we need:

Database.php

It's the PHP Database useful because we share it between the other scripts and provide us the hability to connect to databases (not only MySQL, but all supported by PHP PDO), retrieve data, insert data, etc. In an easy way. This PHP Database class is picked from my Humm PHP project.

PDOExtended.php

Not too much to say except this is our PHP PDO extended class used internally by the above Database class.

Initialize.php

This is just a "template" script, which is included by others in order to reuse their code. Basically we provide the appropiate responses for CORS requests (from our application) and connect to the database, leave it ready to be used.

The above PHP scripts are the stuff we use to interact with the Database. The below scripts are "entry points" for our application's HTTP calls:

DeleteNotes.php

Used to delete notes from the database from our application.

NewNotes.php

Used to add notes to the database from our application.

ShowNotes.php

Used to request notes from the database to be shown in our application.

UpdateNotes.php

Used to update notes in the database from our application.


Is it possible at some time to see a sample database that will connect to a remote server, login and access an existing database?

Then via the script on the server, make changes to the database, If that is what the current sample is doing I cannot follow it.

That is what the Database sample does. In fact the application connect to the server PHP scripts, who are responsible to connect and perform operation over the database. The Database sample performs HTTP calls using the HTTP Client control in order to connect to the server. When we want to insert a new note, the application calls to the "NewNotes.php" providing the new note data, and wait for the server response (an error occur? is the note inserted?). If we want to update a note the Database sample calls to the "UpdateNotes.php" with the appropiate note data, and so on.


I would envision an app that selected the database name, table and field and then allowed a input to provide new data for the field selected.

If it can all be done without a script then great if not then a script would be needed. (I am not asking you to do that).

Thanks

Currently we need to deal with scripts "manually". Maybe in the future I can prepare something "visual", Donald, but, honestly, I can't promise nothing at this time. However, in fact the required server side script can be not too difficult to create or adapt, for example, take a look at the "InsertNote.php" used by the Database sample:

Of course we need to know something about PHP (or the language we want to use in the app's server), but, maybe look into the above code (which is reponsible to delete notes from the database) appear more or less easy than if we look into the entire PHP scripts in a whole.

On the other hand, taking a little look at your PHP script, apparently they expects two input arguments: "TYPE" and "MESSAGE", so, probably we can use such script as is, without touch, just by perform the appropiate HTTP call from our application, providing such arguments.


DecSoft (In thread: Connecting to mysql database and update or get info)

Hello Donald,

Certainly we can deal with remote or server databases from our applications using some server side language (no matter what language) and some server database (no matter what database). Maybe you want to take a look at the Database application sample (Menu -> File -> Samples), which works with PHP (as the server language) and MySQL (as the server database). The sample include the database structure and also the PHP scripts who receive the application requests. *

On the other hand, if your PHP script is prepared to receive HTTP POST or GET arguments, then yes, our App Buidler's applications can perform the appropiate HTTP POST or GET calls in order to pass the appropiate information to your script, who then can store it into the database. I can take a look at your PHP script if you like Donald, so send me and may I can tell you something more about.

* Once open the Database sample, choose the Menu -> App -> Show in explorer to open the sample directory and then look for the PHP scripts.


DecSoft (In thread: IOS Apps, how to get them on the devices)

Hello Donald,

If I am not wrong, if our iPhone device is hijacked, then we can install any kind of application. May this can help in some manner, however, hijacking the device is not allowed by Apple (again if I am not wrong) and the guarantee can be loss if we proceed in that way. On the other hand, probably my friend has an iMac with the OSX installed and uses the Apache Cordova distribution for that operating system.

If do not have an iMac, probably the only solution come from Adobe Phonegap, but, anything else (the appropiate developer key, certificates, etc.) must be provided by us after get it from Apple.


DecSoft (In thread: IOS Apps, how to get them on the devices)

Hello Donald,

Thanks for the link. Probably they explain the process very well: a pain I don't know why, but Apple does not convince me at all. I think, for mobile purposes, Android is better, and, I also want to take a look at Windows 10. Why? Mainly because the provide us cheap devices, capables to do most of things that probably we need. However, if we really wanted to deal with the iOS platform... then yes, we need to asume their characteristics and rarities.

After take a look at the link you provide, I think I put my friend in a compromise,... to try to explain us how to proceed in less words. :)


DecSoft (In thread: IOS Apps, how to get them on the devices)

Hello Donald,

I am not an expert in the iOS world then really I can't answer you like I wanted. I contact with one of my friend and App Builder's customer, who have at least one application into the Apple Store (here is, and here is the Android version). This friend of mine promise answer me later (today they are traveling) and at that time I can offer you the information and also learn about. :)


DecSoft (In thread: Where to load app Icon image)

Hello again,

This is what happend when I select the image you send me from App Builder:

However, open the image with MS Paint and save it again, does not produce the same error. So I think the original image is corrupted or something like that Donald, but may you can simply do what I do: use the MS Paint, save the image again, and try it.


DecSoft (In thread: Where to load app Icon image)

Hello,

Oh yeah... I forget something may important here: App Builder does not create new icons if the icons exists (to save compile time) so, if we are talking about trying different images... probably we need to delete the compiled directory manually.

Take care about this Donald!


DecSoft (In thread: Where to load app Icon image)

Hello Donald,

Wait a moment... there is no reason to use a 600px image! If you have problems with certain image, maybe you can convert it to other format, for example, JPG, and then, again to PNG. Or to open it in an editor and save it as PNG with a different optimization setting.

For example, try to use the image you attach me in your last email: maybe Google perform some changes in the image and for that reason they works to me. Send me the image in a Zip file too, so may I can try with the image exactly like you.

What about the invalid image error you get? The error message says something useful?

Of course we can go ahead by using your current (600px) working image, but in that way we never know what happend...


DecSoft (In thread: Where to load app Icon image)

Hello Donald,

Yes; App Builder taken your image icon and prepare it (in different sizes) for different platforms. But I think that's not the point, because this is something transparent for us, Donald. The problem is why your image works in my computer and not in your computer, and why you can use other images (if you can use it, I asume it since you can view the default icon image) and not an image in particular...


DecSoft (In thread: Where to load app Icon image)

Hello,

Yes. The XML refers to the different icons prepared from your original icon image by App Builder.

The point may is, can you view the icon in the above sample APK? If you use other image they works?


DecSoft (In thread: Where to load app Icon image)

Hello Donald,

Take a look at the "Icon_Compiled\platforms\android\res" directory and search for your icon. On the other hand, try with other icon image. If list last works, try to open your icon image with some editor and save it again... maybe we get a chance with that icon image.

P.S. Probably I appear a little stupid... since the image appear valid here in my computer... how is possible they are not valid in your computer?...


DecSoft (In thread: Where to load app Icon image)

Hello Donald,

It's quite rare. I receive your icon image and test it and the icon appear working like expected.

I update the above sample in order to use your image instead of mine, so, please, try it with the application and the APK too:

Download the Icon sample

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.