Re: [android-developers] NFC game

2012-06-28 Thread iconapp 2010
https://play.google.com/store/apps/details?id=jp.co.hayatoinformation.nfchunterfeature=search_result#?t=W251bGwsMSwxLDEsImpwLmNvLmhheWF0b2luZm9ybWF0aW9uLm5mY2h1bnRlciJd

Check this link once, i want to develop same as this oly,
 I need to develop in this envirnoment.
its a system game.

- Windows 7
 - Eclipse 3.6
 - Android SDK 10
 - GAE SDK 1.5.2


On Wed, Jun 27, 2012 at 6:00 PM, paulkayuk paulka...@gmail.com wrote:

 The question is too vague, we need much more information in order to be
 able to advise you.

 e.g.
 What environment is the game going to be played in, indoors or outdoors?

 What surface types will you be mounting the tags on?

 How much data do you need to encode onto the tags?

 etc.

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


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

Re: [android-developers] Google I/O 2012 ~ Where's the video?

2012-06-28 Thread Alger Lin
The video of keynote is located at  
http://www.youtube.com/watch?v=VCp34EElAEA 
However it's an private video now, I hope Google will set it to public.

havexz於 2012年6月28日星期四UTC+8上午11時50分59秒寫道:

 Other videos are there except KeynoteI just saw the last part and 
 missed my office too...:( n now not able to find it anywhere.:-/


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

[android-developers] Open Coral Draw File in android

2012-06-28 Thread news.anand11
Hi i wanted to know that is there any app available in android which can
open a coral draw file?
If any other alternative is available to see the .cdr file then please
suggest me.

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

[android-developers] Re: Customized Soft keyboard

2012-06-28 Thread Harish
Thanks Sergio, I will try this solution

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

[android-developers] MenuCompat and MenuItemCompat

2012-06-28 Thread marcin kolonko
what does the two classes do actually? and how i can use it?

thx

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

[android-developers] Re: How can I open my app with power button?

2012-06-28 Thread Ali Chousein
 Is there a way to contact Android to please them to modify the 
 software? 

I'm sure they are looking forward to it.


 I think my app should be on every android, it's very 
 important...

Mine also. It's THE greatest sin not to have it on your device.


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

[android-developers] bug: emulator-x86 + kvm triggers an endless loop in qemu-setup.c

2012-06-28 Thread Erik Nijkamp
Hello folks,

we are experiencing a strange behavior while booting kvm-accelerated ICS 
image on some linux machines (both ubuntu  debian):

emulator-x86 -verbose -show-kernel -avd x86_4_0_3 -no-window -qemu 
-enable-kvm


The resulting log freezes after:

emulator: ping program: /opt/android-sdk-linux/tools/ddms


Therefore, we looked into the source code of the qemu / android emulator 
and stumbled over:

qemu-setup.c - android_emulation_setup(...)

if (path_exists(tmp)) {
...

/* disable SIGALRM for the fork(), the periodic signal seems to

* interefere badly with the fork() implementation on Linux running

* under VMWare.

*/

BEGIN_NOSIGALRM

pid = fork();

if (pid == 0) {

int fd = open(/dev/null, O_WRONLY);

dup2(fd, 1);

dup2(fd, 2);

execl( tmp, _ANDROID_PING_PROGRAM, ping, emulator, VERSION_STRING, NULL 
);

}

END_NOSIGALRM

} 



We are pretty certain that the codes hangs while invoking fork().

Firing strace 

strace emulator-x86 -verbose -show-kernel -avd x86_4_0_3 -no-window -qemu 
-enable-kvm


spits out an endless continuation of 

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0) = ? ERESTARTNOINTR (To be restarted) 
--- SIGIO (I/O possible) @ 0 (0) --- 
clock_gettime(CLOCK_MONOTONIC, {55232, 717872152}) = 0 sigreturn() = 120 
--- SIGIO (I/O possible) @ 0 (0) --- 
clock_gettime(CLOCK_MONOTONIC, {55232, 719018162}) = 0 sigreturn() = 120 
--- SIGIO (I/O possible) @ 0 (0) --- 
clock_gettime(CLOCK_MONOTONIC, {55232, 719310431}) = 0 sigreturn() = 120 
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0) = ? ERESTARTNOINTR (To be restarted) 



As a temporary workaround, the branch of code in qemu-setup.c triggering 
the fork() can be avoided by renaming the ping program (namely ddms) by

mv tools/ddms tools/ddms.fork.fix


However, we would like to avoid this hack in a productive system.


Any clues why the fork() in combinations with KVM keeps hanging?


Thanks so much!
-- erik




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

[android-developers] When the android id can change

2012-06-28 Thread elio francesconi
Hi all,
I'm trying to figure out all cases when an android id can change.
AFAIK the android id can change if:

   - the device is rooted, manually
   - changing OS (Cyanogenmod)

Could it change  upgrading the device in an official way?

Thanks in advance

Elio

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

[android-developers] Integration of different apps in a single app

2012-06-28 Thread Sandeep Venkat
Hi all,

I am having some hundreds of different functionalities of applications and
different activities..I want to make a single app which it stores all other
apps in it!!Is it possible ?

If possible please can anyone tell me the way to find the solution

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

[android-developers] Edit contact programmed sync

2012-06-28 Thread Live Happy
i used android:supportsUploading=true in the sync contacts adapter to can
edit the of contact my application account type but it only show first and
last name in the 2.3 so is possible to make the other filed appear and in
the ics i cant edit anything so is there another way to can edit the sync
contact in the ice cream sandwish version wish someone can help

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

[android-developers] In android how to Login to gtalk

2012-06-28 Thread rajesh chandrasekaran
 
  
Hi All,

Using my android application, i want to login to gtalk and change the 
status of my gmail or gtalk. How can i change it? Is there any sample code??

Thanks in Advance.

Rajesh

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

[android-developers] Re: When the android id can change

2012-06-28 Thread Johan Appelgren
If you mean ANDROID_ID then the documentation is pretty clear I think. 

A 64-bit number (as a hex string) that is randomly generated on the 
device's first boot and should remain constant for the lifetime of the 
device. (The value may change if a factory reset is performed on the 
device.)

http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID
 

On Thursday, June 28, 2012 10:41:58 AM UTC+2, elio wrote:

 Hi all,
 I'm trying to figure out all cases when an android id can change.
 AFAIK the android id can change if:

- the device is rooted, manually
- changing OS (Cyanogenmod)

 Could it change  upgrading the device in an official way?

 Thanks in advance

 Elio





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

Re: [android-developers] don't find my own app in play

2012-06-28 Thread Francisco M. Marzoa Alonso
Did you have a custom ROM on your device?

If the answer is affirmative, then it should be the cause of the
problem, specially if you enabled Copy Protection on Google Play for
your app.

Regards,

On 27/06/12 21:46, toki wrote:
 Hi,

 i don't find my app with in play with my mobile phone. A friend of me, he 
 has the same device, does find the app.
 I didn't find out, whats the reason for this.
 What could be wrong with my device? (the android version should be ok..)

 BR

 Tobias



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


[android-developers] Re: Google I/O 2012 ~ Where's the video?

2012-06-28 Thread Jose_GD
Google IO is being broadcasted live at 
https://developers.google.com/events/io/, for now there are 0 links to 
previos presentations, perhaps they will be added there soon.

José
@Jose_GD https://twitter.com/#%21/Jose_GD
http://mobiledevjourney.blogspot.com

El miércoles, 27 de junio de 2012 21:00:34 UTC-3, mduffy215 escribió:

 I attended the Google I/O extended here in Austin today.

 I would like to view the keynote again and also view some of the other 
 videos.

 Believe it or not, I cannot find easily accessible links for these videos 
 from the Google I/O site or by doing a search on Google or by doing a 
 search on YouTube.

 Seriously???!!!


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

Re: [android-developers] When can we get chrome4android and JellyBean Browser sourcecode?

2012-06-28 Thread Mark Murphy
On Wed, Jun 27, 2012 at 10:56 PM, Yongchao Lao fluk...@gmail.com wrote:
 Can we get the sourcecode after Google I/O 2012 ?

Source code for Jelly Bean will be released sometime after devices hit
the retail channel in July, if I understand correctly.

While it is conceivable that the Android port of Chrome will be
open-sourced, I would not count on it, as Chrome itself is not
open-sourced (*Chromium* is).

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

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


[android-developers] Re: new look for the android app developers website

2012-06-28 Thread Jose_GD
Take a look at the offline version of the docs in your SDK installation.

José
@Jose_GD https://twitter.com/#%21/Jose_GD
http://mobiledevjourney.blogspot.com

El sábado, 23 de junio de 2012 21:55:38 UTC-3, appdev escribió:

 Looks like the android app developers website made a big change. It will 
 take getting used to. Any way to link to the old site/format?

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

Re: [android-developers] Facebook application, with custom device.

2012-06-28 Thread Mark Murphy
On Thu, Jun 28, 2012 at 1:35 AM, imran ali imran...@gmail.com wrote:
 Can i get source code of original FB App?

You would have to ask FB, whoever you think FB is.

 if yes How?

If FB is Facebook, getting the source code is likely to be
impossible by any legal means.

 or any other help or guide line to improve  look and feel as original
 Facebook application?

That would be a question for Facebook. I doubt that they are
monitoring this Google Group for such questions.

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

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


Re: [android-developers] Re: new look for the android app developers website

2012-06-28 Thread Mark Murphy
On Thu, Jun 28, 2012 at 6:54 AM, Jose_GD jose.gonzale...@gmail.com wrote:
 Take a look at the offline version of the docs in your SDK installation.

Those will be replaced with the new look if you install the new docs
for Android 4.1. That being said, you're right -- this should work
until you need an offline copy of the 4.1 docs.

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

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


Re: [android-developers] bug: emulator-x86 + kvm triggers an endless loop in qemu-setup.c

2012-06-28 Thread Mark Murphy
This is probably a better question for the adt-dev Google Group.

On Thu, Jun 28, 2012 at 4:30 AM, Erik Nijkamp enijk...@testobject.org wrote:
 Hello folks,

 we are experiencing a strange behavior while booting kvm-accelerated ICS
 image on some linux machines (both ubuntu  debian):

 emulator-x86 -verbose -show-kernel -avd x86_4_0_3 -no-window -qemu
 -enable-kvm


 The resulting log freezes after:

 emulator: ping program: /opt/android-sdk-linux/tools/ddms


 Therefore, we looked into the source code of the qemu / android emulator and
 stumbled over:

 qemu-setup.c - android_emulation_setup(...)

 if (path_exists(tmp)) {
 ...

 /* disable SIGALRM for the fork(), the periodic signal seems to

 * interefere badly with the fork() implementation on Linux running

 * under VMWare.

 */

 BEGIN_NOSIGALRM

 pid = fork();

 if (pid == 0) {

 int fd = open(/dev/null, O_WRONLY);

 dup2(fd, 1);

 dup2(fd, 2);

 execl( tmp, _ANDROID_PING_PROGRAM, ping, emulator, VERSION_STRING, NULL
 );

 }

 END_NOSIGALRM

 }



 We are pretty certain that the codes hangs while invoking fork().

 Firing strace

 strace emulator-x86 -verbose -show-kernel -avd x86_4_0_3 -no-window -qemu
 -enable-kvm


 spits out an endless continuation of

 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
 child_tidptr=0) = ? ERESTARTNOINTR (To be restarted)
 --- SIGIO (I/O possible) @ 0 (0) ---
 clock_gettime(CLOCK_MONOTONIC, {55232, 717872152}) = 0 sigreturn() = 120
 --- SIGIO (I/O possible) @ 0 (0) ---
 clock_gettime(CLOCK_MONOTONIC, {55232, 719018162}) = 0 sigreturn() = 120
 --- SIGIO (I/O possible) @ 0 (0) ---
 clock_gettime(CLOCK_MONOTONIC, {55232, 719310431}) = 0 sigreturn() = 120
 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
 child_tidptr=0) = ? ERESTARTNOINTR (To be restarted)



 As a temporary workaround, the branch of code in qemu-setup.c triggering the
 fork() can be avoided by renaming the ping program (namely ddms) by

 mv tools/ddms tools/ddms.fork.fix


 However, we would like to avoid this hack in a productive system.


 Any clues why the fork() in combinations with KVM keeps hanging?


 Thanks so much!
 -- erik




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



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

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


