[android-developers] How to custom monkeyrunner plugin?

2013-03-08 Thread lincoln
Hi,all:

  How to implement my own monkeyrunner plugin?

  I want to use the plugin's functions in my python scripts.The reason 
for this is: i want to communicate with device in my python script for 
other functions except the functions which are supplied by monkeyrunner.

  My code as follow:

public class ScreenSwitchTime extends PyObject implements ClassDictInit {
/**
 * 
 */
private static final long serialVersionUID = -6663473932066100848L;

public static void classDictInit(PyObject dict) {
JythonUtils.convertDocAnnotationsForClass(ScreenSwitchTime.class, dict);
}

@MonkeyRunnerExported(doc = for testing monkeyrunner plugin,returns = a 
string)
public String test(PyObject[] args, String[] kws) {
ArgParser ap = JythonUtils.createArgParser(args, kws);
Preconditions.checkNotNull(ap);

return ap.getString(0)+ ,This is only for testing!;
}
}

but when i run monkeyrunner with the command  of  monkeyrunner -plugin 
***\myplugin.jar d:\mytest.py ,i get the exception:

130308 15:44:12.705:S [main] [com.android.monkeyrunner.MonkeyRunnerStarter] 
Unable to coerce object into correct type: cmcc.stability.ScreenSwitchTime
130308 15:44:15.355:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] 
Plugin Main returned error for: d:\MyPlugin.jar

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] My BroadcastReceiver receiver not getting called after phone boots, any ideas?

2013-03-08 Thread Russell Wheeler
I think you're missing the permission in your manifest.

uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED /

The other thing that wasn't working for me was I didn't have an activity, but I 
presume you do?

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

2013-03-08 Thread Sadhna Upadhyay
Hi friends,
i need a help,can some oe tell me that how to dynamically add a value
in spinner in android.

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] lint: android:versionName=@string/versionName is not valid?

2013-03-08 Thread BoD
Hi!
I have just noticed that lint now complains that I use a string reference 
in my manifest's versionName.
I am surprised, because it actually works without a problem.
Can anyone comment on that?

Thanks!

-- 
BoD

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

2013-03-08 Thread srikanth
Please go through this url

http://www.lacherstorfer.at/haris_blog/2008/03/android-howto-create-spinners.html


On Friday, March 8, 2013 2:31:40 PM UTC+5:30, Sadhna Upadhyay wrote:

 Hi friends,
 i need a help,can some oe tell me that how to dynamically add a value 
 in spinner in android.


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

2013-03-08 Thread Saurav
Thanks Mark, you have always been a charm!
Thanks Larry, that was new info.


So, what I take from your answers is that I can open a (Helper) connection
at start of the application and close it at the application close, using
the same connection for getting Readable and Writable db instances?

And maintain different instance of Helper (each) for every service (cos
they keep running, irrespective of the visible app, DUH!)?

Please correct me if I am wrong.

Thanks again!





Regards,
Saurav Mukherjee.

Twitter https://twitter.com/#!/fasuke
Facebook https://www.facebook.com/fuusuke


On Thu, Mar 7, 2013 at 8:52 PM, Larry Meadors larry.mead...@gmail.comwrote:

 Just be careful closing the database - if you have multiple threads
 sharing an instance of a single SQLiteOpenHelper, the SQLiteDatabase
 mDatabase isn't like a jdbc connection pool.

 If you close it fron one thread, it's closed for real.

 ...and of course, if you don't close it, it whines.

 Larry


 On Thu, Mar 7, 2013 at 8:07 AM, Mark Murphy mmur...@commonsware.com
 wrote:
  On Thu, Mar 7, 2013 at 9:54 AM, Saurav to.saurav.mukher...@gmail.com
 wrote:
  How many SQLiteOpenHelper instances should be created? Should there be
 just
  one and should it be reused?
 
  Ideally, yes, particularly if you are planning on accessing the
  database from multiple threads. One SQLiteOpenHelper instance means
  one SQLiteDatabase instance, and SQLiteDatabase is designed to manage
  operations from multiple threads.
 
  --
  Mark Murphy (a Commons Guy)
  http://commonsware.com | http://github.com/commonsguy
  http://commonsware.com/blog | http://twitter.com/commonsguy
 
  _The Busy Coder's Guide to Android Development_ Version 4.6 Available!
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
  ---
  You received this message because you are subscribed to the Google
 Groups Android Developers group.
  To 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] Handling SQLiteOpenHelper

2013-03-08 Thread Larry Meadors
Yes, that sounds right.

I generally tie an instance to the lifecycle of the class that uses it.

That assures that it is only open as long as it's needed and that it's
closed when it isn't.

Larry


