Below are a list of features that are current on the to do list for future software release of the AI Project Constructor
New Blocks support
As it stands the AI Project Constructor is fully compatible
with the current version of MIT App Inventor(Classic). MIT are work on a new
version of App Inventor (Code named New Blocks). You can use the AI Project
Constructor to create new project and import the project but as the structure of
the block editor (BLK) file has change the
block editor is empty . This is highest priority on my to do list and will be working on this next.
New Project Assets
Currently in the software all assets are merged into the new
project. There are a number of improvements and enhancement I would like to
make to this as follows:
AI Screen designer
One of the goals lower down on my priority list is to create a
screen design similar to the MIT app inventor screen designer. The reason I would like to do this is because in the current MIT App Inventor screen designer it can be awkward to move components in the screen layout for a project.
// Android manifest
// <uses-permission android:name="android.permission.SET_WALLPAPER"></uses-permission>
import java.io.IOException;
import android.app.Activity;
import android.app.WallpaperManager;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
public class AndroidWallpaper extends Activity {
Bitmap bitmap;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Button buttonSetWallpaper = (Button)findViewById(R.id.set);
ImageView imagePreview = (ImageView)findViewById(R.id.preview);
imagePreview.setImageResource(R.drawable.wallpaper);
buttonSetWallpaper.setOnClickListener(new Button.OnClickListener(){
@Override
public void onClick(View arg0) {
// TODO Auto-generated method stub
WallpaperManager myWallpaperManager
= WallpaperManager.getInstance(getApplicationContext());
try {
myWallpaperManager.setResource(R.drawable.wallpaper);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}});
}
}
<uses-permission android:name="android.permission.SET_WALLPAPER"></uses-permission>
The rest of the code is JAVA and needs to be added to the source code of the app. Unfortunately I have no really experience of JAVA or Eclipse so I'd have no idea where or what file this code would need to be add to.
If it was possible to change the Wallpaper in app inventor I could add the feature. You could try looking at the ActivityStarter component block in App Inventor to see if there is a way to change the Wallpaper using that.