Updates from September, 2018 Toggle Comment Threads | Keyboard Shortcuts

  • ThomasPowell 2:37 pm on September 15, 2018 Permalink
    Tags: dart, flutter   

    Flutter Initial Installation Experience 

    Installing Flutter on MacOS and using IntelliJ

     
    From there, just iterate on brew doctor until it stops warning you about things not being installed.
     
    In IntelliJ, I also got the following warning about the Dart SDK
    Dart SDF not configured
     
     
     
    Of course, when you click on the “Download Dart SDK” link, it points you to install Flutter, which I have done.
    Recommendations for Dart Installation
    After checking the flutter/bin directory, I confirmed that there was nothing that looked like “dart” in there.
     
    After a bit of searing on “Dart SDK is not configured”, I found that Android Studio users were running into the same thing:
     
    In “Dart SDK path” click in “…” and navigate to flutter bin directory. Under that directory you’ll find “cache/dart-sdk”. This is the dart sdk path you should use.
     

    Sure enough, in “…/flutter/bin/cache/dart-sdk/bin” were all the dart* binaries and alias scripts.

    After that (I was already set up in Xcode for iPhone development), it was trivial to build and deploy a basic test app to the iPhone X Simulator.

    Flutter Demo Counter App

    Flutter Demo Counter App in iPhone X Simulator

     
  • tech0x20 10:13 am on November 21, 2011 Permalink | Reply
    Tags: iphone bookmarklet javascript   

    Updated… Add Bookmarklets to Mobile Safari for iPhone / iPad 

    Today’s iPhone has a nice article on adding bookmarklets to mobile Safari:
    TiPs & Tricks: Add bookmarklets to mobile Safari

    However, with iOS5, I found that the steps are a little more convoluted:

    1. Add a dummy bookmark using the [->] button in the middle of Safari
    2. Copy the code for the bookmarklet
    3. Tap the Bookmark button (second from the right in Safari).
    4. Tap the [Edit] button
    5. Tap on the dummy bookmark you created
    6. (x) out the URL on the second line
    7. Paste the bookmarklet code on the second line.
    8. (x) out the title and name the bookmarklet appropriately
    9. Tap [Done] when finished.

    UPDATED 01/27/2012 bufferapp has new code.

    javascript:void(location.href='bufferapp://?u='+encodeURIComponent(location.href))

    I also found that the Buffer code was missing, so I captured it and posted it below:

    javascript:(function(){
    var%20a=document.getElementsByTagName('head')[0],
    b=document.createElement('script');
    b.type='text/javascript';
    b.src='http://bufferapp.com/js/bookmarklet.v1.js?'
    +Math.floor(Math.random()*99999);
    a.appendChild(b);
    })();void%200

     
  • tech0x20 2:57 pm on May 8, 2010 Permalink | Reply
    Tags: , payments, retail, stored value   

    My experience with the Starbucks Mobile Card 

    When I initially heard about the Starbucks mobile card test only being expanded to Target stores, I wondered if the reason was because of infrastructure. After all, there are west coast tests of the mobile card in full scale stores.

    After trying to use it, I now believe that the choice of Target Starbucks as test locations was due to their lower volume.

    I presented my iPhone app mobile card for payment. It took a minute for the cashier to realize what I was doing (how long into the test?)

    She was unable to scan the mobile card after a couple of attempts, and then had to make a couple of attempts at manually entering the card before the system would accept it as payment.

    Another cashier was confused with what was even going on with my iPhone and the order. At some point, I can imagine that I would have been public enemy #1 if this were a standalone Starbucks at rush hour.

    I successfully paid for my drink with the mobile card, but I don’t think I ever will do that again, at least not until I see others in line successfully paying in this way.

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
%d bloggers like this: