New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
PMDColeslaw
Old
#1  
PMDColeslaw's Avatar
Senior Member - OP
Thanks Meter 74
Posts: 1,277
Join Date: Dec 2008
Location: Memphis

 
DONATE TO ME
Default [Q] Visusal Kitchen for Android?

Just curious, but does anyone know if there's an android kitchen in the works that will be more like the EvirisVisual Kitchen for WM? I, as well as several others I'm sure, would have a little less of a learning curve if there was an android kitchen that was set up the same way as the WM kitchens. Just a thought... What does everyone else think?
 
dsixda
Old
#2  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator
Thanks Meter 3783
Posts: 9,560
Join Date: Nov 2007
Location: Ottawa

 
DONATE TO ME
Quote:
Originally Posted by PMDColeslaw View Post
Just curious, but does anyone know if there's an android kitchen in the works that will be more like the EvirisVisual Kitchen for WM? I, as well as several others I'm sure, would have a little less of a learning curve if there was an android kitchen that was set up the same way as the WM kitchens. Just a thought... What does everyone else think?
What is there to learn though? I thought Visual Kitchen involved a learning curve.

The Bepe Platform Rebuilder (which the VK was based off of) was command-line driven and simple.
 
PMDColeslaw
Old
(Last edited by PMDColeslaw; 21st August 2010 at 08:55 PM.)
#3  
PMDColeslaw's Avatar
Senior Member - OP
Thanks Meter 74
Posts: 1,277
Join Date: Dec 2008
Location: Memphis

 
DONATE TO ME
Quote:
Originally Posted by dsixda View Post
What is there to learn though? I thought Visual Kitchen involved a learning curve.

The Bepe Platform Rebuilder (which the VK was based off of) was command-line driven and simple.
True, but what I liked about the VK was that it ran the command line stuff in the background based on options the user set on the front end UI. It was a big help to those who aren't code/script guru's by letting us set up our roms in a visual UI.

EDIT:Your Kitchen is pretty user friendly BTW. I just miss the point and click UI and not having to edit so many xml files.
 
dsixda
Old
#4  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator
Thanks Meter 3783
Posts: 9,560
Join Date: Nov 2007
Location: Ottawa

 
DONATE TO ME
Quote:
Originally Posted by PMDColeslaw View Post
True, but what I liked about the VK was that it ran the command line stuff in the background based on options the user set on the front end UI. It was a big help to those who aren't code/script guru's by letting us set up our roms in a visual UI.

EDIT:Your Kitchen is pretty user friendly BTW. I just miss the point and click UI and not having to edit so many xml files.
I'm pretty sure a nice UI-based kitchen can be done in Windows, except the person who does it will soon realize there will be platform incompatibilities over Windows XP/7 and 32-bit and 64-bit.. but those can be fixed easily if they include all possible working binaries for all the platforms.
 
fonix232
Old
#5  
fonix232's Avatar
Senior Member
Thanks Meter 266
Posts: 638
Join Date: Jun 2009
Location: Aalborg

 
DONATE TO ME
Quote:
Originally Posted by dsixda View Post
I'm pretty sure a nice UI-based kitchen can be done in Windows, except the person who does it will soon realize there will be platform incompatibilities over Windows XP/7 and 32-bit and 64-bit.. but those can be fixed easily if they include all possible working binaries for all the platforms.

