[android-developers] To implement Donation functionality using paypal natively

2014-09-20 Thread vitthal khatpe


I want to implement the Donation functionality using Paypal for a android 
application which is generating donation for a cause. There are three 
options to implement 

1) Using Native SDK 

2) Using webview 

3) Redirect to webpage on browser

If i go with the first option, then it is possible to replace the button (*Buy 
a Thing*) with label '*Donate*' shown in sample application of Paypal Paypal 
sample app for integrating SDK in native app 






As i am using the donation option in native app instead of In App Purchase. 
In this case, Will Google suspend my application from Google play store?.

If above case is true, In that case, do i have to go with the second option 
(WebView) OR this webview option is also not possible as it is also the 
part of native application.

And Hence i have to redirect a user to the browser for a donation if above 
options are not true.

Please let me know the correct option.

Thanks in Advance.




-- 
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/d/optout.


[android-developers] Bluetooth devices connected list - getConnectedDevices()

2014-09-20 Thread Dave Truby
This call is for bluetooth low energy connections. Are you sure you have a low 
energy device connected? It looks like you are connecting a mouse, I'm not sure 
that is a low energy device.

-- 
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/d/optout.


[android-developers] thumbnail image of image in gallery

2014-09-20 Thread nemi chhimpa
hi,
i want to load images from folder in gallery. but i am facing problem in
finding a thumbnail of a image.
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/d/optout.


Re: [android-developers] Is it possible to intercept taps on android?

2014-09-20 Thread s_ali
not exactly...what I want is that, whenever the default contacts 
application of android is accessed by the user or any application, the 
background service should be able to detect it. I need help in creating 
such kind of service.

On Saturday, September 20, 2014 11:59:52 AM UTC+5, d3x0r wrote:
>
> sounds like catching Intents?
>
> On Fri, Sep 19, 2014 at 11:37 PM, s_ali > 
> wrote:
>
>> I want to create a service that will run in background. Whenever user tap 
>> Contacts/Address book, the service should be able to recognize it and 
>> displays a message or whatever. How can I do this?
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-d...@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/d/optout.
>>
>
>

-- 
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/d/optout.


[android-developers] Re: Bluetooth devices connected list - getConnectedDevices()

2014-09-20 Thread pdm-tex
Please check your API 18 for BLE support.  There is also an app called BLE 
checker.that you could try.

On Friday, September 19, 2014 12:09:16 PM UTC-4, pedr0 wrote:
>
> I am developing an application which runs on a API 18 device.
>
> This snippet of code gives me back a empty list : 
>
> public static boolean isBTMouseAttached(Context context) 
> 
> 
> 
> { 
> 
> 
>
> Log.i("Mumble", "isBTMouseAttached"); 
> 
> 
>
> BluetoothManager mBluetoothManager = (BluetoothManager) 
> context.getSystemService(Context.BLUETOOTH_SERVICE); 
> 
> 
> for (BluetoothDevice item : mBluetoothManager.
> getConnectedDevices(BluetoothProfile.GATT))   
> 
>  
> { 
> 
> 
>
> Log.i("Mumble", "Name : " + item.getName()); 
> 
> 
> 
> if (deviceIsExternalMouse(item)) 
> 
> 
> 
> return true; 
> 
> 
> 
> } 
> 
> 
>
> return false; 
> 
> 
>
> }  
>
> Someone has any idea about why ?
>

-- 
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/d/optout.


Re: [android-developers] Physical address is required for paid apps or in-app purchases

