Posts by DecSoft

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

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

Hello edunt,

The latest releases touch a bit the Javascript core with enhancements to the Gauge control. This means you must delete the "_Compiled" directory by yourself. However, this is not apparently your problem, so, please, post here the error message you get to try to help you.


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

Hello,

Ok, there will be some issues for AB beginner users i.e if version numbers changed on Java, and Ant, they might not know how to go about it.

Yes; certainly some implementation can cause problems to beginner users. My plain right now is to add these options completely optional: if we define some specific thing like "JAVA_HOME", then the program take care about. If you just ommit these variables, then the generated BAT files continues exactly like now.


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

Hello Donald,

Apparently there is an option to "[...] join the iOS Developer Program as a Company to be able to add additional developers to the same program". I just read here. Problem can be due to the fact that the company must be a real established company and not just a developers' group of friends.


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

Hello Jürgen and edunt,

Honestly I never thinking in this before, but, work with Java (and other tools) and also with App Builder did not sound wrong, iust I am never point in that situation and then BAT files works well. But I think your proposal is reasonable Jürgen, so let me some time to consider what can be the best possible solution here.


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

Hello,

Jordi add this other tip too:

"Out there exists different XCODE versions who works in Leopart, Lion, Mountain or Captain, which is the latest one. Choose the latest as possible is the best because they allow us to choose a better IOS target version. Mainly because it's interesting to minimum choose the iOS 8 version as the target, because before that version they are only the Ipad2, Ipad1 and iPhone4 devices.".

Probably this information can help too.


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

Hello Donald,

I don't want to say that but you are right: if we wanted to match the iOS platform probably the best option is to have a Mac or at least an iOS device in order to test it, etc. Some useful information below:


Requirements and Support

Apple® tools required to build iOS applications run only on the OS X operating system on Intel-based Macs. Xcode® 6.0 (the minimum required version) runs only on OS X version 10.9 (Mavericks) or greater, and includes the iOS 8 SDK (Software Development Kit). To submit apps to the Apple App Store? requires the latest versions of the Apple tools.

You can test many of the Cordova features using the iOS emulator installed with the iOS SDK and Xcode, but you need an actual device to fully test all of the app's device features before submitting to the App Store. The device must have at least iOS 6.x installed, the minimum iOS version supported as of Cordova 3.0. Supporting devices include all iPad® models, iPhone® 3GS and above, and iPod® Touch 3rd Generation or later. To install apps onto a device, you must also be a member of Apple's iOS Developer Program, which costs $99 per year. This guide shows how to deploy apps to the iOS emulator, for which you don't need to register with the developer program.

Taken from here: http://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html


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

Hello,

I have some news about how to prepare our applications to run in the iOS platform. Today I am talking more with Jordi, an AB customer who already have an AB application into the iTunes store, and they really point me in the right direction.

I was wrong when think we can't do anything from Windows when we are talking about the iOS platform. For that reason App Builder can creates BAT files for all the Cordova's supported platforms except iOS.

But this is not truth at all. On the contrary, Apache Cordova can help us by creating the appropiate files IN WINDOWS in order to be ready to build our applications IN MACOS after that.

