Hello Walter,
Anyway, if you get stuck or something like that, just post it here! :)
Hello Walter,
Anyway, if you get stuck or something like that, just post it here! :)
Hello Walter,
I think you must to use a Label or HTML control along the Image controls. That is, just positioning that label or HTML control (to show your image's label) below the Image controls. You can use Image control events like "MouseEnter" and "MouseLeave" to change the appropiate label, or just set the label with the appropiate text, depending on the app's language.
You found some problems with an approach like that Walter? I am missing something?
Hello Walter,
Are you tried with an HTML control using some of the available font-icons inside? Take a look at the below app sample to get an idea about this approach:
Probably we can take a similar approach using IMG tags inside the HTML control. However, we can also try with an Image control with a Label or HTML control below (for the image label).
Because we need to start with something, take a look at the above attached sample and tell me what do you thing about Walter.
Hello again,
Ok. Just use the app's "Ready" event. I just try it and they works like expected, that is, shows the banner when the application starts.
Hello,
Click can be a workaround Ade. Anyway, please, try with the "Ready" app event instead of the app's view's "Show" event. By my mistake I suggest you the "Show" event before, but this cannot be used, since they are fired before the "Ready" app's event, something needed to work with this Cordova's plugin. I am now preparing a sample which use the "Ready" event. Later I tell you what happend Ade.
Hello Ade,
You must use at least some of the events that the plugin provides, since such events inform us about possible errors, success, "leaves" (when the user tap the banner), etc. On the other hand, I suggest you these possible approach:
1º Try with the "Show" event, but, after call "AdMobShowBanner" use also the "ApplyModel" action.
2º Use another possible event like an app's view "Click" event if the "Show" event continue causing problems.
Please, tell me about your progress Ade.
Hello Ade,
Are the ads show in other place than the bottom one? Are you use at the "AdMobFailEvent" event to get possible error information? And what for other events?
Hello,
Maybe some temporary problems in the plugin's server. Glad to know you got it Ade.
Hello Ade,
In your case the first thing I try is to upgrade Cordova to the latest version.
Open a console window and write this:
npm update -g cordova
Then delete the "_Compiled" directory and try again Ade.
Hello Ade,
Yes; the AdMob demo is included by App Builder. In fact is the first in the list! And they are ready to be build with Apache Cordova, that is, all the app's options are "checked" to do that, since the AdMob only works once our application has been build with Apache Cordova. So, in principle, you are ready to build the application and try it in your own phone...
Hello Ade,
Are you take a look at the "Report*" samples? I think the Report control is what you are looking for.
Hello,
App Builder produced applications are HTML5 applications, so they work in mobile and desktop browsers without any dependency, while we do not require a Cordova plugin, for example. Then are you using Cordova to build the app? You no need that, if you want to deploy it in mobile and desktop browsers.
If you get a white screen, please, take a look at the debugger's console and tell us if you can view some error or something. A copy here of the console's messages can be good. Also, maybe you want to try your application in a browser like Firefox. If what happend is you want to try the application in a "local way", instead of using a web server, that is not possible except for Firefox.
The "local way" do not work in all browsers since browsers refuses AJAX calls (for example) for local files. But App Builder's applications requires the app's views using AJAX. Also the "local way" can cause other kind of problems, for example, you can't use the local storage from local files in Internet Explorer. Then, yes, you need to put your application in a web server.
Hello,
I think we can't do anything except wait for a solution from Apache Cordova. I don't know why the Browser platform does not work as expected: may they are in an experimental state or something else. Anyway, if your application does not use Cordova's plugins, probably you can simply run it from a browser, just like any HTML5 application.
Hello Ade,
The AdMob plugin is only available when the application is build with Apache Cordova.
Hello Ade,
Sorry, but, I can't understand what you mean by "the sample display as Lightbox message". I think the bottom banner shows like the above image. Can you provide a capture of the sample with bottom ads inside and explain a little more the issue?
Here is a capture of the AdMob sample running in my phone:
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.