Need help for extension

Anyone please tell me how to create Event block in extension @jerinjacob sir please reply
for eg https://puravidaapps.com/images/extensions/pm/progress.JPG

1 Like

@SimpleEvent()
public void EventName(identifier value) {
EventDispatcher.dispatchEvent(this, “EventName”, value);
}

You can ask your doubts here
https://groups.google.com/forum/m/#!forum/app-inventor-open-source-dev

1 Like

please also give example with filling values

1 Like

You can find many example in appinventor source code, for eg: check button source code for event of when clicked.

1 Like

no sir the code you gave to me in thay please here tell me answer its emergency fast

1 Like

public void PositionChanged(int thumbPosition) {
EventDispatcher.dispatchEvent(this, “PositionChanged”, thumbPosition);
}

Will look like this
image

2 Likes

Sir actuall i dont want this
IMG_20180819_210922_563
in the event simple @jerinjacob reply

1 Like

Then remove it!

public void PositionChanged() {
EventDispatcher.dispatchEvent(this, “PositionChanged”);
}
1 Like

ok sir where i can learn extension developing more easily and fast

1 Like

Take a look at:
https://docs.makeroid.io/extensions/creating-extensions

1 Like

no i know basics but development or you can say programming of extension

1 Like

Well, that is literally the link to show you. I can’t tell you how to develop a specific extension. You are the one that thinks what he wants to make and how he wants to make it. Just learn how to make basic extensions, Java and Android development and then simply turn an idea into reality.

1 Like

that thing only i want to learn basic programming
but from where sir easily learning

1 Like

Take a look at https://sololearn.com/ they have a great Java course.

1 Like

Thank you so much sir

2 Likes

sir which language i have to select java or java script the site you provide

Java, not JavaScript. JavaScript is for making functionality on websites.

2 Likes

Sir actually this site is for test not the tutorial

Umm, you should look at the site as what you are saying is completely wrong. In SoloLearn, you can learn programming, you are probably looking to the wrong category.

1 Like