[android-developers] Re: Bluetooth Low Energy Encrypted Characteristic Read Write

2014-02-05 Thread shubh
Hi Ashvini, Do you have any suggestion about issue mention here 
http://stackoverflow.com/questions/21398766/android-ble-connection-time-interval
 ? 
This is regards Connection time interval.

On Thursday, October 10, 2013 11:27:41 AM UTC+5:30, Ashwini wrote:

 If I set write type WRITE_TYPE_SIGNED, I get status code as 135 and write 
 fails. However when I used write type as WRITE_TYPE_NO_RESPONSE I getsuccess 
 status code.
 My device advertises WRITE_NO_RESPONSE as property of characteristic which 
 I am trying to write.

 What else I can try for this?

 On Wednesday, September 25, 2013 1:53:58 PM UTC+5:30, gjs wrote:

 Hi,

 So far I've only used BLE successfully with devices that don't need to 
 use encryption, however the docs seem to infer that 
 BluetoothGattCharacteristic 
 requires setWriteType (int writeType) where writeType is WRITE_TYPE_SIGNED 
 - Write characteristic including authentication signature -  prior to 
 performing encrypted write operations ?

 See 
 http://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html#setWriteType(int)

 Also as far as I know there is no need to explicitly pair with BLE 
 devices, it just happens automagically. You just scan for available devices 
 and connect with the ones your interested in using.

 Hope that helps.

 Regards
  

 On Tuesday, September 24, 2013 9:28:40 PM UTC+10, Ashwini wrote:

 I am developeing an application which can talk to few smart(bluetooth 
 4.0) devices. I tested the code on Nexus 4 running Android OS version 4.3. 

 The application is able to connect to nordic chip programmed as heart 
 rate monitor. For this device, I am able to read services, characteristics 
 and even get updates for heart rate values.
 However, when I programmed the same chip for encrypted characteristics, 
 I am facing some issues.

- Connection drops sometimes after write characteristic descriptor 
is performed.
- The devices once paired with phone can not be un-paired. (This is 
known issue and confirmed the same from android issue tracker).
- Getting following statement in logs quite often but not able to 
understand the status code - 133.

 D/BluetoothGatt(1780): onClientConnectionState() - status=133 clientIf=4 
 device=CC:F3:A5:4D:CB:3F


- The phone also logs this statement for state change.

In stable state, received invalid newState: 10



 I do not seem to find a way to instruct the phone to get paired with the 
 chip. Also there is no way to specify that we want to perform *encrypted 
 read-write operations*.

 Any help is appreciated.




-- 
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] NFC host card emulator

2014-02-05 Thread F4L|{0
thanks.
can you tell me where I can find some example of this implementation?

thanks for support

Il giorno giovedì 30 gennaio 2014 09:35:39 UTC+1, Nikolay Elenkov ha 
scritto:

 On Thu, Jan 30, 2014 at 5:30 PM, F4L|{0 simone.d...@gmail.comjavascript: 
 wrote: 
  thanks for reply. 
  My idea is emulate, for now, a Mifare 1K card for transport application. 
  it's possible with secure element. I think that I have confusion about 
 it. 


 Please reply to list. 

 You cannot emulate Mifare with Android's HCE. You can only emulate APDU 
 based communication, which is on a higher level than Mifare. 

 You can emulate Mifare with an actual secure element, if supported, 
 and if you have the keys to manage it (that is what older editions of 
 Google Wallet do in order to emulate some loyalty cards, etc.) 


-- 
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] Promoting a Game

2014-02-05 Thread Martin jules
Hi everyone, 

I published my game 2 days ago on google play, and i'm having trouble with 
promotion.
So i came here to ask you, what is the best way to promote a android  game ?

I made a good presentation of the 
game, https://play.google.com/store/apps/details?id=com.tower.bruiser
a youtube trailer : 
 http://www.youtube.com/watch?v=UfMmo5FiWUU

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: Promoting a Game

2014-02-05 Thread JackN
Looks like you've done well. Unless you are willing to pay for advertising, 
why not just give similar games bad reviews and mention your game in the 
review.

On Wednesday, February 5, 2014 3:18:53 AM UTC-8, Martin jules wrote:

 Hi everyone,  

 I published my game 2 days ago on google play, and i'm having trouble with 
 promotion.
 So i came here to ask you, what is the best way to promote a android  game 
 ?

 I made a good presentation of the game, 
 https://play.google.com/store/apps/details?id=com.tower.bruiser
 a youtube trailer :  
 http://www.youtube.com/watch?v=UfMmo5FiWUU

 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: Promoting a Game

2014-02-05 Thread Mukesh Srivastav
You are trying to be over smart and promoting your game in android
developer forum.


On Wed, Feb 5, 2014 at 9:17 PM, JackN j...@jacknorth.com wrote:

 Looks like you've done well. Unless you are willing to pay for
 advertising, why not just give similar games bad reviews and mention your
 game in the review.

 On Wednesday, February 5, 2014 3:18:53 AM UTC-8, Martin jules wrote:

 Hi everyone,

 I published my game 2 days ago on google play, and i'm having trouble
 with promotion.
 So i came here to ask you, what is the best way to promote a android
  game ?

 I made a good presentation of the game, https://play.google.com/
 store/apps/details?id=com.tower.bruiser
 a youtube trailer :
 http://www.youtube.com/watch?v=UfMmo5FiWUU

 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.




-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
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] Home screen icon ads

