[android-developers] Re: Geocoder nightmare

2011-07-02 Thread Ali Chousein
Your code should work without problems. I use very similar code in my application and it just works. For Geocoder you need to set android.permission.INTERNET in your manifest file. Did you do this? -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ On Jul

[android-developers] Re: problem with spinner.setOnItemClickListener

2011-07-02 Thread Zsolt Vasvari
The error is related to the ADB and not to your code. Does a Hello World app work for you? On Jul 3, 7:41 am, אריאל wrote: > Hello Everybody, > > Whats the problem with this code? > > private ListView lv1; >  private String > lv_arr[]={"Android","iPhone","BlackBerry","AndroidPeople","J2ME", > "

Re: [android-developers] Re: Application Ranking?

2011-07-02 Thread Marc Lester Tan
Hi Felix, Although it will not really check for your app's ranking but it will give you the list of top 100 apps/games in the Android market as well as their stats for the previous days. http://www.appalert.co Cheers, *Marc Lester Tan * http://www.appalert.co http://moonphase.pendukosoftware.c

[android-developers] Re: Application Ranking?

2011-07-02 Thread Felix Garcia Lainez
Ahhh... Ok.. I was thinking on a fixed ranking by country like AppStore. If there are more variables like carrier, device, etc then i understand is possible that there are not tools for that.. About searching manually the position i had already thought about that :) Thanks! On 2 jul, 19:38, John

[android-developers] Re: MapView Overlay problem

2011-07-02 Thread Felix Garcia Lainez
Ok thanks! I will take a look.. On 1 jul, 17:34, Kostya Vasilyev wrote: > TraceView and dmtracedump: > > http://developer.android.com/guide/developing/debugging/debugging-tra... > > 01.07.2011 19:26, TreKing ?: > > > > >     How should i profile this case? Really as i said there is not > >  

[android-developers] Microphone interface location

2011-07-02 Thread Tancho
Hi, I am trying to design an audio filter for the in voice audio coming from the device just before it is being sent to the radio, but I got a bit lost in the glue code in between. Does anyone know where this section of the code is located? I'd like to add some button or similar in the in-call scr

[android-developers] problem with spinner.setOnItemClickListener

2011-07-02 Thread אריאל
Hello Everybody, Whats the problem with this code? private ListView lv1; private String lv_arr[]={"Android","iPhone","BlackBerry","AndroidPeople","J2ME", "Listview","ArrayAdapter","ListItem","Us","UK","India"}; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContent

[android-developers] Crash Reports - ACRA v4 is now stable

