[android-beginners] Section Indexer Overlay not updating as Adapters data changes

2010-05-26 Thread skalluraya
Hi All,

 I have implemented Section Indexer for an Adapter class which
extends BaseAdapter. Now for the first launch Section Indexer is
showing an overlay correctly. But when the contents of the list gets
updated the Section Overlay does not get updated and gives
ArrayOutOfBoundException. For one fix what i did is i made
listview.setFastScrollEnabled(false); update the adapter contents; and
then listview.setFastScrollEnabled(true);
Now what happens is it gets updated but the Overlay is coming to the
left top of the listview. How can I fix this.

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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] Getting MIDlet version and CLDC version

2010-05-26 Thread Sudeep Jha
Hi all,

  How to get the MIDlet and CLDC version programmatically in android?
Regards,
Sudeep

-- 
Warm Regards,
Sudeep

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: string to double

2010-05-26 Thread niko20
Hi,

Just do this

Double mynewdouble = new Double(str);

There are built int objects that can take string as a constructor init
argument.

The bad part is now you have a heavyweight object, but it works fine.

If you want then you can put it into a normal double:

double mydouble = mynewdouble;

-niko

On May 25, 5:50 pm, Faust Nijhuis faustnijh...@gmail.com wrote:
 2010/5/26 TreKing treking...@gmail.com

  On Tue, May 25, 2010 at 3:22 PM, Faust Nijhuis 
  faustnijh...@gmail.comwrote:

  How do I transform a string with comma to a string with point.

  By taking 2 seconds to look at the documentation for String. Your answer is
  right there. Just try looking.

 You mean the replace function?

 With  the format function a double will be translated to a string using the
 Locale setting.
 Is there a function who can do the other way around, from string to double
 using the locale setting?



  -
  TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking

  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.

  NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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] How to cleanly finish an activity? (activity timeouts prevent restarting an app)

2010-05-26 Thread bb13
My app (as currently designed) offers the user a menu quit option
that calls finish() on the activity, where I do saving and cleanup in
the onPause and onDestroy methods.   When initially downloaded to the
emulator things run fine, but after quitting, when I go to the apps
page and click on my app icon, I get a blank screen and an occasional
notice that the activity is not responding.

I have found a few postings of this same problem, but no good answers.

My log shows that the finish() does cause on Pause then onStop then
onDestroy to be called in sequence as expected.  All successfully
complete and return.  But I still get an activity destroy timeout (and
at the attempted restart, a launch timeout expired).  The only thing
non-trivial is a game thread, but the terminate and join with the UI
thread in onDestroy seems to work just fine (I commented out all uses
of just about everything else in Android, e.g. SoundPool, view
Animation).

I looked at the LunarLander example application.  It stops
differently (e.g. doesn't call finish(), terminates the game thread
when the surface is destroyed), but it has similar although less
repeatable problems (e.g. unexpected termination messages, destroy and
launch timeout messages in the log, subsequent clicks on the app icon
just open a black screen).

Any suggestions?  Any guidelines for a good way to exit an
application so it can be cleanly restarted?

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: Getting MIDlet version and CLDC version

2010-05-26 Thread Kingcrowley
Those concepts are from Java Mobile and don't exist in Android

On May 26, 12:26 pm, Sudeep Jha sudeep.neti...@gmail.com wrote:
 Hi all,

       How to get the MIDlet and CLDC version programmatically in android?
 Regards,
 Sudeep

 --
 Warm Regards,
 Sudeep

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: Moving a program from one computer to another

2010-05-26 Thread Keith Williams
I found it very difficult to transfer Eclipse workspaces between
computers. Checking in a project from one machine and out to another
through CVS (or an equivalent) however, works great.

