Re: [android-developers] Re: Displaying Google Map Android API V2 in fragment

2013-12-17 Thread Surabhi Jain
Thanks VenomVendor for giving your precious time.
I have to check my code.


On Tue, Dec 17, 2013 at 12:45 PM, VenomVendor™ yoganandh2...@gmail.comwrote:

 Black screen,
 1. Your are not adding mapv2 correctly.  Visit
 http://venomvendor.blogspot.com/2013/04/getting-started-with-google-mapv2-for.html
 2. If you are getting Maps for the first time  not getting another time,
 i.e after switching between fragments, your are encountering this bug.
 http://code.google.com/p/gmaps-api-issues/issues/detail?id=4639
 https://code.google.com/p/gmaps-api-issues/issues/detail?id=4659
 http://stackoverflow.com/q/18533433/1008278

 If it;s case 2, then you have something wrong in your code, cox, am
 getting maps when i switch between fragments.

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




-- 
Thanks  Regards
Surabhi Jain

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

2013-12-17 Thread parag chauhan
Did you got any solution for this?

On Monday, 2 November 2009 19:21:54 UTC+3, Gulfam wrote:

 Hi all, 

I want to make Ticker Component but i dont know how to do this. 
 I have seen Marquee but it start scroll on focus but i dont want. 
 I want to scroll text if it is focused or not means in both 
 conditions. 
 Any useful link or tutorial. Thanks in advance. 

 Regards, 
 Gulfam Hassan 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: part of text to bold when using AlertDialog.setMessage .

2013-12-17 Thread Doug
Pass a custom view to AlertDialog with that view containing a TextView with 
the Spanned being returned from Html.fromtHtml.  Don't use the 
AlertDialog's setMessage since that only accepts regular strings and not 
Spanned strings with markup.

Doug

On Sunday, December 15, 2013 11:04:32 PM UTC-8, rahul kaushik wrote:

 How to set part of text to bold when using AlertDialog.setMessage .

 I googled and also tried 
 Html.fromHtml(b+getString(R.string.your_message)+/b)

 but no Help!

 Please Suggest

 Thanks
 RK


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Swipe app out of recent tasks permanently kills app (like force-stop) even though it's running background services!

2013-12-17 Thread Muzikant
Try using the following code. It's a dirty workaround but it works (unless 
the process is killed via ps or DDMS - Does anyone have some sort of 
solution for that ???).

public void onTaskRemoved(Intent rootIntent)
{
Intent restartServiceIntent = new Intent(getApplicationContext(), 
this.getClass());
restartServiceIntent.setPackage(getPackageName());

PendingIntent restartServicePendingIntent = 
PendingIntent.getService(getApplicationContext(), 1, restartServiceIntent, 
PendingIntent.FLAG_ONE_SHOT);
AlarmManager alarmService = (AlarmManager) 
getApplicationContext().getSystemService(Context.ALARM_SERVICE);
alarmService.setExact(
AlarmManager.ELAPSED_REALTIME,
SystemClock.elapsedRealtime() + 1000,
restartServicePendingIntent);

super.onTaskRemoved(rootIntent);
}

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

2013-12-17 Thread earamsey
Does the Android SDK work on Windows 8/8.1?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: part of text to bold when using AlertDialog.setMessage .

2013-12-17 Thread LackeySoft
Your line setMessage( Html.fromHtml( ) ) works for me if I define the 
string as a resource wrapping it with CDATA like so:

string name=you_have_not_made_changes*![CDATA[*You have not made 
changes to this bNEW DOCUMENT/b*]]*/string

This also works with the AlertDialog's buttons.

On Sunday, December 15, 2013 11:04:32 PM UTC-8, rahul kaushik wrote:

 How to set part of text to bold when using AlertDialog.setMessage .

 I googled and also tried 
 Html.fromHtml(b+getString(R.string.your_message)+/b)

 but no Help!

 Please Suggest

 Thanks
 RK


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

2013-12-17 Thread allandt bik-elliott
yep. should be fine.


Allandt Bik-Elliott | Lead Interactive Developer | Publicis London

76 Oxford St | London, W1D 1BS

Office: +44 (0)20 7830 3706 | Fax: +44 (0)20 7830 3977
allandt.bik-elli...@publicis.co.uk | www.publicis.co.uk



On 17 December 2013 15:10, earamsey erica.ram...@gmail.com wrote:

 Does the Android SDK work on Windows 8/8.1?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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: part of text to bold when using AlertDialog.setMessage .

2013-12-17 Thread LackeySoft
Actually, for the AlertDialog's buttons I only needed to use Html.fromHtml( 
bYes/b) to format as bold... no CDATA required.

