Go to advanced search

by khooke
Thu Jun 09, 2016 6:22 am
Forum: Troubleshooting
Topic: Portable Power Bank for Raspberry Pi 3
Replies: 35
Views: 76191

Re: Portable Power Bank for Raspberry Pi 3

I'm using an Anker E3 Astro 10000 and an Anker PowerCore 13000 and both of these will power the Pi3 with no rainbow square in the top right. If I add the 7" screen as well though, I have to use both batteries otherwise I do get a rainbow square (connect one pack to the screen, one to the Pi).
by khooke
Sat May 14, 2016 4:11 pm
Forum: General discussion
Topic: Virtual Keyboard on Login Screen
Replies: 8
Views: 14435

Re: Virtual Keyboard on Login Screen

I think this is the other thread db_ashby was referring to, I'll try this out later today:
viewtopic.php?f=108&t=123189
by khooke
Sat May 14, 2016 4:25 am
Forum: General discussion
Topic: Virtual Keyboard on Login Screen
Replies: 8
Views: 14435

Re: Virtual Keyboard on Login Screen

I found this thread as I'm looking to set up an onscreen keyboard with the 7" screen and a Pi3. I followed the same steps as the last post in this thread but have exactly the same issue. Keyboard shows onscreen, but on first key press it disappears and nothing appears in the username or password fie...
by khooke
Sat May 24, 2014 9:37 pm
Forum: Java
Topic: UnsatisfiedLinkError can't find solution any help ?
Replies: 1
Views: 998

Re: UnsatisfiedLinkError can't find solution any help ?

Looks like you're seeing this issue: https://github.com/Pi4J/pi4j/issues/1 This is related to loading .so shared lib from inside the Pi4J jar. What version of Pi4J are you using? I wonder if this is related to running on Tomcat? Can you run a standalone app using the same Pi4J jar, to eliminate this...
by khooke
Tue May 06, 2014 8:04 pm
Forum: Java
Topic: PI4J + LCD
Replies: 19
Views: 11245

Re: PI4J + LCD

Not directly, as the buttons on Adafruit's PiPlate LCD are connected via the MCP23017. I can dig up some Java/Pi4j code I've used for just this if you're interested. Yes please if you don't mind, to give me a head start. I'm planning to use your code as part of a simple card game using the Pi + LCD...
by khooke
Sat Apr 26, 2014 4:20 pm
Forum: Java
Topic: PI4J + LCD
Replies: 19
Views: 11245

Re: PI4J + LCD

Is it possible to use the button state example code using Pi4J event listeners instead of calling this method to read their state?
by khooke
Wed Nov 06, 2013 3:44 am
Forum: Java
Topic: Java parsing file for a varible; w1_slave.
Replies: 1
Views: 1398

Re: Java parsing file for a varible; w1_slave.

You asked: I want to turn this bash script in to a java script ... I'm not sure if you are aware, but Java and Javascript and two different and completely unrelated languages. Since this is a Java forum, you might not get much of a response here. That said, I think what you're looking for is to move...
by khooke
Wed Nov 06, 2013 3:34 am
Forum: Java
Topic: JSP Tags in Java
Replies: 3
Views: 1434

Re: JSP Tags in Java

The EE5 tutorial has a section on creating custom tags:

http://docs.oracle.com/javaee/5/tutorial/doc/bnalj.html

Note that with later EE versions, 6 and 7, JSP and custom tags have fallen out of favor in place of JSF, but they're still supported by latest Servlet containers.

Kevin
by khooke
Wed Nov 06, 2013 2:19 am
Forum: Automation, sensing and robotics
Topic: jt-65 on the PI
Replies: 3
Views: 2852

Re: jt-65 on the PI

