Re: [android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread John Coryat


If you mean the latter, Android 3.x uses MTP, not USB mass storage,
> and I think you need an MTP client for OS X.
>

I never thought of that. In the decade+ I've been using the Mac, I have 
never downloaded a driver for anything. Last thing I would think of. Thanks 
Marc, as always, you have the right answers.

-John Coryat 

>

-- 
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] upgrade

2011-06-11 Thread TreKing
On Sat, Jun 11, 2011 at 7:01 AM, pratap  wrote:

> I have tried but each time, i am getting the error "The apk must be
> signed with the same certificates as the previous version". i have tried
> with another package name used in application, increased version code
> and version name as well, but it is throwing same error.
>

Sign the application with the same exact keystore you used the first time.
Leave the package name exactly the same as well.
Increase the version code by one.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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] Creating a view in java

2011-06-11 Thread TreKing
On Fri, Jun 10, 2011 at 12:16 PM, c0dege3k  wrote:

> I have a class in my app that extends View, and I need to pass in the
> Context and AttributeSet parameters, but I don't know what to use. So,
> IS there a way to make a view without using the findViewById method?
>

Your question does not make a ton of sense. You should elaborate.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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] astro file manager

2011-06-11 Thread Expressions Unlimitted
Hi all,

I am wondering to work with astro file manager. What i am going to do is to
select file from sdcard and upload it to the remote server. How to access
the sdcard file is a problem for me. I was wondering if i can find astro
file manager library.

-- 
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: BackupAgent

2011-06-11 Thread b_t
hi,
the interesting lines:

Backup Manager is enabled / not provisioned / not pending init
Auto-restore is enabled
Last backup pass: 0 (now = 1307859545705)
  next scheduled: 0
Available transports:
  * com.google.android.backup/.BackupTransportService
android/com.android.internal.backup.LocalTransport
Pending init: 0
Participants:
  ...
Ancestral packages: 8
  ...
Ever backed up: 0
Pending backup: 65
  ...



There are a lot of pending backups.



On jún. 11, 18:09, dan raaka  wrote:
> see what you find here...
> $ adb shell dumpsys backup
>
> -Dan
>
>
>
>
>
>
>
> On Fri, Jun 10, 2011 at 5:07 AM, b_t  wrote:
> > Thank you for your response.
>
> > All of these options are enabled in my phone but backup still doesn't
> > work.
>
> > Maybe the problem is about my ROM, I don't know
>
> > On Jun 10, 1:14 pm, Kostya Vasilyev  wrote:
> > > Ok, here is some info:
>
> > >http://developer.android.com/guide/topics/data/backup.html#Testing
>
> > > Ensure that backup is enabled
>
> > >    - If using the emulator, you can enable backup with the following
> > command
> > >    from your SDKtools/ path:
>
> > >    adb shell bmgr enable true
>
> > >    - If using a device, open the system *Settings*, select *Privacy*,
> > then
> > >    enable *Back up my data* and *Automatic restore*.
> > >    -
> > >    ( strangely enough, my Xperia Arc running 2.3.3 doesn't have this
> > setting
> > >    under Privacy but a Galaxy S does )
> > >    -- Kostya
>
> > > 2011/6/10 Kostya Vasilyev 
>
> > > > I remember there being some kind of user setting when configuring a new
> > > > phone.
>
> > > > Can't say exactly what it is, might be the second from the top under
> > > > Accounts and Sync in Settings.
>
> > > > --
> > > > Kostya Vasilyev
> > > > 10.06.2011 13:01 пользователь "b_t"  написал:
>
> > > > > If I wipe user data when I start emulator then backup works.
>
> > > > > There is a setting or something that can disable backup process?
>
> > > > > What should I do to work it on my phone too?
>
> > > > > On Jun 10, 10:35 am, b_t  wrote:
> > > > >> Hi,
>
> > > > >> I'm trying to implement BackupAgent functionality but I have no
> > luck.
>
> > > > >> It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or
> > in
> > > > >> my device with 2.3.3.
>
> > > > >> In 2.3.x it just displays when I run "bmgr backup run" in adb shell:
>
> > > > >> 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling main entry
> > > > >> com.android.commands.bmgr.Bmgr
> > > > >> 06-10 10:25:39.273: DEBUG/AndroidRuntime(14616): Shutting down VM
>
> > > > >> In 2.2 emulator everything is ok!
>
> > > > >> Do you have any idea?
>
> > > > >> Thanks,
> > > > >> Tamás
>
> > > > > --
> > > > > 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] Gamooga - A platform for realtime apps and multiplayer games

2011-06-11 Thread Kishore
Hi all,

This is Kishore from Gamooga. I am very excited to introduce you to
Gamooga platform. It offers a very non-intrusive and simple realtime
communication API for your apps and games.

You can upload server side scripts that receive, process and send
messages to your clients. All the responsibility of handling
communication to your clients can be offloaded to Gamooga, so you
donot need to worry about deployment, management, maintenance and
scalability of a very fast communication infrastructure.

Added to this Gamooga offers client side API for multiple platforms:
HTML/JS, Flash/AS3, Android (more platforms coming soon) that you can
use to communicate with your server side scripts. It directly implies
that different versions of apps/games for each of these platforms can
seamlessly communicate with each other using Gamooga platform. So its
very well possible that you have a Multiplayer Soccer over Facebook in
Flash being played with another user over Android using communication
backends of Gamooga.

Gamooga also offers a NoSQL based Key-Value store that you can use for
persistence in your games. Along with this, the platform also offers
streaming capabilities for your apps for transport of audio, video and
other binary data.

Website: http://www.gamooga.com/
Docs: http://www.gamooga.com/dev/docs/
Getting started: http://www.gamooga.com/dev/docs/started.html
Android API: http://www.gamooga.com/dev/docs/clientandroid.html

We are very eager for your feedback. Please reply me by posting in our
group: http://groups.google.com/group/gamooga-dev/ or email me at:
kish...@gamooga.com

Thanks,

Kishore Annapureddy,
Founder, Gamooga.

Email: kish...@gamooga.com
Twitter: @gamooga

-- 
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 - SQLLite

2011-06-11 Thread Sivaprakash
Thanks !! What should I do if I want to protect my data in more secure way
meaning even if someone steels my memory card they should not gain access to
my data or immediately it should be erased ?

On Sat, Jun 11, 2011 at 7:08 PM, Mark Murphy wrote:

> On Sat, Jun 11, 2011 at 9:31 AM, Sivaprakash
>  wrote:
> > I want to persist few data into SQL Lite storage which comes with
> Android.
> > How the internal storage works because there is a possibility that other
> > applications can access my data?
>
> If you store your database in the default directory, that will be in
> your application's private internal directory. If you create the
> database the default way, other applications will not be able to
> access it, unless they are run as superuser on a rooted device.
>
> > Is there any way for me to set password for
> > my database to prevent other apps to access my data?
>
> No. You are welcome to encrypt your data by one means or another, so
> long as the user supplies the password.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training...At Your Office: http://commonsware.com/training
>
> --
> 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




-- 
- Prakash.

-- 
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] view.fillParent()

2011-06-11 Thread Kumar Bibek
Set it's layout parameters.

*Thanks and Regards,
Kumar Bibek*
*
http://techdroid.kbeanie.com
http://www.kbeanie.com*



On Sun, Jun 12, 2011 at 9:59 AM, bob  wrote:

> How do you programmatically tell an Android view to fill its parent?
>
> --
> 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] view.fillParent()

2011-06-11 Thread bob
How do you programmatically tell an Android view to fill its parent?

-- 
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: June 2011 - Which Platform Should I Get?

2011-06-11 Thread Streets Of Boston
Depends for who you want to write your Android app for.
If it is just for your device, i would suggest SDK api-level 8.

-- 
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: Updating to ADT 11

2011-06-11 Thread mlybrand
Man, I wish I hadn't missed this post.  As I was uninstalling
everything (and almost done), that thought crossed my mind.  How did I
miss this post??

Mark :)

On Jun 8, 2:56 pm, Deepu  wrote:
> I had the same issue.  Run eclipse as administrator, uninstall then
> reinstall.  Worked for me.
>
> On Jun 7, 8:26 pm, mlybrand  wrote:
>
>
>
>
>
>
>
> > It doesn't matter.  None of the four allow me to uninstall:
>
> > DDMS
> > ADT
> > Hierarchy
> > Traceview
>
> > It doesn't appear to matter what order or combination I attempt to do
> > it in.  The option continues to be gray and unavailable.
>
> > I'm not going to have uninstall Eclipse, am I?  That would suck...
>
> > Mark
>
> > On Jun 7, 2:49 pm, Xavier Ducrohet  wrote:
>
> > > Are you trying to only install/uninstall DDMS?
>
> > > I can see a case where you can't uninstall DDMS because ADT depends on
> > > it (they are 2 separate plug-ins, ADT requiring DDMS).
>
> > > Make sure you select at least ADT and DDMS when you install (or 
> > > uninstall).
>
> > > On Tue, Jun 7, 2011 at 2:43 PM, mlybrand  wrote:
> > > > Tried uninstalling through eclipse, but the option was grayed out and
> > > > inaccessible (as stated in my original post). Will I need to do this
> > > > from the control panel (I am on Windows Vista )? Does anyone
> > > > know if that will even work, or will I leave vestiges in eclipse that
> > > > will get me know closer to my objective?  I would look a little closer
> > > > myself, but I am away from the machine I do android dev (er..
> > > > learning) on...
>
> > > > Mark :)
>
> > > > On Jun 7, 12:06 pm, Xavier Ducrohet  wrote:
> > > >> I'm not sure what's going on. You could try to uninstall the previous
> > > >> android plug-ins and install the new ones.
>
> > > >> On Tue, Jun 7, 2011 at 6:17 AM, mlybrand  wrote:
> > > >> > They all seem to be related to DDMS at this point:
>
> > > >> > Cannot complete the install because of a conflicting dependency.
> > > >> >  Software being installed: Android DDMS 11.0.0.v201105251008-128486
> > > >> > (com.android.ide.eclipse.ddms.feature.group
> > > >> > 11.0.0.v201105251008-128486)
> > > >> >  Software currently installed: Shared profile 1.0.0.1304396274587
> > > >> > (SharedProfile_epp.package.java 1.0.0.1304396274587)
> > > >> >  Only one of the following can be installed at once:
> > > >> >    Android DDMS 10.0.1.v201103111512-110841
> > > >> > (com.android.ide.eclipse.ddms.feature.jar 
> > > >> > 10.0.1.v201103111512-110841)
> > > >> >    Android DDMS 11.0.0.v201105251008-128486
> > > >> > (com.android.ide.eclipse.ddms.feature.jar 
> > > >> > 11.0.0.v201105251008-128486)
> > > >> >  Cannot satisfy dependency:
> > > >> >    From: Shared profile 1.0.0.1304396274587
> > > >> > (SharedProfile_epp.package.java 1.0.0.1304396274587)
> > > >> >    To: com.android.ide.eclipse.ddms.feature.jar
> > > >> > [10.0.1.v201103111512-110841]
> > > >> >  Cannot satisfy dependency:
> > > >> >    From: Android DDMS 11.0.0.v201105251008-128486
> > > >> > (com.android.ide.eclipse.ddms.feature.group
> > > >> > 11.0.0.v201105251008-128486)
> > > >> >    To: com.android.ide.eclipse.ddms.feature.jar
> > > >> > [11.0.0.v201105251008-128486]
>
> > > >> > Mark :)
>
> > > >> > On Jun 7, 12:31 am, Xavier Ducrohet  wrote:
> > > >> >> what exact errors do you see?
>
> > > >> >> On Tue, Jun 7, 2011 at 12:05 AM, mlybrand  
> > > >> >> wrote:
> > > >> >> > So, I can't update as Eclipse is telling me there are conflicts. 
> > > >> >> > The
> > > >> >> > android site advises me to remove ADT and reinstall, but all 
> > > >> >> > options
> > > >> >> > to do so are grayed out and unavailable to me. Has anyone else
> > > >> >> > encountered this difficulty? Any advice as to the steps I should 
> > > >> >> > take
> > > >> >> > to update my ADT plugins?
>
> > > >> >> > Thanks.
>
> > > >> >> > Mark
>
> > > >> >> > --
> > > >> >> > 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
>
> > > >> >> --
> > > >> >> Xavier Ducrohet
> > > >> >> Android SDK Tech Lead
> > > >> >> Google Inc.http://developer.android.com|http://tools.android.com
>
> > > >> >> Please do not send me questions directly. 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-dev

[android-developers] Re: Java book (like C K&R and C++ Programming Language)

