android print from pdfview - android

I have an app is working with PDFView. Today I added buttons for print by send data to printer directly. Do you have any solution, how to print data from PDFView just click on button. Note: Below image have 2 buttons but my purpose need only one button calls "Print Food" and other button will other purpose. Thanks & Best Regards.

I tried 2 days in search. Now solution solved. I just download app from Play Store name: Printer+ so that app will automatic print our app from the PDFView. Thank You for your replied and Thanks for Printer+ App.

Related

Firebase dynamic link option amv

I created Manually Dynamic Link URL as below
https://uatandroidbetaprogram.page.link/?link=https://*******.com?YourDomain%3Dwww%26OrgID%3Dorgtest%26UserWelcomeName%3DJay%26UserAccountName%3Dr*****#*****.com&apn=*********&amv=10&afl=https://play.google.com/apps/testing/******************
1) In above url I use amv=10. my expectation is if old version app install on phone and if I click the above link it should upgrade the app. But it will just open the app
2) What is the use of amv and how to use it?
3) If old app installed on phone and I open google play store and try to update that time also it will open the app not update the app
Please provide me some solution
Thanks in advance.
If you use the debug view (&d=1 on the link) you can see there are a few warnings which may be preventing the behavior:
https://uatandroidbetaprogram.page.link/?link=https://***************.com?YourDomain%3Dwww%26OrgID%3Dorgtest%26UserWelcomeName%3DJay%26UserAccountName%3Dr********&apn=****************&amv=10&afl=https://play.google.com/apps/testing/***************************&d=1
What you describe is the intended usage of amv, so it should work as you're expecting. Make sure it matches the versionCode parameter in your AndroidManifest.

Android - WebView not saving input forms

I'm using a simple webView client in my android application, but, when the user log in, close the app and open app again the input forms not save the user information like webbrowser.
How i solve it?
I need when the user enter the 'username' the app save this like a webbrowser, if possible save the password too :)
Thank in advance.
Have you tried following the tutorial on the Android Developer site from Google?. I think that this is what you are looking forward to achieve....
"" Building Apps with Contacts & Sign-In ""
https://developer.android.com/training/building-userinfo.html

How to test if my new event is working in Google TagManager before publishing it?

I am using Google TagManager in my android project. It was used and maintained before by someone and I am new to Google TagManager stuffs. I want to measure one of the button click events in my app. So, I have added this on button click:
dataLayer.push("myid", "mybutton-btn-click");
In Google Tag Manager also, I have added this variable and generated the new container binary which I have put in my app.
Now before publishing the container, I want to make sure that this new button click event works. But I cannot find a way to test it.
I enabled "tagManager" verbose logging but do not see any log when I click the button.
I also tried looking in GTM console and could not find a place to see it. I am also trying to look in GA console and could not see it.
I could generate the preview link for the container and can test that the app gets launched with the QR code reader.
can someone help me to know how to test if the event got logged on click of the button?
Thanks for any help
For testing your events in an anroid you need follow the instruction available in GTM for anroid documentation
https://developers.google.com/tag-manager/android/v5/#preview-debug-pubish-container

AppRequest Dialog does not appear

i am currently building a game with Unity for Android.
I want to use the AppRequest feature from the Facebook API.
User should be able to challenge their friends.
I implemented it just like in the tutorial (https://developers.facebook.com/docs/unity/reference/current/FB.Apprequest)
FB.AppRequest(
message:"message",
title:"title",
callback: appRequestCallback);
I have the following permissions:
basic_info
publish_actions (to post the score)
friends_games_activity (to see the scores of the friends)
And yes, I am logged in. I check that directly before that.
I tested it with development mode on and off.
If I run the game on Android and click the button that calls the method, Facebook tries to load something, but it will never appear. I see the load-icon (this turning circle thing) but nothing appears and I am back in my game. It looks like everything is directly cancelled.
If I run the game in the Unity Editor everyhing works just fine. I can see my friends and send them requets.
What am I missing? It's driving me crazy.
Do I need another permission?
Everything else works perfectly with the FB SDK.
I have encountered a similar problem with Facebook Unity SDK, which was solved by passing more parameters - these marked as optional too.
It shouldn't work like that, but they're still working on that plugin, so maybe you could give it a try, and specify all parameters you can, or manually pass them default values.
I found the solution.
I passed to many characters in the message and title strings.
Therefore my question was maybe misleading, because I replaced the strings with short dummy values.
If you encouter a similar issue:
The length of message should be at most 60 characters.
The length of title should be at most 50 characters.
I tried it on another phone got an error message there. On my phone the dialog just did not appear.

How to send text message in phonegap

I am developing one app in phonegap.
In my app i am using one text field which contains some text and one
button for sending text.When i will click on button then one alert box
should open .Which contains three button "SMS","CHAT","Cancel".when i
will click on SMS button then my message should be send via sms.When
i will click on chat button then my message should be sent via chat.
How is it possible .Is there anyone have any demo or idea then pls
reply for my post .I will be very thankful to you.
There is no direct support in the phonegap api for what you are trying to do, but you can write your own phonegap plugin to achieve what you want.
There is a SMS Composer Plugin, which should be a good starting point for what you are trying to create: https://github.com/grantsanders/SMSComposer
Updated: here are two SMS plugins, since the above plugin is 404ing
Android: https://github.com/phonegap/phonegap-plugins/tree/master/Android/SMSPlugin
iOS: https://github.com/phonegap/phonegap-plugins/tree/master/iOS/SMSComposer
The link by Daniel is now broken.
However I found this website full of PhoneGap plugins: https://github.com/phonegap/phonegap-plugins

Categories

Resources