[android-beginners] Re: Error + Eclipse plugin + android sdk on Debian Lenny AMD64

2008-10-10 Thread chris

i'm also having this problem, but then i get a message saying
JAVA_HOME isn't defined. anyone know what that's about? i know i have
that variable set, maybe eclipse isn't picking it up somehow?

On Oct 5, 9:52 am, LoupBlanc2007 [EMAIL PROTECTED] wrote:
 I installed Eclipse plugin ADT 0.8.0, Android SDK 1.0 on my debian
 lenny amd64, like the instructions say, and I get the following error:

 [2008-10-05 12:01:08 - Android Framework Parser] Menu declare-
 styleable Menu not found in file /opt/android-sdk/tools/lib/res//
 default/values/attrs.xml
 [2008-10-05 12:01:08 - Android Framework Parser] Menu declare-
 styleable MenuItem not found in file /opt/android-sdk/tools/lib/res//
 default/values/attrs.xml
 [2008-10-05 12:01:08 - Android Framework Parser] Menu declare-
 styleable MenuGroup not found in file /opt/android-sdk/tools/lib/res//
 default/values/attrs.xml
 [2008-10-05 12:01:08 - Android Framework Parser] Searchable declare-
 styleable Searchable not found in file /opt/android-sdk/tools/lib/res//
 default/values/attrs.xml
 [2008-10-05 12:01:08 - Android Framework Parser] Searchable declare-
 styleable SearchableActionKey not found in file /opt/android-sdk/tools/
 lib/res//default/values/attrs.xml
 [2008-10-05 12:01:08] Warning, ADT/SDK Mismatch! The following
 elements are declared by ADT but not by the SDK: action, activity,
 activity-alias, application, category, data, grant-uri-permission,
 instrumentation, intent-filter, manifest, meta-data, permission,
 permission-group, permission-tree, provider, receiver, service, uses-
 library, uses-permission, uses-sdk
 [2008-10-05 12:01:08 - Framework Resource Parser] Failed to parse

 i have installed ia32-libs, eclipse ganymede, and sun-java6.

 please, can someone help me?

 thanks

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Manipulate 2D View in 3D OpenGL

2008-10-10 Thread Fugita

Hey if you get this to work then maybe we can get something like a 3D
turn by turn driving direction program for Google finally!

On Oct 9, 3:23 pm, sandroid [EMAIL PROTECTED] wrote:
 Hi,
     Is there a way to take the frame from a view, such as the MapView,
 and manipulate it in 3D with OpenGL.  For example, I have a MapView
 which shows a particular location and I want to treat this as a 2D
 plane in 3D so that I can rotate the plane along the y or x axis.
     Right now I have no idea how to approach this problem.  My initial
 idea is to somehow render the output from MapView to a texture, and
 then render that texture to the screen using OpenGL.

 I got the idea from looking at the app Marvin, where the MapView looks
 like a plane receding into the horizon.

 -Marc

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Uninstalling the App

2008-10-10 Thread Arunachalam
HI,
Iam using ubuntu Hard Heron OS.
When i tried the below mentioned command (adb shell rm data/app/Snake)

it throws me the below error.

error: device not found

May i know wht could be the reason for the same.

Cheers,
Arun

On Fri, Oct 10, 2008 at 1:47 AM, Pirate Blanc [EMAIL PROTECTED] wrote:


 I ran into trouble too, but googled it and found the solution.

 If you on Windows: Start Menu / Run / Type cmd / Enter / dir and cd to
 the android directory, in tools / type adb shell rm data/app/$APK
 where $APK is the file you want to remove.
 If on Mac or Linux, run the cmd equivalent, and do as above.

 If you dont like my explaination :) here are some sites:

 http://www.freeware4android.com/2008/07/30/tutorial-uninstalling-apk-files-from-android-emulator.html
 http://www.twintechs.com/blog/?p=8
 On Oct 9, 9:00 am, Arunachalam [EMAIL PROTECTED] wrote:
  Hi all,
  I have installed all the sample apps in the android emulator.
  I would like to uninstall them.
  How can i do that?
 
  Cheers,
  Arun

 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Manipulate 2D View in 3D OpenGL

