Search found 37 matches

Go to advanced search

by kevinmcisaac
Thu Oct 22, 2020 7:41 am
Forum: Issues
Topic: Writting a file to the device
Replies: 3
Views: 1849
 
Jump to post

Writting a file to the device

I want to write out a file to my device. Do you have an example or instruction on using the Cordova File plugin to write a file to the device. Based on the tutorial I've already got the File plug in installed and configured and use it to read a file. When looked at the documentation https://cordova....
by kevinmcisaac
Mon Oct 19, 2020 1:27 am
Forum: Issues
Topic: Cannot find module 'cordova-plugin-simple-file-chooser'.
Replies: 1
Views: 1553
 
Jump to post

Cannot find module 'cordova-plugin-simple-file-chooser'.

I wanted to use the cordova-plugin-simple-file-chooser as it supports multi file selection: npm: https://www.npmjs.com/package/cordova-plugin-simple-file-chooser git: https://github.com/harshzalavadiya/cordova-plugin-simple-file-chooser I've Added this to Resource/Cordova Plug in. It has Plugin Id: ...
by kevinmcisaac
Sat Oct 17, 2020 11:36 pm
Forum: Issues
Topic: How do I check which platform the code is executing on ?
Replies: 2
Views: 1476
 
Jump to post

Re: How do I check which platform the code is executing on ?

I ended up using the ionic Platform ( https://ionicframework.com/docs/angular/platform ) service . As its already in Appery all I had to in the screen I want to check the platfrom is: add Platform to the "Internal includes", i.e., code/includes add the variable "platform", type P...
by kevinmcisaac
Sat Oct 17, 2020 5:13 am
Forum: Issues
Topic: How do I force a screen to redraw from Typescript
Replies: 1
Views: 953
 
Jump to post

Re: How do I force a screen to redraw from Typescript

Figured it out. I need to update the variable used in the ngFor and angular change detection does the rest... very nice!

by kevinmcisaac
Sat Oct 17, 2020 4:46 am
Forum: Issues
Topic: Adding options to a select
Replies: 1
Views: 943
 
Jump to post

Re: Adding options to a select

I found that if I double (or perhaps triple)click on the the select element then the option list pops up.

by kevinmcisaac
Fri Oct 16, 2020 1:51 am
Forum: Issues
Topic: Adding options to a select
Replies: 1
Views: 943
 
Jump to post

Adding options to a select

I have added a select item to the screen, then click on the green "+" sign in the select (which has the "Add select option" tooltip) but nothing happens. From the documentation I expected a popup where I could add options? https://drive.google.com/file/d/126K_U-_Lk-ctaDm4-H_jMmnz...
by kevinmcisaac
Thu Oct 15, 2020 10:23 am
Forum: Issues
Topic: How do I force a screen to redraw from Typescript
Replies: 1
Views: 953
 
Jump to post

How do I force a screen to redraw from Typescript

I have a screen with a Card that has a *nFor "let item of siteList" that creates card for each item in siteList. Each card has a button with a Typescript event that allows the user to modify the items in siteList. At the end of the Typescript I want the page redraw due to the changes in si...
by kevinmcisaac
Thu Oct 15, 2020 1:06 am
Forum: Issues
Topic: Start and stop a spinner in IONIC
Replies: 1
Views: 1257
 
Jump to post

Start and stop a spinner in IONIC

I have a long running (2-10 sec) Typescript (reads many files), run from a button click event, and I want to show a spinner. If I look at events on the button there is a "present loading" to start a spinner, but no event to to stop it. I found an article that suggested using showSpinner / ...
by kevinmcisaac
Wed Oct 14, 2020 4:49 am
Forum: Issues
Topic: Using a method in multiple screens
Replies: 1
Views: 984
 
Jump to post

Using a method in multiple screens

I've a method defined in screen1, i.e., in Code> Functions, can I use this in other screens? How do I call it?

by kevinmcisaac
Wed Oct 14, 2020 2:23 am
Forum: Issues
Topic: How do I check which platform the code is executing on ?
Replies: 2
Views: 1476
 
Jump to post

How do I check which platform the code is executing on ?

How do I check which platform the code is executing on , i.e., web browers, vs Android APK, vs iPhone?

I want to be able to use this in my Typescript or in an element property, i.e., [[hidden]

Go to advanced search