[android-developers] Control HDMI devices connected to Android device

2016-01-07 Thread Satish Ch
Hi,

Is there any built in or third party APIs to switch on / off device, 
supports HMDI-CEC from android program though HMDI port?

-- 
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/857c3c4c-6c66-4e2c-84a5-e86518556e83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to control HDMI devices connected to android device.

2016-01-07 Thread Satish Ch
Hi,

I am not able to find any api to control devices like poweron or volume 
change which are connected to HDMI port of android device from android 
program.


Regards,
Satish Ch

-- 
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/23cc9c60-e99c-4bff-b33d-706e5d45cbc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Is encryption a bad idea for app developer?

2016-01-07 Thread Sven Hedlund
Good points Nalin, I have not encrypted the phone yet. I will probably wait
and think a bit more before taking the step.

Thanks,
Sven


2016-01-05 18:27 GMT+01:00 Nalin Savara :

> I would say that for most part it's enough to keep your phone locked.. and
> insure it and backup to cloud and remote erase it if it is stolen.
>
> No comments about encryption but try to keep things simple so you have
> fewer things to check for if debugging an app and trying to replicate an
> error a user is facing.
>
> Just my suggestions...
>
> Regards,
> Nalin
> On 5 Jan 2016 22:25, "Sven Hedlund"  wrote:
>
>> I have just bought a Samsung Galaxy S6 and I plan to use it for future
>> Android app development.
>>
>> I am also thinking of encrypting the phone for increased security. Is
>> that a bad idea if I want to develop apps on it? Will encryption slow down
>> the process of transferring and test running my own apps on it?
>>
>> Grateful for insight,
>> Sven
>>
>> --
>> 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/02e9ca32-0cc7-41f2-b3ad-fc782e38eda3%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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/83wv42nmMtA/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/CABY81mYHcOGMgz71P%3DBgpACJsa%2BUPVLrceG9P%2BLiBv%3DXM7L4tQ%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sven Hedlund
+46(0)70 438 82 93
http://svenhedlund.se/

-- 
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/CAOzXKit3b7zPLGhve-V81co_ooZBgJ43AKVugiTjwuH8XJfafw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Problem running mksdcard

2016-01-07 Thread julian . miras
Hi everybody!
I am quite new on this, so probably I am making some beginner mistake...

I am trying to use the "mksdcard.exe" tool to create a sd image for the 
emulator, but I am getting this error: "Invalid argument size". Below you 
can find the log.
My system is:

- Windows 7, 64bits.
- Using Android SDK Tools 24.4.1

Any help would be really appreciated!
Thanks so much!

Julian.


D:\opt\android\sdk\tools>mksdcard 100M image.img
Invalid argument size '100M'

mksdcard: create a blank FAT32 image to be used with the Android emulator
usage: mksdcard [-l label]  

  if  is a simple integer, it specifies a size in bytes
  if  is an integer followed by 'K', it specifies a size in KiB
  if  is an integer followed by 'M', it specifies a size in MiB
  if  is an integer followed by 'G', it specifies a size in GiB

Minimum size is 9M. The Android emulator cannot use smaller images.
Maximum size is 1099511627264 bytes, 1073741823K, 1048575M or 1023G

-- 
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/ff0c92ee-a694-4577-8df8-02ae07f74278%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Issues with SupportPlaceAutocomplteFragment

2016-01-07 Thread Daniel Resnick
Please see the documentation here:

https://developers.google.com/places/android-api/autocomplete?#use_supportplaceautocompletefragment_older_platforms

...which explains how to resolve this issue.


Thanks,
Daniel

On Wednesday, December 30, 2015 at 3:02:29 PM UTC+11, Arun venkatesh wrote:
>
> Using SupportPlaceAutocompleteFragment i notice that 
> PlaceSelectionListener is not invoked at all. However with 
> "PlaceAutocompleteFragment" all works good. Has anyone faced similar 
> problem with the support library. any suggestions pls ?
>
>
>

-- 
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/11e61569-6f47-484a-ada9-840f81c92b5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Meta: Changes to new-user moderation policy

2016-01-07 Thread Trevor Johns
On Thursday, January 7, 2016 at 3:29:14 PM UTC-8, Ahmet Arslan wrote:
>
> I sent a message last night but I can not see it.
>

It was stuck in moderation, since the mod bit on your account was still 
set. See my 2nd post in this thread for instructions.

-- 
Trevor Johns
Google Developer Programs, Android
http://developer.android.com

-- 
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/11b7edac-20a8-4140-8a0f-4d28ba851326%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Change Screen Brightness from Native / AOSP code

