¡@

Home 

2014/10/15 ¤U¤È 10:14:12

iphone Programming Glossary: side

Apple PNS (push notification services) sample code

http://stackoverflow.com/questions/1052645/apple-pns-push-notification-services-sample-code

I just saw it today and was able to send out notifications from the console. On the iPhone side you'll just need to call the following to register for all types of notifications UIApplication sharedApplication..

Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?

http://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like

If the cookie exists and is set to true set window.location to your uri or do the redirect server side If the cookie doesn't exist open a Did you know Your Site Name has an iPhone application modal with..

UIImagePickerController and extracting EXIF data from existing photos

http://stackoverflow.com/questions/1238838/uiimagepickercontroller-and-extracting-exif-data-from-existing-photos

is a raw UIImage making it impossible to know the file size of the image that was selected. I'm considering making a table of hashes and matching against the first x pixels of each image. This seems a bit.. you took a look at this exif iPhone library http code.google.com p iphone exif Gonna try it on my side. I'd like to get the GPS geotags coordinates from the picture that has been taken with the UIImagePickerController..

upload image from iphone to the server folder

http://stackoverflow.com/questions/1939335/upload-image-from-iphone-to-the-server-folder

few snippet from online to upload image from iphone to the server folder its showing to use server side scripting eg. use php at server side php uploaddir 'uploads ' file basename _FILES 'userfile' 'name'.. from iphone to the server folder its showing to use server side scripting eg. use php at server side php uploaddir 'uploads ' file basename _FILES 'userfile' 'name' uploadfile uploaddir . file if move_uploaded_file.. without the above code let say i want to upload into http 111.22.333.44 mysite pics w o any server side scripting if can how this can be done thanks iphone image upload folder share improve this question..

iPhone image stretching (skew)

http://stackoverflow.com/questions/2351586/iphone-image-stretching-skew

done in such way since it's only a change the perspective of view rotate bring closer farther one side . Maybe CGAffineTransform can be useful If you know the answer please write a sample code. Thanks in..

Using the apple FFT and accelerate Framework

http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework

on vDSP_fft_zrip Real data is stored in split complex form with odd reals stored on the imaginary side of the split complex form and even reals in stored on the real side. this is probably the hardest thing.. reals stored on the imaginary side of the split complex form and even reals in stored on the real side. this is probably the hardest thing to understand. We are using the same container A all the way through..

Fast and Lean PDF Viewer for iPhone / iPad / iOs - tips and hints?

http://stackoverflow.com/questions/3889634/fast-and-lean-pdf-viewer-for-iphone-ipad-ios-tips-and-hints

of the page for just less than a second before a crisp version appears. Im rendering 2 pages each side of the page in focus so that the PDF image is ready to mask the layer before it starts drawing.Pages.. warnings release and reload the DocRef and any page Caches Other PDF Features Getting Links inside a PDF and here and here Understanding the PDF Rect for link positioning Converting PDF annot datestrings..

iPhone - Backgrounding to poll for events

http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events

Now the magic happens I don't even use VoIP Sockets. But this 10 Minutes callback provides a nice side effect After 10 Minutes sometimes earlier I discovered that my timers and previous running treads are.. back to foreground. Then close the bgTask and you're done. Maybe one can do sth. like this inside the expirationHandler from the long running task. Just try it out. Use your Console to see what happens.....

What work has been done on cross-platform mobile development? [closed]

http://stackoverflow.com/questions/51988/what-work-has-been-done-on-cross-platform-mobile-development

which are better suited to such an endeavor Note that I am particularly asking about client side software not web apps though any information about the difficulties of using web apps across multiple..

Objective C: How to upload image and text using HTTP POST?

http://stackoverflow.com/questions/5422028/objective-c-how-to-upload-image-and-text-using-http-post

console or anything and the image is uploaded but the text is not sent. Any ideas Btw The server side script is a very simple php script. iphone objective c ipad file upload http post share improve this..

How do I create delegates in Objective-C?

http://stackoverflow.com/questions/626898/how-do-i-create-delegates-in-objective-c

delegate MyClass myDelegate MyClass alloc init window setDelegate myDelegate On the NSWindow side it probably has code similar to this to see if the delegate responds to the windowDidMove message using..

Xcode 4 - “Valid signing identity not found” error on provisioning profiles on a new Macintosh install

http://stackoverflow.com/questions/6769345/xcode-4-valid-signing-identity-not-found-error-on-provisioning-profiles-on-a

be under the heading library or under a heading called TEAMS. Choose Export near the bottom left side of the window. Xcode asks you to choose a file name and password. On your new machine launch Xcode and..

performSelector may cause a leak because its selector is unknown

http://stackoverflow.com/questions/7017281/performselector-may-cause-a-leak-because-its-selector-is-unknown

of every Objective C method call . This is handled in the third line the void on the right hand side simply tells the compiler that you know what you're doing and not to generate a warning since the pointer.. header of the object type you're working with. 2 There are really only 4 things that ARC would consider for the return value 3 Ignore non object types void int etc Retain object value then release when it.. end up with a garbage pointer value being retained released and crash. Additional Arguments One consideration is that this is the same warning will occur with performSelector withObject and you could run..

How can I upload a photo to a server with the iPhone?

http://stackoverflow.com/questions/125306/how-can-i-upload-a-photo-to-a-server-with-the-iphone

the upload. Note that upload will happen on a separate thread. Results An instance of Uploader. Side effects None id initWithURL NSURL aServerURL IN filePath NSString aFilePath IN delegate id aDelegate.. anErrorSelector self upload return self Uploader dealloc Destructor. Results None Side effects None void dealloc serverURL release serverURL nil filePath release filePath nil delegate.. filePath Gets the path of the file this object is uploading. Results Path to the upload file. Side effects None NSString filePath return filePath @end Uploader @implementation EPUploader Private..

Apple PNS (push notification services) sample code

http://stackoverflow.com/questions/1052645/apple-pns-push-notification-services-sample-code

seems to work pretty well if you're developing a rails application I just saw it today and was able to send out notifications from the console. On the iPhone side you'll just need to call the following to register for all types of notifications UIApplication sharedApplication registerForRemoteNotificationTypes UIRemoteNotificationTypeBadge..

Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?

http://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like

of an iPhone iPod Touch Check for an appInstalled cookie If the cookie exists and is set to true set window.location to your uri or do the redirect server side If the cookie doesn't exist open a Did you know Your Site Name has an iPhone application modal with a Yep I've already got it Nope but I'd love to try it and Leave..

UIImagePickerController and extracting EXIF data from existing photos

http://stackoverflow.com/questions/1238838/uiimagepickercontroller-and-extracting-exif-data-from-existing-photos

but the original file is a JPEG whilst the returned image is a raw UIImage making it impossible to know the file size of the image that was selected. I'm considering making a table of hashes and matching against the first x pixels of each image. This seems a bit over the top though and probably quite slow. Any suggestions.. exif share improve this question Have you took a look at this exif iPhone library http code.google.com p iphone exif Gonna try it on my side. I'd like to get the GPS geotags coordinates from the picture that has been taken with the UIImagePickerController After a deeper look this library seems to take..

upload image from iphone to the server folder

http://stackoverflow.com/questions/1939335/upload-image-from-iphone-to-the-server-folder

image from iphone to the server folder i found few snippet from online to upload image from iphone to the server folder its showing to use server side scripting eg. use php at server side php uploaddir 'uploads ' file basename _FILES 'userfile' 'name' uploadfile uploaddir . file if move_uploaded_file _FILES 'userfile'.. server folder i found few snippet from online to upload image from iphone to the server folder its showing to use server side scripting eg. use php at server side php uploaddir 'uploads ' file basename _FILES 'userfile' 'name' uploadfile uploaddir . file if move_uploaded_file _FILES 'userfile' 'tmp_name' uploadfile echo Uploaded.. possibilites to upload image directly to the server folder without the above code let say i want to upload into http 111.22.333.44 mysite pics w o any server side scripting if can how this can be done thanks iphone image upload folder share improve this question turning the image into a NSData object getting the image..

iPhone image stretching (skew)

