Hello,
Hi David,
It would be nice to have sample project on file transfer plugin in AB. Because this will make it more powerful and additional feature.
I have not time right now, but maybe I can prepare some sample when have some opportunity. But please, ask me this question: are you thinked in some specific kind of files edunt?
Hello to all!
Anyone here are tried with the UserAgent action? :)
Hello to all,
Hi. Reg4App
Yes. I do not want to use the phone copy and paste option or process as many are novice on how to copy and paste n android phones.
I want a system where they can copy an sms content of the phone, and while they are in my app (AB). They should just click a button to paste the content n an input box. That's all.
HOW DO I DO THIS?
Note. To copy within AB and paste witching AB is simple. He app sample has all of that. But my issue is the out of AB content to be pasted in AB with a click of a button in AB. Android app.
In my humble opinion any Android's user knows perfectly how to paste content into an editbox. Maybe you can help a bit with an small text saying something like "To paste the number, tap in the above editbox and choose Paste from the contextual menu". In fact probably you no need to go so far: maybe a simple label or placeholder in the editbox is enough.
Anyone that can use a number in your app are perfectly capable to paste that number in the specified editbox. And, since trying to do other things implies problems (The system allow us to access the user's clipboard? With or without permissions? Is the clipboard content ready to be pasted? Is the data we expected?) I think we must think to keep simple here.
P.S. Just think on the phone application in android's devices. They have a button to paste the number into the appropiate editbox? No. Simply let the user to type the number or just paste it...
P.S.2. On the other hand, are you looking for some Cordova's plugin? Remember that, if a plugin doesn't exists, you may create your own one... or pay to some other developer to create it for you!
Hello,
What I mean is to paste content that might be copied from a different app into my app which is build wth AB. I want users to be able to copy content from any app and paste into my app input box by a click of a button.
In summary. The app should b able to paste any value in the clpboard into an input box in my app.
Thanks.
Then I think you need a Cordova's plugin to do that, if that plugin exists... That is. The user can paste text in our application editboxes without problems, but, not by own our buttons, but using the system's provided menu. Please, if you can found a plugin that you can use, share it here with us!
Hello kasito,
If we are talking about text input controls, why not simply set the value of such controls with the copied content? Or I am completely missunderstand what you wanted?
Anyway I am update right now App Builder in order to incorporate some Clipboard related useful stuff. May this can help you in some way too? Just let me know!
2017.10 (02/05/2017)
* Add the new Clipboard2 sample, which shown how to use the recently added Copy, Cut and Paste events into almost all input controls and the Textarea control.
* Add the new [Control.PastedText] variable, which is available in almost all input controls and the Textarea control inside the Paste event of this refered controls.
* Add the Paste event to almost all input controls and the Textarea control. This event allow us to maintain informed when the user paste some text into the refered controls.
* Add the Cut event to almost all input controls and the Textarea control. This event allow us to maintain informed when the user cut some text from the refered controls.
* Add the Copy event to almost all input controls and the Textarea control. This event allow us to maintain informed when the user copy some text from the refered controls.
Please, let me know if you have any further question!
Hello to all,
Just to say that I add the new "Menu4" sample into App Builder, and, also attach it here for your convenience: Menu4.zip. Here is an extract from the App Builder's history file:
This app sample show us how we can use an entire app's view to place a Menu control, in order to be used in any moment in a normal or modal way. Certainly this approach have various advantages: the menu fit all the view space; the menu can contain any number of items, since they scroll without problems; the menu's view can contains other controls; it's possible to show the menu from any other app's view; and, last but not least, this approach works fine in desktop and mobile.
Hope they can be useful!
Hello fakie,
Working fine now.
Thanks David!
I believe it would be nice to be able to sort the samples chronological, since new ones tend to blend in with older ones. Maybe just h
Just add the and or fields in your sample report.
Glad to know you find the Header and Footer Report sample. (Hey! A "search/filter" field exists in the Samples dialog!) About this last question, please, explain me a little bit (or upload an small app sample!), since I am not sure if can well understand. I am not sure if we can order by dates or we must prepare or ordered the Report's source. Please, explain me a little bit and I will try to help you.
Hello to all,
Here is an example of what I mean...
MenuPractise.ab
One menu to rule them all :-)
Thanks for sharing fakie!
Hello fakie,
Is it not much easier and neater to use the master view for this?
Then you click the "master is visible" on all views where you want the master stuff to "show through".
This means the code is all in one window, and much easier to manage...
I am not quite sure. Talking about a menu, and, as I say before, one possible good approach is to use one (or more) app' view, but I am not sure if this must or can be the app's master view. I think not, because, if you place a button, for example, in the master view, and draw that master view in another, then the button appear in that another view: maybe up to others controls.
Just as I say before:
[...] If we must shown a menu to the user, a possible good approach is to use a view as a dialog (or not) or with some animation (left to right?), so that view can contains any controls like buttons, allowing the user to do whatever they wanted, for example, tap in a button to goto into another app's view.
Hello to all,
Woooooooouuuu ;-D
THANK YOU SO MUCH!!! DAVID!!!
I am terribly sorry because I did not try, or even focused on, the REPORT control... Soooo sorry ;-( but... ;-DDDDD It is soooooo powerful. I think I could do what I have in mind... even better because all the functionalities. Thank you su much...
Eduardo ;-D
Always thanks you Eduardo! And please, let me know if you have any further question. :)
Hello Eduardo,
First of all, maybe you don't know about the App Builder's UserAgent action. Please, take a look, and, in particular, at the "[ResultVar.device.type]" variable. If this is enough for you then probably you no need any Cordova's plugin here for this task.
Said that, certainly App Builder includes various Cordova's plugins "out-of-the-box", and, allow us to use any other like we can read in this help's tutorial. Also App Builder includes various samples that uses Cordova's plugins, so take a look at the samples: "CordovaPlugins", "SendSMS", ""Magneto" and "Launcher".
About your specific problem to implement the "IsTablet" plugin... testing here I think they works as expected. Please, Eduardo, (sorry, this is not well documented) be sure you check the "Dialogs" plugin in the app Cordova's options: at least in the past this plugin are required if we plain to use the "alert" function. On the other hand I think you do the correct job by implementing the plugin.
Anyway take a look at the sample that I prepare for the test: ITabletTest.zip. At least they works in my phone... which is NOT a tablet... but I can't try it in a tablet, sorry...
Hello to all,
I understand perfectly what you wanted Eduardo and then I am look here for a possible solution or workaround, but they are not possible. Let me to explain a bit. We can certainly place arbitrary HTML code inside an HTML control. We can (take a look at the HTMLContent app sample) place also buttons or links with their own IDs in order to react when they are clicked by the user, using the HTML control Click event.
However, when we place an application variable inside an HTML control, certainly such variable's contents can contains also HTML, but, they are not "binded" with the application, which means, for example, that the HTML control Click event doesn't nothing about the HTML elements' IDs. Searching for a possible solution I find a way to "bind" or "compile" the variable's HTML content, however, this only works if that variable content is one (and only one) HTML element, and no other thing.
So probably for your purpose the better workaround can be to use the Report control instead the HTML one. The report control is quite powerfull (App Builder includes up to 17 Report* samples) and offer to us a way to place links, buttons, videos... inside, determined dinamically as you wanted. I am sorry if can't offer another solution, that is, exactly what you wanted, but I think it's merelly imposible even with the appropiate App Buidler's modifications.
Hello to all,
Anyway I want to add something. If we must shown a menu to the user, a possible good approach is to use a view as a dialog (or not) or with some animation (left to right?), so that view can contains any controls like buttons, allowing the user to do whatever they wanted, for example, tap in a button to goto into another app's view.
Just to add another possible approach that may someone want to try. :)
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.