[android-developers] Accelerated HTML Rendering issue (relative vs absolute position)
Hi, Using a Webview to render content, I noticed that Hardware Acceleration (ICS) triggers rendering issues when HTML elements are using absolute positions, relative positions are fine. Is it normal or know Webkit behaviour ? I would have thought WebKit's HTML parser would parse, and calculate positions, and layers independent of any hardware acceleration. Then by the time any HW acceleration code is involved, that code would be dealing with absolute coordinates, layers, sizes, etc. Perhaps not. Thanks for hints that would help understanding this behaviour. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.
I just tried. The connection is still refused. I don't think the result was affected by the timeout, since the timeout error was reported in the Logcat after the connection was reported to be refused 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.
Re: [android-developers] Re: Get sorted list android applications on basis of rarely used
On Thursday, February 7, 2013 12:12:34 PM UTC-5, Kristopher Micinski wrote: Of course, the caveat here is that you're also going to waste a good amount of battery. kris On Thu, Feb 7, 2013 at 10:30 AM, Nobu Games dev.nob...@gmail.comjavascript: wrote: This is pretty similar to the battery optimization app problem. Dan suggests the proper API methods for querying what's running right now. In order to track what's least used on the phone you need to keep track of what is used most. And keeping track means that you need to poll that data in regular intervals (once an hour or something like that). You should use AlarmManager for that so your app can go to sleep in between these checks. I'd actually suggest listeners for Intent.ACTION_SCREEN_OFF and Intent.ACTION_SCREEN_ON so you don't wake the device from deep sleep and only register the alarm when the screen is on. The biggest battery cost is going from the radio processor only on mode to application processor + screen running (that's why you have a so/so number for talk time and a big number for standby) and if you can avoid pulling the device from standby (and letting other things grab cycles as well) that's a much bigger optimization than grabbing fewer cycles when the device is already awake and will have a similar use pattern to reading the logcat (which would have happened only while the application processor was awake) vs. an every hour alarm that might wake the device 6 to 10 times a night to record that the user isn't doing anything. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] In-app Billing v3 - user is not eligible for this purchase
Hi all, I have implemented the new billing API suggested by Google and used the trivialdrive demo as a template. But I'm not able to purchase my in-app item. As soon as I'm redirected to the Play store I get the following error message user is not eligible for this purchase Implementation details: TRIVIAL DRIVE - SAMPLE FOR IN-APP BILLING VERSION 3 (Basically I'm only using the premium part of the sample.) I have followed all steps in the readme provided in the sample code. (E.g. application specific key etc. etc.) I added my personal google account as a Test account on my publisher account. I have also tested it a day after adding uploading the .apk file to the developer console Same problem is seen on two devices using separate accounts, both added as Test accounts. Please help sort this out. I really wonder why in-app billing must be sooo diificult to test, it's really frustrating working with this.. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Android AppEngine SSL Weirdness
Hey guys, I was wondering if anyone had been experiencing intermittent exceptions when securely connecting to an AppEngine servlet through the DefaultHttpClient? I've occasionally been getting execptions about certificates, closed connections, host unknown, etc... but only sometimes. I am using the -dot- notation, so I don't think that this error is related to my endpoint URL specifically. A sample of the exceptions are: org.apache.http.conn.HttpHostConnectException: Connection to https://engine004-dot-myapplication.appspot.com refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) ... Caused by: java.net.SocketException: failed to connect to /173.194.77.141 (port 443) after 15000ms: isConnected failed: EHOSTUNREACH (No route to host) at libcore.io.IoBridge.isConnected(IoBridge.java:230) at libcore.io.IoBridge.connectErrno(IoBridge.java:161) at libcore.io.IoBridge.connect(IoBridge.java:112) ... and javax.net.ssl.SSLPeerUnverifiedException: No peer certificate at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:137) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93) at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381) ... I initially just assumed that there was an issue with the phone connectivity, but now with this peer certificate issue I'm not so sure anymore. Does anyone have any ideas or suggestsions? Thanks! E -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Open custom Camera from browser
Hello Developers, i am building a mobile webpage in which when the user clicks on a button it opens the camera in the browser. i tried using HTML5 as form action=server.cgi method=post enctype=multipart/form-data input type=file name=video accept=video/* capture input type=submit value=Upload/form but it opens the native camera.But i need a custom camera where i can make some changes accordingly.i have created a custom camera in java. How do i link them , ie the button in the browser to the custom camera of 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] Re: In-app Billing v3 - user is not eligible for this purchase
And then it suddenly started working... a day after uploading the .apk. It should be noted that I tried a workaround suggested on the Internet. I uploaded a new .apk using old developer console design. But after a couple of hours I did not notice any difference, but now (~4 hours later it works) So maybe this is a problem related to the new developer console... which Google definitely need to fix in that case! Den fredagen den 8:e februari 2013 kl. 14:28:10 UTC+1 skrev rudas: Hi all, I have implemented the new billing API suggested by Google and used the trivialdrive demo as a template. But I'm not able to purchase my in-app item. As soon as I'm redirected to the Play store I get the following error message user is not eligible for this purchase Implementation details: TRIVIAL DRIVE - SAMPLE FOR IN-APP BILLING VERSION 3 (Basically I'm only using the premium part of the sample.) I have followed all steps in the readme provided in the sample code. (E.g. application specific key etc. etc.) I added my personal google account as a Test account on my publisher account. I have also tested it a day after adding uploading the .apk file to the developer console Same problem is seen on two devices using separate accounts, both added as Test accounts. Please help sort this out. I really wonder why in-app billing must be sooo diificult to test, it's really frustrating working with this.. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Android Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.
Why not try the Bluetooth Chat Sample and see if that works? On Friday, February 8, 2013 4:22:06 AM UTC-6, tom_mai78101 wrote: I just tried. The connection is still refused. I don't think the result was affected by the timeout, since the timeout error was reported in the Logcat after the connection was reported to be refused 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: How change ViewPager animation's duration when setCurrentItem is called?
this is what i did, and use MyViewPager in your xml ISO ViewPager public class MyViewPager extends ViewPager { Method scroller; public MyViewPager(Context context) { super(context); } public MyViewPager(Context context, AttributeSet attr) { super(context,attr); } void smoothScrollTo(int x, int y, int velocity) { super.smoothScrollTo(x, y, 1); } } It worked great, if you want you can calculate and provide actual velocity ISO of just 1. On Thursday, February 16, 2012 2:09:03 AM UTC+1, Bruno Bruggemann wrote: Hi, I've a handler that before some seconds changes my views in the ViewPager. It works perfectly, the only thing that I want to do is change the speed of the slide animation when the setCurrentItem is called with the parameter smoothScroll true. It's too fast and in some devices it looks a little jerky. Any suggestion? Thanks! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: know with the browser if a specific application is installed in device
Hi All Is possible know with the browser if a specific application is installed in device and if was installed make some action in the page ? Regards David -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Get sorted list android applications on basis of rarely used
This will work except for logging processes running when the screen is off, of course (e.g., all those that read notifications), it depends how you define rarely used. kris On Fri, Feb 8, 2013 at 8:18 AM, Dan dan.schm...@gmail.com wrote: On Thursday, February 7, 2013 12:12:34 PM UTC-5, Kristopher Micinski wrote: Of course, the caveat here is that you're also going to waste a good amount of battery. kris On Thu, Feb 7, 2013 at 10:30 AM, Nobu Games dev.nob...@gmail.com wrote: This is pretty similar to the battery optimization app problem. Dan suggests the proper API methods for querying what's running right now. In order to track what's least used on the phone you need to keep track of what is used most. And keeping track means that you need to poll that data in regular intervals (once an hour or something like that). You should use AlarmManager for that so your app can go to sleep in between these checks. I'd actually suggest listeners for Intent.ACTION_SCREEN_OFF and Intent.ACTION_SCREEN_ON so you don't wake the device from deep sleep and only register the alarm when the screen is on. The biggest battery cost is going from the radio processor only on mode to application processor + screen running (that's why you have a so/so number for talk time and a big number for standby) and if you can avoid pulling the device from standby (and letting other things grab cycles as well) that's a much bigger optimization than grabbing fewer cycles when the device is already awake and will have a similar use pattern to reading the logcat (which would have happened only while the application processor was awake) vs. an every hour alarm that might wake the device 6 to 10 times a night to record that the user isn't doing anything. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Paid apps with trial and payments
Actually we had this question a few times here and the usual answer is no you cannot do it because of the Google Play Developer Distribution Agreementhttps://play.google.com/about/developer-distribution-agreement.html . First of all you are limited to the use of so-called payment processors that are authorized by Google: *1.2 If you want to charge a fee for your Products, you must also acquire and maintain a valid Payment Account from an authorized Payment Processor. * Then there's a special section about free apps on Google Play which explicitly forbid what you are trying to do: *3.3 (...) If the Product is free, you will not be charged a Transaction Fee. You may not collect future charges from users for copies of the Products that those users were initially allowed to download for free.* Since your primary source of your paid app is outside the Google Play Market there's another clause that protects Google: *4.5 Non-Compete. You may not use the Market to distribute or make available any Product whose primary purpose is to facilitate the distribution of software applications and games for use on Android devices outside of the Market.* Right now it looks pretty clear to me. No need for a lawyer, Google Play doesn't want that kind of thing to happen. You need your own distribution channel that is under your control. And since your app sounds very specialized I think it's pretty much ok to ask for more money. You could therefore bite the bullet and release your paid app on Google Play with a price tag that makes you happy (even minus 30%). On Thursday, February 7, 2013 11:44:24 PM UTC-6, Harish wrote: Dear all, Need your opinion for listing my app to play store. I have a medical app which we are planning to sell using various distribution channel in bulk volume. We already have license checking mechanism with our site. and we will manage license with our support team. We give our app 1 week for trial and user have to activate after one week. My question is - If I list my app to google play store for broader audience then does there any way I can manage bulk licenses without paying 30% transaction fees. I mean I will have list of users with me who already paid for app and they can download app from app store freely. Or If I list my app free on market and after 7 days user will pay using our payment channel does it violates developer agreement ? My main objective of using play store is to manage updates efficiently. I see many example where people list free and premium apps on Google, I wants to list only free not the premium one. does it violates Google terms and condition. Looking for your advice Regards -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Android AppEngine SSL Weirdness
What device are you testing on? Do you get that error also on newer ones? On Friday, February 8, 2013 7:30:19 AM UTC-6, Evan Ruff wrote: Hey guys, I was wondering if anyone had been experiencing intermittent exceptions when securely connecting to an AppEngine servlet through the DefaultHttpClient? I've occasionally been getting execptions about certificates, closed connections, host unknown, etc... but only sometimes. I am using the -dot- notation, so I don't think that this error is related to my endpoint URL specifically. A sample of the exceptions are: org.apache.http.conn.HttpHostConnectException: Connection to https://engine004-dot-myapplication.appspot.com refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) ... Caused by: java.net.SocketException: failed to connect to /173.194.77.141(port 443) after 15000ms: isConnected failed: EHOSTUNREACH (No route to host) at libcore.io.IoBridge.isConnected(IoBridge.java:230) at libcore.io.IoBridge.connectErrno(IoBridge.java:161) at libcore.io.IoBridge.connect(IoBridge.java:112) ... and javax.net.ssl.SSLPeerUnverifiedException: No peer certificate at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:137) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93) at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381) ... I initially just assumed that there was an issue with the phone connectivity, but now with this peer certificate issue I'm not so sure anymore. Does anyone have any ideas or suggestsions? Thanks! E -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Unable to obtain Google Maps Android v1 API Key
Thanks for that Mark, it works great. Sorry to not have replied before, but I didn't have a working connection. On Thursday, 7 February 2013 17:23:07 UTC+1, Mark Murphy (a Commons Guy) wrote: Add -v to your list of command-line switches. On Thu, Feb 7, 2013 at 11:13 AM, Simon Giddings mr.s.g...@gmail.comjavascript: wrote: Yep, you are right, I am getting the SHA-1 hash. Looked at the command line options and cannot see how I can force MD5 output. Can you help here ? On Thursday, 7 February 2013 17:02:50 UTC+1, Mark Murphy (a Commons Guy) wrote: It just worked for me. Make sure that you are using MD5 -- if you have Java 7 installed, you might be getting the SHA-1 hash instead, for example. On Thu, Feb 7, 2013 at 10:28 AM, Simon Giddings mr.s.g...@gmail.com wrote: I have followed the instructions to create a private key and then obtain the MD5 signature. I paste this signature into the signup input field and click submit. I then get a page which says that the MD5 signature is incorrect ! Tried with and without the colons (:). Has the key generation been disabled, even though documentation states that it will be open until 3 Mars ? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.comjavascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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.5 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-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. -- 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.5 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] Re: Get sorted list android applications on basis of rarely used
What exactly are you trying to do? On Wednesday, February 6, 2013 12:00:10 AM UTC-6, Bajrang Asthana wrote: Hi , I want to get a list of android applications on basis of rarely used. I am not getting how can we access last run time of application. I thought it could be possible through reading of logcat file. But looking on log file of device, I found that the first entry of logcat is of 2 days back. Is anyone have any idea about how to get last run and flushing mechanism of logcat file. Thanks in advanced -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Android AppEngine SSL Weirdness
Hey hey! It happens intermittently on Nexus 7s and Motorola Droid 4 running 4.0.4.I thought it was the sorta funny Certificate layout of AppEngine, but apparently that was addresses in 4.0? Thanks, E On Fri, Feb 8, 2013 at 11:10 AM, Nobu Games dev.nobu.ga...@gmail.comwrote: What device are you testing on? Do you get that error also on newer ones? On Friday, February 8, 2013 7:30:19 AM UTC-6, Evan Ruff wrote: Hey guys, I was wondering if anyone had been experiencing intermittent exceptions when securely connecting to an AppEngine servlet through the DefaultHttpClient? I've occasionally been getting execptions about certificates, closed connections, host unknown, etc... but only sometimes. I am using the -dot- notation, so I don't think that this error is related to my endpoint URL specifically. A sample of the exceptions are: org.apache.http.conn.**HttpHostConnectException: Connection to https://engine004-dot-**myapplication.appspot.comhttps://engine004-dot-myapplication.appspot.comrefused at org.apache.http.impl.conn.**DefaultClientConnectionOperato** r.openConnection(**DefaultClientConnectionOperato**r.java:183) at org.apache.http.impl.conn.**AbstractPoolEntry.open(** AbstractPoolEntry.java:164) at org.apache.http.impl.conn.**AbstractPooledConnAdapter.**open(** AbstractPooledConnAdapter.**java:119) ... Caused by: java.net.SocketException: failed to connect to /173.194.77.141(port 443) after 15000ms: isConnected failed: EHOSTUNREACH (No route to host) at libcore.io.IoBridge.**isConnected(IoBridge.java:230) at libcore.io.IoBridge.**connectErrno(IoBridge.java:**161) at libcore.io.IoBridge.connect(**IoBridge.java:112) ... and javax.net.ssl.**SSLPeerUnverifiedException: No peer certificate at org.apache.harmony.xnet.**provider.jsse.SSLSessionImpl.** getPeerCertificates(**SSLSessionImpl.java:137) at org.apache.http.conn.ssl.**AbstractVerifier.verify(** AbstractVerifier.java:93) at org.apache.http.conn.ssl.**SSLSocketFactory.createSocket(** SSLSocketFactory.java:381) ... I initially just assumed that there was an issue with the phone connectivity, but now with this peer certificate issue I'm not so sure anymore. Does anyone have any ideas or suggestsions? Thanks! E -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: know with the browser if a specific application is installed in device
No it's not possible without creating your own browser app that provides this feature. And it's not possible for a good reason. Just imagine that any website in this world could query installed applications on a device. That would be privacy invasion. On Friday, February 8, 2013 9:42:14 AM UTC-6, DAVIDT wrote: Hi All Is possible know with the browser if a specific application is installed in device and if was installed make some action in the page ? Regards David -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 check value of edittext input in gridview
hallo android developers! i want to ask how to check the value of edittext input in gridview? ok, let me explain a lil bit about the context. i have a gridview layout and have some images in there, then when i click each of them, the alert pop up with the edittext on alert. then i should to input the name of the images, when i input the name of the first image, it works to validate. but, when i input the second image's name, it failed. so, how i can achieve to validate the input the second and so on of the image's name? thanks in advance. P.S sorry if my english was bad. 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.
Re: [android-developers] Re: Paid apps with trial and payments
Nobu games hits it on the head. You can however host your own app and end users can click a link on your Site from their phone to install it from your site. Updates could be in the format of an email to your users that would again click the link from their phone to update. I believe this is possible. Thus as Nobu said you'd be managing your own distribution and would benefit for the full payment. You would have to write the processing code our provide some sort of payment option on your Site with an unlock code or a different apk file they would then download perhaps. On Feb 8, 2013 8:07 AM, Nobu Games dev.nobu.ga...@gmail.com wrote: Actually we had this question a few times here and the usual answer is no you cannot do it because of the Google Play Developer Distribution Agreementhttps://play.google.com/about/developer-distribution-agreement.html . First of all you are limited to the use of so-called payment processors that are authorized by Google: *1.2 If you want to charge a fee for your Products, you must also acquire and maintain a valid Payment Account from an authorized Payment Processor. * Then there's a special section about free apps on Google Play which explicitly forbid what you are trying to do: *3.3 (...) If the Product is free, you will not be charged a Transaction Fee. You may not collect future charges from users for copies of the Products that those users were initially allowed to download for free.* Since your primary source of your paid app is outside the Google Play Market there's another clause that protects Google: *4.5 Non-Compete. You may not use the Market to distribute or make available any Product whose primary purpose is to facilitate the distribution of software applications and games for use on Android devices outside of the Market.* Right now it looks pretty clear to me. No need for a lawyer, Google Play doesn't want that kind of thing to happen. You need your own distribution channel that is under your control. And since your app sounds very specialized I think it's pretty much ok to ask for more money. You could therefore bite the bullet and release your paid app on Google Play with a price tag that makes you happy (even minus 30%). On Thursday, February 7, 2013 11:44:24 PM UTC-6, Harish wrote: Dear all, Need your opinion for listing my app to play store. I have a medical app which we are planning to sell using various distribution channel in bulk volume. We already have license checking mechanism with our site. and we will manage license with our support team. We give our app 1 week for trial and user have to activate after one week. My question is - If I list my app to google play store for broader audience then does there any way I can manage bulk licenses without paying 30% transaction fees. I mean I will have list of users with me who already paid for app and they can download app from app store freely. Or If I list my app free on market and after 7 days user will pay using our payment channel does it violates developer agreement ? My main objective of using play store is to manage updates efficiently. I see many example where people list free and premium apps on Google, I wants to list only free not the premium one. does it violates Google terms and condition. Looking for your advice Regards -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- 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] Google maps api v2 issue
I'm about to put my Android app, which uses google api v1 onto the market. I now see that v1 has been depreciated and that I am urged to use v2 instead. I see that v2 appears an order of magnitude more complex and that google play services are needed. Since google play services are needed does that mean that my app will only be able to be distributed on google play and not, say, be distributed from my own web site? Is this a move by google to force apps to be distributed only via google play? thanks, Gary -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 check value of edittext input in gridview
Prabu Siabuabu wrote: hallo android [sic] developers! i want to ask how to check the value of edittext [sic] input in gridview[sic]? ok, let me explain a lil bit about the context. i have a gridview layout and have some images in there, then when i click each of them, the alert pop up with the edittext on alert. then i should to input the name of the images, when i input the name of the first image, it works to validate. but, when i input the second image's name, it failed. so, how i can achieve to validate the input the second and so on of the image's name? thanks in advance. Instead of talking about code, show us code. http://sscce.org/ Your error is in the part of the code you did not show us. Your English is sufficient, but you are misspelling Java types, and that means your Java is bad. -- Lew -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Google maps api v2 issue
On Fri, Feb 8, 2013 at 7:08 PM, g...@deanblakely.com g...@deanblakely.com wrote: I see that v2 appears an order of magnitude more complex Actually, I found it to be simpler, at least for many operations, once you get past the is the Play Services Framework installed? hassle. Drag and drop, for example, is an order of magnitude easier to implement. Since google play services are needed does that mean that my app will only be able to be distributed on google play and not, say, be distributed from my own web site? No. It means that the device needs the Play Services Framework, whether that is part of the firmware or installed off the Play Store. Is this a move by google to force apps to be distributed only via google play? No. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy In questi siti web puoi chiedere o rispondere a domande relative allo sviluppo di applicazioni Android: http://www.andglobe.com -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: how to check value of edittext input in gridview
What do you mean by validate? On Sat, Feb 9, 2013 at 2:16 AM, Lew lewbl...@gmail.com wrote: Prabu Siabuabu wrote: hallo android [sic] developers! i want to ask how to check the value of edittext [sic] input in gridview[sic]? ok, let me explain a lil bit about the context. i have a gridview layout and have some images in there, then when i click each of them, the alert pop up with the edittext on alert. then i should to input the name of the images, when i input the name of the first image, it works to validate. but, when i input the second image's name, it failed. so, how i can achieve to validate the input the second and so on of the image's name? thanks in advance. Instead of talking about code, show us code. http://sscce.org/ Your error is in the part of the code you did not show us. Your English is sufficient, but you are misspelling Java types, and that means your Java is bad. -- Lew -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Open Two Camera at a same time
Hi, Can anyone tell me how to open two camera (Front and Secondary ) at a same time.I know till now that it is not possible. Is there any way to open the camera(or Control Camera) using standalone app in Android. -- Abhishek Kumar B.Tech(IT) Graduate Allahabad Contact no-+919663082731 -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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.