Ulf Dittmer wrote:Well, the obvious and easy approach would be to use Google Play if you don't mind a 30% cut.
I mentioned some other payment options in https://coderanch.com/t/611538/Android/Mobile/SMS-SMS-ticket-system-simular#2793681, but those don't support the in-app aspect of several small items being sold to the same customer, AFAIK, it's more about a fixed price for the app. So you'd have to implement all that, regardless of payment method.
Ulf Dittmer wrote:From what I've read anecdotally, in-app upgrades are preferable. It's harder to get people to switch to a different app (some will do, but you'll lose some in the process), and fewer people check out apps that cost money from the start. There's a clear trend away from paid apps towards in-app purchases.
John Damien Smith wrote:Wrap the contents of your run method in Platform.runLater to put it on the JavaFX Application thread. Or remove the Timer and replace it with a Timeline.
Paul Clapham wrote:
Casey Clayton wrote:So what I have is a track, which has a set length in feet and a set speed which is feet per second... Now I need to take say a track length of 21 feet with a speed of 1ft/s and figure out how long the animation should last...
You want an answer in seconds, so you're going to have to multiply feet by seconds/feet (yes, the dimensions work just like their values do in arithmetic). So suppose your track length is 18 feet and the speed is 2 feet/second. To get seconds/feet you take the reciprocal, so that's 0.5 seconds/feet. Multiplying that by 18 feet gives you 9 seconds for the length of the animation.
Now, that's assuming you want your animation to take the same amount of time that the box actually takes to move along the conveyor. You might want to speed it up, because having it take 9 seconds to cross a small computer monitor might not produce the right effect. However I'd leave that part aside for now and just work on simulating the box's travel in real time. Inserting a speed-up (or slow-down) factor could be done later without too much difficulty.
John Damien Smith wrote:Also posted here:
JavaFX Scene Builder 2.0 dynamic css menubutton
Pawel Pawlowicz wrote:
Casey Clayton wrote: when it should be "Metformin HCL, Januvia, Abilify" all in one position
No, it should be Metformin HCL, Januvia, Abilify.
Without the quotes.
Too bad you can't use opencsv or Apache commons CSV.