On Fri, Mar 8, 2013 at 4:16 AM, Saurav to.saurav.mukher...@gmail.comwrote:

 Thanks Mark, you have always been a charm!
 Thanks Larry, that was new info.


 So, what I take from your answers is that I can open a (Helper) connection
 at start of the application and close it at the application close, using
 the same connection for getting Readable and Writable db instances?

 And maintain different instance of Helper (each) for every service (cos
 they keep running, irrespective of the visible app, DUH!)?

 Please correct me if I am wrong.

 Thanks again!





 Regards,
 Saurav Mukherjee.

 Twitter https://twitter.com/#!/fasuke
 Facebook https://www.facebook.com/fuusuke


 On Thu, Mar 7, 2013 at 8:52 PM, Larry Meadors larry.mead...@gmail.comwrote:

 Just be careful closing the database - if you have multiple threads
 sharing an instance of a single SQLiteOpenHelper, the SQLiteDatabase
 mDatabase isn't like a jdbc connection pool.

 If you close it fron one thread, it's closed for real.

 ...and of course, if you don't close it, it whines.

 Larry


 On Thu, Mar 7, 2013 at 8:07 AM, Mark Murphy mmur...@commonsware.com
 wrote:
  On Thu, Mar 7, 2013 at 9:54 AM, Saurav to.saurav.mukher...@gmail.com
 wrote:
  How many SQLiteOpenHelper instances should be created? Should there be
 just
  one and should it be reused?
 
  Ideally, yes, particularly if you are planning on accessing the
  database from multiple threads. One SQLiteOpenHelper instance means
  one SQLiteDatabase instance, and SQLiteDatabase is designed to manage
  operations from multiple threads.
 
  --
  Mark Murphy (a Commons Guy)
  http://commonsware.com | http://github.com/commonsguy
  http://commonsware.com/blog | http://twitter.com/commonsguy
 
  _The Busy Coder's Guide to Android Development_ Version 4.6 Available!
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to
 android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
  ---
  You received this message because you are subscribed to the Google
 Groups Android Developers group.
  To 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.




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

2013-03-08 Thread AndroidDev


On Saturday, January 31, 2009 5:18:39 AM UTC+5:30, srajpal wrote:

 Does someone know how I can overlay an image over the camera preview?

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

2013-03-08 Thread chandur mani
Hi sadhna,

 It is very easy , You have to add the value in array adapter only.

Thanks
Mani


On Fri, Mar 8, 2013 at 2:31 PM, Sadhna Upadhyay
sadhna.braah...@gmail.comwrote:

 Hi friends,
 i need a help,can some oe tell me that how to dynamically add a value
 in spinner in android.

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

2013-03-08 Thread chandur mani
You have to use your own camera, not device camera.

For this you have to use surfaceview class to build your own camera

Thanks
Mani


On Fri, Mar 8, 2013 at 5:48 PM, AndroidDev androidteste...@gmail.comwrote:



 On Saturday, January 31, 2009 5:18:39 AM UTC+5:30, srajpal wrote:

 Does someone know how I can overlay an image over the camera preview?

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

2013-03-08 Thread bob
Please see this:

http://stackoverflow.com/questions/571359/how-do-i-set-the-proper-initial-locale-for-a-c-program-on-windows

It says:

At program startup, the global locale is the C or *Classic* locale. To 
set the global locale to the program's environment locale (which I guess is 
what you're asking), you thus write:

std::locale::global(std::locale());






On Thursday, March 7, 2013 6:49:12 PM UTC-6, Shri wrote:

 std::locale().name() and std::locale().name() are both returning C on 
 a JellyBean phone, instead of the expected En_US. Is it possible to get 
 to the user's locale from C++ code?

 Thanks,
 Shri


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

2013-03-08 Thread bob
Here is an example of how to use the TimePickerDialog:

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
* TimePickerDialog dialog = new TimePickerDialog(this, null, 0, 0, false);*
* dialog.show();*
}

Thanks.





On Friday, March 8, 2013 12:12:17 AM UTC-6, ramesh babu wrote:

 hi.., 

 in TimepickerDialog 

 display.setText()  function is not working in my android app.is 
 there any other procedure to execute it... 


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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: Can any one please share the code to decryption the string with key(32 bytes)

2013-03-08 Thread bob
 

What algorithm was used to encrypt it?


There are many such as RSA, DES, and AES. 




On Thursday, March 7, 2013 7:56:15 AM UTC-6, Remo wrote:


 Hi All,

 Can any one please share the code to decryp the string with key(32 bytes).


 Thanks
 C.Remo




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

2013-03-08 Thread bob
 

I would try Reto Meier.  He's on that list, and he wrote a book that I have 
on Android.


He has a blog called Radioactive Yak too.



On Thursday, March 7, 2013 6:20:24 AM UTC-6, Piren wrote:

 http://code.google.com/team/

 On Thursday, March 7, 2013 1:38:22 PM UTC+2, Jacek Wywrot wrote:

 Who should my company contact with, to talk about possibility of creating 
 custom Android apps like GTalk or Play Store. We are about to build Android 
 powered multimedia system for big automotive corporation. The demand is to 
 provide videoconferencing (GTalk app fits perfectly) and independent apps 
 market (Play Store app + Google Play private channel seems to be great 
 solution for us). Is there anyone we could talk to discuss possibility of 
 cooperation? Please help, because this is quite confusing who we should 
 contact first.



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: My BroadcastReceiver receiver not getting called after phone boots, any ideas?

2013-03-08 Thread pawpaw17
Here is most of my manifest file. I changed things around so I'm trying to 
get .MyBootAlarmReceiver to get called both when boot completes and when 
the SD card is finished loading, but my onReceive() method doesn't seem to 
be getting called. Any ideas?

I suspect some simple goofup:

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=x.x.x
android:installLocation=auto
android:versionCode=1
android:versionName=1.0.0 

supports-screens
android:anyDensity=false
android:largeScreens=true
android:normalScreens=true
android:smallScreens=true /

uses-permission android:name=android.permission.WAKE_LOCK /
uses-permission android:name=android.permission.INTERNET /
uses-permission android:name=android.permission.BOOT_COMPLETED /
uses-permission 
android:name=android.permission.RECEVIE_BOOT_COMPLETED /
uses-permission 
android:name=android.permission.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE /

application
android:icon=@drawable/iconmain
android:label=@string/app_name 
uses-library android:name=com.google.android.maps /

activity
android:name=.Landing
android:label=@string/app_name
android:screenOrientation=portrait
android:theme=@android:style/Theme.NoTitleBar 
intent-filter
action android:name=android.intent.action.MAIN /

category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
activity
android:name=.Products
android:label=@string/prod_name 
intent-filter
action android:name=android.intent.action.ALTERNATIVE /

category 
android:name=android.intent.category.ALTERNATIVE /
/intent-filter
/activity
activity
android:name=.SpecialEvents
android:label=@string/specialevents 
intent-filter
action android:name=android.intent.action.ALTERNATIVE /

category 
android:name=android.intent.category.ALTERNATIVE /
/intent-filter
/activity
activity
android:name=.Calories
android:label=@string/cal_list 
intent-filter
action android:name=android.intent.action.ALTERNATIVE /

category 
android:name=android.intent.category.ALTERNATIVE /
/intent-filter
/activity
activity
android:name=.coupon
android:label=@string/coupon
android:theme=@android:style/Theme.NoTitleBar 
intent-filter
action android:name=android.intent.action.ALTERNATIVE /

category 
android:name=android.intent.category.ALTERNATIVE /
/intent-filter
/activity

receiver
android:name=.MyAlarmReceiver
android:label=Notifications 
intent-filter
action android:name=android.intent.action.ALTERNATIVE /

category 
android:name=android.intent.category.ALTERNATIVE /
/intent-filter
/receiver
receiver
android:name=.MyBootAlarmReceiver
android:enabled=true
android:exported=true
android:label=Notifications 
intent-filter
action android:name=android.intent.action.BOOT_COMPLETED 
/
action 
android:name=android.intent.action.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE 
/
/intent-filter
/receiver

activity
android:name=.BrowseByType
android:label=@string/BrowseByType 
intent-filter
action android:name=android.intent.action.ALTERNATIVE /

category 
android:name=android.intent.category.ALTERNATIVE /
/intent-filter
/activity

/application

uses-sdk
android:minSdkVersion=3
android:targetSdkVersion=14 
/uses-sdk

/manifest

my class

public class MyBootAlarmReceiver extends BroadcastReceiver {


@Override
public void onReceive(Context context, Intent intent) {

try{
Log.w(DEBUG, got the receiver);
 Intent launchIntent = new Intent(context, MyAlarmReceiver.class);
PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, 
launchIntent, 0);

AlarmManager alarmManager = (AlarmManager) 
context.getSystemService(context.ALARM_SERVICE);
long interval = 8640; // the interval is one day
long firstTime = 0;

// create a Calendar object to set the real time at which the alarm
// should go off
Calendar alarmTime = Calendar.getInstance();
Calendar now = Calendar.getInstance();


alarmTime.setTimeInMillis(now.getTimeInMillis() + 1);
firstTime = alarmTime.getTimeInMillis();


// Repeat every day at 5pm

[android-developers] Re: How to get device raw width and height or actual screen width and height ?

2013-03-08 Thread Filipe
So it is not possible to get the real size?
 
Or to get the size of the status bar?
 
In my case I want to make some preprocessing and get somethings prepared 
for future use in the application when the screen rotates.
So, if I am in landscape I get the Heigth.
I also need to know the width of my app when it rotates later to portrait. 
If I have the real height I can assume that 
Portrait.width=Landscape.height.
 
So is there no way to get the real height? Or get the status bar height?
 
Thanks
Filipe Madureira
 

Segunda-feira, 19 de Novembro de 2012 12:19:38 UTC, Piren escreveu:

 Ahh... i dont think you were getting any different results on 4.1 
 ...Android always reports the height without the bar as long as it is 
 visible.
 Besides, using those values will get your the proper values to work 
 with... why do those calculations while including an area of the screen 
 your cant use? 


 On Monday, November 19, 2012 1:29:14 PM UTC+2, Makrand wrote:

 I am trying to get the actual screen width and height of the Nexus 7 
 running on 4.2.

 I am doing some runtime calculations based on device width and height to 
 resize buttons and some UI elements, so it will look proper in all devices. 
 my code was working great in all SDKs 4.1 and below but not working on 4.2.
  
 I am using following code to get width and height. 

 Code: 1
 DisplayMetrics displaymetrics = new DisplayMetrics();
 getWindowManager().getDefaultDisplay().getMetrics(displaymetrics);
 mWidth = displaymetrics.widthPixels;
 mHeight = displaymetrics.heightPixels;

 Code: 2
 Point size = new Point();
 WindowManager w = getWindowManager();
 w.getDefaultDisplay().getSize(size); 
 mWidth = size.x;
 mHeight = size.y;

 I have also tried with undocumented methods 
 Code: 3
 Display display = getWindowManager().getDefaultDisplay();
 Method mGetRawW = Display.class.getMethod(getRawWidth);
 Method mGetRawH = Display.class.getMethod(getRawHeight);
 mWidth = (Integer) mGetRawW.invoke(display);
 mHeight = (Integer) mGetRawH.invoke(display);

 But none of above is working with Nexus 7 running on 4.2, its always 
 subtracting status bar height, I am not getting full height. 

 I have used some methods to calculate status bat height but not getting 
 proper values, 

 int statusBarHeight = Math.ceil(25 * 
 context.getResources().getDisplayMetrics().density);

 AND

 Rect rectgle= new Rect();
 Window window= getWindow();
 window.getDecorView().getWindowVisibleDisplayFrame(rectgle);
 int StatusBarHeight= rectgle.top;

 is there any standard way to get actual device screen height and width?



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

2013-03-08 Thread askl
Hi friends,
already i've access HTTP. But i can't access HTTPS protocol base server. 
How can i access php files on HTTPS protocol server using JSON.

*here is the error message*
03-08 21:34:56.804: W/System.err(366): javax.net.ssl.SSLException: Not 
trusted server certificate
03-08 21:34:56.814: W/System.err(366): at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:371)
03-08 21:34:56.814: W/System.err(366): at 
org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:92)
03-08 21:34:56.814: W/System.err(366): at 
org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381)
03-08 21:34:56.814: W/System.err(366): at 
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:164)
03-08 21:34:56.824: W/System.err(366): at 
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
03-08 21:34:56.824: W/System.err(366): at 
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
03-08 21:34:56.824: W/System.err(366): at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:348)
03-08 21:34:56.834: W/System.err(366): at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
03-08 21:34:56.834: W/System.err(366): at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
03-08 21:34:56.843: W/System.err(366): at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)