Re: [android-developers] Re: Google I/O 2012 ~ Where's the video?

2012-06-28 Thread Henry Addo
On Thu, Jun 28, 2012 at 10:52 AM, Jose_GD jose.gonzale...@gmail.com wrote:

 Google IO is being broadcasted live at
 https://developers.google.com/events/io/, for now there are 0 links to
 previos presentations, perhaps they will be added there soon.


Like Mark said, it takes time to upload these videos. If you really want to
follow what is happening you have to follow the live broadcast.


 José
 @Jose_GD https://twitter.com/#%21/Jose_GD
 http://mobiledevjourney.**blogspot.comhttp://mobiledevjourney.blogspot.com/

 El miércoles, 27 de junio de 2012 21:00:34 UTC-3, mduffy215 escribió:

 I attended the Google I/O extended here in Austin today.

 I would like to view the keynote again and also view some of the other
 videos.

 Believe it or not, I cannot find easily accessible links for these videos
 from the Google I/O site or by doing a search on Google or by doing a
 search on YouTube.

 Seriously???!!!

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


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

[android-developers] Infinite loop bug in GLSurfaceView (up to present version)?

2012-06-28 Thread Tamás Kovács
Hello,

Reproducing the bug: instantiate and add a GLSurface, then set the
interrupted status of your UI thread, and then use removeView to
detach the GLSurface.

To be brief, I think I found a bug, because GLSurfaceView.GLThread
uses the following pattern in its requestExitAndWait() method:

while (!mExited) {
  try {
   sObject.wait();
} catch (InterruptedException ex) {
   Thread.currentThread().interrupt();
}
 }

requestExitAndWait() is called by the UI thread when you detach your
GLSurface. If your UI thread already has interrupted() status for some
reason (e.g. someone handled an interrupt via
currentThread().interrupt()), then the Android code will cause an
infinite loop, because sObject.wait() will never release the sObject
monitor (due to the exception handler), and thus the GL thread will
never be able to set mExited to true.

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


Re: [android-developers] Facebook application, with custom device.

2012-06-28 Thread Henry Addo
On Thu, Jun 28, 2012 at 10:56 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Jun 28, 2012 at 1:35 AM, imran ali imran...@gmail.com wrote:
  Can i get source code of original FB App?

 You would have to ask FB, whoever you think FB is.

  if yes How?

 If FB is Facebook, getting the source code is likely to be
 impossible by any legal means.

  or any other help or guide line to improve  look and feel as original
  Facebook application?

 That would be a question for Facebook. I doubt that they are
 monitoring this Google Group for such questions.


If FB is facebook, their SDK for Android is on github --
https://github.com/facebook/facebook-android-sdk

You can thinker with it then.




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

 _The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


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

[android-developers] Android Text To Speech

2012-06-28 Thread Deepa M
Dear All,
How to pause and playback the text in android code!!!



-- 
Thanks Regards
Deepa M

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

Re: [android-developers] Android Text To Speech

2012-06-28 Thread Rocky
Deepa,

check here -
https://alltechsolution.wordpress.com/2011/10/18/texttospeach-example/

if feel informatic to you


On Thu, Jun 28, 2012 at 5:22 PM, Deepa M deepam8...@gmail.com wrote:

 Dear All,
 How to pause and playback the text in android code!!!



 --
 Thanks Regards
 Deepa M


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




-- 
Thanks  Regards

Rakesh Kumar Jha
Android Developer, Trainer and Mentor
Bangalore
Skype - rkjhaw
(O) +918050753516
(R) +919886336619

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

Re: [android-developers] Android Text To Speech

2012-06-28 Thread Fabien R
On 28/06/12 13:52, Deepa M wrote:
 Dear All,
 How to pause and playback the text in android code!!!



   
I think you have to generate the wav file and use the MediaPlayer to
achieve this.
-
Fabien

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


Re: [android-developers] Re: leaked window again

2012-06-28 Thread mahmoud emam
thanks

On Wed, Jun 27, 2012 at 5:49 PM, Justin Anderson magouyaw...@gmail.comwrote:

 It looks to me as if one of those dialogs is being created when the
 context is null, or at least invalid.

 That's kind of what I was thinking too...


 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Tue, Jun 26, 2012 at 5:00 PM, G. Blake Meike blake.me...@gmail.comwrote:

 It looks to me as if one of those dialogs is being created when the
 context is null, or at least invalid.


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


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

Re: [android-developers] When can we get chrome4android and JellyBean Browser sourcecode?

2012-06-28 Thread sri kanth
tell me the correct date dude

On Thu, Jun 28, 2012 at 4:23 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Wed, Jun 27, 2012 at 10:56 PM, Yongchao Lao fluk...@gmail.com wrote:
  Can we get the sourcecode after Google I/O 2012 ?

 Source code for Jelly Bean will be released sometime after devices hit
 the retail channel in July, if I understand correctly.

 While it is conceivable that the Android port of Chrome will be
 open-sourced, I would not count on it, as Chrome itself is not
 open-sourced (*Chromium* is).

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

 _The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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




-- 
*Thanks  Regards,
Srikanth T,
Android Developer,
Cell :- (+91) 96400 31533.*

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

[android-developers] Re: When can we get chrome4android and JellyBean Browser sourcecode?

2012-06-28 Thread Alessandro Pellizzari
Il Thu, 28 Jun 2012 18:55:24 +0530, sri kanth ha scritto:

 tell me the correct date dude

03:14:07 UTC on Tuesday, 19 January 2038


Bye.


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


Re: [android-developers] Problem optimizing views for having a fast scroll

2012-06-28 Thread Justin Anderson
Usually the best thing you can do for scroll performance of a list is to
implement view recycling... Are you doing that?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 28, 2012 at 6:27 AM, jean-francois garreau 
jean.francois.garr...@gmail.com wrote:

 Hi everyone,

 I have a problem for optimzing my application. More particulary, an
 ExpandListView. I found the scroll animation pretty slow compare to what I
 can see on other application. I have done severals optimizations yet but
 now I'm faced to a lack of idea for have a fluent scroll...

 What have done :

1. First i start to create CustomView inherting from View
2. I saw that in log I have lots of GC
3. I have use allocationTracket in DDMS in order to see what are the
object created who could cause my GC
4. I identify lots of instanciations of String so I've modify my model
in order to carry all the string i need in order to avoid new creations of
String
5. I also try to write a reusable object corresponding to a drawable
instruction in order to skim throught all instruction during the draw 
 method


 In order to gives you all information for helping me with my code, here is
 a litle piece of functionnal.

 My app is an application which gives you the movies showtimes near your
 position. The expand list show thoses informations :

  *Name Cinema :   [Image]*
  distance

 --
 *Movie Name 1 :* time
 passed time 1 | passed time 2 | *nearest time* |
 futur time 1 | futur time 2

 -
 *Movie Name 2 :* time
 passed time 1 | passed time 2 | *nearest time* |
 futur time 1 | futur time 2

 -


 etc.

 As you can see, on each movie I list all showtimes for the cinema and I
 have a diferent display according to the current time

 In term of Model Object, I have this structure in my adapter :

 ArrayListTheaterBean theaterList; // The list of my cinema
 HashMapString, Movie mapMovie; // An hashmap which gives me the movie
 corresponding to an id


 The problem I'm facing now is that when i look at the log, I still have
 lots of GC... and when i looked to the allocationTracker i see that :

 In first position comes android.graphic.Bitmap from method nativeCreate
 and it's corresponding stack is :

 android.graphics.Bitmap nativeCreate Bitmap.java -2 true
 android.graphics.Bitmap createBitmap Bitmap.java 477 false
 android.view.View buildDrawingCache View.java 6599 false
 android.view.View getDrawingCache View.java 6450 false
 android.view.ViewGroup drawChild ViewGroup.java 1571 false
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false
 android.widget.AbsListView dispatchDraw AbsListView.java 1545 false
 android.widget.ListView dispatchDraw ListView.java 3138 false
 android.widget.ExpandableListView dispatchDraw ExpandableListView.java
 229 false
 android.view.View draw View.java 7008 false
 android.widget.AbsListView draw AbsListView.java 2669 false
 android.view.ViewGroup drawChild ViewGroup.java 1646 false
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false
 android.view.ViewGroup drawChild ViewGroup.java 1644 false
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false
 android.view.ViewGroup drawChild ViewGroup.java 1644 false


 In second position comes lots of  android.widget.ExpandableListPosition
 comming from getRecycleCreate the stack is :

 android.widget.ExpandableListPosition getRecycledOrCreate
 ExpandableListPosition.java 121 false
 android.widget.ExpandableListPosition obtain ExpandableListPosition.java
 107 false
 android.widget.ExpandableListConnector$PositionMetadata obtain
 ExpandableListConnector.java 988 false
 android.widget.ExpandableListConnector getUnflattenedPos
 ExpandableListConnector.java 176 false
 android.widget.ExpandableListConnector getItemViewType
 ExpandableListConnector.java 464 false
 android.widget.AbsListView$RecycleBin getScrapView AbsListView.java 4603
 false
 android.widget.AbsListView obtainView AbsListView.java 1465 false
 android.widget.ListView makeAndAddView ListView.java 1745 false
 android.widget.ListView fillDown ListView.java 670 false
 android.widget.ListView fillGap ListView.java 641 false
 android.widget.AbsListView trackMotionScroll AbsListView.java 3497 false
 android.widget.AbsListView$FlingRunnable run AbsListView.java 2994 false
 android.os.Handler handleCallback Handler.java 587 false
 android.os.Handler dispatchMessage Handler.java 92 false
 android.os.Looper loop Looper.java 130 false
 android.app.ActivityThread main ActivityThread.java 3835 false


 After I have lots of java.lang.ref.SoftReference comming from
 

Re: [android-developers] In android how to Login to gtalk

2012-06-28 Thread Justin Anderson

 Using my android application, i want to login to gtalk and change the
 status of my gmail or gtalk. How can i change it? Is there any sample code??


I highly doubt it...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 28, 2012 at 3:37 AM, rajesh chandrasekaran 
crajeshdanger...@gmail.com wrote:


   Hi All,

 Using my android application, i want to login to gtalk and change the
 status of my gmail or gtalk. How can i change it? Is there any sample code??

 Thanks in Advance.

 Rajesh

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

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

Re: [android-developers] Integration of different apps in a single app

2012-06-28 Thread Justin Anderson
You have already asked this question and you were given a very definitive
answer that this is not possible.  Please don't ask questions that you have
already received the answer to...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 28, 2012 at 2:54 AM, Sandeep Venkat
sand...@believecreative.inwrote:

 Hi all,

 I am having some hundreds of different functionalities of applications and
 different activities..I want to make a single app which it stores all other
 apps in it!!Is it possible ?

 If possible please can anyone tell me the way to find the solution

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

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

Re: [android-developers] Facebook application, with custom device.

2012-06-28 Thread Syed Imran Ali
Thanks All.

Regards
Imran Ali

