[android-developers] Discovery mode doesn't get turned on always

2016-03-06 Thread jimzhangandroid
Hi Everyone,

I am developing an app. I have to make the device visible to others.
I am using the below snippet code.

Intent discoverableIntent = new
Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 180);
context.startActivity(discoverableIntent);


The question is it can't work all the time. Sometimes it failed to get it 
truned on.


Has anybody experienced this ? Any help would be appreciated.

-- 
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/b1209e22-aa98-46fa-bc21-e1bc897aa157%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] [GooglePlayGamesService] Same E-Mail Acount returns difference user id

2016-03-06 Thread GyeonghoGang
i'm using googleplaygamesservice plug-in for unity 0.9.26.

my server identify user with this id
Social.localUser.id  //(like 123456789012345678901) 21character

i saw this id is unique, but after release my app some user send difference 
id(not null or empty, like g1234568901234567890 start 'g' same 21character)

so server can't find user data.

is this my fault or kind of bug?

-- 
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/4bf88d64-8b11-4c16-bb13-3fadce4ed800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] blocking notification panel

2016-03-06 Thread luigi bettelli
Hey there.

I need help: I'd like to set up a Tasker/Macrodroid activity for having the 
notification panel blocked (not expandable) under certain conditions -while 
expandable under different conditions.
The problem is that I don't know which activity I have to launch (I've been 
told it should be something like "service call activity 42 s16 
com.android.systemui", but don't know it exactely), so I was thinking that 
maybe your can help me...
Do you know how I can do this?

Thanks.

Luigi.

-- 
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/9f0afad9-109f-4c00-8064-07c7c07ac3a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] When should I start a new activity ?

2016-03-06 Thread Draad Ultran
Hello friends,

I understand how to start an activity, but I have trouble understand when I 
should. 
What I mean is, when should I consider creating a new Activity in my 
application instead of updating the one I'm currently using?

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/472008ef-19b7-4afc-a9b2-72c064833239%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Ovverride Default Cipher Suites in Android Webview

2016-03-06 Thread Aman K
I am trying to override default cipher suites presented when loading HTTPS 
pages in Android WebView so that communication takes place over strong ones 
only. In case of weak cipher suites being negotiated, *onReceivedSSLError* 
should get triggered in *WebViewClient* so that appropriate warning can be 
shown to user. Any method to do so ?

-- 
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/feb90297-471b-42ad-b9d5-b65d87cd492e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Regarding push notification....

2016-03-06 Thread deepank dwivedi
Use GCM to notify the android client when there is any updation in table , 
use broadcast there to generate any notification or operation .

On Sunday, 6 March 2016 15:28:14 UTC+5:30, DoN KaRThi wrote:
>
>  Dear friends,
>   i want to send a push notification only where there is updation 
> on my table,...my table is located on server using mysql..if there is any 
> update means i should send notification to all users of app...pls help me 
> to send this friendsif you found means send me the code to 
> karthikeyandon...@gmail.com..ph no:7708284542
>

-- 
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/4b748326-5b48-4da7-962b-eb6e1ac481a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Regarding push notification....

2016-03-06 Thread sardar khan
when you update the table means when you run the update query simply call
the webservice that send json data and on the android side parse the json
and then generate the PushNotification.

On Sun, Mar 6, 2016 at 2:58 PM, DoN KaRThi 
wrote:

>  Dear friends,
>   i want to send a push notification only where there is updation
> on my table,...my table is located on server using mysql..if there is any
> update means i should send notification to all users of app...pls help me
> to send this friendsif you found means send me the code to
> karthikeyandon...@gmail.com..ph no:7708284542
>
> --
> 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/bc62feff-a943-4e07-a422-a9f12186db1b%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/CABHzXASX%2B86VTd-3HNmJh782Rt%2BoW3zxSC-Fp2H0b8Bf3sGx1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to fix the bootloop on my PadFone?

