Announcement

Collapse
No announcement yet.

Building an Android frontend

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Building an Android frontend

    Hey all, I've got a new website for my AutoSense project. Check out http://www.autosenseapp.com.
    Downloads are at http://www.autosenseapp.com/downloads

    So I've been working on the project for a long time now, and a lot has changed since I originally posted this. The overall look and feel is very much the same, but a lot of features have grown and evolved into a much nicer and user configurable way. So I would like to encourage anybody interested to head over to my forum and participate. I try to answer questions and concerns in a timely manor. I am always open to requests and ideas. Lots of the features I've been working on have originated from the community.

    Some screen shots are attached.
    Attached Files
    Last edited by eric_f; 12-04-2015, 09:21 PM.
    Like my work? Send me a donation, it's quick, easy and very much appreciated.

  • #2
    Wow this looks great. Can you give more information on your arduino cobtroller? I want to use an arduino to provide similar functions as you and have it tied to the Can-Bus system in my car.

    Sent from my SCH-I545 using Tapatalk 4 Beta

    Comment


    • #3
      I am using Timurs USBROM/ because it is designed for a fixed installation scenario. It will provide USB host mode (using an OTG cable) and simultaneously use up to 1800ma to keep the battery charged.
      Along side that, I have my Arduino running a sketch that communicates with the tablet over USB acting as a master. I also have slave devices (mostly I2C) that are responsible for "getting data" (temperatures, air pressures, etc...) and "setting data" (set air pressure, roll up window, etc...).
      As you can see in the screen shots, there is a display for Inside temperature, and Outside temperature. Those temperatures are read via a temp sensor hooked up to the Arduino and sent to the Droid.
      While the hardware is somewhat functional, my main area of work in the Front end code, and the backend hardware has taken the back seat.
      Like my work? Send me a donation, it's quick, easy and very much appreciated.

      Comment


      • #4
        definitely interestested! GitHub is the way to go
        mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
        Follow Me on Twitter or Facebook
        Live mp3Car Facebook Chat

        Comment


        • #5
          Initial checkin to Github. Beware there is bugs, somethings won't work easily (bluetooth for example) and somethings may just not work at all. That being said, feel free to try it out. Let me know what you think.
          Like my work? Send me a donation, it's quick, easy and very much appreciated.

          Comment


          • #6
            Seriously want this frontend... been out if the carpc gig for a while, just bought a Firebird to play with all my tunes are in now all i need is my carpc back again...
            Epia M1000 1.2gig, Toshiba 40gb HD, Itronix 60gb HD, 512ram,PCR, Audigy2zs, 2 Xenarc 7" , FRODOPLAYER Trying RR frontend , [email protected]/w Harrison labs amps & Caps, Focal & MB-Quart midrange, Diamond Audio D6 Subs, Mb Quart Tweets, 2-Audiocontrol three.1 !

            Comment


            • #7
              Originally posted by IonDokk View Post
              Seriously want this frontend... been out if the carpc gig for a while, just bought a Firebird to play with all my tunes are in now all i need is my carpc back again...
              My note 2 will become the permanant fixture as soon as my note 3 comes in...
              Epia M1000 1.2gig, Toshiba 40gb HD, Itronix 60gb HD, 512ram,PCR, Audigy2zs, 2 Xenarc 7" , FRODOPLAYER Trying RR frontend , [email protected]/w Harrison labs amps & Caps, Focal & MB-Quart midrange, Diamond Audio D6 Subs, Mb Quart Tweets, 2-Audiocontrol three.1 !

              Comment


              • #8
                Looks pretty good, like the style

                With Android's range of customizable launchers and widgets, personally I don't think Car Android's need a "front-end" because anyone can make almost any front-end they want. I think if you made some customizable widgets that interface to the arduino, that would expand your market past the 'android-in-a-car' crowd.
                Having said that, I'd probably still use your app cause it looks nice, could do with a Milkdrop type visualizer in the middle.
                Android Tablet In-Car Sliding Dock using hacked DVD drive

                Comment


                • #9
                  Thanks for the input.
                  The reason I started this was I wanted an all in one solution that interfaced with all of the hardware like it would in an OEM environment.
                  The Arduino integration is something I have working, but haven't figured out the best way to make it modular and easy to use yet.
                  In all honesty, this project was designed for me and me alone. That being said I hope somebody else can find it useful too and maybe it can grow to be something useful for a wide group of people.
                  As for the visualizer comment, where about were you thinking? Visualizers are something I don't use ever, but I'm not opposed to adding one to make this more fully featured.
                  Like my work? Send me a donation, it's quick, easy and very much appreciated.

                  Comment


                  • #10
                    Just an example, would be a lot of work though, and a lot of extra processing on the device.
                    After 30 seconds or so of inactivity the big buttons in the middle could fade out, touching the screen would bring them back again.
                    Click image for larger version

Name:	vis.png
Views:	1
Size:	930.6 KB
ID:	2285786
                    Android Tablet In-Car Sliding Dock using hacked DVD drive

                    Comment


                    • #11
                      I like the look of that. I will add to to my list of things to look into at some point.

                      Thanks for the input.
                      Like my work? Send me a donation, it's quick, easy and very much appreciated.

                      Comment


                      • #12
                        Would be interested to see your arduino code for sending and displaying temp data.
                        ---------------------------
                        Dan from Minneapolis
                        1999 Volvo V70R
                        Jetway J7F2WE2G, USB Creative Soundblaster, RoadRunner, Holux BT GPS, 3M Capacitive Lilliput, etc.

                        Comment


                        • #13
                          finally a great looking front end for android. I've been waiting for something like that for ages, finally have hope of finally replace my win8 + centrafuse setup.
                          Great work!

                          Comment


                          • #14
                            The Arduino code is super simple. All it does is read data like you normally would, then spit it out over serial in a structured way. Example
                            Code:
                            Serial << "^," << INSIDETEMPERATURE << "," << insideTemp << ",|" << endl;
                            So a parsed output would look like this
                            Code:
                             Serial << "^,170,25,|" << endl;
                            The Android would receive
                            Code:
                            ^,170,25,|
                            then break it apart and updates the UI.
                            In that example, "INSIDETEMPERATURE" is a constant int that both Android and Arduino have, and "insideTemp" is the sensor value.

                            I know the << isn't normal Arduino stuff, it's part of the streaming library
                            Like my work? Send me a donation, it's quick, easy and very much appreciated.

                            Comment


                            • #15
                              Very cool project !
                              Do you think to share it ?
                              What IDE do you use for create it , App-Inventor ?
                              Last edited by pierrotm777; 08-04-2013, 04:38 AM.

                              Comment

                              Working...
                              X