TweetWorld
An application used to filter data form Twitter based on user preference, built with React, Redux, JavaScript, and CSS.
(only necessary if incomplete)
| # extract the android package id from a built apk file | |
| # usage ./getPackageName.sh <path-to-apk> | |
| line=`aapt dump badging "$1" | grep package:\ name` | |
| # above returns: | |
| # package: name='com.calvium.myapp' versionCode='1' versionName='1.0' | |
| if [[ $line =~ name=\'(.+)\'\ versionCode ]]; then | |
| echo ${BASH_REMATCH[1]} | |
| else | |
| echo "Failed to find package name" |
| #! /bin/bash | |
| #===================================================================== | |
| # Selects an android device | |
| # Copyright (C) 2012-2013 Diego Torres Milano. All rights reserved. | |
| # | |
| # See: | |
| # - http://dtmilano.blogspot.ca/2013/01/android-select-device.html | |
| # - http://dtmilano.blogspot.ca/2012/03/selecting-adb-device.html | |
| # for details on usage. | |
| #===================================================================== |
| /** | |
| Get local html files (views/widgets) to insert into your SPA | |
| @param path ex: | |
| path = 'file:///android_asset/www/view/page.html' | |
| @param success | |
| @param failure | |
| */ | |
| function get_html_file(path, success, failure) { | |
| const xhr = new XMLHttpRequest() |