I did a few researches yet either the answer is outdated (cordova changed a lot since the answer) or in unanswered.
This is what i need:
I have a phone number on html page which is parte of a cordova app.
All that i need is to know how to send this number to whatsapp so either te user can add the number as contact and therefore be able to be prompted to send a message or simply open the message dialog.
Such behavior need to work on android and on ios too.
Any guidance is welcome.
I guess you are basically looking for sharing the data from your app to an other app (in this case whatsapp). I believe, social sharing plugin should help you out in this case which lets your share link, text and images to apps like facebook, whatsapp etc..
Please look at the official social sharing plugin link for more info. Hope it helps.
Related
I need some help in Android studio where I am going to make app for a student but I don't have enough money to purchase the developer account I need some help from you I think you will help me
I want to ask that how can I make the JavaScript for the app that can download the latest version of app in background and notify to install the new version when downloaded is complete
I'm not very techie person so please give me some demo code for my convenience
If anybody help me I will be thankful from my heart
Okay after going through Question and the comment, what I have understood is that you want to download the latest version of the app without uploading to google play.
My Answer: You can use Firebase cloud Messaging i.e FCM to send the notification, Once user tap on the notification open the link where you have stored the app and start that process in the background using the service or intent service.
P.S: ask this type of question on Reddit or somewhere else.
I am trying to find out if it is possible to create a share button on a website that shares to WeChat.
So just as you would with Twitter or Facebook to share a message or link back to the social network.
Has anyone managed to do this? Or has anyone confirmed that it is not possible?
thanks!
You can use the AddThis service to embed a range of share buttons, including WeChat.
It doesn't seem to support opening the WeChat app with a pre-populated message (like when sharing to Twitter/Facebook) - probably because the WeChat app doesn't support this - but works around it in two ways:
On Desktop: clicking the share button displays a QR code which the user can scan using their mobile device
On Mobile: tapping the share button displays a share URL, a button to easily copy the URL, and another button to open the WeChat app. The user needs to still perform a couple of steps manually, but it's about the easiest it's gonna get.
Hope that helps.
They publish an APK for Android and iOS that allows you to do this from another native app.
As far as I'm aware, WeChat, like WhatsApp, does not support any web browser access so I don't think it's possible.
http://dev.wechat.com/wechatapi
Perhaps somewhere in the API you can create a share button on a website that opens the Android or iOS apps, but I don't think any WeChat access is possible from the desktop.
The answer in this SO question should help you WeChat sharing, how to change re-share description and thumbail?. It refers to a Javascript API WeixinJSBidge http://mp.weixin.qq.com/qa/index.php?qa=3163 with the documentation in Chinese but the code is still readable. Hope it helps you!
I have tried to implement the integration of WeChat on Meteor before. The questions are:
1. Did you have the correct package ID and signature?
2. Did you get approved from WeChat and get the WeChat App ID?
I follow the tutorials and get my app work here: http://blog.sanuker.com/?p=691
Hope it helps! Good luck.
I have a friend who created an online betting game. Now, in order to deploy it on mobile, I just created a webview to display the website. First, you have to register. After registration on my phone, I opened my Gmail. I clicked the Email Validation Link, but instead of opening the webpage on the Webview, the browser opened. We are trying to test it. I hope someone with knowledge in php,javascript,css or ajax. Please help Thanks.
I'm assuming the webview is hosted in a thin app you made, and you'd like the email verification link to open up inside that app.
In that case, on Android, the way you do this is with Intents (wiki overview, tutorial, docs).
You would have to mark up the link in the email with a special scheme that Android would interpret to mean "Open up my thin app with these parameters." So, rather than:
Verify Email
You would have
Verify Email
Here is a related StackOverflow question to follow up with (they use JavaScript instead of a proper href -- you'll have to test): Invoke android application from browser
Good luck!
You need override WebViewClient.shouldOverrideUrlLoading() having it return false (please see http://developer.android.com/reference/android/webkit/WebViewClient.html#shouldOverrideUrlLoading(android.webkit.WebView, java.lang.String))and set the WebViewClient on your WebView (please see http://developer.android.com/reference/android/webkit/WebView.html#setWebViewClient(android.webkit.WebViewClient))
I'm building a website and a simple app for android and iOS with sencha and I want it to connect to facebook and post something.
I've read the information and tried to implement Facebook Javascript SDK.
It works on the website, when I tap a button the facebook login poped out, asking me to login and authorize the facebook app I created. after I authorize it and got an access token, I can post something to timeline from the web.
However, when I tried to pack it into .apk and install it on my android device it didn't work.
Is it possible to use Facebook Javascript SDK with sencha touch after I pack it to .apk ? or should I be use another method ?
I'm hoping that anybody could help me with that, and an example would be nice.
Thanks in advance.
Write a handler in sencha to call your site's oAuth service for authentication...
Use this authentication for your mobile app... I dont think the issue was due to .apk did you try the same thing in a mobile browser and see if it worked???
The Watch List lets you share which movies you have seen and want to see with your friends on Facebook.
https://github.com/senchalearn/Watchlist
I'm implementing in-app purchase for an Android app from within a web view. The purchase is meant to be completed via Amazon's MP3 app. If the user does not have it installed, I want to open the Market app so they can download it before attempting to complete their purchase.
According to the official Android documentation, the following JavaScript should work:
window.location.href = 'market://details?id=com.amazon.mp3';
However, when I call that, I get a view that is blank except for a link to that link and half an upside-down Android dude poking out the top left of the view (you can't make this stuff up).
Anyone know why this might not be working? I've tested it on multiple handsets all running Android 2.1 and above. TIA for any help!
UPDATE: Thanks to #jtkendall on Twitter for this post that talks about how this behavior changed recently. Looks like this has to be implemented in native code.
Use the Http variant.
http://market.android.com/details?id=com.amazon.mp3
http://market.android.com/details?id=