i want to code an application which enable file sharing via Bluetooth with android, but i can't find samples which i can base on. Please can someone give me links to some samples.
There is really a lot of info all over the place about this.
A good starting point is always the documentation it also has examples too!
As was mentioned a quick google search should have given you a lot of examples programs but here is one anyways.
Related
I'm currently trying to learn how to write custom services and have them start up at boot, all in the Android Source code.
Could anyone point me to the right references (books, online articles, etc) that discuss this specific topic and as well as understanding AOSP/Android operating system in general?
To learn how to write a custom Service you can look at the docs here.
You'll want to learn about Activities and their Lifecycle in the docs here
And you'll want to learn about the Application fundamentals in the docs here
Once you have an idea of how everything works fundamentally, there are tons of tutorials on the internet that will show you how to code specific things. A simple Google search will find you all of that.
Hope this helps!
It seems like every tutorial that I can find has a different, usually old, way of doing it. For example, even Google's LiveCard page has an example where they tell you to implement LiveCardCallback , however the link they give is dead, and that class doesn't exist in the GDK.
I also found a gdk apidemo on github, but most of those examples seem to be outdated?
Any good resource for an Android developer just starting out on Glass?
LiveCardCallback was renamed to DirectRenderingCallback in XE12. Thanks for catching one that we missed!
Third-party examples that you find online may have not yet updated to XE12, but the Compass, Stopwatch, and Timer on our GitHub page (and also found in the add-on's samples folder) are all updated and good examples of using live cards with high-frequency direct rendering.
I realize that this is the kind of question that frequently gets a lot of (well deserved) "what have you tried" comments and down-votes, but I'm hoping that by the time I'm done asking I can avoid that.
I've been looking around but unable to find the answer to how one goes about writing an application that consists of the following three things:
An Android app that connects to a host device via bluetooth
Communication io layer that sends signals back and forth on
that bluetooth connection
A host resident native app (preferably Unity3D, or AIR) that can receive/send messages back and forth to the connected app.
I have written many Android applications so I am not in need of any kind of "getting started" hand-holding, rather I just need some guidance (preferably in the way of a web link or book tutorial) on what it takes to utilize bluetooth and how one actually communicates via it.
Thanks in advance for all useful tips.
Here are a few links that I found in terms of Bluetooth connections
First of all the dev guide(I assume you have already looked here, but if not this is a good place to start)
http://developer.android.com/guide/topics/connectivity/bluetooth.html
http://developer.android.com/reference/android/bluetooth/BluetoothDevice.html
This one is a basic tutorial on how to Bluetooth on android
http://luugiathuy.com/2011/02/android-java-bluetooth/
This is a long PDF on Bluetooth programming in general (I haven't read it, but from what I have seen it looks over in depth) it covers java and OSX, but not android
people.csail.mit.edu/rudolph/Teaching/Articles/BTBook.pdf
Here is a similar SO question which might contain helpful links
Code samples for Android Bluetooth programming
This is the best Bluetooth open source project that I could find for android, it doesn't fit your description over well, but here it is anyways
http://code.google.com/p/bluetooth-remote-control/source/browse/#svn%2Ftrunk%2Fsrc%2Fpro%2Fapus%2Fblueremote
I realise that a lot of these links are simpler than what you really want, if I find anything more complicate I will add that.
Recently I am working on Android app development, and also I did iOS app before. I am not good at Android so far, so sometimes I found the app is kind lagging, thought stackoverflow.com is very nice place to share and found the bug, but I would like to ask if there are some websites that I can share all codes and details about the app, and there are also some programmers there they can read and point it out what's wrong with my app? I don't know if this question is legal here, just think it's good to have one and learn more..
You can post code and get it reviewed at https://codereview.stackexchange.com/
The best solution would probably be to push your projects to a site like Github where there's a great infrastructure in place to allow people to collaborate with you.
Asking people to do so is a different issue, but probably best achieved through posts on XDA-developers and equivalent forums.
There are plenty of places where you can post your entire source code. Here are two that I have used:
Google Code: allows you to post your code publicly with details about downloading. You can use this and google forumns to get reviewed and help. SVN access is easy to configure. Can add others to projects.
SourceForge: allows you to post code publicly and privately. SVN is easy once again. Allows you to add others users to the project with read/write/edit permissions.
Those two may not be the best places for getting reviewed and help easily, but they are wonderful for hosting and source control!
Also, these do have forumns where you can point others to your projects and ask questions!
The requirement is to get information on the different types of cards such as Credit ,Debit, License, SSN, medical insurances etc.
We need to get a photo from the mobile phone then extract details of main fields (name and contact details of user, issuer’s main details if has mentioned and Card NO) and store within our application .
As i find Abby mobile ocr engine is a better solution.
But i need a open source sdk or api to resolve this problem. And also guide to do the installation on the windows xp and to do a very little example.
I searched on the internet couple of days, but could not fine a good solution.
Thanks a lot.
You may have seen this already but here is some good information about OCR using OpenCV which is opensource.
https://stackoverflow.com/questions/1284214/simple-ocr-programming-tutorials-articles
"I have a problem core to our business, please solve the issue for me." It's not a simple problem by any means, you're going to have to expend significant efforts improving your algorithm to read all sorts of different fields.
Best bet? Make the application take a photo and upload it to your service, you have much more flexibility and processing power there. Any existing partial solutions will likely be unsuitable for Android usage.