Welcome To Snipplr


Everyone's Recent Snippets Tagged android



Based upon http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/
0 741 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 570 posted 13 years ago by rowntreerob
0 543 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 1535 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 506 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 595 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 594 posted 13 years ago by MaRmAR
0 720 posted 13 years ago by hongster
Code Snippet of showing dialog and toast in Android application.
0 509 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 537 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 724 posted 13 years ago by cappellin
0 598 posted 13 years ago by noklpopl
to list available targets: android list targets
0 529 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 1168 posted 13 years ago by sidneydekoning
0 585 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 783 posted 13 years ago by Xeldar
source: http://corlan.org/2010/08/30/about-air-android-permissions/
1 711 posted 13 years ago by BoNzO
Create a Home activity.
0 538 posted 13 years ago by funkypanda
0 520 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 686 posted 13 years ago by elalecs
Remove the title bar from the activity. (note : the title bar >< notification tray)
0 514 posted 13 years ago by funkypanda
0 419 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 492 posted 13 years ago by Kingcron