Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
I use IntelliJ for all my Android framework development work and I have
used it to work on apps such as the stock Launcher and a couple of personal
apps. I can live without ADT since the most critical tools are available as
standalone apps (DDMS, hierarchyviewer, traceview, etc.) You will probably
miss some of the niceties of ADT so you should give it a try and see how it
feels for you.

IntelliJ is definitely not very good for native code which is why I use
Eclipse (with only the CDT plugin) at the same time. If you have enough RAM
it's a pretty good setup overall: Eclipse for C/C++ and IntelliJ for
everything else.


On Mon, Mar 11, 2013 at 10:47 PM, Jason jason.poli...@gmail.com wrote:

 OK.. I've just about had enough of eclipse.  I have been using it for 10+
 years (ever since it was WSAD :/) and have put up with it's slowness,
 buggyness, upgrade nightmares, plugins that don't work, plugins that do
 work.. then don't, random crashes etc etc... but I just can't take it
 anymore.

 This latest version of eclipse (Juno Service Release 2 Build id:
 20130225-0426) is so riddled with bugs that I can't get through just a
 few hours with either my delete key not working (
 http://stackoverflow.com/questions/2539672/my-delete-key-wont-work-in-eclipse-in-os-x),
 files not saving, a veritable torrent of NullPointerExceptions in the
 Error Log which manifest as random UI failures mixed in with the occasional
 but predictable complete crash followed by a build the world on restart
 that takes about 3 days.

 I love eclipse, but enough is enough.

 So.. is intellij for Android development a realistic option?  Obviously
 Google make plugins for eclipse so this is always going to be the first
 stop for SDK updates, but if anyone is out there who has made the switch
 from eclipse to intellij *specifically for Android work* please let me
 know your opinion.

 I also do a reasonable amount in C++ using the CDT (which is a whole other
 source of issues) and I understand that this is not a strong point for
 intellij (?)

 I really wish the folks at eclipse (whoever they are) would stop trying to
 build features and just make the darn thing stable... I mean 10 years..
 c'mon guys.

 :/

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Romain Guy
Android framework engineer
romain...@android.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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Broadcast receiver in foreground activity - not reliable?

2013-03-12 Thread Piren
Not sure what's going on then... i suggest you add some logging to your 
activity and receiver and try to see what goes wrong... i'm guessing that 
when the app is in the foreground a different intent is being sent (maybe 
because they exit the car mode differently). Not familiar with these 
situations,.sorry :)

On Tuesday, March 12, 2013 2:37:35 AM UTC+2, lbendlin wrote:

 It is registered in onCreate and unregistered in onDestroy of that 
 activity.

 On Monday, March 11, 2013 4:02:36 AM UTC-4, Piren wrote:

 in what lifecycle events do you register/unregister this receiver?



 On Sunday, March 10, 2013 4:25:37 PM UTC+2, lbendlin wrote:

 I got a user reporting that our app does correctly terminate when the 
 user's device exits car mode, but only when the activity that contains the 
 receiver is not active. If the activity is in the foreground then more 
 often than not our app does not terminate.

 The activity is defined as

activity

 android:name=.MainScreen

 android:alwaysRetainTaskState=true

 android:configChanges=orientation

 android:label=@string/app_name

 android:launchMode=singleTask 

 intent-filter

 action android:name=android.intent.action.MAIN /

 category android:name=
 android.intent.category.LAUNCHER /

 category android:name=
 android.intent.category.CAR_DOCK /

 category android:name=
 android.intent.category.CAR_MODE /

 /intent-filter

 /activity



 The receiver is very simple


 *private* BroadcastReceiver undockReceiver = *new* BroadcastReceiver() {

 @Override

 *public* *void* onReceive(Context context, Intent intent) {

 *if* (intent.getAction().equals(android.app.action.EXIT_CAR_MODE)) 
 {

  finish();

 }

 }

 };


 Is there a reason that the receiver does not work reliably?  Is it bad 
 practice to put a receiver inside the main activity? or does it have to do 
 with the activity flags?



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason Polites
Well that pretty much seals the deal for me.  Intellij it is.

I presume this means using ANT as the build system?  I've had all sorts of
trials and tribulations with the ANT build system for Android, although in
fairness most of this has been caused by trying to push it beyond it's
comfort zone (generating mocks, code coverage etc)

Thanks Romain.. love your work ;)


On Tue, Mar 12, 2013 at 12:33 AM, Romain Guy romain...@android.com wrote:

 I use IntelliJ for all my Android framework development work and I have
 used it to work on apps such as the stock Launcher and a couple of personal
 apps. I can live without ADT since the most critical tools are available as
 standalone apps (DDMS, hierarchyviewer, traceview, etc.) You will probably
 miss some of the niceties of ADT so you should give it a try and see how it
 feels for you.

 IntelliJ is definitely not very good for native code which is why I use
 Eclipse (with only the CDT plugin) at the same time. If you have enough RAM
 it's a pretty good setup overall: Eclipse for C/C++ and IntelliJ for
 everything else.


 On Mon, Mar 11, 2013 at 10:47 PM, Jason jason.poli...@gmail.com wrote:

 OK.. I've just about had enough of eclipse.  I have been using it for 10+
 years (ever since it was WSAD :/) and have put up with it's slowness,
 buggyness, upgrade nightmares, plugins that don't work, plugins that do
 work.. then don't, random crashes etc etc... but I just can't take it
 anymore.

 This latest version of eclipse (Juno Service Release 2 Build id:
 20130225-0426) is so riddled with bugs that I can't get through just a
 few hours with either my delete key not working (
 http://stackoverflow.com/questions/2539672/my-delete-key-wont-work-in-eclipse-in-os-x),
 files not saving, a veritable torrent of NullPointerExceptions in the
 Error Log which manifest as random UI failures mixed in with the occasional
 but predictable complete crash followed by a build the world on restart
 that takes about 3 days.

 I love eclipse, but enough is enough.

 So.. is intellij for Android development a realistic option?  Obviously
 Google make plugins for eclipse so this is always going to be the first
 stop for SDK updates, but if anyone is out there who has made the switch
 from eclipse to intellij *specifically for Android work* please let me
 know your opinion.

 I also do a reasonable amount in C++ using the CDT (which is a whole
 other source of issues) and I understand that this is not a strong point
 for intellij (?)

 I really wish the folks at eclipse (whoever they are) would stop trying
 to build features and just make the darn thing stable... I mean 10 years..
 c'mon guys.

 :/

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Romain Guy
 Android framework engineer
 romain...@android.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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/03O6rEVdXCY/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Ozzy's Odyssey!  A new game for Android
https://market.android.com/details?id=com.carboncrystal.odyssey
http://www.carboncrystal.com/ http://www.carboncrystal.com/droid-odyssey/

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to 

[android-developers] Tabs within tabs fragments overlapping

2013-03-12 Thread vani reddy
Hi  All,

I am using a FragmentActivity(of the compatibility library)  and has 3 tabs
tab1, tab2, tab3 (all are fragments of compatibility library)

tab1 has  3 tabs inside  say tab11, tab12, tab13 (all are fragments of
compatibility library) i referred this link  below to show the tabs

http://android.codeandmagic.org/2011/07/android-tabs-with-fragments/

within tab1 when i switch from tab11 to tab12 and tab13, and finally
comeback to tab11.

In tab11 when i click on an empty space it is detecting  button click of
tab12 and tab13,though buttons are not visible but it is still taking click.

say I have 2 buttons in tab12  i.e 'cancel' and   'submit'. when i touch on
any area of tab11 it is doing the action of cancel and submit buttons
though these buttons are not visible.

Any clue why it is happening??


-- 
Regards,
Vani Reddy

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Tabs within tabs fragments overlapping

2013-03-12 Thread vani reddy
I am using a FragmentActivity(of the compatibility library)  and has 3 tabs
tab1, tab2, tab3 (all are fragments of compatibility library)

tab1 has  3 tabs inside  say tab11, tab12, tab13 (all are fragments of
compatibility library) i referred this link  below to show the tabs

http://android.codeandmagic.org/2011/07/android-tabs-with-fragments/

within tab1 when i switch from fragment1 to fragment2 and  fragment3, and
finally comeback to fragment1 .

In fragment1 when i click on an empty space it is detecting  button click
of fragment2  and fragment3 though buttons are not visible but it is still
taking click.

say I have 2 buttons in fragment2   .e 'cancel' and   'submit'. when i
touch on any area of fragment1  t is doing the action of cancel and submit
buttons though these buttons are not visible.

Any clue why it is happening??

On Tue, Mar 12, 2013 at 1:57 PM, vani reddy vani.reddy.bl...@gmail.comwrote:


 Hi  All,

 I am using a FragmentActivity(of the compatibility library)  and has 3
 tabs tab1, tab2, tab3 (all are fragments of compatibility library)

 tab1 has  3 tabs inside  say tab11, tab12, tab13 (all are fragments of
 compatibility library) i referred this link  below to show the tabs

 http://android.codeandmagic.org/2011/07/android-tabs-with-fragments/

 within tab1 when i switch from tab11 to tab12 and tab13, and finally
 comeback to tab11.

 In tab11 when i click on an empty space it is detecting  button click of
 tab12 and tab13,though buttons are not visible but it is still taking click.

 say I have 2 buttons in tab12  i.e 'cancel' and   'submit'. when i touch
 on any area of tab11 it is doing the action of cancel and submit buttons
 though these buttons are not visible.

 Any clue why it is happening??


 --
 Regards,
 Vani Reddy




-- 
Regards,
Vani Reddy

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Tabs within tabs fragments overlapping

2013-03-12 Thread vani reddy
Hi All,

I followed the same code as in the linkj mentioned and instead of add
fragment i am doing replace fragment.

On Tue, Mar 12, 2013 at 2:23 PM, vani reddy vani.reddy.bl...@gmail.comwrote:

 I am using a FragmentActivity(of the compatibility library)  and has 3
 tabs tab1, tab2, tab3 (all are fragments of compatibility library)

 tab1 has  3 tabs inside  say tab11, tab12, tab13 (all are fragments of
 compatibility library) i referred this link  below to show the tabs

 http://android.codeandmagic.org/2011/07/android-tabs-with-fragments/

 within tab1 when i switch from fragment1 to fragment2 and  fragment3, and
 finally comeback to fragment1 .

 In fragment1 when i click on an empty space it is detecting  button click
 of fragment2  and fragment3 though buttons are not visible but it is still
 taking click.

 say I have 2 buttons in fragment2   .e 'cancel' and   'submit'. when i
 touch on any area of fragment1  t is doing the action of cancel and submit
 buttons though these buttons are not visible.

 Any clue why it is happening??

 On Tue, Mar 12, 2013 at 1:57 PM, vani reddy vani.reddy.bl...@gmail.comwrote:


 Hi  All,

 I am using a FragmentActivity(of the compatibility library)  and has 3
 tabs tab1, tab2, tab3 (all are fragments of compatibility library)

 tab1 has  3 tabs inside  say tab11, tab12, tab13 (all are fragments of
 compatibility library) i referred this link  below to show the tabs

 http://android.codeandmagic.org/2011/07/android-tabs-with-fragments/

 within tab1 when i switch from tab11 to tab12 and tab13, and finally
 comeback to tab11.

 In tab11 when i click on an empty space it is detecting  button click of
 tab12 and tab13,though buttons are not visible but it is still taking click.

 say I have 2 buttons in tab12  i.e 'cancel' and   'submit'. when i touch
 on any area of tab11 it is doing the action of cancel and submit buttons
 though these buttons are not visible.

 Any clue why it is happening??


 --
 Regards,
 Vani Reddy




 --
 Regards,
 Vani Reddy




-- 
Regards,
Vani Reddy

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] UI Automator Viewer from SDK tools Revision 21

2013-03-12 Thread Varun Tewari
I have posted a question on Stack Overflow

http://stackoverflow.com/questions/15347294/ui-automator-viewer-from-sdk-tools-revision-21

Please add to it if anyone knows the answer.

Reg,
Varun

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: I have problem working with SHARED PREFERENCES, I think is project specific... i used the same before without errors but now get error

2013-03-12 Thread Jayu Sagar
pass using intent while starting the activity