On May 15, 4:02 pm, BobG bobgard...@aol.com wrote:
 I have an eclipse workspace on my laptop, my desktop at work, and the
 company server. If I go home and edit program xx on the laptop, the
 only thing that changed is the java file ine the src dir, so thats all
 I need to copy to the desktop and the server when I get to work? I
 also want to figure out how to move an example from the samples dir in
 the sdk dir into my androiddevel dir. One problem is the samples have
 different package names... com.exmaples.android or something, and my
 androiddevel packages are all com.aiti.xx, so there an item in eclipse
 that does this, or does one edit every file in the src dir to change
 the package name? Thanks. Not used to eclipse yet.

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow 
 athttp://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Re: string to double

2010-05-26 Thread Faust Nijhuis
2010/5/26 niko20 nikolatesl...@yahoo.com

 Hi,

 Just do this

 Double mynewdouble = new Double(str);

 There are built int objects that can take string as a constructor init
 argument.

 The bad part is now you have a heavyweight object, but it works fine.

 If you want then you can put it into a normal double:

 double mydouble = mynewdouble;

 This is not solving my problem,

I can solve it with the replace function;

String aap = 123,55.replace(,, .);

But i though there maybe a sort off de-locale function which can read
strings, with with comma or point, and convert it
to a double.

Faust


   How do I transform a string with comma to a string with point.
 
   By taking 2 seconds to look at the documentation for String. Your
 answer is
   right there. Just try looking.
 
  You mean the replace function?
 
  With  the format function a double will be translated to a string using
 the
  Locale setting.
  Is there a function who can do the other way around, from string to
 double
  using the locale setting?
 
 
 
  
 -
   TreKing - Chicago transit tracking app for Android-powered devices
  http://sites.google.com/site/rezmobileapps/treking
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Beginners group.
 
   NEW! Try asking and tagging your question on Stack Overflow at
  http://stackoverflow.com/questions/tagged/android
 
   To unsubscribe from this group, send email to
   android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 android-beginners%2bunsubscr...@googlegroups.comandroid-beginners%252bunsubscr...@googlegroups.com
 
   For more options, visit this group at
  http://groups.google.com/group/android-beginners?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Path Finder

2010-05-26 Thread Ali Murtaza
hi

I need to find the path between two locations.

On Tue, May 25, 2010 at 9:10 PM, TreKing treking...@gmail.com wrote:

 On Tue, May 25, 2010 at 7:30 AM, Ali Murtaza mralimurt...@gmail.comwrote:

 I want to prepare a path finder application


 What is a path finder application ??


 and i still unable how to create it..


 What have you tried Anything???


 If any body has a tutorial please reffer me.


 Did you try Google?


 -
 TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




-- 
Ali Murtaza

BCSF06M021
Research Assistant
Data Virtulization Ware House
PUCIT, Lahore, Pakistan
ali.murt...@pucit.edu.pk

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Path Finder

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 11:36 AM, Ali Murtaza mralimurt...@gmail.comwrote:

 I need to find the path between two locations.


OK. Good luck.

 and i still unable how to create it..


What have you tried Anything???


 If any body has a tutorial please reffer me.


Did you try Google?

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Path Finder

2010-05-26 Thread Ali Murtaza
can you give me any guideline?

On Wed, May 26, 2010 at 9:54 PM, TreKing treking...@gmail.com wrote:

 On Wed, May 26, 2010 at 11:36 AM, Ali Murtaza mralimurt...@gmail.comwrote:

 I need to find the path between two locations.


 OK. Good luck.

  and i still unable how to create it..


 What have you tried Anything???


 If any body has a tutorial please reffer me.


 Did you try Google?


 -
 TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




-- 
Ali Murtaza

BCSF06M021
Research Assistant
Data Virtulization Ware House
PUCIT, Lahore, Pakistan
ali.murt...@pucit.edu.pk

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Path Finder

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 12:00 PM, Ali Murtaza mralimurt...@gmail.comwrote:

 can you give me any guideline?


What have you tried Anything??? Did you try Google

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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] MovieViewControl unable to become a receiver during Broadcast.

2010-05-26 Thread Paulina


Hi!

