HTML5 mobile app that needs to capture user profile image - html

I have a mobile application built with html 5. I've deployed the mobile application to iphone, android and blackberry using PhoneGap. The app loads up a list of user profiles via an Ajax call to my web server which has a database of user information.
My database of user information currently lacks user profile images for any of the users. How do I allow a user to associate their user profile on the mobile app with a profile image of themselves?
My current challenges are:
I can't seem to get html5 file upload button to work on the iPhone
a friend told me to try authenticating with linkedin, then ask for their linked in profile image. This can be done via of a concept of "childbrowser" on ios devices. But he claims there are some challenges (i think in terms of a good user experience) with android and blackberry?

Have you looked into Gravatar? Your users would have to set up their profile picture on the site, then they provide you a link to their chosen avatar from the Gravatar website. It doesn't require any authentication to use.

The iPhone browser lacks most of the file related APIs.
Anyway I have had enough problems with File APis to recommend the solution that #saluce is probably your best bet. Use a web service whenever possible to avoid having to deal with files as much as possible and for this particular use case, the gravatar solution is a good bet.

Related

tablet POS system

I have a project to create a point of sale system, which in each table in a restaurant will have a tablet. The idea is this tablet will communicate to the kitchen interface and send customer's order directly to the kitchen. I'm planning to use HTML 5 and phonegap for the tablet.
My question is:
How can I connect each tablet to the kitchen interface? is it possible to send information over the wifi? Do I need a hub or router?
I have seen API such as e-thor and square register, can I use those API to build this system?
Is it possible to customize the tablet so it can only open the app?
Thanks, any answer would be appreciated.
how can I connect each tablet to the kitchen interface? is it possible to send information over the wifi? Do I need a hub or router?
Yes, a hub such as a linksys router with each tablet connected wirelessly to the same SSID on the router will allow you to talk to the internet or the intranet for your kitchen service.
I have seen API such as e-thor and square register, can I use those API to build this system?
Yes, a webapp utilizing the apis for this system will receive orders from people and allow them to pay for them as well (given they have the ability to swipe their cards with a square for example). The hardest part to your question is the webapp and how it will store and use the information from users. This is the part that you need to think about as the rest of your questions are trivial.
Is it possible to customize the tablet so it can only open the app?
Yes, many apps do this and it is usually in parental controls or administration of users for the tablet (depending on the operating system).

Grant Access to App if Liked our page on Facebook?

Having googled various iterations and looked at the Facebook info I'm none the wiser.
What I'm looking to do is have the ability to cross reference my business page on Facebook and where a user has Liked our page they can then login to our app, thus if they unlike us their account is disabled?
Basically having written a free app that could be widely used for what our business provides we get a simplified marketing strategy.
The app I have is built around jQuery Mobile and links to a MySQL database.
Would the user register an account with me and then Like us on Facebook for us to cross reference the FaceBook API's? or would I have to have full FaceBook login? Or even worse is this not possible?

mobile / web application for confrence text / photo messaging

Imagine a social network application similar to twitter which every user is following and is also followed by some other users and whenever a user sends a message (text or photo) it is displayed instantly on the screen of users following him/her. What is the best way to make such an application for:
mobile
web
I have some web programming experience and the only way I know to do this in web is to send an ajax call every second from a user's client. My feeling tells me there should be a better way. I did some research and found webrtc. Is that the way to go? I (and probably many other users) will be grateful if you can explain the pros and cons of the solution you suggest.
Thanks a lot.
If you want to build conference app/ messaging app for web/mobile platform you can use latest web technologies.
Node.js is an Javascript framework which does efficient and non blocking IO and it works really well with applications which are not data intesive which involve lot of calculations.
Please go through Node.js and libraries associated with it, you can ahieve building efficient chat application.

html5 offline application on multiple platform

I want to develop a offline web app which will work on multiple platform(PC,Android). This is a basically a product display web app so that each product will have image,video,details of product etc. For development of this web app HTML5 is the choice. I will copy web app files to each device so that I could run it offline. But here I need a back-end so that I could delete outdated product and add new products(which will have details,image,video). Is there anyway so that I could add/delete product from one device and copy these files to all other devices.
I have come across HTML Appcache, using this i can build normal php site and using manifest i can store it in browser appcache for offline viewing. But this requires internet connection in each device and access the web app through browser.
I would like to know if there is any other way I could do this without keeping files in web server.
I think something like PhoneGap is probably what you're looking for (Apache Cordova)
Also be aware that app store policies may end up dooming your app if it doesn't look and feel native. Expect Apple to be very strict about this.

Windows Phone User Login

I am wanting to start programming games on the Windows Phone and wondering what the best way is to log a user in a session on the Windows Phone. Is it possible to do it with XBOX LIVE? Or do I have to hand-craft my own Login system?
You can have a look at Windows Azure Mobile Services (http://www.windowsazure.com/en-us/develop/mobile/) to help you out in authentication mechanisms, enabling you to have out-of-the-box support for Microsoft accounts, facebook, google and twitter (it's currently free and you can also use it for more things than just this).
If you don't want to use any external support, then you'll have to have your own hand-crafted login system and somewhere to hold it in (you could also use Mobile Services for that).
If you need any sample code, just drop me a line and I'll try to gather something up. :)