http://stackoverflow.com/questions/2351586/iphone-image-stretching-skew

tried to use CATransform3D but it seems that this cannot be done in such way since it's only a change the perspective of view rotate bring closer farther one side . Maybe CGAffineTransform can be useful If you know the answer please write a sample code. Thanks in advance iphone image transform stretch share improve this..

Using the apple FFT and accelerate Framework

http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework

A 'r' means it takes real inputs Look at the documentation on vDSP_fft_zrip Real data is stored in split complex form with odd reals stored on the imaginary side of the split complex form and even reals in stored on the real side. this is probably the hardest thing to understand. We are using the same container A all the.. Real data is stored in split complex form with odd reals stored on the imaginary side of the split complex form and even reals in stored on the real side. this is probably the hardest thing to understand. We are using the same container A all the way through the process. so in the beginning we want to fill it with..

Fast and Lean PDF Viewer for iPhone / iPad / iOs - tips and hints?

http://stackoverflow.com/questions/3889634/fast-and-lean-pdf-viewer-for-iphone-ipad-ios-tips-and-hints

as if you scroll the pages you can see a lower res version of the page for just less than a second before a crisp version appears. Im rendering 2 pages each side of the page in focus so that the PDF image is ready to mask the layer before it starts drawing.Pages are destroyed again when they are 2 pages away from the focused.. open Contexts as soon as you don't need them on receiving memory warnings release and reload the DocRef and any page Caches Other PDF Features Getting Links inside a PDF and here and here Understanding the PDF Rect for link positioning Converting PDF annot datestrings Getting the target of the link Getting the page number..

iPhone - Backgrounding to poll for events

http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events

if backgroundAccepted NSLog @ VOIP backgrounding accepted Now the magic happens I don't even use VoIP Sockets. But this 10 Minutes callback provides a nice side effect After 10 Minutes sometimes earlier I discovered that my timers and previous running treads are being executed for a short while. You can see this if you.. task etc. Now you only have to check weather the App is getting back to foreground. Then close the bgTask and you're done. Maybe one can do sth. like this inside the expirationHandler from the long running task. Just try it out. Use your Console to see what happens... Have Fun Update 2 Sometimes simplifying things helps...

What work has been done on cross-platform mobile development? [closed]

http://stackoverflow.com/questions/51988/what-work-has-been-done-on-cross-platform-mobile-development

targeted iPhone Blackberry and Android Are there other platforms which are better suited to such an endeavor Note that I am particularly asking about client side software not web apps though any information about the difficulties of using web apps across multiple mobile platforms is also interesting. iphone android blackberry..

Objective C: How to upload image and text using HTTP POST?

http://stackoverflow.com/questions/5422028/objective-c-how-to-upload-image-and-text-using-http-post

was too easy and didn't work I do not get any error in the console or anything and the image is uploaded but the text is not sent. Any ideas Btw The server side script is a very simple php script. iphone objective c ipad file upload http post share improve this question Try this EDITED NSMutableData body NSMutableData..

How do I create delegates in Objective-C?

http://stackoverflow.com/questions/626898/how-do-i-create-delegates-in-objective-c

could create an instance of MyClass and assign it as the window's delegate MyClass myDelegate MyClass alloc init window setDelegate myDelegate On the NSWindow side it probably has code similar to this to see if the delegate responds to the windowDidMove message using respondsToSelector and send it if appropriate. if self delegate..

Xcode 4 - “Valid signing identity not found” error on provisioning profiles on a new Macintosh install

http://stackoverflow.com/questions/6769345/xcode-4-valid-signing-identity-not-found-error-on-provisioning-profiles-on-a

Profile in the upper left corner under LIBRARY which may be under the heading library or under a heading called TEAMS. Choose Export near the bottom left side of the window. Xcode asks you to choose a file name and password. On your new machine launch Xcode and import the profile you exported above. Works like a charm...

performSelector may cause a leak because its selector is unknown

http://stackoverflow.com/questions/7017281/performselector-may-cause-a-leak-because-its-selector-is-unknown

