I don can make aix

(سوبر اسطوره) #1

This post was flagged by the community and is temporarily hidden.

(Yusuf Cihan) #2

Is it a question? Is it a example code? Is this giving a error when compiling? What is that?

(Souvik Bera) #3

What you want ?
Any way the code looks same as my tutorial. Did you got this code fro “The Developer 2.0” channel ?

1 Like
(سوبر اسطوره) #4

This does not work. Please help me

(سوبر اسطوره) #5

Did not give .Java

(Souvik Bera) #6

import com.google.appinventor.components.runtime.EventDispatcher;

(سوبر اسطوره) #7

donot work

(سوبر اسطوره) #8

i am work with ide kodular

(Souvik Bera) #9

can you paste your code again ? that I can see.

(سوبر اسطوره) #10

package io.makeroid.salem_m_s2030.salwem;

import com.google.appinventor.components.annotations.DesignerComponent;
import com.google.appinventor.components.annotations.DesignerProperty;
import com.google.appinventor.components.annotations.PropertyCategory;
import com.google.appinventor.components.annotations.SimpleEvent;
import com.google.appinventor.components.annotations.SimpleFunction;
import com.google.appinventor.components.annotations.SimpleObject;
import com.google.appinventor.components.annotations.SimpleProperty;
import com.google.appinventor.components.annotations.UsesPermissions;
import com.google.appinventor.components.common.ComponentCategory;
import com.google.appinventor.components.common.PropertyTypeConstants;
import com.google.appinventor.components.runtime.AndroidNonvisibleComponent;
import com.google.appinventor.components.runtime.ComponentContainer;
import com.google.appinventor.components.runtime.EventDispatcher؛

version = 1,
description = “Extension made with Kodular IDE”,
category = ComponentCategory.EXTENSION,
nonVisible = true,
iconName = “https://yt3.ggpht.com/-ovVu14FBTcI/AAAAAAAAAAI/AAAAAAAAAAA/UeaqjAjhwBI/s48-c-k-no-mo-rj-c0xffffff/photo.jpg”)

@SimpleObject(external = true)
public final class NewExtension extends AndroidNonvisibleComponent {

 * Creates a new component
private int num1,num2;

public NewExtension(ComponentContainer container) {
@SimpleFunction(description = "")
public void Getvalue(int number1,int number2){
    int res = num1+num2;
@SimpleEvent(description = "")
public void Gitvalue(int result){
(Souvik Bera) #11

what is this ???

I said EventDispatcher;

Its a semicolon

(سوبر اسطوره) #12

I will see

(سوبر اسطوره) #13


show this

(Souvik Bera) #14

put a } at the end of the code.

(سوبر اسطوره) #15

The same problem

(سوبر اسطوره) #16

I want to make any add on Event

And Function

(Souvik Bera) #17

what does it mean ??

(سوبر اسطوره) #18

I want to start learning how to make additions

(Souvik Bera) #19

You know java ?

(سوبر اسطوره) #20

A little bit