Porting Android - android

i want to have some knowledge on porting android on linux devices. I am a web and android developer but now i want to port android on some hardware which you could suggest is easy for the beginners to start with.
I don't feel like buying a mobile phone this time i want to make a mobile phone :)
Please help me achieve this goal.
regards
Abhishek Talwar

Well, what you're asking is pretty complex.
Do you want to BUILD your own cellphone from scratch?
This would take a lot of knowledge and development time. You could get some GSM development boards to experiment with that. Something like these:
http://www.sparkfun.com/search/results?term=gsm&what=products
You could get an Arduino and use one of the arduino linux ports. The arduino could handle the gsm module and an lcd screen.
This is extremely complicated though.
If its android porting you're interested in, I suggest just getting a mobile phone and then porting android to it. It WILL be complicated and you better get something you can easily develop for. Windows Mobile phones would be my suggestion as there are a lot of active programs to port android to those.

Related

How can I create a OBD 2 Android application like torqe? Are there any software simulators available or I need a car to test application?

I want to create a OBD 2 android application like Torque. Are there any software simulators available for testing or I need a car with OLM adapter to test the application?
I got to know about the github library https://github.com/pires/android-obd-reader/releases/tag/2.0-RC4 , is there any other library/tool available or I can get all possible data from this?
I did run into a obd II simulator I found in the google app store which I installed on one of my development phones https://play.google.com/store/apps/details?id=com.beastovest.obd.simulator
On a second phone I installed the Car Scanner from the store (free)
https://play.google.com/store/apps/details?id=com.ovz.carscanner
The setup is pretty simple. Just pair the device from the simulator to the scanner.
In the simulator I can change engine values and I can see the commands and the changes in the scanner. You can see the rest of the communication as well. The simulator is $5. Very nice for that price. I can also see the complete communication which I need for my app development. I also speed up the understanding of the ELM327 commands. Here is the spec: https://www.elmelectronics.com/wp-content/uploads/2017/01/ELM327DS.pdf
Hope that helps anybody.
Yes, there is a free software simulator with simple GUI, called OBDSim. It works on Windows, Linux and OSX (among others).
There's also a hardware simulator ECUSim 2000, which isn't free and also isn't cheap.
That GitHub repo you linked to is actually an Android application, capable of acquiring OBD data from a car. It is not an OBD library, however it is based on one (by the same developer, pires).
Now to (partially) answer your second question: no, you can't get all the data OBD offers (PIDs on wiki, but there are more manufacturer specific ones) using this library. However you can get all the interesting data that you'll need if you won't be doing something really specific. I don't know if there are other similar libraries but I found this one well written, well documented and well performing.

Open103R, Open107v development boards - how to program?

ebay and other chinese sites are offering these development boards but it is not clear how to program them.
Is there OS for these boards ? Linux ? Micro .NET ? Android ?
I have played with Ardiuno and it was fun. Arduino comes with IDE.
These boards are more powerful, have Cam and Ethernet.
Seems like more fun things could be done.
Please note I am hobbyist.
Basically, one of the language you can use is C. These boards can not support OS like Android because of the low operating frequency and limited memory.
I faced the same situation, and I ended up buying this Ltouch development board that have many interfaces and support Android. It works very good.
A good free book is this from Geoffrey Brown, Indiana University about the STM MCUs and how to program them.

How to start Android / iOS accessory development?

I am trying to get involved with programming accessories to interface with either Android or iOS devices. I'm a programmer with no computer engineering / electrical engineering background and am at a loss as to how to begin.
Ultimately I want to build something like this: an ECG for the iPhone or Android. What is he attaching to the iPhone? Does it connect via wifi? What type of device is it? What kind of background do I need? How do I start? Any pointers appreciated it!
I understand that things like Arduino exist that can interface with Android, but I'm not sure if that's the correct direction to go in.
http://developer.android.com/guide/topics/usb/adk.html
http://www.amarino-toolkit.net/
That is a proprietary hardware probably using near field communication - it will be difficult to develop an electronic hardware without learning basic electronics. To start with you can get a IOIO for Android which will let you interface your phone to external hardware. It is similar to Arduin0/Amarino, but you will be at ease with it if you already know Java. As far as electronics you can start learning that as well.
Check the official docs to know more about IOIO.

