Hey guys,
I'm pretty new to android programming and Java overall.
Anyway, I dont know if this is super duper hard to do, but how is it possible to send 3 or 4 bits to a programm running on a computer from an android phone via Wlan? How does this work in generall? If this is actually quiet a lot to write, Do you know a good tutorial?
I just have Airdroid in mind, where you scan that Qr code from web.airdroid.com.
Thanks in advance
(Uhh and I got that message that this is not a Q&A Forum and stuff, but I didnt find another Forum and actually I'm in App Development Forums > Coding Discussion, Q&A, and Educational Resources > Java for Android App Development > Post New Thread so pffuuuh, put da hate on me)
Related
Ok, I really didnt know exactly what to put for the title of this because its a pretty strange request.
A little backbrief: I have a CarPC setup with a 7" touchscreen in my dash, a computer in the trunk, a bluetooth module, a microphone, runs through the car speakers, and running a front end called RoadRunner.
Basically what I'm looking for is:
1) The ability to call out and answer phone calls through the CarPC (full computer). - Using the RoadRunner program there are some interupts built in so that it will automatically stop the music and switch to a screen that has the phone "skin", but I'm not sure what it all entails to make that portion work yet.
2) It must connect through bluetooth
3) The ability to read through the phone's address book and/or store the phonebook in the CarPC.
4) Speach activation would be nice, but not a 100% must have necessarily
5) The ability to read/write text messages would also be nice, but not required
Essentially the skin should be similar to this link:
http://www.mp3car.com/vbulletin/road-runner/93387-freefone-1-3-full-integration-roadrunner.html
But the problem with that particular skin is that there is no support for WM devices, that is unless you have another piece of software called phonecontrol.net, but that software is now discontinued, so there's nothing for WM devices.
Now, I'm not asking someone on here to build something for me necessarily (even though that would be nice) but I am not sure what phone protocols there are to connect the bluetooth and use it, or if they are specific to the bluetooth adapters (bluesoiel, microsoft stack, etc) or if its all in the phone, and whatnot. I've got a good coding background, so its possible I can develop something, or modify something to work, but since there is a wealth of knowledge on this forum I figured someone on here might have some know how and ideas.
Thanks
Hello and welcome to the forum! We noticed that you have posted in the wrong section so we thought we would direct your attention to a couple things before you get yourself in trouble.
The Development & Hacking Section is available for Users to post their contributions to the XDA Community (such as programs, applications, and themes.) Any & All Questions, Problems or Requests, must be posted in the Questions & Answers Section. If you prefer, you may also post in the section dedicated to your Device.
Any Questions, Problems, or Requests posted in the Development & Hacking Section will be removed Immediatley. Repeated Posting of "improper" Threads in the Development & Hacking section will result in Disciplinary Action. Please read the rules before opening any new threads. The rules are located on the top of every page in the Development And Hacking Section.
Feel free to post any questions or requests you might have in the Questions & Answers Section. You will receive the help you need there, and no question will be turned away.
If you have any questions, or need any help what so ever, please feel free to contact any member of the "Q&A TEAM". Contact information for the "Q&A TEAM" can be found on the first page of the Questions & Answers Section, or by simply replying to this message.
We appreciate your help with these changes in the Development & Hacking Section.
Thank You for your cooperation,
Q&A TEAM
Hi all,
I want to start application development for android. Can anyone please let me know the requirements for this?
I know that I am asking very general question and please let me know if this is not the correct place to ask this query.
I know C/C++...what things I need to learn before starting application development for android?
Waiting for reply!!
From what I can tell:
Java.
Then hit the android developer's website and they'll teach you how to write for android platform.
Sent from my HTC Vision using XDA App
Thanks skulk, but do I need to start learning Java from scratch for that?
Can anyone please guide me in this?
vijay.gupta said:
Thanks skulk, but do I need to start learning Java from scratch for that?
Can anyone please guide me in this?
Click to expand...
Click to collapse
Well, it's pretty hard to learn a new programming language from the middle!
Go to the Android devs site... There are plenty of tutorials there, as well as links to Eclipse (favoured Android development platform).
sorry to be so naive...but what is the link of android dev website?
Clicky the linky.
many thanks floating man. I didn't knew that this is different forum from any android developer forum...btw can you please let me know the difference between this forum and any android dev forum?
This is a general smartphone forum, mainly catering for HTC made devices, but covering "some" others as well.
Thanks floating man. I will subscribe to any of the android dev forum and ask the same query there. But there is one doubt: whether such a basic (and naive) query be resolved there?
Do you recommend any particular android dev forum?
since you already know c/c++ you already know the basics of programming which are the same for each language i guess.
in my opinion writing basic/simple apps for android is more easy than writing the same app in c/c++.
so for basic/simple apps you could start with some general java tutorials especially about OOP and then go on to Android ...
just simply Google search terms like "android development for beginners" or "android app development tutorial" and plenty of websites come up offering handy dandy hints =]
Thanks elgubbo,
I will try that and let u know if thwre is any issue...let me kbow if anyone else has any suggestions....
For me it always helps to try to understand other code samples. Thats why I am looking for a book wich explains a few basic (and some advanced) code samples.
Sent from my fishbowl...
Java was originally created as a successor to C++ and if you know C++ the syntax of Java should look very familiar. It was designed to make OOP concepts more accessible to C++. It was also set up to make pointers and memory management a thing of the past.
Actually in a lot of ways, knowing C++ will give you an advantage over devs who only know Java. Eventually you'll be able to use Android's NDK (Native Development Kit). Although you will have to use some Java as all apps require the use of some java and the SDK on Android. But even then, you'll have a better idea of what is happening "under the hood" due to your C++ knowledge.
As for where to get started I would suggesst learning applications fundamentals:
http://developer.android.com/guide/topics/fundamentals.html
Especially the Activity lifecycle and Component lifecycles.
Do all the "Hello World!" tutorials and then you should be well on your way to becoming the next Angry Brid..... err Angry Bird dev.
Thanks alostpacket. That is a very useful link. I will read it and let u know if i have any queries. I just have a doubt, moreover, i am fearing because i have only written simple c++ programs till now. Will i be able to do it?
vijay.gupta said:
Thanks alostpacket. That is a very useful link. I will read it and let u know if i have any queries. I just have a doubt, moreover, i am fearing because i have only written simple c++ programs till now. Will i be able to do it?
Click to expand...
Click to collapse
Instead of being scared by it, TRY it! Install Eclipse. Install the Android SDK. Try the tutorials. Only you can know if you can do it or not.
Thanks floating man for supporting me, however, can you please let me know the place to help me out regarding very basic queries regarding starting programming...like I want to know what eclipse is, what is SDK (I know the full form though: Software Development Kit)
Is the place...http://developer.android.com?
Actually, I have worked on C/C++ at very basic level where we write programs in IDE and save the file as either .c or .cpp
These seems to be very basic things.. that i should know..i can read if you have any link or doc..
vijay.gupta said:
Thanks floating man for supporting me, however, can you please let me know the place to help me out regarding very basic queries regarding starting programming...like I want to know what eclipse is, what is SDK (I know the full form though: Software Development Kit)
Is the place...http://developer.android.com?
Actually, I have worked on C/C++ at very basic level where we write programs in IDE and save the file as either .c or .cpp
These seems to be very basic things.. that i should know..i can read if you have any link or doc..
Click to expand...
Click to collapse
Yup, That's the correct site. They have a whole section to get you started using eclipse there too.
This is a great place to start:
http://developer.android.com/sdk/installing.html
Hi there.
I don't know if I have to post it here or in the Apps section...
Is there an IDE for android that would run under Android, so I could develop when no computer is available?
Thanks
Nico
There is no IDE per-se, but you could just use a text editor to write some code and then sync it back when your development computer is available. I can't see anyone expecting to do serious full blown app development, like project management and debugging, from a tablet. But, I am an android newbie, so I may be wrong.
willyampz said:
I can't see anyone expecting to do serious full blown app development, like project management and debugging, from a tablet. But, I am an android newbie, so I may be wrong.
Click to expand...
Click to collapse
Actually the fact is that my tablet is quite as powerful as my desktop computer... or even more. Then, as I can plug in a mouse and connect a keyboard by bluetooth, I do not see any reason because of what it would not be possible
Nico
You should have posted this in Q&A, no problem i'm moving it.
To acutally complie and build you need a full up linux environment, which android is not. You can edit code as text and such, but you cannot complie, link and build on android
Hi all,
Im new in this forum and just wanna ask for some help on where can i find a simple tutorial or a sample project of an android application that can communicate with a java application on a PC.
im thinking via wifi.. also i got some knowledge in java programming and right now im starting to learn more about android development.
some simple tutorial/samples like an android app where you have to type a message and it will show on the java application in the PC when the send button is clicked.
wakkana12 said:
Hi all,
Im new in this forum and just wanna ask for some help on where can i find a simple tutorial or a sample project of an android application that can communicate with a java application on a PC.
im thinking via wifi.. also i got some knowledge in java programming and right now im starting to learn more about android development.
some simple tutorial/samples like an android app where you have to type a message and it will show on the java application in the PC when the send button is clicked.
Click to expand...
Click to collapse
You probably want to check out Google App Engine and their Cloud Messaging and datastore features.
It would be better than WiFi or Bluetooth as you could be the other side of the world.....
I want to use the screen of android phone/tablet as a remote input device.
I want to get the position of the finger(s) and send that using udp socket to a pc/laptop.
Later I'd also like to add more input possibilities and add the option to send data (text/images) to the phone and displaying that.
I've already created a simple server that receives messages in C++ but my knowledge about java/android development revolves around the hello world program, so I'd need a lot of tips and pointers for this one.
Anyone knows about a good(detailed) tutorial about this?
Perhaps try reposting this in C++ forum? I don't know much about it and I'm sure other may be the same way, especially since we're in the Java section. Although i really like this idea!
Sent from SPH-L710 (using XDA app)