2011-06-11 Thread Indicator Veritatis
All the books 'fadden' recommends are quite good. Eckel even makes
earlier editions of his book available for free online.

But there is one more book that I think seriously deserves mention
here, even though none of these is a "Java equivalent for K&R (there
isn't one)": that is O'Reilly Press's Head First series book on it,
http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208. This
whole series is the only technical series to take advantage of the
best and latest results in cognitive science to present the material
in such a way that it is efficiently and effectively absorbed by the
reader.

On Jun 10, 1:07 pm, fadden  wrote:
> On Jun 8, 6:55 am, luciofm  wrote:
>
> > I have a C and C++ background and i'm looking for "THE" java book, like the
> > "C Programming Language, best know as K&R, for C and the "C++ Programming
> > Language" by Bjarne Stroustrup for C++.
>
> If you're looking for reference material, _The Java Language
> Specification_ and _The Java Programming Language_ (published by Sun
> through Addison-Wesley) are the canonical references.
>
> Bruce Eckel's _Thinking in Java_ is better for "everyday" sorts of
> things.  And no Java coding library is complete without Josh Bloch's
> _Effective Java_.

-- 
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] Loading a Class from APK with the permissions in that apk

2011-06-11 Thread Dianne Hackborn
This is not how Android works.  Permissions are associated with uids, the
uid is assigned to an app when it is installed, the process it runs in has a
uid which is the sole entity that determines its permissions.

If you want to have code from .apks running under different permissions,
that code must be in different .apks, running in a process owned by that
.apk, and thus running under the uid of that .apk.

On Fri, Jun 10, 2011 at 4:16 AM, Mahender  wrote:

> Hi,
> We are building a framework as a service and the framework uses
> the datasources to get data from different sources like Facebook,
> GMail, Calls, GPS, Battery Information etc. So the development of
> framework is separate and the development of datasources is seperate.
>
> Whenever there is a need for data in the framework, the datasources
> class is dynamically loaded from the APK.
>
> So the problem is with the permissions. The permissions in framework
> is different from the permission defined in datasources.apk
>
> When I load the class from datasources APK in the framework project I
> am getting permission denied error for sources dependent on GPS,
> Battery Information.
>
> Is there any way to load the required permissions from the datasources
> APK in the framework.
>
> Regards,
> Mahender
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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] Animate Dialogfragment

2011-06-11 Thread Dianne Hackborn
This has nothing to do with fragments; DialogFragment is just a wrapper
around a Dialog to help manage its lifecycle.  Dialogs are top-level windows
so their animations are window animations, just like when you use Dialog in
all other situations.  You thus control the animations of dialogs through
the theme or explicit window animation style you have set in its
WindowManager.LayoutParams.

On Sat, Jun 11, 2011 at 2:08 PM, Christer Nordvik wrote:

> Is it possible to animate a DialogFragment when it appears? I want a
> flip animation (from zero width and then "flip" into view, but nothing
> happens when I try to animate it.
>
> I asked the question here also (no answers):
>
> http://stackoverflow.com/questions/6129567/is-it-possible-to-animate-a-dialogfragment
>
> My relevant code:
>
> FragmentTransaction ft =
> getFragmentManager().beginTransaction();
> InfoDialogFragment newFragment = InfoDialogFragment.newInstance();
> ft.setCustomAnimations(R.anim.grow_in, R.anim.fadeout);
> ft.add(newFragment, "dialog");
> ft.commit();
> ...
> public class InfoDialogFragment extends DialogFragment {
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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: Bind to Service in Fragment

2011-06-11 Thread goosedroid
I attached sample code to the bug entry. The behavior will be evident
in the logs.

On May 16, 1:20 pm, Dianne Hackborn  wrote:
> The lifecycle callbacks need to work correctly.  If there is a case where
> they aren't, it needs to be fixed.  I haven't had a chance to investigate
> that bug (no sample code == much more time to look in to).
>
>
>
>
>
>
>
>
>
> On Mon, May 16, 2011 at 7:53 PM, goosedroid  wrote:
> > Thanks Dianne,
>
> > I typically bind to services in Activity.onStart() and unbind in
> > Activity.onStop(). However, as I noted in the link above, the
> > equivalent callbacks for Fragments (Fragment.onStart() &
> > Fragment.onStop()) do not appear to be working correctly. I imagine I
> > will have to wait for a fix to the ACL?
>
> > On May 13, 5:50 pm, Dianne Hackborn  wrote:
> > > It is the same as with an activity.
>
> > > On Fri, May 13, 2011 at 9:29 PM, goosedroid 
> > wrote:
> > > > Hello,
>
> > > > I was wondering what the best place to bind / unbind to a service in a
> > > > Fragment is. I am using the compatibility library, and revision 1
> > > > (v4?) has an issue with onStart/onStop.
>
> > > >http://code.google.com/p/android/issues/detail?id=16490
>
> > > > Perhaps there is a workaround or a better lifecycle callback to bind/
> > > > unBind that someone can share.
>
> > > > 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
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see
> > and
> > > answer them.
>
> > --
> > 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
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
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] Animated map overlay refresh interval

2011-06-11 Thread Joan Pujol
I want to animate a MapView Overlay and I have some doubts with the API.
If I want to update the animation every 1 second can I say that?

Because the only related controls that I can see is that I receive a when 
parameter and I can return a parameter saying that animation hasn't 
finished.
But at what interval rate is called the draw method if I return always true?

If its called every few milliseconds it's a lot of innecesary draw. Can I 
limit or control that?

A lot of thanks in advance,

--
Joan Pujol Espinar
www.joanpujol.cat

-- 
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: Android 3.1 is too slow

2011-06-11 Thread String
On Friday, June 10, 2011 11:34:13 PM UTC+1, Glenn Maynard wrote:

Saying "use a real device" isn't very helpful or realistic.  Android 
> apps need to be tested in many screen configurations and in every 
> supported SDK level.  If the cost of entry to Android development is 
> thousands of dollars of test devices, that's just too high. 
>

I agree with you 100%. Unfortunately, that doesn't change the fact that the 
Honeycomb emulator is just not usable. 

But looking on the bright side, the pre-Honeycomb emulators are mostly not 
too bad. Gingerbread has a few specific issues, and sure, they are a lot 
slower than a real device, but they are generally usable.

String

-- 
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: Android 3.1 is too slow

2011-06-11 Thread Chris Stewart
"Use a real device" is a good answer, especially when it comes to Honeycomb
as the market stands today.  It will likely fragment some over time but I
highly doubt it will turn into what the phone market has.

Frankly, I'd rather pay $400 for a tablet than even fire up the emulator
once. If you expect to release your app and support the platform in a
first-class way, you'll need one eventually anyway.

Chris Stewart
http://locomolabs.com
On Jun 11, 2011 1:40 PM, "Glenn Maynard"  wrote:
> Saying "use a real device" isn't very helpful or realistic. Android
> apps need to be tested in many screen configurations and in every
> supported SDK level. If the cost of entry to Android development is
> thousands of dollars of test devices, that's just too high.
>
> --
> 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] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten

Ty, done!

On 11/06/2011 10:12 PM, Mark Murphy wrote:

On Sat, Jun 11, 2011 at 5:07 PM, Simon Platten
  wrote:

I just tried to send you a reply in:

cw-andr...@googlegroups.com

But I'm not sure if the group is correct, I got an email back telling me I
may not have the right to post.

You need to join the group first. Visit
http://groups.google.com/group/cw-android and join! Your first post
will be moderated, but I usually take care of that pretty quickly.

Sorry for the confusion.



--
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: How to call an Activity method from another Java class in Android

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 5:09 PM, niko20  wrote:
>
> My concern with ever passing an activity is now you expose yourself to
> that activity memory leak problem, right? Unless you make sure to set
> it to null in onDestroy()

It depends on the lifetime of TestClass. If TestClass lives for less
time than does the Activity, there's no problem.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 5:07 PM, Simon Platten
 wrote:
> I just tried to send you a reply in:
>
> cw-andr...@googlegroups.com
>
> But I'm not sure if the group is correct, I got an email back telling me I
> may not have the right to post.

You need to join the group first. Visit
http://groups.google.com/group/cw-android and join! Your first post
will be moderated, but I usually take care of that pretty quickly.

Sorry for the confusion.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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 to call an Activity method from another Java class in Android

2011-06-11 Thread niko20

My concern with ever passing an activity is now you expose yourself to
that activity memory leak problem, right? Unless you make sure to set
it to null in onDestroy()

On Jun 11, 2:11 pm, Mark Murphy  wrote:
> On Sat, Jun 11, 2011 at 3:19 AM, Reza  wrote:
> > My main Activity is as below:
>
> > public class MainActivity extends Activity{
> >   public void onCreate(){
> >        TestClass mTestClass = new TestClass(this); 
> >   }
>
> >   public   testMethod(){
> >     // do some work here
> >   }
> > }
>
> > now, in my TestClass.java I receive reference to the MainActivity:
>
> > public class TestClass{
>
> >   public TestClass(Activity mActivity){
> >      mActivity.testMethod();      //Android/Java doesn't recoginze
> > testMethod here
> >   }
> > }
>
> Of course. There is no testMethod() implemented on Activity. If you
> want to reference testMethod(), you have to pass a MainActivity to
> TestClass' constructor, not just an Activity.
>
> > I've been trying to solve this issue for a few days with no success.
>
> Since you are new to Java, I recommend you stop Android development
> for a few months and learn Java outside of Android. Trying to learn
> Java and Android at the same time will be very frustrating, as most
> Java educational resources do not deal with the things that are odd
> about Android.
>
> > P.S. The TestClass will act as a library that everyone can call it
> > from their android application. In other words, I provide the
> > TestClass as the library. The user then implements the content of a
> > method that will be executed whenver certain conditions are met. Thus,
> > I need to call that specific method (which will be defined by the user
> > in their own Activity) through a reference which is passed by the user
> > to my library class
>
> As you spend your months learning Java, I recommend that you learn
> about Java interfaces.
>
> http://en.wikipedia.org/wiki/Interface_(Java)
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training...At Your Office:http://commonsware.com/training

-- 
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] Animate Dialogfragment

2011-06-11 Thread Christer Nordvik
Is it possible to animate a DialogFragment when it appears? I want a
flip animation (from zero width and then "flip" into view, but nothing
happens when I try to animate it.

I asked the question here also (no answers):
http://stackoverflow.com/questions/6129567/is-it-possible-to-animate-a-dialogfragment

My relevant code:

FragmentTransaction ft =
getFragmentManager().beginTransaction();
InfoDialogFragment newFragment = InfoDialogFragment.newInstance();
ft.setCustomAnimations(R.anim.grow_in, R.anim.fadeout);
ft.add(newFragment, "dialog");
ft.commit();
...
public class InfoDialogFragment extends DialogFragment {

-- 
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] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten

Hi Mark,

I just tried to send you a reply in:

cw-andr...@googlegroups.com 

But I'm not sure if the group is correct, I got an email back telling me 
I may not have the right to post.


Regards,
Simon

On 11/06/2011 9:52 PM, Mark Murphy wrote:

On Sat, Jun 11, 2011 at 4:47 PM, Simon Platten
  wrote:

Yes the onReceive is certainly being called, which I discovered after adding
the Toast, but the call:

wpService.sendWakefulWork( context )

Doesn't appear to be working after a reboot...

That doesn't make much sense. All that does is grab a WakeLock and
call startService(). The code is less than 200 lines for the whole
WakefulIntentService -- sprinkle it with Log calls or breakpoints or
something and see what's happening.

Two BTW's:

1. I just uploaded a new edition of WakefulIntentService, correcting a
possible memory leak (I was creating the WakeLock using the Context
passed into onReceive() rather than the Application context)

2. For help with WakefulIntentService itself, I recommend the
[cw-android] Google Group, so we don't clutter up this list with
third-party 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] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 4:47 PM, Simon Platten
 wrote:
> Yes the onReceive is certainly being called, which I discovered after adding
> the Toast, but the call:
>
> wpService.sendWakefulWork( context )
>
> Doesn't appear to be working after a reboot...

That doesn't make much sense. All that does is grab a WakeLock and
call startService(). The code is less than 200 lines for the whole
WakefulIntentService -- sprinkle it with Log calls or breakpoints or
something and see what's happening.

Two BTW's:

1. I just uploaded a new edition of WakefulIntentService, correcting a
possible memory leak (I was creating the WakeLock using the Context
passed into onReceive() rather than the Application context)

2. For help with WakefulIntentService itself, I recommend the
[cw-android] Google Group, so we don't clutter up this list with
third-party stuff

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten

Sorry,