I'm currently trying to catch a broadcast message with the
MovieViewControl class, already added the filter in the Gallery's
manifest:

receiver android:name=MovieViewControl
intent-filter
action android:name=android.media.AUDIO_BECOMING_NOISY/
/intent-filter
/receiver
---

//In MovieViewControl
private static final String SERVICECMD =
com.android.music.musicservicecommand;
private static final String CMDNAME = command;
private static final String CMDPAUSE = pause;

@Override public void onReceive(Context context, Intent intent) {
String intentAction = intent.getAction();
if (AudioManager.ACTION_AUDIO_BECOMING_NOISY.equals(intentAction)) {
Intent i = new Intent(intent.ACTION_MAIN);
i.setAction(SERVICECMD);
i.putExtra(CMDNAME, CMDPAUSE);
mVideoView.pause();
context.startActivity(i); }
}
--

but when I do my trial, I get this (very) huge exception:

W/dalvikvm( 1630): threadid=3: thread exiting with uncaught exception
(group=0x4001b1b8)
E/AndroidRuntime( 1630): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 1630): java.lang.RuntimeException: Unable to
instantiate receiver com.android.gallery.MovieViewControl:
java.lang.ClassNotFoundException: com.android.gallery.MovieViewControl
in loader dalvik.system.pathclassloa...@438ff048
E/AndroidRuntime( 1630): at
android.app.ActivityThread.handleReceiver(ActivityThread.java:2616)
E/AndroidRuntime( 1630): at android.app.ActivityThread.access
$3100(ActivityThread.java:119)
E/AndroidRuntime( 1630): at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1913)
E/AndroidRuntime( 1630): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1630): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1630): at
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 1630): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1630): at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1630): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 1630): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 1630): at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 1630): Caused by: java.lang.ClassNotFoundException:
com.android.gallery.MovieViewControl in loader
dalvik.system.pathclassloa...@438ff048
E/AndroidRuntime( 1630): at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
E/AndroidRuntime( 1630): at
java.lang.ClassLoader.loadClass(ClassLoader.java:573)
E/AndroidRuntime( 1630): at
java.lang.ClassLoader.loadClass(ClassLoader.java:532)
E/AndroidRuntime( 1630): at
android.app.ActivityThread.handleReceiver(ActivityThread.java:2609)
E/AndroidRuntime( 1630): ... 10 more

Any hints on what might I be missing?

Thanks in advance!

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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] IQ Magazine -- special Android edition

2010-05-26 Thread Robert P. J. Day

  http://iqmagazineonline.com/current/

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: string to double

2010-05-26 Thread niko20
Ah,

I missed that you were saying there was a comma in the decimal

Yes, you have to replace it, no way around that. I ran into that same
thing as well. Android doesnt handle that correctly automatically

-niko

On May 26, 11:11 am, Faust Nijhuis faustnijh...@gmail.com wrote:
 2010/5/26 niko20 nikolatesl...@yahoo.com





  Hi,

  Just do this

  Double mynewdouble = new Double(str);

  There are built int objects that can take string as a constructor init
  argument.

  The bad part is now you have a heavyweight object, but it works fine.

  If you want then you can put it into a normal double:

  double mydouble = mynewdouble;

  This is not solving my problem,

 I can solve it with the replace function;

 String aap = 123,55.replace(,, .);

 But i though there maybe a sort off de-locale function which can read
 strings, with with comma or point, and convert it
 to a double.

 Faust





How do I transform a string with comma to a string with point.

By taking 2 seconds to look at the documentation for String. Your
  answer is
right there. Just try looking.

   You mean the replace function?

   With  the format function a double will be translated to a string using
  the
   Locale setting.
   Is there a function who can do the other way around, from string to
  double
   using the locale setting?

  --- 
  --
TreKing - Chicago transit tracking app for Android-powered devices
   http://sites.google.com/site/rezmobileapps/treking