On Thu, Jun 28, 2012 at 4:50 PM, Henry Addo add...@gmail.com wrote:

 On Thu, Jun 28, 2012 at 10:56 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Jun 28, 2012 at 1:35 AM, imran ali imran...@gmail.com wrote:
  Can i get source code of original FB App?

 You would have to ask FB, whoever you think FB is.

  if yes How?

 If FB is Facebook, getting the source code is likely to be
 impossible by any legal means.

  or any other help or guide line to improve  look and feel as original
  Facebook application?

 That would be a question for Facebook. I doubt that they are
 monitoring this Google Group for such questions.


 If FB is facebook, their SDK for Android is on github --
 https://github.com/facebook/facebook-android-sdk

 You can thinker with it then.




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

 _The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


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




-- 

Regards

عمر ا ن علی
Syed Imran Ali
http://sites.google.com/site/alifamilyinfo

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

[android-developers] Re: Problem optimizing views for having a fast scroll

2012-06-28 Thread jean-francois garreau
You mean  : 

public View getChildView(int groupPosition, int childPosition, boolean 
isLastChild, View convertView, ViewGroup parent) {

ObjectSubViewNew subView = null;
if (convertView == null) {
subView = new ObjectSubViewNew(mainContext, kmUnit);
} else {
subView = (ObjectSubViewNew) convertView;
}
 
}

?


Le jeudi 28 juin 2012 14:27:14 UTC+2, jean-francois garreau a écrit :

 Hi everyone, 

 I have a problem for optimzing my application. More particulary, an 
 ExpandListView. I found the scroll animation pretty slow compare to what I 
 can see on other application. I have done severals optimizations yet but 
 now I'm faced to a lack of idea for have a fluent scroll...

 What have done : 

1. First i start to create CustomView inherting from View
2. I saw that in log I have lots of GC
3. I have use allocationTracket in DDMS in order to see what are the 
object created who could cause my GC
4. I identify lots of instanciations of String so I've modify my model 
in order to carry all the string i need in order to avoid new creations of 
String
5. I also try to write a reusable object corresponding to a drawable 
instruction in order to skim throught all instruction during the draw 
 method


 In order to gives you all information for helping me with my code, here is 
 a litle piece of functionnal.

 My app is an application which gives you the movies showtimes near your 
 position. The expand list show thoses informations :

  *Name Cinema :   [Image]*
  distance  

 --
 *Movie Name 1 :* time
 passed time 1 | passed time 2 | *nearest time* | 
 futur time 1 | futur time 2 
 
 -
 *Movie Name 2 :* time
 passed time 1 | passed time 2 | *nearest time* | 
 futur time 1 | futur time 2 
 
 -


 etc.

 As you can see, on each movie I list all showtimes for the cinema and I 
 have a diferent display according to the current time

 In term of Model Object, I have this structure in my adapter : 

 ArrayListTheaterBean theaterList; // The list of my cinema
 HashMapString, Movie mapMovie; // An hashmap which gives me the movie 
 corresponding to an id


 The problem I'm facing now is that when i look at the log, I still have 
 lots of GC... and when i looked to the allocationTracker i see that :

 In first position comes android.graphic.Bitmap from method nativeCreate 
 and it's corresponding stack is : 

 android.graphics.Bitmap nativeCreate Bitmap.java -2 true 
 android.graphics.Bitmap createBitmap Bitmap.java 477 false 
 android.view.View buildDrawingCache View.java 6599 false 
 android.view.View getDrawingCache View.java 6450 false 
 android.view.ViewGroup drawChild ViewGroup.java 1571 false 
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false 
 android.widget.AbsListView dispatchDraw AbsListView.java 1545 false 
 android.widget.ListView dispatchDraw ListView.java 3138 false 
 android.widget.ExpandableListView dispatchDraw ExpandableListView.java 
 229 false 
 android.view.View draw View.java 7008 false 
 android.widget.AbsListView draw AbsListView.java 2669 false 
 android.view.ViewGroup drawChild ViewGroup.java 1646 false 
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false 
 android.view.ViewGroup drawChild ViewGroup.java 1644 false 
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false 
 android.view.ViewGroup drawChild ViewGroup.java 1644 false 


 In second position comes lots of  android.widget.ExpandableListPosition 
 comming from getRecycleCreate the stack is : 

 android.widget.ExpandableListPosition getRecycledOrCreate 
 ExpandableListPosition.java 121 false 
 android.widget.ExpandableListPosition obtain ExpandableListPosition.java 
 107 false 
 android.widget.ExpandableListConnector$PositionMetadata obtain 
 ExpandableListConnector.java 988 false 
 android.widget.ExpandableListConnector getUnflattenedPos 
 ExpandableListConnector.java 176 false 
 android.widget.ExpandableListConnector getItemViewType 
 ExpandableListConnector.java 464 false 
 android.widget.AbsListView$RecycleBin getScrapView AbsListView.java 4603 
 false 
 android.widget.AbsListView obtainView AbsListView.java 1465 false 
 android.widget.ListView makeAndAddView ListView.java 1745 false 
 android.widget.ListView fillDown ListView.java 670 false 
 android.widget.ListView fillGap ListView.java 641 false 
 android.widget.AbsListView trackMotionScroll AbsListView.java 3497 false 
 android.widget.AbsListView$FlingRunnable run AbsListView.java 2994 

[android-developers] Version code already exists?

2012-06-28 Thread Dan Uff
Hi all,

I am trying to update my app but am having a problem.

I've updated the android:versionCode to the next number, but Google Play 
keeps giving me:

Version Code Already Exists 

and then it shows the previous version number.

I made sure the version code is changed in the AndroidManifesrt.xml file. 
 It is.

What can I do to fix this?

Thanks,
Dan Uff

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

Re: [android-developers] Version code already exists?

2012-06-28 Thread Justin Anderson
Try incrementing it again...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 28, 2012 at 7:51 AM, Dan Uff danny@gmail.com wrote:

 Hi all,

 I am trying to update my app but am having a problem.

 I've updated the android:versionCode to the next number, but Google Play
 keeps giving me:

 Version Code Already Exists

 and then it shows the previous version number.

 I made sure the version code is changed in the AndroidManifesrt.xml file.
  It is.

 What can I do to fix this?

 Thanks,
 Dan Uff

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

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

Re: [android-developers] Re: Problem optimizing views for having a fast scroll

2012-06-28 Thread Justin Anderson
Nope... http://lmgtfy.com/?q=android+viewholder+pattern

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 28, 2012 at 7:50 AM, jean-francois garreau 
jean.francois.garr...@gmail.com wrote:

 You mean  :

 public View getChildView(int groupPosition, int childPosition, boolean 
 isLastChild, View convertView, ViewGroup parent) {


   ObjectSubViewNew subView = null;

   if (convertView == null) {
   subView = new ObjectSubViewNew(mainContext, kmUnit);
   } else {
   subView = (ObjectSubViewNew) convertView;
   }
  
 }

 ?


 Le jeudi 28 juin 2012 14:27:14 UTC+2, jean-francois garreau a écrit :

 Hi everyone,

 I have a problem for optimzing my application. More particulary, an
 ExpandListView. I found the scroll animation pretty slow compare to what I
 can see on other application. I have done severals optimizations yet but
 now I'm faced to a lack of idea for have a fluent scroll...

 What have done :

1. First i start to create CustomView inherting from View
2. I saw that in log I have lots of GC
3. I have use allocationTracket in DDMS in order to see what are the
object created who could cause my GC
4. I identify lots of instanciations of String so I've modify my
model in order to carry all the string i need in order to avoid new
creations of String
5. I also try to write a reusable object corresponding to a drawable
instruction in order to skim throught all instruction during the draw 
 method


 In order to gives you all information for helping me with my code, here
 is a litle piece of functionnal.

 My app is an application which gives you the movies showtimes near your
 position. The expand list show thoses informations :

  *Name Cinema :   [Image]*
  distance
 --**--**
 --
 *Movie Name 1 :* time
 passed time 1 | passed time 2 | *nearest time* |
 futur time 1 | futur time 2
 --**
 --**-
 *Movie Name 2 :* time
 passed time 1 | passed time 2 | *nearest time* |
 futur time 1 | futur time 2
 --**
 --**-


 etc.

 As you can see, on each movie I list all showtimes for the cinema and I
 have a diferent display according to the current time

 In term of Model Object, I have this structure in my adapter :

 ArrayListTheaterBean theaterList; // The list of my cinema
 HashMapString, Movie mapMovie; // An hashmap which gives me the movie
 corresponding to an id


 The problem I'm facing now is that when i look at the log, I still have
 lots of GC... and when i looked to the allocationTracker i see that :

 In first position comes android.graphic.Bitmap from method nativeCreate
 and it's corresponding stack is :

 android.graphics.Bitmap nativeCreate Bitmap.java -2 true
 android.graphics.Bitmap createBitmap Bitmap.java 477 false
 android.view.View buildDrawingCache View.java 6599 false
 android.view.View getDrawingCache View.java 6450 false
 android.view.ViewGroup drawChild ViewGroup.java 1571 false
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false
 android.widget.AbsListView dispatchDraw AbsListView.java 1545 false
 android.widget.ListView dispatchDraw ListView.java 3138 false
 android.widget.**ExpandableListView dispatchDraw ExpandableListView.java
 229 false
 android.view.View draw View.java 7008 false
 android.widget.AbsListView draw AbsListView.java 2669 false
 android.view.ViewGroup drawChild ViewGroup.java 1646 false
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false
 android.view.ViewGroup drawChild ViewGroup.java 1644 false
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false
 android.view.ViewGroup drawChild ViewGroup.java 1644 false


 In second position comes lots of  android.widget.**ExpandableListPosition
 comming from getRecycleCreate the stack is :

 android.widget.**ExpandableListPosition getRecycledOrCreate
 ExpandableListPosition.java 121 false
 android.widget.**ExpandableListPosition obtain
 ExpandableListPosition.java 107 false
 android.widget.**ExpandableListConnector$**PositionMetadata obtain
 ExpandableListConnector.java 988 false
 android.widget.**ExpandableListConnector getUnflattenedPos
 ExpandableListConnector.java 176 false
 android.widget.**ExpandableListConnector getItemViewType
 ExpandableListConnector.java 464 false
 android.widget.AbsListView$**RecycleBin getScrapView AbsListView.java
 4603 false
 android.widget.AbsListView obtainView AbsListView.java 1465 false
 android.widget.ListView makeAndAddView ListView.java 1745 false
 android.widget.ListView fillDown ListView.java 670 

Re: [android-developers] Re: Problem optimizing views for having a fast scroll

2012-06-28 Thread Justin Anderson

 Usually the best thing you can do for scroll performance of a list is to
 implement view recycling... Are you doing that?


Reading over this I realized that it didn't make sense... You don't
implement view recycling.  You implement the ViewHolder pattern to help
with scroll performance issues.  Hope that clarifies things...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 28, 2012 at 7:58 AM, Justin Anderson magouyaw...@gmail.comwrote:

 Nope... http://lmgtfy.com/?q=android+viewholder+pattern


 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Thu, Jun 28, 2012 at 7:50 AM, jean-francois garreau 
 jean.francois.garr...@gmail.com wrote:

 You mean  :


 public View getChildView(int groupPosition, int childPosition, boolean 
 isLastChild, View convertView, ViewGroup parent) {




  ObjectSubViewNew subView = null;


  if (convertView == null) {

  subView = new ObjectSubViewNew(mainContext, kmUnit);

  } else {

  subView = (ObjectSubViewNew) convertView;

  }

  
 }


 ?


 Le jeudi 28 juin 2012 14:27:14 UTC+2, jean-francois garreau a écrit :

 Hi everyone,

 I have a problem for optimzing my application. More particulary, an
 ExpandListView. I found the scroll animation pretty slow compare to what I
 can see on other application. I have done severals optimizations yet but
 now I'm faced to a lack of idea for have a fluent scroll...

 What have done :