You can update now your AB copy, since they include now a new option (app's options dialog -> Cordova tab) in order to generates a BAT file also for the iOS platform.

The steps are:

1º Creates our application, and choose the refered action to generates a BAT file for the iOS platform

2º Execute that BAT file, which tell to Apache Cordova we want our application ready for the iOS platform

3º Copy the "_Compiled" directory to a Mac and open the "\*_Compiled\platforms\ios\New App 1.xcodeproj" with XCODE.

4º That's all! We are ready to generates our application's IPA file, the equivalent to the APK file in Android.

So, in conclusion, and, contrary my first knowledge, we can use Apache Cordova IN WINDOWS to generate the appropiate files ready to be copied in a Mac computer to be finally built with XCODE (XCODE is the development environment in the Mac world).

You know another possible way (basically if we do not have a Mac computer...) is to use the Adobe Phonegap Build online service. I preffer the Apache Cordova way, however, if we really do not have a Mac computer... maybe there is not too much options out there.

Hope this information can results of interest for all!


DecSoft (In thread: My First App Build With AB)

Hello edunt,

1º You need to prepare certain images to act like the portrait and landscape splash screens.

The program do the rest for you by preparing the images in different files, add the Cordova's Splashcreen plugin and write the appropiate stuff in the "config.xml" file.

4º Nope. I am not talking about save the audio file in the local storage (too big probably!) but just the position of the media player. Supose I open the application an listen the audio for a minute. Then I come to another application and finally open your application again. The point is that using the Pause and Resume app's events probably you can save/restore the position, so I can start to listen the audio in the same position I leave it before.

Related with this last question maybe you can prepare a couple of Push buttons to directly access to some audio position. For example, if you know when certain audio section start, you can have a Push button that jump exactly to that position. Maybe some buttons or a Select control with something like "Chapter 1", "Chapter 2", etc.

5º There is an example of the AdMob plugin included by App Builder. Take a look!


DecSoft (In thread: My First App Build With AB)

Hello edunt,

Good work! Some sugestion if you allow me, but take only as comments you can take in count or not!

1º Probably a splash screen can be good (maybe the Finnish flag?), even when the application start fast.

2º You know the MediaPlayer can be hidden? Just put their variable "Hidden" to "True". Even when hidden the MediaPlayer is available, then you can, for example, control it (play it) by a Push button. I say that because we are talking about an audio player, so, maybe we no need to view the MediaPlayer and only a Play button and a Range control can be good, this last to change the media player position.

3º The latest releases of App Builder add a new event for the MediaPlayer control: the "CanPlay" event. This can be useful to maintain informed to the user until the media file is ready to be played, for example, by shows a spinner icon, a progressbar or something like this.

4º Maybe you can save into the application's storage (using the "SetOption" action) the position of the MediaPlayer using the app's Resume event, in the way you can then can load the saved position (using the "GetOption" action) to seek the MediaPlayer into the latest position.

And that's all! Maybe another possible ideas come, for example, you can use the AdMob plugin in order to monetize your application, but, these things are all up to you edunt.

Thanks for posting!


DecSoft (In thread: Arrays to Variables)

You're welcome sir! :)


DecSoft (In thread: Arrays to Variables)

Hello Donald,

Yes; certain controls base their functionallity in Array variables. This is good, because, we can creates Array variables too, and uses all the Arrays related actions for both control's Array variables and our own Array variables.

For example, if we are talking about Select controls, we always can get the currently selected item using a code like this:

The first argument is the Array from we want to get an specific item. In this case such Array is the Select control "Items" Array, but remember we can use this same action with any Array variable.

The second argument is the "index" we want to get from the Array. The Arrays stores the items in a zero based index, so the first item is the "0" (zero), the second item is the "1", and so on. The Select controls offer to us the "ItemIndex" variable, which stores the currently selected item in the control.

The third argument is the result variable, that is, the variable which stores the item we get from the specified Array.

Above we say the Select's "ItemIndex" stores the currently selected item in the control, and, we also can write this variable in order to select an item programatically, just by using the SetVar action:

The above action establish the first item in the Array (zero indexed, remember) as the selected item in the Select control.

As I said above, we can play with all the Arrays related actions, so, for example, we can add a new item at the end of a Select control:

We can add a new item at the start of a Select control:

We can concat a "Select2" control items into a "Select1" control items:

We can remove the last element form of a Select control:

Or remove the first element:

And finally we can continue using the other Array related actions to reverse the items, short them in various ways, search for items, etc., etc. You can start with the NewArray action in the help file and continue scrolling down for other Arrays related actions.

If you have any further question just post it Donald. :)


DecSoft (In thread: Modify HTML Code)

Hello,

Hi,
Will this logic work with audio file?

Yes, edunt. In principle, the HTMLContent control can contains any HTML and app variables.


DecSoft (In thread: Modify HTML Code)

Hello Donald,

The HtmlContent control is a bit special, since we can't access their HTML variable in runtime. In fact probably we can do it using Javascript, however, such variable is plained to used at designtime, commonly to put inside one or more variables. Then this variables are parsed in compile time and therefore become available at runtime.

Therefore, probably what you can do is to think about variables, because variables can be changed at runtime. Then, for example, if you shown an image in your HTMLContent control using a code similar to this:

In the app's view Show event we can set the variable to this:

And then, in every other place (a Push Button's Click event, for example) we can place another similar code:

Also, we can made the entire HTMLContent control a variable, that is, we can simply place inside something like "[MyVariable]", then we can change the content of that variable at runtime.

Hope this can help you in some manner Donald. :)


DecSoft (In thread: Justification of Labels)

Always thanks you Donald. :)


DecSoft (In thread: Justification of Labels)

Hello Donald,

One possible way (if you have the very latest release of App Builder published right now) is to use the "TextAlign" CSS property of the Label control. In the object inspector, you can view a "TextAlign" property in the "Normal", "Hover" and "Focus" tab. Just choose one of the available values for this property like "center", "right", etc.

Another possible way to align the Label can be using their "Classes" variable. In that variable we can put the value "text-center" or "text-right". These CSS clases are provided by Bootstrap CSS and has available from us.

Another possible way is to use the app's "Inlince CSS". Access to that from the app's options dialog or from the designer object inspector. In the CSS editor, write something like the below code, suposing your Label name is "Label1", change the identifier for your Label's name.

The above code center the label.

The above code align the label to the right. Other possible values for "text-align" can be found here. This way can be useful, because we can use media queries, for example:

The above code means "If the browser window is smaller than 500px, put the 'Label1' to the right".

Finally, we can also use some actions to change the Label's alignment programatically, for example:

Hope this can help you Donald. If you have any further question don't hesitate to post it.

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