This Summer, I worked on FOSSASIA's Phimpme Android for a complete all in one Open Source Image app. The app contains the gallery where user can browse his/ her local directory, Image editor with optimized filters and other transformation and tuning features. Also you can share images to multiple platform without their standalone app installed in your phone.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Regular Expressions Cheat Sheet | |
> A regular expression specifies a set of strings that matches it. This cheat sheet is based off Python 3's Regular Expressions (http://docs.python.org/3/library/re.html) but is designed for searches within Sublime Text. | |
> Special Characters | |
\ Escapes special characters or signals a special sequence. | |
. Matches any single character except a newline. | |
^ Matches the start of the string. | |
$ Matches the end of the string. | |
* Greedily matches 0 or more repetitions of the preceding RE. | |
*? Matches 0 or more repetitions of the preceding RE. |
You will need the user_id
from the user. This is difficult to discover at Instagram but easy from this site http://jelled.com/instagram/lookup-user-id
I used http://jelled.com/instagram/access-token for the next few steps
You will also need an access token
which ends up being difficult to obtain. Log into the account and go to their Developer Page.
Step by step to install Scala + Play Framework in Ubuntu 14.04 with Activator.
Install Scala
sudo apt-get remove scala-library scala
wget http://www.scala-lang.org/files/archive/scala-2.11.6.deb
sudo dpkg -i scala-2.11.6.deb
sudo apt-get update
sudo apt-get install scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ActivitySwitchHelper { | |
public static void rateApp() { | |
try { | |
final Intent rateIntent = new Intent(Intent.ACTION_VIEW); | |
rateIntent.setData(Uri.parse("market://details?id=" + context.getPackageName())); | |
context.startActivity(rateIntent); | |
} catch (Exception e) { | |
showToast("You don't have play store :) Thanks. "); |