MultiConf Port to Android TabletWifi
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Andriod
FYI, I got it to compile, now I need to do lots of clean up. Ha.
Thanks for the positivity input.
Thanks for the positivity input.
Re: MultiConf Port to Andriod
copterrichie wrote:Sebbi wrote:copterrichie wrote:It only support Bluetooth and I am unable to install it from Google Play.
Unsupported device or because of your region? Well ... there is always compiling the source for yourself. No more difficult than porting the GUI code
Regarding bluetooth, what kind of Android device do you have and what is the technology you plan to use with it? Wifi Direct?
Google Play claims it is an unsupported device however, I was able to install many of the same apps from 1Mobile Market as listed on Google Play but eziosoft is not listed on that app server. I downloaded the source for MultiWii_EZ_GUI but it is a little more than I want to tackle at this moment. Really, the MWC Gui is not that bad, I made it pass the "List <Byte>" with ArraryList. So we are making some progress and yes, I do want to use the Wifi.
try this link:
https://dl.dropbox.com/u/80566205/MultiWiiEZGUI.apk
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Andriod
ezio wrote:try this link:
https://dl.dropbox.com/u/80566205/MultiWiiEZGUI.apk
Thank you soooooo very much, This is greatly appreciated. I hope to get up to speed with java soon because as I was playing with this port, there is android.hardware.wifi.p2p that I REALLY Really would like to try.
Thank you again.
Re: MultiConf Port to Andriod
copterrichie wrote:ezio wrote:try this link:
https://dl.dropbox.com/u/80566205/MultiWiiEZGUI.apk
Thank you soooooo very much, This is greatly appreciated. I hope to get up to speed with java soon because as I was playing with this port, there is android.hardware.wifi.p2p that I REALLY Really would like to try.
Thank you again.
btw what device do you have ? I will check why my app is not compatibile.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Andriod
ezio wrote:btw what device do you have ? I will check why my app is not compatibile.
I do not believe anything is wrong with your app, I think it a royality issue between Ematic and Google. Anyway, I have an Ematic EGS005
http://www.ematic.us/tablets/egs005
Cheat but Really good based upon the apps I have ran on it so far.
-
- Posts: 15
- Joined: Fri Oct 12, 2012 1:13 am
Re: MultiConf Port to Andriod
Hi,
what kind of Hardware are you using to communicate with the Android device? Is there anything like a wifi2uart adapter?
That would be interesting for ezgui, too.
Regards
Andreas
what kind of Hardware are you using to communicate with the Android device? Is there anything like a wifi2uart adapter?
That would be interesting for ezgui, too.
Regards
Andreas
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Andriod
weisseruebe wrote:Hi,
what kind of Hardware are you using to communicate with the Android device? Is there anything like a wifi2uart adapter?
That would be interesting for ezgui, too.
Regards
Andreas
I have one of these Serial to Wifi and later may move to a Raspberry.
http://www.ebay.com/itm/330874510519?ss ... 1438.l2649
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Andriod
Here is a copy of the .pde file updated to work with Processing 2.0b
Had to make the following Changes:
Had to make the following Changes:
Code: Select all
import processing.serial.Serial; // serial library
import controlP5.*; // controlP5 library
//import processing.opengl.*;
import java.lang.StringBuffer; // for efficient String concatemation
import javax.swing.SwingUtilities; // required for swing and EDT
import javax.swing.JFileChooser; // Saving dialogue
import javax.swing.filechooser.FileFilter; // for our configuration file filter "*.mwi"
import javax.swing.JOptionPane; // for message dialogue
import javax.media.opengl.*;
import java.util.*;
import java.io.*;
- Attachments
-
- MultiWiiConfProssing2.0.zip
- Updated to work with Processing 2.0b
- (18.05 KiB) Downloaded 272 times
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Andriod
More work to do but we are making process and learning also.
![Image](http://i672.photobucket.com/albums/vv81/mopleasure/P1120889.jpg)
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
![Image](http://i672.photobucket.com/albums/vv81/mopleasure/P1120889.jpg)
- Gartenflieger
- Posts: 65
- Joined: Sat Oct 01, 2011 10:07 pm
- Location: Dortmund, Germany
Re: MultiConf Port to Andriod
Kudos!
Are you going to link using Bluetooth or Wifi?
Regards
Christoph
Are you going to link using Bluetooth or Wifi?
Regards
Christoph
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Andriod
Gartenflieger wrote:Kudos!
Are you going to link using Bluetooth or Wifi?
Regards
Christoph
Wifi, that is all this device have.
![Smile :)](./images/smilies/icon_e_smile.gif)
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Andriod
P.S. I am not competing with anyone here, just making the best usage of the resources I have or can afford.
- Gartenflieger
- Posts: 65
- Joined: Sat Oct 01, 2011 10:07 pm
- Location: Dortmund, Germany
Re: MultiConf Port to Andriod
Yeah I have a similar one made by Odys. What will you be using on the MWC side for Wifi?
P.S. I fully understand why you are doing this; Because you can! And it's fun! That's what we are here for, after all. Some time ago I started a UI for Android using the "App Inventor", but it became a monster quickly and I abandoned it.
P.S. I fully understand why you are doing this; Because you can! And it's fun! That's what we are here for, after all. Some time ago I started a UI for Android using the "App Inventor", but it became a monster quickly and I abandoned it.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Andriod
Gartenflieger wrote:Yeah I have a similar one made by Odys. What will you be using on the MWC side for Wifi?
P.S. I fully understand why you are doing this; Because you can! And it's fun! That's what we are here for, after all. Some time ago I started a UI for Android using the "App Inventor", but it became a monster quickly and I abandoned it.
I have one of these Serial-to-Wifi Devices, there are many more on ebay and cheaper now.
http://www.ebay.com/itm/330874510519?ss ... 1438.l2649
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
If anyone is interested, here are the links to the required files.
Android SDK (USE AN EXISTING IDE)
http://developer.android.com/sdk/index.html
Processing 2.0b
http://www.processing.org/download/
ControlP5
http://www.sojamo.de/libraries/controlP5/
And the Install Instructions:
http://wiki.processing.org/w/Android
Android SDK (USE AN EXISTING IDE)
http://developer.android.com/sdk/index.html
Processing 2.0b
http://www.processing.org/download/
ControlP5
http://www.sojamo.de/libraries/controlP5/
And the Install Instructions:
http://wiki.processing.org/w/Android
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
To speak of the Devil: http://diydrones.com/profiles/blogs/is- ... xt-episode
Re: MultiConf Port to Android
copterrichie wrote:If anyone is interested, here are the links to the required files.
I installed fresh software but got the same issue as one year ago
![Smile :)](./images/smilies/icon_e_smile.gif)
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
But I am not using serial but there is a serial driver, just not processing.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
On the Android, there is android.hardware.usb
Re: MultiConf Port to Android
Read Ezio posts here (Forums/Software/Multiwii EZ GUI) and you will find a direct link to the apk... good look porting from Processing to Android.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
juanquy wrote:Read Ezio posts here (Forums/Software/Multiwii EZ GUI) and you will find a direct link to the apk... good look porting from Processing to Android.
At first, I was not going to reply to this but it is just too funny, the port is already done. I just need to get the Wifi working which is nothing to do with the WiiConfig.
![Laughing :lol:](./images/smilies/icon_lol.gif)
Odp: MultiConf Port to Android
copterrichie wrote:If anyone is interested, here are the links to the required files.
Android SDK (USE AN EXISTING IDE)
http://developer.android.com/sdk/index.html
Processing 2.0b
http://www.processing.org/download/
ControlP5
http://www.sojamo.de/libraries/controlP5/
And the Install Instructions:
http://wiki.processing.org/w/Android
Does it compile to apk? If yes could you post somewhere compiled app?
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: Odp: MultiConf Port to Android
ezio wrote:Does it compile to apk? If yes could you post somewhere compiled app?
No, the 2.0b is still beta and the making an apk is not fully implement yet however, the project can be exported, then imported into Eclipse where a apk can be generated. I am still learning, so it will be awhile before I can do that. I can zip up the export if that will help.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
I just located the following and will give it a try tomorrow.
http://developer.android.com/tools/publ ... gning.html
http://developer.android.com/tools/publ ... gning.html
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
Well, my curiosity got the better of me and I just had to try it. This apk is untested. Beware!!! The serial is disable awaiting the WiFi code. So, all it will do at this point is start and display the screen formatted to 800x480.
https://dl.dropbox.com/u/266727/WiiCopt ... signed.apk
https://dl.dropbox.com/u/266727/WiiCopt ... signed.apk
Re: MultiConf Port to Android
Could you share *.pde file also which could be compiled in processing (for android ofcourse). I have not success to install this *.apk on ASUS Prime tab with Android 4.1.1.
This one from link below is not prepared for android, i.e. only header changed there...
viewtopic.php?f=8&t=3228&start=10#p32895
This one from link below is not prepared for android, i.e. only header changed there...
viewtopic.php?f=8&t=3228&start=10#p32895
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
It is a work in process as stated.
- Attachments
-
- MultiWiiConf_Android.zip
- (18.02 KiB) Downloaded 236 times
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
mahowik wrote:Could you share *.pde file also which could be compiled in processing (for android ofcourse). I have not success to install this *.apk on ASUS Prime tab with Android 4.1.1.
This one from link below is not prepared for android, i.e. only header changed there...
viewtopic.php?f=8&t=3228&start=10#p32895
The reason it failed to install is, "Note: The .apk file is unsigned at this point and can't be installed until signed with your private key." http://developer.android.com/tools/buil ... eleaseMode
I am not going to concern myself with trying to do this right now because this is not something people seems to want and I am just do it for myself. I have an obligation to release any improvements done to the code for which I will do.
Re: MultiConf Port to Android
copterrichie wrote:mahowik wrote:Could you share *.pde file also which could be compiled in processing (for android ofcourse). I have not success to install this *.apk on ASUS Prime tab with Android 4.1.1.
This one from link below is not prepared for android, i.e. only header changed there...
viewtopic.php?f=8&t=3228&start=10#p32895
The reason it failed to install is, "Note: The .apk file is unsigned at this point and can't be installed until signed with your private key." http://developer.android.com/tools/buil ... eleaseMode
I am not going to concern myself with trying to do this right now because this is not something people seems to want and I am just do it for myself. I have an obligation to release any improvements done to the code for which I will do.
Just tested to install on my tablet with google test key, if anyone want to try here is the signed apk:
https://docs.google.com/file/d/0B-NS5io ... edit?pli=1
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
tj_style wrote:
Just tested to install on my tablet with google test key, if anyone want to try here is the signed apk:
https://docs.google.com/file/d/0B-NS5io ... edit?pli=1
Bless you.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
Worked for me. Hooray!!!
Now onward to getting the Wifi Working.
Now onward to getting the Wifi Working.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
If anyone is interested, there are a many Serial to Wifi devices now on ebay like the following:
serial ttl rs232 to 802.11 b/g/n converter Embedded WiFi Module with antenna B
http://www.ebay.com/itm/serial-ttl-rs23 ... 460bbbdad8
Just search for Serial Wifi
serial ttl rs232 to 802.11 b/g/n converter Embedded WiFi Module with antenna B
http://www.ebay.com/itm/serial-ttl-rs23 ... 460bbbdad8
Just search for Serial Wifi
Re: MultiConf Port to Android
tj_style wrote:Just tested to install on my tablet with google test key, if anyone want to try here is the signed apk:
https://docs.google.com/file/d/0B-NS5io ... edit?pli=1
Cool! ))
Works on ASUS Prime (android 4.1.1)
upd: BTW I think it will be nice to run this with bluetooth as good start!
Some useful links on this:
https://github.com/arduino/BtSerial#readme
https://github.com/4ntoine/Firmata/wiki
Re: MultiConf Port to Android
Just had to post a Nexus 10 screenshot ... it's small, but looks complete and sliders seem to work ![Wink ;-)](./images/smilies/icon_e_wink.gif)
![Wink ;-)](./images/smilies/icon_e_wink.gif)
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
Sebbi wrote:Just had to post a Nexus 10 screenshot ... it's small, but looks complete and sliders seem to work
LOL, who said, bigger was better. Ha.. But seriously, what is the screen resolution of your tablet? The App is formatted for 800x480.
Re: MultiConf Port to Android
2560 x 1600 ...
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
Sebbi wrote:2560 x 1600 ...
Awe!! That is not a Tablet, that is an IMAX. Ha.
Just last night, I found a way to have it adjust the screen based upon the information provide by the system. However, it would require a rewrite of the code to adjust. At this time, I am not sure it would be worth the effect seeing there is little interest in this project.
![Wink ;)](./images/smilies/icon_e_wink.gif)
Code: Select all
size(displayWidth, displayHeight);
orientation(LANDSCAPE);
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: Odp: MultiConf Port to Android
ezio wrote:So now I can end my app developement....
Bart
NO NO NO!!! at the very minimum, lets combine them.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
Found this code that should resolve the issue with various screen sizes.
http://wiki.processing.org/w/Android
Code: Select all
// Place this at the top of your sketch
import android.util.DisplayMetrics;
// Place this inside your setup() method
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
float density = dm.density;
int densityDpi = dm.densityDpi;
println("density is " + density);
println("densityDpi is " + densityDpi);
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
Hooray!!
I have the WiFi Socket working in with the WiiConfig. I now need to get a simulation program (Thanks to my friend Kataventos) or get the wifi device working with one of the ProMinis I have sitting.
![Image](http://i672.photobucket.com/albums/vv81/mopleasure/P1120892.jpg)
I have the WiFi Socket working in with the WiiConfig. I now need to get a simulation program (Thanks to my friend Kataventos) or get the wifi device working with one of the ProMinis I have sitting.
![Image](http://i672.photobucket.com/albums/vv81/mopleasure/P1120892.jpg)
Re: MultiConf Port to Android
copterrichie wrote:Hooray!!
I have the WiFi Socket working in with the WiiConfig. I now need to get a simulation program (Thanks to my friend Kataventos) or get the wifi device working with one of the ProMinis I have sitting.
Great.. can you share the latest code? for the working wifi socket
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
tj_style wrote:
Great.. can you share the latest code? for the working wifi socket
When it is farther along I will. Maybe you can help me test or code?
Re: MultiConf Port to Android
copterrichie wrote:tj_style wrote:
Great.. can you share the latest code? for the working wifi socket
When it is farther along I will. Maybe you can help me test or code?
I don't have the wifi serial module. but i think i can test using router + openwrt + ser2net.
the problem is processing for android is still don't have "processing.net" support.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
tj_style wrote:
I don't have the wifi serial module. but i think i can test using router + openwrt + ser2net.
the problem is processing for android is still don't have "processing.net" support.
Yea, I got around that by using android.net. If you like, we can chat more and share techniques, I would prefer over chat or email for now.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
I should mention also, android.net.wifi.p2p is not available at level 10 Damn! But we are till talking about Processing 2.0b so there is till hope it will be included.
Re: MultiConf Port to Android
WOW you did it!!! I have your app running in 4 Android devices of course with a magnifying glass so congratulation but still loving Ezio App.
salutos, saludos
JC
salutos, saludos
JC
copterrichie wrote:juanquy wrote:Read Ezio posts here (Forums/Software/Multiwii EZ GUI) and you will find a direct link to the apk... good look porting from Processing to Android.
At first, I was not going to reply to this but it is just too funny, the port is already done. I just need to get the Wifi working which is nothing to do with the WiiConfig.
Re: MultiConf Port to Android
Those wifi-serial adapters do some kind of encapsulaton of the serial stream for pushing it over a wifi connection? The receiving end (PC, tablet, phone) has to extract the serial data from the wifi connection itself, right? The receiving end sees a working IP connection?
So for this to work with more than just one vendor's wifi-serial adapter, do all those wifi-serial adapters share the same protocol for encapsulation?
So for this to work with more than just one vendor's wifi-serial adapter, do all those wifi-serial adapters share the same protocol for encapsulation?
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
Hamburger wrote:Those wifi-serial adapters do some kind of encapsulaton of the serial stream for pushing it over a wifi connection? The receiving end (PC, tablet, phone) has to extract the serial data from the wifi connection itself, right? The receiving end sees a working IP connection?
So for this to work with more than just one vendor's wifi-serial adapter, do all those wifi-serial adapters share the same protocol for encapsulation?
If using a normal PC or laptop with wifi, all that is required is a Virtual Serial Port: http://www.hw-group.com/products/hw_vsp/hw_vsp2_en.html
If an access point is not being used, then the wifi will have to be configured as adhoc.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MultiConf Port to Android
Hey there, good news, I have the TCP working on my Tablet to a virtual com on another PC.
Now going to make a cable for the Wifi-To-Serial device.![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Now going to make a cable for the Wifi-To-Serial device.
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)