Search found 29 matches

Go to advanced search

by Louis
Mon Dec 15, 2014 1:38 pm
Forum: Issues
Topic: CSS priority problem
Replies: 5
Views: 575
 
Jump to post

CSS priority problem

Have you tried using !important ?

codefont-family: Roboto !important;/code

by Louis
Fri Dec 12, 2014 9:28 am
Forum: Issues
Topic: Using orderby to order results from a DB query
Replies: 3
Views: 468
 
Jump to post

Using orderby to order results from a DB query

Hi Bruce,

Try..

Name: sort
Value: -scustomername

by Louis
Tue Dec 09, 2014 3:16 pm
Forum: Issues
Topic: How to exit appery app
Replies: 1
Views: 372
 
Jump to post

How to exit appery app

You can't do it in iOS. Well, you can, but Apple doesn't like it. In Android on a click event do:

codegetActivity().finish();
System.exit(0);/code

This would be added to the event through source code for Android only.

by Louis
Tue Dec 09, 2014 2:40 pm
Forum: Issues
Topic: Window. open doesn't work
Replies: 6
Views: 977
 
Jump to post

Window. open doesn't work

Is this on Android or iOS? I think on Android it's window.location. On my app i have it set to open in new window using: codewindow.open('https://yoururl.com', '_blank');/code or codewindow.open('https://yoururl.com', '_system');/code
by Louis
Mon Dec 08, 2014 10:16 am
Forum: Issues
Topic: App not working correctly on Samsung Galaxy Note 10.1 2014 edition
Replies: 28
Views: 3017
 
Jump to post

App not working correctly on Samsung Galaxy Note 10.1 2014 edition

Hi Alex, Have you tried just opening the PDF into the browser? I prefer to open PDF's straight into the users browser using InAppBrowser so it never leaves the application. It also has loading and "Done" button for the user to close. Something like: codewindow.open('https:/...
by Louis
Mon Dec 08, 2014 10:07 am
Forum: Issues
Topic: Images Displayed in Hello World & Coding Issue
Replies: 7
Views: 797
 
Jump to post

Images Displayed in Hello World & Coding Issue

Hi Angel, Here's a way that I would do it. I would include the moment.js ( http://momentjs.com/ ) library to display current time (Create new Javascript Upload). This way would mean the current time is always based off the device's local date / time. Use an IF statement ( http://www.w3schools.com/js...
by Louis
Fri Dec 05, 2014 9:33 am
Forum: Issues
Topic: Alert Boxes
Replies: 9
Views: 949
 
Jump to post

Alert Boxes

Hi Bruce, You can use the preinstalled native plugin called dialogs. It has built in alert, confirm, prompt or beep. https://github.com/apache/cordova-plu... This lets you use native pop/dialog function which is a big plus when it comes to trying to get on market stores (using native functions). To ...
by Louis
Thu Dec 04, 2014 8:50 am
Forum: Issues
Topic: Is it Possible that?
Replies: 5
Views: 637
 
Jump to post

Is it Possible that?

You need a web server to serve your scripts, you can't connect to your local IP because it's only local to you i.e. no public access.

One way to do this is buy a cheap shared hosting plan with a subdomain or spare domain and upload your script to that.

by Louis
Wed Dec 03, 2014 10:25 am
Forum: Issues
Topic: How do you convert 24 hour time to am/pm using javascript?
Replies: 10
Views: 3420
 
Jump to post

How do you convert 24 hour time to am/pm using javascript?

Just to add, if you are planning on showing dates/time throughout your app, it might be worth adding a library to handle it for you. In my app I use Moment.js.

http://momentjs.com/

by Louis
Fri Nov 14, 2014 10:04 am
Forum: Issues
Topic: Quit an app - programmatically
Replies: 5
Views: 770
 
Jump to post

Quit an app - programmatically

I think for Android it's codenavigator.app.exitApp();/code

As far as I know for iOS, you're not allowed to close it programmatically. You are forced to use the home button.

Go to advanced search