Yes the onReceive is certainly being called, which I discovered after 
adding the Toast, but the call:


wpService.sendWakefulWork( context )

Doesn't appear to be working after a reboot...


On 11/06/2011 9:38 PM, Mark Murphy wrote:

On Sat, Jun 11, 2011 at 4:33 PM, Simon Platten
  wrote:

Thank you, I've added a Toast to my wprotatorReciever onReceive routine and
it is getting there, here is the code for that onReceive routine:

public void onReceive(Context context, Intent intent) {
Toast.makeText(context, "wprotatorReciever",
Toast.LENGTH_SHORT).show();

wpService.sendWakefulWork( context );
}

Although it is getting into the onReceive every 5 seconds, it is not
performing the service...this is the same code that is scheduled when
running normally and it works then but not after a reboot.

OK, I'm confused. You said that it's not running, but it is displaying
the Toast, which means it is running. Which is 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] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 4:33 PM, Simon Platten
 wrote:
> Thank you, I've added a Toast to my wprotatorReciever onReceive routine and
> it is getting there, here is the code for that onReceive routine:
>
>    public void onReceive(Context context, Intent intent) {
>        Toast.makeText(context, "wprotatorReciever",
> Toast.LENGTH_SHORT).show();
>
>        wpService.sendWakefulWork( context );
>    }
>
> Although it is getting into the onReceive every 5 seconds, it is not
> performing the service...this is the same code that is scheduled when
> running normally and it works then but not after a reboot.

OK, I'm confused. You said that it's not running, but it is displaying
the Toast, which means it is running. Which is it?

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten

Hi Mark,

Thank you, I've added a Toast to my wprotatorReciever onReceive routine 
and it is getting there, here is the code for that onReceive routine:


public void onReceive(Context context, Intent intent) {
Toast.makeText(context, "wprotatorReciever", 
Toast.LENGTH_SHORT).show();


wpService.sendWakefulWork( context );
}

Although it is getting into the onReceive every 5 seconds, it is not 
performing the service...this is the same code that is scheduled when 
running normally and it works then but not after a reboot.


Thank you,
Simon

On 11/06/2011 9:23 PM, Mark Murphy wrote:

Try SystemClock.elapsedRealtime()+lngInterval for your second
parameter to setRepeating(). Then add an entry to LogCat using
android.util.Log in wprotatorReciever's onReceive() method to confirm
if you are getting there.

I don't recommend using Toasts from background stuff, alarms and boot
receivers in particular, even for diagnostic stuff. LogCat will be
more safer and less likely to be missed.

On Sat, Jun 11, 2011 at 4:13 PM, Simon Platten
  wrote:

Its been a while since I first posted regarding this problem, I've been
away...Mark Murphy was advising me on the problem and I said I would post
the code:

I can see from the Toast in my class that the onReceive method is being
called, but the actual intent that I install in the AlarmManager doesn't
work.

Here is the onReceive code:

 public void onReceive(Context context, Intent intent) {
 clsWallpaper.wpSettings settings = clsWallpaper.getSettings( context
);

 if ( settings.m_intRotation == clsWallpaper.FREQ_MANUAL ) {
// Do nothing rotation is manual!
 return;
 }
 if ( settings != null ) {
 AlarmManager am =
(AlarmManager)context.getSystemService(Context.ALARM_SERVICE);
 Intent i = new Intent(context, wprotatorReciever.class);
 PendingIntent sender = PendingIntent.getBroadcast(context, 0, i,
0);
 long lngInterval = clsWallpaper.getInterval(
settings.m_intRotation, settings.m_lngInterval );

 am.setRepeating( AlarmManager.ELAPSED_REALTIME_WAKEUP,
  SystemClock.elapsedRealtime(),
  lngInterval,
  sender);

 Toast.makeText(context, "Wall-paper: " +
Long.toString(lngInterval), Toast.LENGTH_SHORT).show();
 }
 }

The toast near the end does come up after a reboot and the interval I've set
is 5 seconds, so it displays 5000 milliseconds.

Thanks for any help...
Simon

--
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] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Mark Murphy
Try SystemClock.elapsedRealtime()+lngInterval for your second
parameter to setRepeating(). Then add an entry to LogCat using
android.util.Log in wprotatorReciever's onReceive() method to confirm
if you are getting there.

I don't recommend using Toasts from background stuff, alarms and boot
receivers in particular, even for diagnostic stuff. LogCat will be
more safer and less likely to be missed.

On Sat, Jun 11, 2011 at 4:13 PM, Simon Platten
 wrote:
> Its been a while since I first posted regarding this problem, I've been
> away...Mark Murphy was advising me on the problem and I said I would post
> the code:
>
> I can see from the Toast in my class that the onReceive method is being
> called, but the actual intent that I install in the AlarmManager doesn't
> work.
>
> Here is the onReceive code:
>
>     public void onReceive(Context context, Intent intent) {
>         clsWallpaper.wpSettings settings = clsWallpaper.getSettings( context
> );
>
>         if ( settings.m_intRotation == clsWallpaper.FREQ_MANUAL ) {
> // Do nothing rotation is manual!
>             return;
>         }
>         if ( settings != null ) {
>             AlarmManager am =
> (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);
>             Intent i = new Intent(context, wprotatorReciever.class);
>             PendingIntent sender = PendingIntent.getBroadcast(context, 0, i,
> 0);
>             long lngInterval = clsWallpaper.getInterval(
> settings.m_intRotation, settings.m_lngInterval );
>
>             am.setRepeating( AlarmManager.ELAPSED_REALTIME_WAKEUP,
>                              SystemClock.elapsedRealtime(),
>                              lngInterval,
>                              sender);
>
>             Toast.makeText(context, "Wall-paper: " +
> Long.toString(lngInterval), Toast.LENGTH_SHORT).show();
>         }
>     }
>
> The toast near the end does come up after a reboot and the interval I've set
> is 5 seconds, so it displays 5000 milliseconds.
>
> Thanks for any help...
> Simon
>
> --
> 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

Android Training...At Your Office: http://commonsware.com/training

-- 
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] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
Its been a while since I first posted regarding this problem, I've been
away...Mark Murphy was advising me on the problem and I said I would post
the code:

I can see from the Toast in my class that the onReceive method is being
called, but the actual intent that I install in the AlarmManager doesn't
work.

Here is the onReceive code:

public void onReceive(Context context, Intent intent) {
clsWallpaper.wpSettings settings = clsWallpaper.getSettings( context
);

if ( settings.m_intRotation == clsWallpaper.FREQ_MANUAL ) {
// Do nothing rotation is manual!
return;
}
if ( settings != null ) {
AlarmManager am =
(AlarmManager)context.getSystemService(Context.ALARM_SERVICE);
Intent i = new Intent(context, wprotatorReciever.class);
PendingIntent sender = PendingIntent.getBroadcast(context, 0, i,
0);
long lngInterval = clsWallpaper.getInterval(
settings.m_intRotation, settings.m_lngInterval );

am.setRepeating( AlarmManager.ELAPSED_REALTIME_WAKEUP,
 SystemClock.elapsedRealtime(),
 lngInterval,
 sender);

Toast.makeText(context, "Wall-paper: " +
Long.toString(lngInterval), Toast.LENGTH_SHORT).show();
}
}

The toast near the end does come up after a reboot and the interval I've set
is 5 seconds, so it displays 5000 milliseconds.

Thanks for any help...
Simon

-- 
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: Java book (like C K&R and C++ Programming Language)

2011-06-11 Thread Kristopher Micinski
Overall,  I'd have to say that Java is a much easier language to program in
than C++.

It's probably not a good idea long term, but I found that most of it I could
figure out just by following my nose.  If you know C++, I'd say that you
should just start to look at Java code, and see how it fits together.

After a few months, you should be able to understand the actual standard
fairly easily, and you will probably even be able to understand pretty well
how java translates to JVM code.  The translation process for java -> JVM is
much easier than, say, C++, where understanding a C++ compiler is something
that probably takes a career worth of thinking.

Along with that, understanding the JVM might also give some insight into
what you're really doing, taking a look at the JVM bytecode layout,  and
then Dalvik (I must admit, I still haven't taken the time to do this as much
as I should) will probably help too.

(Actually, on a side note, looking at a java compiler -- there are many open
source ones out there, google "java compiler paper" -- is actually an
enlightening experience from a compiler design perspective, because it
elides all of the low level details you might want to think about
separately).

So try getting an idea of all the details of Java by looking at code, then
look at the language spec (*Free online*!) and then after a while the JVM
spec, then this: http://www.milk.com/kodebase/dalvik-docs-mirror/docs/


Kris

On Fri, Jun 10, 2011 at 4:57 PM, luciofm  wrote:

> Thanks for the response..
>
> I've already ordered the "Effective Java", will take a look now in
> pricing of the others..
>
> Thanks again, and have a great weekend.
> Lúcio Maciel
> luci...@gmail.com
>
>
>
> On Fri, Jun 10, 2011 at 17:07, fadden  wrote:
> > On Jun 8, 6:55 am, luciofm  wrote:
> >> I have a C and C++ background and i'm looking for "THE" java book, like
> the
> >> "C Programming Language, best know as K&R, for C and the "C++
> Programming
> >> Language" by Bjarne Stroustrup for C++.
> >
> > If you're looking for reference material, _The Java Language
> > Specification_ and _The Java Programming Language_ (published by Sun
> > through Addison-Wesley) are the canonical references.
> >
> > Bruce Eckel's _Thinking in Java_ is better for "everyday" sorts of
> > things.  And no Java coding library is complete without Josh Bloch's
> > _Effective Java_.
> >
> > --
> > 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

Re: [android-developers] How to call an Activity method from another Java class in Android

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 3:19 AM, Reza  wrote:
> My main Activity is as below:
>
> public class MainActivity extends Activity{
>   public void onCreate(){
>        TestClass mTestClass = new TestClass(this); 
>   }
>
>   public   testMethod(){
>     // do some work here
>   }
> }
>
>
> now, in my TestClass.java I receive reference to the MainActivity:
>
> public class TestClass{
>
>   public TestClass(Activity mActivity){
>      mActivity.testMethod();      //Android/Java doesn't recoginze
> testMethod here
>   }
> }

Of course. There is no testMethod() implemented on Activity. If you
want to reference testMethod(), you have to pass a MainActivity to
TestClass' constructor, not just an Activity.

> I've been trying to solve this issue for a few days with no success.

Since you are new to Java, I recommend you stop Android development
for a few months and learn Java outside of Android. Trying to learn
Java and Android at the same time will be very frustrating, as most
Java educational resources do not deal with the things that are odd
about Android.

> P.S. The TestClass will act as a library that everyone can call it
> from their android application. In other words, I provide the
> TestClass as the library. The user then implements the content of a
> method that will be executed whenver certain conditions are met. Thus,
> I need to call that specific method (which will be defined by the user
> in their own Activity) through a reference which is passed by the user
> to my library class

As you spend your months learning Java, I recommend that you learn
about Java interfaces.

http://en.wikipedia.org/wiki/Interface_(Java)

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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] Slideshow

2011-06-11 Thread Samir Mangroliya
I want start slide show when i click on gallary in my application and
get Selected Image(Its more than 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


[android-developers] IMarketBillingService

2011-06-11 Thread mscarafo
I have a project in my Eclipse workspace. It is a java library to be
used in an AIR application.
I have created a new package in the project named
'com.android.vending.billing'. This package contains
'IMarketBillingService.aidl' from the Billing Demo application. Once
the file is added to the project an 'IMarketBillingService.java gets
created. So far so good. BUT, there isn't a 'Stub' class created. As a
result I cannot import
'com.android.vending.billing.IMarketBillingService' into any file. I
get an error that it can't resolve the import. Here's the rub. I can
import the 'Dungens' demo into my workspace and it works fine. I have
also created a test project in my workspace and it works fine. It
creates the 'Stub' class and I am able to import
'com.android.vending.billing.IMarketBillingService' into my files. The
question I have is:
Is there a setting that you know of that would disable the generation
of the 'Stub' class? Thanks for any help you can give in this matter.

-- 
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] Accelerometer range

2011-06-11 Thread Ted
I am writing an app that uses accelerometer. After some testings I
noticed that the range of values that the app shows is -2g to 2g.
http://www.bosch-sensortec.com/content/ ... Rev1.3.pdf states that the
range can be switched. How do I switch it to 4g?

-- 
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] Accelerometer range

2011-06-11 Thread Ted
I am writing an app that uses accelerometer. After some testings I
noticed that the range of values that the app shows is -2g to 2g.
http://www.bosch-sensortec.com/content/ ... Rev1.3.pdf states that the
range can be switched. How do I switch it to 4g?