1. First i start to create CustomView inherting from View
2. I saw that in log I have lots of GC
3. I have use allocationTracket in DDMS in order to see what are the
object created who could cause my GC
4. I identify lots of instanciations of String so I've modify my
model in order to carry all the string i need in order to avoid new
creations of String
5. I also try to write a reusable object corresponding to a drawable
instruction in order to skim throught all instruction during the draw 
 method


 In order to gives you all information for helping me with my code, here
 is a litle piece of functionnal.

 My app is an application which gives you the movies showtimes near your
 position. The expand list show thoses informations :

  *Name Cinema :   [Image]*
  distance
 --**--**
 --
 *Movie Name 1 :* time
 passed time 1 | passed time 2 | *nearest time* |
 futur time 1 | futur time 2
 --**
 --**-
 *Movie Name 2 :* time
 passed time 1 | passed time 2 | *nearest time* |
 futur time 1 | futur time 2
 --**
 --**-


 etc.

 As you can see, on each movie I list all showtimes for the cinema and I
 have a diferent display according to the current time

 In term of Model Object, I have this structure in my adapter :

 ArrayListTheaterBean theaterList; // The list of my cinema
 HashMapString, Movie mapMovie; // An hashmap which gives me the movie
 corresponding to an id


 The problem I'm facing now is that when i look at the log, I still have
 lots of GC... and when i looked to the allocationTracker i see that :

 In first position comes android.graphic.Bitmap from method nativeCreate
 and it's corresponding stack is :

 android.graphics.Bitmap nativeCreate Bitmap.java -2 true
 android.graphics.Bitmap createBitmap Bitmap.java 477 false
 android.view.View buildDrawingCache View.java 6599 false
 android.view.View getDrawingCache View.java 6450 false
 android.view.ViewGroup drawChild ViewGroup.java 1571 false
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false
 android.widget.AbsListView dispatchDraw AbsListView.java 1545 false
 android.widget.ListView dispatchDraw ListView.java 3138 false
 android.widget.**ExpandableListView dispatchDraw
 ExpandableListView.java 229 false
 android.view.View draw View.java 7008 false
 android.widget.AbsListView draw AbsListView.java 2669 false
 android.view.ViewGroup drawChild ViewGroup.java 1646 false
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false
 android.view.ViewGroup drawChild ViewGroup.java 1644 false
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false
 android.view.ViewGroup drawChild ViewGroup.java 1644 false


 In second position comes lots of  android.widget.**ExpandableListPosition
 comming from getRecycleCreate the stack is :

 android.widget.**ExpandableListPosition getRecycledOrCreate
 ExpandableListPosition.java 121 false
 android.widget.**ExpandableListPosition obtain
 ExpandableListPosition.java 107 false
 android.widget.**ExpandableListConnector$**PositionMetadata 

Re: [android-developers] MenuCompat and MenuItemCompat

2012-06-28 Thread Justin Anderson

 what does the two classes do actually? and how i can use it?


Did you read the docs for them?  There is not a whole lot there, but the
description certainly answers the first question...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 28, 2012 at 2:08 AM, marcin kolonko makolo...@gmail.com wrote:

 what does the two classes do actually? and how i can use it?

 thx

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

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

Re: [android-developers] Open Coral Draw File in android

2012-06-28 Thread Justin Anderson
Your question is not on topic for this list...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 28, 2012 at 1:39 AM, news.anand11 news.anan...@gmail.comwrote:

 Hi i wanted to know that is there any app available in android which can
 open a coral draw file?
 If any other alternative is available to see the .cdr file then please
 suggest me.

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

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

Re: [android-developers] dpi checking

2012-06-28 Thread bob
 

Thanks.  I used tDpiInfo.  My 10.1 inch Galaxy Tab is mdpi.

On Wednesday, June 27, 2012 5:23:35 PM UTC-5, Mark Murphy (a Commons Guy) 
wrote:

 On Wed, Jun 27, 2012 at 6:19 PM, Justin Anderson magouyaw...@gmail.com 
 wrote: 
  But, to answer your question... 
  
  One thing you can do is create a little test app and use the 
 DisplayMetrics 
  class to figure out the screen density: 
  http://developer.android.com/reference/android/util/DisplayMetrics.html 

 There are several for this on the Play Store. I used tDpiInfo yesterday: 


 https://play.google.com/store/apps/details?id=jp.co.taosoftware.android.dpiinfofeature=nav_result
  

 BTW, the new 1080p tablets (Acer Iconia Tab A700, Asus Transformer 
 Infinity) are -hdpi: 


 http://commonsware.com/blog/2012/06/26/i-for-one-welcome-our-new-1080p-tablet-overlords.html
  

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

 _The Busy Coder's Guide to Android Development_ Version 3.7 Available! 


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

Re: [android-developers] Re: Problem optimizing views for having a fast scroll

2012-06-28 Thread jean-francois garreau
The problem is : as I'm creating my custom view heriting from View, I don't 
have any findById so the pattent viewHolder won't be useFull for me :(

And I'm already implemnting it with the view recycling view system. Indeed, 
in my View I use some Paint elements that I keep in the instance of my view.

Le jeudi 28 juin 2012 15:58:53 UTC+2, MagouyaWare a écrit :

 Nope... http://lmgtfy.com/?q=android+viewholder+pattern

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Thu, Jun 28, 2012 at 7:50 AM, jean-francois garreau 
 jean.francois.garr...@gmail.com wrote:

 You mean  : 


 public View getChildView(int groupPosition, int childPosition, boolean 
 isLastChild, View convertView, ViewGroup parent) {




  ObjectSubViewNew subView = null;


  if (convertView == null) {

  subView = new ObjectSubViewNew(mainContext, kmUnit);

  } else {

  subView = (ObjectSubViewNew) convertView;

  }

  
 }


 ?


 Le jeudi 28 juin 2012 14:27:14 UTC+2, jean-francois garreau a écrit :

 Hi everyone, 

 I have a problem for optimzing my application. More particulary, an 
 ExpandListView. I found the scroll animation pretty slow compare to what I 
 can see on other application. I have done severals optimizations yet but 
 now I'm faced to a lack of idea for have a fluent scroll...

 What have done : 

1. First i start to create CustomView inherting from View
2. I saw that in log I have lots of GC 
3. I have use allocationTracket in DDMS in order to see what are the 
object created who could cause my GC
4. I identify lots of instanciations of String so I've modify my 
model in order to carry all the string i need in order to avoid new 
creations of String 
5. I also try to write a reusable object corresponding to a drawable 
instruction in order to skim throught all instruction during the draw 
 method


 In order to gives you all information for helping me with my code, here 
 is a litle piece of functionnal.

 My app is an application which gives you the movies showtimes near your 
 position. The expand list show thoses informations :

  *Name Cinema :   [Image]*
  distance  
 --**--**
 --
 *Movie Name 1 :* time
 passed time 1 | passed time 2 | *nearest time* | 
 futur time 1 | futur time 2 
 --**
 --**-
 *Movie Name 2 :* time
 passed time 1 | passed time 2 | *nearest time* | 
 futur time 1 | futur time 2 
 --**
 --**-


 etc.

 As you can see, on each movie I list all showtimes for the cinema and I 
 have a diferent display according to the current time

 In term of Model Object, I have this structure in my adapter : 

 ArrayListTheaterBean theaterList; // The list of my cinema
 HashMapString, Movie mapMovie; // An hashmap which gives me the movie 
 corresponding to an id


 The problem I'm facing now is that when i look at the log, I still have 
 lots of GC... and when i looked to the allocationTracker i see that :

 In first position comes android.graphic.Bitmap from method nativeCreate 
 and it's corresponding stack is : 

 android.graphics.Bitmap nativeCreate Bitmap.java -2 true 
 android.graphics.Bitmap createBitmap Bitmap.java 477 false 
 android.view.View buildDrawingCache View.java 6599 false 
 android.view.View getDrawingCache View.java 6450 false 
 android.view.ViewGroup drawChild ViewGroup.java 1571 false 
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false 
 android.widget.AbsListView dispatchDraw AbsListView.java 1545 false 
 android.widget.ListView dispatchDraw ListView.java 3138 false 
 android.widget.**ExpandableListView dispatchDraw 
 ExpandableListView.java 229 false 
 android.view.View draw View.java 7008 false 
 android.widget.AbsListView draw AbsListView.java 2669 false 
 android.view.ViewGroup drawChild ViewGroup.java 1646 false 
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false 
 android.view.ViewGroup drawChild ViewGroup.java 1644 false 
 android.view.ViewGroup dispatchDraw ViewGroup.java 1373 false 
 android.view.ViewGroup drawChild ViewGroup.java 1644 false 


 In second position comes lots of  android.widget.**ExpandableListPosition 
 comming from getRecycleCreate the stack is : 

 android.widget.**ExpandableListPosition getRecycledOrCreate 
 ExpandableListPosition.java 121 false 
 android.widget.**ExpandableListPosition obtain 
 ExpandableListPosition.java 107 false 
 android.widget.**ExpandableListConnector$**PositionMetadata obtain 
 ExpandableListConnector.java 988 false 
 

Re: [android-developers] Re: How to create a x509 certificate?

2012-06-28 Thread Антон Дьяченко
Actually, I can add external Bouncy Castle in my apk(at least in simulator
Android 4.0.3 and BC 1.47 in debug). I also need to make signature in PKCS7
format. I've already implement using external BC, but I must use the built
in crypt provider. Can I use Signature class or any other class from
java.security package to make PKCS7 signature? I also know that Android
shipped with OpenSSL, so I can use it through NDK but I can't understand
how can I link with it,because I don't see *.so files corresponding it in
any NDK directories.

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

Re: [android-developers] Version code already exists?

2012-06-28 Thread Dan Uff
I've found the answer.  I wasn't saving the new version to disk before 
uploading the new one.

Thanks!
Dan

On Thursday, June 28, 2012 9:57:29 AM UTC-4, MagouyaWare wrote:

 Try incrementing it again...

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Thu, Jun 28, 2012 at 7:51 AM, Dan Uff danny@gmail.com wrote:

 Hi all,

 I am trying to update my app but am having a problem.

 I've updated the android:versionCode to the next number, but Google Play 
 keeps giving me:

  Version Code Already Exists 

 and then it shows the previous version number.

 I made sure the version code is changed in the AndroidManifesrt.xml file. 
  It is.

 What can I do to fix this?

 Thanks,
 Dan Uff

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




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

[android-developers] Sandwich situation

2012-06-28 Thread bob
 

I'm developing software that will eventually run on an Ice Cream Sandwich 
phone.


However, I don't have a Sandwich phone yet since my provider (MetroPCS) 
does not offer Sandwiches yet.


Anyone know if the Sandwiches are usually hdpi or mdpi?  And, is there a 
way to get one without entering into a 2 year contract?

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

Re: [android-developers] Generating apk on Windows and OSX

2012-06-28 Thread Marcin Orlowski
peek logcat for any light. As long as APK is valid (and so is cert) it
shall be no difference whetever it was build on mac or windows

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

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

Re: [android-developers] Sandwich situation

2012-06-28 Thread Raghav Sood
There is no fixed density for ICS devices. While most phones I've
encountered are mdpi and hdpi, nothing stops people from porting ICS to
some ldpi devices. Why don't you just design your app to work with all of
them?

Also, you can get an unlocked phone if you don't want a contract.

Thanks

On Thu, Jun 28, 2012 at 7:56 PM, bob b...@coolfone.comze.com wrote:

 I'm developing software that will eventually run on an Ice Cream Sandwich
 phone.


 However, I don't have a Sandwich phone yet since my provider (MetroPCS)
 does not offer Sandwiches yet.


 Anyone know if the Sandwiches are usually hdpi or mdpi?  And, is there a
 way to get one without entering into a 2 year contract?

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




-- 
Raghav Sood
Please do not email private questions to me as I do not have time to answer
them. Instead, post them to public forums where others and I can answer and
benefit from them.
http://www.appaholics.in/ - Founder
http://www.apress.com/9781430239451 - Author
+91 81 303 77248

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

