OnKey Character Map - on Andriod Tablet

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
khurshid.arshad
Posts: 572
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

OnKey Character Map - on Andriod Tablet

Post by khurshid.arshad »

Dear CSPro Team
We are using Samsung Galaxy Tab S2 for our agriculture survey. OnKey Character Map is working on desktop/latptop but not on Samsung Galaxy Tab S2. Please Advice.
Regards

Code: Select all

Function OnKey(x);
	if getsymbol()="OP_Name"  or getsymbol()="Q_2_3_1"  then
		if x in  65:90,13, 8, 32, 46, 37:40, 1009,189  then
			{ Alpha "65:90, 13=Enter, 8=Bksp, 32=Space, 46=Delete, 189=-}
				onkey=x;
		else
			OnKey = 0;
		endif;
	elseif getsymbol()="Q_2_3_5" then
		if x in  48:57,13,8, 32, 46 then
			{ Number "65:90, 13=Enter, 8=Bksp, 32=Space, 46=Delete, 189=-, 9=Tab}
				onkey=x;
		else
			onkey=0;
		endif;

	else
		Onkey=x;
	endif;
end;
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: OnKey Character Map - on Andriod Tablet

Post by josh »

The OnKey and OnChar functions are not supported on Android.
Post Reply