Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

1. Is preferences.txt read when processing starts? 2. Why doesn't my file structure work?

$
0
0

Returning to processing and trying to do more with Android Mode. But I have been having trouble, probably due in part to the disorganized mess I left behind. I am now trying to establish a well-organized file layout for both Java and Android Mode hobby programming. Here's what I have now:

C:\processing-3.2.1\mode, with folders which (I think) provides P3 support for Android and Java modes

C:\Users\{me}\Workbench\P3\sketches\modes\AndroidMode\sdk, which (should) provide the Android native API

In C:\Users\{me}\AppData\Roaming\Processing is the file preferences.txt which contains this line:

android.sdk.path=C:\Users\Bob\Workbench\P3\sketches\modes\AndroidMode\sdk

Yet, when I start P3 and click on the mode menu initialized to "Java" I don't see Android as an option. Instead, I have to click on Add Mode. Unfortunately, this afternoon (Sept. 3) the configuration manager pops up but is stuck -- showing only a whirligig. (I guess processing.org is down.)

Q1: Doesn't P3 read preferences.txt on startup?

Q2: Or is my file structure somehow inconsistent.

Note: I tried installing Android Mode 0255 (from Github) into a separate location and modifying preferences.txt accordingly. It didn't work. But I have little confidence I did that operation properly.

Thanks, Bob


Viewing all articles
Browse latest Browse all 941

Trending Articles