Appcelerator Tips and Tricks

Pages

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

Thursday, January 24, 2019

Open another titanium app through intent.

There is an example code for opening another App.

https://gist.github.com/MotiurRahman/9d0636134d348b9ba3cb6c91b65f6c49

Thanks!
at 7:17 AM 1 comment:
Labels: Code Sample

Thursday, January 17, 2019

Android Background and Foreground service

Here is an example code for Background Service
- https://gist.github.com/MotiurRahman/a2100bf126f72381e088505e7b3f303a

For foreground service
- https://github.com/appcelerator/titanium_mobile/pull/10076
- https://gist.github.com/aminulaust/d351cbe205e0b5196cecf8130756a776

Thanks!
at 4:45 AM No comments:
Labels: Code Sample

Monday, January 14, 2019

How to reduce Android APK size.

You can use the following property in your tiapp.xml file for reducing the APK size.

  1. <abi>armeabi-v7a</abi>
Helpful link

  • https://stackoverflow.com/questions/33228158/android-architecture-usage
  • https://docs.appcelerator.com/platform/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference-section-src-29004921_tiapp.xmlandtimodule.xmlReference-abi         
Hope this helps.
at 9:18 PM 1 comment:
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)
    • ►  April (1)
    • ►  March (1)
    • ▼  January (3)
      • Open another titanium app through intent.
      • Android Background and Foreground service
      • How to reduce Android APK size.
  • ►  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

  • 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...
  • Setup Android SDK to the Appcelerator Studio for Mac
    At first, download the Android SDK manually from the bottom of this page https://developer.android.com/studio/index.html Secondly, ...
  • How to choose a pdf/doc/image file from the device and upload to the server.
    You can try with the following sample code var window = Ti.UI.createWindow({ backgroundColor : 'red', layout : "vert...
  • 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...
  • Clean reinstall Appcelerator Studio to the Mac.
    At first, remove the Studio from Applications plus the following for a clean state sudo rm -rf ~/.appcelerator sudo rm -rf ~/.titanium ...
  • 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...
  • Appc command not found.
    To the windows PC you can see that problem if the npm prefix is not on the PATH. Try running echo %PATH% and it should contain something s...
  • 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/control the picker background color.
    Please have a look following sample code to do that -  https://gist.github.com/MotiurRahman/70474898226636243d81f852fd1e0b06 Hope this h...
  • 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.