Welcome To Snipplr


Everyone's Recent Snippets Tagged android



Based upon http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/
0 1983 posted 15 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 1795 posted 15 years ago by rowntreerob
0 1482 posted 15 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 2930 posted 15 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 1465 posted 15 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 1677 posted 15 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 1766 posted 15 years ago by MaRmAR
0 2952 posted 15 years ago by hongster
Code Snippet of showing dialog and toast in Android application.
0 1517 posted 15 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 1570 posted 15 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 1902 posted 15 years ago by cappellin
0 1707 posted 15 years ago by noklpopl
to list available targets: android list targets
0 1506 posted 15 years ago by bustanil
For your Air for Android application to properly close you need to define some handlers and respond to them.
0 2385 posted 15 years ago by sidneydekoning
0 1643 posted 15 years ago by phantomas
0 1686 posted 15 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 1984 posted 15 years ago by Xeldar
source: http://corlan.org/2010/08/30/about-air-android-permissions/
1 4253 posted 15 years ago by BoNzO
Create a Home activity.
0 1682 posted 15 years ago by funkypanda
0 1698 posted 15 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 2006 posted 15 years ago by elalecs
Remove the title bar from the activity. (note : the title bar >< notification tray)
0 1483 posted 15 years ago by funkypanda
0 1283 posted 16 years ago by Kingcron
The Android ID (a unique 64-bit value) as a hex string. It is null on the emulator.
0 1465 posted 16 years ago by Kingcron