Welcome To Snipplr


Everyone's Recent Snippets Tagged android



Based upon http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/
0 748 posted 13 years ago by withinmedianl
system apps privilege does not permit normal uninstall. File mgrs 'Astro' with root may be used in lieu of this . get the mount privs that u need then chmod dirs as needed and rm all the data ... rm the apk. check devices with a 'mount' prior the s...
0 579 posted 13 years ago by rowntreerob
0 549 posted 13 years ago by ubermind
You need to create a new package android.bluetooth in your project, and add the files: IBluetooth.aidl y IBluetoothCallback.aidl from the android source code
0 1546 posted 13 years ago by efor18
A RestClient class for calling webservice using both, get and post methods, and getting the response dropped into an String.
0 512 posted 13 years ago by luixal
If you declare "preferExternal", you request that your application be installed on the external storage, but the system does not guarantee that your application will be installed on the external storage. If the external storage is full, the system wi...
0 601 posted 13 years ago by ashsa
Adobe AIR offers an ability to save small snippets of data locally (eg. users' settings). Works also on Android. EncryptedLocalStore is stored encrypted using AES-CBC 128-bit method. It is not recommended to store more than 10 MB of data because of r...
0 597 posted 13 years ago by MaRmAR
0 724 posted 13 years ago by hongster
Code Snippet of showing dialog and toast in Android application.
0 512 posted 13 years ago by rso
To change your textview id android:id=”@+id/TextView” To change your textview text android:text=”This is my first textview sample application” To enable or disable textview android:enabled=”false” To change your textview width...
0 542 posted 13 years ago by hmvrulz
A favicon (short for favorites icon), also known as a shortcut icon, website icon, URL icon, or bookmark icon is a 16×16 or 32×32 pixel square icon associated with a particular website or webpage. The interesting bit here is the apple-touch-icon wh...
0 731 posted 13 years ago by cappellin
0 601 posted 13 years ago by noklpopl
to list available targets: android list targets
0 534 posted 13 years ago by bustanil
For your Air for Android application to properly close you need to define some handlers and respond to them.
0 1178 posted 13 years ago by sidneydekoning
0 591 posted 13 years ago by cautionsign
From http://snipplr.com/view/41051/jscrollpane-ipadiphoneipodios-scoll-support/ here the part of code to add in jScrollPane.js for android,iphone,ipod,ipad support. Add this after :if (isScrollable) { (around line 165)
3 791 posted 13 years ago by Xeldar
source: http://corlan.org/2010/08/30/about-air-android-permissions/
1 717 posted 13 years ago by BoNzO
Create a Home activity.
0 543 posted 13 years ago by funkypanda
0 525 posted 13 years ago by sospartan
Not is mine, I found it online, I just found it and modified it\r\n\r\nI do not remember where I took if anyone knows the original URL I will include it
2 688 posted 13 years ago by elalecs
Remove the title bar from the activity. (note : the title bar >< notification tray)
0 519 posted 13 years ago by funkypanda
0 421 posted 13 years ago by Kingcron
The Android ID (a unique 64-bit value) as a hex string. It is null on the emulator.
0 500 posted 13 years ago by Kingcron