2011-07-02 Thread Kevin Gaudin
Hi ! I’m really pleased to let you know that ACRA v4 is now declared stable! As usual, a quick reminder for those of you who don’t know ACRA yet: ACRA ( http://acra.googlecode.com) is an opensource library (apache license => free to use in any app) allowing your applications to send detailed cra

[android-developers] Re: Urgent need for SAP Functional FI/CA Consultant@CA

2011-07-02 Thread gjs
please stop the spam this is nothing to do with android On Jul 2, 5:40 am, vikram murari wrote: > ** ** > > ** ** > > ** ** > > Hi, > Greeting’s > > Reply to mvik...@sureitinc.com  and vik.sur...@gmail.com. > > ** ** > > ** ** > > Position: SAP Functional FI/CA Consultant > > Location: To

[android-developers] Re: Urgent need for Hyperion HFM Consultant@CA

2011-07-02 Thread gjs
please stop the spam this is nothing to do with android On Jul 2, 5:45 am, vikram murari wrote: > ** > >  ** > > ** ** > > Hi, > Greeting’s > > Reply to mvik...@sureitinc.com  and vik.sur...@gmail.com. > > ** ** > > Position: Hyperion HFM Consultant > > Location: Mountain View, CA > >

[android-developers] Re: Multiple MapViews and MapActivities

2011-07-02 Thread gjs
Hi, I have done what you describe previously to make an auto rotating Map view based on compass direction - using a ViewGroup and View.draw(). Yes you don't know when the map tiles have been returned but in general this does not matter if you keep rendering it in a loop - in my case when compass d

Re: [android-developers] Listview notification?

2011-07-02 Thread Simon Platten
Ok, Thank you, that makes sense, I'll have a play and see what I can come up with. On 02/07/2011 9:13 PM, Kostya Vasilyev wrote: This has to do with "list view item recycling". Here is a good tutorial with pictures: http://android.amberfog.com/?p=296 -- Kostya 03.07.2011 0:10, Simon Platten

[android-developers] Re: Help in writing a graphical/game app

2011-07-02 Thread RichardC
Hi, Try the ReplicaIsland blog at http://replicaisland.blogspot.com/ some of the early posts discuss different rendering methods. The app(s) used to check the rendereing performance were posted and the complete game is open source. On Jul 2, 3:21 pm, dashman wrote: > I'm an experienced develop

Re: [android-developers] Video Codec integration -Android help===============

2011-07-02 Thread NaveenShrivastva
On Sat, Jul 2, 2011 at 2:18 PM, NaveenShrivastva < kumarnaveen.si...@gmail.com> wrote: > > > On Thu, Jun 30, 2011 at 9:14 PM, Mark Murphy wrote: > >> On Thu, Jun 30, 2011 at 11:23 AM, naveen kumar >> wrote: >> > I am able ndk interface with android code. >> > >> > please some one help me how to i

Re: [android-developers] String.split(regex) behaving funny

2011-07-02 Thread Sachin Dole
Thanks! On Jul 2, 2011 2:37 PM, "Kostya Vasilyev" wrote: > The vertical bar has special meaning in Java regular expressions. > > Use split("\\|") instead. > > -- Kostya > > 02.07.2011 23:24, doles пишет: >> Hello Everybody, >> >> On 3.1, I have a string like this: >> 130097|2.AQBZGBy6H.600.109.3-4

Re: [android-developers] Listview notification?

2011-07-02 Thread Kostya Vasilyev
This has to do with "list view item recycling". Here is a good tutorial with pictures: http://android.amberfog.com/?p=296 -- Kostya 03.07.2011 0:10, Simon Platten ?: Mark, When my activity starts the listview is populated and each list view consits of the following row: http://schema

Re: [android-developers] Listview notification?

2011-07-02 Thread Simon Platten
Mark, When my activity starts the listview is populated and each list view consits of the following row: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="?android:attr/listPreferredItemHeight" andro

Re: [android-developers] String.split(regex) behaving funny

2011-07-02 Thread Kostya Vasilyev
The vertical bar has special meaning in Java regular expressions. Use split("\\|") instead. -- Kostya 02.07.2011 23:24, doles пишет: Hello Everybody, On 3.1, I have a string like this: 130097|2.AQBZGBy6H.600.109.3-4061710|SLC2X7cz9e5-3J68Q . It looks like 3 parts separated by a '|'. So, whe

Re: [android-developers] String.split(regex) behaving funny

2011-07-02 Thread Mark Murphy
http://hoskinator.blogspot.com/2006/11/trouble-using-pipe-with-stringsplit.html. On Sat, Jul 2, 2011 at 3:24 PM, doles wrote: > Hello Everybody, > On 3.1, I have a string like > this: 130097|2.AQBZGBy6H.600.109.3-4061710|SLC2X7cz9e5-3J68Q . It looks like > 3 parts separated by a '|'. So, when I u

[android-developers] Re: String.split(regex) behaving funny

2011-07-02 Thread doles
never mind. it slipped my mind that | is a regex control character, so i had to escape it in my pattern. -- 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 unsubscrib

[android-developers] String.split(regex) behaving funny

2011-07-02 Thread doles
Hello Everybody, On 3.1, I have a string like this: 130097|2.AQBZGBy6H.600.109.3-4061710|SLC2X7cz9e5-3J68Q . It looks like 3 parts separated by a '|'. So, when I use split on it like this: String [] parts = accessToken.split("|"); I expect parts to be of length 3. Surprisingly, when i run an

[android-developers] Html-style links inside ListView items

2011-07-02 Thread nadam
I've read many posts about the problem with having links inside ListView items. The suggestions include: - setText(Html.fromHtml(textWithHtmlLinks)) - setAutoLinkMask(Linkify.WEB_URLS) - setMovementMethod(LinkMovementMethod.getInstance()) However, I can't get any combination of the above to work.

Re: [android-developers] Geocoder nightmare

2011-07-02 Thread TreKing
On Sat, Jul 2, 2011 at 11:53 AM, bob wrote: > Is there any version of the emulator where this code does not give a weird > exception? > A: You should explain "weird exception". B: Did you try Googling for this issue? "Android Geocoder Emulator" should give you plenty of information to start with

[android-developers] Re: Application Ranking?

2011-07-02 Thread John Coryat
One problem with "rank" is it can change depending on your location, carrier or even device. You can get an idea of what a rank for an app is by going into the market, selecting "all apps" and start counting, manually, until you find the app your interested in. That's pretty painful, especiall

[android-developers] Re: Application Ranking?

2011-07-02 Thread Felix Garcia Lainez
Nobody knows about some site/tool to check in which position is any app on market? It should be very common, no? On 29 jun, 13:38, Felix Garcia Lainez wrote: > Hi, > > Is there any web site i could find out what is the ranking of my > application on Android Market? For instance on iPhone i use th

Ang.: Re: [android-developers] Password protect an app

2011-07-02 Thread Jump
Ah, an inactivity timeout, seems like a good enough solution. Thank you guys! -- 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 ema

Re: [android-developers] Password protect an app

2011-07-02 Thread Mark Murphy
On Sat, Jul 2, 2011 at 1:03 PM, Jump wrote: > I want to password protect my app so that whenever any activity that is > owned by my app's process no longer is in the foreground and then comes back > into foreground there should be a "enter password" dialogue. > Is this possible? IMHO this is a po

Re: [android-developers] Password protect an app

2011-07-02 Thread Kostya Vasilyev
I wouldn't think it's hard to find - onStart or onResume seem pretty natural for this kind of thing. Combine it with some sort of timeout check, so the user can freely navigate the application once he logs in. -- Kostya Vasilyev 02.07.2011 21:04 пользователь "Jump" написал: > Hello > > I want to

[android-developers] Password protect an app

2011-07-02 Thread Jump
Hello I want to password protect my app so that whenever any activity that is owned by my app's process no longer is in the foreground and then comes back into foreground there should be a "enter password" dialogue. Is this possible? It's hard to find a place in code to show the dialogue due t

[android-developers] Geocoder nightmare

2011-07-02 Thread bob
I've been playing around with Geocoder stuff, and it is a nightmare. Nothing works. Is there any version of the emulator where this code does not give a weird exception? import java.io.IOException; import java.util.List; import android.app.Activity; import android.location.Address; import and

[android-developers] Re: ffmpeg解码P帧,

2011-07-02 Thread Breakan
在这个论坛里用英语比较实用。:-) On 7月2日, 下午2时38分, 晴风 wrote: > 我的需求是: > 1.我有一个直播流,编码是h263,我可以准确取到每一帧的数据。 > 2.帧的排列是 II. > 3.我用jni调用ffmpeg的来实现转码成h264。 > 4.每次调用ffmpeg送一帧数据,转码之后传回来。送的数据大部分都是P帧。 > > 疑问: > 1。如果我送I帧去解码编码是可以。如果我直接送一个P帧去解码编码,可以吗?编码出来的是P帧吗?编码出来的P帧可以参照到前面的I帧吗? > 2。如果上面的不能实现,那还有别的办法实现吗?具体怎么操作呢?