2014-09-20 Thread jtoolsdev
As one of the developers whose software was pirated a couple years back 
(wondered where all those millions of dollars went) Google provided my 
address to the FBI who sent the same letter than they emailed me and a 
pamphlet about their anti-piracy activities.  DHS should  have no problem 
getting your home address.  There is really no need to post the developer's 
physical address because Google already has it.  This is probably a 
mis-management issue (as if Google doesn't have a lot of those).

On Friday, September 19, 2014 4:58:57 PM UTC-7, Mark Phillips wrote:
>
> Dallas,
>
> I completely agree. 
>
> The only reason I can think they want this information is for Homeland 
> Security or something related. When one rents a box at MBE or the PO, one 
> has to show valid id like driver's license or passport or something with a 
> photo. If you app incites riots or takes over an airplane and holds the 
> passengers for ransom, then they know where you live and how to find you. 
> It can't be to send you a monthly check.;)
>
> Mark
>
> On Fri, Sep 19, 2014 at 4:12 PM, Dallas Singletary  > wrote:
>
>> Completely understand what your are saying Mark. Sorry I misunderstood, I 
>> was just stating that per Google(Via Email), I could not use my PO Box I 
>> would need to add a home/business address with a street number and name. 
>> For me, I will just use my local post offices' address and put C/O General 
>> Delivery and just go pick the mil up from the post office so I don't have 
>> to expose my home address. I am a Google & Android Enthusiast but,this is 
>> kinda an unnessery pain for Developers.
>>
>> Best Regards,
>> Dallas 
>> On Sep 19, 2014 6:35 PM, "Mark Phillips" > > wrote:
>>
>>> The PO Box I meant has a physical address. For example, Mailboxes Etc 
>>> and many other similar places offer a real street address and suite number. 
>>> No different than any other business address. I did not mean a box at the 
>>> Post Office. MBE charges about $13/month for the smallest personal box. 
>>> There are other similar stores that cost less. And you can call to see if 
>>> you have any mail, so you don't have to go there until someone sends you a 
>>> letter bomb...;)
>>>
>>> I totally understand that this is an onerous pain-in-the*** hoop that we 
>>> have to jump through. Just one more reason to dislike Google. However, as I 
>>> have seen over the years on this list, it is VERY hard to argue with 
>>> Google, let alone find a way to start a discussion. So, I was just trying 
>>> to provide a helpful suggestion to meet the requirements of the new rule.
>>>
>>> Mark
>>>
>>> On Fri, Sep 19, 2014 at 2:31 PM, Dallas Singletary >> > wrote:
>>>
 It has to be a PHYSICAL ADDRESS no PO BOXES  and I can't find out were 
 to add the address I don't see a place in settings to add an address. Of 
 course you could use your local post offices address and just put C/O 
 General Delivery 
 On Sep 19, 2014 5:21 PM, "Kostya Vasilyev" >>> > wrote:

> Not just a blatant privacy violation.
>
> They're putting developers' lives at risk.
>
> Not every developer lives in relatively safe place like the US, or 
> Western Europe. The world is larger than that, and there are places where 
> criminal activity is relatively high.
>
> It's quite easy for someone to do the math, multiplying an app's price 
> by its install count, and then to pay a visit to the developer -- with 
> the 
> intent of extortion, racket, theft, or other criminal activity.
>
> A PO box won't work for me personally, and Google may not accept them 
> either.
>
> -- K
>
>
> 2014-09-20 1:00 GMT+04:00 Mark Phillips  >:
>
>> Rent a post office box near where you live. Then call it a suite in 
>> your address. You can pick up the mail once a week. Not a big deal.
>>
>> I completely agree about the privacy issue with using your home 
>> address. I wouldn't use my home address, nor my private email address. 
>>
>> Mark
>> On Sep 17, 2014 11:24 PM, "nagamatu" > 
>> wrote:
>>
>>> Dear Android Developers,
>>>
>>> I got the following notification at Google play Developer Console.
>>>
>>> | Add a physical contact address Beginning September 30, 2014, you 
>>> need to add a physical address
>>> | to your Settings page. After you've added an address, it will be 
>>> available on your app's detail page to
>>> | all users on Google Play. If your physical address changes, make 
>>> sure to update your information on
>>> | your Settings page. 
>>>
>>> | If you have paid apps or apps with in-app purchases, it's 
>>> mandatory to provide a physical address 
>>> | where you can be contacted. If you don't provide a physical 
>>> address on your account, it may result in
>>> | your apps being removed from the Play Store.
>>>
>>> I do not want to disclose my