-- 
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] Connection center

2011-06-11 Thread i42sasij
Hi Everyone,
I'm trying to configure the Open NFC library. I followed the help
document provided by them, but when execution. I would like to know
what is Connection Center in that document or if can anyone please
help me to download it?
Thanks & Regards

-- 
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: Java book (like C K&R and C++ Programming Language)

2011-06-11 Thread luciofm
Thanks for the response..

I've already ordered the "Effective Java", will take a look now in
pricing of the others..

Thanks again, and have a great weekend.
Lúcio Maciel
luci...@gmail.com



On Fri, Jun 10, 2011 at 17:07, fadden  wrote:
> On Jun 8, 6:55 am, luciofm  wrote:
>> I have a C and C++ background and i'm looking for "THE" java book, like the
>> "C Programming Language, best know as K&R, for C and the "C++ Programming
>> Language" by Bjarne Stroustrup for C++.
>
> If you're looking for reference material, _The Java Language
> Specification_ and _The Java Programming Language_ (published by Sun
> through Addison-Wesley) are the canonical references.
>
> Bruce Eckel's _Thinking in Java_ is better for "everyday" sorts of
> things.  And no Java coding library is complete without Josh Bloch's
> _Effective Java_.
>
> --
> 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] Loading a Class from APK with the permissions in that apk

2011-06-11 Thread Mahender
Hi,
 We are building a framework as a service and the framework uses
the datasources to get data from different sources like Facebook,
GMail, Calls, GPS, Battery Information etc. So the development of
framework is separate and the development of datasources is seperate.

Whenever there is a need for data in the framework, the datasources
class is dynamically loaded from the APK.

So the problem is with the permissions. The permissions in framework
is different from the permission defined in datasources.apk

When I load the class from datasources APK in the framework project I
am getting permission denied error for sources dependent on GPS,
Battery Information.

Is there any way to load the required permissions from the datasources
APK in the framework.

Regards,
Mahender

-- 
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 call an Activity method from another Java class in Android

2011-06-11 Thread Reza
In my main activity I am having a method that I need to call from a
secondary java class. I used the constructor of the secondary java
class to receive reference to the main Activity. I then tried to use
this reference to invoke that method from the body of the secondary
java class. But java doesn't recognize that method through the passed
reference?


My main Activity is as below:

public class MainActivity extends Activity{
   public void onCreate(){
TestClass mTestClass = new TestClass(this); 
   }

   public   testMethod(){
 // do some work here
   }
}


now, in my TestClass.java I receive reference to the MainActivity:

public class TestClass{

   public TestClass(Activity mActivity){
  mActivity.testMethod();  //Android/Java doesn't recoginze
testMethod here
   }
}

I've been trying to solve this issue for a few days with no success. I
urgently need your help and would appreciate any suggestion!

P.S. The TestClass will act as a library that everyone can call it
from their android application. In other words, I provide the
TestClass as the library. The user then implements the content of a
method that will be executed whenver certain conditions are met. Thus,
I need to call that specific method (which will be defined by the user
in their own Activity) through a reference which is passed by the user
to my library class

-- 
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] Stop Thread started by bindService

2011-06-11 Thread The NaP
Hello guys, I start a thread with a simple counter from 1 to 1000. My
interface has Start and Stop functions.
I want to stop the counter but when I click on Stop my App is
returning the exception
 "java.lang.IllegalArgumentException: Service not registered ".

Anyone knows how to solve this problem.
I using the interface Runnable...

Thanks...

[Main Activity] - Not the entire code

public class ServiceConnectionMain extends Activity implements
ServiceConnection{



 //interface ServiceConnection
final ServiceConnection conexao = this;

//Iniciar servico
Button btStart = (Button) findViewById(R.id.btnstart);
btStart.setOnClickListener(new Button.OnClickListener(){
public void onClick( View v ){

//cria uma intent para a classe de servico
Class classeServico = ServicoComConexao.class;
Intent itService = new
Intent( ServiceConnectionMain.this, classeServico);

bindService( itService, conexao,
Context.BIND_AUTO_CREATE );

}
});

//Parar Servico
Button btStop = (Button) findViewById(R.id.btnstop);
btStop.setOnClickListener(new Button.OnClickListener(){
public void onClick(View v){
unbindService( conexao );
mBound = false;
}
});
}

public void onServiceConnected(ComponentName className, IBinder
service) {
// Recupera a interface para interagir com o serviÁo
LocalBinder binder = (LocalBinder) service;
contador = binder.getService();
}

public void onServiceDisconnected(ComponentName className) {
contador = null;
}
}


[Service with Thread] not entire code


public class ExemploServico extends Service implements Runnable {

private static final String CATEGORIA = "exemplo";

protected int count;
private static final int MAX = 1000;
private boolean ativo;

public void run() {
// TODO Auto-generated method stub
ativo = true;
while (ativo && count <= MAX){
Log.i(CATEGORIA, "Contador está em: " + count);
doThing();
count++;
}

}

-- 
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] SSL Socket Connection fails after network cut

2011-06-11 Thread Lorie Pisicchio
Hello,
I am developping an application that is connecting to a distant server via 
SSL. 
I have a watchdog monitoring network connection.
When the phone looses the network connection while my application is 
running, I close the current socket and start a periodic task to try to 
reconnect.
Problem starts when network is back : my application creates a brand new SSL 
Socket, and start reading in it (socket.getInputStream().read()). Here, the 
read action returns immediatly with result  -1 (which I interpret as socket 
input stream being not valid).
The periodic task runs infinitly, create a new SSL Socket, start reading in 
it, and immediatly get -1 result...

The code for creating the socket : 
SSLSocketFactory socketFactory;
socketFactory = SSLSocketFactory.getSocketFactory();

socketFactory.setHostnameVerifier(SSLSocketFactory.STRICT_HOSTNAME_VERIFIER);
Socket socket;
try {
socket = socketFactory.createSocket();
HttpParams params = new BasicHttpParams();
socket = socketFactory.connectSocket(socket, 
remoteIp.getHostName(), remotePort, null, 0, params);
} catch (Exception e) {
Log.e(TAG, "Unable to create socket", e);
}


For information, if I connect to the server using standard connection (I 
mean, not SSL), everything is OK. 
Do you think it can be a bug in org.apache.http.conn.ssl.SSLSocketFactory?

Any help would be appreciated!
Best Regards,
Lorie.

-- 
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] How to do native sound programming in android?

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 10:47 AM, XzPeter  wrote:
> I am wanting to write a native C app that record real time sound in
> android and then send via network. I have searched the internet about
> sound programming in android, but most of the articles are talking
> about using the class MediaPlayer or MediaRecorder in Java. So, How in
> C?

Questions about using the NDK for technologies like OpenSL are better
asked on a list that pertains to using the NDK, such as the
[android-ndk] Google Group.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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] Simulate UI Actions on device

2011-06-11 Thread Mark Murphy
On Fri, Jun 10, 2011 at 9:12 AM, Gorav Singal  wrote:
> Actually, I want to have mobile application running in background. And, I
> have a java application running on desktop, which will send commands through
> socket. And, the device application will perform the required UI action.
> e.g. touch/click on coordinates x, y
> I want to perform UI action on screen regardless whatever on screen. Is it
> possible without SDK?

No, sorry.

> If not, then is MonkeyRunner is enough for it?

Only you can answer that.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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] Is there any way to disable landscape mode for widget?

2011-06-11 Thread Kostya Vasilyev
Widgets run within the launcher.

The launcher's activity is not controlled by the application that provides
the widget, so setting screenOrientation is not an option (unless we're
talking about writing a launcher).

However, one can use regular resource qualifiers - res/layout-port  and/or
layout-land for widget layouts (and other qualifiers as appropriate), or
perhaps create dimension resources and put separate versions under
res/values and res/values-land (just one more way of doing it).

-- Kostya

2011/6/10 Rajani Golakoti 

> Hi Alexy,
> Set this android tag in your activity tag in which you are displaying your
> view.
> *android:screenOrientation="portrait"*.
>
>
>
>
> On Fri, Jun 10, 2011 at 5:18 AM, Alexey Onuchin wrote:
>
>> Hi to all,
>>
>> I'm developing a simple widget for which I want to leave only portrait
>> mode. So is there any way to block lanscape mode like we can do it for
>> Activities?
>>
>> 
>> Thanks in advance,
>> Alexey
>>
>> --
>> 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
> Rajani.G.
>
>
>  --
> 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 USSD

2011-06-11 Thread Tsolmon Narantsogt
Dear Comrade.

I wanna make ussd checker ( i think it's a widget ). So i don't know more
about ussd command and code.
So help me ?

Anybody knows open source project ussd on android?

---

Regards
Tsolmon

-- 
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: Java book (like C K&R and C++ Programming Language)

2011-06-11 Thread Satya Komatineni
C++ by Stroustroup is one of the best books in languages that I have
read (especially the ARM book).

On Java I still prefer the simplicity of the first edition by the
creator of Java. to the point. brief. clear and concise.

The more recent topics you can probably learn from on line sources
such as generics, genericized lists etc..


On Sat, Jun 11, 2011 at 7:26 AM, John  wrote:
>
>> I have a C and C++ background and i'm looking for "THE" java book, like the
>> "C Programming Language, best know as K&R, for C and the "C++ Programming
>> Language" by Bjarne Stroustrup for C++.
>
> I have always liked the Core Java books (two volumes) by Horstmann and
> Cornell. now in their eighth edition.  See 
> http://www.horstmann.com/corejava.html
> for more details.  I also support the other poster's recommendation of
> Josh Bloch's book entitled Effective Java as an excellent reference,
> but not necessarily as a first source for learning Java.
>
> --
> 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



-- 
Satya Komatineni
http://www.satyakomatineni.com
http://www.androidbook.com

-- 
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] DOM - problem

2011-06-11 Thread n30
Hi!
This is my first post here, so Welcome everyone!
I have a problem with my first android app.

Document dom = builder.parse("http://192.168.16.1/calc.xml";);
it is working on Virtual Machine, but when I test it on my Motorola
Deffy(2,1 update1) i am receving following exception:
Input stream needs either stream or reader.

I have in my manifest:


Thx in advance for any help.

Best Regards!

-- 
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] Is there any way to disable landscape mode for widget?

2011-06-11 Thread Rajani Golakoti
Hi Alexy,
Set this android tag in your activity tag in which you are displaying your
view.
*android:screenOrientation="portrait"*.



On Fri, Jun 10, 2011 at 5:18 AM, Alexey Onuchin wrote:

> Hi to all,
>
> I'm developing a simple widget for which I want to leave only portrait
> mode. So is there any way to block lanscape mode like we can do it for
> Activities?
>
> 
> Thanks in advance,
> Alexey
>
> --
> 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
Rajani.G.

-- 
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] Simulate UI Actions on device

2011-06-11 Thread Gorav Singal
Actually, I want to have mobile application running in background. And, I
have a java application running on desktop, which will send commands through
socket. And, the device application will perform the required UI action.

e.g. touch/click on coordinates x, y

I want to perform UI action on screen regardless whatever on screen. Is it
possible without SDK? If not, then is MonkeyRunner is enough for it?


Thanks



On Fri, Jun 10, 2011 at 6:35 PM, Pepijn Van Eeckhoudt <
pep...@vaneeckhoudt.net> wrote:

> If you're trying to test your own application code you can do this via the
> Instrumentation API.
>
> Pepijn
>
>
> On 10/06/2011 14:34, Mark Murphy wrote:
>
>> On Thu, Jun 9, 2011 at 3:41 AM, gorav  wrote:
>>
>>> I want to simulate keyboard events, touch events on screen. And, I
>>> don;t want to have dependency on Android SDK. i.e. I want to deploy
>>> apk file on device, which can fire some events.
>>>
>> Fortunately, this is impossible, as it would be a massive security flaw.
>>
>>
> --
> 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
>



-- 
Be the change U want to see in the world...

-- 
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 do native sound programming in android?

2011-06-11 Thread XzPeter
Hi, all,

I am wanting to write a native C app that record real time sound in
android and then send via network. I have searched the internet about
sound programming in android, but most of the articles are talking
about using the class MediaPlayer or MediaRecorder in Java. So, How in
C?

Peter

-- 
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: echo cancellation

2011-06-11 Thread PEGUS
How do you get audio from mediaRecorder and play it on mediaPlayer
simultaneously ??
can you show me some of your code?