03-08 21:34:56.854: W/System.err(366): at 
android.os.AsyncTask$2.call(AsyncTask.java:185)
03-08 21:34:56.884: W/System.err(366): at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
03-08 21:34:56.884: W/System.err(366): at 
java.util.concurrent.FutureTask.run(FutureTask.java:137)
03-08 21:34:56.904: W/System.err(366): at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
03-08 21:34:56.904: W/System.err(366): at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
03-08 21:34:56.924: W/System.err(366): at 
java.lang.Thread.run(Thread.java:1096)
03-08 21:34:56.934: W/System.err(366): Caused by: 
java.security.cert.CertificateException: 
java.security.cert.CertPathValidatorException: TrustAnchor for CertPath not 
found.
03-08 21:34:56.944: W/System.err(366): at 
org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java:168)
03-08 21:34:56.944: W/System.err(366): at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:366)
03-08 21:34:56.955: W/System.err(366): ... 18 more
03-08 21:34:56.955: W/System.err(366): Caused by: 
java.security.cert.CertPathValidatorException: TrustAnchor for CertPath not 
found.
03-08 21:34:56.984: W/System.err(366): at 
org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java:149)
03-08 21:34:56.994: W/System.err(366): at 
java.security.cert.CertPathValidator.validate(CertPathValidator.java:202)
03-08 21:34:56.994: W/System.err(366): at 
org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java:164)
03-08 21:34:57.004: W/System.err(366): ... 19 more
03-08 21:34:57.004: E/Buffer Error(366): Error converting result 
java.lang.NullPointerException
03-08 21:34:57.015: E/JSON Parser(366): Error parsing data 
org.json.JSONException: End of input at character 0 of 

thank u

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

2013-03-08 Thread Bryan Ashby
I work for a Parental Controls company and have a product that has been 
working beautifully on Android up to version 4.2. Until now, we have mostly 
pushed off fully supporting 4.2 with user switching as the demand has not 
been high enough. That time has past and it's finally in our radar.

