Search found 54 matches

Go to advanced search

by Alan Smith
Wed Oct 22, 2014 1:24 pm
Forum: Issues
Topic: Using grids/something for dynamically generated buttons
Replies: 4
Views: 667
 
Jump to post

Using grids/something for dynamically generated buttons

I have a menu page on my app. The menu page consists of buttons and their only function is to navigate to various pages on the app. I want the buttons to be generated dynamically from a database. So if the user of the app has permission to visit a page, the button will be visible. I have used lists ...
by Alan Smith
Wed Oct 22, 2014 9:47 am
Forum: Issues
Topic: Problem invoking service from Javascript
Replies: 5
Views: 994
 
Jump to post

Problem invoking service from Javascript

Is there a way to invoke the service from several pages. As you can see from above, I am running the function on every page load, so if I use the instance to invoke the service, it will only work on that page.

Is there a way this can be done, to invoke the service without it being page dependent?

by Alan Smith
Tue Oct 21, 2014 8:21 pm
Forum: Issues
Topic: Problem invoking service from Javascript
Replies: 5
Views: 994
 
Jump to post

Problem invoking service from Javascript

Hi Kateryna That was exactly the problem, thank you. Just further on this though. If I'm returning a value from the REST service, how do I collect that via the function and insert it into a local variable? I assume i get it from the below? success: function(e) { alert(data); }, ??
by Alan Smith
Tue Oct 21, 2014 6:39 pm
Forum: Issues
Topic: Problem invoking service from Javascript
Replies: 5
Views: 994
 
Jump to post

Problem invoking service from Javascript

I am having problems invoking a REST service through Javascript. I've read through the forum and tried everything I can find but I still cant get it to work. My rest service is called: checkJobStatus And on page load I have a function call: checkJobStatusFunction(); And the function, which isnt quit...
by Alan Smith
Mon Sep 01, 2014 12:22 pm
Forum: Issues
Topic: Paypal API return URL
Replies: 16
Views: 1768
 
Jump to post

Paypal API return URL

Hi

Can anyone help me with the redirect? All i need to do i close the InAppBrowser and redirect to a page in the app?

Thanks

by Alan Smith
Sat Aug 30, 2014 8:38 am
Forum: Issues
Topic: Paypal API return URL
Replies: 16
Views: 1768
 
Jump to post

Paypal API return URL

Hi Katya Thank you for your reply. I have tested this app on a couple of android devices a Samsumg Galaxy and a Google (Vodafone) Smart 4. In detail what happens: A user of the app would like to report that their vehicle has broken down. They navigate the breakdown page (Breakdown.html). The app the...
by Alan Smith
Thu Aug 28, 2014 1:28 pm
Forum: Issues
Topic: Paypal API return URL
Replies: 16
Views: 1768
 
Jump to post

Paypal API return URL

Can someone please help me solve this issue?

by Alan Smith
Thu Aug 28, 2014 11:40 am
Forum: Issues
Topic: Paypal API return URL
Replies: 16
Views: 1768
 
Jump to post

Paypal API return URL

I have tried using the code you mentioned in the post. But it is still just redirecting to the appery login page. Here is the code I am using (Breakdown.html is the page that sends data and redirects to paypal). Can you see anything wring with it? if (typeof(cordova) !== "undefined") { var...
by Alan Smith
Wed Aug 27, 2014 6:38 pm
Forum: Issues
Topic: Paypal API return URL
Replies: 16
Views: 1768
 
Jump to post

Paypal API return URL

Hi Im afraid I cant really make any sense of that post. The code that you gave as I stated above is custom to their application, so it doesnt work on my application and makes no sense on how i need to use it. I understand that I need to use window.open instead of window.location.href but I dont get ...
by Alan Smith
Tue Aug 26, 2014 4:27 pm
Forum: Issues
Topic: Paypal API return URL
Replies: 16
Views: 1768
 
Jump to post

Paypal API return URL

Hi Katya

Thanks for the reference to the previous post. You seem to offer the OP some custom code which seems to be specific to his application, so I dont see how that would help me.

Do i need to use the plugin, or can I do it the way that is suggested on the above youtube tutorial?

Go to advanced search