--
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
   http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr
 i...@googlegroups.com
  android-beginners%2bunsubscr...@googlegroups.comandroid-beginners%252Buns 
  ubscr...@googlegroups.com

For more options, visit this group at
   http://groups.google.com/group/android-beginners?hl=en

  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.

  NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr 
  i...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread Indicator Veritatis
Well, it depends on your understanding of the concept of 'success';)
Seriously: the reason for the test you ripped out is that Java 6
introduced a change in the way '@Override' is interpreted, one that
does not mesh well with the way Android wants to use it. So you have
stuff that compiled, but that is no guarantee that it will actually
run correctly!

Considering what @Override actually does, however, the build you got
will probably actually work, it will only be when trying to compile
new Android code that you will have to no longer trust the @Override
annotation to correctly flag errors. Or at least I could believe that
if you also had no warnings.

Did any of the warnings have anything to do with methods being re-
defined?

On May 25, 10:31 am, Robert P. J. Day rpj...@crashcourse.ca wrote:
   strictly for the entertainment value, i decided to follow the
 instructions here for 64-bit ubuntu:

  http://source.android.com/source/download.html

   as i have a perfectly stock install of ubuntu 10.04, i had to make a
 couple tweaks -- some of the packages in the required list have been
 slightly renamed and, since i didn't feel like regressing my java 6 to
 java 5, i cavalierly ripped out the test for the version of java that
 would normally cause the build to fail and typed make.

   a couple hours later, it finished:

 ...
 Generated: (out/target/product/generic/android-info.txt)
 Target system fs image:
 out/target/product/generic/obj/PACKAGING/systemimage_unopt_intermediates/system.img
 Install system fs image: out/target/product/generic/system.img
 Target ram disk: out/target/product/generic/ramdisk.img
 Target userdata fs image: out/target/product/generic/userdata.img
 Installed file list: out/target/product/generic/installed-files.txt
 $

   am i to assume then that i successfully built the entire code base
 using java 6?  other than numerous compilation warnings, i didn't
 notice any build errors.

 rday

 --

 
 Robert P. J. Day                               Waterloo, Ontario, CANADA

             Linux Consulting, Training and Kernel Pedantry.

 Web page:                                          http://crashcourse.ca
 Twitter:                                      http://twitter.com/rpjday
 

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow 
 athttp://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Re: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread Robert P. J. Day
On Wed, 26 May 2010, Indicator Veritatis wrote:

 Well, it depends on your understanding of the concept of 'success';)

  normally, it starts with a build that completes.  :-)  but i'm
willing to be educated on what might go horribly wrong since it's been
a while since i've used java and i'm refreshing my skills now.

 Seriously: the reason for the test you ripped out is that Java 6
 introduced a change in the way '@Override' is interpreted, one that
 does not mesh well with the way Android wants to use it. So you have
 stuff that compiled, but that is no guarantee that it will actually
 run correctly!

  but there's nothing like testing it to find out.  i can start with
trying the emulator and seeing if that still works properly.  beyond
that, is there a comprehensive test suite i can stress the result
with?  i'm about to try out the emulator to see what happens.

 Considering what @Override actually does, however, the build you got
 will probably actually work, it will only be when trying to compile
 new Android code that you will have to no longer trust the @Override
 annotation to correctly flag errors. Or at least I could believe
 that if you also had no warnings.

 Did any of the warnings have anything to do with methods being re-
 defined?

  well, i captured all 23,399 lines of output from the full build, so
it's easy enough for me to check.  and it would appear that all
redefinition warnings have to do with *macros* being redefined, not
methods.  is there something specific i should look for since i have
access to the full build output?

rday

p.s.  out of those 24,000 lines of output, only 71 of them refer to
something being redefined.  since that's not that many, i can post
them if you want.  and i suspect it would be easy enough to patch the
existing code base to remove most of them.

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Re: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread Robert P. J. Day
On Wed, 26 May 2010, Indicator Veritatis wrote:

 Did any of the warnings have anything to do with methods being re-
 defined?

  if you're curious, i posted the entire build output at
