de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 104 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next
Author Message
 Re: News about Android
PostPosted: Fri Apr 03, 2015 1:19 pm 
Offline
Veteran
User avatar
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?

_________________
Liz

You can't take something off the Internet - it's like taking pee out of a pool.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Fri Apr 03, 2015 1:25 pm 
Offline
Site Admin
User avatar
It won't work in the future ; so far nothing has been released


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Thu Jun 04, 2015 10:57 am 
Offline
Regular
Damn, no news on this ? Would be a game changer for ppl like us :D


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Thu Jun 04, 2015 6:06 pm 
Offline
Site Admin
User avatar
I agree ; most probably I'll work more on it this summer, let's say an alpha during July.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Wed Aug 12, 2015 5:01 pm 
Offline
Site Admin
User avatar
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.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Wed Aug 12, 2015 6:08 pm 
Offline
Veteran
User avatar
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 :(

_________________
Liz

You can't take something off the Internet - it's like taking pee out of a pool.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Wed Aug 12, 2015 7:50 pm 
Offline
Site Admin
User avatar
Camera ok ; but for hardware with 2 cams, the defaut one will be used, without any mean to change.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Mon Aug 17, 2015 3:38 pm 
Offline
Veteran
User avatar
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.

_________________
Liz

You can't take something off the Internet - it's like taking pee out of a pool.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Mon Aug 17, 2015 4:42 pm 
Offline
Site Admin
User avatar
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")) {....}


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Mon Aug 17, 2015 10:17 pm 
Offline
Veteran
User avatar
Thanks guessed you would have something obvious in system property but wanted to be sure. :)


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Mon Aug 24, 2015 7:43 pm 
Offline
Site Admin
User avatar
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.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Tue Aug 25, 2015 6:33 pm 
Offline
Veteran
User avatar
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...

_________________
Liz

You can't take something off the Internet - it's like taking pee out of a pool.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Tue Aug 25, 2015 8:20 pm 
Offline
Site Admin
User avatar
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.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Thu Aug 27, 2015 7:41 pm 
Offline
Site Admin
User avatar
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.


Top
 Profile Send private message 
 
 Re: News about Android
PostPosted: Thu Aug 27, 2015 10:55 pm 
Offline
Veteran
User avatar
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-)

_________________
Liz

You can't take something off the Internet - it's like taking pee out of a pool.


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 104 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2015
This website uses session cookies only.