Re: WYSIWYG Designer

2009-07-17 Thread Xavier Ducrohet

On Sat, Jul 11, 2009 at 3:23 AM, yves (yingmin)
yangyves.y...@soyatec.com wrote:
 AFAIK, It is not really a WYSIWYG Designer. It is a instant viewer.

It's not meant to be just an instant viewer. It's just that it's
mostly a work in progress that's been delayed due to other priorities.
I hope we can start working on it again soon.

At the moment you can drag and drop items from the palette into the
layout, but you cannot modify items with the mouse once they're
placed.
The items properties are editable through the Properties view of Eclipse.

Our biggest challenge was making sure the rendering was as close as
possible to Android, and able to render custom views (the editor uses
an subset of the Android framework running in Eclipse to do the
rendering).

Now, there is a lot of work left on the interactivity side of the editor.

Xav
-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
android-framework group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~--~~~~--~~--~--~---



Re: Emulator v1.5

2009-04-20 Thread Xavier Ducrohet

Just open a windows command prompt, and type set :)

thanks,
Xav

On Mon, Apr 20, 2009 at 2:12 PM, Noah noahcol...@gmail.com wrote:

 Sure. I'm new to Android development and have only gone through
 getting the emulator and Eclipse set up. If you can be more specific
 about what commands you would like me to run, I will post the results
 for you.

 Thanks

 On Apr 20, 2:04 pm, Xavier Ducrohet x...@android.com wrote:
 Hi Noah,

 can you send me the result of the set command in a command prompt.
 I'd like to see how the new path to your user directory is setup to
 figure out what is going wrong with emulator.

 thanks
 Xav



 On Sun, Apr 19, 2009 at 7:39 PM, Noah noahcol...@gmail.com wrote:

  Yes, I am running Vista x64. I have also manually moved directories
  like Documents, Music, etc from the C drive to D, in case it was
  picking up something there.

  Also, strangely enough, the emulator worked after copying the files to
  C but saved emulator-user.ini and other *.img files to the location on
  D.

  The locations are:
  C:\Users\Noah\.android\avd
  D:\Profile\.android\avd    (Profile being where I chose to move my
  documents)

  If you need more information, please let me know.

  Thanks

  On Apr 19, 5:57 pm, Xavier Ducrohet x...@android.com wrote:
  Hi Noah,

  It looks like the Java API used by the Android tool to return the home
  user folder properly found it in D:\...

  However, the C API used by the emulator seems to return the wrong one
  (using the default C:\User\XXX)

  We'll have to see if/how we can fix this. From the path you mention,
  I'm guessing you are running Vista?

  Were the AVD files properly located under home/.android/.avd/ at least?

  thanks
  Xav

  On Sun, Apr 19, 2009 at 11:14 AM, Noah noahcol...@gmail.com wrote:

   I am having the same issue. Running that command gave me the
   following:

   emulator: could not open .ini file: C:\Users\\.android/avd/
   TestAVD.ini: No such file or directory
   emulator: ERROR: unknown virtual device name: 'TestAVD'
   emulator: could not find virtual device named 'TestAVD'

   The android batch file created the AVD on D:. I copied the files to C:
   where it's expecting them and I guess I'll have to remember that when
   running commands. Should also probably be a bug to look into.

   The SDK in on D as is my Users directory.

   Thanks.

   On Apr 15, 2:44 am, Raphael r...@android.com wrote:
   Can you start the emulator with the following debug option?

   $ emulator -debug avd_config -avd android11

   That will show us the exact error.
   R.

   On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy 
   im.thatone...@gmail.com wrote:

I created an AVD Android11

If I run Android list avd it lists android11 as the first
available AndroidVirtualDevices.

If I run

Emulator -avd android11

it gives me an error:

emulator: ERRORunknowndevicename: 'android11'
emulator: could not find vritualdevicenamed 'android11'


do I need to move the .android/avd/ folder somewhere specific for the
emulator to see them?  Android sees it just not emulator.

  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
