{"id":13744189,"url":"https://github.com/myflashlab/Spotlight-ANE","last_synced_at":"2025-05-09T02:32:51.874Z","repository":{"id":82895703,"uuid":"61980300","full_name":"myflashlab/Spotlight-ANE","owner":"myflashlab","description":"Spotlight ANE brings iOS 9 spotlight library to Adobe Air applications. With this ANE, you can index search items at runtime and even from user generated content.","archived":true,"fork":false,"pushed_at":"2020-09-15T10:43:42.000Z","size":4436,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-15T15:42:17.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myflashlab.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-26T08:28:16.000Z","updated_at":"2023-01-28T00:44:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3012df0-da53-4191-ac23-091336fff8ba","html_url":"https://github.com/myflashlab/Spotlight-ANE","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myflashlab%2FSpotlight-ANE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myflashlab%2FSpotlight-ANE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myflashlab%2FSpotlight-ANE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myflashlab%2FSpotlight-ANE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myflashlab","download_url":"https://codeload.github.com/myflashlab/Spotlight-ANE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253177859,"owners_count":21866409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:04.798Z","updated_at":"2025-05-09T02:32:51.316Z","avatar_url":"https://github.com/myflashlab.png","language":"ActionScript","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=payments@myflashlabs.com\u0026lc=US\u0026item_name=Donation+to+Spotlight+ANE\u0026no_note=0\u0026cn=\u0026currency_code=USD\u0026bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted"],"categories":["Native Extension","AIR Native Extensions"],"sub_categories":["Social ANE"],"readme":"# Spotlight ANE for iOS Adobe AIR apps #\nSpotlight ANE brings the spotlight library to Adobe AIR applications. With this ANE, you can index search items at runtime and even from user generated content.\n\n**Main Features:**\n1. Add search items to iOS spotlight indexing system\n1. group the search items for easier managing them\n1. delete all items or specefic groups\n1. Listeners to be invoked as soon as your app opens from Spotlight search results\n\n* [Click here for ASDOC](https://myflashlab.github.io/asdoc/com/myflashlab/air/extensions/spotlight/package-detail.html)\n* [See the ANE setup requirements](https://github.com/myflashlab/Spotlight-ANE/blob/master/src/ANE/extension.xml)\n\n**IMPORTANT:** Implementing ANEs in your AIR projects means you may be required to add some [dependencies](https://github.com/myflashlab/common-dependencies-ANE) or copy some frameworks or editing your app's manifest file. Our ANE setup instruction is designed in a human-readable format but you may still need to familiarize yourself with this format. [Read this post for more information](https://www.myflashlabs.com/understanding-ane-setup-instruction/)\n\nIf you think manually setting up ANEs in your projects is confusing or time-consuming, you better check the [ANELAB Software](https://github.com/myflashlab/ANE-LAB/).\n\n[![The ANE-LAB Software](https://www.myflashlabs.com/wp-content/uploads/2017/12/myflashlabs-ANE-LAB_features.jpg)](https://github.com/myflashlab/ANE-LAB/)\n\n# Tech Support #\nIf you need our professional support to help you with implementing and using the ANE in your project, you can join [MyFlashLabs Club](https://www.myflashlabs.com/product/myflashlabs-club-membership/) or buy a [premium support package](https://www.myflashlabs.com/product/myflashlabs-support/). Otherwise, you may create new issues at this repository and the community might help you.\n\n# Air Usage\n```actionscript\nimport com.myflashlab.air.extensions.spotlight.*\n\nvar _ex:Spotlight = new Spotlight();\n_ex.addEventListener(SpotlightEvents.INDEXING_SUCCESS, onIndexingSuccess);\n_ex.addEventListener(SpotlightEvents.INDEXING_FAILURE, onIndexingFailure);\n_ex.addEventListener(SpotlightEvents.DELETING_SUCCESS, onDeletingSuccess);\n_ex.addEventListener(SpotlightEvents.DELETING_FAILURE, onDeletingFailure);\n_ex.addEventListener(SpotlightEvents.SEARCH_SELECTED, onSearchSelected);\n\ntrace(\"isIndexingAvailable = \" + _ex.isIndexingAvailable);\n\n// add as many required items as required by your app\nvar att:AttributeSet = new AttributeSet(ContentType.kUTTypeItem, \"com.site.uniquIdentifier.1\", \"domain.identifier.1\");\natt.general.title = \"The title\";\natt.documents.contentDescription = \"The description\";\natt.general.keywords = [\"Adobe Air\", \"ANE\", \"MyFLashLabs\"];\natt.general.thumbnailURL = File.applicationDirectory.resolvePath(\"spotlightIcon.jpg\").nativePath;\n\n// you should index your search items like this:\n_ex.indexItems([att]);\n\nprivate function onIndexingSuccess(e:SpotlightEvents):void\n{\n\ttrace(\"on indexing completed successfully\");\n}\n\nprivate function onIndexingFailure(e:SpotlightEvents):void\n{\n\ttrace(\"on indexing failed! try again: \" + e.msg);\n}\n\nprivate function onDeletingSuccess(e:SpotlightEvents):void\n{\n\ttrace(\"on deleting success\");\n}\n\nprivate function onDeletingFailure(e:SpotlightEvents):void\n{\n\ttrace(\"on deleting failed: \" + e.msg);\n}\n\nprivate function onSearchSelected(e:SpotlightEvents):void\n{\n\t// when an item is touched in the spotlight search results, the unique identifier will be delivered here\n\t// so you will know which of your items has been selected and can take the user to a specefic page related\n\t// to what they have clicked.\n\ttrace(\"on search result touched: \" + e.msg);\n}\n```\n\nAre you using this ANE in your project? Maybe you'd like to buy us a beer :beer:?\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=payments@myflashlabs.com\u0026lc=US\u0026item_name=Donation+to+Spotlight+ANE\u0026no_note=0\u0026cn=\u0026currency_code=USD\u0026bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted)\n\nAdd your name to the below list? Donate anything more than $100 and it will be.\n\n## Sponsored by... ##\n\u003ctable align=\"left\"\u003e\n    \u003ctr\u003e\n        \u003ctd align=\"left\"\u003e\u003cimg src=\"https://via.placeholder.com/128?text=LOGO\" width=\"60\" height=\"60\"\u003e\u003c/td\u003e\n        \u003ctd align=\"left\"\u003e\u003ca href=\"#\"\u003eyour_website.com\u003c/a\u003e\u003cbr\u003eYour company motto can be here!\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyflashlab%2FSpotlight-ANE","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyflashlab%2FSpotlight-ANE","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyflashlab%2FSpotlight-ANE/lists"}