http://pastebin.com/Pa6zDRq3.

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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] Google Map Key issue please help

2010-05-26 Thread Ali Murtaza
Hi


I use this code to get the finger print in android emulator i got
message keystore: permission denied

So please help me. It realy urgent


$ keytool -list -alias androiddebugkey \
-keystore path_to_debug_keystore.keystore \
-storepass android -keypass android


-- 
Ali Murtaza

BCSF06M021
Research Assistant
Data Virtulization Ware House
PUCIT, Lahore, Pakistan
ali.murt...@pucit.edu.pk

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Path Finder

2010-05-26 Thread Ali Murtaza
Yap i try
and  i am struct in getting API key i again send a post please view it

On Wed, May 26, 2010 at 10:10 PM, TreKing treking...@gmail.com wrote:

 On Wed, May 26, 2010 at 12:00 PM, Ali Murtaza mralimurt...@gmail.comwrote:

 can you give me any guideline?


 What have you tried Anything??? Did you try Google


 -
 TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




-- 
Ali Murtaza

BCSF06M021
Research Assistant
Data Virtulization Ware House
PUCIT, Lahore, Pakistan
ali.murt...@pucit.edu.pk

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Path Finder

2010-05-26 Thread TreKing
On Wed, May 26, 2010 at 2:15 PM, Ali Murtaza mralimurt...@gmail.com wrote:

 Yap i try


What have you tried

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread davemac
I don't want to rain on your parade, but the output header says 2.1-
update1 and ECLAIR. There's no mention of Froyo or 2.2 anywhere in
your output. You sure you're working with Froyo?

- dave

On May 26, 3:10 pm, Robert P. J. Day rpj...@crashcourse.ca wrote:
 On Wed, 26 May 2010, Indicator Veritatis wrote:
  Did any of the warnings have anything to do with methods being re-
  defined?

   if you're curious, i posted the entire build output 
 athttp://pastebin.com/Pa6zDRq3.

 rday

 --

 
 Robert P. J. Day                               Waterloo, Ontario, CANADA

             Linux Consulting, Training and Kernel Pedantry.

 Web page:                                          http://crashcourse.ca
 Twitter:                                      http://twitter.com/rpjday
 

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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


Re: [android-beginners] Re: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread Robert P. J. Day
On Wed, 26 May 2010, davemac wrote:

 I don't want to rain on your parade, but the output header says 2.1-
 update1 and ECLAIR. There's no mention of Froyo or 2.2 anywhere in
 your output. You sure you're working with Froyo?

  i'd noticed that, but i'm simply following the instructions here:

http://source.android.com/source/download.html

to check out what is allegedly the latest source.  as in:

  $ repo init -u git://android.git.kernel.org/platform/manifest.git

if that's not getting me the development content, then that page needs
to be corrected.

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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] Please consider submitting your mobile-for-good ideas

2010-05-26 Thread Alex Steed
Hello,

We're super excited to introduce Change Connections, an initiative by
The Feast social innovation conference in collaboration with Nokia.

http://feastongood.com

We've just launching change-connections.com, an online open innovation
forum based in serious play around serious issues. The site offers a
space to exchange, connect and collaborate for social good and to
foster thinking around groundbreaking social innovation.

http://change-connections.com

Change Connections explores the massive potential for new connections
and innovation in communication technology to make the world a better
place.Features include quotes from a series of more than 40 expert
interviews, focus areas ranging from learning to livelihood, case
studies of existing work and soon, a connections sections for new
methods of ideating.

In case you think your readers might be interested, we've attached the
press release and included it below for your reference. We very much
want Change Connections to be a meaningful and open innovation
experience, and would love to work with you to innovate the world to a
better place.

You can visit Change Connections online at http://change-connections.com/,
and please connect with us via our Twitter profile as well. We look
forward to your thoughts and please be in touch if we can provide any
further information!

