GobhiVines
(Harsh Pratap Singh)
April 4, 2019, 9:02am
#1
i Use @UsesPermissions (“android.permission.INTERNET”) And Error Shown
Mika
April 4, 2019, 9:13am
#2
Please look at the app inventor sources.
There are many examples.
GobhiVines
(Harsh Pratap Singh)
April 4, 2019, 3:53pm
#5
can u give me i can’t found it
Taifun
April 4, 2019, 3:55pm
#6
2 Likes
Thg
(Kamikaz Studio)
April 4, 2019, 4:02pm
#7
First you have to have a basic notion of java.
It’s no use catching any snippet of android code
and paste it into Kodular Ide and try to generate an extension. (there will be errors)
read more documentation on how to create extension here:
App Inventor Extensions
Important note: read all link and sub link
Check the open source source of the inventor app
MIT App Inventor Sources
With trial and error you learn how to create your own extensions.
1 Like
Ken
(Ken)
April 4, 2019, 4:17pm
#8
FYI: There is no need to request android.permission.INTERNET
, it is already requested in Form.java:
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2016-2020 AppyBuilder.com, All Rights Reserved - [email protected]
// https://www.gnu.org/licenses/gpl-3.0.en.html
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.runtime;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.*;
import android.Manifest;
import android.app.ActionBar;
import android.content.pm.PackageInfo;
This file has been truncated. show original