including the two implicit hidden arguments self and _cmd of every Objective C method call . This is handled in the third line the void on the right hand side simply tells the compiler that you know what you're doing and not to generate a warning since the pointer types don't match . Finally you call the function pointer... NSString id etc. ARC normally gets this information from the header of the object type you're working with. 2 There are really only 4 things that ARC would consider for the return value 3 Ignore non object types void int etc Retain object value then release when it is no longer used standard assumption Release new object values.. is returning a non object including void you could end up with a garbage pointer value being retained released and crash. Additional Arguments One consideration is that this is the same warning will occur with performSelector withObject and you could run into similar problems with not declaring how that method consumes..

How can I upload a photo to a server with the iPhone?

http://stackoverflow.com/questions/125306/how-can-i-upload-a-photo-to-a-server-with-the-iphone

delegate doneSelector errorSelector Initializer. Kicks off the upload. Note that upload will happen on a separate thread. Results An instance of Uploader. Side effects None id initWithURL NSURL aServerURL IN filePath NSString aFilePath IN delegate id aDelegate IN doneSelector SEL aDoneSelector IN errorSelector SEL.. delegate aDelegate retain doneSelector aDoneSelector errorSelector anErrorSelector self upload return self Uploader dealloc Destructor. Results None Side effects None void dealloc serverURL release serverURL nil filePath release filePath nil delegate release delegate nil doneSelector NULL errorSelector NULL.. NULL errorSelector NULL super dealloc Uploader filePath Gets the path of the file this object is uploading. Results Path to the upload file. Side effects None NSString filePath return filePath @end Uploader @implementation EPUploader Private Uploader Private upload Uploads the given file. The..

Apple PNS (push notification services) sample code

http://stackoverflow.com/questions/1052645/apple-pns-push-notification-services-sample-code

a rails application I just saw it today and was able to send out notifications from the console. On the iPhone side you'll just need to call the following to register for all types of notifications UIApplication sharedApplication registerForRemoteNotificationTypes..

Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?

http://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like

appInstalled cookie If the cookie exists and is set to true set window.location to your uri or do the redirect server side If the cookie doesn't exist open a Did you know Your Site Name has an iPhone application modal with a Yep I've already got..

UIImagePickerController and extracting EXIF data from existing photos

http://stackoverflow.com/questions/1238838/uiimagepickercontroller-and-extracting-exif-data-from-existing-photos

the returned image is a raw UIImage making it impossible to know the file size of the image that was selected. I'm considering making a table of hashes and matching against the first x pixels of each image. This seems a bit over the top though.. this question Have you took a look at this exif iPhone library http code.google.com p iphone exif Gonna try it on my side. I'd like to get the GPS geotags coordinates from the picture that has been taken with the UIImagePickerController After..

upload image from iphone to the server folder

http://stackoverflow.com/questions/1939335/upload-image-from-iphone-to-the-server-folder

folder i found few snippet from online to upload image from iphone to the server folder its showing to use server side scripting eg. use php at server side php uploaddir 'uploads ' file basename _FILES 'userfile' 'name' uploadfile uploaddir.. online to upload image from iphone to the server folder its showing to use server side scripting eg. use php at server side php uploaddir 'uploads ' file basename _FILES 'userfile' 'name' uploadfile uploaddir . file if move_uploaded_file _FILES.. the server folder without the above code let say i want to upload into http 111.22.333.44 mysite pics w o any server side scripting if can how this can be done thanks iphone image upload folder share improve this question turning the image..

iPhone image stretching (skew)

http://stackoverflow.com/questions/2351586/iphone-image-stretching-skew

that this cannot be done in such way since it's only a change the perspective of view rotate bring closer farther one side . Maybe CGAffineTransform can be useful If you know the answer please write a sample code. Thanks in advance iphone image..

SEL performSelector and arguments

http://stackoverflow.com/questions/2716143/sel-performselector-and-arguments

i atIndex 2 arguments 0 and 1 are self and _cmd respectively automatically set by NSInvocation inv invoke On a side note your method looks like an init method but does not follow the correct initializer pattern for Objective C. You need..

Using the apple FFT and accelerate Framework

http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework

at the documentation on vDSP_fft_zrip Real data is stored in split complex form with odd reals stored on the imaginary side of the split complex form and even reals in stored on the real side. this is probably the hardest thing to understand. We.. form with odd reals stored on the imaginary side of the split complex form and even reals in stored on the real side. this is probably the hardest thing to understand. We are using the same container A all the way through the process. so..

streaming video FROM an iPhone

http://stackoverflow.com/questions/3444791/streaming-video-from-an-iphone

many advantages over frame by frame upload The files can be directly used for HTTP live streaming without any server side processing. The gap between data transfers allow the antennas to sleep in between if the connection is fast enough saving..

Fast and Lean PDF Viewer for iPhone / iPad / iOs - tips and hints?

http://stackoverflow.com/questions/3889634/fast-and-lean-pdf-viewer-for-iphone-ipad-ios-tips-and-hints

a lower res version of the page for just less than a second before a crisp version appears. Im rendering 2 pages each side of the page in focus so that the PDF image is ready to mask the layer before it starts drawing.Pages are destroyed again.. them on receiving memory warnings release and reload the DocRef and any page Caches Other PDF Features Getting Links inside a PDF and here and here Understanding the PDF Rect for link positioning Converting PDF annot datestrings Getting the target..

iPhone - Backgrounding to poll for events

http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events

accepted Now the magic happens I don't even use VoIP Sockets. But this 10 Minutes callback provides a nice side effect After 10 Minutes sometimes earlier I discovered that my timers and previous running treads are being executed for.. the App is getting back to foreground. Then close the bgTask and you're done. Maybe one can do sth. like this inside the expirationHandler from the long running task. Just try it out. Use your Console to see what happens... Have Fun Update..

What work has been done on cross-platform mobile development? [closed]

http://stackoverflow.com/questions/51988/what-work-has-been-done-on-cross-platform-mobile-development

Are there other platforms which are better suited to such an endeavor Note that I am particularly asking about client side software not web apps though any information about the difficulties of using web apps across multiple mobile platforms is..

Objective C: How to upload image and text using HTTP POST?

http://stackoverflow.com/questions/5422028/objective-c-how-to-upload-image-and-text-using-http-post

get any error in the console or anything and the image is uploaded but the text is not sent. Any ideas Btw The server side script is a very simple php script. iphone objective c ipad file upload http post share improve this question Try this..

Changing the size of the UISearchBar TextField?

http://stackoverflow.com/questions/556814/changing-the-size-of-the-uisearchbar-textfield

the size of the UISearchBar TextField I have a UITableView with an Index on the side I want to add a UISearchBar to it but the index overlaps with the x to clear the search. I've noticed in the Contacts application.. of putting the Search Bar as the header of your Table View you can put a View instead. Then put a Navigation Bar inside this View. Grab the left resizing handle of the Navigation Bar and pull it to the right until the N B is only 25 pixels.. View can only have 1 subview in its header that's why you need to put the View first then the N B and Search Bar inside it. UPDATE see Beginning iPhone Development from Apress p. 241 of SDK 3 edition. You just disable the index while searching...

How do I create delegates in Objective-C?

http://stackoverflow.com/questions/626898/how-do-i-create-delegates-in-objective-c

assign it as the window's delegate MyClass myDelegate MyClass alloc init window setDelegate myDelegate On the NSWindow side it probably has code similar to this to see if the delegate responds to the windowDidMove message using respondsToSelector..

Xcode 4 - “Valid signing identity not found” error on provisioning profiles on a new Macintosh install

http://stackoverflow.com/questions/6769345/xcode-4-valid-signing-identity-not-found-error-on-provisioning-profiles-on-a

LIBRARY which may be under the heading library or under a heading called TEAMS. Choose Export near the bottom left side of the window. Xcode asks you to choose a file name and password. On your new machine launch Xcode and import the profile..

performSelector may cause a leak because its selector is unknown

http://stackoverflow.com/questions/7017281/performselector-may-cause-a-leak-because-its-selector-is-unknown