Re: [android-developers] Sandwich situation

2012-06-28 Thread Mark Murphy
On Thu, Jun 28, 2012 at 10:26 AM, bob b...@coolfone.comze.com wrote:
 Anyone know if the Sandwiches are usually hdpi or mdpi?

There is no correlation between density and version. I have -mdpi,
-hdpi, and -xhdpi ICS devices within 10 feet of me right now.

 And, is there a way
 to get one without entering into a 2 year contract?

Buy a tablet (e.g., Samsung Galaxy Tab 2, 250 USD). Or, buy an
unlocked phone and just use it on WiFi.

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

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


[android-developers] Re: Top Developer?

2012-06-28 Thread Martin Krischik
Am Mittwoch, 27. Juni 2012 21:36:41 UTC+2 schrieb jtoolsdev:

 There might be  a tendency for less experienced developers to flame those 
 who post negative comments causing an experience Google doesn't want.


I never flamed any customer. But then I am not less experienced — just an 
Attic / Spare Time developer.

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

Re: [android-developers] Access to phone's built-in OpenSSL?

2012-06-28 Thread Anton Dyachenko
Please, can you explain process of linking with built in OpenSSL in 
details. I don't understand what does it mean EVP/Standard stuff. I've 
already made my own *.so linked against static OpenSSL for test reason, but 
i must use built in OpenSSL. How can I do it?

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

Re: [android-developers] Access to phone's built-in OpenSSL?

2012-06-28 Thread Mark Murphy
Questions regarding developing with the NDK belong on the android-ndk
Google Group.

On Thu, Jun 28, 2012 at 10:44 AM, Anton Dyachenko amdjache...@gmail.com wrote:
 Please, can you explain process of linking with built in OpenSSL in details.
 I don't understand what does it mean EVP/Standard stuff. I've already made
 my own *.so linked against static OpenSSL for test reason, but i must use
 built in OpenSSL. How can I do it?

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



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

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


[android-developers] Where have all the tutorials gone ?

2012-06-28 Thread Simon Giddings
Since the new version of the developers site has come online 
(developer.android.com), I am unable to find the tutorials !

Does anyone know where they are ?

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

Re: [android-developers] Where have all the tutorials gone ?

2012-06-28 Thread Mark Murphy
On Thu, Jun 28, 2012 at 10:55 AM, Simon Giddings
mr.s.giddi...@gmail.com wrote:
 Since the new version of the developers site has come online
 (developer.android.com), I am unable to find the tutorials !

 Does anyone know where they are ?

http://developer.android.com/training/index.html

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

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


Re: [android-developers] Where have all the tutorials gone ?

2012-06-28 Thread Sachin K Poddar

Use this...
http://developer.android.com/training/index.html

Sachin Poddar

On 6/28/2012 8:25 PM, Simon Giddings wrote:
Since the new version of the developers site has come online 
(developer.android.com), I am unable to find the tutorials !


Does anyone know where they are ?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en 


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

[android-developers] Question about this group itself

2012-06-28 Thread Francisco M. Marzoa Alonso
Hi,

Well, my problem is that I do not see my own posts on this group through
my Thunderbird mail client since I subscribed to it. I know they reaches
the group because I receive the answers, and also they are visible
through web G. groups interface. But they seem not to reach my Inbox.

I do not know if it is a problem of Thunderbird, the GMail account I use
to subscribe to the group, or some configuration related to the group
subscription itself. I do not discard no option, although if I send a
message to myself with that gmail account, it reaches my Inbox with no
problems, so I think that the group subscription setting is the most
plausible cause.

If someone has a clue on how to solve this...

Thanks a lot in advance,

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


[android-developers]

2012-06-28 Thread Євгеній Коцюбинський


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

Re: [android-developers] Question about this group itself

2012-06-28 Thread Raghav Sood
This is the default behavior for all of the Google Groups. Your own
messages will not be sent to your inbox, unless you receive a reply, in
which case a thread will be created. You can add messages to your thread
without having received a reply by going to sent mail and replying to it.

Thanks

On Thu, Jun 28, 2012 at 8:38 PM, Francisco M. Marzoa Alonso 
fmmar...@gmail.com wrote:

 Hi,

 Well, my problem is that I do not see my own posts on this group through
 my Thunderbird mail client since I subscribed to it. I know they reaches
 the group because I receive the answers, and also they are visible
 through web G. groups interface. But they seem not to reach my Inbox.

 I do not know if it is a problem of Thunderbird, the GMail account I use
 to subscribe to the group, or some configuration related to the group
 subscription itself. I do not discard no option, although if I send a
 message to myself with that gmail account, it reaches my Inbox with no
 problems, so I think that the group subscription setting is the most
 plausible cause.

 If someone has a clue on how to solve this...

 Thanks a lot in advance,

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




-- 
Raghav Sood
Please do not email private questions to me as I do not have time to answer
them. Instead, post them to public forums where others and I can answer and
benefit from them.
http://www.appaholics.in/ - Founder
http://www.apress.com/9781430239451 - Author
+91 81 303 77248

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

[android-developers] Re: Question about this group itself

2012-06-28 Thread RichardC
What have you set your Group Subscribe Email option to click [My 
Membership] from the web interface?

On Thursday, June 28, 2012 4:08:41 PM UTC+1, Fran wrote:

 Hi, 

 Well, my problem is that I do not see my own posts on this group through 
 my Thunderbird mail client since I subscribed to it. I know they reaches 
 the group because I receive the answers, and also they are visible 
 through web G. groups interface. But they seem not to reach my Inbox. 

 I do not know if it is a problem of Thunderbird, the GMail account I use 
 to subscribe to the group, or some configuration related to the group 
 subscription itself. I do not discard no option, although if I send a 
 message to myself with that gmail account, it reaches my Inbox with no 
 problems, so I think that the group subscription setting is the most 
 plausible cause. 

 If someone has a clue on how to solve this... 

 Thanks a lot in advance, 



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

Re: [android-developers] Question about this group itself

2012-06-28 Thread Daniel Drozdzewski
http://superuser.com/questions/84951/thunderbird-3-via-gmail-imap-to-google-groups-sent-items-do-not-show-up

On 28 June 2012 16:16, Raghav Sood raghavs...@gmail.com wrote:
 This is the default behavior for all of the Google Groups. Your own messages
 will not be sent to your inbox, unless you receive a reply, in which case a
 thread will be created. You can add messages to your thread without having
 received a reply by going to sent mail and replying to it.

 Thanks


 On Thu, Jun 28, 2012 at 8:38 PM, Francisco M. Marzoa Alonso
 fmmar...@gmail.com wrote:

 Hi,

 Well, my problem is that I do not see my own posts on this group through
 my Thunderbird mail client since I subscribed to it. I know they reaches
 the group because I receive the answers, and also they are visible
 through web G. groups interface. But they seem not to reach my Inbox.

 I do not know if it is a problem of Thunderbird, the GMail account I use
 to subscribe to the group, or some configuration related to the group
 subscription itself. I do not discard no option, although if I send a
 message to myself with that gmail account, it reaches my Inbox with no
 problems, so I think that the group subscription setting is the most
 plausible cause.

 If someone has a clue on how to solve this...

 Thanks a lot in advance,

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




 --
 Raghav Sood
 Please do not email private questions to me as I do not have time to answer
 them. Instead, post them to public forums where others and I can answer and
 benefit from them.
 http://www.appaholics.in/ - Founder
 http://www.apress.com/9781430239451 - Author
 +91 81 303 77248

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



-- 
Daniel Drozdzewski

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


Re: [android-developers] Where have all the tutorials gone ?

2012-06-28 Thread Simon Giddings
Ok, I found this without any problem !
However, the tutorials such as the View tutorials, Localisation, etc appear 
to have vanished.


On Thursday, 28 June 2012 17:02:34 UTC+2, Sachin K Poddar wrote:

  Use this...
 http://developer.android.com/training/index.html
  
 Sachin Poddar
  
 On 6/28/2012 8:25 PM, Simon Giddings wrote: 

 Since the new version of the developers site has come online (
 developer.android.com), I am unable to find the tutorials !

 Does anyone know where they are ?
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en 

  

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

[android-developers] Booting IOS 4 on android phone

2012-06-28 Thread Amey Bapat
Well have googled it a lot and have a fair idea of it but still would like 
to get some pointers in that matter.. 
basically what i want to do is when i start the phone there should be a 
choice between choosing IOS4 or IcecreamSandwhich for the Users..

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

[android-developers] Re: Infinite loop bug in GLSurfaceView (up to present version)?

2012-06-28 Thread Tamás Kovács
Actually, the situation is worse, because this bug appears when you
start your rendering, too.

Details here as well:
http://stackoverflow.com/questions/11220572/handling-interruptedexception-while-waiting-for-an-exit-signal-bug-in-android


On Jun 28, 1:16 pm, Tamás Kovács falcon.firebre...@gmail.com wrote:
 Hello,

 Reproducing the bug: instantiate and add a GLSurface, then set the
 interrupted status of your UI thread, and then use removeView to
 detach the GLSurface.

 To be brief, I think I found a bug, because GLSurfaceView.GLThread
 uses the following pattern in its requestExitAndWait() method:

 while (!mExited) {
       try {
            sObject.wait();
         } catch (InterruptedException ex) {
            Thread.currentThread().interrupt();
         }
      }

 requestExitAndWait() is called by the UI thread when you detach your
 GLSurface. If your UI thread already has interrupted() status for some
 reason (e.g. someone handled an interrupt via
 currentThread().interrupt()), then the Android code will cause an
 infinite loop, because sObject.wait() will never release the sObject
 monitor (due to the exception handler), and thus the GL thread will
 never be able to set mExited to true.

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


Re: [android-developers] Booting IOS 4 on android phone

2012-06-28 Thread Mark Murphy
This subject is off-topic for this list.

On Thu, Jun 28, 2012 at 12:36 PM, Amey Bapat amey.n.ba...@gmail.com wrote:
 Well have googled it a lot and have a fair idea of it but still would like
 to get some pointers in that matter..
 basically what i want to do is when i start the phone there should be a
 choice between choosing IOS4 or IcecreamSandwhich for the Users..

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



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

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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


Re: [android-developers] Question about this group itself

2012-06-28 Thread Jim Graham
On Thu, Jun 28, 2012 at 05:08:41PM +0200, Francisco M. Marzoa Alonso wrote:
 
 Well, my problem is that I do not see my own posts on this group through
 my Thunderbird mail client since I subscribed to it.

 If someone has a clue on how to solve this...

Yes...it's very simple:  Bcc yourself when you post to the list.  You
won't get the copy that was sent FROM the list, but it will be threaded
correctly, and that's what really matters (at least, IMO).

You can even set up abbreviations if you use vi/vim (for other editors,
RTFM for that editor) as your editor to avoid having to type your e-mail
address over and over, e.g.,

abbrev _me my_email_addr...@gmail.com

Then you just type _me in the Bcc field and it expands to your e-mail
address.  That also helps you avoid typos (which, since cancer #1, is
a very real problem for me---I usually catch them as I type them, but
not always).

Another alternative (same concept, different approach) is to configure
your e-mail client to either add your e-mail address to Bcc or not
depending on whether you're sending to a list defined in your rc file
(or settings) for that e-mail client or to some other e-mail address.
Again, RTFM for your e-mail client.

As far as I know, no Googlegroups offer the option to receive copies
of your own postings.  If I'm wrong on that, I would certainly welcome
information on how and where to set that.

Hope this helps.

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)  |  There it was, right in the title bar:
spooky1...@gmail.com  |   Microsoft Operations POS.
 Running Mac OS X Lion  | 
ICBM / Hurricane: | Never before has a TLA been so appropriately
   30.44406N 86.59909W|  mis-parsed. (alt.sysadmin.recovery)

Android Apps Listing at http://www.jstrack.org/barcodes.html

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