All our best,

The Change Connections team

http://change-connections.com
http://twitter.com/changeconnect

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread natediddy
There's no way you compiled 2.2 man, sorry.  The source for Froyo is
not out yet.  Only Eclair.

On May 26, 4:27 pm, Robert P. J. Day rpj...@crashcourse.ca wrote:
 On Wed, 26 May 2010, davemac wrote:
  I don't want to rain on your parade, but the output header says 2.1-
  update1 and ECLAIR. There's no mention of Froyo or 2.2 anywhere in
  your output. You sure you're working with Froyo?

   i'd noticed that, but i'm simply following the instructions here:

 http://source.android.com/source/download.html

 to check out what is allegedly the latest source.  as in:

   $ repo init -u git://android.git.kernel.org/platform/manifest.git

 if that's not getting me the development content, then that page needs
 to be corrected.

 rday

 --

 
 Robert P. J. Day                               Waterloo, Ontario, CANADA

             Linux Consulting, Training and Kernel Pedantry.

 Web page:                                          http://crashcourse.ca
 Twitter:                                      http://twitter.com/rpjday
 

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread natediddy
And another thing, no where at the android developer site you linked
to says nothing about froyo.

This command:

$ repo init -u git://android.git.kernel.org/platform/manifest.git

Will get the source for all android platforms (everything up to
eclair)

To get a specific branch, you would do this:

$ repo init -u git://android.git.kernel.org/platform/manifest.git -b
eclair

(Or -b cupcake, or -b donut depending what you're building for)
But -b froyo will NOT work as of this time

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread {n8}
Sorry to triple post! This is the last I promise...

I was just commenting that you can in fact build Android using Java6
or Java5 completely fine.  Cyanogen and his team fixed the Java6
issue.  Just use his android_build source from github.com/cyanogen
instead of the platform_build straight from android.git.kernel.org.

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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: Installing large size apk applications gives error

2010-05-26 Thread skalluraya
Thanks for the replies

I am planning of implementing of downloading the assets or media files
to SDCard after the application is installed. Just wanted to know.
Does Android market provide any provision to link the assets to apk
files. I mean when the apk gets installed the assets also should get
downloaded. I saw some examples where the users has to launch the app.
Then on first launch the app starts downloading the assets. If this is
done then user will see two download pages, first for downloading the
app and second for downloading the assets before starting of app. Is
there any way, that when user does apk download, the assets also gets
downloaded simultaneously. And before starting of application He
doesn't know that he has downloaded from two places

On May 24, 11:26 pm, niko20 nikolatesl...@yahoo.com wrote:
 Yes, apps are actually zip files, which will be unzipped I believe
 upon install (at least some of the items in the APK do) so they take
 up more room than you see.

 On May 24, 11:32 am, TreKing treking...@gmail.com wrote:



  On Mon, May 24, 2010 at 12:48 AM,skallurayaskallur...@gmail.com wrote:
   I have an application which is of size 130MB.

  That's mildly absurd.

   when i try to install its displaying insufficient memory error. but i have
   around 170MB left in available space in internal memory.

  Apps require something like 2X space to install (even more if
  copy-protection is involved, I think). So you simply don't have enough space
  to install this massive app.

   How can i Install this app?

  Get a phone with more space or reduce the size. If you want people to
  actually use this behemoth, probably the latter option.

   The size of the app is large because it contains many media files.

  Consider reducing the number of media files and / or have the user download
  them to the SD card after installing the app.

    In Motorolla droid its getting installed. but on Nexus One its giving 
   this
   error.

  I assume the Droid has more space.

  --- 
  --
  TreKing - Chicago transit tracking app for Android-powered 
  deviceshttp://sites.google.com/site/rezmobileapps/treking

  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.

  NEW! Try asking and tagging your question on Stack Overflow 
  athttp://stackoverflow.com/questions/tagged/android

  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/android-beginners?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow 
 athttp://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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