2008-10-10 Thread sandroid

Yes, that's the right idea.  Right now I'm looking into the
getDrawingCache() routine which returns a bitmap.  Then I might load
that bitmap into a view with OpenGL enabled.  Unfortunately, the only
code examples I have found for getDrawingCache() are only snippets of
code and I can't tell when or where I should call the routine.

On Oct 10, 12:14 am, Fugita [EMAIL PROTECTED] wrote:
 Hey if you get this to work then maybe we can get something like a 3D
 turn by turn driving direction program for Google finally!

 On Oct 9, 3:23 pm, sandroid [EMAIL PROTECTED] wrote:

  Hi,
      Is there a way to take the frame from a view, such as the MapView,
  and manipulate it in 3D with OpenGL.  For example, I have a MapView
  which shows a particular location and I want to treat this as a 2D
  plane in 3D so that I can rotate the plane along the y or x axis.
      Right now I have no idea how to approach this problem.  My initial
  idea is to somehow render the output from MapView to a texture, and
  then render that texture to the screen using OpenGL.

  I got the idea from looking at the app Marvin, where the MapView looks
  like a plane receding into the horizon.

  -Marc
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Hello World Emulator Problem - SDK 1.0 r1 Eclipse Version: 3.4.1

2008-10-10 Thread theRise

Resolved, kind of.

The issue that is causing this is when i run eclipse, the DDMS
perspective shows emulator-5554 in an offline state under the devices
list. In order to get a new emulator instance running i have to first
go to Run Configurations  Target tab  Manual radio button. Then when
i run the project DO NOT click the emulator on the list, and select
Run. This will instantiate a new emulator, and will run the project.
As of now i can not find another workaround, or a way to delete this.
If anyone has a solution to deleting an old emulator reference or
knows where to find it (not in the registry, i checked) then please
follow up.
Thanks

On Oct 9, 9:21 am, theRise [EMAIL PROTECTED] wrote:
 Here's a follow up on the issue.

 I've run a completely clean install of eclipse and the sdk in a
 separate dir. The issue is still the same. I've also installed it
 successfully on a separate machine and run the emulator just fine. I'm
 sure it's an isolated issue possibly to this particular machine and
 some sort of windows configuration issue. If anyone (google devs?) has
 seen this issue or know what may be causing it, i would greatly
 appreciate a constructive reply. I've been hacking away at this for a
 few days now, and has numerous alternate sources for help, i just
 can't seem to get this one working.
 Thanks

 On Oct 6, 4:37 pm, theRise [EMAIL PROTECTED] wrote:

  I'm trying to get the HelloAndroid app up and running. I can run the
  emulator from the command line just fine, but there seems to be an
  issue from running it within eclipse when i'm ready to launch my app.
  I tried searching for some of these terms and found no luck, anybody
  else with this issue or some advice?
  My console reads as follows:
  [2008-10-06 16:11:07 - HelloAndroid] --
  [2008-10-06 16:11:07 - HelloAndroid] Android Launch!
  [2008-10-06 16:11:07 - HelloAndroid] adb is running normally.
  [2008-10-06 16:11:07 - HelloAndroid] Launching:
  com.android.hello.HelloAndroid
  [2008-10-06 16:11:07 - HelloAndroid] Automatic Target Mode: using
  existing emulator: emulator-5554
  [2008-10-06 16:11:07 - HelloAndroid] WARNING: Unknown device API
  version!
  [2008-10-06 16:11:07 - HelloAndroid] Failed to upload HelloAndroid.apk
  on device 'emulator-5554': Unable to open sync connection!
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Datepicker Control in SDK 1.0

2008-10-10 Thread Eagle

I'm quite new to Android. I'm performing investigation on android
calendar. I found a beautiful datepicker from the Internet, but not in
android sdk 1.0. Would you please tell me am I right and why?
http://mrcoder.org/2008/10/10/datepicker-widget-in-android-sdk-changed-so-much

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Android on existing non G1 phone?

