good morning,
how can i do a SSO valid between my 3 apps.
i have 3 apps that should be installed on same phone. like google apps or facebook
and if i'm logged on one of them then other apps bypass the auth part.
i'm looking for good practices
thanks for advices.
By default android runs each app on separated sandbox so apps can not access data from other apps. But you can run as many apps as you like under the same sandbox. In that case you can access any data from other apps (database, files, etc.)
This is only one way of sharing data and not the preferred way BTW. Another approached that highly encourage by android team is to create content providers and allow controlled access to other applications in platform. This is exactly the way you are accessing users contact database in android for example.
I don't explain how to do it here. there are plenty of resources on internet and several well explained youtube videos.
Related
I have a suite of Cordova-based apps that have the need to store data in a spot outside of the app's sandbox so other apps can read it.
I've taken a look at two plugins, cordova-plugin-secure-storage and cordova-plugin-ios-keychain. Neither explicitly mention that the storage being used can be accessed outside of the running app's scope.
I've tried my luck with cordova-plugin-secure-storage and was not able to share between two apps on Android; even though the store had the same name, the keys differed between the apps. That's OK -- I can store the file externally on Android.
My question is, am I wasting my time looking into keychain plugins to cover iOS? If so, any suggestions, or easier implementations?
I am planning to build a survey style questionnaire app that will run on android devices. I am not too keen on creating Android apps and recently came across PWA framework of Google.
Can anyone suggest if this is an ideal solution to build an offline survey style questionnaire app, the requirement is users will download a new questionnaire before going in field which would have different set of questions and choices and will take responses that could be around 100-500 per questionnaire in offline mode and they will come back to office and connect with internet and sync with central database.
My question is whether PWA can provide this offline feature and more importantly how much space is provided for a PWA to use on devices, is the space limited to couple of MB's like the Microsoft MVC solution?
Thanks,
Anurag
Regarding offline capabilities:
You can use service workers for such requirement. If you are only targeting modern devices with updated browsers, offline capabilities shouldn't be a problem.
Regarding Storage:
You can either leverage web storage API or indexedDB. In either case, you may read: http://www.html5rocks.com/en/tutorials/offline/quota-research/ to know the limits for each. Actual answer depends on platform and browser.
If you are only targeting mobile app and can take care of app distribution you can also consider Ionic for developing a hybrid app.
http://ionicframework.com/docs/v2/
Also, check out:
https://github.com/pazguille/offline-first : Everything you need to know to create offline-first web apps.
As the title says, I have an administration mobile app for both iOS and Android and I want to be able to distribute it to all of our clients and businesses, but I don't want to have it publicly available on the app stores. Is it possible to put an app on the app store that's only accessible if we give them the direct link? Or is it possible to distribute the app easily bypassing the app stores? Or is there a service that I can use to deploy to certain devices and also be able to alert them when an update happens? There is also a public app in the app store already, but the app I'm referring to is for administration of the data alone and that's why we don't want it public. Thanks!
On the iOS side of things, you'll want to sign up for an Enterprise developer account. You can learn more here: https://developer.apple.com/programs/ios/enterprise/
On the android side of things, this SO answer seems to give you enough details to get started: Distributing (and updating) an enterprise Android application that is to be used in-house only
You can create a login system for your clients in your android/ios app.
I am new to android development, I have a website that is for online shopping and I want to make an android app so the smart phone users can also access it. It will use something like PHP post/get, JSON, JavaScript to get values from server and submit forms from app. My question is after doing all these, mean HTTP Connection and all that, is there any need to make a special website for mobile device too, that will be compatible with mobile device? or no need of this, just to open it in mobile app? I have googled it but can't find something useful.
I think most of visitors will visit the normal site instead of installing a unknown app.
It's your own choose, if i have the the choice i would choose both (web and app).
I think it's important to have a user and mobile friendly website.
At least you could make your website responsive so that user have the choice whether they will install a Native app or use the 'web' app.
I've met the same question.
Apps are good-looking and functional.
But the thing is, especially in China, almost everybody around me uses "Wechat" as a daily app. The most important thing Wechat can provide is an entry. By establishing an official accounts, customers can be easily linked to your mobile website. And 1)it's way more convenience than Apps. 2)Mobile website has a less developing cost than an App. 3)With HTML5 spreading to mobile terminals, the interfaces can be cool and the function can be amazing.
So, for middle/little companies, I personally recommend mobile website.
I like to make an android app which helps the user to share and send data from application to pc. How i can start doing this. Please help
Regards
Mohammed Suhail.
Everything is possible, but wouldn't this be re-inventing the wheel a bit ?
Unless your use-case is really specific to your domain, I would consider something like Astro or Dropbox (that has a very nice Android app) that lets user share whatever data is stored on their phone with their desktop and vice versa.
Doing custom development for this involves proper user authentication & authorization (both on phone and one backend website), user management, sharing capabilities (if required), file syncup, ....
Depending on your needs, a lot of third party apps already offer these kinds of services.
Instead of developing this yourself, I would suggest checking out third party apps that might offer you the ability to integrate with them from your own custom app.