Ventrilo on Android - Let's make it happen! - Android Software Development

Greetings!
My name is Daniel Sloof and together with a group of volunteers we have recently been working on a project called Mangler: a Ventrilo compatible client for linux. Mangler is driven by a C library called libventrilo3 and over the past couple of weeks I have been working on making this library compile with the Android-NDK. I am currently succesfully able to build libventrilo3 as a native library that can be used in Android applications. The JNI wrappers are a little lackluster, but they are being worked on.
The main reason for me posting on this forum (amongst others) is because I am looking for skilled Android/Java developers to assist us in working on this open-source project. We're mostly C programmers that have very little Android experience. I expect we could have something functional up within the month, most of the work has already been done: we're pretty much just writing a GUI for an existing backend (and some audio stuff, which is just feeding PCM to one of the native functions).
Thanks for reading! If by this point you're interested in participating or have any specific questions you can just post them here or drop by on IRC. You can find me on freenode #mangler (alias: danslo).

Im so excited for this project! I hope this goes well.

Time for an update and a quick *bump*.
More progress has been made making libventrilo suitable for Android usage. This primarily involves audio stuff, such as upsampling to rates that Android's AudioRecord doesn't support. Buffering in the Android App is still required but this can be done with minimal effort. Of course all of this (and future) progress can be found on our website.
There have also been some android developers peaking around in the IRC channel but no active developer has yet been found, feel free to drop by.
(PS: To moderators: I am cross-posting this on several Android Forums. If this is considered spam, please feel free to take appropriate measures.)

What is your website, I'd like to track your progress.

tridge said:
What is your website, I'd like to track your progress.
Click to expand...
Click to collapse
To prevent spam to the forums, new users are not permitted to post outside links in their messages. All new user accounts will be verified by moderators before this restriction is removed.
Click to expand...
Click to collapse
You can find us at mangler (dot) org though

<-- so happy to see this!~!!

*bump* - still looking for developers

Bump & small update!
I've just managed to record audio on my android device and send it to our ventrilo test server. Even with just 8khz quality (for testing purposes) the transmission sounds loud and clear on my ventrilo client! There is a small bit of delay but that doesn't seem to be caused by either the connection or the speed of the device (HTC Magic); it can probably be fixed with relative ease.
That being said, looks like we've found an Android developer willing to work on the project, but nothing is for certain so we're still looking for decent Java/Android developers to help out.

And up up we go!
Current revision in our repository can now play received audio transmissions! Once that is worked out nicely, all we'll really need is a decent GUI and some minor modifications (process more library events, etc) and we're good to go.
That spot for Android/Java developer is still available

danslo said:
And up up we go!
Current revision in our repository can now play received audio transmissions! Once that is worked out nicely, all we'll really need is a decent GUI and some minor modifications (process more library events, etc) and we're good to go.
That spot for Android/Java developer is still available
Click to expand...
Click to collapse
Way to go keep up the good work, can't wait to give it a whirl.

People dont seem to understand the potential of this, what a shame. there should be 100 guys clamoring to do this. if i coded i would be all over this.

Looking forward to seeing what comes of this!

xanaviarai said:
People dont seem to understand the potential of this, what a shame. there should be 100 guys clamoring to do this. if i coded i would be all over this.
Click to expand...
Click to collapse
Unfortunately those are the responses we get most of the time Thanks for the support!

I noticed on your website that you recommend Mumble, which I've been a huge fan and contributor since 2007. Any reason not to make Mumble for Android? It's my #1 most wanted app (I've got money on it) and I've heard from quite a few other people who want it, but hardly anyone with the skills/resources to make it happen. Then again it looks like you're in a similar situation, yet still the most qualified.

Pilot_51 said:
I noticed on your website that you recommend Mumble, which I've been a huge fan and contributor since 2007. Any reason not to make Mumble for Android? It's my #1 most wanted app (I've got money on it) and I've heard from quite a few other people who want it, but hardly anyone with the skills/resources to make it happen. Then again it looks like you're in a similar situation, yet still the most qualified.
Click to expand...
Click to collapse
Several reasons:
1) I've never worked on Mumble. (I am very familiar with the ventrilo protocol and written quite a chunk of our ventrilo library)
2) It's written in C++, which is not by default supported by the Android NDK. (unlike libventrilo3 which is written in plain C)
3) Mangler seperates a ventrilo library from its GUI interface, which makes it easy to write seperate interfaces to the same library. As far as I know this is not the case with Mumble.
Don't get me wrong, I (we?) think that Mumble is one of the better alternatives for desktop environments.. but Android places some restrictions that are difficult to overcome with the way Mumble was designed.
I hope that answers your question.