2008-10-10 Thread expone

Hello toghetter!

Is it possible to use android on other htc hardware as T-Mobile G1?
And what about downloading android source code?
I don't mean the sdk!

I'm owner of a HTC Herald 100 (Branded name: o2 XDA Terra) and I will
testing android on this mobile phone.


Thank you for your attention.


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Could Not Find HelloAndroid.apk!

2008-10-10 Thread ftbalagt

Hi!

I also had the same problem when I tried upgrading to the new version.
The problem was that eclipse wasn't able to compile the program
because of the problem with the classpath in Java, that's why the apk
is not present. What I did was to execute CLEAN first in eclipse and I
saw the root of the problem.

What it does is execute keytool.exe which is inside the bin folder
under the JAVA_HOME classpath. However, the problem was, my JAVA_HOME
was set to C:\Program Files\Java\jre1.6.0_04\bin, and when eclipse try
to run it, it tried to run C:\Program Files\Java\jre1.6.0_04\bin\bin
\keytool.exe. Double bin!

So what I did was just change my JAVA_HOME variable to C:\Program Files
\Java\jre1.6.0_04 (without the bin) (Windows Control Panel-System-
Environment Variable).

I don't know what eclipse or android did for the new version, since it
worked for me two months ago without any change in settings.

I hope this helps.


On Sep 25, 5:08 am, Kevin M [EMAIL PROTECTED] wrote:
 I am getting this error when trying to run my programs... I see other
 threads about this but none have clear answers.

 I'm using Eclipse 3.4 on Ubuntu 8.04.

 Any info you need me to post I will be happy to supply.

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android on existing non G1 phone?

2008-10-10 Thread [EMAIL PROTECTED]

The source code will be available after the release of T-Mobile G1
i.e. after 22nd October

On Oct 10, 2:57 am, expone [EMAIL PROTECTED] wrote:
 Hello toghetter!

 Is it possible to use android on other htc hardware as T-Mobile G1?
 And what about downloading android source code?
 I don't mean the sdk!

 I'm owner of a HTC Herald 100 (Branded name: o2 XDA Terra) and I will
 testing android on this mobile phone.

 Thank you for your attention.

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android languages

2008-10-10 Thread Scott D Ritchie


--~--~-~--~~~---~--~~
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
  [EMAIL PROTECTED]
  For more options, visit this group at
  http://groups.google.com/group/android-beginners?hl=en  -~--~~~~--~~--~--~---




[android-beginners] Re: Uninstalling the App

2008-10-10 Thread Pirate Blanc

Hmm...

I dual boot Hardy and XP, but havent tried the SDK on Hardy yet. You
have to type adb shell rm data/app/Snake.apk
Now, are you entering the command while in the $SDKHome/tools folder?
Or is Hardy better than XP and it saves adb into the default shell?

But i guess thats not the main issue, because it cant find the
device... You have to actually have the device active when you run the
command. once the command is ran, the SDK will update itself, no need
to restart.
On Oct 10, 8:31 am, Arunachalam [EMAIL PROTECTED] wrote:
 HI,
 Iam using ubuntu Hard Heron OS.
 When i tried the below mentioned command (adb shell rm data/app/Snake)

 it throws me the below error.

 error: device not found

 May i know wht could be the reason for the same.

 Cheers,
 Arun



 On Fri, Oct 10, 2008 at 1:47 AM, Pirate Blanc [EMAIL PROTECTED] wrote:

  I ran into trouble too, but googled it and found the solution.

  If you on Windows: Start Menu / Run / Type cmd / Enter / dir and cd to
  the android directory, in tools / type adb shell rm data/app/$APK
  where $APK is the file you want to remove.
  If on Mac or Linux, run the cmd equivalent, and do as above.

  If you dont like my explaination :) here are some sites:

 http://www.freeware4android.com/2008/07/30/tutorial-uninstalling-apk-...
 http://www.twintechs.com/blog/?p=8
  On Oct 9, 9:00 am, Arunachalam [EMAIL PROTECTED] wrote:
   Hi all,
   I have installed all the sample apps in the android emulator.
   I would like to uninstall them.
   How can i do that?

   Cheers,
   Arun- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Uninstalling the App

