This is good news, although I may have broken intentional orientation changes too, after reviewing the code. I need to put it through some tests to make sure, hopefully all is well for everyone the way it is, or I can fix the orientation-switching and not re-break Honeycomb.
I forgot, I already threw in the Android Settings menu option last release. I updated the release notes to show this. If you have Home screen mode enabled, there should now be an 'Android Settings' button in the base Menu panel.
The problem here is the Activity to launch may not be callable like this from my App in certain cases, and if I hard-code it to the default, it may actually mess up for people that have other homescreen apps installed. The truth is I've been too focused on on-device editing and docs/examples to go back to the code much so I've been mostly reading other people's similar solutions and have a few ideas to try, but no time yet to try them.
All the functionality is now there with the last two releases, so you'll just need an example which I'm working on as part of my to-do examples list. I've been distracted by the on-device editing features (I think they are critical to wider usage of Andre, most people I've spoken with don't want to tinker with XML much) and non-Andre commitments. I'll push it to the top of the examples stack and get you something ASAP to get you started.
I believe I've seen this behavior and it's a result of being aggressive about shutting down Andre forcefully instead of letting the system do it, so I need to re-visit that code.
Sure, so you just want it to consider multiple SSIDs as 'home/private network'? That should be trivial enough. I use one SSID with multiple APs using WDS so I never thought about that need. I'll add that next release.
Ok, great I'll give it a try...
Fair enough... At least the setting option is there now so I can reset the default launcher if needed.
Looking forward to the examples... : )
[/QUOTE]
Yep, I use a single SSID with WPK2 but for trouble shooting my wifi issues I would like to able to use different SSIDs so I can manually connect to different APs and know when one I am connected to when things are acting up... I figured it would be easy to implement otherwise I would not have asked... : )
Think I figured out my wifi issues. The problem was that one of my routers supports B/G/N and the other supports B/G. The phone wouldn't switch to the G signal from the N signal. I turned off N and all appears fine now. I guess I need to buy another N router now cause I hate to go down to G... : )
Cool, glad you figured it out, I'll have to remember that this is the case, I've been considering diving into N routers soon.
Also I went to implement the multi-SSID feature, and saw that it's already there. The test against SSID does a 'contains' comparison, so as long as the connected SSID string is somewhere in your defined SSID string (can be separated by any character (or none!)) it should work like you want.
I just tried this and it works for me, here's the script I'm using to test it:
I'm going to test the testConnection variable setting next, stay tuned.Code:<Script id="script_parseXmlWithE4X"> <![CDATA[ var myXml = '<Response Status="OK"><Item Name="State">0</Item><Item Name="FileKey">23715</Item><Item Name="Status">Stopped</Item></Response>'; var xmlDoc = XML( myXml ); for each ( item in xmlDoc..Item ) { var itemName = item..@Name; var value = item; andreCommands.broadcastToast( 'Item "' + itemName + '" value is "' + item + '"' ); } ]]> </Script>
I cut and paste your Parameter and just updated the IP to my own and it's working; I select 'edit variables' from the Settings->Tools menu and it was there and set to true. I then changed the IP to a non-existant address and tried it again and checked the Edit Variables page and it was set to false.
How are you testing the variable? Maybe reload your config from scratch if you haven't already and try again?
I do it several times. When I switch back to previous version it works and with the last one, it failed...
After switching to certain pages, I get an error : Error in script : unamed script Line#:1 Reason : erreur de syntaxe"
The debug gives me addition info : Error in statement 'true == ' is not true or false.
I thing it comes when it run theCode:execIf="true == _%var_netaccess%_"
Variable creation from the cloud (via http://www.andreapp.com) are not working too with this version but it is ok with the previous one ...
Very strange issue on my Iconia Tablet A500...