Sorry for digging up an old post, but did you ever get a working solution? I've been playing around with trying to compile WSJT from source on Rasbian. On an older Rasbian install I got it compiled and it runs, but like you I can't get it to read from my soundcard (in my case, a Rigblaster Advantage...
by khooke
Thu Jan 17, 2013 11:28 pm
Forum: Java
Topic: Preferred servlet container on the Pi
Replies: 6
Views: 5692

Re: Preferred servlet container on the Pi

Thanks for the suggestions. I've tried out the full version of JBoss AS7 and while it takes much longer to start up (about a minute), while it's up, page response times are comparable with responses from AS7 running on my laptop. Had to decrease the -Xms and -Xmx down to sensible sizes (think I've g...
by khooke
Fri Jan 11, 2013 7:49 pm
Forum: Java
Topic: Preferred servlet container on the Pi
Replies: 6
Views: 5692

Preferred servlet container on the Pi

I've searched around and read a few posts about setting up Tomcat or Glassfish on the Pi, but based on what you've experimented with so far, what's the best (in terms of lightweight, low memory usage) Java Servlet container that you've used on the Pi? Are you using Tomcat, Jetty, Glassfish, or somet...
by khooke
Sat Dec 15, 2012 2:27 am
Forum: Java
Topic: Persistent Storage?
Replies: 5
Views: 3616

Re: Persistent Storage?

For the text log lines, the easiest way might be to use Log4J or one of the other logger apis, configure it to output to a file, and then when you call the log api your text would get written to that file? If you need more control than that then writing to the file yourself would give you better con...
by khooke
Sat Dec 15, 2012 2:17 am
Forum: Java
Topic: Pi4J equivalent code for Adafruit's basic photocell tutorial
Replies: 6
Views: 4638

Re: Pi4J equivalent code for Adafruit's basic photocell tuto

Hi Robert - how do you use addListener() when it takes GpioPinInput when I need to use the pin in both input and output modes to set the pin state to low, and then wait for the event to trigger when it reaches high? Instead of provisioning the pin as digialInputPin or digitalOutputPin, I used the mo...
by khooke
Fri Dec 14, 2012 6:10 am
Forum: Java
Topic: Pi4J equivalent code for Adafruit's basic photocell tutorial
Replies: 6
Views: 4638

Re: Pi4J equivalent code for Adafruit's basic photocell tuto

Thanks, I will try out the listeners as that does seem like a much better approach. I am using the Oracle Java SE Embedded JRE. I'll probably look into getting an analog sensor and an a/d converter at some point, but wanted to try out the capicitor approach since that's what came in the Adafruit sta...
by khooke
Fri Dec 14, 2012 12:10 am
Forum: Java
Topic: Pi4J equivalent code for Adafruit's basic photocell tutorial
Replies: 6
Views: 4638

Pi4J equivalent code for Adafruit's basic photocell tutorial

I've just followed this Adafruit tutorial: http://learn.adafruit.com/basic-resistor-sensor-reading-on-raspberry-pi/basic-photocell-reading and then written what I think is the equivalent code using the Pi4J library (looping 1000 times before quitting): GpioController controller = GpioFactory.getInst...
by khooke
Tue Dec 11, 2012 4:19 pm
Forum: Raspbian
Topic: Java on Raspbian
Replies: 105
Views: 50510

Re: Java on Raspbian

I was convinced I had burned the softfp version of wheezy to my sd card, but I ran into the libjli.so error trying to run Java SE Embedded, and what do you know, I had actually downloaded the wrong image :lol: Once I downloaded the wheezy armel version then everything works as expected. Is there a c...
by khooke
Tue Dec 11, 2012 4:13 pm
Forum: General programming discussion
Topic: Java SE embedded on raspberry pie
Replies: 3
Views: 1322

Re: Java SE embedded on raspberry pie

Your os needs to be a softfp version and not hardfp.

See this thread: http://www.raspberrypi.org/phpBB3/viewt ... ava+softfp
by khooke
Fri Dec 07, 2012 10:32 pm
Forum: Other programming languages
Topic: JavaFX
Replies: 2
Views: 1004

Re: JavaFX

From what I understand, there isn't a publicly available release of JavaFX for ARM (yet).

More info in this thread:
http://www.raspberrypi.org/phpBB3/viewt ... 34&t=23519
by khooke
Mon Dec 03, 2012 10:34 pm
Forum: Other programming languages
Topic: Pi4J - A Java library to interface with the Raspberry Pi
Replies: 57
Views: 49402

Re: Pi4J - A Java library to interface with the Raspberry Pi

We did have in mind a software simulation provider as a GpioProvider to allow a Pi4J runtime on a PC for development/testing; however, we just have not had the time to build this out yet. As for moving the Mock providers out of test, I think we were viewing the simulation provider as a different im...
by khooke
Mon Dec 03, 2012 10:26 pm
Forum: Other programming languages
Topic: Start Programming JAVA for the RPi.
Replies: 17
Views: 53307

Re: Start Programming JAVA for the RPi.

Xranby - thanks for the links and info. So the current JavaFX ARM preview is currently only targeted to specific ARM and graphics chipsets, but from your understanding is Java SE Embedded 8 with Java FX 8 expected to run on more than one embedded hardware platform? The roadmap seems to imply so: "Ja...
by khooke
Mon Dec 03, 2012 10:09 pm
Forum: Other programming languages
Topic: Java Compiler for the Pi (Made in Java)
Replies: 5
Views: 2076

Re: Java Compiler for the Pi (Made in Java)

Is the intent of this to be a lightweight IDE to run on the Pi itself, or to be used to develop apps to run on the Pi? Also, I'm curious, are you developing the compiler yourself, or is this just a lightweight editor that invokes javac? If you're developing an IDE, I'm interested in what the main fe...
by khooke
Thu Nov 29, 2012 8:53 pm
Forum: Other programming languages
Topic: Start Programming JAVA for the RPi.
Replies: 17
Views: 53307

Re: Start Programming JAVA for the RPi.

At JavaOne this year there were multiple Java Embedded sessions and demos in the keynotes showing Java Embedded SE on small devices like the Raspberry Pi. Some of these demos included rich UIs built using JavaFX. I don't know which Java SE Embedded version comes with or supports JavaFX - I did some ...
by khooke
Thu Nov 29, 2012 8:16 pm
Forum: Other programming languages
Topic: Pi4J - A Java library to interface with the Raspberry Pi
Replies: 57
Views: 49402

Re: Pi4J - A Java library to interface with the Raspberry Pi

Hi Robert - as a Java developer I'm very interested in using your library as my gateway to get started with the Pi. I'm curious how people typically develop/deploy/test with the Pi (or other embedded devices) - do developers always deploy to the actual hardware to test? I'm curious what benefit ther...
by khooke
Thu Nov 29, 2012 8:04 pm
Forum: General programming discussion
Topic: RP for video and temp / pressure messuring
Replies: 4
Views: 1476

Re: RP for video and temp / pressure messuring

An idea for the live video feed, but not necessarily using the Pi for the video capture - look into the equipment that's available for RC planes/helicopters for First Person Viewing (FPV). They already have hardware for wirelessly transmitting a live video feed - google for 'RC FPV' and you'll find ...
by khooke
Wed Nov 28, 2012 7:49 pm
Forum: Beginners
Topic: Emulated GPIO on QEMU?
Replies: 0
Views: 2857

Emulated GPIO on QEMU?

I've followed through the instructions to setup the virtual image on Virtual Box, which lead me to running the Debian image on QEMU, but I'm at the point wondering how much use this is to have a virtualized version of Debian on ARM, but no other emulated hardware from the actual Raspberry Pi? I have...

Go to advanced search