2016-01-07 Thread Rehan Hameed
Bumping this up again to see if someone has an input on that.


On Thursday, December 17, 2015 at 11:13:14 AM UTC-8, Rehan Hameed wrote:
>
> I am now able to control the backlight from my C code by writing to 
> /sys/class/leds/lcd-backlight/brightness. However I had to disable the 
> security policy enforcement to be able to do that. That obviously is not a 
> solution I could use on a production device. Still looking for a better 
> solution. I would guess I need to communicate with some android service 
> which controls the backlight but I don't know which service is that.
>
>
>
>>

-- 
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/6b7a99b7-f4ee-4fdf-be0c-1bc3fb0080d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Two different processes for ART in Marshmallow

2016-01-07 Thread Dhiman Chakraborty
Hello,

Is it possible to run two different processes(I prefer process than thread 
to avoid variable collision) of ART in Android M for a single app, which 
will be input sensitive?

One process of Art will handle sensitive inputs and output and other one 
will handle more general inputs and outputs.

Where should I start looking in the source code to achieve two processes of 
ART?

Thanks & Regards,
Dhiman 

-- 
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/32c22cd4-b90d-4cc6-9866-80ee55d1d343%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Updating Android Application from within the application

2016-01-07 Thread Justin Anderson
Is the device connected directly to the build machine?

On Thu, Jan 7, 2016, 5:26 PM Shiv Anand  wrote:

> Hi Folks,
>
> We are trying to automate our CI process by getting the new build of
> application and then downloading it on the target device. The new build is
> downloaded successfully however when we are trying to install the
> application it requires user's interaction and then it is getting upgraded.
> We want a seamless way wherein we can get the update directly and there is
> no user interaction required. Can it be done in some way in Android
> Application?
>
> Any help is highly appreciated.
>
> Thanks
> Shivanand
>
> --
> 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/887f1087-7169-4b10-b461-3cdba51c012c%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/CAOq06s-Y7x%2B7Fb7WnfGAZP-B-DHEpvYpK4xNGR24giB6s%3D4qbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Developer training guide problem.

2016-01-07 Thread Trevor Johns
HAXM requires a VT-X enabled processor, which I believe AMD doesn't 
support. AMD processors *do* support a similar technology, AMD-V -- but 
this is only supported under Linux, since the Linux emulator uses KVM 
instead of HAXM for hardware virtualization.

You have two options:

- Use the ARM emulator images, instead of the x86 images. It'll be slower, 
since you'll be using software-based emulation, but it will work. You 
should still be able to enable hardware GPU boost for a bit of a speed 
boost.
- Install Linux, assuming your processor supports AMD-V.

