need direction for inhouse app

tokyoburns

New Member
Licensed User
Longtime User
Hey everyone,

This is my first app (besides some basic ones). I'm a noob. I have a gotten a great deal done thanks to this great forum and this awesome software. But now I'm a little lost. I'm designing an in house application and there are some requirements for it that I don't really know how to approach. Here is the part I'm hung up on...

I need to create a list of of everyone who is "in the house" and using the app with a profile pic and only a few other pieces of information. "In the house" is just another way of saying "logged in to that wifi network". Everyone who is using the app should be able to see this list so that everyone can see everybody else who is logged in. Also this information is going to change as people enter and exit "the house"

the app already has the functionality for the user to create their own profile and then upload it to the B4AServer. but once the profile gets uploaded I really have no idea how to arrange the information. That would be my first problem. The second is how would the server be able to tell who is "in the house" and who is "out of the house" so that it can update the list accordingly? The third would be to send this list back to the user. what would be the most appropriate way to view this list of people?

The computer running B4AServer can be completely dedicated to only this. So I don't care much about computer security. It needs to be able to handle a upwards of 200 people. I am using the phone "android_ID" as a unique identifier for each persons profile Map.

I have an idea that maybe it would be easier to host a webpage with this list that the users could just view and interact with in a webview. I don't know how to do that though or if that's even that's even a solution. I am out of my element at this point. I don't know C+ or HTML or anything like that. I would be willing to learn some though as I only have to create a proof of concept. I know that this kind of steps out of the bounds of B4Android a little bit so any help would be greatly appreciated even if it's some links. A little direction would go a long way for me. Thanks in advance, everyone!
 

PHB2

Member
Licensed User
Longtime User
The way I would do it would be:

On the B4AServer create a WCF web service that has methods that get called when a device logs onto the network. The details could then be stored in a SQL DB on the server.

The app you are writing can send a heartbeat every x seconds to the server which updates the SQL DB for that user to show they are still active on the network.

When a user exits the app it could send a message to the server to say they have left and update the SQL DB.

The app could also poll the server for users who have left the network within the last x seconds.

I appreciate it is a different model and technology to the one you have already started writing, but it may get your creative juices flowing.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…