On Sat, Mar 9, 2013 at 6:38 PM, lselwd webmas...@poliscarhire.com wrote:

 In a Canvas game if we have a class like:

 *public class CannonView extends SurfaceView *
 *   implements SurfaceHolder.Callback*
 *{*
 how transfer from this a var value to this
 *public class CannonGame extends Activity*
 *{*
 without using static vars?

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Problem while facebook login through my app

2013-03-12 Thread Jayu Sagar
can you post the error message ??


On Fri, Mar 8, 2013 at 8:06 AM, Rajesh Kumar rajnitj.g...@gmail.com wrote:

 because other facebook application is installed .in sdk only single signin
 is allowed

 On 7 Mar 2013 22:28, Bajrang Asthana asthana.bajr...@gmail.com wrote:
 
  Hi;
 
  I am not able to log-in to Facebook through my android app (tried from
 phone as well as on emulator), I am getting error your app is not correctly
 configured. I am getting this problem only if Facebook native apk is
 installed.
 
  I look for android hash key and app id many times and everything seems
 OK to me. I am not getting, is there anything else which can be the cause
 of this problem.
 
  Please suggest :)
 
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Unique Identifier

2013-03-12 Thread Jayu Sagar
Hi,
I would like to map the Android devices where my Application is installed,
thing is is there any unique identifier that can be mapped with device .

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




Re: [android-developers] I have problem working with SHARED PREFERENCES, I think is project specific... i used the same before without errors but now get error

2013-03-12 Thread Jayu Sagar
what is the class type, getSharedPreference should be on an context if not
:)


Regards,
Jayanand.


On Sat, Mar 9, 2013 at 3:13 PM, lselwd webmas...@poliscarhire.com wrote:

 I have problem working with SHARED PREFERENCES, I think is project
 specific... i used the same before without errors but now get error see
 attachments, well?

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: I have problem working with SHARED PREFERENCES, I think is project specific... i used the same before without errors but now get error

2013-03-12 Thread Jayu Sagar
Try this piece of code


Isn't there a getContext() method for SurfaceView?

getContext().getSharedPreference();



Regards,
Jayanand


On Sat, Mar 9, 2013 at 4:26 PM, lselwd webmas...@poliscarhire.com wrote:

 public class CannonView extends SurfaceView
implements SurfaceHolder.Callback
 {


 this is its class , of function

 On Saturday, March 9, 2013 11:43:08 AM UTC+2, lselwd wrote:

 I have problem working with SHARED PREFERENCES, I think is project
 specific... i used the same before without errors but now get error see
 attachments, well?

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] ADT tutorials

2013-03-12 Thread James Richardson
I have been trying to do the ADT tutorials and come to the conclusion that 
they have not given sufficient details for the tutorials or they simply 
don't work testing on an S3 and Eclipse is just giving errors. 

This isn't just me either have seen a few posts around with people having 
the same problem.

Is anything being done to solve this?

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] gauge for my android application

2013-03-12 Thread psyco
hi all, 
i need to use gauge (  like temperature gauge ) in my android app and i 
don't know how to do 
is there any gadget ?
if not how to do it from scratch ?

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] jauge pour mon application android

2013-03-12 Thread psyco
bonjour tout le monde, je veux utiliser une jaugedans mon application 
android mais je ne sais pas comment faire ? 
ya t il un gadget prés à utiliser ? 
merci d'avance

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Is it possible to implement payments via Visa or MC in a shopping android app?

2013-03-12 Thread Ahmed Hegazy
I wonder how can I do this?

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Galaxy Nexus has died - did my app kill it?

2013-03-12 Thread Alex
problem like this?
Galaxy nexus becomes 
unresponsivehttp://code.google.com/p/android/issues/detail?id=23759q=sleep%20of%20deathcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
Sleep of 
Deathhttp://code.google.com/p/android/issues/detail?id=35139q=sleep%20of%20deathcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Fix for GeoCoder throwing Unable to parse response from server ?

2013-03-12 Thread Abhishek jain
Hi,
 
I am new to android and i am also facing the same problem.
Can you please tell me what is q quota issue and what i can do to solve it.
 
Regards,
Abhishek

On Sunday, August 21, 2011 2:06:04 PM UTC+5:30, Davy wrote:

 Hi, 

 Many people seem to have raised this issue, where an application installed 
 on a phone that is properly setup (internet permissions, valid 
 latitude/longitude) is getting Unable to parse response from server 
 errors when using the android.location.Geocoder.

  java.io.IOException: Unable to parse response from server
   at android.location.Geocoder.getFromLocation(Geocoder.java:136)

 Is there a way to fix this ? Is it a quota issue (too many requests being 
 sent from the device) ?

 For the record, most of the times it works, but every once and a while, 
 for some period it just stops working, throwing the error above. 
 Without modifying code, or changing settings on the device, it starts 
 working again.

 Regards,
 Davy


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Updating text in a DialogFragment

2013-03-12 Thread Chevavan Stiraphasusakul
Hi Raymond,

I'm having same problem. I try to fix with this method. it work for me.

textview.setText() and call
textview.setVisibility(View.GONE);
textview.setVisibility(View.VISIBLE); 

Chevavan




On Friday, July 6, 2012 9:08:31 AM UTC+7, Raymond Rodgers wrote:

 Hi folks, 
  I've been searching for a solution to this problem for the last 
 couple hours but haven't turned up a solution. I'm very new to using 
 Fragments, but building an app based around the ViewPager in the support 
 library. For the most part, I haven't had any problems, but I am running 
 into a situation where I'm using a DialogFragment in the hopes of 
 building a progress indicator while my app does some things in the 
 background. I have an indeterminate progress indicator running in my 
 DialogFragment, and I want to update one of two TextViews I have in the 
 dialog as it progresses. I'm sending updates from my background service 
  thread via a Handler that is then to update the designated TextView. 
 The problem is, that TextView isn't updating. I thought it might be an 
 issue with the static field I assign the result of the findViewById() to 
 (thinking that it may not exist before the dialog is displayed), so I do 
 a check and secondary findViewById() prior to changing the text via 
 TextView.setText(). Unfortunately, it appears that the TextView field is 
 always null, and so the view isn't getting updated. 

  What am I failing to do? Do I need to do something with 
 FragmentTransaction or FragmentManager in order to update this TextView? 

  Thank you for your assistance! 
  Raymond 


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] IndiaHacks 2012 - India's Largest Hacking Challenge

2013-03-12 Thread aditya . dwivedi
To Promote the culture of Competetive programming in india, YourStory.in in 
association with HackerEarth is conducting IndiaHacks 2013 - India's 
Largest online Hacking Challenge.

Please Visit http://your.st/VDw0tE to Register for IndiaHacks 2013. 

The top two Hackers will win a Cash Prize of INR 60,000 and INR 40,000 
Respectively. 

Top 10 hackers will also win an All expenses paid trip to Bangalore and The 
opportunity to tour the top tech global companies and Spend time with 
mentors and thought leaders in the industry.

https://lh6.googleusercontent.com/-88Cwizwavu0/UTcNXee1GzI/ACc/bupkYMo7EGU/s1600/IndiaHacks+2013.png

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Streaming with VideoView

2013-03-12 Thread Álvaro Hinojo Romero
Hi,
I want to obtain details about the protocol RTP using android.net.rtp but 
when I call any RtpStream class'methods the programm doesn´t work. Here is 
the code:

public class MainActivity extends Activity {
private static final String TAG = MainActivity;
public VideoView mVideoView;
public EditText mPath;
private ImageButton mPlay;
private ImageButton mPause;
private ImageButton mReset;
private ImageButton mStop;
public String current;
public RtpStream mRtpStream ;
private String text;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mVideoView = (VideoView) findViewById(R.id.surface_view);

mPath = (EditText) findViewById(R.id.edit_message);
text= rtsp://192.168.1.37/sample_300kbit.mp4;
mPath.setText(text);
 mPlay = (ImageButton) findViewById(R.id.play);
mPause = (ImageButton) findViewById(R.id.pause);
mReset = (ImageButton) findViewById(R.id.reset);
mStop = (ImageButton) findViewById(R.id.stop);
 mPlay.setOnClickListener(new OnClickListener() {
public void onClick(View view) {
reproducirVideo();
}
});
mPause.setOnClickListener(new OnClickListener() {
public void onClick(View view) {
if (mVideoView != null) {
mVideoView.pause();
}
}
});
mReset.setOnClickListener(new OnClickListener() {
public void onClick(View view) {
if (mVideoView != null) {
mVideoView.seekTo(0);
}
}
});
mStop.setOnClickListener(new OnClickListener() {
public void onClick(View view) {
if (mVideoView != null) {
current = null;
mVideoView.stopPlayback();
}
}
});
 runOnUiThread(new Runnable(){
public void run() {
reproducirVideo();
 }
 });
 }

public void reproducirVideo() {
try {
final String path = mPath.getText().toString();
Log.v(TAG, path:  + path);
if (path == null || path.length() == 0) {
Toast.makeText(MainActivity.this, Campo URL vacío,
Toast.LENGTH_LONG).show();

} else {
if (path.equals(current)  mVideoView != null) {
mVideoView.start();
mVideoView.requestFocus();
return;
}
current = path;
mVideoView.setVideoPath(getDataSource(path));
mVideoView.start();
mVideoView.requestFocus(); 
 TextView texto= (TextView) findViewById(R.id.mensaje);
InetAddress address = null;
mRtpStream.associate(InetAddress.getByAddress(new byte[] {(byte)192, 
(byte)168, (byte)1, (byte)37 }), 1220);
address=mRtpStream.getRemoteAddress();
String address_string = address.getHostAddress();
texto.setText( La dirección local es +(address_string)+   );

}
} catch (Exception e) {
Log.e(TAG, error:  + e.getMessage(), e);
if (mVideoView != null) {
mVideoView.stopPlayback();
}
}
}
private String getDataSource(String path) throws IOException {
if (!URLUtil.isNetworkUrl(path)) {
return path;
} else {
URL url = new URL(path);
URLConnection cn = url.openConnection();
cn.connect();
InputStream stream = cn.getInputStream();
if (stream == null)
throw new RuntimeException(stream is null);
File temp = File.createTempFile(mediaplayertmp, dat);
temp.deleteOnExit();
String tempPath = temp.getAbsolutePath();
FileOutputStream out = new FileOutputStream(temp);
byte buf[] = new byte[128];
do {
int numread = stream.read(buf);
if (numread = 0)
break;
out.write(buf, 0, numread);
} while (true);
try {
stream.close();
} catch (IOException ex) {
Log.e(TAG, error:  + ex.getMessage(), ex);
}
return tempPath;
}
}
}

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Touch Gestures not working (Arnova 7FG3 Tablet, running ICS 4.0.3)

2013-03-12 Thread Vasiliy Andreychikov
On ARNOVA 10b G3 i found that it doesn't have touch events at all.

On Wednesday, November 14, 2012 12:56:34 AM UTC+3, Derek Bradshaw wrote:

 I just bought a 7 Android 4.0.3 tablet for developing and testing custom 
 web apps but none of the touch gestures are firing? The demo i'm looking at 
 is: http://riagora.com/mobile/hammer/
 Unfortunately nothing happens when I touch the screen, whereas on the 
 iPad, it works a treat! Really smooth!

 I have also tried the demo at Hammer.js 
 http://eightmedia.github.com/hammer.js/Same thing!

 Anybody have any idea what's going on? It's really frustrating! As I said, 
 these demos work perfectly on the iPad, and also on my smartphone 
 (android2.2). It appears that the OS is somehow blocking the custom events 
 from firing

 Cheers!
 D 

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: scrollTo not working on Samsung Galaxy browser

