Click here to Skip to main content
15,917,808 members

Comments by Muthu Karunarathna (Top 27 by date)

Muthu Karunarathna 26-Jan-17 10:21am View    
Hello,

In Xamarin android QR scan using zxing is much easy as it requires only 3 lines of codes.
MobileBarcodeScanner.Initialize(Application);
var scanner = new ZXing.Mobile.MobileBarcodeScanner();
var result = await scanner.Scan();
string qrCode = result.ToString();

But it always opens a default view with full screen even if I set it inside oncreate event or button click. What I really need is having qr scan in half screen instead of full screen. remaining othert half screen will be used to add few buttons.

If anyone knows how to do it please let me know I have spent more than 3-4 days to find the answer for this component. Also if there are any other useful library than zxing for qr scanning let me know.

Thanks,
Muthu
Muthu Karunarathna 23-Jan-17 13:00pm View    
The problem is not about button click or other events. my camera will be opened in a new screen when i click on scan button. But I actually want is open the camera in same UI for half screen.So button and the camera open will be in same screen.
Muthu Karunarathna 23-Jan-17 8:23am View    
It is accessing the zxing library. Library was written to scan the qr by a new page.
below two lines are the qr generating code with the library. I want to know how to customize it.

var scanner = new ZXing.Mobile.MobileBarcodeScanner();
var scanResults = await scanner.Scan();
return scanResults.Text;
Muthu Karunarathna 22-Sep-16 8:23am View    
Please refer this link. I published it in .net forum and it might explains the problem clearly.
http://forums.asp.net/p/2104102/6082102.aspx?Re+Access+the+cross+domain+single+sign+on+websites+using+net
Muthu Karunarathna 21-Sep-16 11:04am View    
session id is changing from 1st domain to 2nd domain.and there is no connection between cookies among two domains. If I start first request with 1st domain I should have a proper connection among cookies to go further. But in between it is lost. It works if I pass session Id manually. But it is not what I want.