2008-10-10 Thread Jerry Elizondo
Hello guys:

You need to run the emulator *first* and then run the adb command.

To run the emulator manually on XP click on Start, Run, type *cmd*  and
press [Enter].

If you can´t find the Run command in the menu, right-click on the Start,
select properties, start menu, advanced and select Run so that it is
displayed in the start menu.

A new window with a command line prompt should open.

Once on the command window, change your drive (if the SDK is in a drive
different from C:). To change a drive type the drive letter, followed by a
colon and then press [Enter]. For example, to change your current drive to
G: type *G:*  and press [Enter].

Then change your current directory to the directory where the SDK tools
directory is, type for example:

*cd G:\eclipse\android-sdk-windows-1.0_r1\tools* [Enter]

Type *emulator* and press [Enter].

Then you can type adb shell rm data/app/Snake.apk [Enter]

Cheers,

Jerry

On Fri, Oct 10, 2008 at 9:40 PM, Pirate Blanc [EMAIL PROTECTED] wrote:


 Hmm...

 I dual boot Hardy and XP, but havent tried the SDK on Hardy yet. You
 have to type adb shell rm data/app/Snake.apk
 Now, are you entering the command while in the $SDKHome/tools folder?
 Or is Hardy better than XP and it saves adb into the default shell?

 But i guess thats not the main issue, because it cant find the
 device... You have to actually have the device active when you run the
 command. once the command is ran, the SDK will update itself, no need
 to restart.
 On Oct 10, 8:31 am, Arunachalam [EMAIL PROTECTED] wrote:
  HI,
  Iam using ubuntu Hard Heron OS.
  When i tried the below mentioned command (adb shell rm data/app/Snake)
 
  it throws me the below error.
 
  error: device not found
 
  May i know wht could be the reason for the same.
 
  Cheers,
  Arun
 
 
 
  On Fri, Oct 10, 2008 at 1:47 AM, Pirate Blanc [EMAIL PROTECTED]
 wrote:
 
   I ran into trouble too, but googled it and found the solution.
 
   If you on Windows: Start Menu / Run / Type cmd / Enter / dir and cd to
   the android directory, in tools / type adb shell rm data/app/$APK
   where $APK is the file you want to remove.
   If on Mac or Linux, run the cmd equivalent, and do as above.
 
   If you dont like my explaination :) here are some sites:
 
  http://www.freeware4android.com/2008/07/30/tutorial-uninstalling-apk-.
 ..
  http://www.twintechs.com/blog/?p=8
   On Oct 9, 9:00 am, Arunachalam [EMAIL PROTECTED] wrote:
Hi all,
I have installed all the sample apps in the android emulator.
I would like to uninstall them.
How can i do that?
 
Cheers,
Arun- Hide quoted text -
 
  - Show quoted text -
 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Uninstalling the App

2008-10-10 Thread Arunachalam
Hi guys,
Thax a lot, i was able to remove the installed app on the android.
However i have used the below cmd for its successful execution from android
SDK tools folder.

adb shell rm /data/app/com.example.android.lunarlander.apk

Where can i get the full details of Android Debug Bridge, as adb help doesnt
provide much details of it.

Cheers,
Arun