2013-03-12 Thread al
Have the same problem, still didnt find a solution:(

On Monday, September 12, 2011 9:17:50 AM UTC+4, archana wrote:

 We use JQuery plaugin 'scrollTo' to navigate to different parts of a 
 big document, or for navigating using thumbnails. 
 Although 'scrollTo' works fine on all desktop browsers and on iPhone 
 and iPad, it's not working on the android browser on Samsung Galaxy 
 tablet. 
 Anyone any clue?

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How to Put common header for entire application Like Android Market application

2013-03-12 Thread Amarkant Kumar


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Why Chrome for Android's Octane score is lower than Native browser of Android4.2

2013-03-12 Thread yanghong shen
Test result with Octane

NO Android
Browser  Chromium
Chrome(18.0.1025469)
1   Octane Score
1411  16931077
2   Richards(Core language fetures)
2291   22772045
3   Deltablue(Core language fetures)
2446   21952398
4   Crypto(Bit  Math operations)  2598
2667   2693
5   Raytrace(Core language fetures)
2069   21701640
6   EarleyBoyer(Memory  GC)   2932
3338   3448
7   Regexp(Strings  arrays)
415 506 451
8   Splay(Memory  GC)
740 537 705
9   NavierStokes(Strings  arrays)
13092169400
10  pdf.js(Strings  arrays)
1243 1964   1194
11  Mandreel(Virtual machine)
1491 1956665
12  GB Emulator(Virtual machine)
1859 2122   1032
13  CodeLoad(Loading  Parsing)
1128 1872 950
14  Box2DWeb(Bit  Math operations)
6341083   352

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Jellybean 4.1.2 booting failed

2013-03-12 Thread VJ
I need help on data recovery of my S3 in wht ich i was using Jellybean 
4.1.2 now its os is not loading.
please help me guys i want to take my data backup before reloading new Os  

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Android Service

2013-03-12 Thread Amith Salian
I have a strange situation with my Service in Activity.
My service calls a background method every 20 sec when active.  In the 
development environment the time elapse between successive calls is exactly 
20 sec, however in an Android device it is arbitrary.
Anyone encountered this issue?

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Sending text or string through WIFI in android mobile

2013-03-12 Thread HABIB ZAMAN
Hai frnz ! am doing projects in Embedded using Android ... Plz help me 
to send a text or string through WIFI in android .

Thx 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Adding Arménian language into android

2013-03-12 Thread Achot Asrian
Hi, i am Achotjan xda developper and S.D.E. owner 

first of all hello and this will be my first question and its a big one 

i would like to ask where can i add the language inside source code ?

i already translated everithink and correctly working but for now i need to 
replace a existing language and i want to add inside values-hy folder 
and enable it in the base of the source code , already trayed to search 
inside the source code for somme strings like French english etc..
but they are not inside framework/abse/core/res/res packages so i searched 
with total commander to finde the files where those strings appairs but it 
take ages 
i would like that someone point me into the files i need to lock to add it 
natively i am gonna upload the source also after my changes 

for now i translated android 4.0.4 ICS, but soon gonna translate 4.2.1 ther 
are not too many diferences so it will be verry quick just point me on 
correct 
files inside the source code to enble it 

input keyboard and all other apps are fully translated correctly 

waiting a responce, thank you 

cheers

Achotjan

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] problem emoji color in social network?

2013-03-12 Thread Alhussain Alsherazi
Hi
android os does not support color emoji in many of application for example
(Instagram and facebook and twitter ,,,

just view black and white and in ios apple 

iphone display color 


many of people ask me when android fix it

it's very important in many of users using android device

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




[android-developers] RemoteControlClient MetadataEditor and Bluetooth Metadata

2013-03-12 Thread Ryan Scodari
I am developing an android app for music playback,  I have implemented all 
the necessary components including Audio Focus management, Media Button 
Controls, as well as RemoteControlClient and MetadataEditor for the lock 
screen controls.  As I understand it, 
the RemoteControlClient.MetadataEditor should also provide Media Metadata 
to Bluetooth A2DP Audio Sink devices.  I have a car with a sound system 
that supports Bluetooth Media Metadata and it works with other apps on my 
phone, however it does not work with my app.  The lock screen controls 
function perfectly, and i have even tried using the 
RemoteControlClientCompat and RemoteControlHelper Classes from the Random 
Music Player Google Sample code.

Can anyone confirm that the RemoteControlClient.MetadataEditor is in fact 
how the Bluetooth Media Metadata is supposed to work?  If so, any ideas why 
the lock screen controls would function but the Bluetooth Media Metadata 
would not function?

thanks for the help.
-Ryan

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Chrome for Android's Octane score is lower than Native browser of Android4.2,Why ?

2013-03-12 Thread yanghong shen
The following are results of test between 3 browsers on Octane
Benchmark

NO  Android Browser ChromiumChrome(18.0.1025469)
1   Octane Score141116931077
2   Richards(Core language fetures) 229122772045
3   Deltablue(Core language fetures)244621952398
4   Crypto(Bit  Math operations)   259826672693
5   Raytrace(Core language fetures) 206921701640
6   EarleyBoyer(Memory  GC)293233383448
7   Regexp(Strings  arrays)415 506 451
8   Splay(Memory  GC)  740 537 705
9   NavierStokes(Strings  arrays)  13092169400
10  pdf.js(Strings  arrays)124319641194
11  Mandreel(Virtual machine)   14911956665
12  GB Emulator(Virtual machine)185921221032
13  CodeLoad(Loading  Parsing) 11281872950
14  Box2DWeb(Bit  Math operations) 634 1083352

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] play the video content in Android without having uri and path to file

2013-03-12 Thread Ashish Bansal


I have a video file. i open the file and reading it. how can i play that 
file in android by direct pushing the content. i can not give the file path 
or path URI.

we can assume that i am getting the video content by some protocol. that 
guy has opened the file and sending me the content in form of chunks. now i 
need to play those chunks.

as i dont have path and URI. how can i push the data to Android player.
i heared there is some way like we can store the data in some buf and than 
make that buf to URI by some way and can play.

please help me.

Any idea how to do the same will be very nice to me.

Thanks,
Ashu

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] ListView Navigation

2013-03-12 Thread arazlam101
I have a basic question. On my main screen there is a listview which should 
navigates to another listview. It is like a category and then subcategory 
choice screen. For each subcategory view, should I create new activity or 
can I pass the position value from first listview to create second 
appropriate list ? 

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Download stats not updating since march 9th

2013-03-12 Thread саня варт
Does your statistics updated since march 9th? Its morning of 12th and mine 
still not((

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Android-voice chat

2013-03-12 Thread antony siby
hi,

I am tryin to create an android application that enables voice chat over 
wifi , i am new to this field  i would really like some help here

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Android-voice chat

2013-03-12 Thread antony siby
Hi there,
 I a relatively new in this field and i am working on voice chat android 
app. I am out of ideas and would be really grateful if helped. please.

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] play the video content in Android without having uri and path to file

2013-03-12 Thread Ashish Bansal
 

I have a video file. i open the file and reading it. how can i play that 
file in android by direct pushing the content. i can not give the file path 
or path URI.

we can assume that i am getting the video content by some protocol. that 
guy has opened the file and sending me the content in form of chunks. now i 
need to play those chunks.

as i dont have path and URI. how can i push the data to Android player.

i heared there is some way like we can store the data in some buf and than 
make that buf to URI by some way and can play.

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: In-app Subscription: Purchase Token and purchase time uniqueness

2013-03-12 Thread anshul . singhal
Hey Jonathan,

I would like to know if you figured out the answers to above questions. I 
am also interested in knowing about the same.

Thanks,
Anshul

On Thursday, November 15, 2012 9:56:56 PM UTC+5:30, Jonathan wrote:

 I have a couple of questions regarding purchase tokens.  1) Is the 
 purchase token supposed to be unique for each user per subscription product 
 or just for each user?  (In my tests, I have purchased two subscriptions, 
 and both have the same purchase token. I just want to verify that this is 
 correct behavior.)2) When the purchase state would have been changed to 
 expired (but has instead auto-renewed), does the auto-renew change the 
 purchase time?

 Thanks for the insight!


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Regarding sync contacts with Facebook

2013-03-12 Thread Johnny
have you got the answer? Actually I am also wanted to do similar task.

On Wednesday, February 1, 2012 12:24:56 PM UTC+5:30, Raghupal Reddy wrote:

 Hi all, 

 In my project I want to sync phone book contacts with Facebook. Is It 
 possible using SyncAdapter , I am developing using GingerBread, if 
 anyone knows thistell me the procedure to develop. 
 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Spinner com BD

2013-03-12 Thread Andreia Dev
Bom dia Pessoal
 
Gostaria de saber como eu faço para pegar dados do banco e mostrar no 
componente Spinner. Fiz desta maneira porém nada está trazendo:
 
String items;
 
 public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.lancamento);
 
  items = getResources().getString(R.layout.categoria);
  Spinner spnCategoria = (Spinner) findViewById(R.id.spnCategoria);

  ArrayAdapterCharSequence adapter = ArrayAdapter.createFromResource(
this, R.layout.categoria,
android.R.layout.simple_selectable_list_item);

  
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
  spnCategoria.setAdapter(adapter);
 
Desde já agradeço pela atenção.
 
att,
Andreia

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Android Contacts backup and sync application

2013-03-12 Thread Johnny
Have you got the solution? Actually I am also trying to do this task.

On Thursday, March 31, 2011 5:55:01 PM UTC+5:30, UD wrote:

 Hi,

 I am working on a contacts backup and sync.

 The target is to send all details of all contacts to a server (custom 
 protocol defined) as a backup.

 During initial launch of application, all the contacts will be queued and 
 sent to the server. And after that, a background service will be running 
 all time which will listen to new contact addition/ contact update, and 
 this new/updated contact will be sent to server by the background service.

 I am using 
 RawContactsEntityhttp://developer.android.com/reference/android/provider/ContactsContract.RawContactsEntity.html
  for 
 fetching the records.

 I tried using ContentObserver on RawContacts/Data tables to get 
 notification of contact addition or contact-change. But, AFAIK, the 
 ContentObserver gives notification (onChange()) of changed data in table 
 as a whole and not ID of individual record.

 Now my problem is, how to get the exact id's of changed/new records?

 I thought of creating a backup-table to compare with native contacts table 
 and get the changed records. But as the number of contacts increase, the 
 performance will decease drastically and this will hamper the battery life 
 too.

 Can you suggest me, The best way for achieving this contacts backup 
 operation from performance and memory usage point of view? Is there any 
 other way for contacts sync operation?

 It would be very helpful if anyone can share examples which can help me in 
 this.

 --
 Regards,
 *Udayan  Warnekar*


  

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Sync contacts

2013-03-12 Thread Johnny
have you got the answer? Actually I am also trying to do this task.

On Tuesday, May 8, 2012 1:51:50 PM UTC+5:30, Tarilo wrote:

 Hi
  
 We need to implement a contact sync. When a contact is adden on the phone 
 or updated, we need to make action. This is implemented by whatsapp. I read 
 about intents.
  
 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Crash reports and logs aggregation for Android

2013-03-12 Thread Antoine Bouthors
Lately I’ve been trying to find a good service to gather crash reports and 
logs from an Android app. I found the search quite tedious. While some 
posts here and there comment on some services, there’s not a single page 
that lists all available solutions and clearly lists the pros and cons of 
each. I have to assume that big companies roll their own solution and that 
small players take the first one they find.

Here are the results of my search. I believe this is the most comprehensive 
list on the internet so far. Feel free to chime in with your own 
experience: 
http://blog.antoche.com/2013/03/05/crash-reports-and-logs-aggregation-for-android/

Cheers,
A.

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Android Accurate Location data

2013-03-12 Thread Bazlur Rahman
Hello,

I'm working in an application which requires to have accurate longitude,
latitude and altitude.
Using Android Location Service, I think latitude and longitude are quite
accurate, but I'm not sure about altitude.

private static final long MIN_DISTANCE_CHANGE_FOR_UPDATES = 3; // 3 meters
private static final long MIN_TIME_BW_UPDATES = 1000; // 1 seconds
private LocationManager locationManager;
private double longitude;
private double latitude;
private double altitude = 0;

  @Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

locationManager = (LocationManager)
getSystemService(LOCATION_SERVICE);
locationManager.requestLocationUpdates(getProvider(),
MIN_TIME_BW_UPDATES, MIN_DISTANCE_CHANGE_FOR_UPDATES, this);

updateLocation(locationManager.getLastKnownLocation(getProvider()));


 }


 private Criteria getCriteria() {
Criteria criteria = new Criteria();
criteria.setAccuracy(Criteria.ACCURACY_FINE);
criteria.setAltitudeRequired(true);
criteria.setBearingRequired(false);
criteria.setCostAllowed(true);
criteria.setPowerRequirement(Criteria.POWER_LOW);

return criteria;
}

private String getProvider() {
return locationManager.getBestProvider(getCriteria(), true);
}

 private void updateLocation(Location location) {

longitude = location.getLongitude();
latitude = location.getLatitude();
altitude = location.getAltitude();
timeTaken = location.getTime();

tvCurrentLocation.setText(Alt:  + altitude + \n +
Lon:  + longitude + \n +
Lat:  + latitude + \n +
Time:  + new Date(timeTaken).toLocaleString());
}

