app.nit: add metadata to http_request example for mobile versions
authorAlexis Laferrière <alexis.laf@xymus.net>
Thu, 23 Jun 2016 16:03:34 +0000 (12:03 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 27 Jun 2016 15:24:30 +0000 (11:24 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/app/examples/http_request_example.nit

index 65c3db8..a280da2 100644 (file)
 # limitations under the License.
 
 # Example for the `app::http_request` main service `AsyncHttpRequest`
-module http_request_example
+module http_request_example is
+       app_name "app.nit HTTP"
+       app_namespace "org.nitlanguage.http_example"
+       android_api_target 15
+end
 
 import app::ui
 import app::http_request
+import android::aware # for android_api_target
 
 # Simple asynchronous HTTP request to http://example.com/ displaying feedback to the window
 class MyHttpRequest