Tutorial by Examples: l

ProGuard is a tool used in the building process to optimize and obfuscate the Java code of your APK, and also remove unused classes. The resulting APK when using ProGuard will have a smaller size and will be harder to reverse-engineer (decompilation). ProGuard can be used too in Xamarin.Android app...
You made a great app and tested it in Debug, with good results. Everything was working fine! But then, you decided to prepare your app for release. You set up MultiDex, ProGuard and Linker, and then, it stopped working. This tutorial aims to help you to find out common problems related to ProGuard...
Inspect ssl certificate openssl x509 -in server.crt -noout -text Generate server key openssl genrsa -out server.key 2048 Generate csr openssl req -out server.csr -key server.key -new
PowerShell looks for modules in the directories listed in the $Env:PSModulepath. A module called foo, in a folder called foo will be found with Import-Module foo In that folder, PowerShell will look for a module manifest (foo.psd1), a module file (foo.psm1), a DLL (foo.dll).
By default, only functions defined in a module are visible outside of the module. In other words, if you define variables and aliases in a module, they won't be available except in the module's code. To override this behavior, you can use the Export-ModuleMember cmdlet. It has parameters called -F...
Suppose you want to see if a certain set of sales prices makes sense for a store. The items originally cost $5, so you don't want to accept the sale if the sales price is less for any of them, but you do want to know what the new price is otherwise. Calculating one price is easy: you calculate the...
Detailed instructions on getting php-7 set up or installed.
To open a link call openURL. Linking.openURL(url) .catch(err => console.error('An error occurred ', err)) The preferred method is to check if any installed app can handle a given URL beforehand. Linking.canOpenURL(url) .then(supported => { if (!supported) { console.log('Unsuppor...
You can detect when your app is launched from an external URL. componentDidMount() { const url = Linking.getInitialURL() .then((url) => { if (url) { console.log('Initial url is: ' + url) } }).catch(err => console.error('An error occurred ', err)) } To enable this...
You can set flash data in controller just using this syntax $this->session->set_flashdata('message', 'Message you want to set'); Here 'message' is identifier for access data in view. You can Set more than one message by just changing identifier. for ex $this->session->set_flashdata...
You can simply access the fashdata in view like this <?php echo $this->session->flashdata('message'); ?> For access multiple message just change identifier For Ex. <?php echo $this->session->flashdata('my_alert'); ?> <?php echo $this->session->flashdata('my_wa...
/// <summary> /// Simple Get method /// </summary> /// <returns> Json formated data </returns> public string GetJsonData1() { IOperations _Obj = ClsOperations.GetOperations(); string url = "http://1.2.3.4:1234/Services/rest/Call...
/// <summary> /// Post Method with input parameter /// </summary> /// <returns> Json formated data </returns> public string GetJsonData2() { IOperations _Obj = ClsOperations.GetOperations(); string url = "http://1.2.3.4:...
/// <summary> /// Post Method with Input/ data to post in JSON format /// </summary> /// <returns> Json formated data </returns> public string GetJsonData3() { IOperations _Obj = ClsOperations.GetOperations(); string url = "htt...
/// <summary> /// Post Method with Input/ data to post in JSON format Or you can send dictionary as shown in previous methods /// </summary> /// <returns> Json formated data </returns> public void GetJsonData4() { IOperations _Obj = ClsOpera...
/// <summary> /// Post Method with Input/ data to post in JSON format Or you can send dictionary as shown in previous methods /// </summary> /// <returns> Json formated data </returns> public DataTable GetJsonData6() { ...
/* By Default if you send only url then automatically it will recognize as GET Method and if service having parameters with, Then automatically will convert to POST Method. But I observed some of the services having only URL but are POST Type. For the purpose you can forcefully make the method as yo...
First, why do we need lxml ? lxml.etree is a generic API for XML and HTML handling. It aims for ElementTree compatibility and supports the entire XML infoset. It is well suited for both mixed content and data centric XML. Its generality makes it the best choice for most applications. The lxml libr...
Any Acumatica application developer spends a great deal of their time writing BQL code. At the same time, not everybody knows the underlying details of how BQL types work under the hood. At the heart of BQL lay two key methods: Parse() and Verify(), declared by the IBqlCreator interface. Most of th...
There is a container view S which width is 100 and height is wrap to all subviews height. there are four subviews A,B,C,D arranged from top to bottom. Subview A's left margin is 20% width of S, right margin is 30% width of S, height is equal to width of A. Subview B's left margin is 40, width...

Page 782 of 861