SexScripts : News about Android - https://ss.deviatenow.com:443/viewtopic.php?f=3&t=187 Page 2 of 9

Re: News about Android

Liz [ Fri Apr 03, 2015 1:19 pm ]

Sorry I'm probably being dense but with Banjo's comments about white queen working on Android has sexscripts been release somewhere (even as a test version).. did not see a download or in the play store? Or do you have to do something clever?

Re: News about Android

doti [ Fri Apr 03, 2015 1:25 pm ]

It won't work in the future ; so far nothing has been released

Re: News about Android

dslibre [ Thu Jun 04, 2015 10:57 am ]

Damn, no news on this ? Would be a game changer for ppl like us :D

Re: News about Android

doti [ Thu Jun 04, 2015 6:06 pm ]

I agree ; most probably I'll work more on it this summer, let's say an alpha during July.

Re: News about Android

doti [ Wed Aug 12, 2015 5:01 pm ]

Testing and testing (alpha 2 now).

  • java.awt.*, used on image creation, won't work (White Queen, SexPuzzles, Breath Academy, Subcontrol)
  • Eval won't work also (Subcontrol, CampDrain, Sex Cards)

I do not see any realistic solutions for both for now ; Eval may be magically supported later, it depends mainly on this project.

Re: News about Android

Liz [ Wed Aug 12, 2015 6:08 pm ]

Keep up the good work doti :D .. I can always try to do a cutdown version of SexCards and Subcontrol to get round the eval and java.awt issues.. But my guess is the camera will not work :(

Re: News about Android

doti [ Wed Aug 12, 2015 7:50 pm ]

Camera ok ; but for hardware with 2 cams, the defaut one will be used, without any mean to change.

Re: News about Android

Liz [ Mon Aug 17, 2015 3:38 pm ]

doti wrote:
Notice (Android) : when in scripts using some additional java functions to open a file, I recommand from now set the path to an absolute folder explicitely, with this expression : System.getProperty("user.dir").

For example, from :
Code:
new File(newName).renameTo("images/myscript/yourPic.jpg")

To :
Code:
def dir = System.getProperty("user.dir")
new File(dir+"/"+newName).renameTo(dir+"/images/myscript/yourPic.jpg")


Looks like things are progressing nicely :D One suggestion, if some things are going to be a little different on the android version is it worth building in a system property called "platform" that a script can check? Would allow for the scripts to easily use alternatives for java.awt and eval only when needed.

Re: News about Android

doti [ Mon Aug 17, 2015 4:42 pm ]

Here are some clues about it :
Code:
show(System.getProperty("os.name")+" - "+System.getProperty("os.arch")+" - "+System.getProperty("java.vm.name"))

Sample results :
  • Windows 7 - x86 - Java HotSpot(TM) Server VM
  • Mac OS X - i686 - Java HotSpot(TM) Server VM
  • Linux - i686 - Dalvik
  • Linux - armeabi-v7a - Dalvik
You may use
Code:
if(System.getProperty("java.vm.name").contains("Dalvik")) {....}

Re: News about Android

Liz [ Mon Aug 17, 2015 10:17 pm ]

Thanks guessed you would have something obvious in system property but wanted to be sure. :)

Re: News about Android

doti [ Mon Aug 24, 2015 7:43 pm ]

The Android app is now available in public beta 1

It is similar to the desktop app, but without the editor. Some advanced scripts won't work (see above).

It works with Android 4.0+ (66% of the market). Some device before 4.1 may have no sound.

To install it, you need to allow applications from unknown sources, it can't be on Google Play. Security : see the requested permission when installing (camera, internet, vibrate, wake lock). It doesn't "phone home", but still uses this website to download scripts, of course.

If you want to be a beta tester, download sexcripts.apk on the main page of SexScripts from the browser of your Android device.

Re: News about Android

Liz [ Tue Aug 25, 2015 6:33 pm ]

doti wrote:
You may use
Code:
if(System.getProperty("java.vm.name").contains("Dalvik")) {....}


Having a little play with how I get subcontrol working on the android.. If I put the java.awt code in an if block as above (well the negitive of) the script will still parse the offending lines and entire script will not run.. I'm wondering if there is a way to get round this? The only thing I can think of at the moment is to have an entire "android version" script and it jumps to that based on a condition near the top :? but it appears a lot of duplication for the 3 needed workarounds...

Re: News about Android

doti [ Tue Aug 25, 2015 8:20 pm ]

Yes, it is called "dynamic invocation" and is somewhat tricky and ugly also. You'll find an example of it in fontconfiguration.groovy.
For example, you replace
Code:
def obj = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()

By
Code:
def geObject = Class.forName("java.awt.GraphicsEnvironment").
   getMethod("getLocalGraphicsEnvironment").
   invoke(null)

This replaces compilation errors (reading all the script) by exceptions (only when reaching the line). It is less readable, difficult, slow, and bug prone, but you're right it is needed.

Some may have other ideas about this problem.

Re: News about Android

doti [ Thu Aug 27, 2015 7:41 pm ]

So some scripts don't work on Android. Some temporary, some definitely. It would be good to let a user know that he should not download it on Android, but I have no big idea now about it. It could be a tag ; ideas welcome.

Re: News about Android

Liz [ Thu Aug 27, 2015 10:55 pm ]

doti wrote:
So some scripts don't work on Android. Some temporary, some definitely. It would be good to let a user know that he should not download it on Android, but I have no big idea now about it. It could be a tag ; ideas welcome.


Was wondering if it may go better in the Status field? so for example "Jennifer's Blackmail" could be "Complete Android" so you can put Android if it works with Android or "No Android" if you know it not to work with Android (or nothing if we don't know). We can put that in now without any need to update anything on the server? Also better than cluttering up the tags?

[Edit]
On that note Jennifer's Blackmail is not working for me on Android when it gets to the camera bit so may need to have an "Android coming soon" as well :D

Quote:
let a user know that he should not download it on Android

and Doti will let your sexism slip this once as I'm in a good mood 8-)

Page 2 of 9 All times are UTC + 1 hour [ DST ]
https://ss.deviatenow.com:443/
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2011