Our product's sole purpose is to *product any user on the device*. 
Traditionally we have bound one of our users (we maintain our own  sync 
across devices including other OS's). With Android 4.2 comes user switching 
and individual data directories per user. 

*How is a product such as ours to share data across 1:n users?* As-is, 
users would have to essentially re-install our product for every user. All 
central context is lost (which again, is vital to our product; Each user 
must belong to the family)

Some things I have looked at:

   - MODE_WORLD_READABLE / MODE_WORLD_WRITABLE are now removed, so we can't 
   set them in /data/data/package.name/
   - FileUtils.setPermissions() seems to ignore 'everyone' bits
   - File.setWritable() doesn't actually exist in Android

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

2013-03-08 Thread Vinothkumar Apparao
sorry for posting here, thought use full app.

Its looking very cool..
https://play.google.com/store/apps/details?id=com.appz.rootfsinfo

On Fri, Mar 8, 2013 at 10:17 PM, Bryan Ashby nuskoo...@gmail.com wrote:

 I work for a Parental Controls company and have a product that has been
 working beautifully on Android up to version 4.2. Until now, we have mostly
 pushed off fully supporting 4.2 with user switching as the demand has not
 been high enough. That time has past and it's finally in our radar.

 Our product's sole purpose is to *product any user on the device*.
 Traditionally we have bound one of our users (we maintain our own  sync
 across devices including other OS's). With Android 4.2 comes user switching
 and individual data directories per user.

 *How is a product such as ours to share data across 1:n users?* As-is,
 users would have to essentially re-install our product for every user. All
 central context is lost (which again, is vital to our product; Each user
 must belong to the family)

 Some things I havHe looked at:

- MODE_WORLD_READABLE / MODE_WORLD_WRITABLE are now removed, so we
can't set them in /data/data/package.name/
- FileUtils.setPermissions() seems to ignore 'everyone' bits
- File.setWritable() doesn't actually exist in Android

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

Vinoth Kumar A



- - - - - - - - - -
Confidentiality Warning: This message and any attachments are intended
only for the use of the intended recipient(s), are confidential and may be
privileged. If you are not the intended recipient. you are hereby notified
that any review, re-transmission, conversion to hard copy, copying,
circulation or other use of this message and any attachments is strictly
prohibited. If you are not the intended recipient. please notify the sender
immediately by return email, and delete this message and any attachments
from your system.

Virus Warning: Although the company has taken reasonable precautions to
ensure no viruses are present in this email, the company cannot accept
responsibility for any loss or damage arising from the use of this email or
attachment.

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: My BroadcastReceiver receiver not getting called after phone boots, any ideas?

2013-03-08 Thread Mark Murphy
You do not hold the RECEIVE_BOOT_COMPLETED permission. Instead, you
are trying to hold the RECEVIE_BOOT_COMPLETED permission, which does
not exist.

On Fri, Mar 8, 2013 at 11:12 AM, pawpaw17 georgefraz...@yahoo.com wrote:
 Here is most of my manifest file. I changed things around so I'm trying to
 get .MyBootAlarmReceiver to get called both when boot completes and when the
 SD card is finished loading, but my onReceive() method doesn't seem to be
 getting called. Any ideas?

 I suspect some simple goofup:

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
 package=x.x.x
 android:installLocation=auto
 android:versionCode=1
 android:versionName=1.0.0 

 supports-screens
 android:anyDensity=false
 android:largeScreens=true
 android:normalScreens=true
 android:smallScreens=true /

 uses-permission android:name=android.permission.WAKE_LOCK /
 uses-permission android:name=android.permission.INTERNET /
 uses-permission android:name=android.permission.BOOT_COMPLETED /
 uses-permission
 android:name=android.permission.RECEVIE_BOOT_COMPLETED /
 uses-permission
 android:name=android.permission.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE /

 application
 android:icon=@drawable/iconmain
 android:label=@string/app_name 
 uses-library android:name=com.google.android.maps /

 activity
 android:name=.Landing
 android:label=@string/app_name
 android:screenOrientation=portrait
 android:theme=@android:style/Theme.NoTitleBar 
 intent-filter
 action android:name=android.intent.action.MAIN /

 category android:name=android.intent.category.LAUNCHER /
 /intent-filter
 /activity
 activity
 android:name=.Products
 android:label=@string/prod_name 
 intent-filter
 action android:name=android.intent.action.ALTERNATIVE /

 category android:name=android.intent.category.ALTERNATIVE
 /
 /intent-filter
 /activity
 activity
 android:name=.SpecialEvents
 android:label=@string/specialevents 
 intent-filter
 action android:name=android.intent.action.ALTERNATIVE /

 category android:name=android.intent.category.ALTERNATIVE
 /
 /intent-filter
 /activity
 activity
 android:name=.Calories
 android:label=@string/cal_list 
 intent-filter
 action android:name=android.intent.action.ALTERNATIVE /

 category android:name=android.intent.category.ALTERNATIVE
 /
 /intent-filter
 /activity
 activity
 android:name=.coupon
 android:label=@string/coupon
 android:theme=@android:style/Theme.NoTitleBar 
 intent-filter
 action android:name=android.intent.action.ALTERNATIVE /

 category android:name=android.intent.category.ALTERNATIVE
 /
 /intent-filter
 /activity

 receiver
 android:name=.MyAlarmReceiver
 android:label=Notifications 
 intent-filter
 action android:name=android.intent.action.ALTERNATIVE /

 category android:name=android.intent.category.ALTERNATIVE
 /
 /intent-filter
 /receiver
 receiver
 android:name=.MyBootAlarmReceiver
 android:enabled=true
 android:exported=true
 android:label=Notifications 
 intent-filter
 action android:name=android.intent.action.BOOT_COMPLETED
 /
 action
 android:name=android.intent.action.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE
 /
 /intent-filter
 /receiver

 activity
 android:name=.BrowseByType
 android:label=@string/BrowseByType 
 intent-filter
 action android:name=android.intent.action.ALTERNATIVE /

 category android:name=android.intent.category.ALTERNATIVE
 /
 /intent-filter
 /activity

 /application

 uses-sdk
 android:minSdkVersion=3
 android:targetSdkVersion=14 
 /uses-sdk

 /manifest

 my class

 public class MyBootAlarmReceiver extends BroadcastReceiver {


 @Override
 public void onReceive(Context context, Intent intent) {

 try{
 Log.w(DEBUG, got the receiver);
Intent launchIntent = new Intent(context, MyAlarmReceiver.class);
PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0,
 launchIntent, 0);

AlarmManager alarmManager = (AlarmManager)
 context.getSystemService(context.ALARM_SERVICE);
long interval = 8640; // the interval is one day
long firstTime = 0;

// create a Calendar object to 

Re: [android-developers] drawBitmapMesh

2013-03-08 Thread A N K ! T
Have you able to do this?


On Sun, Feb 20, 2011 at 11:41 AM, loril...@gmail.com loril...@gmail.comwrote:

 Hi,

 I want to apply a bulge effect on my image using a circular brush. I
 found a useful method drawBitmapMesh using which I can define a mesh
 and apply the warp effect.

 But I'm not sure how to define a bulge effect. Can anyone please help?

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




-- 
Thanks  Regards,
Ankit Awasthi

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

2013-03-08 Thread Shri Borde
I did ask on android-ndk and was told that the NDK does not support
locales. Will do locale processing in Java code.


On Fri, Mar 8, 2013 at 7:15 AM, bob b...@coolfone.comze.com wrote:

 Please see this:


 http://stackoverflow.com/questions/571359/how-do-i-set-the-proper-initial-locale-for-a-c-program-on-windows

 It says:

 At program startup, the global locale is the C or *Classic* locale.
 To set the global locale to the program's environment locale (which I guess
 is what you're asking), you thus write:

 std::locale::global(std::locale());






 On Thursday, March 7, 2013 6:49:12 PM UTC-6, Shri wrote:

 std::locale().name() and std::locale().name() are both returning C on
 a JellyBean phone, instead of the expected En_US. Is it possible to get
 to the user's locale from C++ code?

 Thanks,
 Shri

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




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

2013-03-08 Thread Walt Armour
Not quite the same but good enough for my stuff: 
 
http://stackoverflow.com/questions/8380020/android-how-do-i-set-the-textsize-for-a-layout/8380153

On Thursday, February 18, 2010 10:24:49 PM UTC-8, Walt Armour wrote:

 I have a simple style like this:

 style parent=android:Theme.Light.NoTitleBar name=MyTheme
 item name=android:colorBackground#FF/item
 item name=android:textAppearance@style/PrimaryText/
 item
 /style

 And a simple style like this:

 style parent=@android:style/TextAppearance name=PrimaryText
 item name=android:textColor#FF/item
 item name=android:textSize14sp/item
 /style

 Now, I would expect (from reading everything that is documented) that
 if I set the theme for my application like so:

 application android:icon=@drawable/app_icon
 android:name=.MyApp
 android:theme=@style/MyTheme 

 then anything in my app that has a textAppearance attribute (like a
 TextView) would inherit the attributes from MyTheme (and thus the
 attributes from PrimaryText).

 But they don't.  I tried setting the theme on the specific activity
 (in the manifest) and that did not work.  I set the style attribute on
 the containing layout like this:

 LinearLayout
   android:id=@+id/myLayout
   android:orientation=vertical
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   android:layout_margin=5sp
   style=@style/MyTheme
   android:background=@drawable/round_border

 and that did nothing (which I believe is expected since this cascading
 inheritance should only work when applied as a 'theme').

 Am I missing something obvious here?  Right now I have to set the
 textAppearance (or style) attribute on every single TextView to get
 the style.  The pain is great.  Does anyone have a suggestion on a way
 to get this to work?

 While working this I also hit another oddity that may or may not be
 related.  If I take the specific attributes (like textColor and
 textSize) and put them in MyTheme then they do correctly cascade and
 apply to all my text.  The problem is that they then cannot be
 overridden by a style.  If I set textAppearance on a TextView it
 appears to be ignored.  However, if I explicitly set textColor or
 textSize then it will be honored and override the theme setting for
 that TextView.

 In general it feels like there is some missing wiring or a bit of
 inconsistency in the application of themes and styling attributes.



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

2013-03-08 Thread bob
Is this what you want?

http://www.java2s.com/Code/Android/2D-Graphics/BitmapMesh.htm

Also, you can always use FishEye GLSL code.

It's in the HelloEffects sample:

https://lh5.googleusercontent.com/-YSthTakwygc/UTo67Gjq1KI/AUA/O8sFQPpKZpg/s1600/fisheye.png


On Friday, March 8, 2013 12:29:10 PM UTC-6, A N K ! T wrote:

 Have you able to do this?


 On Sun, Feb 20, 2011 at 11:41 AM, lori...@gmail.com javascript: 
 lori...@gmail.com javascript: wrote:

 Hi,

 I want to apply a bulge effect on my image using a circular brush. I
 found a useful method drawBitmapMesh using which I can define a mesh
 and apply the warp effect.

 But I'm not sure how to define a bulge effect. Can anyone please help?

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




 -- 
 Thanks  Regards,
 Ankit Awasthi 
  

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

2013-03-08 Thread Jonathan S
Something like 
http://stackoverflow.com/questions/2012497/accepting-a-certificate-for-https-on-android

On Friday, March 8, 2013 11:46:27 AM UTC-5, askl wrote:

 Hi friends,
 already i've access HTTP. But i can't access HTTPS protocol base server. 
 How can i access php files on HTTPS protocol server using JSON.

 *here is the error message*
 03-08 21:34:56.804: W/System.err(366): javax.net.ssl.SSLException: Not 
 trusted server certificate
 03-08 21:34:56.814: W/System.err(366): at 
 org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:371)
 03-08 21:34:56.814: W/System.err(366): at 
 org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:92)
 03-08 21:34:56.814: W/System.err(366): at 
 org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381)
 03-08 21:34:56.814: W/System.err(366): at 
 org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:164)
 03-08 21:34:56.824: W/System.err(366): at 
 org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
 03-08 21:34:56.824: W/System.err(366): at 
 org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
 03-08 21:34:56.824: W/System.err(366): at 
 org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:348)
 03-08 21:34:56.834: W/System.err(366): at 
 org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
 03-08 21:34:56.834: W/System.err(366): at 
 org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
 03-08 21:34:56.843: W/System.err(366): at 
 org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)

 03-08 21:34:56.854: W/System.err(366): at 
 android.os.AsyncTask$2.call(AsyncTask.java:185)
 03-08 21:34:56.884: W/System.err(366): at 
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
 03-08 21:34:56.884: W/System.err(366): at 
 java.util.concurrent.FutureTask.run(FutureTask.java:137)
 03-08 21:34:56.904: W/System.err(366): at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
 03-08 21:34:56.904: W/System.err(366): at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
 03-08 21:34:56.924: W/System.err(366): at 
 java.lang.Thread.run(Thread.java:1096)
 03-08 21:34:56.934: W/System.err(366): Caused by: 
 java.security.cert.CertificateException: 
 java.security.cert.CertPathValidatorException: TrustAnchor for CertPath not 
 found.
 03-08 21:34:56.944: W/System.err(366): at 
 org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java:168)
 03-08 21:34:56.944: W/System.err(366): at 
 org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:366)
 03-08 21:34:56.955: W/System.err(366): ... 18 more
 03-08 21:34:56.955: W/System.err(366): Caused by: 
 java.security.cert.CertPathValidatorException: TrustAnchor for CertPath not 
 found.
 03-08 21:34:56.984: W/System.err(366): at 
 org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java:149)
 03-08 21:34:56.994: W/System.err(366): at 
 java.security.cert.CertPathValidator.validate(CertPathValidator.java:202)
 03-08 21:34:56.994: W/System.err(366): at 
 org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java:164)
 03-08 21:34:57.004: W/System.err(366): ... 19 more
 03-08 21:34:57.004: E/Buffer Error(366): Error converting result 
 java.lang.NullPointerException
 03-08 21:34:57.015: E/JSON Parser(366): Error parsing data 
 org.json.JSONException: End of input at character 0 of 

 thank u



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: My BroadcastReceiver receiver not getting called after phone boots, any ideas?