2016-03-06 Thread radibg2
Hi,
Yesterday I've installed Antutu on my Asus The new Padfone Infinity A86, 
started it and from then it wont load. Here is detailed explanation of the 
prolem:
The boot Asus logo shows, the other Asus logo shows then the ROM 
background(wallpaper) image shows and immediately restarts*/*my PC 
recognizes Padfone T004 MTP and immediately restarts. Here is what I have 
tried:
*1.* Factory reset and cache wiping.
*2. *Reinstall with firmware versions from 12.4.0.72 to 11.2.5.26, 
performing 1. for every of the versions(there are no custom ROMs for this 
device).
*3. *Installed TWRP and tried 1 and 2 again.
*4.* Formated the system, data, chache, dalvik cache and internal storage 
partitions.
*5.* Tried 1 and 2 again(Figured out that 12.4.*.* versions are just 
updates and continued trying with 11.2.5.26).
*6.* Removed the phone's battery for 10 minutes.
*7. *Reinstalled boot.img and recovery.img trough fastboot.
*8.* Created system.img from the system folder in firmware version 
11.2.5.26 and installed boot.img, recovery.img and system.img trough 
fastboot.

This problem occurred to me again a few months ago when I started Beach 
Buggy but cache wiping fixed the problem then, now I can't fix the problem. 
Do you have any idea how can I fix my PadFone?

-- 
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/017fbd09-0d53-4ad4-882f-17e9f8cc0f63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Important question

2016-03-06 Thread Nalin Savara
Bro,
You need windows or linux or macos x to start developing for android.

If you only have Web access you also need a computer with one of the above
operating systems.

Regards,
Nalin
On 6 Mar 2016 17:36, "RainbowCatYT"  wrote:

> Hello,
>
>
> Before I will pay for the Developer console, should I download any program
> to start developing, or can I develop in the web?
>
> Because I have'nt got Windows currently, so I will pay only if I can write
> my programs in web.
>
>
>
> Regards,
> RainbowCat
>
> --
> 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/fae11687-78c8-4611-9c70-bbcf9f279e80%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/CABY81mZRKVU4%3D6UROj6PK9%3DzyjBuutKEhChmq6kQfmyc42qA1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Important question

2016-03-06 Thread Michael Banzon
You can make programs any way you like. Android Studio is the preferred way
- it runs on both Windows, OSX and Linux. I think you'll find it very
difficult to write Android apps using only a browser (I'm assuming that is
what you meant).

I think you should look into the process of actually making the apps before
paying for anything. Making apps for Android doesn't cost money. Testing
them on you device, other devices, emulators etc. doesn't cost money.
Distributing you app through Google Play cost some money though - but that
part is only needed when you are "done".

On Sun, Mar 6, 2016 at 1:03 PM RainbowCatYT  wrote:

> Hello,
>
>
> Before I will pay for the Developer console, should I download any program
> to start developing, or can I develop in the web?
>
> Because I have'nt got Windows currently, so I will pay only if I can write
> my programs in web.
>
>
>
> Regards,
> RainbowCat
>
> --
> 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/fae11687-78c8-4611-9c70-bbcf9f279e80%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/CAJLh%3D2paQX_MVRHFTw1cM9wvf0YkJ0AwVqN6t3Xnm0s%3DtAxRJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Important question

2016-03-06 Thread RainbowCatYT
Hello,


Before I will pay for the Developer console, should I download any program 
to start developing, or can I develop in the web?

Because I have'nt got Windows currently, so I will pay only if I can write 
my programs in web.



Regards,
RainbowCat

-- 
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/fae11687-78c8-4611-9c70-bbcf9f279e80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] google drive aplication in python

2016-03-06 Thread Pablo Fernandez Grado
I need to make an application in python. I want to upload and download 
files at my Google Drive and I already do it. But when i try to upload o 
download some file, the app redirects me to the web page to authorize the 
access. I use OAuth 2.0.
I want to skip this step. I don't want authorize all the times that I want 
to use the product.
How I must make this?

Thank you.

-- 
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/60a1d404-6a9c-40ef-86e0-163d56ede57e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Regarding push notification....

2016-03-06 Thread DoN KaRThi
 Dear friends,
  i want to send a push notification only where there is updation 
on my table,...my table is located on server using mysql..if there is any 
update means i should send notification to all users of app...pls help me 
to send this friendsif you found means send me the code to 
karthikeyandon...@gmail.com..ph no:7708284542

-- 
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/bc62feff-a943-4e07-a422-a9f12186db1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] app hanging

2016-03-06 Thread Alfred Vincent
I recently made an app using Android studio and it's getting hang when I 
installed it in my phone which is running in Android marshmallow. Any solutions 
please ?

-- 
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/cffcc59f-b878-430e-9f93-01e05992f21d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.