Any extensions and tools ideas please?

Hi everyone! Do you have any ideas for an extension and a very simple tool to ease your App Inventor project?

I ran out of ideas!!!

I will create it for you!

I am not good at grammar so you may find mistakes in the extensions

3 Likes

There are a lot of blocks waiting to be developed.

You can go through the Kodular documentation, and convert Kodular components into App Inventor extensions.

For example, we do not have this block.

image

You can try to bring them into App Inventor.

For reference, you can try Android Developers or Stack Overflow.

Good luck!

3 Likes

Hi @AyProductions .
you can make a camera extension that uses the camera without letting the user know it uses the camera.
(I want It for my Professor and he want it for a security app)

4 Likes

Yes I will try

btw, i am a stackoverflow member too!

2 Likes

An extension is possible so that when an SMS is received it does some action, how to open the app with a flag? Thanks

3 Likes

Welcome.
Ok @Asanabria Good idea I will also try that :wink:!

Thank you very much, this would be great, I will make it up to you!

1 Like

*Extension pour mise en forme de label avec prise en charge de toutes les balises HTML
*Extension de composants dynamiques, relative layout

2 Likes

An Extension to read a binary file.

Read from a selectable byte position with a selectable length.
Output should be a number (or list of numbers), not a string.

2 Likes

A TableView (by Ken Nichols) that supports:

  1. image insertions inside a cell.
    2, Ability to highlite a specific cell, row, column based on logic.
2 Likes

Hi @AyProductions... please create extension (tools) to determine that :

  • mocklocation is set enable/disable
  • automatic date time setting is set enable/disable

I have try to create but not succeed because I dont have java skill...

Thanks...:pray::pray::pray::pray:

1 Like

I am a little bit busy now so all extensions might not be made but I will try to make it :slightly_smiling_face:

1 Like

I need an extension that can intercept incoming USSD messages & then set a textbox text to the intercepted message.

1 Like

My quick aix
UssdRunner.aix (6.3 KB)

code :

package know.about.IT;

import android.app.Activity;

import android.content.Context;

import com.google.appinventor.components.annotations.*;

import com.google.appinventor.components.common.ComponentCategory;

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

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

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

import android.telephony.*;

import android.os.*;

import android.*;

@DesignerComponent(

        version = 1,

        description = "",

        category = ComponentCategory.EXTENSION,

        nonVisible = true,

        iconName = "")

@SimpleObject(external = true)

@UsesPermissions(permissionNames = "android.permission.CALL_PHONE")

public class UssdRunner extends AndroidNonvisibleComponent {

    private Context context;

    private Activity activity;

    public UssdRunner(ComponentContainer container){

        super(container.$form());

        this.activity = container.$context();

        this.context = container.$context();

    }

    @SimpleFunction

    public void RunUssd(String ussdCode){

        TelephonyManager manager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);

        manager.sendUssdRequest(ussdCode, new TelephonyManager.UssdResponseCallback() {

            @Override

            public void onReceiveUssdResponse(TelephonyManager telephonyManager, String request, CharSequence response) {

                ReceivedUssdResponse(request, response.toString().trim());

                       

            }

            @Override

            public void onReceiveUssdResponseFailed(TelephonyManager telephonyManager, String request, int failureCode) {

                ReceivedUssdResponseError(request, failureCode);

            }

        }, new Handler());

    }

    @SimpleEvent

    public void ReceivedUssdResponse(String request, String response){

        EventDispatcher.dispatchEvent(this, "ReceivedUssdResponse", request, response);

    }

    @SimpleEvent

    public void ReceivedUssdResponseError(String request, int failureCode){

        EventDispatcher.dispatchEvent(this, "ReceivedUssdResponseError", request, failureCode);

    }

}
4 Likes

already one

3 Likes

Hey but I was supposed to create the extension!

1 Like

Well @AyProductions , @Divanan just requested and any extension developer is free to make it. Its not that you own this topic and whoever wants a extension only you have allowance to make it anyone can make it if they are quick enough to do before you.

Hi @Aarush_Kumar. First of all, I cant see that he requested it in his/her reply!

That is why I told him that it's my job to create the extension for him

It is not open-source development in any way. I will not host any extensions source code.

I couldn't find the category of closed-source extension development so I chose that :wink:!

you can pm me to make extensions open-source!

AND I OWN THIS TOPIC!

1 Like

never said that i know you did not meant to make it open source i just said that if he made before than you cant tell him to remove it this topic is for anyone who need extensions can request it is not that only you can make it but anyone who can do before you can also post

2 Likes

Can we have a designer element that serves as a spacer. I always use label then delete the text and re size accordingly. Maybe bad practice on my part. But I can end up with many labels used as a gap in the design. Could have Hgap and Vgap with just size property.
Andy.

2 Likes