2013-03-08 Thread bob
Also, shouldn't the broadcast receiver be for *ACTION_BOOT_COMPLETED* and 
not BOOT_COMPLETED?



On Friday, March 8, 2013 10:58:10 AM UTC-6, Mark Murphy (a Commons Guy) 
wrote:

 You do not hold the RECEIVE_BOOT_COMPLETED permission. Instead, you 
 are trying to hold the RECEVIE_BOOT_COMPLETED permission, which does 
 not exist. 

 On Fri, Mar 8, 2013 at 11:12 AM, pawpaw17 george...@yahoo.comjavascript: 
 wrote: 
  Here is most of my manifest file. I changed things around so I'm trying 
 to 
  get .MyBootAlarmReceiver to get called both when boot completes and when 
 the 
  SD card is finished loading, but my onReceive() method doesn't seem to 
 be 
  getting called. Any ideas? 
  
  I suspect some simple goofup: 
  
  ?xml version=1.0 encoding=utf-8? 
  manifest xmlns:android=http://schemas.android.com/apk/res/android; 
  package=x.x.x 
  android:installLocation=auto 
  android:versionCode=1 
  android:versionName=1.0.0  
  
  supports-screens 
  android:anyDensity=false 
  android:largeScreens=true 
  android:normalScreens=true 
  android:smallScreens=true / 
  
  uses-permission android:name=android.permission.WAKE_LOCK / 
  uses-permission android:name=android.permission.INTERNET / 
  uses-permission android:name=android.permission.BOOT_COMPLETED / 
  uses-permission 
  android:name=android.permission.RECEVIE_BOOT_COMPLETED / 
  uses-permission 
  android:name=android.permission.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE 
 / 
  
  application 
  android:icon=@drawable/iconmain 
  android:label=@string/app_name  
  uses-library android:name=com.google.android.maps / 
  
  activity 
  android:name=.Landing 
  android:label=@string/app_name 
  android:screenOrientation=portrait 
  android:theme=@android:style/Theme.NoTitleBar  
  intent-filter 
  action android:name=android.intent.action.MAIN / 
  
  category 
 android:name=android.intent.category.LAUNCHER / 
  /intent-filter 
  /activity 
  activity 
  android:name=.Products 
  android:label=@string/prod_name  
  intent-filter 
  action android:name=android.intent.action.ALTERNATIVE 
 / 
  
  category 
 android:name=android.intent.category.ALTERNATIVE 
  / 
  /intent-filter 
  /activity 
  activity 
  android:name=.SpecialEvents 
  android:label=@string/specialevents  
  intent-filter 
  action android:name=android.intent.action.ALTERNATIVE 
 / 
  
  category 
 android:name=android.intent.category.ALTERNATIVE 
  / 
  /intent-filter 
  /activity 
  activity 
  android:name=.Calories 
  android:label=@string/cal_list  
  intent-filter 
  action android:name=android.intent.action.ALTERNATIVE 
 / 
  
  category 
 android:name=android.intent.category.ALTERNATIVE 
  / 
  /intent-filter 
  /activity 
  activity 
  android:name=.coupon 
  android:label=@string/coupon 
  android:theme=@android:style/Theme.NoTitleBar  
  intent-filter 
  action android:name=android.intent.action.ALTERNATIVE 
 / 
  
  category 
 android:name=android.intent.category.ALTERNATIVE 
  / 
  /intent-filter 
  /activity 
  
  receiver 
  android:name=.MyAlarmReceiver 
  android:label=Notifications  
  intent-filter 
  action android:name=android.intent.action.ALTERNATIVE 
 / 
  
  category 
 android:name=android.intent.category.ALTERNATIVE 
  / 
  /intent-filter 
  /receiver 
  receiver 
  android:name=.MyBootAlarmReceiver 
  android:enabled=true 
  android:exported=true 
  android:label=Notifications  
  intent-filter 
  action 
 android:name=android.intent.action.BOOT_COMPLETED 
  / 
  action 
  
 android:name=android.intent.action.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE 
  / 
  /intent-filter 
  /receiver 
  
  activity 
  android:name=.BrowseByType 
  android:label=@string/BrowseByType  
  intent-filter 
  action android:name=android.intent.action.ALTERNATIVE 
 / 
  
  category 
 android:name=android.intent.category.ALTERNATIVE 
  / 
  /intent-filter 
  /activity 
  
  /application 
  
  uses-sdk 
  android:minSdkVersion=3 
  android:targetSdkVersion=14  
  /uses-sdk 
  
  /manifest 
  
  my class 
  
  public class MyBootAlarmReceiver extends 

