yannis assael | the blog

  • Home
  • About
  • Categories
    • Android
    • Computing
    • iOS
    • Machine Learning
    • MacOSX
  • GitHub
  • Mobile Apps
  • yannisassael.com


Disable New Facebook Messenger on Android

Written by iassael on 02/11/2014. Posted in android, computing, general

trash-can-in-silver-with-the-lid-at-side_17-510212705Most of the new devices are now forced to install Facebook Messenger.

FB Messenger is the most unfriendly app I have used as you cannot disable it and also I don’t want to be available for everybody all time…

In order to keep the good old messages that you could open whenever you wanted or at least had the choice you can follow the steps:

1) Uninstall official FB Messenger (yeah it feels nice!)

2) Go to Settings -> Security and enable “Unknown sources”

3) We will trick the FB app check by using a dummy app with the same name “com.facebook.orca” but with nothing inside!

4) Download http://blog.ic3man.gr/Facebook.Messenger.Deactivator.apk

( 4.optional You can also compile it yourself from https://github.com/iassael/facebook-messenger-deactivator )

5) Install it! Tada! Now you can be peaceful and notificationless again…

Cheers~

  • Continue Reading
  • No Comments

Enable “Unknown Sources” via adb

Written by iassael on 02/07/2014. Posted in android, computing

Getting a Nook SimpleTouch I had to enable the android option Unknown Sources via adb shell… so first connect with usb and make sure adb debugging is on…

  1. adb pull /data/data/com.android.providers.settings/databases/settings.db

  2. sqlite3 /path_to_your_folder/settings.db

  3. update secure set value=”1″ where name=”install_non_market_apps”;

  4. .quit

  5. adb push settings.db /data/data/com.android.providers.settings/databases/

  • Continue Reading
  • 2 Comments

Convert Javascript Date from UTC to Local Timezone

Written by iassael on 03/05/2013. Posted in android, computing, iOS

var strdate = ‘2013/05/03 03:13:00’;
var d = new Date(strdate);
var d = new Date(d.getTime() – d.getTimezoneOffset() * 60 * 1000);

used it with Titanium Appcelerator

  • Continue Reading
  • 1 Comment

A little bit of Android, Phonegap and GWT (gwt-phonegap)

Written by iassael on 04/02/2012. Posted in android, general

This guide will demonstrate how to build the gwt-phonegap showcase application on Android
1) Checkout from here http://code.google.com/p/gwt-phonegap/source/browse/gwtphonegap.showcase.gwt/src/main/java/com/googlecode/gwtphonegap/?repo=showcase

(for more info http://code.google.com/p/gwt-phonegap/wiki/GettingStarted)

2) Edit your index.html so that it looks like this:

<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>index</title>
<script type="text/javascript" language="javascript" src="phonegap.js"></script>
<script type="text/javascript" language="javascript"
src="ChildBrowser.js"></script>
 
<script type="text/javascript">
document.addEventListener("deviceready", (function() {
PhoneGap.available = true;
}), false);
</script>
 
<script type="text/javascript" language="javascript"
src="showcase/showcase.nocache.js"></script>
</head>
 
<body>
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
style="position: absolute; width: 0; height: 0; border: 0"></iframe>
 
</body>
</html>

<!doctype html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>index</title> <script type="text/javascript" language="javascript" src="phonegap.js"></script> <script type="text/javascript" language="javascript" src="ChildBrowser.js"></script> <script type="text/javascript"> document.addEventListener("deviceready", (function() { PhoneGap.available = true; }), false); </script> <script type="text/javascript" language="javascript" src="showcase/showcase.nocache.js"></script> </head> <body> <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position: absolute; width: 0; height: 0; border: 0"></iframe> </body> </html>

3. Run GWT Compile

4. Create a new Android Project

5. Add Phonegap Lib as described here http://phonegap.com/start#android

6. Copy everything from the %SHOWCASE%\target\gwtphonegap-showcase-gwt-1.2.0.0-SNAPSHOT directory to the Android Project \asserts\www directory

7. Make your Activity look like this:

public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   super.loadUrl("file:///android_asset/www/index.html");
}

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.loadUrl("file:///android_asset/www/index.html"); }

8. Ready to go!

Sorry I was not that analytic about the process. Please feel free to contact me for any help!
J.

 

  • Continue Reading
  • 5 Comments

Pame Stoixima for Android

Written by iassael on 12/01/2012. Posted in android, computing

Κουπόνι ΟΠΑΠ για το Πάμε Στοίχημα
Ποίος ο λόγος να πας ως το πρακτορείο?
Δες τρέχον το Κουπόνι με όλα τα ανερχόμενα Σημεία και Αποδόσεις τώρα από το κινητό σου!


Download here!

Η εφαρμογή λειτουργεί και offline χωρίς να χρειάζεται πρόσβαση στο Internet, εφόσον έχει γίνει τουλάχιστον μια ενημέρωση των δεδομένων εντός των προηγούμενων ημερών.

 

 

 

  • Continue Reading
  • 1 Comment

Ti tha Fame | Greek Delivery for Android

Written by iassael on 06/01/2012. Posted in android, computing

Όλοι έχουμε βρεθεί κάποια στιγμή να ψάχνουμε «απεγνωσμένα», τηλέφωνα σε καταλόγους από Delivery ή στο Internet, αναζητώντας «Τι Θα Φάμε?».

Το «Τι Θα Φάμε?» αποτελεί ένα ηλεκτρονικό κατάλογο για εύκολη ανεύρεση Delivery & Εστιατορίων για όλη την Ελλάδα. Ευχαριστούμε θερμά το foodland.gr το οποίο αποτέλεσε κύριο άξονα της βάσης δεδομένων μας.

Οι κατηγορίες που μπορεί να επιλέξει ο χρήστης είναι: «Fast Food», «Pizza», «Κρέπα», «Εστιατόρια», «Κινέζικο», «Κοτόπουλο» και «Μικρο-γεύματα» ή αν είναι αναποφάσιστος μπορεί να τα επιλέξει όλα!

Ti Tha Fame | Greek Delivery

  • Continue Reading
  • No Comments