Posts by DecSoft

Show threads by DecSoft
3350 posts found, page 205 of 224

DecSoft (In thread: Changing Themes)

Hello Donald,

The edunt suggestion can work, you know, sometimes, for certain changes, it's good to try by deleting the "_Compiled" folder. Anyway, here is some tips about the app's themes. First of all, take a look at samples like the "Calculator" one, which uses themes.

Secondly, remember we can choose a theme to be used by default. And also, we need to specify what themes we wanted to include in our application in order to be available, that is, in order to allow us to switch to one of the availables themes.

The above image shows the "Default" theme. In this case we use the "Default", but we can choose one of the available themes to be the default one in the application, that is, the theme in which the application starts:

The above image shows the available themes. That is, we can choose from the list one or commonly more than one theme in order to be available to be set or "switched" at runtime using the SetAppTheme action.

Once you choose the included themes, you can switch to one of them at runtime. However, the theme change do not implied the application start with that theme. If you want to do that, you must to save the theme when set it (using the SetOption action, for example). Then, in the app "Ready" event you can retrieve such option (the theme name) and use again the "SetAppTheme" action to establish your application theme.

If you follow this steps and anyway you get stucked, please, Donald, post here and I will try to help you as quickly as possible.


DecSoft (In thread: How to install and be ready with Apache Cordova and the Android SDK)

Hello to all,

Certainly I am back in home after pass all the day into the hospital. The good news is everything is OK. Slowly... but ok. I hope quickly my mom is in home and then I can get the bull horns again like I wanted.

Thanks for your kindly words Donald. :)

AND SORRY ALL FOR ALL THE INCONVENIENCES.


DecSoft (In thread: How to install and be ready with Apache Cordova and the Android SDK)

Hello Samuel,

Thanks for your interest in my work at App Builder. Sorry for the delay: I expend all the day into the hospital and right now back to home. About your question, first of all, remember AB produces HTML5 applications which can be deployed "out of the box" in mobile and desktop browsers. So Apache Cordova is needed if we plain to build our applications for the Android platforms and others.

Certainly your first message error is very commom: "cordova" is not recognized as a command, which commonly means they are not properly installed. However, your second error is also new to me and I am not sure if can help. My recomendation is to start again. Certainly the best tutorial I found (linked above) put you in the way to prepare APK files (for Android) in literally seconds.

So please, follow the tutorial step by step, and "Google" the message errors, since probably you can also found help from the Cordova community. If I am not busy with my mom health problem... I can also connect with you using TeamViewer, for example, and try to install the appropiate software in your computer.

Please, take calm, and be patience: for sure you can get ready with Apache Cordova and I assert you that, once you are ready, use it is quite easy. Sorry if I can't offer you another answer at this time Samuel. But (I insist) try again and post here or feel free to open a new thread here in the forum: I will try to help you as quickly and best as possible.


DecSoft (In thread: Applying External Media To Media Player...)

Hello Webz,

Thanks for your interest and, please, sorry for the delay: I expend the day into the hospital and right now I back to home. About your question, I have two possible answers, one that I want to offer, and other than not.

It's possible to deal with local files using the Media Player? Probably, yes, using certain plugins for Apache Cordova, who can profide us the access to that files. However, unfortunatelly, this feature is not offered right now out of the box.

You can do it, since it's possible to extend App Builder's apps using Javascript and Apache Cordova plugins (also if they are not included out of the box), you can take a look at the "CordovaPlugins" sample (and "Google" for "Local Media Files Apache Cordova").

My intention is try to implement the required plugins in App Builder, but, I can't promise this can be achieved in a couple of days, and, right now I am also busy with certain familiar health problems...

So you can try with the existing Cordova plugins, use remote media files, or just wait for a possible implementation in App Builder "out of the box". In any of the cases, just tell me if you get stuck in some way.

Thanks again for your interest Webz.


DecSoft (In thread: InputBox)

Hello Donald,

