[android-developers] How to compile android project at command line

2009-06-15 Thread Daniel Dreiberg
Hi,
I have an android project with source.  This is the project structure.
$ cd MyProject
$ ls
Android.mk res
AndroidManifest.xml src

How can I compile this build and build an apk thru command line?

Thank you.

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



[android-developers] Understanding MenuCallback code

2009-06-13 Thread Daniel Dreiberg
Hi,
I see this example of MenuCallback code, but i don't understand where is the
reference 'ImageManager.IImage image' comes from?
How is that image get created and passed it to MemuCallback?

  MenuItem item1 = menu.add(IMAGE_SAVING_ITEM, MENU_IMAGE_SHARE, 10,

R.string.camera_share).setOnMenuItemClickListener(

new MenuItem.OnMenuItemClickListener() {

public boolean onMenuItemClick(MenuItem item) {

onInvoke.run(new MenuCallback() {

public void run(Uri u, ImageManager.IImage image) {

  //

}

}

});



Thank you.

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



[android-developers] Email and IM application for android emulator

2009-06-11 Thread Daniel Dreiberg
Hi,
Can you please tell me how can I find Email and IM application for android
emulator?
There are Email and IM on G1, but I don't see that on the emulator.

I appreciate if anyone can help.

Thank you.

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



[android-developers] How is WebView implemented under the hood

2009-06-05 Thread Daniel Dreiberg
Hi,
I have a question about how is WebView implemented? Does each WebView spawn
an instance of WebKit engine?
what if I have multiple WebView, does each of them is 1 WebKit engine? or
each of them is a tab of a Webkit engine?

And when i delete my WebView, does it bring down the webkit engine?
And when I have 1 WebView and 1 Browser opened, does each of them have 1
webkit engine?

Thank you.

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



[android-developers] How to run DumpRenderTree in android

2009-05-27 Thread Daniel Dreiberg
Hi,

In android source, it has a test project DumpRenderTree
./frameworks/base/tests/DumpRenderTree/
Can you please tell me how to execute that?

Thank you.

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



[android-developers] Setup eclipse project for android source

2009-05-20 Thread Daniel Dreiberg
Hi,
I am following the following article to setup eclipse project for androi
source

http://source.android.com/using-eclipse

But what should I set my eclipse output folder for my project to be?  If I
just use the .classpath file as it is in the development/ide directory,
eclipse tries to compile the whole project everytime I  change 1 line in 1
file. I am not sure why this is happening?

Thank you for any tip.

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



[android-developers] How does Gallery layout the size of each item in the Gallery

2009-05-13 Thread Daniel Dreiberg
Hi,
I have created a gallery and an adaptor for it. The getView() of the adaptor
get called but the view for some reason takes up whole screen of the
emulator instead of taking the minimum size.  Can you please tell me why is
that? Did Gallery measure the minimum side of the view of each item?

Thank you.

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



[android-developers] How to run android widget example in emulator

2009-04-30 Thread Daniel Dreiberg
Hi,
Can you please tell me how can I deploy the widget example to my emulator?

http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html

Thank you.

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



[android-developers] Status bar in screen

2009-04-29 Thread Daniel Dreiberg
Hi,
How can I find out the height of the status bar programatically?
Thank you.

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