Re: [android-developers] Intercept all HTTP Connect request from webview

2015-12-30 Thread vipendra katre
You can use fiddler tool which is used for request monitoring.

Thanks!!
On 31-Dec-2015 5:25 am, "Samiksha Saxena"  wrote:

> Hi,
> i have a sample app which is loading a webpage within a webview. The
> webpage is over HTTPS and is routed through a proxy server. As i am using a
> proxy server between client and the server, the browser is creating a
> tunnel using HTTP Connect method. I want to intercept the Connect request
> and insert my own headers to the request, how can i do so? Does it possible
> to do so?
>
> Thanks
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/94815b78-5230-4b75-b488-f174a0989e07%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAJzgsP6VXtNVZ8ivudwTn2sX0xGG2KxkcTKz4ky0kxhnQ4g4Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Difference between swiping in all apps menu and pressing back to exit

2015-12-30 Thread Nick Teo
Hi all,

I'm working on a messaging app that starts a service in the background that 
will receive messages from a Pebble smartwatch and then send out an sms 
message. Right at this moment, I'm trying to make it so that the service is 
always running in the background so that the user can always send texts 
even if the app isn't actually open. There is a private local variable in 
the service that contains the contacts that the user can send texts to. 
When I press the back button to exit the app after setting the contacts, 
the list persists and when I open the app again, I see the contacts. If I 
open up the all apps menu thing and swipe the app to exit it, the list is 
destroyed, however, I know the service is still running (I get Toasts from 
the service). I was under the impression that swiping the app closed and 
pressing the back button are the same. Are they not? Is there a way to make 
it so that the local variable is never destroyed as long as the service is 
running?

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/12955365-d02b-4cfc-b948-a177b019acc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Bluetooth Simple Secure Pairing in Android 6.0 not working

2015-12-30 Thread Ankur Agrawal


I am making a Bluetooth capable device using TI's CC2564 module. Before 
updating to Android 6.0, I could pair my phone (Nexus 5) with the device 
using Simple Secure Pairing (SSP) with no issues. Ever since I updated to 
Android 6.0, my phone would not pair with the device.

The debug terminal attached to CC2564 module shows that a link key is 
generated, but Android does not show it in its list of paired devices, as 
it used to with Android 5.0. I tried another phone running Android 4.1, and 
my Bluetooth capable laptop, and both pair with the device.

Also, if I change settings in CC2564 to pair using a PIN code, then my 
phone does pair with it. My question is, has something changed in Android 
6.0 in terms of SSP functionality? 

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/41db406c-c30d-4dd2-b0f4-19500b7d0fd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Code for NFC tag to turn bluetooth-tethering on/off

2015-12-30 Thread Daniel Kußmaul
Hello

I want to use a NFC tag for turning bluetooth-tethering on/off on my 
android phone. 

I found no app that supports this function. There is the opportunity to 
write an URI on the tag in order to open e.g. an application.

So is there a chance to use such an URI or a 'code' that I could write on 
the tag to turn bt-tethering on/off.


Thanks in advance!

Best regards

Daniel Kußmaul

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/2377564e-49e8-4812-9007-a656e1802e59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Intercept all HTTP Connect request from webview

2015-12-30 Thread Samiksha Saxena
Hi, 
i have a sample app which is loading a webpage within a webview. The 
webpage is over HTTPS and is routed through a proxy server. As i am using a 
proxy server between client and the server, the browser is creating a 
tunnel using HTTP Connect method. I want to intercept the Connect request 
and insert my own headers to the request, how can i do so? Does it possible 
to do so?

Thanks

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/94815b78-5230-4b75-b488-f174a0989e07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Delete an application from google play store

2015-12-30 Thread Tomas Bortoli
I would delete the application because I've done a refactoring on the code 
and also the application id is changed on something more accurate and the 
dev console doesn't let me upload the new one because the ID is different!

I read on the web that isn't possible to accomplish this. Really? Why? What 
the ...?

Can I contact some google team to get some direct help?

I mean, i suppose it's an easy request. 

just sounds very strange to me


Thanks everybody 

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e5c21514-c66f-4035-810a-9f811a6a3ca4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Delete an application from google play store

2015-12-30 Thread Steve Gabrilowitz
A different app id means a different app.  Keep the app id and upload the
refactored code.  Otherwise you will need to create a new play store app
for the new app id, then you can unpublish but not delete the original.
On Dec 30, 2015 4:21 PM, "Tomas Bortoli"  wrote:

> I would delete the application because I've done a refactoring on the code
> and also the application id is changed on something more accurate and the
> dev console doesn't let me upload the new one because the ID is different!
>
> I read on the web that isn't possible to accomplish this. Really? Why?
> What the ...?
>
> Can I contact some google team to get some direct help?
>
> I mean, i suppose it's an easy request.
>
> just sounds very strange to me
>
>
> Thanks everybody
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/e5c21514-c66f-4035-810a-9f811a6a3ca4%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABfabRjoPfMGV4pr4g6e8DExYWzEgp%3DgrRzQ_y%2Bb233wm5RcaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Different APKs for same code on difference machines

2015-12-30 Thread Bipin Jethwani
check the build tool version...maybe there's some diff.
And check for zipalign

On 30 December 2015 at 10:03, Shashidhar  wrote:

> Hi,
>  I have used the same code base and referenced the same android version on
> 2 windows machines and generated APKs on both of them. The APK's differ in
> size. What could the possible reasons for APKs to differ even thought I
> have same development environment in both machines.
>
> Thanks,
> Shashidhar
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/CAHWL_jP391cOpXHthK%3D2ASfVBjbp7NSQxxOT9cO1DB1vMTdEtQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANBS9ZMoZ4hjAsJXw9VLMmgFR8gnE4a8fo16S3LX4CwCT%2BUoOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.