[android-beginners] Re: Android in Eclipse - package name problem - please help

2009-09-16 Thread Mimi

Thank you so much for your response and info, Raphael.

How can I change the Navigotor view to Java namespaces?

Under the package explorer, View Menu/Package Presentation, I changed
the selection from flat to hierarchical and the reverse. It did not
have an impact on the presenation of com.mimi.App. It is still
hierarchical. Other projects in the same workspace all displayed
'flat' when it comes to com.mimi.App and were not affected by the
changtes of the selection either.

The parse error that I am having on my Manifest file is:

[2009-09-15 17:11:49 -
com.android.ide.eclipse.common.project.AndroidManifestParser] Parser
exception for /Simple Flashlight/AndroidManifest.xml: The processing
instruction target matching [xX][mM][lL] is not allowed.

I think I did move this whole Project folder from one dir to another
when I was organizing my folders. If that is the culprit, I donnot
know why that is and how to fix it.

Any ideas on my error above? Tips, hints and suggestions would be
greatly appreciated.

Many Thanks...Mimi



On Sep 15, 7:46 pm, Raphael r...@android.com wrote:
 First check that you're not using the Navigator view instead (which
 shows files, not Java namespaces).

 In the package explorer, click on the View Menu (a little triangle
 just above the scrollbar in the explorer view. Select Package
 Presentation and change it from flat to hierarchical, or the reverse.

 R/

 On Tue, Sep 15, 2009 at 4:06 PM, Mimi mimik...@gmail.com wrote:

  As I was coding, building and testing my Android App merrily along, it
  seemed all of a sudden, the parsing/compile failed. Error is on the
  Manifest complaining that a file could not be found in the package
  mimi.package.newApp.

  What I found out under the Ecplise Explorer was that the
  com.mimi.package package name was no longer a string but got
  fragmented as folders i.e. src/com/mimi/package. Same with gen/com/
  mimi/package.

  I must have done something unintentionally to cause this but what is
  it? Any ideas and suggestions would be greatly appreciated.

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



[android-beginners] Re: Android in Eclipse - package name problem - please help

2009-09-16 Thread Jack Ha

It seems likes your AndroidManifest.xml file is corrupted. Make sure
there are no spaces before this line:

?xml version=1.0 encoding=utf-8?

--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The coverage you need at the price you want

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.



On Sep 16, 6:31 am, Mimi mimik...@gmail.com wrote:
 Thank you so much for your response and info, Raphael.

 How can I change the Navigotor view to Java namespaces?

 Under the package explorer, View Menu/Package Presentation, I changed
 the selection from flat to hierarchical and the reverse. It did not
 have an impact on the presenation of com.mimi.App. It is still
 hierarchical. Other projects in the same workspace all displayed
 'flat' when it comes to com.mimi.App and were not affected by the
 changtes of the selection either.

 The parse error that I am having on my Manifest file is:

 [2009-09-15 17:11:49 -
 com.android.ide.eclipse.common.project.AndroidManifestParser] Parser
 exception for /Simple Flashlight/AndroidManifest.xml: The processing
 instruction target matching [xX][mM][lL] is not allowed.

 I think I did move this whole Project folder from one dir to another
 when I was organizing my folders. If that is the culprit, I donnot
 know why that is and how to fix it.

 Any ideas on my error above? Tips, hints and suggestions would be
 greatly appreciated.

 Many Thanks...Mimi

 On Sep 15, 7:46 pm, Raphael r...@android.com wrote:

  First check that you're not using the Navigator view instead (which
  shows files, not Java namespaces).

  In the package explorer, click on the View Menu (a little triangle
  just above the scrollbar in the explorer view. Select Package
  Presentation and change it from flat to hierarchical, or the reverse.

  R/

  On Tue, Sep 15, 2009 at 4:06 PM, Mimi mimik...@gmail.com wrote:

   As I was coding, building and testing my Android App merrily along, it
   seemed all of a sudden, the parsing/compile failed. Error is on the
   Manifest complaining that a file could not be found in the package
   mimi.package.newApp.

   What I found out under the Ecplise Explorer was that the
   com.mimi.package package name was no longer a string but got
   fragmented as folders i.e. src/com/mimi/package. Same with gen/com/
   mimi/package.

   I must have done something unintentionally to cause this but what is
   it? Any ideas and suggestions would be greatly appreciated.

   Many Thanks...Mimi


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



[android-beginners] Re: Android in Eclipse - package name problem - please help

2009-09-16 Thread Raphael

On Wed, Sep 16, 2009 at 6:31 AM, Mimi mimik...@gmail.com wrote:

 Thank you so much for your response and info, Raphael.

 How can I change the Navigotor view to Java namespaces?

You can't. The navigator displays files from your disk. It doesn't
know about namespaces.


 Under the package explorer, View Menu/Package Presentation, I changed
 the selection from flat to hierarchical and the reverse. It did not
 have an impact on the presenation of com.mimi.App. It is still

That's because your top namespace has no other things into it.

R/

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



[android-beginners] Re: Android in Eclipse - package name problem - please help

2009-09-15 Thread Raphael

First check that you're not using the Navigator view instead (which
shows files, not Java namespaces).

In the package explorer, click on the View Menu (a little triangle
just above the scrollbar in the explorer view. Select Package
Presentation and change it from flat to hierarchical, or the reverse.

R/


On Tue, Sep 15, 2009 at 4:06 PM, Mimi mimik...@gmail.com wrote:


 As I was coding, building and testing my Android App merrily along, it
 seemed all of a sudden, the parsing/compile failed. Error is on the
 Manifest complaining that a file could not be found in the package
 mimi.package.newApp.

 What I found out under the Ecplise Explorer was that the
 com.mimi.package package name was no longer a string but got
 fragmented as folders i.e. src/com/mimi/package. Same with gen/com/
 mimi/package.

 I must have done something unintentionally to cause this but what is
 it? Any ideas and suggestions would be greatly appreciated.

 Many Thanks...Mimi
 


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