android create avd - usage in ant

by Raja Nagendra Kumar » Tue, 12 May 2009 00:15:29 GMT


Sponsored Links
 Hi,

Is there a way to create avd profile using ant. The create avd is
using java which inturn expects a user input to customize or no.
SDK 1.1 was using mostly ant tags to automate the build however in
1.5r1 we see Java Class doing lot of things internally.

is there any work around to this.. basically we are looking to create
a default profile using exec and it should assume that users answer is
no or what ever is the default value.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--~--~---------~--~----~------------~-------~--~----~



android create avd - usage in ant

by hina naz » Tue, 12 May 2009 01:37:18 GMT


 *Please visit my site and earn money*

* http://latesttechnologyinfo.com/ *

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Where to register the CPM Plug-in .

Hi All,

I am trying to use the CPM kmj_OMA1 plugin for my developement, but i
could not able to find the proper location for registering the CPM
Plug-ins . I hope people were already done some work on this .

As of now i registerd my CPM Plug-in in cpm.cpp, in the function of
ThreadLogon().

Registering the Plug-in inside of ThreadLogon()...

                  PVMFOma1KmjPluginFactory* iPluginFactory;
                   OSCL_HeapString<OsclMemAllocator> iPluginMimeType;
                  PVMFCPMPluginFactoryRegistryClient
iPluginRegistryClient;
                   //Connect to plugin registry
                    PVMFStatus status = iPluginRegistryClient.Connect
();
                    if(status != PVMFSuccess)
                    {
                         LOGE("Connecting to the
PVMFCPMPluginFactoryRegistryClient failed");
                    }
                    iPluginFactory = new PVMFOma1KmjPluginFactory();
                   //Register kmj plugin factory.
                    iPluginMimeType = PVMF_CPM_MIME_KMJ_OMA1;
                    if(iPluginRegistryClient.RegisterPlugin
(iPluginMimeType,*iPluginFactory) != PVMFSuccess)
                    {
                       LOGE("failed in  registering the factory");
                    }

        LOGE("registering the factory");
                iPluginRegistry = PopulateCPMPluginRegistry();


Please Let me know the place where i suppose to register  my cpm plug-
in in OpenCore Architecture.

Regards,
Raghu.M

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Using layout-include together with l10n

Hi,

I have a complex dialog-layout that has to be customized for small
screens to decrease its height on such devices. This can easily be
achieved by decreasing the height of several single Buttons and
Textfields in the layout, each by a small amount.

Of course much of the layout still stays the same, so I figured I
could use the <include/>-tag. This was the idea:

/res/layout/dialog_layout.xml                        ==> includes
"@layout/include_button_layout"
/res/layout/include_button_layout.xml
/res/layout-small/include_button_layout.xml

I figured that android would choose which button-layout to include at
runtime. I couldn't get it to run, so I guess I was wrong. Could
anyone confirm that this is not how it works?

And if so, can anyone confirm whether this is the way to do it?

/res/layout/dialog_layout.xml
    ==> includes "@layout/include_above_buttons"
    ==> includes "@layout/include_button_layout_default"
    ==> includes "@layout/include_below_buttons"

/res/layout/include_above_buttons.xml
/res/layout/include_below_buttons.xml
/res/layout/include_button_layout_default.xml
/res/layout/include_button_layout_small.xml

/res/layout-small/dialog_layout.xml
    ==> includes "@layout/include_above_buttons"
    ==> includes "@layout/include_button_layout_small"
    ==> includes "@layout/include_below_buttons"

Thanks           Ralf

-- 

3. Typo in android developer resource site. 2

4. Handling Exception in a MediaFile app

5. image problem in Database

6. Mediastore Thumbnails not generated until Gallery app is launched ?

7. Upgrade official Magic