[android-developers] Re: what is the difference between an "Install" and an "active install"?

2011-07-02 Thread Spooky
On Jul 2, 8:46 am, Kostya Vasilyev wrote: > No, both are good, but active installs are better. > > Still, I'm with Raghav on not worrying about them too much - especially > if you have a paid app, focus on your orders instead. Not a paid app, but right now, I'm focusing on the one rating I have (

Re: [android-developers] Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-02 Thread Mark Murphy
On Sat, Jul 2, 2011 at 10:01 AM, Phil Haigh wrote: > Thanks for the hint Mark, I've not tried it on the galaxy tab yet... > fragments are top of the list of things to pick up next. Be careful -- their edges may be sharp. :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github

Re: [android-developers] Listview notification?

2011-07-02 Thread Mark Murphy
On Sat, Jul 2, 2011 at 10:14 AM, Simon Platten wrote: > I can't call rotateThumbnail directly from getView as it is the result of an > onClick from one of the buttons also in the view for that item. Then why are you expecting your images to be rotated when you return a row from getView(), if you

[android-developers] Help in writing a graphical/game app

2011-07-02 Thread dashman
I'm an experienced developer and am thinking of writing a simple 2/3d game - am familiar with 3d programming etc. I'd like some suggestions as to what api is preferred. what technology should i use. -- You received this message because you are subscribed to the Google Groups "Android Developers

Re: [android-developers] Listview notification?

2011-07-02 Thread Simon Platten
I can't call rotateThumbnail directly from getView as it is the result of an onClick from one of the buttons also in the view for that item. The ImageView that is rotated is from the array that the list view uses. On 02/07/2011 2:42 PM, Mark Murphy wrote: You are not calling rotateThumbnail()

Re: [android-developers] Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-02 Thread Phil Haigh
Thanks for the hint Mark, I've not tried it on the galaxy tab yet... fragments are top of the list of things to pick up next. On Jul 2, 2011 2:23 PM, "Mark Murphy" wrote: > Note that nested PreferenceScreen elements haven't looked good on > Honeycomb when I've tried them. You may also wish to cons

Re: [android-developers] Re: what is the difference between an "Install" and an "active install"?

2011-07-02 Thread Kostya Vasilyev
No, both are good, but active installs are better. Still, I'm with Raghav on not worrying about them too much - especially if you have a paid app, focus on your orders instead. And according to this: http://www.google.com/support/androidmarket/developer/bin/static.py?page=known_issues.cs >>

Re: [android-developers] Listview notification?

2011-07-02 Thread Mark Murphy
You are not calling rotateThumbnail() in getView(). On Sat, Jul 2, 2011 at 9:39 AM, Simon Platten wrote: > I believe thats exactly what I'm doing: > >        public View getView(int position, >                            View convertView, >                            ViewGroup parent) { >        

Re: [android-developers] Listview notification?

2011-07-02 Thread Simon Platten
I believe thats exactly what I'm doing: public View getView(int position, View convertView, ViewGroup parent) { View v = convertView; if (v == null) { LayoutInflater vi = (LayoutInflater)getS

Re: [android-developers] Re: what is the difference between an "Install" and an "active install"?

2011-07-02 Thread Raghav Sood
I wouldn't be too worried about the numbers. The market functions as and when it feels like and is not very accurate. On Sat, Jul 2, 2011 at 7:00 PM, Spooky wrote: > On Jul 2, 8:22 am, Kostya Vasilyev wrote: > > > "active install" = "install" "installed, used for while, then > > uninstalled" >

[android-developers] Re: what is the difference between an "Install" and an "active install"?

2011-07-02 Thread Spooky
On Jul 2, 8:22 am, Kostya Vasilyev wrote: > "active install" = "install" "installed, used for while, then > uninstalled" So, "installs" is bad, "active installs" is good, then, right? Ouch. Thanks, --jim -- 73 DE N5IAL (/4)| DMR: So fsck was originally called spooky1...@gmail.com

[android-developers] Re: Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-02 Thread Phil H
Ah, sorry, forgot to put the R.xml.preferences_a and R.xml.preferences_b in that onCreate! -- 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 gro

Re: [android-developers] what is the difference between an "Install" and an "active install"?

2011-07-02 Thread Kostya Vasilyev
"active install" = "install" "installed, used for while, then uninstalled" That's the idea, anyway. 02.07.2011 17:12, Spooky пишет: In the developer's console, what is the difference between an "install" and an "active install" ? Thanks, --jim -- 73 DE N5IAL (/4)| DMR: So fsck w

Re: [android-developers] Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-02 Thread Mark Murphy
Note that nested PreferenceScreen elements haven't looked good on Honeycomb when I've tried them. You may also wish to consider how you will approach this when you switch to PreferenceFragments going forward. On Sat, Jul 2, 2011 at 9:18 AM, Phil H wrote: > Yes, the first two options are a bit unp

Re: [android-developers] Listview notification?

2011-07-02 Thread Mark Murphy
On Sat, Jul 2, 2011 at 9:07 AM, Simon Platten wrote: > I have a listview which has an ImageView in each item and a couple of > buttons.  The buttons allow the user to rotate the image clockwise and > counter clockwise by 90 degrees on each press.  This works find and the > ImageView is rotated, ho

Re: [android-developers] Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-02 Thread Phil H
Yes, the first two options are a bit unpleasant, and as for the third, well its an option but I couldn't help feeling there had to be a better way. After some more thought I ended up adopting a slightly different approach altogether. I took out the two mutually exclusive sets of preferences and

[android-developers] what is the difference between an "Install" and an "active install"?

2011-07-02 Thread Spooky
In the developer's console, what is the difference between an "install" and an "active install" ? Thanks, --jim -- 73 DE N5IAL (/4)| DMR: So fsck was originally called spooky1...@gmail.com| something else. http://jdgapps.com/ | Q: What was it called? < Running FreeBSD 7.

[android-developers] Listview notification?

2011-07-02 Thread Simon Platten
I have a listview which has an ImageView in each item and a couple of buttons. The buttons allow the user to rotate the image clockwise and counter clockwise by 90 degrees on each press. This works find and the ImageView is rotated, however if I scroll the item off view, when I scroll it back int

[android-developers] Re: Async Task

2011-07-02 Thread NikolaMKD
In doInBackground do processes/operation that require no updating on the UI. On postExecute always do the updates on the UI. Remember that resources must be available everytime. Let me show you something from my apps what I mean by the updates on UI from non-ui thread protected class UpdateUi

Re: [android-developers] Async Task

2011-07-02 Thread NaveenShrivastva
On Sat, Jul 2, 2011 at 3:20 PM, naveen kumar wrote: > hi all, > > i have multiple long process for one activity, i want to many process > with multiple thread in android. > > i want to use Async task please help me Async task Simultaneous handle > multiple process or One activity is able to execut

Re: [android-developers] Turn off Spell Check [Not Autocorrect]

2011-07-02 Thread Mark Murphy
This would be a question for your carrier, or HTC, or an end user forum (e.g., android.stackexchange.com). FWIW, there is no "spell check" in stock Android, AFAIK. On Sat, Jul 2, 2011 at 1:23 AM, MattClark wrote: > Software Version: 2.76.651.4 > Android Version: 2.3.3 > HTC Sense Version: 2.1 > >

[android-developers] Async Task

2011-07-02 Thread naveen kumar
hi all, i have multiple long process for one activity, i want to many process with multiple thread in android. i want to use Async task please help me Async task Simultaneous handle multiple process or One activity is able to execute more than one async task or one Activity have only one async ta

Re: [android-developers] Re: factory reset tips

2011-07-02 Thread Filip Havlicek
You don't have to synchronize your phone contacts with gmail (I, for example, don't do that). 2011/7/2 Ali Chousein > Do you need to backup your contacts in this case? I would guess that > your contacts are also in your G-mail and once you synchronize your > phone with your G-mail again, you sho

