<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">You probably need to delete the app itself on the device, then install the new build. This sometimes happens with iOS where the binary is updated but not the data files.<br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--------<br class="">Dan Wilcox<br class=""><a href="https://twitter.com/danomatika" class="">@danomatika</a><br class=""><a href="http://danomatika.com" class="">danomatika.com</a><br class=""><div class=""><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Nov 13, 2015, at 12:21 AM, Jose Luis Diez Antich <<a href="mailto:jl.diez.antich@gmail.com" class="">jl.diez.antich@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Dan, <div class=""><br class=""></div><div class="">Thank you for your answer.</div><div class=""><br class=""></div><div class=""><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote">What do you mean by “modify it”? Modify the patch? The ofApp? You mean you send messages to the patch or?</blockquote><div class=""><br class=""></div><div class="">I mean modify the pd patch, sorry if I was not clear. At the moment, in the patch noisepanning.pd, there is an [osc~] connected to the second inlet of [headShadow]. <br class="">Then, I modify the patch so the input to this second inlet is a constant and I build the app again (running: make AndroidDebug and ./gradlew assembleDebug). When I install the new version of the app in my phone, the behaviour of the app is exactly the same as before, as when there was an [osc~] object.</div><div class=""><br class=""></div><div class="">I hope my problem is more clear now :)</div><div class=""><br class=""></div><div class=""><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote">Does the sound work in the example if you build and run it on Android? I don’t have an Android device, so I’ve never tested ofxPd on Android. I’ve been told it does work, however.</blockquote></div><div class=""><br class=""></div><div class="">I have not tested an example, but the application I built runs on android.<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I am not sending anything from ofApp.cpp at the moment, but that is the next step, once I sort out how to modify pd patches.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thank you for your time,</div><div class="">jl</div><div class=""><br class=""></div><div class=""> </div></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Nov 13, 2015 at 1:49 AM, Dan Wilcox <span dir="ltr" class=""><<a href="mailto:danomatika@gmail.com" target="_blank" class="">danomatika@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div class=""><div class=""><span class=""><blockquote type="cite" class=""><div dir="ltr" class=""><p style="margin:0px 0px 6px;color:rgb(20,24,35);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:17.5636px" class="">At the moment, I am loading a pd file called "noisepanning.pd", I load it in the <a href="https://github.com/%E2%80%A6/exampleTween%E2%80%A6/blob/master/src/ofApp.cpp" target="_blank" class="">ofApp.cpp</a> source code file. The problem arises when I try to modify it, because the app behaviour does not change, it is like I have not done anything. Moreover, when I try to load another pd patch, the android app does not sound at all.</p></div></blockquote><br class=""></span>What do you mean by “modify it”? Modify the patch? The ofApp? You mean you send messages to the patch or?</div><div class=""><br class=""></div><div class="">Judging from your code in ofApp.cpp, you’re not sending any messages to libpd at all. There is the playTone() member function but it’s not being called anywhere.<span class=""><br class=""><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><p style="margin:6px 0px;color:rgb(20,24,35);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:17.5636px" class="">I am not building again with Xcode when I perform these changes, since I am only interested in the android application. I only use the commands:</p><p style="margin:6px 0px;color:rgb(20,24,35);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:17.5636px" class="">make AndroidDebug<br class="">./gradlew assembleDebug</p></div></blockquote><div class=""><br class=""></div></span><div class="">That’s good, since you can’t build for Android in Xcode anyway. :)</div><span class=""><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><p style="margin:6px 0px;color:rgb(20,24,35);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:17.5636px" class="">Is there something more I should do when I change the pd patch?</p></div></blockquote></span></div></div><div class=""><br class=""></div><div class="">Does the sound work in the example if you build and run it on Android? I don’t have an Android device, so I’ve never tested ofxPd on Android. I’ve been told it does work, however.</div></div><div class=""><br class=""></div><div class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">--------<br class="">Dan Wilcox<br class=""><a href="https://twitter.com/danomatika" target="_blank" class="">@danomatika</a><br class=""><a href="http://danomatika.com/" target="_blank" class="">danomatika.com</a><br class=""><div class=""><a href="http://robotcowboy.com/" target="_blank" class="">robotcowboy.com</a></div></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>