You could also try Genymotion (https://www.genymotion.com), which is a 
third-party emulator that some developers have reported success with. It's 
a paid product though, and not endorsed by Google.

-- 
Trevor Johns
Google Developer Programs, Android
http://developer.android.com 

If HAXM doesn't work for you, just use the ARM emulator images. It'll run 
slower, because it won't be using hardware-accelerated

On Wednesday, January 6, 2016 at 1:02:01 AM UTC-8, bradley herwy wrote:
>
> Im following the developer training guide. Im trying to run my hello world 
> app on an emulator. I follow the directions and I get an error telling me 
> to download Intel HAXM. But the thing is this laptop has an amd A10 
> processor. What should I do? For now I know I can side step this problem by 
> using a pc with an Intel processor or just plugging in a device with 
> android os but id like to be able to use this laptop without having to have 
> an android device.
>

-- 
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/5a85868d-aa14-41c0-ba99-d8be63a42423%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Whether / how to upgrade Android Studio from 1.3.1 to 1.5.1

2016-01-07 Thread tdw
I've just opened Android Studio having not used it for a little while. It 
says I'm running 1.3.1 and suggests that I should be running 1.5.1.

So I press the "Download" button.

This doesn't do what I expect - download some upgrade stuff and update my 
installation to 1.5.1. Instead it opens a web page in a browser for "Latest 
Android Studio Canary Build: 2.0 Preview 4", with no mention of 1.5.1 
anywhere on that page.

By browsing around the web site, I do find a page for 1.5.1 ,,, which has 
on it some zip files and no instructions as to what to do with them. (The 
zip files themselves don't contain any obvious instructions in the first 
couple of levels of directories.) There is also some stuff on the page 
about using "check for updates" because "This will download and install a 
patch rather than download a full IDE image." But it does no such thing, of 
course, because that's where I started from, so this just goes round and 
round in circles.

So

(a) Do I want to upgrade to 1.5.1?
(b) If so, how do I do it?

(Yes I have done web searches. I find lots of discussions of similar 
issues, mostly contradictory (with people saying "this worked for me", "oh 
no it didn't", "it works but you end up with a broken installation" etc) 
and mostly with detail missing so that the instructions can't actually be 
followed in practice.)

-- 
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/b3086c68-06bf-4cb6-a44e-9e5b6f06bbf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Building user interfaces at runtime with layouts from server

2016-01-07 Thread Matias Furszyfer
hi everyone, i built a runtime parser, this needs a lot of work and a 
community to expand and improve it. in the first version i am not using 
reflections but in my second version i am currently testing to integrate it.
this is my project https://github.com/furszy/ViewInflater
It would be great find another solution to this problem or work together to 
improve this parser.

 I am at your disposal for any questions.
Matias.

-- 
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/61de42ad-bd8e-4dc2-83bd-747ad0f7d945%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Trouble getting MediaCodec work with Camera2 api

2016-01-07 Thread Александр Баташев
I need to record video, encode it with h264 and send it to my server in real 
time. However, when i start recording, my preview freezes and nothing happens. 
Here is what I see in my console:

E/ACodec: [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) 
failed w/ err -1010
W/ACodec: do not know color format 0x7fa30c04 = 2141391876
W/ACodec: do not know color format 0x7f000789 = 2130708361
W/ACodec: do not know color format 0x7f000789 = 2130708361
E/RequestThread-0: Timed out while waiting for request to complete.
W/CaptureCollector: Preview buffers dropped for request: 1
E/CameraDevice-JV-0: Lost output buffer reported for frame 33
E/RequestThread-0: Timed out while waiting for request to complete.
W/RequestHolder: Capture failed for request: 1
E/RequestThread-0: Timed out while waiting for request to complete.

And here is how I'm doing it: 
https://gist.github.com/alexbat98/7013f21c73f07d96393d
Checked it on my HTC One M8 and with Geanymotion. 

-- 
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/864bd265-6585-494a-9d06-b1068b3809fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] OneDrive vs Google Drive vs Dropbox APIs vs Dropbox Datastore for Java for Android application

2016-01-07 Thread meleesue via Android Developers
I'm building an Android application, using Java for Android, and I want to 
store some data in the cloud that I can download programmatically when my 
user purchases an item. The data is best visualized as a database record in 
that it will be organized into various "fields" or "columns". I have 0 
budget for this, so I'm looking for someplace to store this data for free. 
I've found the OneDrive API 2.0, the Google Drive API for Android, the 
Dropbox Sync API, and the Dropbox Datastore API. There's apparently also 
something called DocumentsHub by CloudElements, which allows you to use all 
three of the above named cloud storage service, plus a few more. And there 
may be other things out there I'm unaware of. Further, I'm not sure if one 
of these options is noticeably easier to work with than the others. Could I 
have some recommendations, please? 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/37512d6f-6630-415a-adf9-5d35dc2c09ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to make android device always in wake mode?

2016-01-07 Thread Chitrang Patel


After successful root of my device. Now, I need to make device always in 
wake state. To do so I think I've to accomplish following :

   1. No lock screen - turned off
   2. Sleep set to “never”
   3. Daydream set to “off”
   
What I found is all about application layer i.e. there are some 
applications which can do above tasks. But since my mobile is rooted I want 
to achieve with *system files *so that even if some other applications try 
to change above functionalities then they should not be able 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/5359a9f2-7c66-4cd2-b1a2-3619428cd38a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] I want to start cross platform app development

2016-01-07 Thread NIJANDHAN
Hi all,
  Can anyone help me to start the development using cross platform?

-- 
Thanks & Regards,

Nijandhan L

Mobile Contact - +91-8098116484

-- 
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/CAA7%2B%2B5cbo7F5p1Q_jfMdGOY7fArzdKSZiSnB3O7Jkv9xSDEovg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Secure Connection tech with Server

2016-01-07 Thread Ahmet Arslan
Hi ;
I want to develop two separate android application that find each other at 
server . 
One phone could get connection to server and sent its connection id with 
Bluetooth to close phone.
Other user use this data when connecting to server and server application 
could meet those phones Data exhange must be done on server and those 2 
phones must be informed about data exchange.Communication phones < - 
>servers must secure.

Which tech do you suggest for this scenario?
Phone  to Server  ?  tcp, web socket, https ?

Which server side tech I should use ? Signalr, Web Api for http, or Tcp 
Server over SSL ?
I can not code in java so I strongly prefer c# on server side.
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/88658014-069c-460d-b1aa-41ae8f630c79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Meta: Changes to new-user moderation policy

