1 ################################################################################# 2 # 3 # Code Snippets properties 4 # 5 ################################################################################# 6 7 pluginName=MOTODEV Studio for Android Code Snippets Plug-in 8 providerName= Motorola Mobility, Inc. 9 10 # ------------------------- 11 # System Services 12 # ------------------------- 13 14 category.service=System Services 15 category.service.description=Obtain handles for system-level services 16 17 snippet.service.systemService00=Activity Manager 18 snippet.service.systemService01=Alarm Manager 19 snippet.service.systemService02=Audio Manager 20 snippet.service.systemService03=Clipboard Manager 21 snippet.service.systemService04=Connectivity Manager 22 snippet.service.systemService05=Input Method Manager 23 snippet.service.systemService06=Keyguard Manager 24 snippet.service.systemService07=Layout Inflater Manager 25 snippet.service.systemService08=Location Manager 26 snippet.service.systemService09=Notification Manager 27 snippet.service.systemService10=Power Manager 28 snippet.service.systemService11=Search Manager 29 snippet.service.systemService12=Sensor Manager 30 snippet.service.systemService13=Telephony Manager 31 snippet.service.systemService14=Vibrator 32 snippet.service.systemService15=Wallpaper 33 snippet.service.systemService16=Wi-Fi Manager 34 snippet.service.systemService17=Window Manager 35 36 snippet.service.systemService00.description=Obtain a handle to the manager responsible for interacting with running activities 37 snippet.service.systemService01.description=Obtain a handle to the manager responsible for providing access to the system alarm services 38 snippet.service.systemService02.description=Obtain a handle to the manager responsible for handling volume, ringer modes, audio routing and so on 39 snippet.service.systemService03.description=Obtain a handle to the manager responsible for accessing and modifying the contents of the global clipboard 40 snippet.service.systemService04.description=Obtain a handle to the manager responsible for answering queries about the state of network connectivity 41 snippet.service.systemService05.description=Obtain a handle to the manager responsible for handling input methods 42 snippet.service.systemService06.description=Obtain a handle to the manager responsible for locking and unlocking the keyboard 43 snippet.service.systemService07.description=Obtain a handle to the manager responsible for instantiating layout XML files into their corresponding View objects 44 snippet.service.systemService08.description=Obtain a handle to the manager responsible for providing access to the system location services (geographical location) 45 snippet.service.systemService09.description=Obtain a handle to the manager responsible for informing the user about events that happen in the background 46 snippet.service.systemService10.description=Obtain a handle to the manager responsible for controlling power management, including "wake locks" 47 snippet.service.systemService11.description=Obtain a handle to the manager responsible for providing access to the system search services 48 snippet.service.systemService12.description=Obtain a handle to the manager responsible for accessing sensors, such as those that provide information about device orientation and inclination 49 snippet.service.systemService13.description=Obtain a handle to the manager responsible for accessing information about the telephony services on the device 50 snippet.service.systemService14.description=Obtain a handle to the manager responsible for interacting with the vibration hardware 51 snippet.service.systemService15.description=Obtain a handle to the manager responsible for accessing wallpapers 52 snippet.service.systemService16.description=Obtain a handle to the manager responsible for managing all aspects of Wi-Fi connectivity 53 snippet.service.systemService17.description=Obtain a handle to the manager responsible for granting apps access to the system window manager 54 55 56 # ------------------------- 57 # General 58 # ------------------------- 59 60 category.general=General 61 category.general.description=General snippets to use while building your application 62 63 snippet.general.sendSMS=Send an SMS 64 snippet.general.toast=Display a Toast 65 snippet.general.statusBar=Status Bar Notification 66 snippet.general.vibrateTime=Vibrate the phone for a given time 67 snippet.general.vibratePattern=Vibrate the phone following an on/off pattern 68 snippet.general.strictMode=Turn on Strict Mode 69 70 71 snippet.general.sendSMS.description=Construct and send an SMS message 72 snippet.general.toast.description=Display a "toast" message to the user 73 snippet.general.statusBar.description=Display a message in the status bar 74 snippet.general.vibrateTime.description=Trigger the vibration hardware for a limited time 75 snippet.general.vibratePattern.description=Trigger the vibration hardware to follow an on/off pattern 76 snippet.general.strictMode.description=Detect operations executed in the UI that are not recommended and bring them to the user's attention 77 78 79 # ------------------------- 80 # Preferences 81 # ------------------------- 82 83 category.preferences=Preferences 84 category.preferences.description=Snippets used to store and retrieve application preferences as key-value pairs. 85 86 snippet.preferences.loadSharedPreference=Retrieve shared preference - named preferences file 87 snippet.preferences.loadSharedPreference.description=Retrieve a preference value from a named preferences file. 88 89 snippet.preferences.loadSharedPreferenceFromPreferenceManager=Retrieve shared preference - single preference file 90 snippet.preferences.loadSharedPreferenceFromPreferenceManager.description=Retrieve a shared preference from Preference Manager 91 92 snippet.preferences.writeSharedPreference=Write shared preference - named preferences file 93 snippet.preferences.writeSharedPreference.description=Write a preference value to a named preferences file. 94 95 snippet.preferences.writeSharedPreferenceFromPreferenceManager=Write shared preference - single preference file 96 snippet.preferences.writeSharedPreferenceFromPreferenceManager.description=Write a preference value in the one preferences file used by your Activity. 97 98 # ------------------------- 99 # Database 100 # ------------------------- 101 102 category.database=Database 103 category.database.description=Database related snippets which use SQLite 104 105 snippet.database.createOrOpenDb=Database - Create/Open 106 snippet.database.deleteDb=Database - Delete 107 snippet.database.createTbl=Table - Create 108 snippet.database.deleteTbl=Table - Delete 109 snippet.database.insertEntry=Entry - Insert 110 snippet.database.updateEntry=Entry - Update 111 snippet.database.deleteEntry=Entry - Delete 112 snippet.database.runQuery=Run SQL Query 113 114 snippet.database.createOrOpenDb.description=Open or create a new SQLite database 115 snippet.database.deleteDb.description=Delete a SQLite database 116 snippet.database.createTbl.description=Create a new table within a database 117 snippet.database.deleteTbl.description=Delete a table from a database 118 snippet.database.insertEntry.description=Insert a table row 119 snippet.database.updateEntry.description=Update a table row 120 snippet.database.deleteEntry.description=Delete a table row 121 snippet.database.runQuery.description=Execute a SQL query 122 123 124 # ------------------------- 125 # Menus and Action Bar 126 # ------------------------- 127 128 category.menus=Menus and Action Bar 129 category.menus.description=Snippets for working with menu and action bar 130 131 snippet.menus.handleItems=Construct and handle an options menu 132 snippet.menus.disableItem=Disable a menu item 133 snippet.menus.subItem=Add a sub-menu 134 snippet.menus.declareMenuXML=XML menu definition 135 snippet.menus.inflateMenu=Inflate menu from XML 136 snippet.menus.showActionBar=Show action bar 137 snippet.menus.hideActionBar=Hide action bar 138 snippet.menus.manage.actionbar.label=Action bar - navigation tab mode 139 snippet.menus.toggle.actionbar.label=Toggle action bar visibility 140 141 snippet.menus.handleItems.description=Example of how to add items to an options menu and handle menu item selection. Add this to your activity. 142 snippet.menus.disableItem.description=Disable a menu item, making it unusable 143 snippet.menus.subItem.description=Add a sub-menu to a menu item 144 snippet.menus.declareMenuXML.description=A menu definition, in XML. Save this in res/menu/ and name it <nameYouWantToReferToThisMenu>.xml 145 snippet.menus.inflateMenu.description=Inflate an XML menu definition for use in an activity. 146 snippet.menus.showActionBar.description=Programmatically show the action bar 147 snippet.menus.hideActionBar.description=Programmatically hide the action bar 148 snippet.menus.manage.actionbar.description=Put the action bar in tab mode for navigation 149 snippet.menus.toggle.actionbar.description=Show the action bar if it is hidden, and hide it otherwise. 150 151 152 # ------------------------- 153 # Screen 154 # ------------------------- 155 156 category.screen=Screen 157 category.screen.description=Snippets related to screen properties 158 159 snippet.screen.fullscreen=Make an activity full-screen 160 snippet.screen.size=Get the screen size 161 snippet.screen.orientation=Get the screen orientation 162 163 snippet.screen.fullscreen.description=Expand the current activity so it fits the device's screen 164 snippet.screen.size.description=Retrieve the size of the device's screen 165 snippet.screen.orientation.description=Retrieve the current screen orientation 166 167 168 169 # ------------------------- 170 # Log 171 # ------------------------- 172 173 category.log=Log 174 category.log.description=Snippets for logging messages from an Android application 175 176 snippet.log.error=Log ERROR message 177 snippet.log.warning=Log WARNING message 178 snippet.log.info=Log INFO message 179 snippet.log.debug=Log DEBUG message 180 181 snippet.log.error.description=Log an ERROR message 182 snippet.log.warning.description=Log a WARNING message 183 snippet.log.info.description=Log an INFO message 184 snippet.log.debug.description=Log a DEBUG message 185 186 187 # ------------------------- 188 # GPS 189 # ------------------------- 190 191 category.gps=GPS 192 category.gps.description=Snippets related to GPS location and status 193 194 snippet.gps.currentCoordinates=Get current GPS coordinates 195 snippet.gps.lastCoordinates=Get last known GPS coordinates 196 snippet.gps.distance=Distance between GPS coordinates 197 snippet.gps.listenerChanges=Register for GPS status changes 198 snippet.gps.listenerProximity=Register for a proximity alert 199 200 snippet.gps.currentCoordinates.description=Get the current location of the device 201 snippet.gps.lastCoordinates.description=Get the last known location of the device 202 snippet.gps.distance.description=Calculate the distance between two locations 203 snippet.gps.listenerChanges.description=Register a listener for changes in GPS status 204 snippet.gps.listenerProximity.description=Register a listener to be notified when the device is near a given point 205 206 207 # ------------------------- 208 # Media 209 # ------------------------- 210 211 category.media=Media 212 category.media.description=Snippets to play/record media files 213 214 snippet.media.playAudioVideoRaw=Play audio or video from a file within the application 215 snippet.media.playAudioVideoFile=Play audio or video given a path to a file or a URL 216 snippet.media.startRecordingAudio=Start recording audio 217 snippet.media.stopRecording=Stop recording audio 218 219 snippet.media.playAudioVideoRaw.description=Play a media file that is located in a folder inside the application 220 snippet.media.playAudioVideoFile.description=Play a media file that is located in the local file system or on the Internet 221 snippet.media.startRecordingAudio.description=Record audio and save to a file 222 snippet.media.stopRecording.description=Stop the audio recording 223 224 225 # ------------------------- 226 # MOTOROLA API 227 # ------------------------- 228 229 category.motorolaapi=Motorola APIs 230 category.motorolaapi.description=Snippets for Motorola APIs 231 232 snippet.motorolaapi.ffcamera=Use Front-Facing Camera 233 snippet.motorolaapi.hdmi=Retrieve HDMI Status 234 235 snippet.motorolaapi.ffcamera.description=Example of how to obtain the camera object that represents the front-facing camera 236 snippet.motorolaapi.hdmi.description=Receive notification of HDMI status changes 237 238 239 # ------------------------- 240 # Resources and Assets 241 # ------------------------- 242 243 category.resources=Resources and Assets 244 category.resources.description=Snippets to access resources and assets 245 246 snippet.resources.listAssets=List your application's assets 247 snippet.resources.readFile=Open an asset as a byte stream 248 snippet.resources.readXmlFile=Open an asset for parsing as XML 249 250 snippet.resources.listAssets.description=Create a list of assets within your application's package 251 snippet.resources.readFile.description=Retrieve an InputStream for a named asset 252 snippet.resources.readXmlFile.description=Retrieve an XmlResourceParser for a compiled XML file 253 254 255 # ------------------------- 256 # Dialogs 257 # ------------------------- 258 259 category.dialogs=Dialogs 260 category.dialogs.description=Snippets to display dialogs 261 262 snippet.dialogs.alert=Alert Dialog 263 snippet.dialogs.progressDialog=Progress Dialog 264 snippet.dialogs.progressBar=Progress Bar Dialog 265 snippet.dialogs.datePicker=Date Picker Dialog 266 snippet.dialogs.timePicker=Time Picker Dialog 267 snippet.dialogs.custom=Custom Dialog 268 snippet.dialogs.customAlert=Custom Alert Dialog 269 270 snippet.dialogs.alert.description=Display a simple alert dialog with a Yes/No question 271 snippet.dialogs.progressDialog.description=Display a simple progress dialog 272 snippet.dialogs.progressBar.description=Display a progress bar 273 snippet.dialogs.datePicker.description=Construct and display a dialog that allows the user to select a date 274 snippet.dialogs.timePicker.description=Construct and display a dialog that allows the user to select a time 275 snippet.dialogs.custom.description=Display a dialog with custom content. This dialog must have a title. 276 snippet.dialogs.customAlert.description=Display an alert dialog with custom content. This dialog doesn't have to have a title. 277 278 279 # ------------------------- 280 # Web and WebServices 281 282 # ------------------------- 283 284 category.web=Web and Web Services 285 286 category.web.description=Samples of how to access web servers from your Android applications 287 288 289 290 snippet.web.post=Executing a POST request 291 292 snippet.web.get=Executing a GET request 293 294 snippet.web.json=Retrieve JSON from a server response 295 296 snippet.web.rest=Query for a REST response 297 298 snippet.web.email=Send an email 299 300 snippet.web.urlconnection=Retrieve data from a URL 301 302 snippet.web.soap= SOAP example 303 304 305 306 snippet.web.post.description=Executes a post request using the Apache HTTPClient 307 308 snippet.web.get.description=Executes a GET request using the Apache HTTPClient 309 310 snippet.web.json.description=Retrieve JSON objects from a RESTful web server response. See the "Query for a REST response" snippet to get the response. 311 312 snippet.web.email.description=Send an email message where the subject, body, and destination are all text strings 313 314 snippet.web.urlconnection.description=Open a connection to a given URL and get the response as a String 315 316 snippet.web.soap.description=Example of accessing and parsing SOAP from a web server using the KSoap project 317 snippet.web.rest.description=Query for a REST response from a web server using a GET request 318 319 320 321 322 323 # ------------------------- 324 325 # Sensors 326 327 # ------------------------- 328 329 category.sensors=Sensors 330 331 category.sensors.description=Use of sensors, such as accelerometer 332 333 334 335 snnipet.sensor.detect=Detect a sensor 336 337 snnipet.sensor.getorientation=Read data from a sensor 338 339 340 341 snnipet.sensor.detect.description=Determine if your device supports a particular sensor 342 343 snnipet.sensor.getorientation.description=Read data from an orientation sensor 344 345 346 347 348 349 # ------------------------- 350 351 # SQL 352 353 # ------------------------- 354 355 category.sql=SQL 356 357 category.sql.description=Some SQL samples that you can use to mount your queries 358 359 360 361 snippet.sql.update=Update a table 362 363 snippet.sql.inner=Inner join example 364 365 snippet.sql.left=Left join example 366 367 snippet.sql.count=Count example 368 369 snippet.sql.insert=Insert example 370 371 snippet.sql.createfromtable=Create a table with data from another table 372 373 snippet.sql.drop=Delete (drop) a table 374 375 snippet.sql.delete=Delete rows 376 377 snippet.sql.create=Create table 378 379 380 381 snippet.sql.update.description=SQL query for updating a table 382 383 snippet.sql.inner.description=SQL query for selecting all students from a table students that are also present in the table math_class 384 385 snippet.sql.left.description=SQL query for selecting all students from a table students that has grade bigger than 5 in the table math_class 386 387 snippet.sql.count.description=How many different cities do our students come from? 388 389 snippet.sql.insert.description=Insert a David Bowie album into a database table 390 391 snippet.sql.createfromtable.description=Creates a table composed of rock songs from the "songs" table 392 393 snippet.sql.drop.description=Deletes a named table 394 395 snippet.sql.delete.description=Deletes from a table all songs that have a rating less than 5 396 397 snippet.sql.create.description=Creates a table to store songs 398 399 400 401 402 403 # ------------------------- 404 405 # Bluetooth 406 407 # ------------------------- 408 409 category.bluetooth=Bluetooth 410 411 category.bluetooth.description=Snippets to access and use the device bluetooth 412 413 414 415 snippet.bluetooth.check=Verify that Bluetooth is supported 416 417 snippet.bluetooth.enable=Enable Bluetooth 418 419 snippet.bluetooth.discoverable=Ensure that this device is discoverable 420 421 snippet.bluetooth.getpaired=Get paired devices 422 423 snippet.bluetooth.discover=Register for remote device discovery 424 425 snippet.bluetooth.incoming=Wait for incoming connections 426 427 snippet.bluetooth.connect=Connect to a device 428 429 430 431 snippet.bluetooth.check.description=Verify that the device supports Bluetooth by trying to get the Bluetooth adapter 432 433 snippet.bluetooth.enable.description=If Bluetooth is supported, enables it such that you receive a callback when it is enabled 434 435 snippet.bluetooth.getpaired.description=Gets the set of devices paired with this one 436 437 snippet.bluetooth.discover.description=Registers intents for remote device discovery. Also includes a BroadcastReceiver that is notified as each device is found and when the discovery process completes. 438 snippet.bluetooth.discoverable.description=If this device is not discoverable, make it so 439 440 snippet.bluetooth.incoming.description=Code (likely to run on a thread) that creates a listening, secure RFCOMM Bluetooth socket, retrieves incoming connections, and opens input and output streams connected to the socket. 441 442 snippet.bluetooth.connect.description=Connect to a device 443 444 445 446 # ------------------------- 447 448 # Localization 449 # ------------------------- 450 451 category.localization=Localization 452 category.localization.description=Snippets to work with localized resources 453 454 snippet.localization.string=Get localized string 455 snippet.localization.drawable=Get localized drawable 456 snippet.localization.curLocale=Get current locale 457 snippet.localization.resLocale=Get resource locale 458 snippet.localization.dynamicMsg=Create formatted message 459 460 snippet.localization.string.description=Get a localized string resource 461 snippet.localization.drawable.description=Get a localized drawable resource 462 snippet.localization.curLocale.description=Get the current locale from Java 463 snippet.localization.resLocale.description=Get the current locale for your application's package 464 snippet.localization.dynamicMsg.description=Create a formatted message containing the full language name in the default locale 465 466 # ------------------------- 467 # General UI 468 # ------------------------- 469 category.ui=General UI Utilities 470 category.ui.description=Code for handling UIs in an efficient way 471 472 snippet.ui.gestures.string=Pixel density independent touch gestures 473 snippet.ui.sizes.string=Adjust widget size 474 snippet.ui.background.string=Scale bitmap to view size 475 snippet.ui.widget.string=Respond to widget interaction 476 snippet.ui.moveout.string=Move code out of UI thread 477 snippet.ui.backgroundtaskwithnotification.string=Background task with status bar notification 478 snippet.ui.hide.statusbar.label=Hide status bar - lights off mode 479 snippet.ui.visible.statusbar.label=Make status bar visible 480 481 snippet.ui.gestures.description=Make your touch gestures work the same way, independent of the device pixel density. 482 snippet.ui.sizes.description=Adjust the size of a widget (a button, in this example) when the enclosing view changes its size. 483 snippet.ui.background.description=Resize a bitmap to the size of a view. Useful for creating background images. 484 snippet.ui.widget.description=Handle user interaction with a widget (a button, in this example). 485 snippet.ui.moveout.description=Use AsyncTask to perform background operations, thus avoiding UI freezes and improving application responsiveness. This helps with Honeycomb (Android 3.0), which enforces the rule "don't do network access in the UI thread" (throws exception). 486 snippet.ui.backgroundtaskwithnotification.description=Use AsyncTask to perform a background operation while the user is notified via the status bar. 487 snippet.ui.hide.statusbar.description=Hides status bar 488 snippet.ui.visible.statusbar.description=Shows status bar (if it was hidden) 489 490 # ------------------------- 491 # Android Intents for basic building blocks 492 # ------------------------- 493 intents.ui=Android Intents 494 intents.ui.description=Intent templates to call Activities, Broadcast Receivers, and Services 495 496 intents.start.activity.explicitly.label=Start Activity explicitly 497 intents.start.activity.explicitly.description=Starts Activity by calling the class (not using id) 498 499 intents.start.activity.implicitly.label=Start Activity implicitly 500 intents.start.activity.implicitly.description=Starts Activity by using the id, action and category 501 502 intents.start.activity.for.result.label=Start Activity for result 503 intents.start.activity.for.result.description=Starts Activity and waits for a result 504 505 intents.send.broadcast.label=Send Broadcast 506 intents.send.broadcast.description=Sends message for broadcast receivers 507 508 intents.start.service.label=Start Service 509 intents.start.service.description=Binds and starts service 510 511 # ------------------------- 512 # Fragment snippets 513 # ------------------------- 514 515 fragments.ui=Fragment 516 fragments.ui.description=Code to manipulate fragments 517 518 fragments.replace.transaction.label=Fragment - Replace transaction 519 fragments.replace.transaction.description=Replace one fragment by a new one using a animation 520 521 fragments.add.transaction.label=Add Fragment programmatically 522 fragments.add.transaction.description=Adds one fragment programmatically 523 524 # ------------------------- 525 # Face recognition 526 # ------------------------- 527 category.facerecog=Face recognition 528 category.facerecog.description=Basic code for finding faces in a Bitmap 529 530 snippet.facerecog.string=Find faces 531 532 snippet.facerecog.description=Find faces in Bitmap and how much confidence can you take on them. 533