how to create a communication system between an android and other asp.net - Android Q&A, Help & Troubleshooting

Guys, good afternoon.
I'm doing a project where I need a web system, done in ASP.NET, to communicate with an android system.
Thus, the two systems will use the same database.
I came to find out about WEBSERVER, but I found this on a forum that left me a little confused:
"It is worth noting that the consumption of Web services on mobile devices is not recommended by the Android development team due to the processing overhead of SOAP calls. If you have control over the server, the ideal is to use REST-based architectures such as OData . "
It is not recommended to use webserver in android?
How then can I do to create that communication between the two systems?
Now appreciate everyone's help.

Related

[Q] Android equivalent to the iPhone Configuration Utility

Hi all,
I work as the Executive IT Support person in my company, and part of this role includes configuring mobile devices for a select group of end users.
For iOS devices, this has been easy thanks to a combination of a Mac Mini Lion Server, iOS Config Util, and the iOS Configurator.
I was just wondering if there was something similar available for Android devices. Main things that need to be configured are passcode settings, WiFi(including proxy settings), Email(Exchange), and VPN.
Is there an application that can do this, or can config profiles be hand coded and loaded onto the device?
We don't yet have an enterprise level Mobile Device Management solution in place yet (although we should have had one implemented a LONG time ago - we have 4000 staff members!).
Any help is much appreciated as this would make my job a bit easier.
Thanks

Graduation project

Hello all, I have a question about developing an application for my graduation project. The idea is to develop an application in which the various books/information sources get a place and can be placed under different semesters/years. The information as provided has to have an easy way of updating for teachers(probbebly web-based). The aplication also has to work on iOS. Can you guys give me an idea on how to start i think HTML5 is a good option.
For cross platform application you can try PhoneGap(phonegap.com) with Dojo (dojotoolkit.org).
Front end is only half!
killerbee12345 said:
Hello all, I have a question about developing an application for my graduation project. The idea is to develop an application in which the various books/information sources get a place and can be placed under different semesters/years. The information as provided has to have an easy way of updating for teachers(probbebly web-based). The aplication also has to work on iOS. Can you guys give me an idea on how to start i think HTML5 is a good option.
Click to expand...
Click to collapse
HTML5 will be great, but it will be difficult for a school to update as a native app. I suggest simply using a mobile-ready website. jQuery Mobile is great for this, and it handles all the cross platform issues. Have you given any consideration to serverside code? Php, .Net, and Node.js are all great options. Talk with an administrator about what kind of system they use to store files & links currently. You could fairly simply make a page that scans a file share they maintain to build the page .
Are all current (including budget) phones capeble of running .net or PHP? I'll probebly host the site/app myselve for a while during the test phase so if i go web-based it will be PHP since my host is a linux host. I'll have a look tomorrow, I'm studying to be an officer on a ship not an programmer so all programming is new, I did some vb/php but nothing fancy.
i started with icenium, but found out that icenium doesn't offer to store the webfiles on your own server. So thats not an option.

[Q] From Desktop to Android Development

From Desktop and Web to Android Devices : I Need Help
For over twenty years I have developed apps using Borland's Delphi and BDS development tools. I now want to migrate a subset of that functionality to Android devices ... but need help getting over the learning curve hump.
The general particulars are:
1. Master-Detail, content management. Multiple detail data tables for each master record.
2. Image gallery. See all images in the gallery or only those images which have been linked to a master record.
3. Taking a pic and linking it to a master record.
4. Ability to query for local businesses ... such as "Find <business name> within <x miles> of my current GPS location.
I currently have Eclipse and the latest ADK tools installed. Also, I have some Java experience.
Is there a place I can go to find a baseline source code framework that satisfies these requirements and demonstrates how to store and manage the master and detail data and links?
Any help would be greatly appreciated. I can be contacted at [email protected]
Many thanks, from an old dog trying to learn new tricks.
Patrick

android db (SQLite, Realm or Redus)

