[android-developers] Migrating to Android Studio

2015-01-10 Thread Simon Giddings
I have been developing a large project for a long time now and am nearly at 
the point of wanting to release it.

However, I have seen that the official IDE is no longer Eclipse but Android 
Studio.
In addition, I have seen a number of discussions passing by where people 
are complaining about bugs within Studio.
Is Studio really in a production stable state yet ?

So, my obvious question here is - should I be migrating to Studio *now* ?

If so, are there any accurate guides for doing this ?
I have seen the, very, succinct description on the developers site which 
appears to skip certain steps.
For example, it says to import the project .gradle file - without 
explaining how to generate this file !

Hopefully someone will be patient enough to help me with this ... 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/d/optout.


Re: [android-developers] Migrating to Android Studio

2015-01-10 Thread 'Tor Norbye' via Android Developers
Here's some more information on migration:
http://tools.android.com/tech-docs/new-build-system/migrating-from-eclipse-projects

As you can see if you're really migrating to Android Studio it's better to
import in Android Studio than to export from Eclipse. But if you plan to
continue working with both (e.g. other members on a team), exporting will
create a build.gradle file which preserves the Eclipse file layout.

On Sat, Jan 10, 2015 at 11:18 AM, TreKing treking...@gmail.com wrote:


 On Sat, Jan 10, 2015 at 11:24 AM, Simon Giddings mr.s.giddi...@gmail.com
 wrote:

 Is Studio really in a production stable state yet ?


 http://android-developers.blogspot.com/2014/12/android-studio-10.html


 So, my obvious question here is - should I be migrating to Studio *now* ?


 You should probably have migrated months ago. But at this point, do you
 need to migrate this second? No. If Eclipse is working for you and you're
 about to release, why complicate things with a new environment? I'd get
 that release out the door, back up everything, create a new branch in your
 repo, and start the process there.


 If so, are there any accurate guides for doing this ?
 I have seen the, very, succinct description on the developers site which
 appears to skip certain steps.
 For example, it says to import the project .gradle file - without
 explaining how to generate this file !


 I assume you're referring to this:
 https://developer.android.com/sdk/installing/migrate.html, where in step
 3 it says Locate the project you exported from Eclipse. So, while it's
 not 100% explicit, it is indicating that you should have done an export
 from Ecipse. Did you try that?

 Personally I found that transition fairly smooth. You don't even have to
 export Eclipse first anymore. Just do an import in Android Studio and it
 will detect the Eclipse project structure and import it for you. Give that
 a shot.


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

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


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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/d/optout.


Re: [android-developers] Migrating to Android Studio

2015-01-10 Thread Simon Giddings
This is great - first class answer !
Thanks for reassuring me about this move - which I will indeed undertake 
after my first release.

On Saturday, January 10, 2015 at 8:29:27 PM UTC+1, TreKing wrote:


 On Sat, Jan 10, 2015 at 11:24 AM, Simon Giddings mr.s.g...@gmail.com 
 javascript: wrote:

 Is Studio really in a production stable state yet ?


 http://android-developers.blogspot.com/2014/12/android-studio-10.html 
  

 So, my obvious question here is - should I be migrating to Studio *now* ?


 You should probably have migrated months ago. But at this point, do you 
 need to migrate this second? No. If Eclipse is working for you and you're 
 about to release, why complicate things with a new environment? I'd get 
 that release out the door, back up everything, create a new branch in your 
 repo, and start the process there.
  

 If so, are there any accurate guides for doing this ?
 I have seen the, very, succinct description on the developers site which 
 appears to skip certain steps.
 For example, it says to import the project .gradle file - without 
 explaining how to generate this file !


 I assume you're referring to this: 
 https://developer.android.com/sdk/installing/migrate.html, where in step 
 3 it says Locate the project you exported from Eclipse. So, while it's 
 not 100% explicit, it is indicating that you should have done an export 
 from Ecipse. Did you try that?

 Personally I found that transition fairly smooth. You don't even have to 
 export Eclipse first anymore. Just do an import in Android Studio and it 
 will detect the Eclipse project structure and import it for you. Give that 
 a shot.


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

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


Re: [android-developers] Migrating to Android Studio

2015-01-10 Thread TreKing
On Sat, Jan 10, 2015 at 11:24 AM, Simon Giddings mr.s.giddi...@gmail.com
wrote:

 Is Studio really in a production stable state yet ?


http://android-developers.blogspot.com/2014/12/android-studio-10.html


 So, my obvious question here is - should I be migrating to Studio *now* ?


You should probably have migrated months ago. But at this point, do you
need to migrate this second? No. If Eclipse is working for you and you're
about to release, why complicate things with a new environment? I'd get
that release out the door, back up everything, create a new branch in your
repo, and start the process there.


 If so, are there any accurate guides for doing this ?
 I have seen the, very, succinct description on the developers site which
 appears to skip certain steps.
 For example, it says to import the project .gradle file - without
 explaining how to generate this file !


I assume you're referring to this:
https://developer.android.com/sdk/installing/migrate.html, where in step 3
it says Locate the project you exported from Eclipse. So, while it's not
100% explicit, it is indicating that you should have done an export from
Ecipse. Did you try that?

Personally I found that transition fairly smooth. You don't even have to
export Eclipse first anymore. Just do an import in Android Studio and it
will detect the Eclipse project structure and import it for you. Give that
a shot.

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

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


[android-developers] How to display action bar in navigation with list activity

2015-01-10 Thread Ji
Hi,

I am trying to display action bar in the list activity (launcher 
activity) in my android app using Lollipop with min version as 14. Do I 
need to use merge or include feature to display action bar along with List 
Activity? The action bar stays through out all other activities and is used 
for navigation.

Thanks,
Ji

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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/d/optout.