Originally Posted by gearhead10
I tried using the layout encoder you gave to put custom layout on my XOOM in touchosc 1.3 but it gives me a blank screen. Are you sure this works with version 1.3?
Yes definitely, on my Nexus S and Asus Transformer.
Are u copying the _complete_ generated base64 text in place of the predefined layout? Most importantly, are u picking the right layout to replace? It must match the id you selected in my applet: if u choose 0 you have to replace the layout at pos 0 ("Simple", the one preceded by "const/4 v1, 0x0 .line 16" in Layout.smali) or it WON'T WORK. The same applies to layouts in positions 1-4.
---------- Post added at 01:31 AM ---------- Previous post was at 01:18 AM ----------
Originally Posted by PittedPanda
Great! I am so excited to get this working!!
However. What do I do with the output?!?
I looked all in the touchosc apk and couldn't find a obvious spot to put it.
Should i past it into a .xml? or another .touchosc? but then were to put it??
Oh. Also... I have to use my roommates computer to run to exe and ill post the output file for the LiveControl.touchosc template for any other osx users once I figure this out![COLOR="Silver"]
Hi, I'm afraid the process (as I don't want to modify the app, wouldn't be right nor legal) to add a custom layout is not "1-click", especially since (1.2) the author wrapped the predefined lyouts inside source code. In 1.3 my applet is useful because u cant simply convert in base64 your layout XML and copy/paste it in Layout.smali: layouts are slighly scrambled, exactly to prevent replacing.
Ps. Sorry for the inconvenience in Os X/Linux. Then again I just tried running it with Mono (can't post links yet, but look for 'go-mono') and haven't encountered an problems (after all it's a bare-bone applet), so you shouldn't either.