Manifest file

by senrooy » Thu, 17 Sep 2009 19:01:09 GMT


Sponsored Links
 Hi,

I am new to android. I am using SDK and eclipse with ADT plug-ins for
the first time. I want to know what is the significance of the
AndroidManifest.xml file which is created automatically when we create
an android project. Can we modify this file for any reason?

Thanks n regards,
senrooy
--~--~---------~--~----~------------~-------~--~----~



Manifest file

by Ajaz Ahmed » Thu, 17 Sep 2009 19:07:34 GMT


 Hi,

Yes we can modify, but i think its available to modify.
we can add activities references, user permissions,event receivers.
AndroidMasifest.xml file is same like struts.xml file in struts2.

Regards!
Imtiaz Ali Shah





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


Sponsored Links


Manifest file

by Mark Murphy » Thu, 17 Sep 2009 19:07:53 GMT


 


There is a Web page in the Android documentation that covers this:

 http://developer.android.com/guide/topics/manifest/manifest-intro.html 


You can modify it when you need to. If you are using Eclipse, it may
make some modifications for you, but other changes you may need to make
 yourself.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

_Android Programming Tutorials_ Version 1.0 In Print!

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



Manifest file

by senrooy » Thu, 17 Sep 2009 19:22:11 GMT


 In which cases I can modify this file? I have done some basic android
applications but I didn't modify this file and applications worked
fine. For what reason we should modify this file?





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



Manifest file

by Naveen Krishna Ch » Thu, 17 Sep 2009 19:25:47 GMT


 For the first time when we develop an activity, The eclipse automatically
adds it to
the AndroidManifest.xml. As we want to add more activities or any frame work
components.

We need to add the, we can add permissions, intent filter, etc. also

2009/9/17 senrooy <senjuti....@wipro.com>






-- 
Shine bright,
(: Naveen Krishna Ch :)

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



Other Threads

1. Updating From HTTP

Hey all, thanks for all your help so far!  I have the following
function running on a timer every 20 seconds or so.  However, every
time it runs, my user interface for this program (an EditText box and
a submit Button) freezes until the HttpPost is finished.  Is there a
way for me to run this function "in the background" or something so it
doesn't freeze the interface?  Is there a more efficient way to do
what I'm trying to do here?  The "chatscreen" variable is a TextView.
Thanks for your help!



         public void updateChat() {
                // get chat updates
                HttpClient updateclient = new DefaultHttpClient();
                HttpPost updatepost = new 
HttpPost("https://www.mysite.com/chat.php?
action=updatechat");
        ResponseHandler<String> responseHandler = new
BasicResponseHandler();
        String responseBody;
                try {
                        // send message
                        responseBody = updateclient.execute(updatepost, 
responseHandler);
                        if (responseBody != "")
                        {
                                chatscreen.append(responseBody);
                                chatview.fullScroll(View.FOCUS_DOWN);
                                mytext.setText("");
                                mytext.requestFocus();
                        }
                } catch (ClientProtocolException e) {
                        // error sending message
                        chatscreen.append("There was an error retrieving the 
message.\n");
                } catch (IOException e) {
                        // error sending message
                        chatscreen.append("There was an error retrieving the 
message.\n");
                }
        }

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

2. copy / paste programatically

Is there any way of copying and/or pasting programatically (instead of
the long click method)?
--~--~---------~--~----~------------~-------~--~----~

3. Use Bundle to Pass Bitmap

4. newb question about layout xml and view class

5. Going back to Activity Stack on App Restart

6. How can I set selection highlight in a ListActivity

7. newb layout problem