Comment on page
In this tutorial, we will show how to use AppyBuilder that allows you to change the application package name for an app which contains multiple screens.
Scenario: You may have an app that was developed in MIT AI and published to Google Play Store. MIT AI uses package naming convention of appinventor.ai_YourEmail.YourAppName (where YourEmail is your google email e.g. jdoe01). You can easily import this app into AppyBuilder, but that will cause the package name to be changed to AppyBuilder default package name. For this reason, we can use feature below to use same package name that was used in MIT AI.
Process:In this tutorial we’ll create a simple app called testapp that will include 2 screens. We will change AppyBuilder default package name and will include a Button to switch from Screen1 to Screen2.
Image below shows how to change the default package name using ApplicationPackageproperty (only visible to Scrreen1 – will globally apply to entire app). For this exercise, let’s name our app testapp and attempt to change default package-name tocom.example.testapp as shown below. Also, let’s assume your email is [email protected]
Our simple app includes a button and clicking the button should start Screen2. The blocks to accomplish this is shown in image below. When opening another screen, we use the following convention:
- Replace “projectname” to the “name of the project”
- Replace “screenname” to “the screen you want to open“