On Thursday, March 7, 2013 4:33:34 PM UTC-6, Lennart Bogaerts wrote:
I don't have an personal server to work on, I don't really have the time for it... :(
The Personal Server takes a few minutes to download from Sourceforge
around 24 seconds to unzip
and you have a Personal Server to work on!!!
well
assuming you have a Java JDK installed (if you have Eclipse, you probably do)
and set up JAVA_HOME correctly - there is a pointer to Oracle's documentation on how in the buildserver cmd file
But look at one of my tutorials on changing the theme:
App Inventor generates a manifest that usually has three activities. The listpicker is one of the three, that is why you can set a theme on it.
When you " android:theme="@android:style/Theme.Holo.Light" " it will change the screen into that theme. That works great!
I've used eclipse and I know these themes are in an .xml file in a seperate folder of the application.
That's why I think it would be hard. App Inventor does not use the .xml files. If it did, we could do a lot more, including changing the themes.
more below
When you open the Manifest with AppToMarket you search for the listpicker (when the picker was set to "dialog"), you will find this: " android:theme="@android:style/amerkashi" ". That and the looks would suggest it is an custom theme of Hosein. When you are in the AppToMarket folder go to temp_MyDecompiles, than go to res, than values and you will find an xml file named amerkashi.
I've already been going to all the files of AppToMarket to search where else it is defined, so maybe adjusting that would make custom themes avaible. But I couldn't find it. One thing is for sure, it's possible! Don't you think?
It's possible. I am very interested in talking more. However...
it would be nice if we could use res/values*
and...
If App Inventor used the xml files to layout views, we could do things like add AdMob with a few easy steps.
As the Android documentation says, you can declare a layout in two ways, declare UI elements in XML or instantiate layout elements at runtime.
App Inventor instantiates layout elements at runtime. There are good reasons for doing so, but it cuts down on what we can do.
Modifying App Inventor to make more use of the .xml files would give us great power, but with great power comes great responsibility and we know how that usually ends up ;-)