self and _cmd of every Objective C method call . This is handled in the third line the void on the right hand side simply tells the compiler that you know what you're doing and not to generate a warning since the pointer types don't match.. information from the header of the object type you're working with. 2 There are really only 4 things that ARC would consider for the return value 3 Ignore non object types void int etc Retain object value then release when it is no longer used.. void you could end up with a garbage pointer value being retained released and crash. Additional Arguments One consideration is that this is the same warning will occur with performSelector withObject and you could run into similar problems..

How can I upload a photo to a server with the iPhone?

http://stackoverflow.com/questions/125306/how-can-i-upload-a-photo-to-a-server-with-the-iphone

Initializer. Kicks off the upload. Note that upload will happen on a separate thread. Results An instance of Uploader. Side effects None id initWithURL NSURL aServerURL IN filePath NSString aFilePath IN delegate id aDelegate IN doneSelector.. aDoneSelector errorSelector anErrorSelector self upload return self Uploader dealloc Destructor. Results None Side effects None void dealloc serverURL release serverURL nil filePath release filePath nil delegate release delegate nil.. dealloc Uploader filePath Gets the path of the file this object is uploading. Results Path to the upload file. Side effects None NSString filePath return filePath @end Uploader @implementation EPUploader Private Uploader Private..

How to run iPhone program with Zombies instrument?

http://stackoverflow.com/questions/1417782/how-to-run-iphone-program-with-zombies-instrument

Application name and press Chose . Now you are all set. To launch you application press the Record button. A few Side Notes I used XCode 3.2.3 on Mac OS X 10.6.3 but I believe it works the same on previous versions. The Zombies instrument..

UIViewController - can't become first responder

http://stackoverflow.com/questions/1469876/uiviewcontroller-cant-become-first-responder

as long as no other objects in the chain implement the touches methods or at least keep forwarding them up the chain . Side note To build on the comments of others it really doesn't make sense for a UIVieController to be the first responder. The..

How much can SQLite store on the iPhone?

http://stackoverflow.com/questions/1752830/how-much-can-sqlite-store-on-the-iphone

can be stored in mobile Safari's SQLite db. I tried searching through the Apple docs but found nothing Safari Client Side Storage and Offline Applications Programming Guide Using the JavaScript Database iphone sqlite safari share improve this..

NSDateFormater dateFromString:

http://stackoverflow.com/questions/4647029/nsdateformater-datefromstring

resetting the dateFormat and then writing if you want. I just laid it out like this so it's easy to see the process. Side note I'm always forgetting to release NSDateFormatters. Clang and Instruments are always catching me leaking them. I guess.. it feels like they're done. They're not though So be smarter than me and remember to NARC on your memory management Side note 2 Don't ignore compiler warnings. Your compiler is warning you about the invalid assignment you're doing and you're..

uploading photo through programing in objective-c [duplicate]

http://stackoverflow.com/questions/5801049/uploading-photo-through-programing-in-objective-c

Initializer. Kicks off the upload. Note that upload will happen on a separate thread. Results An instance of Uploader. Side effects None id initWithURL NSURL aServerURL IN filePath NSString aFilePath IN delegate id aDelegate IN doneSelector.. aDoneSelector errorSelector anErrorSelector self upload return self Uploader dealloc Destructor. Results None Side effects None void dealloc serverURL release serverURL nil filePath release filePath nil delegate release delegate nil.. dealloc Uploader filePath Gets the path of the file this object is uploading. Results Path to the upload file. Side effects None NSString filePath return filePath @end Uploader @implementation EPUploader Private Uploader Private..

Wifi Device to Device Communication problem

http://stackoverflow.com/questions/7431908/wifi-device-to-device-communication-problem

after speech recognition. Convert the input string as a uint_8 data type and send it to the receiver device. Receiver Side Working When a data came to receiver device the œTcpServerAcceptCallBack delegate will trigger implemented in TcpServer Class..

Iphone localStorage “QUOTA_EXCEEDED_ERR” issue

http://stackoverflow.com/questions/9077101/iphone-localstorage-quota-exceeded-err-issue

localStorage &ldquo QUOTA_EXCEEDED_ERR&rdquo issue I trying to use Client Side Storage available in HTML5 localStorage for Iphone Application and I'm completely aware of the QUOTA associated for localStorage..