[android-developers] Re: new look for the android app developers website

2012-06-28 Thread b0b
Old pages were better, in particular they were more readable.
Ah changing stuff for the sake of changing stuff...

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

Re: [android-developers] Re: Proguard returns null pointer exception while adding external restlet jar

2012-06-28 Thread Eric Lafortune
Please file a bug report at the ProGuard 
websitehttp://proguard.sourceforge.net/feedback.html, 
preferably with a small example that allows me to reproduce the problem.

Eric (developer of ProGuard)

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

[android-developers] problem with apk file in 2.3.6

2012-06-28 Thread akash roy
i have written a code in android version 2.3.3..
the code is running properly in android 2.3.3 emulator but when i installed
the apk file in samsung galaxy sII G2560 whose version is 2.3.6...such that
only splash screen  r working in it and exit button is working,...other
than that..none other codes are working..its showing some exceptions..
it would be great if u all just have look on it..
Thanku

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

Re: [android-developers] problem with apk file in 2.3.6

2012-06-28 Thread RichardC
Please help us to help you.

You have not told us anything except my program does not work.

No logs, no code snippits, no telling us what you have already tried, etc.

Try posting the LogCat around where you think the problem is and if you 
think it will help post some of your code referenced from LogCat.

You could also try putting a breakpoint in your code just before the 
error(s) you see in LogCat and have a look yourself and see what your 
program is doing the the debugger.

On Thursday, June 28, 2012 7:03:31 PM UTC+1, akash roy wrote:

 i have written a code in android version 2.3.3..
 the code is running properly in android 2.3.3 emulator but when i 
 installed the apk file in samsung galaxy sII G2560 whose version is 
 2.3.6...such that only splash screen  r working in it and exit button is 
 working,...other than that..none other codes are working..its showing some 
 exceptions..
 it would be great if u all just have look on it..
 Thanku 


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

[android-developers] nine patch details

2012-06-28 Thread bob
 

Can someone help me understand exactly what Android considers a nine patch?


I'm thinking of making my own nine-patch utility.  I know there is 
draw9patch.bat, but I think there could be something better.


Here is my guess.  To make a nine-patch, you take an image and give it a 
1-pixel border.  Then, on the right, there's a black vertical line along 
the height (but not counting the curves).  On the bottom there's the same 
thing but horizontal.  On the left, there is a dot in the center.  On the 
top, dot in the center.  And, by black, I mean r=0 g=0, b=0, a=255.


Does this sound right?

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

[android-developers] Re: nine patch details

2012-06-28 Thread RichardC
http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch
 


On Thursday, June 28, 2012 7:33:47 PM UTC+1, bob wrote:

 Can someone help me understand exactly what Android considers a nine patch?


 I'm thinking of making my own nine-patch utility.  I know there is 
 draw9patch.bat, but I think there could be something better.


 Here is my guess.  To make a nine-patch, you take an image and give it a 
 1-pixel border.  Then, on the right, there's a black vertical line along 
 the height (but not counting the curves).  On the bottom there's the same 
 thing but horizontal.  On the left, there is a dot in the center.  On the 
 top, dot in the center.  And, by black, I mean r=0 g=0, b=0, a=255.


 Does this sound right?


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

[android-developers] Re: MediaMetadataRetriever.getFrameAtTime always returns the same (first) frame

2012-06-28 Thread asim khatri
The value of i needs to be multiplied by 10, because the method expects 
the time parameter to be in micro seconds.. hope it works...

On Monday, April 30, 2012 7:40:44 PM UTC+5, Yaron Reinharts wrote:

  Hi,

 I'm trying to sample frames from a video.
 However, MediaMetadataRetriever.getFrameAtTime always returns the same 
 frame (the first).

 I tried with some emulators (2.3.3 to 4.0.3) and some video formats 
 (including mp4 and 3gp which should be supported according to 
 documentation).

 Here is a test code (saveBitmapToFile works well in many other locations 
 so I truest it).

 MediaMetadataRetriever retriever = new MediaMetadataRetriever();
 retriever.setDataSource(filePath);
 String value = 
 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION);
 long length = Long.parseLong(value);
 
 for(int i = 0; i  length; i += 200)
 {
 Bitmap bitmap = retriever.getFrameAtTime(i);
 saveBitmapToFile(bitmap, debugPath + i + .jpg);
 }


 What am I doing wrong?

 By the way, it looks that I'm not the first one bumped into this problem

 http://stackoverflow.com/questions/10188938/how-to-get-the-frame-from-video-file-in-android

 Thanks in advance
 /Yaron

 -- 
 Yaron Reinharts 
 Smart Drive 
 Applicationshttp://www.poncho.co.il/gateaway.phphttps://market.android.com/details?id=com.poncho.gsm.gate.activities

  

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

[android-developers] Re: MediaMetadataRetriever.getFrameAtTime always returns the same (first) frame

2012-06-28 Thread asim khatri
Sorry for writing one less zero it should be 100 rather than 10...

On Monday, April 30, 2012 7:40:44 PM UTC+5, Yaron Reinharts wrote:

  Hi,

 I'm trying to sample frames from a video.
 However, MediaMetadataRetriever.getFrameAtTime always returns the same 
 frame (the first).

 I tried with some emulators (2.3.3 to 4.0.3) and some video formats 
 (including mp4 and 3gp which should be supported according to 
 documentation).

 Here is a test code (saveBitmapToFile works well in many other locations 
 so I truest it).

 MediaMetadataRetriever retriever = new MediaMetadataRetriever();
 retriever.setDataSource(filePath);
 String value = 
 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION);
 long length = Long.parseLong(value);
 
 for(int i = 0; i  length; i += 200)
 {
 Bitmap bitmap = retriever.getFrameAtTime(i);
 saveBitmapToFile(bitmap, debugPath + i + .jpg);
 }


 What am I doing wrong?

 By the way, it looks that I'm not the first one bumped into this problem

 http://stackoverflow.com/questions/10188938/how-to-get-the-frame-from-video-file-in-android

 Thanks in advance
 /Yaron

 -- 
 Yaron Reinharts 
 Smart Drive 
 Applicationshttp://www.poncho.co.il/gateaway.phphttps://market.android.com/details?id=com.poncho.gsm.gate.activities

  

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

Re: [android-developers] Re: nine patch details

2012-06-28 Thread Justin Anderson

 On the left, there is a dot in the center.  On the top, dot in the center.

These can be lines as well... They don't have to be just a dot.


Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 28, 2012 at 12:36 PM, RichardC
richard.crit...@googlemail.comwrote:


 http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch



 On Thursday, June 28, 2012 7:33:47 PM UTC+1, bob wrote:

 Can someone help me understand exactly what Android considers a nine
 patch?


 I'm thinking of making my own nine-patch utility.  I know there is
 draw9patch.bat, but I think there could be something better.


 Here is my guess.  To make a nine-patch, you take an image and give it a
 1-pixel border.  Then, on the right, there's a black vertical line along
 the height (but not counting the curves).  On the bottom there's the same
 thing but horizontal.  On the left, there is a dot in the center.  On the
 top, dot in the center.  And, by black, I mean r=0 g=0, b=0, a=255.


 Does this sound right?

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


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