android-framework group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~--~~~~--~~--~--~---



Re: Emulator v1.5

2009-04-19 Thread Xavier Ducrohet

Hi Noah,

It looks like the Java API used by the Android tool to return the home
user folder properly found it in D:\...

However, the C API used by the emulator seems to return the wrong one
(using the default C:\User\XXX)

We'll have to see if/how we can fix this. From the path you mention,
I'm guessing you are running Vista?

Were the AVD files properly located under home/.android/.avd/ at least?

thanks
Xav

On Sun, Apr 19, 2009 at 11:14 AM, Noah noahcol...@gmail.com wrote:

 I am having the same issue. Running that command gave me the
 following:

 emulator: could not open .ini file: C:\Users\\.android/avd/
 TestAVD.ini: No such file or directory
 emulator: ERROR: unknown virtual device name: 'TestAVD'
 emulator: could not find virtual device named 'TestAVD'

 The android batch file created the AVD on D:. I copied the files to C:
 where it's expecting them and I guess I'll have to remember that when
 running commands. Should also probably be a bug to look into.

 The SDK in on D as is my Users directory.

 Thanks.

 On Apr 15, 2:44 am, Raphael r...@android.com wrote:
 Can you start the emulator with the following debug option?

 $ emulator -debug avd_config -avd android11

 That will show us the exact error.
 R.

 On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy im.thatone...@gmail.com 
 wrote:

  I created an AVD Android11

  If I run Android list avd it lists android11 as the first
  available AndroidVirtualDevices.

  If I run

  Emulator -avd android11

  it gives me an error:
  
  emulator: ERRORunknowndevicename: 'android11'
  emulator: could not find vritualdevicenamed 'android11'
  

  do I need to move the .android/avd/ folder somewhere specific for the
  emulator to see them?  Android sees it just not emulator.
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
android-framework group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~--~~~~--~~--~--~---



Re: SDK 1.5 not working with Eclipse plugin

2009-04-14 Thread Xavier Ducrohet

Hello,


Can you send me the log from your workspace?
It's located inside your workspace/.metadata/.log

thanks!
Xav

On Tue, Apr 14, 2009 at 8:22 PM, gf gfinds...@gmail.com wrote:

 I just tried the SDK 1.5 with its 0.9 Eclipse plugin on Windows Vista
 with 2GB memory.
 Eclipse 3.3 is a new installation, and the android app is built for
 1.1 SDK.
 However I could not run it, Eclipse error null in
 AndroidManifest.xml

 Anyone else run into the same problem?
 




-- 
Xavier Ducrohet
Android Engineer, Google.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
android-framework group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~--~~~~--~~--~--~---



Re: GUI screen builder for android apps

2009-02-10 Thread Xavier Ducrohet
There was no new plugin announcement with the new SDK.
ADT 0.8 is still the current official plugin.

On Tue, Feb 10, 2009 at 8:34 AM, Videoguy puri_mall...@yahoo.com wrote:


 Is it 1.1 release that was anounced yesterday or some other release
 that has drag-n-drop support?

 Thanks Xav

 -Vidguy
 



-- 
Xavier Ducrohet
Android Engineer, Google.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
android-framework group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~--~~~~--~~--~--~---



Re: GUI screen builder for android apps

2009-02-09 Thread Xavier Ducrohet
The next version of the plugin will have rudimentary drag'n'drop in the
preview tab.
(Note that you can already edit all the existing object properties through
the Eclipse property tab.)

The most complex work was to ensure that the rendering in Eclipse would the
same as on the device.
Now that this is mostly done, there is still have a lot of work to be done
to make a full featured layout editor, and while we do intend to keep
working on it, there are other higher priority items that will delay the GUI
builder.

That said, we will accept high quality patches that improve in the current
user experience of the editor (or any other tools).

Xav
-- 
Xavier Ducrohet
Android Engineer, Google.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
android-framework group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~--~~~~--~~--~--~---