On Tuesday, December 17, 2013 8:41:31 AM UTC-8, LackeySoft wrote:

 Your line setMessage( Html.fromHtml( ) ) works for me if I define the 
 string as a resource wrapping it with CDATA like so:

 string name=you_have_not_made_changes*![CDATA[*You have not made 
 changes to this bNEW DOCUMENT/b*]]*/string

 This also works with the AlertDialog's buttons.

 On Sunday, December 15, 2013 11:04:32 PM UTC-8, rahul kaushik wrote:

 How to set part of text to bold when using AlertDialog.setMessage .

 I googled and also tried 
 Html.fromHtml(b+getString(R.string.your_message)+/b)

 but no Help!

 Please Suggest

 Thanks
 RK



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

2013-12-17 Thread MrMrs D
As internally accuracy just 
setshttp://androidxref.com/4.4_r1/xref/frameworks/base/location/java/android/location/Criteria.java`mHorizontalAccuracy`
 I wonder why both setHorizontalAccuracy() and 
setAccuracy() - and no less than 6 constants - are provided.

Anyone knows ?

On Tuesday, November 5, 2013 12:48:54 PM UTC+2, MrMrs D wrote:

 setAccuracyhttp://developer.android.com/reference/android/location/Criteria.html#setAccuracy%28int%29

  Indicates the desired accuracy for latitude and longitude. Accuracy may 
 be ACCURACY_FINE if desired location is fine, else it can be 
 ACCURACY_COARSE. More accurate location may consume more power and may take 
 longer.

 setHorizontalAccuracyhttp://developer.android.com/reference/android/location/Criteria.html#setHorizontalAccuracy%28int%29

  Indicates the desired horizontal accuracy (latitude and longitude). 
 Accuracy may be ACCURACY_LOW, ACCURACY_MEDIUM, ACCURACY_HIGH or 
 NO_REQUIREMENT. More accurate location may consume more power and may take 
 longer.

 Another example of the pristine android docs. So what is the difference ? 
 Notice they take different constants - is it possible/desirable to specify 
 both with some combination of constants ?

 asked also 
 herehttp://stackoverflow.com/questions/17599719/setaccuracy-vs-sethorizontalaccuracy



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

2013-12-17 Thread J Handal
http://stackoverflow.com/questions/16584015/java-eclipse-no-more-r-file-ever/16584243#16584243

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

2013-12-17 Thread gjs
Hi,

Not I, but you could guess that these relate in a device, cost /or 
technology independant manner about what (Location) accuracy is desired by 
your app.

The current technologies that the OS might choose from based on your 
settings include GPS (fine or high accuracy), Wifi access point (medium 
accuracy), Cell Tower (low accuracy)  Barometer (for medium vertical 
acurracy ?), public IP address (low accuracy?)  where those technologies 
are supported by the end users device.

By presenting the Location accuracy options in a technology independant 
manner Android also leaves open the possibility of supporting other 
Location based techniques in future, such as Bluetooth, RFID, NFC, and 
other passive wireless techiques, using sensors etc. And to do this with 
you needing to update your app.

Regards

On Wednesday, December 18, 2013 8:25:58 AM UTC+11, MrMrs D wrote:

 As internally accuracy just 
 setshttp://androidxref.com/4.4_r1/xref/frameworks/base/location/java/android/location/Criteria.java`mHorizontalAccuracy`
  I wonder why both setHorizontalAccuracy() and 
 setAccuracy() - and no less than 6 constants - are provided.

 Anyone knows ?

 On Tuesday, November 5, 2013 12:48:54 PM UTC+2, MrMrs D wrote:

 setAccuracyhttp://developer.android.com/reference/android/location/Criteria.html#setAccuracy%28int%29

  Indicates the desired accuracy for latitude and longitude. Accuracy may 
 be ACCURACY_FINE if desired location is fine, else it can be 
 ACCURACY_COARSE. More accurate location may consume more power and may take 
 longer.

 setHorizontalAccuracyhttp://developer.android.com/reference/android/location/Criteria.html#setHorizontalAccuracy%28int%29

  Indicates the desired horizontal accuracy (latitude and longitude). 
 Accuracy may be ACCURACY_LOW, ACCURACY_MEDIUM, ACCURACY_HIGH or 
 NO_REQUIREMENT. More accurate location may consume more power and may take 
 longer.

 Another example of the pristine android docs. So what is the difference ? 
 Notice they take different constants - is it possible/desirable to specify 
 both with some combination of constants ?

 asked also 
 herehttp://stackoverflow.com/questions/17599719/setaccuracy-vs-sethorizontalaccuracy



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