Re: [android-developers] Re: My BroadcastReceiver receiver not getting called after phone boots, any ideas?

2013-03-08 Thread Mark Murphy
On Fri, Mar 8, 2013 at 3:11 PM, bob b...@coolfone.comze.com wrote:
 Also, shouldn't the broadcast receiver be for ACTION_BOOT_COMPLETED and not
 BOOT_COMPLETED?

No. In Java, we refer to it as Intent.ACTION_BOOT_COMPLETED. The
string value associated with that public static final data member is
android.intent.action.BOOT_COMPLETED.

That's not to say that the manifest has no other issues. For example,
the ALTERNATIVE stuff is downright bizarre.

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

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

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

 On Wed, Mar 6, 2013 at 10:29 PM, yves...@gmail.com yves...@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-developers@googlegroups.com
 To unsubscribe from this group, 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] Enumerate sd cards

2013-03-08 Thread Mark Murphy
On Fri, Mar 8, 2013 at 4:21 PM, Yves Liu yves...@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.

There is nothing in the Android SDK for this, at least at the present time.

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

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

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

2013-03-08 Thread niko20
Every since Google did a large switchover to currency, when you download a 
Google Checkout spreadsheet it shows the prices in all different 
currencies. This is  pain in the ass for my recordkeeping and statistics.