On 1 jun, 00:43, neha  wrote:
> when i use mediaRecorder and mediaPlayer simultaneously there is noecho.
> But when i useAudioRecord/track simultaneously der isecho.
> Can any one suggest y this happening...
>
> On May 28, 4:01 pm, Chris Stratton  wrote:
>
>
>
>
>
>
>
> > On Friday, May 27, 2011 12:52:55 AM UTC-4, neha wrote:
>
> > > thanx 4 rply...
> > > but if i turn down volume control thn will not be able to hear playbackd
> > > voice.
> > > and how to seperate mic and speaker ..
>
> >Echocancellation in speaker phones / conference phones was one of the
> > big-deal applications for digital signal processing.  You will probably find
> > a lot of information about that if you do a search.

-- 
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] GPS:Getting SHA1 instead of MD5 fingerprint, wants to get Google MAP API..

2011-06-11 Thread Prachi
I am getting following results:

C:\Program Files\Java\jdk1.7.0\bin>keytool -list -alias
androiddebugkey -keystor e "C:\Documents and Settings
\Administrator.android\debug.keystore" -storepass a ndroid -keypass
android androiddebugkey, May 27, 2011, PrivateKeyEntry, Certificate
fingerprint (SHA1): "20 bit Some Code"

But after entering this in http://code.google.com/android/maps-api-signup.html
for getting MAP API it is showing invalid fingerprint.

Can you please guide me is the fingerprint I have got is correct or
not. Because I am getting it as SHA1 and not MD5. How can I get API
key??

-- 
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: echo cancellation

2011-06-11 Thread PEGUS
How do you get audio from mediarecorder and play it in
mediaplayer simultaneously?
can you show me some of your code?

On 1 jun, 00:43, neha  wrote:
> when i use mediaRecorder and mediaPlayer simultaneously there is no
> echo.
> But when i use AudioRecord/track simultaneously der is echo.
> Can any one suggest y this happening...
>
> On May 28, 4:01 pm, Chris Stratton  wrote:

-- 
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] June 2011 - Which Platform Should I Get?

2011-06-11 Thread Rocotilos
I have SDK 3.1 now. My device is Running Android Froyo 2.2.

So which SDK should I get?

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] upgrade

2011-06-11 Thread pratap
Hi,
I want to re-upload my application on android market place. I have
tried but each time, i am getting the error "The apk must be signed
with the same certificates as the previous version". i have tried with
another package name used in application, increased version code and
version name as well, but it is throwing same error. Please let me
know the step-by-step procedure to fix the issue as soon as possible.
it will be very helpful for me.
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


Re: [android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread dan raaka
adb should be working all fine for development purposes on google i/o
device.
Also, 3.1 was OTA'ed to these devices starting yesterday : check this..

"SamsungJohn  John Imah
  Google I/O 3.1 Update is available, see details in link!
http://ow.ly/5eoTu";

-Dan


On Sat, Jun 11, 2011 at 8:53 AM, John Coryat  wrote:

> Doesn't show on my mac. All I've done is plug it in though, so there may be
> a workaround that I'm unaware of. I have four other devices so it's not a
> big deal. I must say that it's an excellent tablet. Once it's running 3.1 it
> will be even better. From what I understand, 3.1 is supposed to ship with
> the commercially available devices.
>
> -John Coryat
>
> --
> 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] Testing questions - testing BluetoothAdapter and service startup

2011-06-11 Thread BKM
Hi,

I have been searching for several days for examples of test cases that
deal with Services, or that deal with BluetoothAdapter. We have an
Activity, which enables the BluetoothAdapter, and then calls a Service
which repeatedly detects nearby Bluetooth devices. There is very
little UI in this application - just a list of detected MAC
addresses.  We want to test this using the Android testing framework,
but all the examples out there are very UI-based. I am looking for
advice or examples of the following:
1. a test to see if the Activity successfully starts a Service
2. a way to create a mock objects for the Bluetooth Adapter and
BluetoothDevice, so I can feed predetermined values into my
ServiceTestCase methods.

Is any of this possible? How do other people test services and
components that are not UI based?

thanks,
Bonnie

-- 
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] Problema com gridview quando desliza a barra de rolagem

2011-06-11 Thread Gerson Novais
Hi, sorry for my Bad English.

I'll cut a long story. I have an activity with just a GridView and set
an adapter for it. This adapter inherits from BaseAdapter normally.

This adapter in the GetView method creates and returns ToogleButton,
which are placed side by side in the columns of the gridview, On Off
their texts are coming from an ArrayList .

Even so good, the ToogleButtons are usually positioned side by side,
but I have a number of ToogleButtons larger than the area, which
creates a scrollbar in gridview.

The problem is now when I select some ToogleButtons and do the
rollover of the gridview, the tooglebuttons that evaporate from the
screen up or down when they lose again selected. After several
attempts I found that even if it is going to gridview selected status
of a button switches to another that has not been selected and is
passing as if the selection was random.

My impression is that the position of the elements change.

My question is, how to work correctly with the GridView, so you can
change elements that are contained within, without her to change this
information?

I want to select when ToogleButtons necessary, scroll the gridview up
and down and tooglebuttons I selected previously will be selected.

I have looked everywhere.

Thanks 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] Re: WebView not calling onReceivedError 500 error from server

2011-06-11 Thread Grantland
onReceivedError doesn't get called on HTTP response errors, only
resource errors.

"... [onRecievedError] errors are not HTTP errors but are
unrecoverable resource errors (file not found, no network connection,
server not found for the main resource,
etc.)."

http://code.google.com/p/android/issues/detail?id=968

On Jun 9, 10:13 pm, Brad  wrote:
> I've got a webview and I've set the webviewclient to my own class
> where I override the onReceivedError and onPageFinished methods.
>
> When my server returns a 500 error code along with an html error
> message, onPageFinished gets called but onReceviedError does not.
>
> I've tried calling a completely bogus url and onReceivedError does get
> called in this case (with "unable to resolve host" error code).
>
> I wouldn't think it would matter but I'm making an https (SSL) call.
>
> Am I mistaken in believing that onReceivedError should get called when
> my server returns 500?
>
> I could work around this by searching the returned html for a
> commented keyword (that I insert in the server code), but alas there
> is no way to access the html of the currently displayed page using
> webview.
>
> Basically I want to hide the webview control unless I'm certain that
> it's displaying the content that I intend (from my server).

-- 
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: Is there any way to disable landscape mode for widget?

2011-06-11 Thread June Hello
hi, what does additional layouts mean? I have the same question, thanks for
any advices

On Fri, Jun 10, 2011 at 8:35 PM, Alexey Onuchin wrote:

> Hmm, Ok. Then I will provide additional layouts :)
> Thanks.
>
> On 10 июн, 16:24, Mark Murphy  wrote:
> > On Fri, Jun 10, 2011 at 8:18 AM, Alexey Onuchin 
> wrote:
> > > I'm developing a simple widget for which I want to leave only portrait
> > > mode. So is there any way to block lanscape mode like we can do it for
> > > Activities?
> >
> > No, sorry.
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|
> http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
> >
> > Android 3.0 Programming Books:http://commonsware.com/books
>
> --
> 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] Re: question about Snake game in sample code-- getting the snake tiles on to same coordinate plane as SnakeView

2011-06-11 Thread CresCoJeff
Yes, the 7,3 coordinates do refer to the snake's head tile bitmap (I
did not make it sensitive to touch events; 7,3 is merely the
coordinate set it starts off around)  and the 90,40 is from my touch
input on the view-- my question is how can I make the bitmaps that
compose the snake's head and body 'aware' of what coordinates on the
view's coordinate plane they overlap?  Also, and you probably will
need access to the sample code to answer this, how exactly do the
snake's update/draw functions work when it is essentially on its own
coordinate plane?  I would expect them to map to the view's coordinate
plane somewhere before rendering, but perhaps they don't need to and
the Android renderer can work with only relative coordinates?

On Jun 10, 2:30 am, rich friedel  wrote:
> I don't have access to the snake game code at the moment but if I had to 
> guess, I'd say that the (7, 3) coords are where the touchevent takes place on 
> the body part and (90, 40) refers to where the touchevent takes place in the 
> entire view.

-- 
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] Good phone for development - and getNeighboringCellInfo()

2011-06-11 Thread André Coelho
I have done something similar to what you want. I developed an application
that we needed for a study.
It collects GSM and WiFI data, stores it in a file that I later process with
a perl script. The script sends GSM and WiFi data to Google's geolocation
api and retrieves location coordinates (like those in GPS).
We needed a way to annotate events with location data without the user
incurring any costs. Location information is critical to our work but
doesn't really need to be calculated immediately.
We wrote a paper on it with results of how accurate this method was, turned
out to be pretty good.
WiFi info gets you a better location then GSM (more precise) and sending
both WiFi and gsm doesn't do any better than just WiFi.
Also, there is a caveat if you don't operate the phone strictly in 2G mode
the method that retrieves neighbouring cell info returns -1 for all data.
You can only get information from the cell you are connected to when in 3G.
It's a limitation of the API.
No dia 10 de Jun de 2011 02:39, "Davide Ronchi"  escreveu:

-- 
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: Detecting Button Clicks

2011-06-11 Thread c0dege3k
That would work if the buttons and the game logic were in the same
class, but they aren't. I have a GameBoard class with all of the
buttons set up in there, and then I have a Game class with the game
logic. The game logic method looks a little like this:

public void runGame() {
while(!gameOver) {
if(/*button clicked*/) {
if(detectWin(turn ? 
PLAYER1_SYMBOL:PLAYER2_SYMBOL)) {
gameOver = true;
if(turn)
winMessage.setMessage("Player 1 
won!");
else
winMessage.setMessage("Player 2 
won!");
continue;
}
else
turn = !turn;
}
}

winMessage.show();
}

On Jun 10, 8:33 am, Mark Murphy  wrote:
> Use setOnClickListener() or android:onClick.
>
>
>
>
>
>
>
>
>
> On Thu, Jun 9, 2011 at 1:18 PM, c0dege3k  wrote:
> > I'm writing a simple tic-tac-toe game, with regular buttons making up
> > the grid. What I want to happen is for when one button is clicked, for
> > the "turn" boolean to switch. There doesn't seem to be a detect-click
> > method built-in, so I was wondering if there was an easy way to solve
> > this 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 3.0 Programming Books:http://commonsware.com/books

-- 
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] Activity gets Terminated using AssetManager list() on 2.1 - 2.2

2011-06-11 Thread Ender
Hello

I am creating an app that gets 600 HTML files from the assets file
when I try to get a the list of files using the AssetManager list()
the the application terminates. When I debug and I try to step threw
it The application just stops I don't get no errors in the LogCat. I
also noticed that when I remove some files in the assets the
application works fine.

This only happens on android 2.1 and android 2.2 but when I run it on
2.3 it works fine

here is part of my code
AssetManager assets = getApplicationContext().getAssets();
String[] list;
try {
 list = assets.list("cantos");
} catch (IOException e) {
// TODO Auto-generated catch block
Log.d("IO",e.getMessage());
}


Could I be overflowing the heap? I really don't know what is going on
hope you guys 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] displaying ImageView coordinates

2011-06-11 Thread GeorgePZ
I'm a newbie so sorry if the question is dumb! I have created a
Gallery, a baseAdapter and the Gallery is working fine. However I need
to find the coordinates ( in terms of the Gallery view )of each image
inside the Gallery when the user clicks on this image. Also most
importantly, I need to find out the coordinates of each ImageView in
terms of the whole screen, meaning the general coordinates

public void onCreate(Bundle savedInstanceState)
{

super.onCreate(savedInstanceState);
setContentView(R.layout.main);

final Gallery g1 = (Gallery) findViewById(R.id.gallery1);   //
creating gallery object 1
g1.setAdapter(  new ImageAdapter(this)  );
g1.setBackgroundColor(Color.BLUE);

g1.setOnItemClickListener(
new OnItemClickListener()
{
public void onItemClick(AdapterView parent, 
View v, int
position, long id)
{
/* here we get the coordinates of View 
'v' */
int xCord = v.getRight();
int yCord = v.getBottom();

Toast.makeText(ImageGallery.this, 
"index: " + position +
" x coord: "+ xCord + " y coord: " + yCord,
Toast.LENGTH_SHORT).show();


} // end of method 'onItemClick'
} // end of internal anonymous class 
'OnItemClickListener'
); // end of 'setOnItemClickListener' call

}