Glad to know you got it sir. And don't worry! All programmers fall in this kind of mistakes. Me too of course. And what here matter is that you attached the error message and then I can take a look and found the possible problem's cause.

And that's what an experienced programmer does: offer the most possible information about an error. :)


DecSoft (In thread: InputBox)

Hello Donald,

A couple of things to consider here. Firstly, maybe you want to use the "[InputValue]" variable, and not the "[inputValue]" variable: note this is case sensitive. This may solve the "inputValue is undefined" error.

The other thing to consider is if the "Label1" control exists or not in the app's view. If you use the "InputBox" in a view which contain the "Label1" control, then there is no problem and probably fixing the first problem also fix this other.

Tell me if finally you got it Donald.


DecSoft (In thread: Icons)

Hello Donald,

Yes; the icon and other resources are not deleted/copied in order to save time/resources when compile an application. Also, the icon is a little special: since App Builder prepares the icon for various sizes/platforms, this preparation do not occur everytime we compile the application for the same reason: save time and resources when compile.

Maybe I can be more accurate in this, for example, I am thinking now in compare the icons' sizes, that is, not only test if the icon exists or not in the compiled application, but check first if the icons's size are the same, for example, in order to update it in a more accurate way. So yes, probably I need to review that mechanism one more time sir.


DecSoft (In thread: Icons)

Hello Donald,

I need to review this when possible. Maybe a message can be show to the user indicating the icon relative path does not match a valid file, but retaining the relative path, in order to be useful when view it. For sure I want to review this when possible.


DecSoft (In thread: Icons)

Hello Donald,

The behaviour can be explained since the app's icon path is saved relative to the application path, then, if we save the application with other name, but, in the same directory, then the icon do not dissapear. This occur because the app's options dialog check if the icon exists, then, if we save the application in other directory, the icon path is no more found relative to the application.

Said that, maybe a possible solution can be to maintain the icon path even when they cannot be found since they are no relative to the new application path and advert of this circumstance with a warning message.

What do you thing about Donald?


DecSoft (In thread: Connection Variable)

Hello Donald,

Take a look at the GetNetworkType action, which requires the Network plugin:


DecSoft (In thread: {ISSUE} File browser and file selection)

Hello codex,

Thanks for your interest and your kindly words. I want to answer you by reversing your question's order:

3º Maybe I need to indicate this in some way, but, the splash screen editbox buttons only works if you had previously saved the application. This is valid also for the application's icon, for example, and this is because the program try to establish this kind of stuff relative to the application and not using absolute paths. Then we can share the application or move it into another system without loss such paths.

2º Certainly you found a mistake with the "SelectDirectory" procedure, which is currently used in four program's places. I update App Builder right now and the mistake has been fixed in all the places where the "SelectDirectory" is used. Now the Desktop directory is the default one (when needed), but we also can navigate to others directories and drives. Thanks for the advise codex.

1º The debugger address are not changed, then, probably we have here some other issue. Remember that you no need to try it with an external browser (you can do it, of course, and can be very good) but you must view the application running in the debugger browser. My recomendation for now is delete your app's "_Compiled" directory and try to compile it again. If this fail, please, tell me codex.


DecSoft (In thread: Feature request: Define environment in BatchFiles for Android)

You're welcome! :)


DecSoft (In thread: No *.APK File Generated - release-android, Debug-android etc.)

Hello edunt,

We need such extras if we want to deal with the AdMob plugin, for example.


DecSoft (In thread: Feature request: Define environment in BatchFiles for Android)

Hello to all,

Jürgen, update your App Builder copy. Now we can specify the Ant, Java and Android home (one, two or three) in order to be placed in the right way into the generated Batch files. I test right now and works fine, but please, try it by yourself and tell me if this can help you or what.


DecSoft (In thread: No *.APK File Generated - release-android, Debug-android etc.)

Hello,

Take a look at the Android SDK manager and look the below "Extras" are installed:

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 cookies only to store your preferences.

Ok! Hide this note More information