[android-developers] Must watch... Live now [ https://developers.google.com/events/io/ ]

2012-06-28 Thread Sachin K Poddar



https://developers.google.com/events/io/

--

Sachin Poddar

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

[android-developers] Re: new look for the android app developers website

2012-06-28 Thread JP


On Jun 27, 12:18 pm, Nobu Games dev.nobu.ga...@gmail.com wrote:
 I have three major problems with the new appearance:

    1. Resources are missing. You cannot browse the SDK example files
    anymore and therefore a lot of already posted and cached links (on
    Stackoverflow) do not work anymore. Also Google results are still not up to
    date and point to the old version of the website.
    2. The new font looks fancy but is slightly blurry on my screen. It is
    hard to read and makes my eyes tired after a while. Documentation pages
    with lots of text should be easy on the eyes. This is simply not the case
    here.

Outch. I went and checked a link to one of the older posts on the
developer blog; some of which I find highly useful. The post about
backwards compatibility, for example.

This stackoverflow question:
http://stackoverflow.com/questions/4873827/android-backward-code-compatibility
includes a link to the original post here:
http://developer.android.com/resources/articles/backward-compatibility.html
Which is gone without auto-forward.

sarcasm on What a fail. From the company that built its business on
hyperlinks. Oh well. At least the skydivers didn't crash into the
street. off


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


[android-developers] Re: nine patch details

2012-06-28 Thread bob
Hmmm…

Ok, the docs say this:

The bottom and right lines define the relative area within the image that 
the contents of the View are allowed to lie within.

H…  This confused me earlier, but I think I get it.  So, if you have a 
button with text, the text will be placed in the area defined by the bottom 
and right lines?

Also, in case it helps anyone, remember 9 patches can't be downscaled. 
 This confused me so much.  I couldn't figure out why my buttons were so 
big.


On Thursday, June 28, 2012 1:36:22 PM UTC-5, RichardC wrote:


 http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch
  


 On Thursday, June 28, 2012 7:33:47 PM UTC+1, bob wrote:

 Can someone help me understand exactly what Android considers a nine 
 patch?


 I'm thinking of making my own nine-patch utility.  I know there is 
 draw9patch.bat, but I think there could be something better.


 Here is my guess.  To make a nine-patch, you take an image and give it a 
 1-pixel border.  Then, on the right, there's a black vertical line along 
 the height (but not counting the curves).  On the bottom there's the same 
 thing but horizontal.  On the left, there is a dot in the center.  On the 
 top, dot in the center.  And, by black, I mean r=0 g=0, b=0, a=255.


 Does this sound right?



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

[android-developers] Re: Emulate long pression of keys

2012-06-28 Thread Lew
Sal Dekku wrote:

 I've wrote some code to help me solve the problem, a little application to
 use as a testbed. Also, here's one of many test units I wrote to emulate
 the long press.


I would just use Robotium, and its 'Solo#clickLongOn...()' methods. 

-- 
Lew

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

[android-developers] I am sure you have seen this: No Repository - What is the problem?

2012-06-28 Thread far m
I am totally new to this. 

So here is what I have done so far on my MacBook Pro: 
1- Downloaded Eclipse: 
Mac OSX (Mac/Cocoa) (Supported 
Versionshttp://www.eclipse.org/projects/project-plan.php?projectid=eclipse#target_environments)
 
(version 4.1.2) 

2- Did all the updating 
3- This is directory structure I have: 
a- my andriod-sdk is in : /mydirectory/android-sdks
b-my eclips is in  : /mydirectory/eclipese-sdk-4.1.2-macosx-cocoa/
c- the default directory in eclipse is : 
Users/mydirectory/Documents/eclipse/workspace/.

4- I believe I am using Java version 1..6.0_31 Java HotSpot

Then after I open Eclipse and say: Check for updates I get this: 

No repository found at file:/Users/mydirectory/Documents/eclipse/workspace/.

Could you please help me? What is the Problem? 




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

[android-developers] When I try to install ADT Eclipse hang up!

2012-06-28 Thread far m
I an not sure what the problem is but when I try to install plug-ins 
Eclipse hang up! I am using Eclipse 4
Any suggestions? 

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

[android-developers] Android Integration Cloud Print Error

2012-06-28 Thread dante
I tried to run the code given in this url
https://developers.google.com/cloud-print/docs/android


I got this Error and my android app crashed . Any help will be
greatful.


06-27 17:46:55.456: D/dalvikvm(537):Not late-enabling CheckJNI
(already on)
06-27 17:46:56.406: I/dalvikvm(537):threadid=3: reacting to signal
3
06-27 17:46:56.446: I/dalvikvm(537):Wrote stack traces to '/data/
anr/traces.txt'
06-27 17:46:56.956: W/webcore(537): java.lang.Throwable:
EventHub.removeMessages(int what = 107) is not supported before the
WebViewCore is set up.
06-27 17:46:56.956: W/webcore(537): at android.webkit.WebViewCore
$EventHub.removeMessages(WebViewCore.java:1683)
06-27 17:46:56.956: W/webcore(537): at android.webkit.WebViewCore
$EventHub.access$7900(WebViewCore.java:926)
06-27 17:46:56.956: W/webcore(537): at
android.webkit.WebViewCore.removeMessages(WebViewCore.java:1795)
06-27 17:46:56.956: W/webcore(537): at
android.webkit.WebView.sendOurVisibleRect(WebView.java:2917)
06-27 17:46:56.956: W/webcore(537): at
android.webkit.ZoomManager.setZoomScale(ZoomManager.java:593)
06-27 17:46:56.956: W/webcore(537): at
android.webkit.ZoomManager.access$1700(ZoomManager.java:49)
06-27 17:46:56.956: W/webcore(537): at android.webkit.ZoomManager
$PostScale.run(ZoomManager.java:984)
06-27 17:46:56.956: W/webcore(537): at
android.os.Handler.handleCallback(Handler.java:605)
06-27 17:46:56.956: W/webcore(537): at
android.os.Handler.dispatchMessage(Handler.java:92)
06-27 17:46:56.956: W/webcore(537): at
android.os.Looper.loop(Looper.java:137)
06-27 17:46:56.956: W/webcore(537): at
android.app.ActivityThread.main(ActivityThread.java:4424)
06-27 17:46:56.956: W/webcore(537): at
java.lang.reflect.Method.invokeNative(Native Method)
06-27 17:46:56.956: W/webcore(537): at
java.lang.reflect.Method.invoke(Method.java:511)
06-27 17:46:56.956: W/webcore(537): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:784)
06-27 17:46:56.956: W/webcore(537): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
06-27 17:46:56.956: W/webcore(537): at
dalvik.system.NativeStart.main(Native Method)
06-27 17:46:56.966: I/dalvikvm(537):threadid=3: reacting to signal
3
06-27 17:46:57.047: D/gralloc_goldfish(537): Emulator without GPU
emulation detected.
06-27 17:46:57.047: I/dalvikvm(537):Wrote stack traces to '/data/anr/
traces.txt'
06-27 17:46:58.336: D/chromium(537):Unknown chromium error: -401
06-27 17:47:04.295: D/dalvikvm(537):GC_CONCURRENT freed 217K, 4%
free 9259K/9607K, paused 10ms+6ms
06-27 17:47:12.006: V/chromium(537):external/chromium/net/base/
bandwidth_metrics.h:96: [0627/174712:INFO:bandwidth_metrics.h(96)]
Bandwidth: 1759.94Kbps (avg 1759.94Kbps)
06-27 17:47:12.245: W/dalvikvm(537):JNI WARNING: JNI method called
with exception pending
06-27 17:47:12.295: W/dalvikvm(537):  in Landroid/webkit/
BrowserFrame;.stringByEvaluatingJavaScriptFromString:(Ljava/lang/
String;)Ljava/lang/String; (NewLocalRef)
06-27 17:47:12.295: W/dalvikvm(537):Pending exception is:
06-27 17:47:12.305: I/dalvikvm(537):java.lang.NullPointerException:
06-27 17:47:12.305: I/dalvikvm(537):at
com.android.print.PrintDialogActivity
$PrintDialogJavaScriptInterface.getTitle(PrintDialogActivity.java:77)
06-27 17:47:12.305: I/dalvikvm(537):at
android.webkit.BrowserFrame.stringByEvaluatingJavaScriptFromString(Native
Method)
06-27 17:47:12.305: I/dalvikvm(537):at
android.webkit.BrowserFrame.stringByEvaluatingJavaScriptFromString(Native
Method)
06-27 17:47:12.305: I/dalvikvm(537):at
android.webkit.BrowserFrame.loadUrl(BrowserFrame.java:271)
06-27 17:47:12.305: I/dalvikvm(537):at
android.webkit.WebViewCore.loadUrl(WebViewCore.java:1832)
06-27 17:47:12.305: I/dalvikvm(537):at
android.webkit.WebViewCore.access$1700(WebViewCore.java:55)
06-27 17:47:12.318: I/dalvikvm(537):at android.webkit.WebViewCore
$EventHub$1.handleMessage(WebViewCore.java:1160)
06-27 17:47:12.318: I/dalvikvm(537):at
android.os.Handler.dispatchMessage(Handler.java:99)
06-27 17:47:12.318: I/dalvikvm(537):at
android.os.Looper.loop(Looper.java:137)
06-27 17:47:12.318: I/dalvikvm(537):at android.webkit.WebViewCore
$WebCoreThread.run(WebViewCore.java:728)
06-27 17:47:12.318: I/dalvikvm(537):at
java.lang.Thread.run(Thread.java:856)
06-27 17:47:12.325: I/dalvikvm(537): WebViewCoreThread prio=5 tid=11
NATIVE
06-27 17:47:12.336: I/dalvikvm(537):   | group=main sCount=0
dsCount=0 obj=0x412bc0e8 self=0x1297c8
06-27 17:47:12.336: I/dalvikvm(537):   | sysTid=554 nice=0 sched=0/0
cgrp=default handle=1219608
06-27 17:47:12.336: I/dalvikvm(537):   | schedstat=( 6129896093
3952245266 1241 ) utm=543 stm=69 core=0
06-27 17:47:12.336: I/dalvikvm(537):   at
android.webkit.BrowserFrame.stringByEvaluatingJavaScriptFromString(Native
Method)
06-27 17:47:12.336: I/dalvikvm(537):   at
android.webkit.BrowserFrame.loadUrl(BrowserFrame.java:271)

[android-developers] How the GPU dirver exist in Android/kernel?

2012-06-28 Thread CyberPunker

   Can someone explaim how the GPU dirver‘s residence in  
Android/kernel?I don't mean the FrameBuffer , I mean the “Chip driver”

   Are all the GPU dirver provided by the GPU Chip manufacturer? They 
provide source code or binary file  or firmware ? Can the common developer 
get the source code ? 

   I think the display effect on Android is right enough , even better 
than on the common PC, but is still inferior of  iOS , It is said that is 
due to the android architecture'  defect.
  So, can we run a common linux on an Android hardware platform,i.e. a 
phone , then it can take full advantage of  these GPU/Chip driver ? 

   
  

  

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

[android-developers] Testing in-app billing

2012-06-28 Thread adrian del campo
Hi,

I'm creating a simple library to manage in-app billing from our apps. I 
have tested everything with the static test products from google and it 
seems to work fine. The problem is that when I try to buy a real product 
using a test account google play is asking me for a credit card even 
without publishing the application.

Is there any way to test in-app billing with real products without having 
to pay? For example a fake credit card or something similar?

Thanks

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

[android-developers] android in-app billing sandbox

2012-06-28 Thread adrian del campo


I'm developing a simple in-app billing library. It works with static 
responses from google, but now I'd like to test this lib with real in-app 
products.

I have created a test account and I'm trying to buy a product, but google 
Play is asking me for a credit card. Is there any way to test in-app 
billing without using a real credit card (a sandbox environment, fake 
credit card, etc)?

I have read here that the only way to test this is using a real credit card 
with a test account (so you don't have to pay google taxes) and once you 
have bought the product, refund it again, but it seems not to be a very 
'developer-friendly' way.

Thanks.

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

[android-developers] Timezone on Merchant Account

2012-06-28 Thread androidthemes4ever
Why in my merchant account the time zone is PDT when it should be EDT. when 
customers buy an app its in PDT time and its very confusing for me. i 
change my setting to my timezone but i still receive in these timezones PDT 
please help ?

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

[android-developers] Re: WebView - Flash overdrawing issue

2012-06-28 Thread alex.koukla
I have the same problem .. did you found a solution for this ?

On Friday, May 27, 2011 10:50:44 AM UTC+2, Josh Gitter wrote:

 Has anyone noticed that Flash content within a Webview control 
 overdraws other adjacent controls? It seems that the clipping region 
 of the WebView is not respected. 

 I'm using Adobe Flash 10.3 and a Nexus S. 

 Here is a screen capture of flash content drawing outside of my 
 Webview control. Notice the cartoon drawing on top of the native 
 controls: 
 http://i55.tinypic.com/ea36f9.jpg 

 Is there any setting for WebView to keep plugins like Flash within the 
 clipping boundaries? 

 Thanks for your help! 

 Josh

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

Re: [android-developers] dpi checking

2012-06-28 Thread dakshayini A
On Thu, Jun 28, 2012 at 3:48 AM, Justin Anderson magouyaw...@gmail.comwrote:

 I belive most tablets are mdpi...  I have a Galaxy Tab 2 and it is mdpi.


 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware



 On Wed, Jun 27, 2012 at 4:09 PM, bob b...@coolfone.comze.com wrote:

 Can someone help me figure out how to tell what dpi a device is?  I'm
 trying to figure out if my 10.1 inch Galaxy Tab is mdpi or hdpi.

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


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


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

[android-developers] How do I resolve NO REPOSITORY problem?

2012-06-28 Thread far m
So first of all I am very new to Android SDK 
So far, this is what I have done 
1- I Downloaded Eclipse 4.1.2 on my MacBook 

Mac OSX (Mac/Cocoa) (Supported 
Versionshttp://www.eclipse.org/projects/project-plan.php?projectid=eclipse#target_environments
)

2- I updated all the ADT packages 
3- When I opened Eclipse again to check for new software . I get this 
eror message: No Repository in file... 
At this point I am stuck and cannot do anything. 

Any suggestions what to do? 
Thanks,

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

[android-developers] How to access libs from 2 add-ons using sdk tools version 20?

2012-06-28 Thread Louis
The application I am developing needs to access library stubs from 2 
different add-ons directory. Both add-ons are intealled via the sdk manager.

Up to version 19 of the Android sdk tools, I was to specify the path to the 
library for the second package in ant.properties using 
extensible.libs.classpath=${sdk.dir}/add-ons/vendorspecific/libs

and I was setting the project target to  Google Inc.:Google APIs:15 so 
that maps api could be used.
android update project --target Google Inc.:Google APIs:15 --path .

Now on Android sdk tools version 20, the usage of extensible.libs.classpath 
variable has been removed from build.xml section
target name=-compile ...
...
classpath
fileset dir=${extensible.libs.classpath} 
includes=*.jar /
/classpath

What is the recommended approach to be able to specify additional classpath 
to include library in such case?
Since the add-ons libraries are coming from 2 different vendors, they are 
obviously in 2 different locations.


Thanks


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

[android-developers] New to developing , errors already

2012-06-28 Thread Nick Krawczyk
I'm trying to start by following this :  
http://developer.android.com/training/basics/firstapp/building-ui.html#Weight, 
building a simple interface. I have followed the instructions but when I 
click run somehow a new file called activity_main.out.xml appears and 
there is an error that says No XML content. Please add a root view or 
layout to your document.. If I put something in there then it generates 
another file called activity_main.out.out.xml and has the same error. 
What could I be doing wrong?

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

[android-developers] Error codes

2012-06-28 Thread Butti
I need no know some error codes. For example MediaRecorder : start failed 
-12. What is the meaning of -12??
And also setOutputFormat called in an invalid state: 4 Which state? 4 
means what? Is there any documentations for these error codes' meanings?
Thank you!

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

[android-developers] NullPointerException in onResume caused by MapActivity?

2012-06-28 Thread Andrea Costantini


I'm getting this error only the first time i run my app. Why? Any clue? 
Here is my code:

I'm getting user's facebook name and pic in method init() I start a service 
when a toogle botton is enabled

 public void onCreate(Bundle savedInstanceState) {
 Log.i(TAG, [ACTIVITY] onCreate);
 super.onCreate(savedInstanceState);
 setContentView(R.layout.main);
 mUserPic = (ImageView) findViewById(R.id.user_pic);
 mText = (TextView) findViewById(R.id.welcome_text);
 mStepValueView = (TextView) findViewById(R.id.step_value);

 // restore facebook session if exist
 SessionStore.restore(facebook, this);

 // Init facebook session
 init();

 // inizialize pedometer
 mStepValue = 0;
 mPaceValue = 0;

 // set map
 mapView = (MapView) findViewById(R.id.mapview);
 mapView.setBuiltInZoomControls(true);
 mapView.setEnabled(true);
 mapController = mapView.getController(); // get MapController
 mapController.setZoom(MAP_ZOOM); // zoom in the map

 // register listener for toggleButton
 ToggleButton toggleButton = (ToggleButton) findViewById(R.id.
 ToggleButton);
 toggleButton.setOnCheckedChangeListener(toggleButtonListener);

 }

 public void onResume() {
 Log.i(TAG, [ACTIVITY] onResume);
 super.onResume();
 if (!facebook.isSessionValid()) {
 mText.setText(User offline);
 mUserPic.setImageBitmap(null);
 } else {
 facebook.extendAccessTokenIfNeeded(this, null);
 }

 // resume pedometer
 mSettings = PreferenceManager.getDefaultSharedPreferences(this);
 mPedometerSettings = new PedometerSettings(mSettings);

 // Read from preferences if the service was running on the last 
 onPause
 mIsRunning = mPedometerSettings.isServiceRunning();

 if (mIsRunning) {
 bindStepService();
 }

 mPedometerSettings.clearServiceRunning();

 }

 @Override
 protected void onPause() {
 Log.i(TAG, [ACTIVITY] onPause);
 // if (mIsRunning) {
 // unbindStepService();
 // }
 if (mQuitting) {
 mPedometerSettings.saveServiceRunningWithNullTimestamp(mIsRunning
 );
 } else {
 mPedometerSettings.saveServiceRunningWithTimestamp(mIsRunning);
 }

 super.onPause();
 }


Logcat

 06-27 11:48:54.101: E/AndroidRuntime(20313): FATAL EXCEPTION: main
 06-27 11:48:54.101: E/AndroidRuntime(20313): java.lang.RuntimeException: 
 Unable to resume activity 
 {it.univpm.dii.socialfoot/it.univpm.dii.socialfoot.SocialFootActivity}: 
 java.lang.NullPointerException
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 android.app.ActivityThread.performResumeActivity(ActivityThread.java:2455)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2483)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1176)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 android.os.Handler.dispatchMessage(Handler.java:99)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 android.os.Looper.loop(Looper.java:137)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 android.app.ActivityThread.main(ActivityThread.java:4437)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 java.lang.reflect.Method.invokeNative(Native Method)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 java.lang.reflect.Method.invoke(Method.java:511)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 dalvik.system.NativeStart.main(Native Method)
 06-27 11:48:54.101: E/AndroidRuntime(20313): Caused by: 
 java.lang.NullPointerException
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 com.google.android.maps.MapActivity.onResume(MapActivity.java:451)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 it.univpm.dii.socialfoot.SocialFootActivity.onResume(SocialFootActivity.java:296)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1154)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 android.app.Activity.performResume(Activity.java:4545)
 06-27 11:48:54.101: E/AndroidRuntime(20313):at 
 android.app.ActivityThread.performResumeActivity(ActivityThread.java:2445)
 06-27 11:48:54.101: E/AndroidRuntime(20313):... 10 more



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