Anyone know how you can get it to show all currency values only in U.S. 
dollars?

-niko

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 get device raw width and height or actual screen width and height ?

2013-03-08 Thread Streets Of Boston
For any API-level less than 17, use the snippets of code you are using 
successfully now.

For API-level 17 and higher (your Nexus 7 running 4.2), use this:
https://developer.android.com/reference/android/view/Display.html#getRealSize(android.graphics.Point)


On Monday, November 19, 2012 6:29:14 AM UTC-5, Makrand wrote:

 I am trying to get the actual screen width and height of the Nexus 7 
 running on 4.2.

 I am doing some runtime calculations based on device width and height to 
 resize buttons and some UI elements, so it will look proper in all devices. 
 my code was working great in all SDKs 4.1 and below but not working on 4.2.
  
 I am using following code to get width and height. 

 Code: 1
 DisplayMetrics displaymetrics = new DisplayMetrics();
 getWindowManager().getDefaultDisplay().getMetrics(displaymetrics);
 mWidth = displaymetrics.widthPixels;
 mHeight = displaymetrics.heightPixels;

 Code: 2
 Point size = new Point();
 WindowManager w = getWindowManager();
 w.getDefaultDisplay().getSize(size); 
 mWidth = size.x;
 mHeight = size.y;

 I have also tried with undocumented methods 
 Code: 3
 Display display = getWindowManager().getDefaultDisplay();
 Method mGetRawW = Display.class.getMethod(getRawWidth);
 Method mGetRawH = Display.class.getMethod(getRawHeight);
 mWidth = (Integer) mGetRawW.invoke(display);
 mHeight = (Integer) mGetRawH.invoke(display);

 But none of above is working with Nexus 7 running on 4.2, its always 
 subtracting status bar height, I am not getting full height. 

 I have used some methods to calculate status bat height but not getting 
 proper values, 

 int statusBarHeight = Math.ceil(25 * 
 context.getResources().getDisplayMetrics().density);

 AND

 Rect rectgle= new Rect();
 Window window= getWindow();
 window.getDecorView().getWindowVisibleDisplayFrame(rectgle);
 int StatusBarHeight= rectgle.top;

 is there any standard way to get actual device screen height and width?


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

2013-03-08 Thread Walt Armour
I was a hair too hasty in the previous reply.  Hours later and I found the 
real answer:

Using textViewStyle will set the properties but will also prevent local 
override of those values (by setting textAppearance directly on a 
TextView).  The real solution: do not set android:textAppearance on your 
theme, set android:textAppearanceSmall!  The internals use that latter 
attribute to setup the styles for default child textviews.  This also then 
allows for local override of the style using android:textAppearance.

So for the original example to be correct, make it look like this:

style parent=android:Theme.Light.NoTitleBar name=MyTheme
item name=android:colorBackground#FF/item
item 
name=android:textAppearanceSmall@style/PrimaryText/item
/style

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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-08 Thread RichardC
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 javascript: 
 wrote: 
  
  On Wed, Mar 6, 2013 at 10:29 PM, yve...@gmail.com javascript: 
 yve...@gmail.com javascript: 
  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.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.com javascript:. 
  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: Google Checkout spreadsheets and currency - how to convert all to U.S.?

2013-03-08 Thread al
The payout reports have 2 columns called Merchant Currency and Merchant 
Receives.

The sales reports seem to be preliminary. It should be sufficient to use a 
simple script to convert the Charged Amount column. Personally, I use 
this currency converter class for as part of my own script: 
http://www.thomasknierim.com/63/java/java-currency-conversion-class/. The 
result of course does not correspond 100% to the data that you will 
eventually find in a payout report; it's preliminary...


Am Freitag, 8. März 2013 23:21:05 UTC+1 schrieb niko20:

 Every since Google did a large switchover to currency, when you download a 
 Google Checkout spreadsheet it shows the prices in all different 
 currencies. This is  pain in the ass for my recordkeeping and statistics.

 Anyone know how you can get it to show all currency values only in U.S. 
 dollars?

 -niko


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