Re: Extending Android SDK with 3rd party vendor add-ons

2009-02-09 Thread Xavier Ducrohet
This is very much a work in progress that is not ready to be used.
But to answer some of your questions:

- there will be a feature added to the build system to build your add-on.
It's just not there yet.
- to add your library to the device system image, please read:
http://groups.google.com/group/android-platform/browse_thread/thread/618971d3f7608f4c/c09b6000c94890cb

Xav

On Mon, Feb 9, 2009 at 1:56 PM, Josh Guilfoyle jast...@gmail.com wrote:


 I have noticed recent support coming into the master branch that seems
 to support vendor add-ons to extend the public API.  Is this support
 something we can start using today, and if so, how?

 I'd like to introduce a few extra classes to a vendor-specific SDK API
 and have supporting implementations running on the emulator but it's
 unclear exactly how to connect these mechanics in the current master
 branch.  For instance, how do I get my vendor-specific jar files added
 to the add-ons folder in the make sdk target?  And, how would I
 connect the source code into the existing build system such that the
 implementation makes its way to the system.img?  This is a long term
 goal and does not necessarily need to be backward compatible to the
 1.0 or 1.1 SDK releases.

 



-- 
Xavier Ducrohet
Android Engineer, Google.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
android-framework group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~--~~~~--~~--~--~---



Re: how to build and step through HelloAndroid in the debugger using the open source framework?

2009-01-05 Thread Xavier Ducrohet

Both Activity Creator and ADT are designed to work with an SDK.

You could build an SDK (make sdk) to create/build your project (using
Ant or ADT).

Then, when you connect your debugger to your running application, you
can configure it to go look for the source code both in your project
folder and in the android tree (I would start by pointing it at
frameworks/base/core/java/).

This will probably require to do a manual connection with DDMS
(instead of using the launch configuration from ADT).

Xav

On Mon, Jan 5, 2009 at 2:40 PM, Anil anil.r...@gmail.com wrote:

 I want to run HelloAndroid in the Eclipse debugger, stepping through
 the platform code to understand what happens under the covers.
 (I have downloaded and built the android source on ubuntu 8.10, built
 it, and done the eclipse setup steps at source.android.com).

 Some things are not clear to me.
 should one use the ADT plugin, or activitycreator.py?
 1) Can you install ADTplugin - what would you list as the SDK
 location, given the android source root?
 2) activitycreator.py does not exist in the source, only
 activitycreator script, which is in
 ~/mydroid/out/host/linux-x86/bin

 ---activitycreator
 TOOLS_DIR=`dirname $0`
 AC_JARFILE=$TOOLS_DIR/lib/activitycreator.jar

 java -Dcom.android.activitycreator.toolsdir=$TOOLS_DIR -cp $AC_JARFILE
 com.android.activitycreator.ActivityCreator $@
 

 However, the script assumes that activitycreator.jar is in the tools/
 lib dir which is false. It is in
 ~/mydroid/out/host/linux-x86/framework

 so running it gives a  java.lang.ClassNotFoundException:
 com.android.activitycreator.ActivityCreator

 modifying the script to read

 TOOLS_DIR=$HOME/mydroid/out/host/linux-x86/bin
 AC_JARFILE=$TOOLS_DIR/../framework/activitycreator.jar

 I now get this error:
 ERROR: Target platform templates directory does not exist.

 3) If you simply add the src dir as in Add Source in Adding apps to
 the build path (http://source.android.com/using-eclipse)
 then what about the resource files?

 4) Building: Does one run ant outside Eclipse, on the command line, to
 build HelloAndroid?
 5) Debugging/Stepping through HelloAndroid or any of the samples under
 ~mydroid/developent/: Clicking Debug on Android Source brings up a
 list of classes (perhaps it found main() in them), but not the
 samples.

 Any help appreciated.
 thanks,
 Anil


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
android-framework group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~--~~~~--~~--~--~---