Tuesday, April 17, 2012

all about QR codes

1) How a QR code installed data?
http://www.swetake.com/qr/qr3_en.html

2) ISO/IEC 18004/2000 QR code (all about standards in a QR code)
http://raidenii.net/files/datasheets/misc/qr_code.pdf

3) Fancy about Dynamic QR code? 1 QR code with changeable info : http://wayne-doucette.blogspot.co.uk/2011/01/dynamic-qr-code-generator-jquery-google.html

4) some professionals doing dynamic QR :http://trakqr.com/

5) animated QRs:http://blog.qr4.nl/Animated-QR-Samples.aspx
Also we have designed QR codes too (eg a QR code in Japan from LV)

Monday, April 16, 2012

for conflicts between Barcode Scanner App and Zxing Scanner

users don't have to select between the barcode scanner app and my app for scanning if they have Zxing's apk installed
http://stackoverflow.com/questions/7945951/integrating-zxing-barcode-scanner-with-my-android-app-custom-action-name-issue

Design Pattern

For Designing your code from prototype: HeadFirst Design Patterns by Eric Freeman & Elisabeth Freeman

Publisher : O'Reilly
Shop : You can buy in amazon or if you are in UK, check out in Waterstones

Dealing with Amazon Web API

Register -> https://developer.amazonservices.co.uk/index.html

The Developer guide ->https://images-na.ssl-images-amazon.com/images/G/01/mwsportal/doc/en_US/bde/MWSDeveloperGuide._V161845402_.pdf

3 Types of developer access
I want to access my own Amazon seller account with MWS.— Select this option when you sign up to use
Amazon MWS for your own Amazon seller account, Amazon MWS will assign a developer account identifier
to you. When you make Amazon MWS requests, you'll use the developer account credentials that are associated
with your developer account, plus the merchant Id for your seller account.
I want to use an application to access my Amazon seller account with MWS.— Select this option if you
want to use an application to access your Amazon seller account using Amazon MWS. When you register, you
must enter the developer account identifier for the application you will be using. The final page of the Amazon
MWS registration process shows your merchant Id. You will use this identifier in the application you use.
I want to give a developer access to my Amazon seller account with MWS.— Select this option when you
want to authorize a third-party developer to access your account with Amazon MWS.

ListView Tutorial

http://codehenge.net/blog/2011/05/customizing-android-listview-item-layout/

static classes(when dealing with adapters)

you might normally come across when you call the adapter from another class, they ask the class to be static

eg: private TescoJsonParser TJP= new TescoJsonParser();
String sessionkey= TescoJsonParser.login("youremail@gmail.com","password");
ProductDetails parsedResult=TescoJsonParser.getProductByBarcode(contents,sessionkey );
products.add(parsedResult);
productLists.setAdapter(new ProductViewAdapter(this,products));

I cannot use TJP.login(....,...);
here is why:
http://www.javaworld.com/javaworld/javaqa/1999-08/01-qa-static2.html

HTTP Post

http://stackoverflow.com/questions/6786246/viewstate-value-in-the-httppost

HTTP Post can accept more than HTTP get. Since HTTP get only accept for 256 chars