Fair enough. I will continue my search.
As I hear from some developers in the Mumble community, the main limitation is the lack of Qt support for Android, but there may be a way to work around the need for Qt. I'm not a programmer (I hope eventually), so I wouldn't know how difficult such a task would be by any standard.

Pilot_51 said:
Fair enough. I will continue my search.
As I hear from some developers in the Mumble community, the main limitation is the lack of Qt support for Android, but there may be a way to work around the need for Qt. I'm not a programmer (I hope eventually), so I wouldn't know how difficult such a task would be by any standard.
Click to expand...
Click to collapse
There's pretty much a lack of any GUI toolkit on Android (that includes Qt, but also Gtk, wxWidgets, etc). You are pretty much confined to writing it in Java with the Android SDK. Which isn't really a big issue; you want your stuff to feel like -actual- android apps anyway. The real problem with Mumble integration is the Android NDK's lack of proper (official) C++ support and a way of interfacing with the Mumble network protocol without touching any of the audio/gui stuff.

Pilot_51 said:
Fair enough. I will continue my search.
As I hear from some developers in the Mumble community, the main limitation is the lack of Qt support for Android, but there may be a way to work around the need for Qt. I'm not a programmer (I hope eventually), so I wouldn't know how difficult such a task would be by any standard.
Click to expand...
Click to collapse
There is a Qt port for Android underway, so this might help the port once it gets completed.

I've gone off-topic for long enough, but couldn't resist to post. Some dude named pcgod in our mangler IRC channel is working on a Mumble port for Android.. Git repository can be found here:
http://github.com/pcgod/mumble-android
In regards to Mangler... only thing we really still need is a GUI.

Checking out the svn of the project it seems that some work has already been done. Do you only need the GUI now? or the audio stuff too like you wrote in your first post?
EDIT: I just tried it, it manages to login and I can see that there are some users in the test server but how do I start a conversation?

Related

Standalone Youtube Client

This is a thread to gauge interest in a standalone Youtube, and eventually other videosite client. I currently have a version that searches YT and pulls results(it's fugly, to put it politely), and will try to get an alpha by next week.
Currently, the only workaround is to have the "flashvideobundle" and TCPMP installed, and my app calls PIE....ugh!, but I can work that out eventually.
Will anyone be interested in such a client?
EDIT: Here are the basics:
1. It will be able to search Youtube for any videos WITHOUT going through PIE, which I find a huge hassle.
2. Media playback will be through TCPMP/Coreplayer. No need to reinvent the wheel.
3. I've taken a fresh look at the Youtube APIs, and currently there seems to be no way to bookmark video, favourite them , or add comments from the PPC, but you will be able to retrieve your profile. As i said, this is a big WHEN. Maybe I'll find a workaround.
yes, I am interested.
What launguage will you use? c#?
Super interested! This is the one missing app holding me back from picking the MDA as an upgrade to my old XDA.
And this is the page that just got me to join this site.
While I'm all for developers making their own work, sometimes its easier to help a project move beyond what has already been done.
Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=328497
Maybe you can join the development team? I'm not sure about their overall goals or objectives.
If not, then go ahead and develop your own, there is always room for alternatives =)
BBowermaster said:
While I'm all for developers making their own work, sometimes its easier to help a project move beyond what has already been done.
Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=328497
Maybe you can join the development team? I'm not sure about their overall goals or objectives.
If not, then go ahead and develop your own, there is always room for alternatives =)
Click to expand...
Click to collapse
Interesting link btw, and quite a nice beta they have up.
Er, my proposal is kinda different.
1. It would be (almost) middleman free, whereas the Avotmv would pass through a server.
2. I plan to eventually add userprofile support, as in look at the bookmarks you made on the PC, yadayada....eventually
3. I plan to throw the works to the public once I feel that it's 90% complete, sort of a Open-source thingy.
4. I'd like some sort of choice the masses would have, aka my client vs. Avotmv.
@the guy who asked if it was in VC#
No, not yet. The internals are in VB.NET
Please note: This is not going to be a iClone software. I will try to keep it simple and to the point. Right now, the GUI looks like Windows95, but hey, it works.
A good idea to support user profile. Allow to add commemt and browse comment.
Merlin_reloaded said:
Interesting link btw, and quite a nice beta they have up.
Er, my proposal is kinda different.
1. It would be (almost) middleman free, whereas the Avotmv would pass through a server.
2. I plan to eventually add userprofile support, as in look at the bookmarks you made on the PC, yadayada....eventually
3. I plan to throw the works to the public once I feel that it's 90% complete, sort of a Open-source thingy.
4. I'd like some sort of choice the masses would have, aka my client vs. Avotmv.
@the guy who asked if it was in VC#
No, not yet. The internals are in VB.NET
Please note: This is not going to be a iClone software. I will try to keep it simple and to the point. Right now, the GUI looks like Windows95, but hey, it works.
Click to expand...
Click to collapse
can you take some screenshots??
Not atm,
but I will try and get some (proof?) by Saturday
As of now, coordinating school and programming is a bit iffy
watch this space/
Definitely interested.
Sounds good. I'll be watching this thread.
I would be interested if it was truly standalone like www.vtap.com or http://avotmedia.com/
I'd defenitely love to see something like this.

The future of the WM interface

Hey all,
a very short time ago - at least compared to most others here - I've have started playing with 'additional interfaces'. The Cube, PointUI, S2U2, HTC Album, additional helpers like FTouchFlo, etc.
These are all nice things, that goes without saying, and props to the devs. We got some really good software devs here, software hackers, tweaks, graphics guys, just good thinkers, etc.
Now what is the problem, you might ask. The problem is, it's all so very disconnected. Yes, you combine them all and make nice things, but setting it up isn't always easy (though some cooks do a great job of it), configuring it all to work nicely together is tiresome, the interfaces are not consistent with eachother, etc. We're all messing and mucking about as one man shows (or few men shows).
Now just think if we all put our efforts together, I think we could make the future ourselves.
Let's take gesturing for instance. Instead of how it works now, a general gesturing library could be made, which first off, provides more gestures, diagonals (instead of just horizontal/vertical), curves (like rotating in HTC Home), circles, etc. And now instead of just using these for general commands like now (keep that for unsupported apps), make this something each app or screen can configure/assign themselves. No more conflicts between different 'touch apps', and also very important, the gestures are the same, unlike the somewhat different gestures that are now used for the different apps.
Another thing is the interfaces. A consistent look (to the already consistant feel from above) would make the whole experience better. A general interface library could be made providing all the code for the transitions/animations, and interface parts like buttons. Everything graphical goes here, so we can all use it. Skinning everything would then also be a breeze.
With these two basic parts we could already go a long way, but the ultimate goal would be taking all the good of all projects, improve on those, and leave out the bad. For example, the cube is nice, but it's awfully limited. There could be a lot more in it. There's nothing special about HTC Album, it's just 'nicely done'.
I hope you can all imagine a bit what I mean with all the above (I try not to go into too much detail). We would all have to work together on this, but if we did, I'm quite sure we could build something that could completely replace the WM shell and would leave the iPhone as well as WM7 (if it ever comes) biting the dust. In the end, everybody who'd work on it may even get payed if we license it to a provider. I truely believe that the whole would be a lot bigger than the parts are now.
I'd expand more on 'my' vision (I'm sure other people have it as well), but it's not much use at this stage yet.
The furure is now, the future is XDA!
yess!! amen!! <3
anyway, why don't we all make open source apps? i mean i think it would be cool to make everyone work on one amazing thing..
It's an exciting notion for sure. I definitely have 100x more faith in the people here to come up with something worthwhile than I do in Microsoft, that's for sure.
That's the problem with the new applications: consistency.
personally I'd love to see pointUI release an API for its interface library. I think they have one of the most responsive and usable touchUIs. I posted this on their forum but didn't get a response.
I think this is a good idea as we have so many different gesturing projects reinventing the wheel. With a unified starting point, it could help new projects get off the ground faster.
Biggest problem: Not everybody is willing to share source codes.
Does anybody knows Xbox Media Center (XBMC) for the Xbox 1? Something like this for PPC would be the breakthrough imho..
Yes i totally agree. Having libraries that other developers can use is a great idea, or sharing code would be good. I made a post few days back about sharing the libraries but i didn't get any reply. I think i didn't make my point as clear as you
I am currently developing some apps (fringer friendly), but i am having lots of touble researching, developing POC, etc to make gestures, transitions and animations etc, which is really time consuming and takes more time from concentrating on the core functionalities of the applications.
So yes developing reusable libraries is definitly a great step that this forum can take.
Might i add, why dont we start a developers group here limited on devs who want to contribute with their code, idea to build these libraries? Where we can discuss the design and architecture of the libraries, export functions etc, needed controls etc.
We might also come up with great framwork that devs can use and sell it (as u mentioned). OpenNetCF did that, they created a large number of controls, .Net wrappers for Win32 APIs, etc, it started out as an opensource project, but then they started selling these their framework.
Hope other developers here become enthusiastic about this idea as we are
TacoLoco said:
Does anybody knows Xbox Media Center (XBMC) for the Xbox 1? Something like this for PPC would be the breakthrough imho..
Click to expand...
Click to collapse
I started working on an similar application sometime back but dropped it cause i didn't have much time and development resources (especially cool graphical effects) to do it. Actually it was more of the MS Media Center clone.
Well this is a great place to start... we can group together and start working on an application like that....
mrabie said:
Yes i totally agree. Having libraries that other developers can use is a great idea, or sharing code would be good. I made a post few days back about sharing the libraries but i didn't get any reply. I think i didn't make my point as clear as you
I am currently developing some apps (fringer friendly), but i am having lots of touble researching, developing POC, etc to make gestures, transitions and animations etc, which is really time consuming and takes more time from concentrating on the core functionalities of the applications.
So yes developing reusable libraries is definitly a great step that this forum can take.
Might i add, why dont we start a developers group here limited on devs who want to contribute with their code, idea to build these libraries? Where we can discuss the design and architecture of the libraries, export functions etc, needed controls etc.
We might also come up with great framwork that devs can use and sell it (as u mentioned). OpenNetCF did that, they created a large number of controls, .Net wrappers for Win32 APIs, etc, it started out as an opensource project, but then they started selling these their framework.
Hope other developers here become enthusiastic about this idea as we are
Click to expand...
Click to collapse
You are saying pretty much what I mean. Though the gesture thing wouldn't really be like a library, more like a service with an interface.
Anyway, setting up a dev group like this would IMHO be great (and I was thinking this myself) - we do need a larger group though. After all, if we don't want to, we don't have to share the source code, we can keep it in the group, or use a 'read-only' licence, or LGPL or something (though I'm personally not too fond of the GPL license).
I am convinced, that given enough time, I could do all of this myself. I am also convinced, that many other coders here could. But why should we?
WOW
well im no programmer or developer,just a guy with a titan, but I think you guys are talking about the perfect ui. sort of a modular system where the base ui has all the key functions and you could just plugin the core features of your choice without the need of base code for things like scrolling and gesture,etc... this makes me wonder why no ones done this yet. maybe I can learn abuot developing so I can help. incredible ui idea. thanx
I'm a designer and i'm in for this project!
Let's beat the crap out of the iphone and wm7!
Let us use the good parts from that interfaces and make it better, slicker, more beautifull!
gr. bram
Chainfire
i think there are more people getting interested in the idea... hope that more devs, designers gets interested too
Totally agree, maybe we should start getting the developers/designers (thanks bram_smulders!)/cookers and so on in this project...we could list apps, that are developed in and through this community and maybe - with a little moderation - the developers could agree on some standarts...i think that would be first step...
I'd be willing to help as well, I haven't done too much on the PPC. I've messed a little with the minshell and mintask examples in the wince6 sdk; they compile and run but don't function as expected btw.
help needed ?
Hi all, chainfire as said what i was thinking about thoses different and very nice UIs.
I'm not a developper, just a system IT, if i can help to beta-test the products of your project on my trinity..I'll do it w/ best feedback.
Hi,
I'm a french VB.net developper (even on WM, of course) and I can help that way. if u want !
let me know ( cyril [at] rebreyend {dot} com )
Input
I wouldn't mind working towards the goals outlined for a project like this. I'm especially fond of a gesture library of sorts, as well as a fully functional kinetic scrolling lib.
You can always PM if anything gets started .
I think also that instead of starting from scratch and make another PointUI Home we can try to expand an existing project... Maybe PointUI could have wrote a simili-SDK ? (or someone else ?)
I'll try to contact them, and come back here to tell how far i've been trashed
Anyone have an idea of who has already written something open source ?
P.S: Sorry for my english.

[Q] Learning to Dev

I have been a member of XDA for a while and now I want to contribute. I have a basic understanding of computers and want to learn more. Obviously our greatest devs were not born devs they had to learn everything from somewhere. I'm looking for suggestions on where to start on the road to become the best dev I can be. Keep in mind I'm flat broke so I cannot hit up the local bookstore or download any paid software, but with the way the internet is today there must a free legitimate source for everything somewhere. So anyone willing to help a noob If I posted in the wrong section please kindly redirect me rather than flame me. Thanks in advance.
It all depends on what you want to contribute. I'm a beginner myself (only developing since august). It is easy to learn Java, for the most part. I would suggest heading over to http://developer.android.com/index.html for starters. There are many examples and if you want to know something specific, try using the search bar at the top right (it comes in handy). I have already published an app, a simple one, but still an application none the less. I am working on two other projects simultaneously (a live wallpaper and a home-replacement app). You can come to my website http://futurinnovations.blogspot.com/ to see what I'm working on. I am still in the process of learning, and being in college slows things down a bit. Just make sure not to give up. If your stuck, ask someone (or everyone) on forums like this.
Futur Innovations said:
It all depends on what you want to contribute. I'm a beginner myself (only developing since august). It is easy to learn Java, for the most part. I would suggest heading over to http://developer.android.com/index.html for starters. There are many examples and if you want to know something specific, try using the search bar at the top right (it comes in handy). I have already published an app, a simple one, but still an application none the less. I am working on two other projects simultaneously (a live wallpaper and a home-replacement app). You can come to my website http://futurinnovations.blogspot.com/ to see what I'm working on. I am still in the process of learning, and being in college slows things down a bit. Just make sure not to give up. If your stuck, ask someone (or everyone) on forums like this.
Click to expand...
Click to collapse
I forgot to mention I want to learn to dev for Android. I want to start out with simple apps then work my way up to building/porting roms. Also I just downloaded the Java JDK and am using Java's "Greenfoot" Tutorial to get started since I have no experience with Java. And I will be sure to check out your blog and thank you for the reply.
porting and building is something far different from app development...you have to know much more if you want to work with kernel,drivers,basically you have to know everything from hardware level to user level (if you want to be top of the class)...good luck
farukb said:
porting and building is something far different from app development...you have to know much more if you want to work with kernel,drivers,basically you have to know everything from hardware level to user level (if you want to be top of the class)...good luck
Click to expand...
Click to collapse
Well we all gotta start somewhere. Now is probably a good time for me as I'm only 18 and a senior in high school. Since I don't have a job at the moment I have plenty of free time after school and on weekends.
I'm only 18 myself. I started straight with downloading Eclipse and all of the appropriate software for developing and just dove in. I would recommend watching these tutorials: http://www.xtensivearts.com/topics/tutorials/. They helped me A LOT. I am taking a programming in C class in the spring semster, which I am looking forward to. Programming in Java for Android is different than regular programming. It's the same concepts, just different APIs and tools. I like using Eclipse because it is easy to learn and get used to. There are a lot of fancy features like a type of autocorrect (not like on the phone, but smarter). Like you said, just start from the basics, like "Hello World" (Hello Android) and practice creating different layouts using the tutorials given on the Developer site. Explore the site and look through everything because eventually you may need to know where its located for quick access. Just don't set too high of goals for yourself, other wise you might be more prone to give up (like I almost did). Good luck
Im in ths same boat as you we got to start somewhere
mit have a fantastic course in computer science online.
search for MIT open courseware then introduction to computer science.
I'm on 10 now, getting very complicated
crowstar said:
mit have a fantastic course in computer science online.
search for MIT open courseware then introduction to computer science.
I'm on 10 now, getting very complicated
Click to expand...
Click to collapse
Thanks bro I'm checking out that MIT course right now it looks really helpfull
This is a great starting point for Android development, as it deals quite well with getting the Android SDK and Eclipse IDE set up and working together.
http://www.vogella.de/articles/Android/article.html
Futur Innovations said:
I'm only 18 myself. I started straight with downloading Eclipse and all of the appropriate software for developing and just dove in. I would recommend watching these tutorials: http://www.xtensivearts.com/topics/tutorials/. They helped me A LOT. I am taking a programming in C class in the spring semster, which I am looking forward to. Programming in Java for Android is different than regular programming. It's the same concepts, just different APIs and tools. I like using Eclipse because it is easy to learn and get used to. There are a lot of fancy features like a type of autocorrect (not like on the phone, but smarter). Like you said, just start from the basics, like "Hello World" (Hello Android) and practice creating different layouts using the tutorials given on the Developer site. Explore the site and look through everything because eventually you may need to know where its located for quick access. Just don't set too high of goals for yourself, other wise you might be more prone to give up (like I almost did). Good luck
Click to expand...
Click to collapse
Hi, I'm 24. And I learn how to 'program' since 14-15.
It's easy to write apps for Android. But it's hard to write good apps.
You should take Software Engineering course (NOT Computer Science course).
If you take CS (Computer Science) course, than you will learn mainly about algorithm.
But if you enter SE (Software Engineering) course, you will learn about SDLC, software QA/testing, and planning to write programs for living
:-D
I personally don't like eclipse, it's just bloated IDE :-(
I use SciTE, apache ant, MinGW/MSYS (GCC 4.5.0), Java SDK, ActivePerl, Dev-C++ IDE. That's should be enough for development :-D
I will see if there are any software engineer classes at the college I am attending. If so, then I will sign up for it. Thanks for pointing me in the right direction. Is taking the programming class still beneficial?
Sent from my ADR6300 using XDA App
Futur Innovations said:
Is taking the programming class still beneficial?
Click to expand...
Click to collapse
I'd really recommend a class if it's a viable option. It will help you understand object oriented programming, where just working through examples won't actually teach you how to understand what you're doing. Things like classes, inheritance and polymorphism are pretty difficult principles to grasp unless you've got someone to explain them to you. Then it's pretty easy.

[Q] Newbie needs advice on app development

I'm an IT consultant so I'm not a dummie, but I'm not exactly a programmer either.
We need to create an inventory/audit app for an Android tablet. I looked at the Eclipse documentation and I don't think I want to take the time to learn Java well for just this one app. Which leaves me with these options.
Has anybody used Mobiforms to create apps, and would a smart but untrained newbie be able to develop something reasonably quickly? They don't offer a trial version which I find more than annoying.
Should I just outsource the project to somebody in Bangladesh? I have some experience outsourcing.
Any other recommendations on getting an app created relatively quickly?
Thanks!
Or Google App Inventor...
No offense, but the outsource to Bangladesh comment isn't going to win you a lot of friends that aren't in Bangladesh.
I'd say try app inventor and see what you can learn, you'll know in relatively short order if it will do what you need.
Otherwise maybe you're in over your head and someone should outsource you to Bangladesh. ( kidding! ). Seriously though, if you don't find what you need I would hire out at that point.
I don't know much about Mobiforms, but their website looks terrible. Not that a website is the final word on a company but it strikes me as odd at least.
Thanks.
I spent an while with App Inventor. While it is surprisingly useful it lacks one thing that I must have, that being read/write access to the file system.
Today I just discovered Basic4Android and WOW! I haven't coded in basic in many years, but it's still easier to re-learn that than to learn Java from scratch. I'm sure none of the developers here have any interest in it, but for the occasional hobbiest like myself it's a lot easier to start out with. I recommend it for anybody who doesn't plan on making a career of Java programming or who already have a background in BASIC.
I reviewed Mobiforms and not only is their website aweful, but the documentation for it is aweful too. I can't recommend it for anything.
I will probably still outsource this project though.

[Q] Which platform and what implementation method to choose

Hi,
New here and generally new to the mobile application development scene. I just begun my thesis for my last year and one of its components is to develop a mobile version of the "program" that we're working on. Since I have no idea where to start and what platform/tools/method to use I'm asking here for advice. The teacher gave me some papers to study on and I must say I'm quite confused.
First let me give you a fast explanation of what I'm trying to achieve. What I'm making is an application for online voting on the decisions the student council takes. What this means is that instead of having to meet up every other week the members of the council will be able to post their ideas and proposals online, people will be able to ask questions and then they will be able to vote for whomever they want. This will be accessible from both a PC and a mobile device. One of the most important factors here is the security of the application/program since it is paramount that no votes are lost, counterfeited, deleted, changed or w/e. After that we're also gonna need database support since everyone will have their personal account and other than that it's gonna be somewhat like a small forum.
So the idea at first was to develop this in applet form (not sure if my terminology is correct on some stuff please correct me if i'm wrong) and embed it into a web site, accessible by everyone. However the professor that's overviewing the project also asked to make it so that people can use this from their mobile devices, so here we are. I've read on the different implementation methods (like native and web based) etc. and I also read up on cross platform development tools like phonegap and titanium and that's where the confusion starts.
First of all we want this to be accessible by almost everyone regardless if they're using iOS, Android, Symbian etc. If that's impossible at least iOS and Android is mandatory. Starting from there, native development tools are probably a no go since they require different versions of the program for each OS and possible device type. On the other hand the cross platform approach apparently doesn't offer good security (not exactly sure where that weakness comes from) and that is something we're trying to avoid. However I'm not sure if I've understood this correctly and I might be misinterpreting. Anyway, concluding it seemed to me that developing this as a web-application seems to be the best decision. If I go that route what exactly am I looking to do? Where do I start? Do i just make stuff in java and make a webpage via HTML 5 and add stuff in? I'll look online for tutorials on this but I'm not exactly sure where to start so I'm asking here.
Thanks in advance!
Unless there's a specific reason for wanting mobile apps then I'd recommend doing this as a website, making it responsive so that it's mobile friendly. That way it will play with all the mobile platforms, and all PC based OSs, with just 1 code base. Then the only choice you have to make is the server side code, which is what would handle all the database access and security etc.. The most obvious choices for that are PHP or C#/VB.Net. Both the platform and your own preference are what should make that decision.
Either way, whether you make a mobile app or a responsive website, you'll still need a server to do the data access and security for you. There's tons of good resources and I couldn't recommend Stack Overflow any higher than I do. Just make sure, if you ask any questions on there, that you know how to ask a good question, or you'll get downvoted and the question closed!
I hope this helps - good luck
If you want security in your mobile app as the most prominent feature, you'd have to rely on Native codes(Java/Objective-C). Cross-platform tools are no good when security does matters. Also it normally takes much less time to create some app in Native code than to create it in cross-platform tools, since most of the UI are at your disposal. Acc. to my personal experience cross-platform thing is good if you already have a previous source code available and are trying to port it on mobile.(Such as having a HTML website and trying to port it on phonegap will make sense)
That's just my opinion, other people may disagree with this.
Making a mobile friendly website is another choice as explained in previous post.
Archer said:
Unless there's a specific .... or C#/VB.Net. Both the platform and your own preference are what should make that decision.
Click to expand...
Click to collapse
Might elaborating a bit on why use C#? Is it better when it comes to coding server side stuff? We were discussing what language to use with my professor and since he teaches OOP via Java he favors it a lot. However if it has drawbacks compared to the .NET stuff I'd like to know so that I can discuss it with him.
Also this project is part of a thesis and I'm pretty sure the professor wants to add the mobile application part just for the research and development process. It seemed to me that it was redundant too but I'm gonna guess he won't take no as an answer... Gonna have to discuss it more
Thanks for the replies so far!
jokeaccount said:
Might elaborating a bit on why use C#? Is it better when it comes to coding server side stuff? We were discussing what language to use with my professor and since he teaches OOP via Java he favors it a lot. However if it has drawbacks compared to the .NET stuff I'd like to know so that I can discuss it with him.
Also this project is part of a thesis and I'm pretty sure the professor wants to add the mobile application part just for the research and development process. It seemed to me that it was redundant too but I'm gonna guess he won't take no as an answer... Gonna have to discuss it more
Thanks for the replies so far!
Click to expand...
Click to collapse
I did think it may be a case of him wanting you to do some mobile work, as well as web work. It does make sense if it's meant to be for the purpose of learning and experience.
I mentioned C# purely as an example of a server-side language, like PHP. You should really look at using whatever you're most comfortable and/or familiar with. I do use C# on a daily basis as a server-side language and it's very simple to write methods that take post data and return whatever is required (usually a JSON response), whether it be a web service with exposed public functions, or a generic handler. There's tons and tons of ways of doing it so you need to really decide what suits you and the environment you'll be working in.
I'm not familiar with using Java as a server language so I can't comment on that.

Categories

Resources