Sunday 20 September 2015

USB_debuggin_enable

USB dubugging enable for new android mobile - Asus zenfone

http://firstandgeek.com/developer-option-usb-debugging-asus-zenfone-5/

Go to Settings

Click on About

Then Choose Software Information


Tap the Build Number for nearly 10 times, so that for each press, it shows you are near to the developer option. Continue until it unlocks the developer option for you.


After that go to the Settings page again. At the bottom, You could see the developer option as following.

Inside the developer option, there is USB debugging option.

Not only the USB debugging feature, but also Stake Away, Mock Location Allowing, Force RTL layout direction, animation scale, GPU rendering, Strict mode etc can be accessed by simply enabling this Developer option. As I owned Zenfone now, more Zenfone tips and tricks will be updated soon. if you have any problems regarding your Zenfone, kindly mail me and I will give you the answer.

sleep_android_activity

Thread closeActivity = new Thread(new Runnable() {
  @Override
  public void run() {
    try {
      Thread.sleep(3000);
      // Do some stuff
    } catch (Exception e) {
      e.getLocalizedMessage();
    }
  }
});

Showing hint of page on Nav Bar TAB

Nav bar - mouse over- show name of current tab/page show

<a href="index.html" title="Home" ></a>


 <ul class="nav">
       <li><a href="index.html" title="Home">Home</a></li>
            <li><a href="advisoryboard.html">Advisory Board</a></li>
     <li><a href="editorialboard.html">Editorial Board</a></li>
            <li><a href="instructionstoauthor.html">Instructions to Author</a></li>
  <li  class="active"><a href="indexing_listing.html">Indexing And Listing</a></li>  
            <li><a href="current_issues.html">Current Issue</a></li>
     <li><a href="archives.html">Archives</a></li>
  <li><a href="contactus.html">Contact Us</a></li>
      </ul>

jQuery Mobile: Stick footer to bottom of page:

jQuery Mobile: Stick footer to bottom of page:
=================================
add css:
----------
[data-role=page]{height: 100% !important; position:relative !important;}
[data-role=footer]{bottom:0; position:absolute !important; top: auto !important; width:100%;}


Disable Div.jqm-content :

css :
div.jqm-contne{ display:none; }

Fav_Icon_for web site

Convert your image to the ICO format :

http://image.online-convert.com/convert-to-ico

Upload image and set pixel 16x16

convert and download image as ico format..

Add this line in html page after meta Tag and before Css inclusion.

<link rel="icon" type="image/jpg" href="images/fav.ico">