/** 'ImageAdapter' class */
public class ImageAdapter extends BaseAdapter
{
   ..
   ..

// an array of IDs that reference the images saved in the
drawable resources directory (res/drawable/)
private Integer[] mImageIds =
{
//each image's size is 320x60
R.drawable.sample1,
R.drawable.sample2,
R.drawable.sample3,
R.drawable.sample4,
R.drawable.sample5,
R.drawable.sample6,
R.drawable.sample7
};

...
...

@Override
public View getView(int position, View convertView, ViewGroup
parent)
{
// TODO Auto-generated method stub
// create a new object of type 'ImageView' using context
object called 'imageView1'
ImageView imageView1 = new ImageView(mContext);
// here we set the image by given its source from array
'mImageIds'
imageView1.setImageResource( mImageIds[position] );
// setting the Gallery.LayoutParams height and width for
the image
imageView1.setLayoutParams(new Gallery.LayoutParams( 300,
150 ));


imageView1.setScaleType(ImageView.ScaleType.CENTER_INSIDE );
/
*imageView1.setBackgroundResource(mGalleryItemBackground);*/

// here we return the image
return imageView1;
}

-- 
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 GridView scrolling and lost tooglebuttons select

2011-06-11 Thread Gerson Felipe
Hi, sorry for my Bad English.

I'll cut a long story. I have an activity with just a GridView and set
an adapter for it. This adapter inherits from BaseAdapter normally.

This adapter in the GetView method creates and returns ToogleButton,
which are placed side by side in the columns of the gridview, On Off
their texts are coming from an ArrayList .

Even so good, the ToogleButtons are usually positioned side by side,
but I have a number of ToogleButtons larger than the area, which
creates a scrollbar in gridview.

The problem is now when I select some ToogleButtons and do the
rollover of the gridview, the tooglebuttons that evaporate from the
screen up or down when they lose again selected. After several
attempts I found that even if it is going to gridview selected status
of a button switches to another that has not been selected and is
passing as if the selection was random.

My impression is that the position of the elements change.

My question is, how to work correctly with the GridView, so you can
change elements that are contained within, without her to change this
information?

I want to select when ToogleButtons necessary, scroll the gridview up
and down and tooglebuttons I selected previously will be selected.

I have looked everywhere.

Thanks 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] Re: Good phone for development - and getNeighboringCellInfo()

2011-06-11 Thread André Coelho
Sorry, I think i might have mailed you a response more than once.

On Jun 9, 4:21 pm, Davide Ronchi  wrote:
> Hi all.
>
> I am about to start an Android development project. I would like some
> advice before starting with the project.
>
> First of all, I have done some research on which phone would be the
> best to do Android development. I have seen many suggestions, but most
> people seem to point at the Google Nexus One (or its UK equivalent,
> the HTC Desire). I was wondering if there is anything more recent that
> is as good as the Nexus One. I have seen people suggesting the Nexus
> S, but I'd rather not use a Samsung phone for the reason I'll explain
> below. Also, the HTC Desire S seems to have a signed bootloader, and
> I'd like to be able to tinker with the OS if I will need to during the
> project (this is not a commercial application, it's more of a research
> project, so it's ok if I need to modify the OS). The HTC Desire HD
> seems more like a modern alternative to the Desire, but I have found
> no one suggesting it as a good, modern developer phone for Android.
> Any other suggestion?
>
> For this project I will need to triangulate the user's location using
> GSM cell info. Problem is that sometimes, we will need to triangulate
> the position *after* the phone has lost signal (i.e. the user has
> gotten into an underground transport system). I was thinking of two
> possible strategies to do so:
> 1. write an application that stays in the background and uses
> LocationManager + LocationManager.NETWORK_PROVIDER to receive location
> updates from the network provider and then use the latest known
> location
> 2. log all the cell IDs I see and use the last few ones (together with
> their known location) at a later time to triangulate the user's
> location
>
> Strategy #1 has the obvious advantage that it is supported by most
> Android phones and works reasonably well for what I need to do.
> Problem is, it will drain the user's battery. Even if it is relatively
> cheap to use Network Location instead of GPS to locate the user, I
> need only to locate the user when he/she enters the public transit
> network. If the user goes out of town, my application will keep
> querying the location provider for nothing.
>
> Strategy #2 works reasonably well for my purposes, as I suppose the
> phone will see a different set of cells depending on the entry point
> (and therefore it might not even be necessary to do the actual
> triangulation, I could build a database of (Station Name, Set of
> visible cells) tuples and consult it without even bothering
> translating that into actual coordinates. Also, logging the cell
> information is something that can be done substantially for free, as
> the phone already has that information and I am only reading it and
> discarding it if I don't need it. Trouble is, in this case, that I
> have seen that the function for doing this on Android don't always
> work well on all phones. I know, by reading previous posts on this
> forum, that Samsung phones don't support getNeighboringCellInfo().
> Also, many *other* phones don't support that function.
>
> I was wondering: is there anyone here who knows of a current phone
> that supports getNeighboringCellInfo() *for sure*?
>
> Thanks,
> Davide

-- 
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] Good phone for development - and getNeighboringCellInfo()

2011-06-11 Thread André Coelho
I have done something similar to what you are trying to do. We ran a study a
while back where we compared the accuracy and precision of a time-shifted
location process vs an on-demand one. We wrote an article with our results.
We collected GSM and WiFi data on several locations and we also collected
the Android's Network Provider location coordinates. The GSM and WiFi data
we collected was processed by a perl script that sends the infor to Google's
geolocation API and parses the response with the result (which is location
coordinates).
We found that our method was pretty good compared to the location the device
serves up on-site. Our purpose was to develop a way to annotate events with
location data without the users of our apps incurring in any costs.
There is a caveat you should know about, it's a limitation of the API. If
you are operating your phone in 3G mode you can only get information for the
cell you are connected to, all information from neighbouring cells will show
up with the value -1. However, if you change the radio to operate strictly
in 2G mode, then all neighbouring cell information shows up just fine when
you call the method from the API.
Additionally, from our results, I can tell you that using just GSM data
doesn't provide you with very precise location data. Either use GSM+WiFi or
just WiFi which have nearly identical results. Anyway, it obviously depends
on how precise you want your location data to be.

Regards,
André Coelho

2011/6/9 Davide Ronchi 

> Hi all.
>
> I am about to start an Android development project. I would like some
> advice before starting with the project.
>
> First of all, I have done some research on which phone would be the
> best to do Android development. I have seen many suggestions, but most
> people seem to point at the Google Nexus One (or its UK equivalent,
> the HTC Desire). I was wondering if there is anything more recent that
> is as good as the Nexus One. I have seen people suggesting the Nexus
> S, but I'd rather not use a Samsung phone for the reason I'll explain
> below. Also, the HTC Desire S seems to have a signed bootloader, and
> I'd like to be able to tinker with the OS if I will need to during the
> project (this is not a commercial application, it's more of a research
> project, so it's ok if I need to modify the OS). The HTC Desire HD
> seems more like a modern alternative to the Desire, but I have found
> no one suggesting it as a good, modern developer phone for Android.
> Any other suggestion?
>
> For this project I will need to triangulate the user's location using
> GSM cell info. Problem is that sometimes, we will need to triangulate
> the position *after* the phone has lost signal (i.e. the user has
> gotten into an underground transport system). I was thinking of two
> possible strategies to do so:
> 1. write an application that stays in the background and uses
> LocationManager + LocationManager.NETWORK_PROVIDER to receive location
> updates from the network provider and then use the latest known
> location
> 2. log all the cell IDs I see and use the last few ones (together with
> their known location) at a later time to triangulate the user's
> location
>
> Strategy #1 has the obvious advantage that it is supported by most
> Android phones and works reasonably well for what I need to do.
> Problem is, it will drain the user's battery. Even if it is relatively
> cheap to use Network Location instead of GPS to locate the user, I
> need only to locate the user when he/she enters the public transit
> network. If the user goes out of town, my application will keep
> querying the location provider for nothing.
>
> Strategy #2 works reasonably well for my purposes, as I suppose the
> phone will see a different set of cells depending on the entry point
> (and therefore it might not even be necessary to do the actual
> triangulation, I could build a database of (Station Name, Set of
> visible cells) tuples and consult it without even bothering
> translating that into actual coordinates. Also, logging the cell
> information is something that can be done substantially for free, as
> the phone already has that information and I am only reading it and
> discarding it if I don't need it. Trouble is, in this case, that I
> have seen that the function for doing this on Android don't always
> work well on all phones. I know, by reading previous posts on this
> forum, that Samsung phones don't support getNeighboringCellInfo().
> Also, many *other* phones don't support that function.
>
> I was wondering: is there anyone here who knows of a current phone
> that supports getNeighboringCellInfo() *for sure*?
>
> Thanks,
> Davide
>
> --
> 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
> h

[android-developers] Re: Animation

2011-06-11 Thread Fernando R
There is an other way to do animation.. expanding the class
ImageView... it's like adding the actual image and just on the ondraw
event call the invalidate() function which allows you to show the next
image of you animation... you would probably have to manage the time
that you have to wait before showing the next image..

On 10 jun, 06:33, Neha  wrote:
> Hii all,
>    I tried a lot to animate an image without clicking on the image.but i
> didn't get the result. send me your suggestions. below i mentioned my code
>                   * project.java*
>                 final ImageView imageView = (ImageView)
> findViewById(R.id.blankImageView);
>         final AnimationDrawable yourAnimation;
>         imageView.setBackgroundResource(R.drawable.loadinganim);
>         yourAnimation = (AnimationDrawable) imageView.getBackground();
>           yourAnimation.start();
>
>          and an Xml file like this in the res/drawable/anim
>                                   
> http://schemas.android.com/apk/res/android";
>     android:oneshot="false">
>     
>     
>     
>     
>     
>     
>     
>     
>     
>    
>
> Thanks 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] New to Android

2011-06-11 Thread June Hello
Hi, I think you should put setWidgetReferences() first to initialize the
members, then addWidgetListeners()

On Wed, Jun 8, 2011 at 3:20 PM, goAndroid  wrote:

> I encounter a crash "java.lang.NullPointerException" whenever I run my
> app. please help:
>
>
> --
> package Botton.radio;
>
> import android.app.Activity;
> import android.os.Bundle;
> import android.view.View;
> import android.view.View.OnClickListener;
> import android.widget.Button;
> import android.widget.RadioButton;
> import android.widget.RadioGroup;
> import android.widget.TextView;
> import android.widget.RadioGroup.OnCheckedChangeListener;
>
> public class RadioButtonWidget extends Activity {
>public class ClearButtonListener implements OnClickListener {
>@Override
>public void onClick(View aArg0) {
>mRadioGroup.clearCheck();
>mTextView.setText(getString(R.string.selection) + " "
>+ getString(R.string.none));
>}
>}
>
>public class RadioGroupListener implements OnCheckedChangeListener
> {
>@Override
>public void onCheckedChanged(RadioGroup radioButton,
>int idOfSelectedRadioButton) {
>if (idOfSelectedRadioButton != -1) {
>mRadioButton = (RadioButton)
> findViewById(idOfSelectedRadioButton);
>mTextView.setText(getString(R.string.selection) + " "
>+ mRadioButton.getText());
>}
>}
>
>}
>
>private Button mClearButton;
>private RadioButton mRadioButton;
>private RadioGroup mRadioGroup;
>private TextView mTextView;
>
>@Override
>public void onCreate(Bundle savedInstanceState) {
>super.onCreate(savedInstanceState);
>setContentView(R.layout.main);
>addWidgetListeners();
>setWidgetReferences();
>
>}
>
>private void addWidgetListeners() {
>ClearButtonListener aListener = new ClearButtonListener();
>RadioGroupListener rListener = new RadioGroupListener();
>mClearButton.setOnClickListener(aListener);
>mRadioGroup.setOnCheckedChangeListener(rListener);
>}
>
>private void setWidgetReferences() {
>mClearButton = (Button) findViewById(R.id.clear);
>mRadioGroup = (RadioGroup) findViewById(R.id.menu);
>mTextView = (TextView) findViewById(R.id.choice);
>}
> }
>
> --
> 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] Re: how do I change screen orientation from ADB or equivalent?

2011-06-11 Thread Gardner
I think that Dianne said that you get to build robotic arms. I, for
one, welcome our new robotic arm overlords!

-g

On May 9, 12:03 am, Dianne Hackborn  wrote:
> Orientation is global.  The top-most app controls the orientation.  If your
> app is not on the top, you can't force an orientation upon the app that is
> currently on top.
>
>
>
>
>
>
>
>
>
> On Fri, May 6, 2011 at 3:17 PM, Morgan  wrote:
> > Thank you everybody for your insight. I'm still at something of a loss
> > here, I'm (literally) about to build a few robotic arms to accomplish
> > this, but before I do I would like to hear from someone explicitly
> > that this can not be done.
>
> > I've attempted to launch an installed app which itself forces
> > orientation change programmatically, but that only affects the
> > orientation of that program instance, and the underlying orientation
> > remains unchanged, i.e. if you open a browser instance on top of it,
> > it retains the original orientation.
>
> > The tests are by necessity comprised of some real-world material, and
> > would be invalidated if they were re-instantiated in a customized
> > form. Once again, thanks for those that have commented so far,
>
> > Sincerely,
> > Morgan Kelly
>
> > On Apr 17, 8:24 pm, Diego Torres Milano  wrote:
> > > Flip command in monkey is expected to work only in emulator and Dream
> > > (see MonkeyFlipEvent.java).
>
> > > On Apr 15, 4:56 pm, Bill Napier  wrote:
>
> > > > Then again, I just tried it with the Nexus S and it doesn't work.  It
> > may
> > > > work on devices with keyboards like Droid.  Here's how I tested it:
>
> > > > $ adb shell "monkey --port "
> > > > $ adb forward tcp: tcp:
> > > > $ telnet localhost 
> > > > Connected to localhost.
> > > > Escape character is '^]'.
> > > > flip open
> > > > OK
> > > > flip close
> > > > OK
>
> > > > And nothing happened on my phone.  It may actually work on a device
> > that has
> > > > a flip out keyboard (G1 or droid for example), but I don't have one
> > handy.
>
> > > > On Fri, Apr 15, 2011 at 11:24 AM, Bill Napier 
> > wrote:
> > > > > It looks like the "flip" command from the protocol that monkeyrunner
> > uses
> > > > > may do it for you.  It looks like it never got added to MonkeyDevice
> > to be
> > > > > exposed as part of the monkeyrunner API.
>
> >http://android.git.kernel.org/?p=platform/development.git;a=blob;f=cm...
>
> > > > > On Thu, Apr 14, 2011 at 4:26 AM, lbendlin  wrote:
>
> > > > >> Well, the monkey can do it (change orientation, that is)  so you
> > might be
> > > > >> able to learn how to do it from the monkey source code.
>
> > > > >> --
> > > > >> 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
>
> > > > > --
> > > > > Note: please don't send private questions to me, as I don't have time
> > > > > to provide private support.  All such questions should be posted on
> > > > > public forums, where I and others can see and answer them
>
> > > > --
> > > > Note: please don't send private questions to me, as I don't have time
> > > > to provide private support.  All such questions should be posted on
> > > > public forums, where I and others can see and answer them
>
> > --
> > 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
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
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: Detecting Button Clicks

2011-06-11 Thread c0dege3k
Just figured it out- using a button clicked variable in the game
class- *duh*

On Jun 10, 8:33 am, Mark Murphy  wrote:
> Use setOnClickListener() or android:onClick.
>
>
>
>
>
>
>
>
>
> On Thu, Jun 9, 2011 at 1:18 PM, c0dege3k  wrote:
> > I'm writing a simple tic-tac-toe game, with regular buttons making up
> > the grid. What I want to happen is for when one button is clicked, for
> > the "turn" boolean to switch. There doesn't seem to be a detect-click
> > method built-in, so I was wondering if there was an easy way to solve
> > this 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 3.0 Programming Books:http://commonsware.com/books

-- 
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] Installing Adobe Air on Samsung i5510 - Android 2.2 Froyo