Not necessarily. If the UI is coded in a multi-platform language (Qt, C#-Mono, Python, even PHP) then it is possible to port to any platform. Also, if all the command line stuff from the BAT files are placed into the UI too, then only one executable (with the resources of course) and it is done.
If you like my work, invite me for a drink or two!

Devices:
  • ZTE Blade [TFT, 512MB RAM], ICS Custom
  • Alcatel One Touch 995 [Black] with GB stock ROM
  • Cube U30GT (Black, 16GB, W) Customized Evolution
  • Motion M1400 (512MB RAM, ViewAnywhere screen) Windows 7, what else?
  • (not yet here) Motion LE1700 (2GB RAM, 80GB HDD (to be swapped to SSD))
 
PMDColeslaw
Old
#6  
PMDColeslaw's Avatar
Senior Member - OP
Thanks Meter 74
Posts: 1,277
Join Date: Dec 2008
Location: Memphis

 
DONATE TO ME
Quote:
Originally Posted by dsixda View Post
I'm pretty sure a nice UI-based kitchen can be done in Windows, except the person who does it will soon realize there will be platform incompatibilities over Windows XP/7 and 32-bit and 64-bit.. but those can be fixed easily if they include all possible working binaries for all the platforms.
Quote:
Originally Posted by fonix232 View Post
Not necessarily. If the UI is coded in a multi-platform language (Qt, C#-Mono, Python, even PHP) then it is possible to port to any platform. Also, if all the command line stuff from the BAT files are placed into the UI too, then only one executable (with the resources of course) and it is done.
I would very much like that if someone could do it. I know a lot of people have Linux running on a virtual machine or whatever but I actually like Windows 7. Maybe its laziness but I'd really like to not have to learn an entirely new OS before I can continue building my own ROMs. Again just my opinion. I noticed Fresh's kitchen appears to have a nice UI but it's still not released and I have no idea if it will be completely Windows ran or not.
 
dsixda
Old
#7  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator
Thanks Meter 3783
Posts: 9,560
Join Date: Nov 2007
Location: Ottawa

 
DONATE TO ME
Quote:
Originally Posted by PMDColeslaw View Post
I would very much like that if someone could do it. I know a lot of people have Linux running on a virtual machine or whatever but I actually like Windows 7. Maybe its laziness but I'd really like to not have to learn an entirely new OS before I can continue building my own ROMs. Again just my opinion. I noticed Fresh's kitchen appears to have a nice UI but it's still not released and I have no idea if it will be completely Windows ran or not.
You don't need a virtual machine, just use Cygwin in Windows
 
dsixda
Old
#8  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator
Thanks Meter 3783
Posts: 9,560
Join Date: Nov 2007
Location: Ottawa

 
DONATE TO ME
Quote:
Originally Posted by fonix232 View Post
Not necessarily. If the UI is coded in a multi-platform language (Qt, C#-Mono, Python, even PHP) then it is possible to port to any platform. Also, if all the command line stuff from the BAT files are placed into the UI too, then only one executable (with the resources of course) and it is done.
The problem is, there are certain functions that cannot be handled with one language alone. So, we can have a GUI-based application, like one using Tk on top of TCL (just an example!), but we'd still need to run it from Cygwin/Linux etc. so that other commands like perl, sed, od etc. will be able to work. Or maybe there is a better solution that I am not aware of.
 
gnarlyc
Old
#9  
gnarlyc's Avatar
Recognized Developer
Thanks Meter 52
Posts: 441
Join Date: Feb 2010
Location: Raleigh, NC
Quote:
Originally Posted by dsixda View Post
The problem is, there are certain functions that cannot be handled with one language alone. So, we can have a GUI-based application, like one using Tk on top of TCL (just an example!), but we'd still need to run it from Cygwin/Linux etc. so that other commands like perl, sed, od etc. will be able to work. Or maybe there is a better solution that I am not aware of.
How about a Java front-end for the existing Kitchen? The thought has occurred to me, but my focus is already spread amongst several different projects.

Something like this code from jcase(?) might be a good start?
String txt = ((EditText) findViewById(R.id.txtCmd)).getText().toString(); // cmd line
boolean su = ((CheckBox) findViewById(R.id.asRoot)).isChecked(); // run as root
Process p;

try {
if (su) {
p = Runtime.getRuntime().exec("su");
(new DataOutputStream(p.getOutputStream())).writeBytes( txt + "; exit\n"); // you want the shell to terminate itself so you know the command has finished
} else
p = Runtime.getRuntime().exec(txt);
} catch (Exception e) {
e.printStackTrace();
return;
}

try {
StringBuilder sb = new StringBuilder();
InputStreamReader isr = new InputStreamReader(p.getInputStream());
int r;
while ((r = isr.read()) > 0)
sb.append((char) r); // you may want to use a buffer
msg = sb.toString();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
 
dsixda
Old
#10  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator
Thanks Meter 3783
Posts: 9,560
Join Date: Nov 2007
Location: Ottawa

 
DONATE TO ME
I haven't done Java development in 10 years But I'll definitely put this in my "TO DO" list for future work. Thanks



Quote:
Originally Posted by gnarlyc View Post
How about a Java front-end for the existing Kitchen? The thought has occurred to me, but my focus is already spread amongst several different projects.

Something like this code from jcase(?) might be a good start?
String txt = ((EditText) findViewById(R.id.txtCmd)).getText().toString(); // cmd line
boolean su = ((CheckBox) findViewById(R.id.asRoot)).isChecked(); // run as root
Process p;

try {
if (su) {
p = Runtime.getRuntime().exec("su");
(new DataOutputStream(p.getOutputStream())).writeBytes( txt + "; exit\n"); // you want the shell to terminate itself so you know the command has finished
} else
p = Runtime.getRuntime().exec(txt);
} catch (Exception e) {
e.printStackTrace();
return;
}

try {
StringBuilder sb = new StringBuilder();
InputStreamReader isr = new InputStreamReader(p.getInputStream());
int r;
while ((r = isr.read()) > 0)
sb.append((char) r); // you may want to use a buffer
msg = sb.toString();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}


XDA PORTAL POSTS

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more