Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Browsing all 941 articles
Browse latest View live
↧

How to select an image from Android device

Hi! I need some help, please! I'm making an Android app where I want the user to select an image from the gallery to load into the app, I've seen the method selectInput() but it's only working in Java...

View Article


Open and save an image in Android Mode and share it on the net

Hi guys for a work at University I need to develop an Android App that open an image in the gallery, apply some filters, and then save image in the gallery in a new folder (better is the image can be...

View Article


0255 - The method onCreate(Bundle) is undefined for the type PApplet

Hiya I recently installed 0255 so I can play with cardboard which is working and fun... Thanks! but while I found I can use surface.getActivity()... I can't find a fix for the onCreate(bundle) thing....

View Article

Blur effect filter doesn't work

Hi, I'm trying to blur the window with filter(BLUR, 12);, but when I upload it to my phone, it just displays a black screen... Is there any way to blur the screen in Android Mode ?

View Article

Processing Couldn't Detect My Android Phone

I've installed the android tool in my processing, selected the android SDK API 4.2.2 (17), turned on USB debugging on my phone, and connected my phone to my computer. But if i click Android Menu ->...

View Article


Video in Android Mode

Hello I am trying to make a project and the first hurdle is making it sense when a viewer is present and play the video/pause video when viewer leaves. I have searched extensively through the forums...

View Article

Image may be NSFW.
Clik here to view.

Android mode doesn't know any function/variable

Anyone know what I did wrong/how to fix these errors? I think there is not imported library processing.. I tried inport processing.*; But it didn't help. Screenshot:

View Article

saveJSONObject ERROR!!

In the java mode the code work when I use Android mode it don't work anymore,it only crash the app how can I make it work that. JSONObject data; int score=2; int record; void setup() { data =...

View Article


SQL LoadStrings Error

I am trying to use load strings to get some information from my website which has ssl encryption. Except I am thrown an exception when I try to do this. javax.net.ssl.SSLHandshakeException:...

View Article


Adding to the manifest and recompiling doesn't accept the changes

Hi all! I am currently building out an app for android, and it requires some tweaking on the manifest doc to enable some functionality. However, after I have compiled the app, I have opened up the xml...

View Article

android usb serial lib crashing app

Hi all! Another day, another question - I am building an app that takes the content of sms and pushes it through to an arduino using the android usb serial lib here:...

View Article

Send notification function

Can anyone send me notification function for processing? Or if there isn't any library for that, can anyone make a function for me please? I tried to do it myself, but i failed :(

View Article

Manifest merger and Android project export for Cardboard

Hi, I am trying the beta release of the Android mode and want to highlight this error when exporting a project containing the Cardboard module. Since there are three modules generated by the Android...

View Article


Screen Brightness

I'm trying to set screen brightness maximum but i couldn't do it somehow. Here is my code: ` void setup(){ fullScreen(JAVA2D); WindowManager.LayoutParams lp = getActivity().getWindow().getAttributes();...

View Article

Android mode doesn't recognize orientation and fullScreen functions

I made my code in normal java mode first and now I'm migrating to Android mode, but for some reason it can't recognise the orientation and fullScreen functions saying "it does not exist"

View Article


size of sketch in an processing 3 android app

Hi, I'm trying to port a processing 2 android application to a processing 3 android application using android studio. So far I've been able to launch the app on my phone. However, the original sketch...

View Article

Fullscreen resolution

Hello, I have just installed the AndroidMode and wanted to try porting some programs I made in Java mode. There are a few that process all pixels on screen, which is why I don't use fullscreen...

View Article


new installation -- error running in "Android Mode" The keytool seems to be...

OS Platform: Debian Jessie I am just starting a tutorial on processing. When running the first very simple program I get an error at the key-generating phase: program...

View Article

Can't run sketch on Android Phone

Hi, I'm trying to get Android Mode to work. I have two phones handy to try. 'A' version = 2.3.3 'B' = 4.4.2. Both have 'unknown sources' and 'usb debugging' switched on. (I've been through the...

View Article

How to implement Processing Sketch without PFragment ?

Hello everybody ! Since P3, it seems that the object PFragment is not available : import android.app.Activity; import android.app.Fragment; import android.app.FragmentManager; import android.os.Bundle;...

View Article
Browsing all 941 articles
Browse latest View live