I'm building android application with the help of phonegap (I'm using html5 and javascript).
The two questions I have are as follows:
I'm not able to complete instagram integration step 3 to access token from url. Can anyone help as I want to use javascript code for the actions above?
My application has feature to upload pictures but that should be done using instagram application. So how to invoke or redirect to already existing instagram application on clicking the camera image?
Do reply soon!
Related
I am trying to integrate skype within my website. Features I want to use in my websites are:
Sign-in and sign-out
Video or Audio calling
Chatting
Also I want to store chat messages in my local database so I can have track of conversation for future use. So, My questions are:
Is it possible to integrate skype in website?
If yes, How can we integrate it?
Is it necessary to have desktop application installed for web application?
My priority is Javascript SDK but I am also flexible with any other programming integration. Thanks in advance.
I'm trying to develop a hybrid APP that will implement in webview.
In this APP, I want all user interfaces load from server and functions (such as wifi scanning) work by native code.
Is it possible if I click the icon in the UI and it will send me back to implement native code by JavaScript?
(I have tried PhoneGap, but there doesn't have the plugin can support the function I need.)
when I register my Facebook application I asked for Website URL. That means that only users from that URL can be access to Facebook API. But I don't need it.
I'm made a mobile application by phonegap, I used ionic (HTML5 mobile framework).
I made an initialize to Facebook SDK in my javascript files, and tried to access to the api. Well it didn't work becuase the hostname on mobile application is '' (none, nothing, empty string), there is no hostname/URL parameter on mobile application.
When I tried it on my computer it worked when I put in Facebook application settings this website URL: http://localhost/, and it's worked becuase i really was on localhost.
How should I fix it, so I could access to my application from every URL and not only the URL I asked in the application settings?
Sample of my javascript code: (Written with angular.js)
$scope.loginFB = function() {
Facebook.login(function(loginResponse) {
if(loginResponse.status == 'connected') {
$rootScope.$storage.local.userLoggedIn = true;
Facebook.api('/me', function(facebookUser) {
$rootScope.$storage.local.currentUser = facebookUser;
});
}
});
};
take a look to sociogram sample on github
, a sample application demonstrating how to integrate with Facebook in your Angular/Ionic apps
If you have a mobile application, you should integrate with facebook mobile sdk for android and ios.
See:
https://developers.facebook.com/docs/ios/
https://developers.facebook.com/docs/android
There are several cordova plugins that can help you with such integration (I am the author of one by the way). You can search for these plugins at http://plugreg.com/search?q=facebook
I have successfully used Facebook connect plugin and for ionic framework you can also try ngCordova Facebook
I don't know if I googled it correctly but I could not find the answer for my question.
I'd like to know if it's possible to code a html5 with javascript (maybe jquery mobile for the UI) and css without using "native compilers/builders" like sencha touch or phonegap and store the page locally (using file:// protocol).
E.g: Let's say that I want to build a simple HTML5 calculator. I don't want any server-side processing, I just want some html buttons to call javascript functions to perform client side only operations. If I make such page, let's call it calc.html and download it to the mobile (via usb/http download), can I open this calc.html with the internal browser and use the calculator? Or do I have to compile/build this calc.html into a Webview (for Android) or something like it to get it done?
Would this work for Android, IPhone, Windows Phone and others with localStorage/sessionStorage?
You want an Offline Web Application.
This article seems to explains step by step how to do this.
http://diveintohtml5.info/offline.html
Creating a website like this, will allow you to bookmark it and have a shortcut icon in the phone's dashboard that will allow you to load your page in the browser for those cases where you don't have a data connection. In the case where the phone has a data connection, it will load the manifest to check if there are any new files to update the application. I don't think there is a way to make it truly offline though.
I have developed a javascript based widget application having IM features, use case of this widget will be to embed it on any web page.
we have embedded this widget app to our organizational portal, and IM is working fine. Now the management wants if we can have notification for any incoming IM, if the browser is minimized or is in the background. Notification on task bar as gtalk was providing on windows XP.
But now a days, these notifications are not available on windows 7, even facebook has an messenger embedded with their FB page and even no notification is there.
I searched internet for solution but as of now found nothing. It seems for desktop application it can be done for widget kind of application is it feasible??
Please help..
You can change the window title to the notification. This is similar to what Facebook does.
http://heyman.info/2010/sep/30/jquery-title-alert/
This should help you out.