Building a Client-Server Application and need help starting out - android

I am looking to make a messenging application for both Windows and Android over Wi-Fi. I have looked around for answers and have come back with a loads of articles that mention Client-Server applications, which is what I want to be using, but they do not mention clearly how everything works or where to start. Could anyone point me in the right direction?
Extra Information:
If possible c# for the server-side as Im more skilled in c# than other languages although I don't mind learning a new one.
Articles I've Read:
http://csharp.net-informations.com/communications/csharp-socket-programming.htm
http://www.dreamincode.net/forums/topic/33396-basic-clientserver-chat-application-in-c%23/

Related

Where to start learning about Android Vpn?

Looking around the Android API, I noticed the VpnService. I thought it was pretty cool and I wanted to learn about it to see what kind of apps would be possible with it, so I started looking around for tutorials and explanations.
I discovered that I know nothing about what the different methods are for, why they work, or how to manipulate them. Words and phrases like TCP/UDP, network interface, TUN, and handshake popped out at me, but overall, I have no idea how these things actually work or how to use them. Could I get a point in the right direction to maybe a book or website where I could learn the basics about this stuff and work my way up to the more advanced things like Android Vpn?
The best way to learn from Wiki otherwise there are many VPN or tutorial sites you can found through google just search them and read about android vpn and how you can setup vpn on android.

Importing Artificial Neural Networks in Android App

This might sound a bit of a stupid question, but I'm doing a project where I'm using an ANN to diagnose Sepsis in patients using various vital signs as inputs. The aim is to then develop an Android app that allows a user to put in the inputs and will return a risk score (% likelihood of sepsis, etc)
I'm constructing my ANN using Matlab (using their pattern recognition network wizard), and I'm using MIT App Inventor 2 to build the App itself.
Where I'm struggling, is understanding how one would actually put the ANN into the app. Can anyone explain how this works to me, or even just point me in some vague direction?
There is a matlab-compatible programming language called Octave, and it works on Android as well. You might want to take a look at it, it's called addi.
Matlab/Octave is great for scientific prototyping. Once you enter the realm of mobile applications, the best option is to re-write the libraries in Java. It could be painful but with a proper design you will be able to scale your app without depending in Matlab/Octave hacks.
If this absolutely positively has to be present on Android, on the phone itself, the straightforward way to do this is to write the software in Java and then write the Android GUI around it.
But does the software absolutely need to be on the phone? Maybe. But if not, why not make the Android part a client that communicates with a more powerful and flexible remote server? The server can implement in whatever language it likes.

Android application design starting point

I have just starting learning Android development. I am familiar with the Java and Adobe Flex UI. I have basic design curiosity regarding the android development.
What could be the ideal design to develop the app. (Lets say, I have 4-6 different tab)
I have all the wire-frame available. which could be my starting point.
I wanted to use JSON and mongoDB for connectivity purpose ?
Is there any framework available for android development (MVC) ?
Generalized functionalists nice to have. eg. Email or updates for the application to notify.
I am currently going through the tutorial but thats not really helpful in terms of designing the whole application.
Please help me.
thanks,
I think you first just need to take some time and have a good read on Google's own sites.
http://developer.android.com/index.html
Another good place for tutorials is
http://www.vogella.com/articles/Android/
There is no ideal design. Your starting point, is the site above.
Communication between your app and a server is mostly done by JSON or XML. You can't directly access remote databases (Maybe you can with some tricks, but you don't want to.)
Android is a framework, and it is based on MVC.
No idea what you're even asking here.
Good luck and try to make any future questions a lot more specific to programming problems.

What is involved in connecting an app to a mac via Bluetooth?

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.

projecting / starting medical information app on Android

I would like to create a custom open source information management application, that I could adapt to practical needs of a psychiatrist. (and also would really like to avoid inventing the wheel). Could someone advise me what would be a good way to start? I have some amateur programming experience (see below), but I have little experience with java and eclipse (which I have set up with Android SDK plugin on my linux PC).
What I would like to achieve is a simple app where I could relatively easily re-program/rearrange information presenting screens. I would like the major development stages to be something like:
Basic framework of the app is done Main information is added
through the programming environment
basic formatting (bold, color, lists) should be supported
I imagine this would be through HTML/CSS markup Hierarchical (not
too deep) screens with concise information about conditions,
treatments; easy, not too cumbersome navigation is a must.
Possibility to attach own notes from android device
on every piece of information (e.g. on medical condition, on medication,
list of differential diagnoses, etc)
A desktop application that allows for easy adding and editing
of the content
initially could be even sqlite manager or something similar
possibility for adding images,
possibility to add rating scales, which would calculate scores
maybe also possibility to print through some android print driver
* in essence I envision this as a sort of an integrated website with a relatively simple database behind it (sqlite?) running on android. My models would be epocrates and medscape apps, but the content would be more specific to everyday psychiatric practice. It would include aspects of psychological therapies as well.
In about a years time, I think, the content would be interesting enough to see whether the app should go on the market.
My (limited) experience:
I am a MD - a Psychiatrist. I have some amateur development experience (php, html, css, Perl, bash, sed, sql, Access and some time ago - AS/400). I would like to start an app that I could modify as I go - in order to have the most useful info at my fingertips, when I need it in my work. I have considered some databases (e.g. HandDB) but my experience with them is that you get very constricted with their user interface and this hinders fast information retrieval when you need it. Adding information can be clumsy as well.
Why I am asking for help here
Most of tasks above seem pretty standard. I imagine that people with lots of programming experience here, probably would be able to point me towards some information that would help me to get started.
Many thanks for considering this :)
Are you going to develop this app? Everything you mentioned can be easily done by reading the android documentation. Although if its you doing the coding i recommend buying a book
You will find a lot of samples and other support in the android doc
Printing can be also setup using Google Cloud print
If you want to open source your application you can always use google code.
You have asked a really broad question here. But i guess the above information is good to get you started.

Categories

Resources