binarymyth.blogspot.com
Binary Myth: Android - Turn WiFi Hotspot On and Off Programmatically
http://binarymyth.blogspot.com/2013/12/android-turn-wifi-hotspot-on-and-off.html
Saturday, December 21, 2013. Android - Turn WiFi Hotspot On and Off Programmatically. Programmatically turn WiFi Hotspot On and Off on android platform using following permissions in Manifest file. Android.permission.ACCESS WIFI STATE. Android.permission.CHANGE WIFI STATE. WifiManager wifi = (WifiManager) this.getSystemService(Context.WIFI SERVICE);. WifiConfiguration wifi config = null;. There is no direct call so use following. USE REFLECTION ON THE METHOD NAMED / SetWifiAPEnabled/.
binarymyth.blogspot.com
Binary Myth: January 2010
http://binarymyth.blogspot.com/2010_01_01_archive.html
Tuesday, January 12, 2010. Enterprise Library 2.0 Encrypted ConnectionString. Enterprise Library 2.0 connection string is not encrypted by default. So recompile "Microsoft.Practices.EnterpriseLibrary.Data" DLL with following change. In Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabaseAssembler decrypt "connectionStringSettings.ConnectionString" as you wish before calling SqlDatabase. Public Database Assemble(string name, ConnectionStringSettings connectionStringSettings,. Links to this post.
binarymyth.blogspot.com
Binary Myth: Dynamically Calculate Control Dimension at UI
http://binarymyth.blogspot.com/2011/09/dynamically-calculate-control-dimension.html
Wednesday, September 28, 2011. Dynamically Calculate Control Dimension at UI. Calculate the dimension of controls at UI in term of rows*columns. This accepts parent container width/height and number of controls to draw. You may also provide what ratio you need for controls. Calculate control dimension as per parent size and required ratio. X ratio of control to maintain. Y ratio of control to maintain. TotalColumns = TotalRows = 1;. ParentHeight * RatioX) / ( double. ParentWidth * RatioY) / ( double.
binarymyth.blogspot.com
Binary Myth: November 2009
http://binarymyth.blogspot.com/2009_11_01_archive.html
Wednesday, November 25, 2009. Http:/ www.codeproject.com/KB/recipes/AlphaNumeric Increment.aspx. Many alpha numeric samples increment only numeric part and append alpha as prefix, but the requirement was to increment all characters in a series. This is usually required if you want to generate some unique varchar value for a database, or to achieve more combination in short length. Numeric 0-9 (Length 2) = 100 combinations. Numeric A-Z (Length 2) = 676 combinations. NumericToAlpha = 1,. AlphaToNumeric = 2,.
binarymyth.blogspot.com
Binary Myth: September 2010
http://binarymyth.blogspot.com/2010_09_01_archive.html
Monday, September 27, 2010. Technology in the line of Extinction. We have heard about the extinction of dinosaurs, mammoths etc. happened billions of years ago but have you ever noticed that you are also a witness of some extinction activities. Following are few technologies that are on the edge of extinction or some already extinct :). 4 VHS tape and VCRs. 7 The Walkman, Discman and MiniDisc player. 8 Dial-up Internet access. 9 CDs and DVDs. 11 Tube TVs and Plasma TVs. Links to this post.
binarymyth.blogspot.com
Binary Myth: cordova 2.2.0 messages.slice error in eclipse (android)
http://binarymyth.blogspot.com/2012/12/cordova-220-messagesslice-error-in.html
Tuesday, December 25, 2012. Cordova 2.2.0 messages.slice error in eclipse (android). When using cordova 2.2.0 in eclipse for android development if you see following error. TypeError: 'undefined' is not a function (evaluating 'messages.slice(0, spaceIdx)') at file:/ /android asset/www/cordova-2.2.0.js:1113. No need to worry, just do the following. Messages = messagesFromNative.shift();. Messages = messagesFromNative.shift() ' ;. Subscribe to: Post Comments (Atom). View my complete profile.
binarymyth.blogspot.com
Binary Myth: December 2012
http://binarymyth.blogspot.com/2012_12_01_archive.html
Tuesday, December 25, 2012. Cordova 2.2.0 messages.slice error in eclipse (android). When using cordova 2.2.0 in eclipse for android development if you see following error. TypeError: 'undefined' is not a function (evaluating 'messages.slice(0, spaceIdx)') at file:/ /android asset/www/cordova-2.2.0.js:1113. No need to worry, just do the following. Messages = messagesFromNative.shift();. Messages = messagesFromNative.shift() ' ;. Links to this post. Subscribe to: Posts (Atom). View my complete profile.
binarymyth.blogspot.com
Binary Myth: September 2011
http://binarymyth.blogspot.com/2011_09_01_archive.html
Wednesday, September 28, 2011. Dynamically Calculate Control Dimension at UI. Calculate the dimension of controls at UI in term of rows*columns. This accepts parent container width/height and number of controls to draw. You may also provide what ratio you need for controls. Calculate control dimension as per parent size and required ratio. X ratio of control to maintain. Y ratio of control to maintain. TotalColumns = TotalRows = 1;. ParentHeight * RatioX) / ( double. ParentWidth * RatioY) / ( double.
binarymyth.blogspot.com
Binary Myth: Android - Turn WiFi On and Off Programmatically
http://binarymyth.blogspot.com/2013/12/android-turn-wifi-on-and-off.html
Saturday, December 21, 2013. Android - Turn WiFi On and Off Programmatically. Programmatically turn WiFi On and Off on android platform using following permissions in Manifest file. Android.permission.ACCESS WIFI STATE. Android.permission.CHANGE WIFI STATE. WifiManager wifi manager = (WifiManager) this.getSystemService(Context.WIFI SERVICE);. Wifi manager.setWifiEnabled(false);. Subscribe to: Post Comments (Atom). View my complete profile. Amazon Contextual Product Ads. Promote Your Page Too.
SOCIAL ENGAGEMENT