bug: android cannot pass args

Home Forums Control bug: android cannot pass args

This topic contains 1 reply, has 1 voice, and was last updated by  psc 4 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #93289

    psc
    Member

    hi, as stated here:
    http://charlie-roberts.com/Control/forum/topic.php?id=8267#post-11526

    i cannot pass arguments with OSC like this /mylabel helloworld, i even tried:

    oscManager.delegate = {
    processOSC : function(oscAddress, typetags, args) {
    switch(oscAddress) {
    case “/t”:
    var w = control.getWidgetWithName(args[0]);
    w.setValue(args[1]);
    break;

    not working (the label became empty and if i send a integer it will always be 0). also trying to w.setValue(args[0]) will output mylabel in my case! so really it’s a bug somewhere when passing multiple string arguments. any idea, i could try to recompile the apk if you don’t have the time to test…

    thx!

     

    #93290

    psc
    Member

    BTW, my interface is working correctly on iOS. i have setup your project in eclipse and i can run it on an emulator, so if you have any hints on how to fix this problem i will try my best (i never coded in java / phonegap) to fix this issue.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

This work is licensed under GPL - 2009 | Powered by Wordpress using a heavily modified version of the theme aav1