2016-01-07 Thread Ahmet Arslan
I sent a message last night but I can not see it.

18 Aralık 2015 Cuma 00:47:54 UTC+2 tarihinde Trevor Johns yazdı:
>
> Folks who joined the forum in the past still have their moderation bit 
> set. (This list has 270k subscribers, so going through and fixing stuff up 
> manually isn't an option.)
>
> I go in periodically and clear the bit for folks who have messages waiting 
> in the moderation queue. So in your case, your moderation bit has been 
> cleared and your future posts will show up immediately. Your past messages 
> have also been approved.
>
> Alternatively, for other folks, I believe unsubscribing and immediately 
> re-subscribing would be another way clear your moderation bit.
>
> -- 
> Trevor Johns
> Google Developer Programs, Android
> http://developer.android.com
>
> On Thursday, December 17, 2015 at 2:01:07 PM UTC-8, Chuong Le Pham wrote:
>>
>> That's good to know. I post an Android development question about ten 
>> minutes ago and it hasn't shown up yet. What the current turnaround time 
>> for a new question to appear in the list?
>>
>> Thanks.
>>
>>
>> On Tuesday, 1 December 2015 09:28:00 UTC+10, Trevor Johns wrote:
>>>
>>> *As of today, new members to this group are able to post immediately, 
>>> without being subject to moderator approval.*
>>>
>>> Previously, posts from new members to this group would be held for 
>>> moderation. However, with the addition of Stack Overflow and Google+ as 
>>> popular discussion mediums, it's been difficult to find volunteer 
>>> moderators. As a result, the moderation queue has been showing signs of 
>>> neglect -- which means that new posts just aren't getting through.
>>>
>>> To address this, effective immediately, I've removed the moderation 
>>> restriction for new members.
>>>
>>> While this means that some spam may get through, this is necessary in 
>>> order to keep this group functioning properly going forward. If you do see 
>>> spam, simply report it through the Google Groups web UI. (Click on "Report 
>>> Abuse" next to the "Reply" button.) For larger/urgent issues, you can also 
>>> contact the group owners via email: 
>>> https://groups.google.com/forum/#!contactowner/android-developers
>>>
>>> -- 
>>> Trevor Johns
>>> Google Developer Programs, Android
>>> http://developer.android.com
>>>
>>

-- 
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/6d51e359-33cb-42e4-a338-6287f22655b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: On my app's page "google +1" count have been reset to zero

2016-01-07 Thread Eldar Abdrazakov
I had the same reset to zero with my app. I also noticed that reset only in 
web browsers and on android devices counter was displayed correctly. For 
several days counter had restored.

вторник, 29 декабря 2015 г., 15:09:56 UTC+3 пользователь jske...@gmail.com 
написал:
>
> I found way to contact with support. Wrote them and in two business days 
> I'll post here  replay.
>

-- 
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/1ab7222f-3ce1-4f18-bd69-e1185199524a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Updating Android Application from within the application

2016-01-07 Thread Shiv Anand
Hi Folks,

We are trying to automate our CI process by getting the new build of 
application and then downloading it on the target device. The new build is 
downloaded successfully however when we are trying to install the 
application it requires user's interaction and then it is getting upgraded. 
We want a seamless way wherein we can get the update directly and there is 
no user interaction required. Can it be done in some way in Android 
Application?

Any help is highly appreciated.

Thanks
Shivanand

-- 
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/887f1087-7169-4b10-b461-3cdba51c012c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Is encryption a bad idea for app developer?

2016-01-07 Thread Nalin Savara
I would say that for most part it's enough to keep your phone locked.. and
insure it and backup to cloud and remote erase it if it is stolen.

No comments about encryption but try to keep things simple so you have
fewer things to check for if debugging an app and trying to replicate an
error a user is facing.

Just my suggestions...

Regards,
Nalin
On 5 Jan 2016 22:25, "Sven Hedlund"  wrote:

> I have just bought a Samsung Galaxy S6 and I plan to use it for future
> Android app development.
>
> I am also thinking of encrypting the phone for increased security. Is that
> a bad idea if I want to develop apps on it? Will encryption slow down the
> process of transferring and test running my own apps on it?
>
> Grateful for insight,
> Sven
>
> --
> 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/02e9ca32-0cc7-41f2-b3ad-fc782e38eda3%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/CABY81mYHcOGMgz71P%3DBgpACJsa%2BUPVLrceG9P%2BLiBv%3DXM7L4tQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: How to get the timezone from the latitude and longitude?

2016-01-07 Thread Narendra Sorathiya


https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-119.6822510×tamp=1331161200&key=YOUR_API_KEY

-- 
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/367d87e7-6c63-4967-873f-611d1e036978%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Where to ask questions about Android Dev API level 9?

2016-01-07 Thread Clint William Theron
this forum makes me sad. you don't tell me why you don't answer my questions

On Wednesday, January 6, 2016 at 2:13:12 PM UTC+2, Clint William Theron 
wrote:
>
> Hi. Just what the questions say.
>

-- 
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/370e918a-3347-4cb5-b594-a6c04ed9520f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Android Studio not fitting screen

2016-01-07 Thread niks
Go to one of the corners of the windows that opens (so as to create your 
new application) and minimize it. As you would do with any normal window ;-)

Τη Πέμπτη, 7 Ιανουαρίου 2016 - 8:59:44 μ.μ. UTC+2, ο χρήστης Mustafa 
Chatriwala έγραψε:
>
>
> 
>
>
> 
>
>
> pls help android studio is not fitting the screen. so i am not able to see 
> the buttons.
>

-- 
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/749a36f2-26fb-49d1-980d-0d5fc0f9a962%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] RecyclerView selected item