On Sat, Oct 11, 2008 at 8:32 AM, Jerry Elizondo [EMAIL PROTECTED]wrote:

 Hello guys:

 You need to run the emulator *first* and then run the adb command.

 To run the emulator manually on XP click on Start, Run, type *cmd*  and
 press [Enter].

 If you can´t find the Run command in the menu, right-click on the Start,
 select properties, start menu, advanced and select Run so that it is
 displayed in the start menu.

 A new window with a command line prompt should open.

 Once on the command window, change your drive (if the SDK is in a drive
 different from C:). To change a drive type the drive letter, followed by a
 colon and then press [Enter]. For example, to change your current drive to
 G: type *G:*  and press [Enter].

 Then change your current directory to the directory where the SDK tools
 directory is, type for example:

 *cd G:\eclipse\android-sdk-windows-1.0_r1\tools* [Enter]

 Type *emulator* and press [Enter].

 Then you can type adb shell rm data/app/Snake.apk [Enter]

 Cheers,

 Jerry


 On Fri, Oct 10, 2008 at 9:40 PM, Pirate Blanc [EMAIL PROTECTED] wrote:


 Hmm...

 I dual boot Hardy and XP, but havent tried the SDK on Hardy yet. You
 have to type adb shell rm data/app/Snake.apk
 Now, are you entering the command while in the $SDKHome/tools folder?
 Or is Hardy better than XP and it saves adb into the default shell?

 But i guess thats not the main issue, because it cant find the
 device... You have to actually have the device active when you run the
 command. once the command is ran, the SDK will update itself, no need
 to restart.
 On Oct 10, 8:31 am, Arunachalam [EMAIL PROTECTED] wrote:
  HI,
  Iam using ubuntu Hard Heron OS.
  When i tried the below mentioned command (adb shell rm data/app/Snake)
 
  it throws me the below error.
 
  error: device not found
 
  May i know wht could be the reason for the same.
 
  Cheers,
  Arun
 
 
 
  On Fri, Oct 10, 2008 at 1:47 AM, Pirate Blanc [EMAIL PROTECTED]
 wrote:
 
   I ran into trouble too, but googled it and found the solution.
 
   If you on Windows: Start Menu / Run / Type cmd / Enter / dir and cd to
   the android directory, in tools / type adb shell rm data/app/$APK
   where $APK is the file you want to remove.
   If on Mac or Linux, run the cmd equivalent, and do as above.
 
   If you dont like my explaination :) here are some sites:
 
  http://www.freeware4android.com/2008/07/30/tutorial-uninstalling-apk-.
 ..
  http://www.twintechs.com/blog/?p=8
   On Oct 9, 9:00 am, Arunachalam [EMAIL PROTECTED] wrote:
Hi all,
I have installed all the sample apps in the android emulator.
I would like to uninstall them.
How can i do that?
 
Cheers,
Arun- Hide quoted text -
 
  - Show quoted text -



 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Manipulate 2D View in 3D OpenGL

2008-10-10 Thread Fugita

If you get this up and running I know I would like to see a copy of
it.  I am really looking for something to replace my MobileNavigator
from Navigon.  And it would seem that none of the navigation software
companies are going to support Android since when I asked if they
would they all said.. At this time we have no projects in the works
to support the Google Android OS.

On Oct 10, 11:36 am, sandroid [EMAIL PROTECTED] wrote:
 Yes, that's the right idea.  Right now I'm looking into the
 getDrawingCache() routine which returns a bitmap.  Then I might load
 that bitmap into a view with OpenGL enabled.  Unfortunately, the only
 code examples I have found for getDrawingCache() are only snippets of
 code and I can't tell when or where I should call the routine.

 On Oct 10, 12:14 am, Fugita [EMAIL PROTECTED] wrote:

  Hey if you get this to work then maybe we can get something like a 3D
  turn by turn driving direction program for Google finally!

  On Oct 9, 3:23 pm, sandroid [EMAIL PROTECTED] wrote:

   Hi,
       Is there a way to take the frame from a view, such as the MapView,
   and manipulate it in 3D with OpenGL.  For example, I have a MapView
   which shows a particular location and I want to treat this as a 2D
   plane in 3D so that I can rotate the plane along the y or x axis.
       Right now I have no idea how to approach this problem.  My initial
   idea is to somehow render the output from MapView to a texture, and
   then render that texture to the screen using OpenGL.

   I got the idea from looking at the app Marvin, where the MapView looks
   like a plane receding into the horizon.

   -Marc
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---