[android-developers] help for audio sensor?

2011-07-02 Thread Hitendrasinh Gohil
Hi, I am able to record audio.But i want to do that when there is some voice or noise mediarecorder start recording automatically on basis of voice and when there is silence it stops recording audio. how can i do it? -- You received this message because you are subscribed to the Google Groups "A

Re: [android-developers] Video Codec integration -Android help===============

2011-07-02 Thread NaveenShrivastva
On Thu, Jun 30, 2011 at 9:14 PM, Mark Murphy wrote: > On Thu, Jun 30, 2011 at 11:23 AM, naveen kumar > wrote: > > I am able ndk interface with android code. > > > > please some one help me how to integrate codec interface with video > > and api. > > For NDK questions, please use the [android-ndk]

Re: [android-developers] Add move to SD Card option

2011-07-02 Thread Raghav Sood
Thanks for clearing it up, TreKing. Thanks On Sat, Jul 2, 2011 at 1:51 PM, TreKing wrote: > On Sat, Jul 2, 2011 at 2:57 AM, Raghav Sood wrote: > >> I am adding move to SD Card support for my apps. When I add >> android:installLocation="auto" to the manifest tag it requires me to edit >> the ta

Re: [android-developers] Add move to SD Card option

2011-07-02 Thread TreKing
On Sat, Jul 2, 2011 at 2:57 AM, Raghav Sood wrote: > I am adding move to SD Card support for my apps. When I add > android:installLocation="auto" to the manifest tag it requires me to edit > the target in defaut.properties to 8. It now builds for 2.2. This property did not exist until 2.2, thus