2011-06-11 Thread Amit Bhardwaj
I was testing a hello world example which works well on desktop.
Though when I try this on device it ends with an error at 57%.

The error screen says
--
Exception occured during launch.
Reason:
Error occurred while installing the application:
pkg: /data/local/tmp/Runtime.apk


Failure[INSTALL_FAILED_INVALID_APK]

2303kb/s (6108444 bytes in 2.589s)
-

I have Samsung I5510 with Android 2.2 (FROYO)

-- 
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: Android 3.1 is too slow

2011-06-11 Thread Glenn Maynard
Saying "use a real device" isn't very helpful or realistic.  Android
apps need to be tested in many screen configurations and in every
supported SDK level.  If the cost of entry to Android development is
thousands of dollars of test devices, that's just too high.

-- 
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] Creating a view in java

2011-06-11 Thread c0dege3k
I have a class in my app that extends View, and I need to pass in the
Context and AttributeSet parameters, but I don't know what to use. So,
IS there a way to make a view without using the findViewById method?

-- 
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] Slow motion video

2011-06-11 Thread New Developer
MediaPlayer had getFrameAt  which has been  depreciated

I was hoping to use this to create my own play function
Where I could throw in a sleep or delay
So as to control the time between frames being shown and thus create a slow 
motion play back.

Do anyone have any ideas on the replacement to getFrameAt ?

Or another means to create a slow motion play back of video ?

thanks in advance


On May 30, 2011, at 10:02 AM, New Developer wrote:

> IF this was answered I apologize
> But I have not been receiving mail from the android-developers mailing list 
> since friday
> anyhow that has been fixed.
> 
> Are there any ideas on how to implement slow motion ?
> 
> Is there a way to tap into  or Override the   VideoView  play thread ?
> 
> Or should I use something else ?
> 
> Currently I have my own control buttons and a progress slider (to control 
> speed  I hope)
> When I click the Play button I call VideoView's  start();
> 
> thanks again and sorry if this was already answered.
> 
> 
> 
> On May 24, 2011, at 7:19 PM, TheBear wrote:
> 
>> I am able to play back video using the mediaplayer with the standard
>> video control buttons.
>> 
>> My question is how can I use a slider /progress bar to act as a play
>> back speed.
>> which function would I have to override and how.
>> basically
>> 
>> while not end of movie
>>   play next frame
>>   sleep (value of progress bar   (0 - 100) * 4000);
>> 
>> this way when the slider/progress bar is at 0 sleep is 0; thus there
>> is NO delay in playback
>> 
>> when the slider is at 100 then sleep is 40,000, thus there is a 40
>> second delay between frames causing the video to slow.
>> 
>> As you can see I have a concept but I am not sure of the routines, I
>> found reference to play a frame
>> but could not find any examples and it would appear that it is now
>> depreciated.
>> 
>> thanks 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
> 
> -- 
> 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] Fwd: Subfolders in the res/drawable

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 12:31 PM, droidGUI  wrote:
> this thread is from two years ago;
>
> And now?
>> Is it possible to have subfolders in the /res/drawable, /res/values and 
>> /res/layout  directory?

No, sorry.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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: Dialog with no Activity?

2011-06-11 Thread albnok
It plainly looks like it loads an activity that, seeing the intent
passed, loads the dialog or possibly another activity with a
translucent theme.

On Jun 9, 4:35 pm, jtomasko  wrote:
> On the xoom tablet (3.1), after selecting a notification of a google
> calendar event, a dialog box (as far as I can tell) opens center
> screen with options to view the calendar event or dismiss it.
>
> According to my interpetation of the Andriod Dev docs, a dialog needs
> to be activated from an activity, so how is the Google calendar doing
> this?  Even if the calendar is not open (such as just showing the
> desktop), the dialog still shows up.
>
> I need to do the same... show a dialog from a notification.  Any ideas
> on how the Google calendar made that happen?
>
> Thanks,
> Jim

-- 
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] Fwd: Subfolders in the res/drawable

2011-06-11 Thread droidGUI
Hi all,

this thread is from two years ago;

And now?
> Is it possible to have subfolders in the /res/drawable, /res/values and 
> /res/layout  directory?

Thanks


-- Forwarded message --
From: AJ 
Date: 5 out 2009, 10:22
Subject: Subfolders in the res/drawable
To: Android Developers


that's sad

AJ

On Oct 5, 6:11 pm, "Mark Murphy"  wrote:

> > Is it possible to have subfolders in the /res/drawable directory.

> Unfortunately, no.

> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.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


Re: [android-developers] Setting Ringtones

2011-06-11 Thread dan raaka
which device... this will help to find it ..
$ adb shell getprop | grep -i fingerprint

-Dan


On Thu, Jun 9, 2011 at 12:24 PM, MCON Dev  wrote:

> ContentValues values = new ContentValues();
>values.put(MediaStore.MediaColumns.DATA, resourcePath);
>values.put(MediaStore.MediaColumns.TITLE, (String) ((Button)
> v).getText());
>values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/mp3");
>values.put(MediaStore.Audio.Media.IS_RINGTONE, true);
>values.put(MediaStore.Audio.Media.IS_NOTIFICATION, false);
>values.put(MediaStore.Audio.Media.IS_ALARM, false);
>values.put(MediaStore.Audio.Media.IS_MUSIC, true);
>
>// Insert it into the database
>Uri uri =
> MediaStore.Audio.Media.getContentUriForPath(resourcePath);
>RingtoneManager.setActualDefaultRingtoneUri(this,
> RingtoneManager.TYPE_RINGTONE, uri);
>
> I set a mp3 ringtone (that plays well on my ubuntu and windows) on
> samsung galaxy android phone, but it gives a weird sound instead of
> the mp3.
>
> Conny
>
> --
> 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: BackupAgent

2011-06-11 Thread dan raaka
see what you find here...
$ adb shell dumpsys backup

-Dan


On Fri, Jun 10, 2011 at 5:07 AM, b_t  wrote:

> Thank you for your response.
>
> All of these options are enabled in my phone but backup still doesn't
> work.
>
> Maybe the problem is about my ROM, I don't know
>
> On Jun 10, 1:14 pm, Kostya Vasilyev  wrote:
> > Ok, here is some info:
> >
> > http://developer.android.com/guide/topics/data/backup.html#Testing
> >
> > Ensure that backup is enabled
> >
> >- If using the emulator, you can enable backup with the following
> command
> >from your SDKtools/ path:
> >
> >adb shell bmgr enable true
> >
> >- If using a device, open the system *Settings*, select *Privacy*,
> then
> >enable *Back up my data* and *Automatic restore*.
> >-
> >( strangely enough, my Xperia Arc running 2.3.3 doesn't have this
> setting
> >under Privacy but a Galaxy S does )
> >-- Kostya
> >
> > 2011/6/10 Kostya Vasilyev 
> >
> >
> >
> >
> >
> >
> >
> > > I remember there being some kind of user setting when configuring a new
> > > phone.
> >
> > > Can't say exactly what it is, might be the second from the top under
> > > Accounts and Sync in Settings.
> >
> > > --
> > > Kostya Vasilyev
> > > 10.06.2011 13:01 пользователь "b_t"  написал:
> >
> > > > If I wipe user data when I start emulator then backup works.
> >
> > > > There is a setting or something that can disable backup process?
> >
> > > > What should I do to work it on my phone too?
> >
> > > > On Jun 10, 10:35 am, b_t  wrote:
> > > >> Hi,
> >
> > > >> I'm trying to implement BackupAgent functionality but I have no
> luck.
> >
> > > >> It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or
> in
> > > >> my device with 2.3.3.
> >
> > > >> In 2.3.x it just displays when I run "bmgr backup run" in adb shell:
> >
> > > >> 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling main entry
> > > >> com.android.commands.bmgr.Bmgr
> > > >> 06-10 10:25:39.273: DEBUG/AndroidRuntime(14616): Shutting down VM
> >
> > > >> In 2.2 emulator everything is ok!
> >
> > > >> Do you have any idea?
> >
> > > >> Thanks,
> > > >> Tamás
> >
> > > > --
> > > > 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

Re: [android-developers] Will Android ever natively support Arabic language?

2011-06-11 Thread dan raaka
@Mark Murphy
NexusS is pure vanilla AOSP software. So, it should reflect whatever you
find in a emulator (SDK image). So, it was not a Samsung decision. There are
some discussions on the contrib email list of the RTL support in general ...

-Dan


On Fri, Jun 10, 2011 at 6:34 AM, Mark Murphy wrote:

> On Fri, Jun 10, 2011 at 9:04 AM, omar  wrote:
> > Hello,
> > Each day I read a new thread in Arabic forums about someone frustrated
> > that Android doesnt support Arabic, and what made things worse is that
> > in this page: http://d.android.com/sdk/android-2.3.html  , Arabic is
> > mentioned as its supported in Gingerbread, and I was lucky enough to
> > not rush and buy the Nexus S to discover it actually doesnt support
> > Arabic.
>
> That was a decision by Samsung, presumably.
>
> > So the question is: Will future Android releases receive native Arabic
> > support?
>
> Android is an operating system. Android supports Arabic today (though
> my understanding is that RTL support is better in Android 3.x).
>
> Whether any given device manufacturer elects to include Arabic in
> their firmware is up to the device manufacturer.
>
> Third-party firmwares (e.g., CyanogenMod) may include support for more
> languages than a given device supports from the manufacturer -- you'd
> need to see what their support is for Arabic.
>
> >  Will Ice Cream Sandwich have Arabic support?
>
> Considering that Gingerbread has Arabic support, and that Google has
> not dropped support for any language AFAIK, one would presume that ICS
> will have Arabic support.
>
> Whether any given ICS device has Arabic support is up to the device
> manufacturer.
>
> If you feel that device manufacturers are not supporting Arabic
> enough, please take up your issues with the device manufacturers in
> question.
>
> And, of course, absolutely none of this has anything whatsoever to do
> with this list.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android 3.0 Programming Books: http://commonsware.com/books
>
> --
> 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] Re: Problems while working with Android 2.2 Froyo - Need help - Thanks very much!

