Monday, April 16, 2012

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

Spinners

http://stackoverflow.com/questions/9699864/select-item-in-spinner-android

Friday, April 13, 2012

More to GO

Woot ! I was so happy 3 days ago about my app that has done and now I look back, it is just a child play ! god, I wish I knew that 3 days ago.

Anyway, time has spent, and I cant get back my slacking times. So, I focus on this NOW!!

More to come: Really connect with the TESCO CHECKOUT

Thursday, April 12, 2012

QR code Generator

This is how you can make a QR code .For my case, when you can scan the QR code and you will reach to the PayPal link with the total sum of the product in it)


Firstly by using ZXing you can create by using their ZXing web link : http://zxing.appspot.com/generator
or
you can write by using QRcodeWrite class:http://zxing.org/w/docs/javadoc/com/google/zxing/qrcode/QRCodeWriter.html
http://code.google.com/p/zxing/source/browse/trunk/core/src/com/google/zxing/qrcode/QRCodeWriter.java?r=1028

But first one is very limited.

1)Step by Step: notice the ZXing package: http://stackoverflow.com/questions/6376400/zxing-android-generate-1d-barcode
Then details inside : http://stackoverflow.com/questions/2489048/qr-code-encoding-and-decoding-using-zxing


3) QR code writer in ZXing
http://cfsearching.blogspot.co.uk/2010/04/coldfusion-zxing-read-write-qrcode.html This is the CFC extention (not related with project)

4) Java android encoder (without using ZXing)



Encoding and Decoding through a web service:


BitMat (bit matrix) documentation

Monday, April 9, 2012

SQLite notes

http://coderzheaven.com/2011/04/using-sqlite-in-android-a-really-simple-example/3/

SQLite manager : http://coderzheaven.com/2011/04/sqlitemanager-plugin-for-eclipse/

some new findings (BigDecimal, onResume)

BigDecimal= to get the rounded double value eg. from 2.5555555 to 2.56

onResume => I was having problems with SQlite database for not updating my scanned values into total, but I realized I was calling the total in onCreate, but not in onResume
After I call it in onResume, everything is perfect ! :)

why SQL not visible in the database?
Cos' of security issue and so we need to reboot the android
http://stackoverflow.com/questions/3810710/why-cant-data-folder-be-displayed-just-like-in-ddms-file-explorer
how to? http://forum.unity3d.com/threads/112703-Override-Unity-Data-folder-path


REBOOTING : http://www.tomsguide.com/us/Root-Your-Android-Phone,review-1688-2.html

Saturday, April 7, 2012

SQLite Implementation and Understanding

SQLite Table creation : http://www.sqlite.org/lang_createtable.html

Some SQLite Video: http://www.video2brain.com/en/videos-4429.htm (just explaining basic things)

How to create Database: http://www.youtube.com/watch?v=bF1sxGfNz-o