2014-02-05 Thread Steve Gabrilowitz
I know this probably isn't the right group for this question but I'm not
sure where else to ask and have googled with no appropriate hits.  Recently
I've been getting a whole bunch of these annoyances and haven't installed
anything outside of the Play Store so apparently somebody isn't playing by
Googles new rules and is getting away with it!  Is there any way to track
down which app is doing this so that I can take appropriate action?

-- 
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] Speech-to-text displays Google's logo

2014-02-05 Thread Peter


Folks,

Our Android application uses RecognizerIntent.ACTION_RECOGNIZE_SPEECH 
activity. When the activity is launched, it actually displays Google's 
logo. Looks like this activity is not really part of Android SDK but a 
contribution from Google. This is fine for our use. My issue is slightly 
different.

I am working on a dialog box that displays third-party copyright notices. 
Do I need to mention something like Speech recognition is powered by 
Google? I could not find any licensing document on this component.

Thank you in advance for your help.

Regards,
Peter

-- 
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: Home screen icon ads

2014-02-05 Thread Nobu Games
It could be just about any app that uses some ad(ware) SDK. As far as I 
know doing that kind of thing also requires a specific permission (

com.android.launcher.permission.INSTALL_SHORTCUT). So you could look through 
your list of installed apps and look for one with that permission.
Maybe there are also AdWare scanner apps that can automate that search for you.


On Wednesday, February 5, 2014 11:41:26 AM UTC-6, Steve Gabrilowitz wrote:

 I know this probably isn't the right group for this question but I'm not 
 sure where else to ask and have googled with no appropriate hits.  Recently 
 I've been getting a whole bunch of these annoyances and haven't installed 
 anything outside of the Play Store so apparently somebody isn't playing by 
 Googles new rules and is getting away with it!  Is there any way to track 
 down which app is doing this so that I can take appropriate action?


-- 
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] Speech-to-text displays Google's logo

2014-02-05 Thread Steve Gabrilowitz
Wouldn't hurt to mention it even if not required!
On Feb 5, 2014 12:49 PM, Peter ptr...@gmail.com wrote:

 Folks,

 Our Android application uses RecognizerIntent.ACTION_RECOGNIZE_SPEECH
 activity. When the activity is launched, it actually displays Google's
 logo. Looks like this activity is not really part of Android SDK but a
 contribution from Google. This is fine for our use. My issue is slightly
 different.

 I am working on a dialog box that displays third-party copyright notices.
 Do I need to mention something like Speech recognition is powered by
 Google? I could not find any licensing document on this component.

 Thank you in advance for your help.

 Regards,
 Peter

 --
 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] Changes in the 2013 version of GCM

2014-02-05 Thread Tom
I'm migrating my app's GCM support to the 2013 version, and I'm confused by 
some things.

The docs are very inconsistent and don't properly distinguish between the 
versions, so let me see if I have this right - this is now the 3rd version 
- in 2011 Google introduced C2DM, in 2012 they changed it to GCM, and in 
2013 we got GCM version 2.

In GCM1 the app responded to GCM admin intents, e.g. register, unregister, 
and error.

In GCM2 the app is in control.  It detects when the app is updated, 
requests a new reg ID, and stores it, etc..  It's broadcast receiver is 
used to receive GCM messages but the old GCM admin messages are ignored.

This seems very brittle compared to GCM1 so I wonder if I'm missing 
something:  it is hard-coded into the app that *the RegID will always and 
only change when the app version changes*.  

Am I correct in my understanding?  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] Speech-to-text displays Google's logo

2014-02-05 Thread TreKing
On Wed, Feb 5, 2014 at 11:49 AM, Peter ptr...@gmail.com wrote:

 I am working on a dialog box that displays third-party copyright notices.
 Do I need to mention something like Speech recognition is powered by
 Google? I could not find any licensing document on this component.


If you're saying you launch a generic intent that request speech
recognition, and on the particular device that you're referring to happens
to make use of a Google-supplied speech recognition activity, which is
separate from your app and not something that you borrowed or integrated,
then I don't see how this would require attribution.

The end user could very well have a device that uses some other speech
recognizer completely, so saying speech recognition is powered by Google
when you're not 100% certain that it will be seems silly.

If it needs to be said, I am not a lawyer.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

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


[android-developers] Need help for Developing the app using Google Glass SDK.

2014-02-05 Thread Seshu
Hi Developers,
 I am new to Google glass SDK. can any one please help me how to 
start developing the app for google glass sdk.

Thanks and Regards,
S.Seshu

-- 
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.