2011-06-11 Thread Rob
I am having this same issue when running on Android 2.2, any ideas would be 
GREATLY appreciated!

Thanks!
Rob

-- 
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: One of my apps no longer appears in searches, or under "my apps" public page?

2011-06-11 Thread TreKing
On Sat, Jun 11, 2011 at 9:14 AM, Mike Wolfson  wrote:

> That would mean:
> -they would have to have the email of every dev publishing to the market
> -have access to a email service capable of sending emails to this group
>
> My point being, they certainly have access to these 2 things, and could
> easily do this.
>

You missed one: it would also require someone - anyone - on the Market Team
giving a damn about developers. This person does not exist. So while they
easily *can* send a simple warning, no one cares enough to.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 11:53 AM, John Coryat  wrote:
> Doesn't show on my mac.

Doesn't show in terms of running adb devices/viewing it in DDMS, or in
terms of a mounted volume?

If you mean the latter, Android 3.x uses MTP, not USB mass storage,
and I think you need an MTP client for OS X.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread Chris Stewart
I hope that changes, quickly. I won't have the Xoom much longer and will
need to purchace something. If I can't do dev on the Tab, I might not have a
choice but to buy a Xoom. :-/

Sent from my Xoom
On Jun 11, 2011 11:54 AM, "John Coryat"  wrote:
> Doesn't show on my mac. All I've done is plug it in though, so there may
be
> a workaround that I'm unaware of. I have four other devices so it's not a
> big deal. I must say that it's an excellent tablet. Once it's running 3.1
it
> will be even better. From what I understand, 3.1 is supposed to ship with
> the commercially available devices.
>
> -John Coryat
>
> --
> 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] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread John Coryat
Doesn't show on my mac. All I've done is plug it in though, so there may be 
a workaround that I'm unaware of. I have four other devices so it's not a 
big deal. I must say that it's an excellent tablet. Once it's running 3.1 it 
will be even better. From what I understand, 3.1 is supposed to ship with 
the commercially available devices.

-John Coryat

-- 
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] Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread Chris Stewart
I've been hearing that Mac support for the Galaxy Tab from Google I/O is
very poor.  I've been planning to buy one next week to use as my primary
development device but if this is the case, I may have to stick with the
Xoom.  Can anyone confirm or deny what I've been hearing?

--
Chris Stewart
http://chriswstewart.com

-- 
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 Proguard - how to keep onClick handlers only referenced from XML layouts

2011-06-11 Thread Marcin Orlowski
If I remember correctly, android uses reflection while accessing onClick
handles specified in layout file instead of set via code, so if I am now
wrong, you will pay for that with performance loss (yes, it's most likely
insignificiant for the whole app, but still). I also think that if you want
to use proguard to make your app harder to rev-eng, you shall consider
dropping android:onClick in faviour of setting handlers in code instead of
exluding them from proguard

Regards,
Marcin Orlowski

*Tray Agenda * - keep you daily schedule handy...
*Date In Tray*  - current date at glance...
WebnetMobile on *Facebook * and
*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

[android-developers] Re: One of my apps no longer appears in searches, or under "my apps" public page?

2011-06-11 Thread Joan Pujol
I have the same problem with one of my apps.
I agree with all in that these problems should have been notified to 
publishers.

-- 
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: One of my apps no longer appears in searches, or under "my apps" public page?

2011-06-11 Thread Mike Wolfson
Well how could Google possibly send out an email.

That would mean:
-they would have to have the email of every dev publishing to the
market
-have access to a email service capable of sending emails to this
group

My point being, they certainly have access to these 2 things, and
could easily do this.

I would also accept a banner message on the console announcing outages
and upgrades.

Finally, would it be so hard to actually perform the updates "off-
hours"?  Maybe on a Sunday?  I know this is an international service,
which limits the times for maintenance windows, but I imagine there is
a better time than during the day on Friday.

Developing software professionally for 15 years, I have never released
an update during business hours, without notifying my customer (not a
single time).  I guess the GOOG plays by different rules then us
"mortals"

On Jun 11, 5:28 am, Mark Wyszomierski  wrote:
> @Tom, yeah my app started appearing again now, thanks for the heads
> up. I wonder if they could send out a planned maintenance email with a
> warning that there might be some quirks for a given period of time.
>
> On Jun 11, 3:20 am, "Tom / HyperBees"  wrote:
>
> > Gents, I was told that Google was running some Market updates
> > yesterday and they are aware of the situation. Games we published
> > started to disappear from search on Friday afternoon GMT.
>
> > On Jun 11, 7:58 am, b_t  wrote:
>
> > > My apps disappeared too. :(
> > > What is going on?
>
> > > On Jun 11, 1:51šam, Kostya Vasilyev  wrote:
>
> > > > Mine stopped appearing in searches by name. Will try to make a dummy 
> > > > change
> > > > as well.
>
> > > > --
> > > > Kostya Vasilyev
> > > > 11.06.2011 8:03 ÐÏÌØÚÏ×ÁÔÅÌØ "Mark Wyszomierski"  
> > > > ÎÁÐÉÓÁÌ:
>
> > > > > Quick update - I thought maybe somehow my app got dropped from
> > > > > google's end, so I just modified a few characters of my app
> > > > > description and saved. Now it at least appears in direct searches in
> > > > > marketplace. Still doesn't show up its old search terms, or under my
> > > > > accounts page.
>
> > > > > Sigh.
>
> > > > > On Jun 10, 11:58 pm, Mark Wyszomierski  wrote:
> > > > >> Hi,
>
> > > > >> I have a few apps in the marketplace. One of them no longer appears 
> > > > >> in
> > > > >> searches, and if I look under the "other apps from this developer"
> > > > >> page for myself, it doesn't appear there either. I can see the app ok
> > > > >> using its direct url, and it also appears ok in my marketplace 
> > > > >> control
> > > > >> panel. There aren't any notes on it like that it was banned or
> > > > >> something, it's a pretty generic application.
>
> > > > >> Anyone else experiencing this?
>
> > > > >> 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

-- 
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: Encoding image into Base64

2011-06-11 Thread perumal316
Is this possible? My aim is to get the image from my Android
application. Currently I using a java servlet that will get the
incoming base64 encoded string and convert back to a image again. If I
am going to use FileEntity or InputStreamEntity, how must I structure
my backend?

Thanks In Advance,
Perumal

On Jun 10, 3:55 am, Jens  wrote:
> That depends wholly on your backend - although a backend that requires
> you to use Base64 encoding seems a tad bit pointless.
>
> Are you sure you're not supposed to post the image directly (using a
> FileEntity or InputStreamEntity for instance) - with the correct
> Content-Type set of course?
>
> On 9 Juni, 12:12, perumal316  wrote:
>
>
>
>
>
>
>
> > Hi All,
>
> > I need to do a HTTPPost of a Jpeg and a Jpeg2000 image to a backend.
> > For Jpeg I converted it to byte array and did a Base64 encoding using
> > the Base64 class which is available in Android.
>
> > See:http://developer.android.com/reference/android/util/Base64.html
>
> > Is this the correct way to do? Because I am not receiving any image in
> > the backend.
>
> > This is for jpeg. Is I do the same steps using Jpeg2000 my application
> > crashed.
>
> > How do I do a HTTPPost of a Jpeg2000 image? Is encoding of image to
> > Base64 a must? Is there any other way?
>
> > Thanks In Advance,
> > Perumal

-- 
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: Generating .jar from Android service project

2011-06-11 Thread herry
yeah,come on,have you resoved this problem?
i am confuse by this too...
any reply is thankful

On May 31, 9:27 pm, DanielSchH  wrote:
> Hello,
>
> I have a Android Project which implements a android-service. Now I
> want to share this, without publishing the code.
> I have tried to generate a .jar and added it to another android
> project, but then I get a FileNotFoundException: AndroidManifest.xml
>
> Maybe because the service-project contains a Manifest.
>
> Hase somebody an idea how to solve 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] Android - SQLLite

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 9:31 AM, Sivaprakash
 wrote:
> I want to persist few data into SQL Lite storage which comes with Android.
> How the internal storage works because there is a possibility that other
> applications can access my data?

If you store your database in the default directory, that will be in
your application's private internal directory. If you create the
database the default way, other applications will not be able to
access it, unless they are run as superuser on a rooted device.

> Is there any way for me to set password for
> my database to prevent other apps to access my data?

No. You are welcome to encrypt your data by one means or another, so
long as the user supplies the password.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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 - SQLLite

2011-06-11 Thread Sivaprakash
Hi

I want to persist few data into SQL Lite storage which comes with Android.
How the internal storage works because there is a possibility that other
applications can access my data? Is there any way for me to set password for
my database to prevent other apps to access my data?

-- 
- Prakash.

-- 
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] Query Related to Call Log

2011-06-11 Thread Mark Murphy
Query the CallLog content provider.

On Sat, Jun 11, 2011 at 9:21 AM, Napster  wrote:
> I'm planning to develop an application to reduce call expenses for
> users. The basic idea is to show their call durations on sorted
> contacts. For example, my app should shows a list of phone numbers,
> with the most called (most time duration / most number of times
> dialled ) at the top of the list. The other part of the application is
> to suggest the user to get certain voice call plans from the service
> providers, which I can manage to develop. But for the first part, I
> mean accessing the details (every little bit of information about
> calls) of the call-log, I need your help. How can I do this most
> efficiently? All sort of suggestions are welcome.
>
> Thanks 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
>



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

Android Training...At Your Office: http://commonsware.com/training

-- 
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] Query Related to Call Log

2011-06-11 Thread Napster
I'm planning to develop an application to reduce call expenses for
users. The basic idea is to show their call durations on sorted
contacts. For example, my app should shows a list of phone numbers,
with the most called (most time duration / most number of times
dialled ) at the top of the list. The other part of the application is
to suggest the user to get certain voice call plans from the service
providers, which I can manage to develop. But for the first part, I
mean accessing the details (every little bit of information about
calls) of the call-log, I need your help. How can I do this most
efficiently? All sort of suggestions are welcome.

Thanks 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] Re: One of my apps no longer appears in searches, or under "my apps" public page?

2011-06-11 Thread Mark Wyszomierski
@Tom, yeah my app started appearing again now, thanks for the heads
up. I wonder if they could send out a planned maintenance email with a
warning that there might be some quirks for a given period of time.

On Jun 11, 3:20 am, "Tom / HyperBees"  wrote:
> Gents, I was told that Google was running some Market updates
> yesterday and they are aware of the situation. Games we published
> started to disappear from search on Friday afternoon GMT.
>
> On Jun 11, 7:58 am, b_t  wrote:
>
>
>
>
>
>
>
> > My apps disappeared too. :(
> > What is going on?
>
> > On Jun 11, 1:51šam, Kostya Vasilyev  wrote:
>
> > > Mine stopped appearing in searches by name. Will try to make a dummy 
> > > change
> > > as well.
>
> > > --
> > > Kostya Vasilyev
> > > 11.06.2011 8:03 ÐÏÌØÚÏ×ÁÔÅÌØ "Mark Wyszomierski"  
> > > ÎÁÐÉÓÁÌ:
>
> > > > Quick update - I thought maybe somehow my app got dropped from
> > > > google's end, so I just modified a few characters of my app
> > > > description and saved. Now it at least appears in direct searches in
> > > > marketplace. Still doesn't show up its old search terms, or under my
> > > > accounts page.
>
> > > > Sigh.
>
> > > > On Jun 10, 11:58 pm, Mark Wyszomierski  wrote:
> > > >> Hi,
>
> > > >> I have a few apps in the marketplace. One of them no longer appears in
> > > >> searches, and if I look under the "other apps from this developer"
> > > >> page for myself, it doesn't appear there either. I can see the app ok
> > > >> using its direct url, and it also appears ok in my marketplace control
> > > >> panel. There aren't any notes on it like that it was banned or
> > > >> something, it's a pretty generic application.
>
> > > >> Anyone else experiencing this?
>
> > > >> 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

-- 
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: How can I know when the home button has been pressed?

2011-06-11 Thread Simon Jackson
But he probly needs to make a political irritation screen for the department 
of grope safety. With a casino link.

-- 
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   >