[android-developers] Proper way to setup app to notify user(if opt in) when new items are added to database

2015-04-06 Thread Dan Cha
So working on a app that will list inventory items for a few users.. IF the user opts to be notified, what is the proper way to implement such notifications? The app works via a webservice that allows the entry of items and also returns full list to the user when they select to view. What

Re: [android-developers] Proper way to setup app to notify user(if opt in) when new items are added to database

2015-04-06 Thread Justin Anderson
That would probably be a push notification On Mon, Apr 6, 2015, 4:23 PM Dan Cha cuban...@gmail.com wrote: So working on a app that will list inventory items for a few users.. IF the user opts to be notified, what is the proper way to implement such notifications? The app works via a

[android-developers] Android: Google drive integration, what is “com.google.android.gms.version”?

2015-04-06 Thread Ab
My application integrates with Google Drive using the old api, it does not include Google's library project (instead it includes a bunch of jars like 'google-api-client-1.12.0-beta.jar', 'google-api-services-drive-v2-rev59-1.12.0-beta.jar', etc...). This causes an issue because this line in

Re: [android-developers] Android: Google drive integration, what is “com.google.android.gms.version”?

2015-04-06 Thread Kostya Vasilyev
For what it's worth -- I've got 6111000 in my app right now (6.1.something) and the newest version is 7.0.something, works fine. There's got to be some backwards compatibility, but maybe it doesn't go quite as far as 6 - 4 (your 4030500) and the app-side library itself checks the installed Play

Re: [android-developers] Which layout(s) can help me ?

2015-04-06 Thread Justin Anderson
*Sounds like a LinearLayout with vertical orientation. The first item (top image) would have a layout_weight of 0.25 and layout_gravity of center_horizontal, the second (button) a weight of 0.75 and have layout_gravity = center.* I'm not sure he wants that top image to always take up 25% of the

Re: [android-developers] Android: Google drive integration, what is “com.google.android.gms.version”?

2015-04-06 Thread Kostya Vasilyev
This is the minimum required Google Play Services version. When a device has a lower version, the system will prompt the user to update via a status bar notification saying app XXX requires Google Play Services update (or some such), linked to Google Play app. -- K 2015-04-06 16:28 GMT+03:00

Re: [android-developers] Android: Google drive integration, what is “com.google.android.gms.version”?

2015-04-06 Thread Ab
If I hardcode it to some previous version number, such as 4030500, my app crashes with stack traces saying that version 658700 was expected. I'm wondering if my solution, importing the version.xml file, will prevent or result in crashes on devices with older versions and/or devices with newer