| Hi,
I added the libraries to CsoundAppActivity project and loaded a csd that uses
OSClisten and OSCsend, pressing on Start crashed the application:
Output from LogCat:
05-10 02:11:55.583: I/ActivityManager(504): Process com.csounds.Csound6 (pid
2658) has died.
05-10 02:11:55.583: I/WindowState(504): WIN DEATH: Window{425d47e8 u0
com.csounds.Csound6/com.csounds.Csound6.CsoundAppActivity}
05-10 02:11:55.583: W/ActivityManager(504): Force removing
ActivityRecord{4268f8c0 u0 com.csounds.Csound6/.CsoundAppActivity t5}: app
died, no saved state
05-10 02:11:55.633: D/Zygote(123): Process 2658 exited cleanly (1)
05-10 02:11:55.643: W/Binder(714): Caught a RuntimeException from the binder
stub implementation.
05-10 02:11:55.643: W/Binder(714): java.lang.NullPointerException
05-10 02:11:55.643: W/Binder(714): at
android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
05-10 02:11:55.643: W/Binder(714): at
com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
05-10 02:11:55.643: W/Binder(714): at
android.os.Binder.execTransact(Binder.java:404)
05-10 02:11:55.643: W/Binder(714): at dalvik.system.NativeStart.run(Native
Method)
05-10 02:11:55.643: W/InputMethodManagerService(504): Got RemoteException
sending setActive(false) notification to pid 2658 uid 10155
05-10 02:13:12.313: D/dalvikvm(916): GC_CONCURRENT freed 429K, 6% free
8900K/9372K, paused 1ms+2ms, total 28ms
There are many things that maybe I did wrong,
I will try to work on it, probably in a fresh app project in coming days.
thanks!
tarmo
On Friday 09 May 2014 22:37:35 Steven Yi wrote:
> Hi Tarmo,
>
> The mechanism for loading opcode libs should be done in the same way
> as the CSDPlayer application that comes with the Csound for Android
> download. Maybe the easiest way to test is put the libs from my zip
> into the CSDPlayer/lib folder, then build and install to device and
> give it a try. You *should* then be able to use the scanned synthesis
> and OSC opcodes from a CSD.
>
> Let me know if you have further questions!
> steven
>
> On Fri, May 9, 2014 at 10:13 PM, Tarmo Johannes
>
> wrote:
> > Exciting!
> >
> > Is it so that to test I should copy the libraries (like libOSC.so) to the
> > libraries folder of my android porject (or include it other way) and see
> > if I can use OSC opcodes in my csound code of an android app?
> >
> > tarmo
> >
> > On Friday 09 May 2014 20:46:54 Steven Yi wrote:
> >> Hi All,
> >>
> >> For issues #201[1] and #206[2], we've added plugin libraries for the
> >> scanned synthesis and OSC opcodes for Android. I have placed a zip of
> >> binaries available at:
> >>
> >> http://www.kunstmusik.com/android_osc_scanned.zip
> >>
> >> Could someone volunteer to try these with your Android application?
> >> The libraries are located in the libs folders of the two projects in
> >> the zip.
> >>
> >> Thanks!
> >> steven
> >>
> >>
> >> [1] - https://github.com/csound/csound/issues/201
> >> [2] - https://github.com/csound/csound/issues/206
> >>
> >>
> >> Send bugs reports to
> >>
> >> https://github.com/csound/csound/issues
> >>
> >> Discussions of bugs and features can be posted here
> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> >> csound"
> >
> > Send bugs reports to
> >
> > https://github.com/csound/csound/issues
> >
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
|