Appcelerator Tips and Tricks

Pages

  • Home
  • Android
  • iOS
  • Windows
  • Code Sample
  • Tips&Tricks

Friday, June 21, 2019

How to calculate the height of the status bar Android

You can try with the hyperloop module.
  • https://docs.appcelerator.com/platform/latest/#!/guide/Android_Hyperloop_Programming_Guide

Here's the native code
  • https://gist.github.com/hamakn/8939eb68a920a6d7a498

Hyperloop sample code
  • https://gist.github.com/MotiurRahman/f0d92ad2c0861150fb30bc639268ee39

Hope this helps
at 5:49 AM 2 comments:
Labels: Code Sample
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Search This Blog

Featured Post

Fresh installation Appcelerator Studio to the windows PC.

If you download the Appcelerator Studio and try to install, it will cover all the steps automatically, but sometimes it creates problem to...

Blog Archive

  • ►  2020 (2)
    • ►  September (1)
    • ►  February (1)
  • ▼  2019 (8)
    • ►  November (1)
    • ►  October (1)
    • ▼  June (1)
      • How to calculate the height of the status bar Android
    • ►  April (1)
    • ►  March (1)
    • ►  January (3)
  • ►  2018 (8)
    • ►  December (1)
    • ►  November (1)
    • ►  June (1)
    • ►  April (1)
    • ►  March (2)
    • ►  February (2)
  • ►  2017 (15)
    • ►  December (2)
    • ►  November (1)
    • ►  October (2)
    • ►  July (1)
    • ►  April (4)
    • ►  March (3)
    • ►  January (2)
  • ►  2016 (21)
    • ►  December (21)
  • ►  2014 (2)
    • ►  April (2)
  • ►  2013 (4)
    • ►  November (3)
    • ►  October (1)

Popular Posts

  • Android: does not show the Map || How to create API key for map
    Usually, Map does not show if your API key is not correct or Map module version is not compatible. So the following steps can help to gene...
  • Clean uninstall then reinstall CLI to the windows PC.
    At first, uninstall the Studio from the control panel then delete the following folder  . Appcelerator  .titanium,   .android   .eclips...
  • What do you mean by Memory leaks? And how to fix it.
    Memory leaks occur when your app allocates memory but doesn't release it. Leaks occur when unintended or overlooked references to obje...
  • How to open your App from the deep links/ browser link
    Here is a sample code to do that -  https://gist.github.com/MotiurRahman/ca8cd6c8b2745c870836602dfb6875fe Doc link -  https://docs....
  • How to change action bar hamburger icon color.
    You have to use a custom theme for changing the hamburger icon color. Here is the sample code and doc link - https://gist.github.com/Moti...
  • How to open pdf file on Android.
    Following example would be helpful for opening pdf file ////////------//////////// var file = Ti.Filesystem.getFile(Ti.Filesystem.resou...
  • How to send push notification using PHP server.
    Please take a look following sample code to do that -  https://gist.github.com/MotiurRahman/4ba3ff893ba38b3884c1 Hope this helps.
  • How to play an audio and video file using hyperloop.
    Here is an example code for android var Activity = require( 'android.app.Activity' ) ; var AudioManager = require( 'andr...
  • How to add Custom font in Titanium also Bangla Support in android
    This is the Easy way To add custom font  or support Bangla in your android apps in titanium. At first create a folder named fonts in re...
  • Upload photo to the PHP server
    Here is a sample code to do so -  https://github.com/MotiurRahman/Image-Upload Hope this helps.
Appc Developer. Simple theme. Theme images by gaffera. Powered by Blogger.