is there any alternative way to get accurate altitude.

Any help is much appreciated.

Thanks.


Sincerely
A. N. M. Bazlur Rahman
Software Engineer
Therap Services, LLC

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Imageview not Showing Image on Android 2.2 and not on Android 4.0

2013-03-12 Thread Brad Stintson
Group please help me out.
On Mar 9, 2013 5:30 PM, Brad Stintson geek.bin...@gmail.com wrote:

 Dear Group,

 I have attached the images of the above mentioned problem.

 Please help me why this problem is occurring.


 On Wed, Mar 6, 2013 at 12:48 AM, bob b...@coolfone.comze.com wrote:

 Why would you have a ScrollView where the width and height are set to *
 wrap_content*?


 How will it ever have anything to scroll if it is always sized to its
 content?




 On Tuesday, March 5, 2013 10:46:22 AM UTC-6, Geek wrote:

 I wrote following code in xml file but Imageview (shown in bold) not
 Showing Image on Android 2.2 and not on Android 4.0

 Please help out.



 LinearLayout xmlns:android=http://schemas.**
 android.com/apk/res/android http://schemas.android.com/apk/res/android
 
 
 xmlns:tools=http://schemas.**android.com/toolshttp://schemas.android.com/tools
 
 android:layout_width=match_**parent
 android:layout_height=match_**parent
 android:orientation=vertical 

 LinearLayout
 android:layout_width=fill_**parent
 android:layout_height=fill_**parent
 android:layout_gravity=fill
 android:layout_weight=1 

 ScrollView
 android:layout_width=wrap_**content
 android:layout_height=wrap_**content
 android:id=@+id/**imgScrollView 

 *ImageView*
 *android:id=@+id/imageView1*
 *android:layout_width=fill_parent*
 *android:layout_height=wrap_content*
 *android:adjustViewBounds=true*
 *   /*
 /ScrollView
 /LinearLayout

 !-- Player Footer --

 LinearLayout
 android:id=@+id/player_**footer_bg
 android:layout_width=fill_**parent
 android:layout_height=wrap_**content
 android:layout_weight=0
 android:background=@layout/**bg_player_footer
 android:gravity=center
 android:orientation=vertical**

 !-- Timer Display --

 LinearLayout
 android:id=@+id/timerDisplay
 android:layout_width=fill_**parent
 android:layout_height=wrap_**content
 android:layout_marginBottom=**2dp
 android:layout_marginLeft=**20dp
 android:layout_marginRight=**20dp 

 !-- Current Duration Label --

 TextView
 android:id=@+id/**songCurrentDurationLabel
 android:layout_width=fill_**parent
 android:layout_height=wrap_**content
 android:layout_weight=1
 android:gravity=left
 android:textColor=#ee
 android:textStyle=bold /
 !-- Total Duration Label --

 TextView
 android:id=@+id/**songTotalDurationLabel
 android:layout_width=fill_**parent
 android:layout_height=wrap_**content
 android:layout_weight=1
 android:gravity=right
 android:textColor=#04cbde
 android:textStyle=bold /
 /LinearLayout
 !-- Progress Bar/Seek bar --

 SeekBar
 android:id=@+id/**songProgressBar
 android:layout_width=fill_**parent
 android:layout_height=wrap_**content
 android:layout_marginBottom=**2dp
 android:layout_marginLeft=**20dp
 android:layout_marginRight=**20dp
 android:progressDrawable=@**drawable/seekbar_progress
 android:thumb=@drawable/seek_**handler /

 !-- Player Buttons --

 LinearLayout
 android:layout_width=wrap_**content
 android:layout_height=wrap_**content
 android:background=@layout/**rounded_corner
 android:gravity=center_**vertical
 android:orientation=**horizontal
 android:paddingLeft=10dp
 android:paddingRight=10dp 

 !-- Backward Button --

 ImageButton
 android:id=@+id/btnBackward
 android:layout_width=wrap_**content
 android:layout_height=wrap_**content
 android:background=@null
 android:src=@drawable/btn_**backward /
 !-- Play Button --

 ImageButton
 android:id=@+id/btnPlay
 android:layout_width=wrap_**content
 android:layout_height=wrap_**content
 android:background=@null
 android:src=@drawable/btn_**play /
 !-- Forward Button --

 ImageButton
 android:id=@+id/btnForward
 android:layout_width=wrap_**content
 android:layout_height=wrap_**content
 android:background=@null
 android:src=@drawable/btn_**forward /
 /LinearLayout
 /LinearLayout

 /LinearLayout

  --
 --
 You received this message because you are 

Re: [android-developers] Android Service

2013-03-12 Thread Kristopher Micinski
Android is not a real time os, you cannot assume that the message queue
will be flushed in any kind of timely fashion.

Why are you doing this?

Kris



On Fri, Mar 1, 2013 at 2:39 AM, Amith Salian amitsal...@gmail.com wrote:

 I have a strange situation with my Service in Activity.
 My service calls a background method every 20 sec when active.  In the
 development environment the time elapse between successive calls is exactly
 20 sec, however in an Android device it is arbitrary.
 Anyone encountered this issue?

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Listview items focus change event

2013-03-12 Thread Shashidhar
Hi,
 I have an application which has a custom listview. I run it on a smart tv
android device and the whole navigation is based on the standard keyboard
arrow buttons. I am able to scroll up and down through the list items using
up and down arrow keys. When I scroll using keys, the list selector moves
appropriately. I need to do somethings based on the item being focused.
But, I could not find a way to get the list item focus changed event.
Essentially, I need to know whenever a list item takes the focus.

I tried to set the focuschangelistener for the view that I am returning in
getView() method. But its not working.


Any help is appreciated.

thanks,
Shashidhar

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Issue with SetCustomAnimations in fragments

2013-03-12 Thread Ansh
Hi Guys 

I am having issue with the CustomAnimations setting while fragments are 
being replaced.
 here is the detailed 
questionhttp://stackoverflow.com/questions/15362137/facing-issue-with-setcustomanimations-while-replacing-fragments

Please help me as it has already eaten my whole day 

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] ListView Navigation

2013-03-12 Thread Nirav Parmar
In my opinion creating new activity or fragment will be better choice.
If you will just change the content in list.I am afraid how you will return
back from that subcategory to category as back will end that activity.


On Sun, Mar 10, 2013 at 12:19 AM, arazlam...@gmail.com wrote:

 I have a basic question. On my main screen there is a listview which
 should navigates to another listview. It is like a category and then
 subcategory choice screen. For each subcategory view, should I create new
 activity or can I pass the position value from first listview to create
 second appropriate list ?

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How to extend the preview layout in Google camera to enable the control panel to look transparent in android 4.0

2013-03-12 Thread Abhi
Hi,
I am currently building a custom OS build of android 4.0. One of the 
requirements we have is to make the stock google camera look similar to 
android 4.2. In android 4.0 the controlPanel present at the bottom has a 
black background. I have tried to change the background to transparent but 
there is no effect. After some experiments i think the reason for 
this is because the GLCanvasImpl does not cover full screen. Is there was i 
can modify this functionality of GLCanvasImpl to extend full screen. This 
is the first time i working on Android source code so i am not sure if i am 
in the right direction. It would be great if someone could let me know if 
my assumption is the right one? Or is there an easier way of doing this?
Thanks,
Abhi

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Issue with SetCustomAnimations in fragments

2013-03-12 Thread Tamilarasi Sivaraj
can you post the java code when you met the stuggle and also  xml files for 
animation?
That will be easy to help you...

Regards
Android developer
Trinay Technology Solutions
www.trinaytech.com
5705750475


On Tuesday, March 12, 2013 6:40:59 PM UTC+5:30, Ansh wrote:

 Hi Guys 

 I am having issue with the CustomAnimations setting while fragments are 
 being replaced.
  here is the detailed 
 questionhttp://stackoverflow.com/questions/15362137/facing-issue-with-setcustomanimations-while-replacing-fragments

 Please help me as it has already eaten my whole day 


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Android Accurate Location data

2013-03-12 Thread Kristopher Micinski
Approximating altitude is inherently sort of ... not that great.

What are you doing that needs such accurate altitude?

(By the way, to think GPS is accurate to three meters is silly, you can't
really expect anything until ~60-200)

Kris


On Tue, Feb 26, 2013 at 6:02 AM, Bazlur Rahman anmbrr.bit0...@gmail.comwrote:

 Hello,

 I'm working in an application which requires to have accurate longitude,
 latitude and altitude.
 Using Android Location Service, I think latitude and longitude are quite
 accurate, but I'm not sure about altitude.

 private static final long MIN_DISTANCE_CHANGE_FOR_UPDATES = 3; // 3 meters
 private static final long MIN_TIME_BW_UPDATES = 1000; // 1 seconds
 private LocationManager locationManager;
 private double longitude;
 private double latitude;
 private double altitude = 0;

   @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);

 locationManager = (LocationManager)
 getSystemService(LOCATION_SERVICE);
 locationManager.requestLocationUpdates(getProvider(),
 MIN_TIME_BW_UPDATES, MIN_DISTANCE_CHANGE_FOR_UPDATES, this);


 updateLocation(locationManager.getLastKnownLocation(getProvider()));


  }


  private Criteria getCriteria() {
 Criteria criteria = new Criteria();
 criteria.setAccuracy(Criteria.ACCURACY_FINE);
 criteria.setAltitudeRequired(true);
 criteria.setBearingRequired(false);
 criteria.setCostAllowed(true);
 criteria.setPowerRequirement(Criteria.POWER_LOW);

 return criteria;
 }

 private String getProvider() {
 return locationManager.getBestProvider(getCriteria(), true);
 }

  private void updateLocation(Location location) {

 longitude = location.getLongitude();
 latitude = location.getLatitude();
 altitude = location.getAltitude();
 timeTaken = location.getTime();

 tvCurrentLocation.setText(Alt:  + altitude + \n +
 Lon:  + longitude + \n +
 Lat:  + latitude + \n +
 Time:  + new Date(timeTaken).toLocaleString());
 }

 is there any alternative way to get accurate altitude.

 Any help is much appreciated.

 Thanks.

 
 Sincerely
 A. N. M. Bazlur Rahman
 Software Engineer
 Therap Services, LLC



 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Listview items focus change event

2013-03-12 Thread Shashidhar
Found the solution.

OnItemSelectedListener  on list view gets the position of the current
focused list item.|


On Tue, Mar 12, 2013 at 6:17 PM, Shashidhar shashi.zep...@gmail.com wrote:

 Hi,
  I have an application which has a custom listview. I run it on a smart tv
 android device and the whole navigation is based on the standard keyboard
 arrow buttons. I am able to scroll up and down through the list items using
 up and down arrow keys. When I scroll using keys, the list selector moves
 appropriately. I need to do somethings based on the item being focused.
 But, I could not find a way to get the list item focus changed event.
 Essentially, I need to know whenever a list item takes the focus.

 I tried to set the focuschangelistener for the view that I am returning in
 getView() method. But its not working.


 Any help is appreciated.

 thanks,
 Shashidhar


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Crash reports and logs aggregation for Android

2013-03-12 Thread bob
 

What about Google's built-in Error reporting service?


Thanks.




On Monday, March 11, 2013 7:21:48 PM UTC-5, Antoine Bouthors wrote:

 Lately I’ve been trying to find a good service to gather crash reports and 
 logs from an Android app. I found the search quite tedious. While some 
 posts here and there comment on some services, there’s not a single page 
 that lists all available solutions and clearly lists the pros and cons of 
 each. I have to assume that big companies roll their own solution and that 
 small players take the first one they find.

 Here are the results of my search. I believe this is the most 
 comprehensive list on the internet so far. Feel free to chime in with your 
 own experience: 
 http://blog.antoche.com/2013/03/05/crash-reports-and-logs-aggregation-for-android/

 Cheers,
 A.


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Unsubscribe

2013-03-12 Thread Pent
 For those still encountering this issue, I resolved it adding the
 flaghttp://developer.android.com/reference/android/content/Intent.html#FL...
 to the broadcast pending intent, this doesn't force the service to get
 restarted.

Could you explain which Pending Intent you added this to ? To one
from
the Alarm Manager ?

Pent

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
We use make internally but I used ant on personal apps. You can map an ant
target to a key shortcut in IntelliJ which makes dev. a little nicer.
On Mar 12, 2013 1:17 AM, Jason Polites jason.poli...@gmail.com wrote:

 Well that pretty much seals the deal for me.  Intellij it is.

 I presume this means using ANT as the build system?  I've had all sorts of
 trials and tribulations with the ANT build system for Android, although in
 fairness most of this has been caused by trying to push it beyond it's
 comfort zone (generating mocks, code coverage etc)

 Thanks Romain.. love your work ;)


 On Tue, Mar 12, 2013 at 12:33 AM, Romain Guy romain...@android.comwrote:

 I use IntelliJ for all my Android framework development work and I have
 used it to work on apps such as the stock Launcher and a couple of personal
 apps. I can live without ADT since the most critical tools are available as
 standalone apps (DDMS, hierarchyviewer, traceview, etc.) You will probably
 miss some of the niceties of ADT so you should give it a try and see how it
 feels for you.

 IntelliJ is definitely not very good for native code which is why I use
 Eclipse (with only the CDT plugin) at the same time. If you have enough RAM
 it's a pretty good setup overall: Eclipse for C/C++ and IntelliJ for
 everything else.


 On Mon, Mar 11, 2013 at 10:47 PM, Jason jason.poli...@gmail.com wrote:

 OK.. I've just about had enough of eclipse.  I have been using it for
 10+ years (ever since it was WSAD :/) and have put up with it's slowness,
 buggyness, upgrade nightmares, plugins that don't work, plugins that do
 work.. then don't, random crashes etc etc... but I just can't take it
 anymore.

 This latest version of eclipse (Juno Service Release 2 Build id:
 20130225-0426) is so riddled with bugs that I can't get through just a
 few hours with either my delete key not working (
 http://stackoverflow.com/questions/2539672/my-delete-key-wont-work-in-eclipse-in-os-x),
 files not saving, a veritable torrent of NullPointerExceptions in the
 Error Log which manifest as random UI failures mixed in with the occasional
 but predictable complete crash followed by a build the world on restart
 that takes about 3 days.

 I love eclipse, but enough is enough.

 So.. is intellij for Android development a realistic option?  Obviously
 Google make plugins for eclipse so this is always going to be the first
 stop for SDK updates, but if anyone is out there who has made the switch
 from eclipse to intellij *specifically for Android work* please let me
 know your opinion.

 I also do a reasonable amount in C++ using the CDT (which is a whole
 other source of issues) and I understand that this is not a strong point
 for intellij (?)

 I really wish the folks at eclipse (whoever they are) would stop trying
 to build features and just make the darn thing stable... I mean 10 years..
 c'mon guys.

 :/

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Romain Guy
 Android framework engineer
 romain...@android.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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/03O6rEVdXCY/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Ozzy's Odyssey!  A new game for Android
 https://market.android.com/details?id=com.carboncrystal.odyssey
 http://www.carboncrystal.com/http://www.carboncrystal.com/droid-odyssey/

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

[android-developers] Creating a DialogFragment to take up the fullscreen

2013-03-12 Thread dashman
I have a DialogFragment subclass and would like to open
up as full screen in certain conditions (e.g. on a small screen).

The current app is a viewpager with 3 fragments.

The code below replaces the active fragment - instead of
taking up the full screen.

   InputDialog inputDialog = new InputDialog(); // DialogFragment

FragmentTransaction transaction = 
fragmentManager.beginTransaction();


transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN);

// To make it fullscreen, use the 'content' root view as the 
container
// for the fragment, which is always the root view for the 
activity
//
transaction.add( android.R.id.content, inputDialog );

transaction.addToBackStack(null);

transaction.commit();


i understand android.R.id.content is the root element for an activity.


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Ian Ni-Lewis
How complex is your build? IntelliJ's built-in build system works fine for 
me; I've never had to touch an ant file. 

There are a couple of C++ plugins for IntelliJ. I haven't used them, but 
it's hard to imagine them being worse for NDK work than Eclipse CDT ;-)

On Tuesday, March 12, 2013 8:35:37 AM UTC-7, Romain Guy (Google) wrote:

 We use make internally but I used ant on personal apps. You can map an ant 
 target to a key shortcut in IntelliJ which makes dev. a little nicer.
 On Mar 12, 2013 1:17 AM, Jason Polites jason@gmail.comjavascript: 
 wrote:

 Well that pretty much seals the deal for me.  Intellij it is.

 I presume this means using ANT as the build system?  I've had all sorts 
 of trials and tribulations with the ANT build system for Android, although 
 in fairness most of this has been caused by trying to push it beyond it's 
 comfort zone (generating mocks, code coverage etc)

 Thanks Romain.. love your work ;)


 On Tue, Mar 12, 2013 at 12:33 AM, Romain Guy 
 roma...@android.comjavascript:
  wrote:

 I use IntelliJ for all my Android framework development work and I have 
 used it to work on apps such as the stock Launcher and a couple of personal 
 apps. I can live without ADT since the most critical tools are available as 
 standalone apps (DDMS, hierarchyviewer, traceview, etc.) You will probably 
 miss some of the niceties of ADT so you should give it a try and see how it 
 feels for you.

 IntelliJ is definitely not very good for native code which is why I use 
 Eclipse (with only the CDT plugin) at the same time. If you have enough RAM 
 it's a pretty good setup overall: Eclipse for C/C++ and IntelliJ for 
 everything else.


 On Mon, Mar 11, 2013 at 10:47 PM, Jason jason@gmail.comjavascript:
  wrote:

 OK.. I've just about had enough of eclipse.  I have been using it for 
 10+ years (ever since it was WSAD :/) and have put up with it's slowness, 
 buggyness, upgrade nightmares, plugins that don't work, plugins that do 
 work.. then don't, random crashes etc etc... but I just can't take it 
 anymore.

 This latest version of eclipse (Juno Service Release 2 Build id: 
 20130225-0426) is so riddled with bugs that I can't get through just a 
 few hours with either my delete key not working (
 http://stackoverflow.com/questions/2539672/my-delete-key-wont-work-in-eclipse-in-os-x),
  
 files not saving, a veritable torrent of NullPointerExceptions in the 
 Error Log which manifest as random UI failures mixed in with the 
 occasional 
 but predictable complete crash followed by a build the world on restart 
 that takes about 3 days.

 I love eclipse, but enough is enough.

 So.. is intellij for Android development a realistic option?  Obviously 
 Google make plugins for eclipse so this is always going to be the first 
 stop for SDK updates, but if anyone is out there who has made the switch 
 from eclipse to intellij *specifically for Android work* please let me 
 know your opinion.

 I also do a reasonable amount in C++ using the CDT (which is a whole 
 other source of issues) and I understand that this is not a strong point 
 for intellij (?)

 I really wish the folks at eclipse (whoever they are) would stop trying 
 to build features and just make the darn thing stable... I mean 10 years.. 
 c'mon guys.

 :/

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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 unsubscribe from this group and stop receiving emails from it, send 
 an email to android-developers+unsubscr...@googlegroups.comjavascript:
 .

 For more options, visit https://groups.google.com/groups/opt_out.
  
  




 -- 
 Romain Guy
 Android framework engineer
 roma...@android.com javascript:
  
 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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 a topic in the 
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/android-developers/03O6rEVdXCY/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to 
 android-developers+unsubscr...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




 -- 
 Ozzy's Odyssey!  A new game 

Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Kristopher Micinski
I'd second Romain's workflow of scrapping the ADT and Eclipse to use the
command line tools. To give another perspective, I rarely do large Android
app projects, but occasionally navigate system source and hack on
moderately sized Android systems-y codebases.

I dislike using the ADT --- not because it sucks --- but because Eclipse
sucks.  I do all my editing in emacs with JDEE and a few other tools.  I
actually haven't tried IntelliJ, since I've been able to get by with just
this.  However, I do notice something missing, (Java is a time where I
really do *need* autocomplete!), so your milage may vary.

Using the command line Android tools is something I'd highly recommend:
you'd be surprised how much more you'll understand about the system when
you actually go through the process of making things yourself rather than
relying on Eclipse + ADT as a black box for build config!

Kris


On Tue, Mar 12, 2013 at 3:33 AM, Romain Guy romain...@android.com wrote:

 I use IntelliJ for all my Android framework development work and I have
 used it to work on apps such as the stock Launcher and a couple of personal
 apps. I can live without ADT since the most critical tools are available as
 standalone apps (DDMS, hierarchyviewer, traceview, etc.) You will probably
 miss some of the niceties of ADT so you should give it a try and see how it
 feels for you.

 IntelliJ is definitely not very good for native code which is why I use
 Eclipse (with only the CDT plugin) at the same time. If you have enough RAM
 it's a pretty good setup overall: Eclipse for C/C++ and IntelliJ for
 everything else.


 On Mon, Mar 11, 2013 at 10:47 PM, Jason jason.poli...@gmail.com wrote:

 OK.. I've just about had enough of eclipse.  I have been using it for 10+
 years (ever since it was WSAD :/) and have put up with it's slowness,
 buggyness, upgrade nightmares, plugins that don't work, plugins that do
 work.. then don't, random crashes etc etc... but I just can't take it
 anymore.

 This latest version of eclipse (Juno Service Release 2 Build id:
 20130225-0426) is so riddled with bugs that I can't get through just a
 few hours with either my delete key not working (
 http://stackoverflow.com/questions/2539672/my-delete-key-wont-work-in-eclipse-in-os-x),
 files not saving, a veritable torrent of NullPointerExceptions in the
 Error Log which manifest as random UI failures mixed in with the occasional
 but predictable complete crash followed by a build the world on restart
 that takes about 3 days.

 I love eclipse, but enough is enough.

 So.. is intellij for Android development a realistic option?  Obviously
 Google make plugins for eclipse so this is always going to be the first
 stop for SDK updates, but if anyone is out there who has made the switch
 from eclipse to intellij *specifically for Android work* please let me
 know your opinion.

 I also do a reasonable amount in C++ using the CDT (which is a whole
 other source of issues) and I understand that this is not a strong point
 for intellij (?)

 I really wish the folks at eclipse (whoever they are) would stop trying
 to build features and just make the darn thing stable... I mean 10 years..
 c'mon guys.

 :/

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Romain Guy
 Android framework engineer
 romain...@android.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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




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

Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
The C++ plugin I found has not been updated in ages. It might work for NDK
dev but Android's source tree was just too much :)
On Mar 12, 2013 9:01 AM, Ian Ni-Lewis ile...@google.com wrote:

How complex is your build? IntelliJ's built-in build system works fine for
me; I've never had to touch an ant file.

There are a couple of C++ plugins for IntelliJ. I haven't used them, but
it's hard to imagine them being worse for NDK work than Eclipse CDT ;-)

On Tuesday, March 12, 2013 8:35:37 AM UTC-7, Romain Guy (Google) wrote:

 We use make internally but I used ant on personal apps. You can map an ant
 target to a key shortcut in IntelliJ which makes dev. a little nicer.
 On Mar 12, 2013 1:17 AM, Jason Polites jason@gmail.com wrote:

 Well that pretty much seals the deal for me.  Intellij it is.

 I presume this means using ANT as the build system?  I've had all sorts
 of trials and tribulations with the ANT build system for Android, although
 in fairness most of this has been caused by trying to push it beyond it's
 comfort zone (generating mocks, code coverage etc)

 Thanks Romain.. love your work ;)


 On Tue, Mar 12, 2013 at 12:33 AM, Romain Guy roma...@android.com wrote:

 I use IntelliJ for all my Android framework development work and I have
 used it to work on apps such as the stock Launcher and a couple of personal
 apps. I can live without ADT since the most critical tools are available as
 standalone apps (DDMS, hierarchyviewer, traceview, etc.) You will probably
 miss some of the niceties of ADT so you should give it a try and see how it
 feels for you.

 IntelliJ is definitely not very good for native code which is why I use
 Eclipse (with only the CDT plugin) at the same time. If you have enough RAM
 it's a pretty good setup overall: Eclipse for C/C++ and IntelliJ for
 everything else.


 On Mon, Mar 11, 2013 at 10:47 PM, Jason jason@gmail.com wrote:

 OK.. I've just about had enough of eclipse.  I have been using it for
 10+ years (ever since it was WSAD :/) and have put up with it's slowness,
 buggyness, upgrade nightmares, plugins that don't work, plugins that do
 work.. then don't, random crashes etc etc... but I just can't take it
 anymore.

 This latest version of eclipse (Juno Service Release 2 Build id:
 20130225-0426) is so riddled with bugs that I can't get through just a
 few hours with either my delete key not working (
 http://stackoverflow.com/**questions/2539672/my-delete-**
 key-wont-work-in-eclipse-in-**os-xhttp://stackoverflow.com/questions/2539672/my-delete-key-wont-work-in-eclipse-in-os-x),
 files not saving, a veritable torrent of NullPointerExceptions in the
 Error Log which manifest as random UI failures mixed in with the occasional
 but predictable complete crash followed by a build the world on restart
 that takes about 3 days.

 I love eclipse, but enough is enough.

 So.. is intellij for Android development a realistic option?  Obviously
 Google make plugins for eclipse so this is always going to be the first
 stop for SDK updates, but if anyone is out there who has made the switch
 from eclipse to intellij *specifically for Android work* please let me
 know your opinion.

 I also do a reasonable amount in C++ using the CDT (which is a whole
 other source of issues) and I understand that this is not a strong point
 for intellij (?)

 I really wish the folks at eclipse (whoever they are) would stop trying
 to build features and just make the darn thing stable... I mean 10 years..
 c'mon guys.

 :/

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**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=enhttp://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+**unsubscr...@googlegroups.com.

 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .






 --
 Romain Guy
 Android framework engineer
 roma...@android.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-d...@**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=enhttp://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit https://groups.google.com/d/**
 

Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
FWIW I really wish I could use ADT on a day-to-day basis. The way I
actually work is:

Intellij 12 for framework/Java/XML code
Eclipse 3.8 with CDT for C/C++
Android IDE (Eclipse + ADT from the SDK bundle) to write apps to test new
features/reproduce bugs
On Mar 12, 2013 9:11 AM, Kristopher Micinski krismicin...@gmail.com
wrote:

 I'd second Romain's workflow of scrapping the ADT and Eclipse to use the
 command line tools. To give another perspective, I rarely do large Android
 app projects, but occasionally navigate system source and hack on
 moderately sized Android systems-y codebases.

 I dislike using the ADT --- not because it sucks --- but because Eclipse
 sucks.  I do all my editing in emacs with JDEE and a few other tools.  I
 actually haven't tried IntelliJ, since I've been able to get by with just
 this.  However, I do notice something missing, (Java is a time where I
 really do *need* autocomplete!), so your milage may vary.

 Using the command line Android tools is something I'd highly recommend:
 you'd be surprised how much more you'll understand about the system when
 you actually go through the process of making things yourself rather than
 relying on Eclipse + ADT as a black box for build config!

 Kris


 On Tue, Mar 12, 2013 at 3:33 AM, Romain Guy romain...@android.com wrote:

 I use IntelliJ for all my Android framework development work and I have
 used it to work on apps such as the stock Launcher and a couple of personal
 apps. I can live without ADT since the most critical tools are available as
 standalone apps (DDMS, hierarchyviewer, traceview, etc.) You will probably
 miss some of the niceties of ADT so you should give it a try and see how it
 feels for you.

 IntelliJ is definitely not very good for native code which is why I use
 Eclipse (with only the CDT plugin) at the same time. If you have enough RAM
 it's a pretty good setup overall: Eclipse for C/C++ and IntelliJ for
 everything else.


 On Mon, Mar 11, 2013 at 10:47 PM, Jason jason.poli...@gmail.com wrote:

 OK.. I've just about had enough of eclipse.  I have been using it for
 10+ years (ever since it was WSAD :/) and have put up with it's slowness,
 buggyness, upgrade nightmares, plugins that don't work, plugins that do
 work.. then don't, random crashes etc etc... but I just can't take it
 anymore.

 This latest version of eclipse (Juno Service Release 2 Build id:
 20130225-0426) is so riddled with bugs that I can't get through just a
 few hours with either my delete key not working (
 http://stackoverflow.com/questions/2539672/my-delete-key-wont-work-in-eclipse-in-os-x),
 files not saving, a veritable torrent of NullPointerExceptions in the
 Error Log which manifest as random UI failures mixed in with the occasional
 but predictable complete crash followed by a build the world on restart
 that takes about 3 days.

 I love eclipse, but enough is enough.

 So.. is intellij for Android development a realistic option?  Obviously
 Google make plugins for eclipse so this is always going to be the first
 stop for SDK updates, but if anyone is out there who has made the switch
 from eclipse to intellij *specifically for Android work* please let me
 know your opinion.

 I also do a reasonable amount in C++ using the CDT (which is a whole
 other source of issues) and I understand that this is not a strong point
 for intellij (?)

 I really wish the folks at eclipse (whoever they are) would stop trying
 to build features and just make the darn thing stable... I mean 10 years..
 c'mon guys.

 :/

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Romain Guy
 Android framework engineer
 romain...@android.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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 --
 You 

Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Ian Ni-Lewis
You don't use an IDE to actually build the Android source tree, do you?


On Tue, Mar 12, 2013 at 9:11 AM, Romain Guy romain...@android.com wrote:

 The C++ plugin I found has not been updated in ages. It might work for NDK
 dev but Android's source tree was just too much :)
 On Mar 12, 2013 9:01 AM, Ian Ni-Lewis ile...@google.com wrote:

  How complex is your build? IntelliJ's built-in build system works fine
 for me; I've never had to touch an ant file.

 There are a couple of C++ plugins for IntelliJ. I haven't used them, but
 it's hard to imagine them being worse for NDK work than Eclipse CDT ;-)

 On Tuesday, March 12, 2013 8:35:37 AM UTC-7, Romain Guy (Google) wrote:

 We use make internally but I used ant on personal apps. You can map an
 ant target to a key shortcut in IntelliJ which makes dev. a little nicer.
 On Mar 12, 2013 1:17 AM, Jason Polites jason@gmail.com wrote:

  Well that pretty much seals the deal for me.  Intellij it is.

 I presume this means using ANT as the build system?  I've had all sorts
 of trials and tribulations with the ANT build system for Android, although
 in fairness most of this has been caused by trying to push it beyond it's
 comfort zone (generating mocks, code coverage etc)

 Thanks Romain.. love your work ;)


 On Tue, Mar 12, 2013 at 12:33 AM, Romain Guy roma...@android.comwrote:

 I use IntelliJ for all my Android framework development work and I have
 used it to work on apps such as the stock Launcher and a couple of personal
 apps. I can live without ADT since the most critical tools are available as
 standalone apps (DDMS, hierarchyviewer, traceview, etc.) You will probably
 miss some of the niceties of ADT so you should give it a try and see how it
 feels for you.

 IntelliJ is definitely not very good for native code which is why I use
 Eclipse (with only the CDT plugin) at the same time. If you have enough RAM
 it's a pretty good setup overall: Eclipse for C/C++ and IntelliJ for
 everything else.


 On Mon, Mar 11, 2013 at 10:47 PM, Jason jason@gmail.com wrote:

 OK.. I've just about had enough of eclipse.  I have been using it for
 10+ years (ever since it was WSAD :/) and have put up with it's slowness,
 buggyness, upgrade nightmares, plugins that don't work, plugins that do
 work.. then don't, random crashes etc etc... but I just can't take it
 anymore.

 This latest version of eclipse (Juno Service Release 2 Build id:
 20130225-0426) is so riddled with bugs that I can't get through just
 a few hours with either my delete key not working (
 http://stackoverflow.com/**questions/2539672/my-delete-**
 key-wont-work-in-eclipse-in-**os-xhttp://stackoverflow.com/questions/2539672/my-delete-key-wont-work-in-eclipse-in-os-x),
 files not saving, a veritable torrent of NullPointerExceptions in the
 Error Log which manifest as random UI failures mixed in with the 
 occasional
 but predictable complete crash followed by a build the world on restart
 that takes about 3 days.

 I love eclipse, but enough is enough.

 So.. is intellij for Android development a realistic option?
  Obviously Google make plugins for eclipse so this is always going to be
 the first stop for SDK updates, but if anyone is out there who has made 
 the
 switch from eclipse to intellij *specifically for Android work* please
 let me know your opinion.

 I also do a reasonable amount in C++ using the CDT (which is a whole
 other source of issues) and I understand that this is not a strong point
 for intellij (?)

 I really wish the folks at eclipse (whoever they are) would stop
 trying to build features and just make the darn thing stable... I mean 10
 years.. c'mon guys.

 :/

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**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=enhttp://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+**unsubscr...@googlegroups.com.

 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .






 --
 Romain Guy
 Android framework engineer
 roma...@android.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-d...@**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=enhttp://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because 

[android-developers] Re: ADT tutorials

2013-03-12 Thread Ian Ni-Lewis
Hi James, I've recently formed a team within Android to overhaul our 
samples and tutorials. Can you give me any more details about the tutorials 
that don't work?
Thanks
Ian

On Tuesday, February 26, 2013 4:58:06 AM UTC-8, James Richardson wrote:

 I have been trying to do the ADT tutorials and come to the conclusion that 
 they have not given sufficient details for the tutorials or they simply 
 don't work testing on an S3 and Eclipse is just giving errors. 

 This isn't just me either have seen a few posts around with people having 
 the same problem.

 Is anything being done to solve this?


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread b0b
Eclipse for life here. 

I use it for Android, regular Java, C/C++, GWT development.

Having it all in the same IDE is nice.

Bashing Eclipse is popular. Each time someone bashes Eclipse, it is 
generally followed by stating how awesome Intellij is. 
This pattern is 100% predictable, especially on some developers IRC 
channels, where bitching about build tools is a recurring activity.

Note: I have noting against Intellij.

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason
Bashing eclipse is popular because eclipse is a horrible experience, from 
start to end.  As I said in my original post I've been using eclipse for as 
long as there has been an eclipse and many many of the concepts in how data 
is presented in eclipse make a LOT of sense.  The problem is that it's 
buggy.  And I don't mean a few minor issues here and there, I mean hair 
pulling, vein popping, cat kicking failures that make an average day of 
using eclipse less desirable than a barbed wire sandwich.  If one was to 
use eclipse to endlessly write Hello World apps in a pure java environment 
without any external data sources, or libraries, or version control system, 
or other languages.. then one would likely be quite happy and be completely 
confused why anyone would see a problem with eclipse. 

Like I said in the original post.. I love eclipse, I just can't deal with 
it anymore.

On Tuesday, March 12, 2013 9:51:41 AM UTC-7, b0b wrote:

 Eclipse for life here. 

 I use it for Android, regular Java, C/C++, GWT development.

 Having it all in the same IDE is nice.

 Bashing Eclipse is popular. Each time someone bashes Eclipse, it is 
 generally followed by stating how awesome Intellij is. 
 This pattern is 100% predictable, especially on some developers IRC 
 channels, where bitching about build tools is a recurring activity.

 Note: I have noting against Intellij.



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Kristopher Micinski
I don't think that's been my experience: I've never intended to bash
Eclipse on the sole basis that I've not taken time to give it some overall
evaluation.

For me, Eclipse eats tons of ram, the plugins I use usually break it
(though this is really a problem with those plugins, it's definitely not a
great thing that Eclipse ends up in an inconsistent state so easily), and I
feel like my screenspace is completely wasted with it's thousands of
panels.  (Using an eclipse fullscreen plugin is completely necessary, in
my opinion..)

I don't want to say that Eclipse sucks for everyone: maybe it's just that I
haven't taken the time to properly configure it for my needs. At the same
time, I'm not advocating IntelliJ either.  It's obvious that Eclipse has
certain points that many people will find advantageous: lots of users, ADT
emphasis, a mature development community.

But at the same time, I come back again and again to Eclipse and try to
reevaluate how it can fit into my workflow.  I've consistently found that
it doesn't work for my needs: it doesn't integrate with command line build
tools (maybe I'm in the minority of people here), I consistently get a
buggy enough experience that it forces me to restart it, etc...

I actually have *tried* to use Eclipse multiple times, and the
metaannoynces of Eclipse crashing before my knees for some strange reason
has forced me asking why I even use it?  I can live without it.

(FYI I have used Eclipse for some other projects, and it's worked fine, but
my experiences with respect to Android have not been pleasant..)

Kris


On Tue, Mar 12, 2013 at 12:51 PM, b0b pujos.mich...@gmail.com wrote:

 Eclipse for life here.

 I use it for Android, regular Java, C/C++, GWT development.

 Having it all in the same IDE is nice.

 Bashing Eclipse is popular. Each time someone bashes Eclipse, it is
 generally followed by stating how awesome Intellij is.
 This pattern is 100% predictable, especially on some developers IRC
 channels, where bitching about build tools is a recurring activity.

 Note: I have noting against Intellij.


  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Larry Meadors
Oh my gosh, did I just walk into the 21st century version of vi vs emacs.

Bottom line: They all suck, just in different ways.

For the love of all that is good and right in the universe, don't try
to tell me IDEA has no hair pulling, vein popping, cat kicking
failures, because I have used it for close to 10 years, and I KNOW
that's not true.

My advice: Pick the one that sucks the least *for you* and use it for
what you need to do.

Larry


On Tue, Mar 12, 2013 at 11:13 AM, Jason jason.poli...@gmail.com wrote:
 Bashing eclipse is popular because eclipse is a horrible experience, from
 start to end.  As I said in my original post I've been using eclipse for as
 long as there has been an eclipse and many many of the concepts in how data
 is presented in eclipse make a LOT of sense.  The problem is that it's
 buggy.  And I don't mean a few minor issues here and there, I mean hair
 pulling, vein popping, cat kicking failures that make an average day of
 using eclipse less desirable than a barbed wire sandwich.  If one was to use
 eclipse to endlessly write Hello World apps in a pure java environment
 without any external data sources, or libraries, or version control system,
 or other languages.. then one would likely be quite happy and be completely
 confused why anyone would see a problem with eclipse.

 Like I said in the original post.. I love eclipse, I just can't deal with it
 anymore.


 On Tuesday, March 12, 2013 9:51:41 AM UTC-7, b0b wrote:

 Eclipse for life here.

 I use it for Android, regular Java, C/C++, GWT development.

 Having it all in the same IDE is nice.

 Bashing Eclipse is popular. Each time someone bashes Eclipse, it is
 generally followed by stating how awesome Intellij is.
 This pattern is 100% predictable, especially on some developers IRC
 channels, where bitching about build tools is a recurring activity.

 Note: I have noting against Intellij.

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Kristopher Micinski
That's basically the point, but at the same time, a discussion as to which
workflows go well with which environments may be constructive for some
users.

I think it's best to take everyone's opinion with a grain of salt...
Eclipse will suck to some people, other things will suck to other people.
 (As an example, I'm sure most people probably think that emacs sucks as an
IDE!)

Kris



On Tue, Mar 12, 2013 at 1:25 PM, Larry Meadors larry.mead...@gmail.comwrote:

 Oh my gosh, did I just walk into the 21st century version of vi vs emacs.

 Bottom line: They all suck, just in different ways.

 For the love of all that is good and right in the universe, don't try
 to tell me IDEA has no hair pulling, vein popping, cat kicking
 failures, because I have used it for close to 10 years, and I KNOW
 that's not true.

 My advice: Pick the one that sucks the least *for you* and use it for
 what you need to do.

 Larry


 On Tue, Mar 12, 2013 at 11:13 AM, Jason jason.poli...@gmail.com wrote:
  Bashing eclipse is popular because eclipse is a horrible experience, from
  start to end.  As I said in my original post I've been using eclipse for
 as
  long as there has been an eclipse and many many of the concepts in how
 data
  is presented in eclipse make a LOT of sense.  The problem is that it's
  buggy.  And I don't mean a few minor issues here and there, I mean hair
  pulling, vein popping, cat kicking failures that make an average day of
  using eclipse less desirable than a barbed wire sandwich.  If one was to
 use
  eclipse to endlessly write Hello World apps in a pure java environment
  without any external data sources, or libraries, or version control
 system,
  or other languages.. then one would likely be quite happy and be
 completely
  confused why anyone would see a problem with eclipse.
 
  Like I said in the original post.. I love eclipse, I just can't deal
 with it
  anymore.
 
 
  On Tuesday, March 12, 2013 9:51:41 AM UTC-7, b0b wrote:
 
  Eclipse for life here.
 
  I use it for Android, regular Java, C/C++, GWT development.
 
  Having it all in the same IDE is nice.
 
  Bashing Eclipse is popular. Each time someone bashes Eclipse, it is
  generally followed by stating how awesome Intellij is.
  This pattern is 100% predictable, especially on some developers IRC
  channels, where bitching about build tools is a recurring activity.
 
  Note: I have noting against Intellij.
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
  email to android-developers+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
IntelliJ certainly has its own issues :)


On Tue, Mar 12, 2013 at 10:25 AM, Larry Meadors larry.mead...@gmail.comwrote:

 Oh my gosh, did I just walk into the 21st century version of vi vs emacs.

 Bottom line: They all suck, just in different ways.

 For the love of all that is good and right in the universe, don't try
 to tell me IDEA has no hair pulling, vein popping, cat kicking
 failures, because I have used it for close to 10 years, and I KNOW
 that's not true.

 My advice: Pick the one that sucks the least *for you* and use it for
 what you need to do.

 Larry


 On Tue, Mar 12, 2013 at 11:13 AM, Jason jason.poli...@gmail.com wrote:
  Bashing eclipse is popular because eclipse is a horrible experience, from
  start to end.  As I said in my original post I've been using eclipse for
 as
  long as there has been an eclipse and many many of the concepts in how
 data
  is presented in eclipse make a LOT of sense.  The problem is that it's
  buggy.  And I don't mean a few minor issues here and there, I mean hair
  pulling, vein popping, cat kicking failures that make an average day of
  using eclipse less desirable than a barbed wire sandwich.  If one was to
 use
  eclipse to endlessly write Hello World apps in a pure java environment
  without any external data sources, or libraries, or version control
 system,
  or other languages.. then one would likely be quite happy and be
 completely
  confused why anyone would see a problem with eclipse.
 
  Like I said in the original post.. I love eclipse, I just can't deal
 with it
  anymore.
 
 
  On Tuesday, March 12, 2013 9:51:41 AM UTC-7, b0b wrote:
 
  Eclipse for life here.
 
  I use it for Android, regular Java, C/C++, GWT development.
 
  Having it all in the same IDE is nice.
 
  Bashing Eclipse is popular. Each time someone bashes Eclipse, it is
  generally followed by stating how awesome Intellij is.
  This pattern is 100% predictable, especially on some developers IRC
  channels, where bitching about build tools is a recurring activity.
 
  Note: I have noting against Intellij.
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
  email to android-developers+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Romain Guy
Android framework engineer
romain...@android.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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Ian Ni-Lewis
I don't care to argue about the superiority or inferiority of each product;
I'll just say that after trying Xcode, Eclipse, and IntelliJ (and after
having used Visual Studio since version 2.0), IntelliJ was the one product
that made intuitive sense to me. I assume that this is because its paradigm
is similar in many ways to Visual Studio, not because it's inherently
better.

I will, however, stand by my observation that NDK development in Eclipse is
no fun at all. That isn't necessarily the fault of Eclipse.
Ian


On Tue, Mar 12, 2013 at 10:52 AM, Romain Guy romain...@android.com wrote:

 IntelliJ certainly has its own issues :)


 On Tue, Mar 12, 2013 at 10:25 AM, Larry Meadors 
 larry.mead...@gmail.comwrote:

 Oh my gosh, did I just walk into the 21st century version of vi vs
 emacs.

 Bottom line: They all suck, just in different ways.

 For the love of all that is good and right in the universe, don't try
 to tell me IDEA has no hair pulling, vein popping, cat kicking
 failures, because I have used it for close to 10 years, and I KNOW
 that's not true.

 My advice: Pick the one that sucks the least *for you* and use it for
 what you need to do.

 Larry


 On Tue, Mar 12, 2013 at 11:13 AM, Jason jason.poli...@gmail.com wrote:
  Bashing eclipse is popular because eclipse is a horrible experience,
 from
  start to end.  As I said in my original post I've been using eclipse
 for as
  long as there has been an eclipse and many many of the concepts in how
 data
  is presented in eclipse make a LOT of sense.  The problem is that it's
  buggy.  And I don't mean a few minor issues here and there, I mean hair
  pulling, vein popping, cat kicking failures that make an average day of
  using eclipse less desirable than a barbed wire sandwich.  If one was
 to use
  eclipse to endlessly write Hello World apps in a pure java environment
  without any external data sources, or libraries, or version control
 system,
  or other languages.. then one would likely be quite happy and be
 completely
  confused why anyone would see a problem with eclipse.
 
  Like I said in the original post.. I love eclipse, I just can't deal
 with it
  anymore.
 
 
  On Tuesday, March 12, 2013 9:51:41 AM UTC-7, b0b wrote:
 
  Eclipse for life here.
 
  I use it for Android, regular Java, C/C++, GWT development.
 
  Having it all in the same IDE is nice.
 
  Bashing Eclipse is popular. Each time someone bashes Eclipse, it is
  generally followed by stating how awesome Intellij is.
  This pattern is 100% predictable, especially on some developers IRC
  channels, where bitching about build tools is a recurring activity.
 
  Note: I have noting against Intellij.
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to
 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 unsubscribe from this group and stop receiving emails from it, send
 an
  email to android-developers+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.





 --
 Romain Guy
 Android framework engineer
 romain...@android.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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/03O6rEVdXCY/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Ian Ni-Lewis
Staff Developer Programs 

[android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Martin Krischik
Am Dienstag, 12. März 2013 06:47:11 UTC+1 schrieb Jason:

 So.. is intellij for Android development a realistic option? 


*Yes!* Absolutely. We at NOSER Bern use nothing else for Android 
Development. Note that we also Maven and in theory every developer is free 
to chose the IDE. But in praxis Intellij IDEA is so superior that everybody 
dumped Eclipse. At least for Android development.

In the past we started Eclipse from time to time for the GUI-Designer. But 
now Intellij IDEA has an GUI-Designer for Android as well. So even that is 
history.

As far as I see the more important question is: Is Eclipse for Android 
development a realistic option?

Obviously Google make plugins for eclipse so this is always going to be the 
 first stop


fist stop ≠ best stop. And besides: Intellij IDEA was first to have colour 
highlight for logcat. The first to have search in logcat (filter ≠ search). 
So Eclispe is not even *“always going to be the first stop*”.

Martin

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Martin Krischik

Am Dienstag, 12. März 2013 09:13:49 UTC+1 schrieb Jason:

 Well that pretty much seals the deal for me.  Intellij it is.

 I presume this means using ANT as the build system?


You presume wrong. Maven for Android is dam good. Have a look at this 
youtube video showing some instrumentation tests: 
http://www.youtube.com/watch?v=qL7S4rE5Y5w — that is Maven for Android. 
Notice the screen-shots done automaticly? Ant can't do that. 

And unlike Eclipse the Maven support in InteliiJ IDEA actually works just 
perfect.

Martin

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Martin Krischik
Am Dienstag, 12. März 2013 17:51:41 UTC+1 schrieb b0b:

 Each time someone bashes Eclipse, it is generally followed by stating how 
 awesome Intellij is. 


Have you ever considered that this is so because is truly Intellij IDEA is 
awesome.

Consider this: Almost every Java programmer has used eclipse at one time. 
So everybody who bashes Eclipse actually knows what he / she is talking 
about. *Have you tried Intellij IDEA?*

Martin 

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Enumerate sd cards

2013-03-12 Thread Yves Liu
Wow, if that is the case, it is a lot of work. :( No bullet proof solution then.

On Sun, Mar 10, 2013 at 4:59 PM, RichardC
richard.crit...@googlemail.com wrote:
 By guesswork, testing and end-user feedback on individual devices.


 On Sunday, March 10, 2013 11:03:36 PM UTC, yve...@gmail.com wrote:

 Thank for the info. My question is that there are so many third party
 file explorer apps, how do they figure out the path of internal and
 external storages?



 On Fri, Mar 8, 2013 at 5:24 PM, RichardC richard...@googlemail.com
 wrote:
  The problem we have here is that getExternalStorageDirectory does NOT
  return
  the location of the sd card.  In fact it has nothing to do with sd cards
  and
  never has.  From the docs:
 
  Note: don't be confused by the word external here. This directory can
  better be thought as media/shared storage. It is a filesystem that can
  hold
  a relatively large amount of data and that is shared across all
  applications
  (does not enforce permissions). Traditionally this is an SD card, but it
  may
  also be implemented as built-in storage in a device that is distinct
  from
  the protected internal storage and can be mounted as a filesystem on a
  computer.
 
 
  http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory()
 
  It is that part of the file system that is mounted when you attach an
  external device such as a desktop computer via the USB port.
 
  There is NO documented way in Android to enumerate removable storage.
 
 
  On Friday, March 8, 2013 9:21:38 PM UTC, yve...@gmail.com wrote:
 
  Yes, have read the documentation. But that is not what I am looking
  for. The getExternalStorage() returns internal sd card (if there are
  both internal sd card and external sd card). I want to know how to
  find the external sd card path.
 
 
 
  On Wed, Mar 6, 2013 at 9:05 PM, TreKing treki...@gmail.com wrote:
  
   On Wed, Mar 6, 2013 at 10:29 PM, yve...@gmail.com yve...@gmail.com
   wrote:
  
   So, I want to know, first, how to enumerate all storage locations
  
  
   Did you check the documentation?
  
   http://developer.android.com/guide/topics/data/data-storage.html
  
  
   , second, monitor sdcard insert/eject events.
  
  
   See the various MEDIA broadcasts.
  
  
   http://developer.android.com/reference/android/content/Intent.html#ACTION_MEDIA_BAD_REMOVAL
  
  
  
   -
   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-d...@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 unsubscribe from this group and stop receiving emails from it,
   send
   an
   email to android-developers+unsubscr...@googlegroups.com.
   For more options, visit https://groups.google.com/groups/opt_out.
  
  
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-d...@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 unsubscribe from this group and stop receiving emails from it, send
  an
  email to android-developers+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



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

[android-developers] How to replace the ItemizedOverlay with onTap event

2013-03-12 Thread Edward Lin
According to the following link:
https://developers.google.com/maps/documentation/android/v1/mapkey

*Note*: Version 1 of the Google Maps Android API as been officially
deprecated as of December 3rd, 2012. *This means that from March 3rd, 2013
you will no longer be able to request an API key for this version.* No new
features will be added to Google Maps Android API v1. However, apps using
v1 will continue to work on devices. Existing and new developers are
encouraged to use Google Maps Android API
v2https://developers.google.com/maps/documentation/android/
.

So I am trying to migrate my Android Map API to Google Map API V2. My Map
application was using ItemsizedOverlay with onTap event so that user can
click the Overlay on different links, views or buttons to navigate to the
destination or close the BalloonItem if user click the close button. But on
API v2, the ItemizedOverlay is replaced as InfoWindow.  As a result, any
listeners you set on the InfoWindow are disregarded and you cannot
distinguish between click events on various parts of the view.

I cannot believe migrate to Map API v2 is going to reduce the features of
the Map application. Those features are something I cannot use without it.
Can anyone let me know any alternative for getting onTap (or onClick)
listener for the InfoWindow? Or what other control can provide the similar
feature for InfoWindow.

Many 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Kostya Vasilyev

On Tuesday, March 12, 2013 10:59:55 PM UTC+4, Martin Krischik wrote:

 Am Dienstag, 12. März 2013 17:51:41 UTC+1 schrieb b0b:

 Each time someone bashes Eclipse, it is generally followed by stating how 
 awesome Intellij is. 


 Have you ever considered that this is so because is truly Intellij IDEA is 
 awesome.

 Consider this: Almost every Java programmer has used eclipse at one time. 
 So everybody who bashes Eclipse actually knows what he / she is talking 
 about. *Have you tried Intellij IDEA?*


I tried several times, most recently, as it happens, today.

First, on Ubuntu.

Fonts in IDEA are lacking antialising or hinting or both. JetBrains' 
response on an old bug report about this is won't fix, Linux market is too 
small, not worth it. Tried a couple magic tweaks found on the 'net, 
still, no improvement.

Next, rebooted into Windows 8.

IDEA could not find the installed JDK when trying to create a new Android 
project, so I could not get past the new Android project stage.

Will try again when it won't make my eyes bleed and is able to find Java :)

-- K

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread a1
W dniu wtorek, 12 marca 2013 18:13:16 UTC+1 użytkownik Jason napisał:

 Bashing eclipse is popular because eclipse is a horrible experience, from 
 start to end. 


Exaggerating a bit, don't you think? Sure 4.2 isn't such a great release 
(new UI framework is still buggy, but SR2 helped a lot - at least on linux 
and windows). I work a lot with native (c++) code and I didn't find any IDE 
that can replace eclipse for that, also I use a lot AST based navigation 
(type hierarchy, call hierarchy, override paths, outlines, data flows) and 
I really didn't find any IDE matching eclipse in this regard (and that is 
for single language not to mention for both java and c++).

So I really think millage may vary and IDEs comparison are extremely 
subjective, so my advice is: try other options and see if they works for 
you.

--
Bart

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason Polites
My issue has never been with the features of eclipse.. they're awesome.  My
issue is that they just don't work.  Running CDT along side regular Java
along side Android ADT is just broken.  I am constantly getting
combinations of:

weird behavior (dialogs not containing default values, false-positive
errors in config dialogs, failure to locate referenced libraries, failure
to index referenced libraries for code complete),

visible errors (Alert dialogs reporting that an error occurred with a
details section that simply says NullPointerException, eclipse Error
Logs with literally hundreds of errors usually NPEs, and UI controls simply
ceasing to work.. that is, panels that fail to load and just display a
blank screen or windows that simply don't display),

and of course complete crashes at LEAST once per day.

I'm not saying it's easy.. quite the opposite.  I'm sure building an IDE to
do all this is immensely difficult but that shouldn't mean we just lower
our expectations to accomodate should it?

I love all the features of eclipse and I too make extensive use or type
hierarchy views, refactoring etc etc but I wonder how much I'd be willing
to give up for the sake of stability.  Actually I know how much... a lot.
 I recently had to disable Build Automatically because it would cause
unrecoverable crashes when ADT tried to create a JAR file.  So I had to
manually build every time I wanted to see a change.  It was a bit of a pain
but FAR less than the pain of having to restart every hour or so.

I've now been using Intellij (Community Edition) for about 3 hours so it's
too early to tell definitively but so far all the features I want are there
(with the exception of C++ support) so we'll see if it lives up to its
reputation from a stability/speed perspective.


On Tue, Mar 12, 2013 at 3:18 PM, a1 arco...@gmail.com wrote:

 W dniu wtorek, 12 marca 2013 18:13:16 UTC+1 użytkownik Jason napisał:

 Bashing eclipse is popular because eclipse is a horrible experience, from
 start to end.


 Exaggerating a bit, don't you think? Sure 4.2 isn't such a great release
 (new UI framework is still buggy, but SR2 helped a lot - at least on linux
 and windows). I work a lot with native (c++) code and I didn't find any IDE
 that can replace eclipse for that, also I use a lot AST based navigation
 (type hierarchy, call hierarchy, override paths, outlines, data flows) and
 I really didn't find any IDE matching eclipse in this regard (and that is
 for single language not to mention for both java and c++).

 So I really think millage may vary and IDEs comparison are extremely
 subjective, so my advice is: try other options and see if they works for
 you.

 --
 Bart

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/03O6rEVdXCY/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Ozzy's Odyssey!  A new game for Android
https://market.android.com/details?id=com.carboncrystal.odyssey
http://www.carboncrystal.com/ http://www.carboncrystal.com/droid-odyssey/

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Lew
Jason wrote:

 My issue has never been with the features of eclipse [sic] .. [sic] 
 they're awesome.  My issue is that they just don't work.  Running CDT along 
 side [sic] regular Java along side Android ADT is just broken.  I am 
 constantly getting combinations of:
 http://www.carboncrystal.com/droid-odyssey/

 
http://en.wikipedia.org/wiki/Editor_war

-- 
Lew

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




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason Polites
Not sure how that helps the discussion, but thanks.


On Tue, Mar 12, 2013 at 4:24 PM, Lew lewbl...@gmail.com wrote:

 Jason wrote:

 My issue has never been with the features of eclipse [sic] .. [sic]
 they're awesome.  My issue is that they just don't work.  Running CDT along
 side [sic] regular Java along side Android ADT is just broken.  I am
 constantly getting combinations of:
  http://www.carboncrystal.com/droid-odyssey/


 http://en.wikipedia.org/wiki/Editor_war

 --
 Lew

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/03O6rEVdXCY/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Ozzy's Odyssey!  A new game for Android
https://market.android.com/details?id=com.carboncrystal.odyssey
http://www.carboncrystal.com/ http://www.carboncrystal.com/droid-odyssey/

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Lew
Jason wrote:

 Not sure how that helps the discussion, but thanks.


It puts it in perspective, that is, it illustrates the value of arguing 
over the best editor as folks have been doing here.

Does that make it clearer?
 


  Lew wrote:

 Jason wrote:

 My issue has never been with the features of eclipse [sic] .. [sic] 
 they're awesome.  My issue is that they just don't work.  Running CDT along 
 side [sic] regular Java along side Android ADT is just broken.  I am 
 constantly getting combinations of:
  http://www.carboncrystal.com/droid-odyssey/

  
 http://en.wikipedia.org/wiki/Editor_war


-- 
Lew
 

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




[android-developers] Re: Unique Identifier

2013-03-12 Thread RichardC
Android Developer Blog - Identifying App Installations; includes a section 
on identifying devices:
http://android-developers.blogspot.co.uk/2011/03/identifying-app-installations.html


On Saturday, March 9, 2013 5:49:30 AM UTC, Jayu wrote:

 Hi,
 I would like to map the Android devices where my Application is installed, 
 thing is is there any unique identifier that can be mapped with device .


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




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason Polites
Sure, but the intention of the thread was to inform as to whether intellij
is a realistic option for Android development.  People are relaying their
personal experience with each, which is all valid, relevant information for
those interested in the answer, which I am since I posted the original
question.  But again, thanks for the contribution.


On Tue, Mar 12, 2013 at 5:42 PM, Lew lewbl...@gmail.com wrote:

 Jason wrote:

 Not sure how that helps the discussion, but thanks.


 It puts it in perspective, that is, it illustrates the value of arguing
 over the best editor as folks have been doing here.

 Does that make it clearer?



  Lew wrote:

 Jason wrote:

 My issue has never been with the features of eclipse [sic] .. [sic]
 they're awesome.  My issue is that they just don't work.  Running CDT along
 side [sic] regular Java along side Android ADT is just broken.  I am
 constantly getting combinations of:
  http://www.carboncrystal.com/droid-odyssey/


 http://en.wikipedia.org/wiki/**Editor_warhttp://en.wikipedia.org/wiki/Editor_war


 --
 Lew


 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/03O6rEVdXCY/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Ozzy's Odyssey!  A new game for Android
https://market.android.com/details?id=com.carboncrystal.odyssey
http://www.carboncrystal.com/ http://www.carboncrystal.com/droid-odyssey/

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jim Graham
On Tue, Mar 12, 2013 at 11:04:53AM -0700, Ian Ni-Lewis wrote:
 I don't care to argue about the superiority or inferiority of each product;

Just FWIW, I, no doubt like most here, still remember what comp.editors
used to be like in the weekly editor wars, some of which were still going
while the next had already started.  I'd hate to see that happen here.

However, having said that, this conversation has made me decide to at
least see what IntelliJ is, exactly, and how it works vs Eclipse.  Then
I'll decide on that for myself.  :-)   (No, I haven't really been
following this thread until now...but I do know how to look it up grin).

 I will, however, stand by my observation that NDK development in Eclipse is
 no fun at all. That isn't necessarily the fault of Eclipse.

I don't know about that last bit---I never did get it to work with
Eclipse.  I just use the NDK and its scripts, along with one or two of
my own scripts.

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)MiSTie #49997   Running Mac OS X Lion 
spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W

   In light of DHS's recommendation to defend yourself
against armed intruders with scissors, I'm giving
 my deer rifle a new nickname: Scissors.

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Hovering text view

2013-03-12 Thread smerag
Hi,

I am trying to show text view (like pop up window )on hovering over an text 
view in list.

Please let me know to do the same.

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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] maps api 2,onlocationchanged direction

2013-03-12 Thread Pratama Nur Wijaya


https://lh4.googleusercontent.com/-uF1Ec7EnvVw/UUAQ9skh1-I/AfM/F_MUdqn5fs0/s1600/screenshot-1363152255861.png
Hello,,

i'm trying make some direction apps on android.. i was able show direction 
line with parsing lat and longitude from 
http://maps.googleapis.com/maps/api/directions/json?

marker blue is mylocation.. and red is my destination,

my problem is.. when i move walking my blue marker not follow me..
i'm notice some method that is onLocationChange.. 

any advice for me..? 

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