[android-developers] pull to refresh in scrollview

2012-06-28 Thread avinash shyam
hi everyone, i m new here and have been developing in android for around
5mnths...

i really need help on how to pull to refresh in a scrollview..
ank kind of help, suggestions and links would be highly appreciated.
thnx :)

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

[android-developers] Can't get AVD to run my noddy app!

2012-06-28 Thread Doug Ponsford
Hi, I'm a newbie that needs some help on getting the AVD running with
my app.  I've been developing C code for decades, but I have to admit
the Eclipse/AVD setup has me stumped!  I'm following the 'HelloWorld'
tutorials on this website (and some others) and everything seems to be
working OK, up to the point where I try to run it on the simulator.
I'm not getting any warnings, the Eclipse build/run output window says
that everything is installed OK and the AVD seems to startup and run
OK.  Eclipse says that my app is loding, but it never runs.  All I get
is the simulator window with ANDROID on the screen and the buttons
on the righ-hand side.

I've got Eclipse Indigo and r18 of the Android PlugIn (I tried to
install Helios, but the Eclipse website directed me to Indigo!).  Is
Indigo OK for running the simulator, or do I specifically need
Helios?  I also have Java 1.7.

The API level I have installed is Level 15 (v4.xxx of Android, I
think).  Don't know if I need a lower version to get my tutorial app
to run, but level 15 is the only one I can select when setting up a
device in the AVD manager.

I've been trying to get this going for days, trying all sorts of
switches and buttons, but to no avail.  Before I start unistalling
everything and reinstalling, is there anything I might be missing?
Something that always trips up new starters maybe?  Or do I need ot go
back to scratch?

Any help would be much appreciated.

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


[android-developers] Re: Read CID of SD card (MMC)

2012-06-28 Thread Gmo - GetUSB.info
That number is the serial number of the card reader chip.  Unless you have 
specific SCSI command calls to the bridge chip I don't think you can get 
the CID number.  You can use a production machine like the systems from 
Nexcopy.com that do 20 at a time, but probably over kill for your 
application.

On Saturday, August 8, 2009 4:17:16 AM UTC-7, Pete wrote:

 Hi 

 How can I read the CID (Card Identification register) of an SD card 
 with Java or C-Code in an Android phone? 
 I tried cat /sys/class/mmc_host/mmc1/mmc1:*/cid but at least on the 
 Samsung I7500 Galaxy it does not return the CID of the SD card because 
 it is always the same number with different SD cards. 

 Help is very appreciated, thanks. 


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

[android-developers] Intercept stream from MediaPlayer

2012-06-28 Thread Rodrigo Manyari
Hi,
I was wondering if it's possible to intercepted the music currently playing 
from a mediaplayer. 

Ex:
 
mediaplayer --- 01010101010100 data 101011010 interceptor   ---
 

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

[android-developers] Re: Simple app with commons-httpclient-3.1.jar

2012-06-28 Thread Uwe Maurer
Why not just use the built-in http clients? They are optimized for Android 
and you don't bloat your app with extra dependencies like junit.
 See here for more information:  
http://android-developers.blogspot.com/2011/09/androids-http-clients.html 

Uwe

On Wednesday, June 20, 2012 8:12:26 AM UTC+2, bibble_235 wrote:

 Hi,

 I want to start writing Android apps and seemed to have fallen over on my 
 first one. I have a java program which consists of an activity which calls 
 another activity. This works fine and all is good. Now I want to connect to 
 a server and I have choosen to use apache commons-httpclient-3.1.jar. 

 Reading the documentation from apache it says I need as dependencies 

 commons-codec-1.2.jar and 
 commons-logging-1.0.4.jar
 junit- 3.8.1.jar

 http://hc.apache.org/httpclient-3.x/dependencies.html

 I added these to the build path. I am using eclipse 3.7.2 and Android 4.0.3

 Each time I run the software I get ClassNotFoundException. I understand 
 what this means but have no idea why it is happen. 

 - Is it ok to use commons-httpclient-3.1.jar does the android VM support 
 it?
 - is there an alternative
 - Is there something in the packaging I should be doing. I assumed this is 
 all done for me
 - Is there a way to understand which jar/class is missing

 *Class being instaniated is
 *
 import org.apache.commons.httpclient.HttpClient;

 public class TestClient extends HttpClient {

 }

 Thanks,
 Iain




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

[android-developers] Intercept stream from mediaplayer

2012-06-28 Thread Rodrigo Manyari
Hi,
I was wondering if it's possible to intercept the stream that is playing 
from a mediaplayer object.

Ex:

mediaplayer - 01010101 data 01010101  - intercept  |- output 
to speaker
   
|

   |-- output to socket

The start method from the mediaplayer calls a native android method, so 
overriding it isn't a viable solution, if there a buffer or something else 
that I haven't noticed from which I could get the data? Or it's simply 
impossible to do that in android?

Thanks,
Rodrigo Manyari.

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

[android-developers] Re: Is there a file which contains all crash report in andorid device

2012-06-28 Thread Uwe Maurer
There is not a single way, there are multiple.
- You can see the exceptions in the Google Market dashboard (only the ones 
which are reported by the users)
- You can parse the logs (not so good, since it needs additional 
permissions, and also all the data from other apps are in there)
- You can catch your own exceptions and send it to a server (libraries like 
ACRA do this)

Uwe

On Tuesday, June 19, 2012 2:39:40 PM UTC+2, Deepa Manian wrote:

 As my title, i need to know whether a file contains all the crash report 
 in android. Let me explain in detail. In iphone developer can take all 
 crash reports in iphone application by synchronizing the device into system 
 in the specific directory in Mac.All the crash reports are stored in 
 directory with the individual device name. 


 Likewise i need to get all the crash report for android device. As i 
 googled, i got some suggestion as using ACRA we can get the crash report in 
 Google Doc or as email. 

 Is there a single way to get crash report or any other way to get it? If 
 so please guide to get the crash report. i'm in running out of time. 


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

[android-developers] Re: App Android Architecture

2012-06-28 Thread Uwe Maurer
This sounds quite complicated.
Just download the image in an AsyncTask when the user clicks the button and 
you are done.

If the images are huge and you expect the user to leave the current 
activity while it is downloading, then you better use a background service 
to do the work and then notify when it is done. IntentService is a good 
place to start.

Uwe


On Wednesday, June 20, 2012 3:44:54 AM UTC+2, wBishop wrote:

 Howdy, 

 I was reading several articles on the web and posts on stackoverflow 
 (unfortunately I didn't find anything on android developers) about the 
 correct design pattern for an Android application, and I still haven't 
 come to a correct conclusion. It seems to be two different types of 
 opinions. 

 Please correct me if I'm wrong, but this is what I've understand: 

 For example, let's imagine that I have an application that has a 
 background service periodically firing to downloading images, when an 
 image is retrieved the user is notified. On the other hand the user 
 can click on a button and launch an asynctask to download a particular 
 image. 

 I believe this situation follows the MVC model: 

 - View, corresponds to the activity which in turns is linked with the 
 layout (perhaps modelview? and instead of MVC is MVVM?). When the user 
 clicks on the button it communicates with via async task with a 
 controller. 

 - Controller, corresponds to a class that extends application and 
 works as a manager, depending on the activity request it communicates 
 with the delegates the request to the corresponding class, in this 
 case the one which will retrieve that image. When the download is 
 finished it notifies the activity via broadcast. The service also 
 communicates with this manager. 

 - Model, corresponds to broadcasts that are made from the application 
 to the activity warning it that new data is available. 


 Is this correct? Sorry, for the long post, but this is driving me crazy. 


 Thanks in advance, 
 Walter 


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

[android-developers] Eclipse ADT Plugin

2012-06-28 Thread Travis Duffy
I have the Eclipse Classic 4.2 program.  When I tried to install the ADT 
Plugin, it said i did not have the correct features.  When I went on the 
android developers site, it said that I have to select options while 
installing.  There wasn't any options on the first run, and I did not 
install.  I placed the Eclipse folder on my desktop.  What should I do?  I 
am clueless...

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

[android-developers] Integrated Touch

2012-06-28 Thread Anish Sasmal
Today, i was watching the Google I/O on youtube. The person was talking 
about the new Jellybean.
He stated that to increase touch sensitivity or integration, most of the 
CPU's power would go to the location of where you were touching.
Is it not easier and more efficient to make a hardware based touch system 
instead of a software based one?

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

  1   2   >