I have a to chose between those Database :SQLite, Realm or Redux
witch one is the best for regular db update ?
Hi smauh117, this is my opinion:
Persistence - why Realm, not Room (SQLite)?
Room Persistence Library is a part of google's android acrhitecture components announced Google IO 2017. It provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite, works well with LiveData.
But, SQLite is not simple, and relational database is not easy for a lot of android developers. In almost android application, local database is offen used for data caching only, and isn't center of bussiness processes.
Realm is a mobile database, a replacement of SQLite and ORMs. It is much more simple than SQLite, but really powerfull, easy to learn in minutes, not hours, for every mobile deveopers, both Android and iOS. Even "Realm Database is much faster than an ORM, and often faster than raw SQLite". With lazy data loading, your app can easy to archive better performance and user experience, it's really difficult if you are using Room.
Room works well with LiveData and lifecycle aware to prevent memory leaks, how about Realm ?
It dosen't matter, Realm can easy to adapt with LiveData, read more: Android Architecture Components and Realm.
For full article and source code, please visit my project here.
I also created this project to compare Realm and SQLite (with ROOM). Please checkout different branches.
Thank you
:good::good:
smaug117 said:
I have a to chose between those Database :SQLite, Realm or Redux
witch one is the best for regular db update ?
Click to expand...
Click to collapse
AFAIK: Redux is an architectural pattern and not a database like Realm and what do you mean by "regular db update" ?
Anyway, Google's Room is a pretty good and established abstraction layer over SQLite on Android. I don't recommend Realm because there're a couple of pitfalls regarding multithreading. If you don't want to use SQLite + Room check out Objectbox.
smaug117 said:
I have a to chose between those Database :SQLite, Realm or Redux
witch one is the best for regular db update ?
Click to expand...
Click to collapse
SQLIte/Room may not be the best option depending upon what you actually mean by regular db update.
That is SQLite and therefore Room (Room being an abstraction layer over SQLite) is intended as an embedded database and thus each device has it's own distinct database and synchronisation with external data would have to be coded/developed, just pulling data from one source wouldn't be overly difficult. However, two/multiple way/device synchronisation would introduce complexities and hence why many solutions use other databases that are intended as a client server solution (e.g. MYSQL for example).
Firebase, not that I've used it, could be a solution as this is a client/server solution and is designed for Android use.
Personally I find native SQLite easier and therefore faster to use than Room. I've never used Realm.
it depends on your data architecture, if you'd like to use a non relational database just go with Realm, it's like mongo for mobile apps, otherwise there is Room, which represent the relational database by using Sqlite.
@MJT said:
SQLIte/Room may not be the best option depending upon what you actually mean by regular db update.
Personally I find native SQLite easier and therefore faster to use than Room. I've never used Realm.
Click to expand...
Click to collapse
I completely agree. I use SQLite to save user preferences in the application. It is simple and stable.
And this is a cross-platform solution (not only for android).

Encrypted P2P FOSS communication for Android and iOS that works

I´m sorry for putting up a question like this, but I´ve really been diving deep on the web and can´t seem to find anything that works and really would appreciate anybody´s perspective on this.
So the question is, does Encrypted P2P FOSS communication exist that runs on both Android and iOS, that actually works?
If not, is it feasible to do at all if some amount of dollars appeared for a project like that?
Some additional discussion:
----------------------------
I remember that ICQ was P2P and seemed to work pretty well back then.
It could be a simple text messaging app, but of course it would be great with calls and video.
It´s ok that messages are only transmitted when the devices that are attempting to communicate are both online, but I expect them not to throw away messages if there´s no communication and to retry sending.
The communication on XMPP runs through a server and often the encryption is not working, Jami doesn´t really work for many people, Tox doesn´t work on iOS and some Android devices. I consider Signal government sponsored and not truly Open Source.
Why is it important to me that the communication doesn´t run through a server?
1) Privacy
2) Load on the server makes this model a heavier burden on somebody and thus less sustainable.
It´s fine that the contact is established through a server, but there´s no need for the communication to run through the server too.
Additional question:
----------------------
Are there anybody brave enough to guesstimate what amount of dollars could lead to the goal of creating:
*Easy to install/setup/use app and some form of server (probably federated) (both open source)
*That communicates P2P (establishing contact through a server)
*That can run on both iOS and Android?
*That can deliver text messages, images and transfer files.
*That is designed to be able to handle calls and video in the future
?
Best regards,
Frederik

Categories

Resources