Re: [android-developers] Re: Three line ListView question

2011-07-02 Thread TreKing
On Sat, Jul 2, 2011 at 2:35 AM, Ali Chousein wrote: > Final note to others: > This is an Android question a novice asked. Don't make fun of it, because > it's not funny. If you don't know or don't wish to write a decent answer, > don't write your spam just to advertise the link to your published

[android-developers] Add move to SD Card option

2011-07-02 Thread Raghav Sood
HI I am adding move to SD Card support for my apps. When I add android:installLocation="auto" to the manifest tag it requires me to edit the target in defaut.properties to 8. It now builds for 2.2. Does this mean that my app (which currently supports 1.5 and above) will only run on 2.2? Or does th

[android-developers] Re: DoNut Eat

2011-07-02 Thread Ali Chousein
You need POI database which stores the location of shops selling Dunkin Donuts, I doubt that you'll be able to get such database for free and this group cannot help providing you with such information. You may try to contact companies selling maps. -- Ali Chousein Geo-Filtered Assistant ht

[android-developers] Re: factory reset tips

2011-07-02 Thread Ali Chousein
Do you need to backup your contacts in this case? I would guess that your contacts are also in your G-mail and once you synchronize your phone with your G-mail again, you should automatically get them on your phone. -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogs

[android-developers] Re: Three line ListView question

2011-07-02 Thread Ali Chousein
If I understand your question right, probably you need your own custom adapter for the listview. Something like below might work in your case. I copy-paste parts from my code, so you'll need to tweak it to make it run. Sketch of your listview mylistlayout.xml. ... /> .