[android-developers] Google Play Questions

2013-12-09 Thread Michael
The simple answer to question 1 is no. Once a user posts a written review then 
you have the power to reply to the review. Everyone will be able to see your 
reply. 

As for question 2, Google does not like the use of keywords. It is best to 
write a very detailed description of your application. The description is part 
of the search results. Try not to use names of other apps in your description 
because I have seen Google treat that as using keywords. As people find your 
app and install it, the app will move up the search results. 

Mike

-- 
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] how to add popup window on other popup window

2013-12-09 Thread TreKing
On Mon, Dec 9, 2013 at 12:15 AM, Amit Mangal forum.amit.man...@gmail.comwrote:

 Hi there,

 I am having a popupwindow on activity. this popup window having one
 button, onclicking button i have to open one other popup window which is
 having a list view for selecting item.
 when i am trying to add another popupwindow whihc is having list view app
 is crashing with error ?

  FATAL EXCEPTION: main
 java.lang.IllegalStateException: The specified child already has a parent.
 You must call removeView() on the child's parent first.
 at android.view.ViewGroup.addViewInner(ViewGroup.java:1976)
 at android.view.ViewGroup.addView(ViewGroup.java:1871)
  at android.view.ViewGroup.addView(ViewGroup.java:1851)

 any body knows how to add a popup window on other popupwindow

 thanks


You should post more code, but your exception occurs when you add a child
to a two different parents. So figure out where you're doing that.

Example:
LinearLayout layout1 = ...
LinearLayout layout2 = ...
TextView child = ...

layout1.addView(child); // OK
layout2.addView(child); // Crashy crashy, child already has a parent

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


Re: [android-developers] Retrieving Contacts from ContactsList device

2013-12-09 Thread Thiago Turim
seeing the same number over and over again. I found that it is
acoount_name different, but de AccountManager.getAccounts not return it;


On Tue, Nov 19, 2013 at 1:49 PM, Turim turim_thi...@hotmail.com wrote:

 I need to retrive the contacts from device, but i need the contacts from
 ContactsList aplication.

 I'm get que Contacts:

 Cursor cursor = cr.query(ContactsContract.Contacts.CONTENT_URI, new
 String[] { ContactsContract.Contacts._ID,
 ContactsContract.Contacts.DISPLAY_NAME,
 ContactsContract.Contacts.HAS_PHONE_NUMBER },
 ContactsContract.Contacts.IN_VISIBLE_GROUP +  = ?, new String[] { 1 },
 null);

 Ok, this way I have contacts. But when i get de details, phone number, for
 example. Show repeated numbers:

 Cursor cursor =
 context.getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI,
 null,
  ContactsContract.CommonDataKinds.Phone.CONTACT_ID +  = ?, new String[]
 { String.valueOf(contato.getAndroidId()) },
 ContactsContract.CommonDataKinds.Phone.NUMBER +  COLLATE LOCALIZED ASC);

 why this happens?

 I need to retrive the contacts and details as the ContactsList application
 device.


 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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/OhfFF4tqPzg/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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] Re: Change Overscroll Glow Color in a theme

2013-12-09 Thread Menny
You can try this (it's a hack, I know):

int glowDrawableId = 
context.getResources().getIdentifier(overscroll_glow, drawable, 
android);
Drawable androidGlow = 
context.getResources().getDrawable(glowDrawableId);
androidGlow.setColorFilter(brandColor, PorterDuff.Mode.MULTIPLY);

I took advantage of the fact that the glow effect is actually a shared 
Drawable and applied a filter on it: 
http://evendanan.net/android/branding/2013/12/09/branding-edge-effect/

On Friday, January 25, 2013 3:17:03 PM UTC-5, Nathan wrote:

 Thanks, that's a pretty good explanation of what I see. You get the 
 Android Style Guru title for today. 

 I'll consider this a system color and devote resources elsewhere. 

 Nathan

 On Friday, January 25, 2013 12:05:58 PM UTC-8, Kostya Vasilyev wrote:

 If you look here:


 https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/widget/EdgeEffect.java

 you'll see references (in the constructor) to R.drawable.overscroll_glow 
 and R.drawable.overscroll_edge, without a theme indirection.

 Those are included under android 
 sdk/platforms/platform-17/data/res/drawable-xhdpi (the -17 and -xhdpi 
 can vary of course), and they are holo blue.

 Now, is that what you actually see in the UI? It would appear so, e.g, 
 lines 620 and 625 below:


 https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/widget/AbsListView.java

 You see that Mr. Anderson?... That is the color of inevitability... 
 (lame, I know)



-- 
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] how to optimize reliability of gcm messages on 2G network?

2013-12-09 Thread ranjit R
I am using 2g network for Instant messaging .with payload less than 2kb..
 In 3g network success rate of receiving gcm messages is 10/10 with out 
queueing of messages in gcm messaged in GCM server.

In 2G network  here Is the problem 5/10 messages are received instantly 
other 5 goes in to queue I n GCM server ..
My question is 
As Google queue messages on gcm server When phone is idle. 
1 is there a callback to device when gcm message is queue in server.
 2 is there way to optimize gcm messages on 2g network 
3 when does gcm expire.
4 or is there better way of handling gcm message for 2G

-- 
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] how to optimize reliability of gcm messages on 2G network?

2013-12-09 Thread Mukesh Srivastav
I had the similar situation where in the GCM was not able to receive on 2G
and most of the time it failed. I have drawn a work around, since my
application deals with the Webservices, I have created  a new webservice
called Getgcmfromthedb, I am calling the same service before calling any
other services and updating the status back to 2 for READ and 3 for Process.





On Tue, Dec 10, 2013 at 10:27 AM, ranjit R ranjitr...@gmail.com wrote:

 I am using 2g network for Instant messaging .with payload less than 2kb..
  In 3g network success rate of receiving gcm messages is 10/10 with out
 queueing of messages in gcm messaged in GCM server.

 In 2G network  here Is the problem 5/10 messages are received instantly
 other 5 goes in to queue I n GCM server ..
 My question is
 As Google queue messages on gcm server When phone is idle.
 1 is there a callback to device when gcm message is queue in server.
  2 is there way to optimize gcm messages on 2g network
 3 when does gcm expire.
 4 or is there better way of handling gcm message for 2G

 --
 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] How to parse this json

2013-12-09 Thread Arun Kumar K
[
[
strServiceToken,
intVoteNowMemberID,
intAbort,
strInstallURL,
strImageURL
],
[
46D2BAB0-5AA0-481D-9D0A-B37C38CC962E,
2,
0,
,
http://xxx.xxx.com/VNImages/;
]
]

-- 
*Regards*
*Arun*

-- 
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] Cannot peek value from TypedArray

2013-12-09 Thread Y2i
I ended up creating a custom UI element and using 
obtainStyledAttributeshttp://developer.android.com/reference/android/content/res/Resources.Theme.html#obtainStyledAttributes(android.util.AttributeSet,
 
int[], int, int).  It is not exactly what I wanted but it works :)

On Monday, December 2, 2013 1:38:08 PM UTC-8, MagouyaWare wrote:

 Have you tried obtainAttributes?  I know it may not be what you want, but 
 if obtainAttributes works then that means there is something going on in 
 the logic of obtainStyledAttributes that is causing weird behavior... 
 Perhaps you found an Android bug...

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware



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