If you're having problems with Open Graph follow Vaibhav's tutorial. It really worth it.
Here's the link: http://shahvaibhav.com/login-logout-using-facebook-account-using-facebook-c-sdk-and-asp-net-mvc3/
Wednesday, February 13, 2013
Friday, November 2, 2012
Mobile Website vs Hybrid App comparison
Mobile Website App
Strengths- cheapest / easiest / fastest to develop
- works across all platforms
- updates are immediately available to end users
- can work offline
- cannot use device's native hardware features
- slower that native apps
- geolocation api (GPS)
- device orientation (accelerometer)
- battery
- web audio/video (NOT supported by majority of older browsers )
Hybrid App
Strengths- code once and deploy the app to multiple platforms
- can work offline
- content can be updated easily
- partial access to the device's native hardware features
- major changes to the app will require the user to update the app
- accelerometer
- camera
- capture (media files using device's media capture apps)
- compass
- connection
- contacts (devices contact database)
- device (device specific info)
- events
- geolocation
- globalization
- media (record and play back audio files)
- notification
- splashscreen
- storage
Saturday, October 13, 2012
How to easily detect and redirect android and iPhone
Simple script for Android detection.
<script type="text/javascript">
if ( (navigator.userAgent.indexOf('Android') != -1) ) {
document.location = "http://www.your_url.com";
}
</script>
Lets specify Android and iPhone version.
<script type="text/javascript">
var ua = navigator.userAgent;
if (ua.indexOf("Android") >= 0) {
var androidversion = parseFloat(ua.slice(ua.indexOf("Android") + 8));
if (androidversion <= 2.3) {
window.location = 'http:/www.your_url.com';
}
} if (/(iPhone)/i.test(navigator.userAgent)) {
if (/OS [1-4]_\d(_\d)? like Mac OS X/i.test(navigator.userAgent)) {
// iOS 1-4 so Do Something
window.location = 'http://www.your_url.com';
}
}
</script>
<script type="text/javascript">
if ( (navigator.userAgent.indexOf('Android') != -1) ) {
document.location = "http://www.your_url.com";
}
</script>
Lets specify Android and iPhone version.
<script type="text/javascript">
Monday, July 16, 2012
Wednesday, May 30, 2012
Tuesday, May 15, 2012
Wednesday, May 9, 2012
Subscribe to:
Posts (Atom)