Skip to content

HelloPd.pde crash in Android mode #8

@sonicdebris

Description

@sonicdebris

Trying to run the example sketch with processing 2.0.3 on mac os 10.6.8 and running it on a real android device, I get an exception when trying to load the patch:

FATAL EXCEPTION: Animation Thread
java.lang.RuntimeException: java.io.FileNotFoundException: /data/data/processing.test.hellopd/files/data/test.pd
    at org.puredata.processing.PureData.openPatch(Unknown Source)
    at processing.test.hellopd.HelloPd.setup(HelloPd.java:35)
    at processing.core.PApplet.handleDraw(Unknown Source)
    at processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
    at processing.core.PApplet.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:856)
Caused by: java.io.FileNotFoundException: /data/data/processing.test.hellopd/files/data/test.pd
    at org.puredata.core.PdBase.openPatch(PdBase.java:209)
    ... 6 more

I guess that's because the file must be copied from the apk to the right folder first. I thought this would be handled "internally", isn't it so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions