[android-developers] Contact and Contact Provider in android codebase

2013-01-25 Thread santanu
Hi, I have separated Contact app and Contact Provider app from android 4.0.3 and installed successfully in mobile. Now I have created a contact entry using that Contact app and saw that the contact2.db is created in the following folder. *

Re: [android-developers] Save Data on server

2013-01-25 Thread TreKing
On Fri, Jan 25, 2013 at 1:32 AM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: i am making an app in which i have to save user registration on server ,how to do? How to do what? You just asked the vaguest, broadest question in the history of this forum.

Re: [android-developers] Search Query

2013-01-25 Thread ashwini vandanapu
ya, i read but i did not get any information. On Fri, Jan 25, 2013 at 11:37 AM, TreKing treking...@gmail.com wrote: On Thu, Jan 24, 2013 at 11:39 PM, ashwini vandanapu ashwini.vandan...@gmail.com wrote: I want to develop device search functionality. So how i have to implement Have you

Re: [android-developers] Search Query

2013-01-25 Thread skink
ashwini vandanapu wrote: ya, i read but i did not get any information. how come you read it and still didn't get any information? pskink -- -- 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] Re: Search Query

2013-01-25 Thread Tamilarasi Sivaraj
Hi, Have you used filterTextWatcher on addTextChangedListener method for edittext that's like, edittext_name.addTextChangedListener(filterTextWatcher); and implement that method Have you tried? Thanks, -- -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Save Data on server

2013-01-25 Thread Tamilarasi Sivaraj
Hi, Still which you have tried Have u tried the HttpURLConnection? 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

Re: [android-developers] Re: Search Query

2013-01-25 Thread ashwini vandanapu
ok thanq, but it is android device default feature, so i need implement same thing like to retrieve local device information and global information. On Fri, Jan 25, 2013 at 2:57 PM, Tamilarasi Sivaraj javapo...@gmail.comwrote: Hi, Have you used filterTextWatcher on addTextChangedListener

[android-developers] Re: Search Query

2013-01-25 Thread skink
Tamilarasi Sivaraj wrote: Hi, Have you used filterTextWatcher on addTextChangedListener method for edittext that's like, edittext_name.addTextChangedListener(filterTextWatcher); and implement that method Have you tried? Thanks, I think OP wants to use a built-in search dialog with

Re: [android-developers] Re: Search Query

2013-01-25 Thread ashwini vandanapu
Will u explain clearly. On Fri, Jan 25, 2013 at 3:07 PM, skink psk...@gmail.com wrote: Tamilarasi Sivaraj wrote: Hi, Have you used filterTextWatcher on addTextChangedListener method for edittext that's like, edittext_name.addTextChangedListener(filterTextWatcher); and implement

Re: [android-developers] Re: Search Query

2013-01-25 Thread ashwini vandanapu
Will you please explain clearly.. On Fri, Jan 25, 2013 at 3:07 PM, skink psk...@gmail.com wrote: Tamilarasi Sivaraj wrote: Hi, Have you used filterTextWatcher on addTextChangedListener method for edittext that's like, edittext_name.addTextChangedListener(filterTextWatcher); and

Re: [android-developers] Re: Search Query

2013-01-25 Thread Tamilarasi Sivaraj
ok Are you said about global infromation means it's a server information? On Friday, January 25, 2013 3:05:13 PM UTC+5:30, ashwini wrote: ok thanq, but it is android device default feature, so i need implement same thing like to retrieve local device information and global

Re: [android-developers] Re: Search Query

2013-01-25 Thread ashwini vandanapu
no, just check once android device search icon , let u know the functionality. On Fri, Jan 25, 2013 at 3:15 PM, Tamilarasi Sivaraj javapo...@gmail.comwrote: ok Are you said about global infromation means it's a server information? On Friday, January 25, 2013 3:05:13 PM UTC+5:30, ashwini

Re: [android-developers] Re: Search Query

2013-01-25 Thread skink
ashwini vandanapu wrote: Will you please explain clearly.. you will get all you want if you google for android search box pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Search Query

2013-01-25 Thread ashwini vandanapu
how can i get that one. On Fri, Jan 25, 2013 at 3:25 PM, skink psk...@gmail.com wrote: ashwini vandanapu wrote: Will you please explain clearly.. you will get all you want if you google for android search box pskink -- -- You received this message because you are subscribed to

Re: [android-developers] Re: Search Query

2013-01-25 Thread Tamilarasi Sivaraj
will you explain clearly what you want that will help easy to suggest the functionality On Friday, January 25, 2013 3:20:29 PM UTC+5:30, ashwini wrote: no, just check once android device search icon , let u know the functionality. On Fri, Jan 25, 2013 at 3:15 PM, Tamilarasi Sivaraj

Re: [android-developers] Re: Search Query

2013-01-25 Thread ashwini vandanapu
i need to develop device default search functionality. i saw in android sdk samples also but i did not find. On Fri, Jan 25, 2013 at 3:29 PM, Tamilarasi Sivaraj javapo...@gmail.comwrote: will you explain clearly what you want that will help easy to suggest the functionality On Friday,

Re: [android-developers] Re: Search Query

2013-01-25 Thread skink
ashwini vandanapu wrote: how can i get that one. don't really understand... just use search results from http://www.google.com/m?q=android+search+box pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: Search Query

2013-01-25 Thread ashwini vandanapu
yes, what you sent link, that is apt for my requirement thank you. On Fri, Jan 25, 2013 at 3:38 PM, skink psk...@gmail.com wrote: ashwini vandanapu wrote: how can i get that one. don't really understand... just use search results from http://www.google.com/m?q=android+search+box

Re: [android-developers] Re: Search Query

2013-01-25 Thread Nirav Parmar
Hi Ashwini, you want to implement this function for which Api level(s) ?? Search view is available Honeycomb(Api 11) and above.See this link http://developer.android.com/training/search/setup.html also, if you want this function to work below honeycomb also, you have to make it backward

[android-developers] Activity Dialog interaction

2013-01-25 Thread Bunty syed
Hi all, Hope doing well. Actually I have one activity class.There I overridden onUserInteraction method. Then I have one dialog which I am displaying on some button click in the activity. When the dialog is displayed on the activity when I am touching on the dialog,onUserInteraction method

[android-developers] Re: How to dynamically apply themes in Android

2013-01-25 Thread Dmitry
As I know, the only way to achieve it is to recreate your activity like this: final Intent intent = getIntent(); overridePendingTransition(0, 0); intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); finish(); overridePendingTransition(0, 0); startActivity(intent); and set your theme every time

[android-developers] ListView content thread sync cases

2013-01-25 Thread Bill Michaelson
I have a Service that runs a distinct Thread to update a list based on external events. This list is simultaneously used to back ListViews in associated Activities. The Activities may also update the list based on UI events. I need to provide appropriate synchronization. I have coded a

[android-developers] Re: How can this be done

2013-01-25 Thread dashman
Let me rephrase this. At run-time, how can I programmatically get the current android:color/textColorPrimary value (of the active theme). Then create a Drawable out of it. Thanks. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] what is does this mean in a call stack ? :/dev/ashmem/dalvik-jit-code-cache (deleted)

2013-01-25 Thread NimeshChanchani
I'm getting the following cal stack from a tombstone which results in a SIGSEGV ( signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad ) there's a suspicious */dev/ashmem/dalvik-jit-code-cache (deleted) * at the starting of the call stack. My question is what does

[android-developers] Re: StringBuilder.append( double ) throws ArrayIndexOutOfBoundsException

2013-01-25 Thread Mike Kelley
I just got a similar error report, ArrayIndexOutOfBoundsException within StringBuilder. Weird error, it is either a bug in StringBuilder or a VM/hardware glitch. StringBuffer is appending itemNotReady to an empty StringBuffer, 4.1.1 (phone is samsung.GT-I9300.m0). It's all local variables,

[android-developers] Re: Save Data on server

2013-01-25 Thread bob
Write a PHP script on the server that saves the data to a MySQL database. Then connect on port 80 and do a GET request to submit the info to that form. On Friday, January 25, 2013 1:32:35 AM UTC-6, Sadhna Upadhyay wrote: Hi Friends, i am making an app in which i have to save

Re: [android-developers] Account Query

2013-01-25 Thread krishna kumar
i have not credit card so if have then plz help me -- -- 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

Re: [android-developers] Re: Save Data on server

2013-01-25 Thread Larry Meadors
If you use a GET to write data, the HTTP police will spank you. GETs are for reads; POSTs (and DELETEs/PUTs for the REST purists) are for writes. :-) Larry On Fri, Jan 25, 2013 at 8:07 AM, bob b...@coolfone.comze.com wrote: Write a PHP script on the server that saves the data to a MySQL

[android-developers] Change Overscroll Glow Color in a theme

2013-01-25 Thread Nathan
I'll bet this is an easy question for those who are into styles and themes. What style/theme attributes do I need to change to change the color of the glow when the list view or scroll view reaches its limit. I've inherited from Holo Dark and managed to change the highlight color. However,

[android-developers] forum administrative issue

2013-01-25 Thread g...@deanblakely.com
The last two posts I have made on this forum did not get posted. The title had to do with ProgressDialog hangs in AsycTask. I posted correctly, twice, but never received the confirming email. When I set the filter for Threads I started, the two latest posts do not show. The older posts I

Re: [android-developers] Account Query

2013-01-25 Thread bob
I know in the U.S. you can get credit cards at the grocery store and load and re-load them. There are minor convenience fees, but it should work. On Friday, January 25, 2013 9:10:29 AM UTC-6, krishna wrote: i have not credit card so if have then plz help me -- -- You received this

[android-developers] In-app gives This version of the application is not configured for billing through Google Play - But it shouldn't

2013-01-25 Thread Paulo Cesar
Ok, I'm having the This version of the application is not configured for billing through Google Play on one of our apps. Sorry to ask this again, but I read more then 20 answers about this, and they always say the same things that I already checked: - The apk installed is signed with the

[android-developers] Re: Create bitmap from view but keep view

2013-01-25 Thread Streets Of Boston
Replied to it on StackOverflow. On Wednesday, January 23, 2013 9:24:09 PM UTC-5, Caio Ricci wrote: I found two ways of creating a Bitmap from a view. But once I do that, the view disappears and I can't use it anymore. How can I redraw the view after generating my bitmap? Please check the

[android-developers] Re: StringBuilder.append( double ) throws ArrayIndexOutOfBoundsException

2013-01-25 Thread Nobu Games
I think you should file a bug for that. It looks like something is going wrong on the native side of the SDK (System.arraycopy). And I also think that your problem is unrelated to the thread starter's problem. On Friday, January 25, 2013 8:54:43 AM UTC-6, Mike Kelley wrote: I just got a

[android-developers] Re: Translation using dictionary offline

2013-01-25 Thread Nobu Games
For that case you should use an SQLite database that contains a table for your words. The words table stores the word itself, a language code / identifier, a serial unique id for each word and any additional information you need (like word type, definition text etc). A minimum would look like:

[android-developers] ListView select a row

2013-01-25 Thread dashman
I have a ListView with a ListAdapter. When the user clicks on a row - i'd like to show that row as selected (i.e. hilighted). actually make it a toggle. how do i do that. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2013-01-25 Thread JackN
We can tell you're new to development, and spelling too. On Wednesday, July 22, 2009 10:28:50 AM UTC-7, astrocogz wrote: I'm new to this whole thing about being a developer but, if you think making your app hack safe and, your app's are not going to lose you your user base. Then say a

Re: [android-developers] ListView select a row

2013-01-25 Thread TreKing
On Fri, Jan 25, 2013 at 11:53 AM, dashman erjdri...@gmail.com wrote: I have a ListView with a ListAdapter. When the user clicks on a row - i'd like to show that row as selected (i.e. hilighted). actually make it a toggle. how do i do that. Keep the selection state as part of your data

[android-developers] Re: Change Overscroll Glow Color in a theme

2013-01-25 Thread Nathan
I have to amend my opening statement. This may not be an easy question. I looked at several prominent apps with their own color scheme where Holo Blue is not one of the colors. Nonetheless, a blue glow did appear when overscrolling. I looked at Amazon Kindle App, a rustic gray and orange

Re: [android-developers] ListView select a row

2013-01-25 Thread dashman
Thanks I will do that. There seems to be api for selectedIndex etc - but not sure what they're for?? How can I find the hi-light color (based on the current active theme). On Friday, January 25, 2013 1:46:06 PM UTC-5, TreKing wrote: On Fri, Jan 25, 2013 at 11:53 AM, dashman

Re: [android-developers] Re: android imageview stretch to background height and keep ratio

2013-01-25 Thread lbendlin
The quickest solution would be to create a custom imageview that extends imageview, and then handle the onLayout and onMeasure yourself. On Friday, January 25, 2013 12:59:38 AM UTC-5, Greenhand wrote: Because if I changed the two inner image views to match_parent, they will expand the

[android-developers] Re: Change Overscroll Glow Color in a theme

2013-01-25 Thread Kostya Vasilyev
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

[android-developers] Re: Change Overscroll Glow Color in a theme

2013-01-25 Thread Nathan
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:

Re: [android-developers] Re: android imageview stretch to background height and keep ratio

2013-01-25 Thread Piren
I've done many things exactly like that, worked fine for me. You can always just assign a specific height to the parent, it will prevent any child from expanding it. And can always just implement you own view that matches its size to its parent. Either way, by using wrap_content you'll never

Re: [android-developers] ListView select a row

2013-01-25 Thread Kostya Vasilyev
On Friday, January 25, 2013 11:57:17 PM UTC+4, dashman wrote: Thanks I will do that. There seems to be api for selectedIndex etc - but not sure what they're for?? They're for keeping track of user selected items. For example, listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE) will

[android-developers] Re: Translation using dictionary offline

2013-01-25 Thread bob
It sounds like you will want to use the HashMap class with the German word as the key and the English word as the value. On Thursday, January 24, 2013 2:23:00 AM UTC-6, sam jeck wrote: i am dealing with a mobile application where it should perform a translation of words which works

[android-developers] UnknownHostException is not logged

2013-01-25 Thread Boris Burtin
I was racking my brain, trying to figure out why one of my users was having trouble connecting and nothing was in the logs. Finally I looked at the Android source and realized that the logging code explicitly ignores UnknownHostException. Even worse, the Javadoc doesn't specify this

Re: [android-developers] UnknownHostException is not logged

2013-01-25 Thread Robert Greenwalt
I think the log was getting quite full of these exceptions (mobile devices often don't have a network and apps aren't so good at checking that first) so we stopped logging them. If you look at the blame for this code you can see the reasoning. On Fri, Jan 25, 2013 at 2:31 PM, Boris Burtin

Re: [android-developers] UnknownHostException is not logged

2013-01-25 Thread Robert Greenwalt
You can always do the dns lookup yourself and log an error if it's invalid. The DNS cache will ensure it's not wasted effort. On Fri, Jan 25, 2013 at 2:39 PM, Robert Greenwalt rgreenw...@google.comwrote: I think the log was getting quite full of these exceptions (mobile devices often don't

Re: [android-developers] UnknownHostException is not logged

2013-01-25 Thread Boris Burtin
Thanks for responding. I can see the reasoning. Just seems weird that the behavior isn't documented, and that there's no way for me to override it. I'll file a bug for updating the Javadoc. On Friday, January 25, 2013 2:40:10 PM UTC-8, Robert Greenwalt wrote: You can always do the dns

Re: [android-developers] ListView select a row

2013-01-25 Thread dashman
having trouble setting it. ListView android:id=@+id/listView android:listSelector=@android:drawable/activatedBackgroundIndicator android:layout_width=match_parent android:layout_height=match_parent /ListView not working - what am i doign wrong -- --

[android-developers] Clear Log

2013-01-25 Thread bob
Just to be clear, when you click the Clear Log button in the Logcat View, this doesn't issue adb logcat -c, right? It pretty much does nothing to the deviceā€¦ just blanks the Eclipse Window, right? -- -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] ListView select a row

2013-01-25 Thread Kostya Vasilyev
You need to set this on list items as the background, not on the list view. And the syntax is ?android:attr/blahblah, you want to reference a theme attribute. -- K 2013/1/26 dashman erjdri...@gmail.com: having trouble setting it. ListView android:id=@+id/listView

Re: [android-developers] ListView select a row

2013-01-25 Thread dashman
here's what i'm trying now - in my theme file style name=AppBaseTheme parent=android:Theme.Holo.Light !-- API 11 theme customizations can go here. -- item name=my_color?android:attr/selectableItemBackground/item /style where my_color is defined in attrs.xml as

Re: [android-developers] Re: android imageview stretch to background height and keep ratio

2013-01-25 Thread Greenhand
I followed your advice to create a MyImageView class: public class MyImageView extends ImageView{ private static final String TAG = MyImageView.class.getSimpleName(); public MyImageView(Context context, AttributeSet attrs) { super(context, attrs); } @Override protected void onMeasure(int

Re: [android-developers] Re: android imageview stretch to background height and keep ratio

2013-01-25 Thread skink
Greenhand wrote: To Piren: Thank you. Assigning a specific height to the parent works. The drawback is doing so is a little like hard code. I would like a way to let android resize them dynamically since not all sreen widths are the same. did you specify the height as XXXpx? if so, use