A "Hello World" tutorial for Arduino and Android

A few days ago, Arduino just released a "start pack" for Android developers: http://arduino.cc/en/Main/ArduinoBoardADK
The Arduino ADK is a microcontroller board based on the ATmega2560
(datasheet). It has a USB host interface to connect with Android based
phones, based on the MAX3421e
I have been searching again and again for tutorials or something in order to begin Arduino programming, and I am looking for very good tutorials, maybe some kind of "hello light" that would make a light blink on the card with a button on my Android device.
Have you got some links, fan blogs, other information about that topic?
I, of course, know the Arduino website and Android developer documentation, but they are quite over-complicated...
You are asking a two part question: (1) How do I program Arduino? (2) How do I use the Android ADK to do stuff with Arduino.
For part one you're going to need to get hardware since the Arduino site is pretty straightforward about how to get started.
Arduino Tutorial
For part two you're going to have to have a ADK compatible Android device which as of July 2011 is either a Nexus One, Nexus S, or Motorola Xoom.
If you have one of these devices, you'll need an Arduino which can run the ADK (see your question). And of course the best documentation is still
ADK Documentation
Just realize that you'll be writing two programs, one that runs on the Arduino in C/C++, the other on Android in Java.
Update:
Since you were asking for blogs or how-tos, MAKE does have some tutorial which may be what you are looking for at Makezine.
To write programs for the arduino, you can use simple C language commands in a development environment that is deliberately simplified. To write programs for your Android phone, you must really learn Java and learn how to use a sophisticated development environment like Eclipse. These are two very different programming skill levels.
You have an arduino and you have an android. You need to make them communicate. I would make 2 experiment projects. One project would have communication from the arduino to the android. The other android to the arduino. Once you have established some sort of communication technique, you can mod it how ever you want to reach the desired.

Cheap Wi-Fi enabled Android or other programmable device

Does anyone know of a cheap Android or programmable device that has wifi?
I need it for a project for a company that needs a Wi-Fi handheld device for the shop floor.
I'm not too fussed about the language the device uses though I'm not really interested in the iTouch as there's no intention to release the app in the app store and I don`t really want to jail break everybody's iTouch.
Ideally it would be small, iTouch size for example and relatively cheap $100 or less. Nothing fancy, just ability to write a simple UI and have Wi-Fi. Voice is not needed.
Not too fussed about touch or qwerty keyboard either.
How cheap is cheap? On the weekend I searched eBay for "android slate" and found a bunch at US $99. I bought one immediately. It may not have the world's fastest CPU or a heap o' RAM, but at that price, how can I complain?
Like you, I want to develop apps for use in an industrial situation. I'll list voice as a feature if I use handphones, but don't really need it.
Would you please publish your final purchase decision here and I will likewise if I find a "better" option.
Bear in mind that it's not all about the cheapness of the device and consider the development effort.
Android has at least 2 good things going for it.
1) Generally programmed in Java (although you can use C & C++ if you jump through a few hoops). I may be wrong but it seems that new grads these days only know java (no offence intended to anyone reading this) and even "old hands" with C++ can quickly pick it up.
2) Android was designed from the start for developers and has an excellent development environment and good tools.
I bought a bunch of Android books and really liked Unlocking Android: A Developer's Guide, but you might want to check Amazon for readers 5 star votes.
And I have just noticed Android Wireless Application Development which I will have to buy; I think that you might benefit from it too.
Oh, and if you want to outsource any development at competitive rates ... ;-)
There were some cheap Android devices at http://dealextreme.com

Categories

Resources