2016-01-07 Thread yosep delang
hallo..
i'm new in android.
and i wanna know how to change color background on item Recyclerview when i 
click that item
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/182b8fd9-495b-4254-b11e-7901a2d13764%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Can active session change notification not send to the app who made the session change?

2016-01-07 Thread bely
Hi all,

I am currently working on media session related work, I don't want my app 
be notified when the session change is made by my app, I checked the 
framework code and found MediaSessionRecord recorded the package 
information of the app who made the session change, but in 

 
pushSessionsChanged it is not used yet, I want to use it to filter the 
listener to be notified, any potential issue maybe? 


Thanks,

Bely


-- 
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/c3aa08fe-bd9b-473e-beac-821da545a14a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Placing files and folders inside Assets or resolving the path from within the code?

2016-01-07 Thread Sam Jesse
I created Assets  folder by right click App > New > Folder > Assets Folder.
I also created a working webpage in another editor which created index.html 
along with css folder with index.css and js folder with index.js and 
subfolders for both for some css and js libraries.

I wish to bring those over to Android Studio so that I can load the 
index.html in a webView. What is the correct way to do it?

Here is the absolute path of both index.html and MainActivity.java files 
from my Mac:

/Users/fred/Documents/a/mobileWebApps/r/index.htm

/Users/fred/Documents/App1wv/app/src/main/java/com/example/fred/app1wv/MainActivity.java

Thanks

MainActivity.java

public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
WebView wv = (WebView)findViewById(R.id.main_WV);
wv.setWebViewClient(new WebViewClient());
WebSettings ws = wv.getSettings();
ws.setJavaScriptEnabled(true);
ws.setAllowFileAccess(true);

String text = null;
String path = "file:///android_asset/";
try {
text = convertStreamToString(this.getAssets().open("index.html"));
} catch (Exception e) {
e.printStackTrace();
}
wv.loadDataWithBaseURL(path, text, "text/html", "utf-8", null);
}

public static String convertStreamToString(InputStream is) throws Exception{
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
StringBuilder sb = new StringBuilder();
String line;
while ((line = reader.readLine()) != null) {
sb.append(line).append("\n");
}
reader.close();
return sb.toString();

}



-- 
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/5c653eed-1a5c-4298-91f0-626bfdfdba6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] App reviews - Not all show on app's page.

2016-01-07 Thread Burke Knight
I see on my app's page, 1 review, but it says there are 3.
When look in the dev console, I can then see the other 2.
Why are they not shown on the app page?

-- 
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/e4d9fe53-6381-4604-8d01-8b6cb40d4898%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to know which content in app is not appropriate or violation of the Google Play Developer Program Policy regarding Intellectual Property

2016-01-07 Thread Offer Location

I received this notice -  
"Your app submission has been rejected for a violation of the Google Play 
Developer Program Policy regarding Intellectual Property 
. If this 
submission was an update to an existing app, the version published prior to 
this update is still available in Google Play. Please review the copyright 
infringement 
 
and impersonation 
 
help articles, then remove unlicensed images from your app and/or listing 
and resubmit.Additional details have been sent to your account owner's 
email address".

How to know which content is not appropriate or violation of the Google 
Play Developer Program Policy regarding Intellectual Property 
.

-- 
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/1b3e3632-cbf8-4f79-83e9-87523af1cc16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.