<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[libpd android and messages sent to a route object]]></title><description><![CDATA[<p>I'm working on an app for android using lib pd, nexus osc (via webview) and as far as most things are considered it's working just fine.  I was hoping to save myself some time and re-factoring of my old pd patch and use that.</p>
<p>The problem being this:</p>
<p>Nexus osc via a javascript function is sending data from UI elements in the following format (as confirmed by a printout, logging of both pd as well as android studio) &quot;Position1 click 0.32 0.44&quot;</p>
<p>in my main patch I have [route position1] and then a print object for testing.  Technically I should see &quot;click 0.32 0.44&quot; but I'm not seeing anything on the first outlet.  Interestingly if I send a message of the same sort to say an object that expects just a float the error messages are different too.  via internal message in the patch [Position1 click 0.32 0.44&quot; I get an expected : inlet expected 'float' but got 'Position1&quot;</p>
<p>If i use libpd to send the message to the *~ object it says inlet expected float but goat 'Position1 click 0.32 0.44'</p>
<p>i'm baffled but assume i'm missing something VERY obvious. Any help would be greatly appreciated.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 07:06:38 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/9335.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Jun 2015 00:10:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to libpd android and messages sent to a route object on Wed, 10 Jun 2015 00:10:28 GMT]]></title><description><![CDATA[<p>I'm working on an app for android using lib pd, nexus osc (via webview) and as far as most things are considered it's working just fine.  I was hoping to save myself some time and re-factoring of my old pd patch and use that.</p>
<p>The problem being this:</p>
<p>Nexus osc via a javascript function is sending data from UI elements in the following format (as confirmed by a printout, logging of both pd as well as android studio) &quot;Position1 click 0.32 0.44&quot;</p>
<p>in my main patch I have [route position1] and then a print object for testing.  Technically I should see &quot;click 0.32 0.44&quot; but I'm not seeing anything on the first outlet.  Interestingly if I send a message of the same sort to say an object that expects just a float the error messages are different too.  via internal message in the patch [Position1 click 0.32 0.44&quot; I get an expected : inlet expected 'float' but got 'Position1&quot;</p>
<p>If i use libpd to send the message to the *~ object it says inlet expected float but goat 'Position1 click 0.32 0.44'</p>
<p>i'm baffled but assume i'm missing something VERY obvious. Any help would be greatly appreciated.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object</guid><dc:creator><![CDATA[StrangerDayze]]></dc:creator><pubDate>Wed, 10 Jun 2015 00:10:28 GMT</pubDate></item><item><title><![CDATA[Reply to libpd android and messages sent to a route object on Wed, 10 Jun 2015 05:44:14 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/strangerdayze">@StrangerDayze</a> Hello.  Position1 and position1 are not the same thing.  It could be that simple, unless it is a typo in your post.  Also, try [rawprint] instead of [print]... it sometimes gives a little more information.<br />
If you post your test patch then it will be easier to help you.... it is always a good idea!<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 10 Jun 2015 05:44:14 GMT</pubDate></item><item><title><![CDATA[Reply to libpd android and messages sent to a route object on Wed, 10 Jun 2015 06:00:25 GMT]]></title><description><![CDATA[<p>yeah it was typo in my post... strangely what i ended up doing was just rather than using a full name for the ui element (position1, position2) I just gave it a number name and it worked swimmingly... dunno what happens beyond the javascript on the webview and between android and libpd and so on but more than one way to skin a cat... also I cannot suggest enough this guy's amazing tutorials on getting stuff started.  presently my entire project is using his tutorials<br />
<a href="https://www.youtube.com/channel/UC-RatzHn1ukuuINLqnbBYeg" rel="nofollow">https://www.youtube.com/channel/UC-RatzHn1ukuuINLqnbBYeg</a></p>
<p>and <a href="http://www.nexusosc.com/" rel="nofollow">http://www.nexusosc.com/</a> to do a quick app.</p>
<p>Seriously amazing communities around pd and so glad ya'll are here to help out!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object/3</guid><dc:creator><![CDATA[StrangerDayze]]></dc:creator><pubDate>Wed, 10 Jun 2015 06:00:25 GMT</pubDate></item><item><title><![CDATA[Reply to libpd android and messages sent to a route object on Wed, 10 Jun 2015 06:16:16 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/strangerdayze">@StrangerDayze</a> Yes, it is generally best not to mix message types.  You can solve the problems afterwards but it's not always easy..... pd\doc\manuals\MessageOddness\route_mixing_float_and_symbol_arguments.pd<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object/4</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 10 Jun 2015 06:16:16 GMT</pubDate></item><item><title><![CDATA[Reply to libpd android and messages sent to a route object on Tue, 12 Apr 2016 07:27:58 GMT]]></title><description><![CDATA[<p>You can try to use <a href="http://www.tenorshare.com/products/android-data-recovery-pro.html" rel="nofollow">Android data recovery pro</a> to print messages from Android, this software is also a good tool to recover lost messages from Android.<br />
<a href="http://www.tenorshare.com" rel="nofollow">Click here</a>, you will get more tools about mobile phone.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9335/libpd-android-and-messages-sent-to-a-route-object/5</guid><dc:creator><![CDATA[albertdavid233]]></dc:creator><pubDate>Tue, 12 Apr 2016 07:27:58 GMT</pubDate></item></channel></rss>