AI Project Constructor features to be added

0 views
Skip to first unread message

Gareth Haylings

unread,
May 16, 2013, 7:23:05 AM5/16/13
to AI-Project-...@googlegroups.com

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:

  • Adding extra assets to a new project
  • Checking for duplicate assets
  • Replacing existing Assets with new ones
  • Assign a project icon

 

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. 

kc ochibili

unread,
May 23, 2013, 12:31:18 AM5/23/13
to AI-Project-...@googlegroups.com
i have one feature request: ability to add more functions to a block
e.g i can creat a block inside AI and then add a new function to it from inside your software(something i want the block to do that is not available in the blocks editor. like set an image as wall paper when button1 is clicked.

Gareth Haylings

unread,
May 23, 2013, 3:55:49 AM5/23/13
to AI-Project-...@googlegroups.com
Hi  


When you say "something i want the block to do that is not available in the blocks editor. like set an image as wall paper when button1 is clicked."

Do you mean the  background wallpaper of the phone or do you meen the screen1.backgroundimage?

If you are wanting to change the background  wallpaper of the phone I don't think I will be able to do this as I don't think this is possible to do in App Inventor currently.

Changing the screen1.backgroundimage  will be a feature of the software eventually along with creating custom programmable function as long as they are with in the limits of what can be done in app inventor currently.

If you can give me details of how to change the phone wallpaper I can look into it and see if it is possible to add to the software. Maybe it could be added in the Androidmanifest.xml file at build time of the APK? If that is the case I can add the feature to the AI Manifest editor (Click here for more details)

Please take into account I know nothing about Android programming other that using App Inventor and playing with the Androidmanifest.xml file.

kc ochibili

unread,
May 23, 2013, 10:19:16 AM5/23/13
to AI-Project-...@googlegroups.com
I mean the background wallpaper of the phone, 
here is the code from eclipse

// 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();

  }

 

 }});


 }

}



On Thursday, May 16, 2013 4:23:05 AM UTC-7, Gareth Haylings wrote:

Gareth Haylings

unread,
May 23, 2013, 11:39:35 AM5/23/13
to AI-Project-...@googlegroups.com
I wouldn't be able to add this into the software sorry as AI Project Construct is only meant to be use to speed up the creation of App Inventor project.

I don't think I can add this in the the AI Manifest Editor software. The only part that can be added to the AndroidManifest.xml file is 

<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.



michael kruis

unread,
Jun 18, 2013, 9:02:36 AM6/18/13
to AI-Project-...@googlegroups.com
Hi Gareth,
 Will Project constructor ever be a plug in for Ai or have a Similar UI like mobione, for the screen interface design mainly,
mobi-snip.PNG

Gareth Haylings

unread,
Jun 18, 2013, 9:17:44 AM6/18/13
to AI-Project-...@googlegroups.com
It would be nice to see the project constructor as part of the AI interface but it would mean totally rewriting the software in JAVA. I do hope that some day something like this is added to the AI interface. Unfortunately I am a open source developer so have no idea what will be added to app inventor in the future.
Reply all
Reply to author
Forward
0 new messages