[android-developers] Deauthorizing account access in AccounManager

2010-04-25 Thread dadical
I'm wading through the poorly documented AccountManager API and am a bit confused on a few points. There's nothing like having to reverse- engineer public APIs :). Anyway, I'm curious about how to test the use of this API in an end-to- end fashion. One very tricky aspect of the account manager

[android-developers] Re: Progress bar is run after task completing

2010-04-25 Thread pramod.deore
Hello everybody again, Now my code runs in background anfd on foreground it shows progress bar.But now I want to show another screen after sendFileToServer method completes. I had tried followinfg but throws exception. Please help me how to to do this? public void onClick(View v) {

Re: [android-developers] Starting default calendar and contacts application

2010-04-25 Thread Anurag Singh
How you have open default mail client? I want to do same thing. -- Best Regards, Anurag Singh On Fri, Apr 23, 2010 at 4:49 PM, Tejas jasani.te...@gmail.com wrote: Hi, What basically i wanna do is I have got three buttons in my app, one for calendar, one for contacts and third for mail.

[android-developers] Re: Restlet librairies use in Android project

2010-04-25 Thread Jerome Louvel
Thanks for your feed-back! In version 2.0, we have added support for all caching headers in the Restlet API. See this page for the mapping table: http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/324-restlet/130-restlet.html It is threrefore very easily to retrieve all cache related

[android-developers] Re: Bluetooth stack becomes dead

2010-04-25 Thread Rafał Grzybowski
I've just installed 1.31.405.4 system update and it looks like fixed. On Apr 19, 6:08 pm, ssozonoff se...@sozonoff.com wrote: Hi, Well for the moment its even worse on the HTC Desire, I cant even connect to using the SPP profile!!! I need to spend a little more time to gather more info but

[android-developers] E-commerce payment gateway

2010-04-25 Thread Rajesh G
Hi All: Greetings !!!. We are developing an E-commerce application in Android where the users can view and select particular product and should make payments through the payment gateway. 1. Google checkout / Merchant center. 2. Paypal. 3. or Anyother . . . I would appreciate if I could get

[android-developers] hw home screen works.?

2010-04-25 Thread satish bhoyar
hi all, I need a help regarding HomeScreen. I was thinking hw the size of the Workspace is defined. LIke hw it streaches it self. is it a 9.png image or some thing else. please let me knw . if anyone have this information. thanks satish -- You received this message because you are subscribed

Re: [android-developers] Re: Lengthy question(s) on 2D graphics optimization

2010-04-25 Thread Jon mailinglists
On Sat, Apr 24, 2010 at 3:39 PM, Alan Carvalho de Assis acas...@gmail.com wrote: Hi Jon, On 4/24/10, Zsolt Vasvari zvasv...@gmail.com wrote: Can I suggest you to look at the source code of this game? http://code.google.com/p/replicaisland/ It's a great little 2d side scroller with well

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread Joël Bourquard
I got it for Titanium Backup (a tool for root users): http://www.cyrket.com/p/android/com.keramidas.TitaniumBackup/ Had around 10k downloads at the time. Now just got past 50,000 and a nice rating ;-) Switzerland - and no Nexus received here yet. Cheers, Joël On Apr 23, 1:15 pm, fhucho

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread Lim Sim
Titanium Backup is cool. On 25 April 2010 10:32, Joël Bourquard joel.bourqu...@gmail.com wrote: I got it for Titanium Backup (a tool for root users): http://www.cyrket.com/p/android/com.keramidas.TitaniumBackup/ Had around 10k downloads at the time. Now just got past 50,000 and a nice

[android-developers] Alarms/Wake Locks/Sound notification question

2010-04-25 Thread code_android_festival_way
Hello. I got a problem with my sound notifications not being sent while the screen is off and the device is unplugged from the charger. Here is the workflow: - Alarm Service gets fired every 30 seconds (well the timer can be adjusted) - The alarm starts a service which fires a sound and vibrate

[android-developers] Re: Problem XML : Bad XML Block

2010-04-25 Thread fjfdeztoro
Hey, i've found the solution, and the problem was Eclipse, the solution is so so simple: in Project Clean .. After that, i can execute the program, anyway, thank you so much for you answer. Have a nice day. :) -- You received this message because you are subscribed to the Google Groups Android

[android-developers] MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread henrik
Hi. I have a problem with MediaPlayer on my HTC Hero. When I set it to decrypt play a local file in the background, it starts skipping after a minute or two, even though I have aquired the PARTIAL_WAKE_LOCK. This only happens when the phone is running on battery: I'm unable to reproduce this

[android-developers] Re: Sending especial caracters (pause = ,) when calling with ACTION_CALL

2010-04-25 Thread Lee
Encoding # works fine. An encoded comma or semi-colon doesn't display and stops further parsing of the number at that point, as far as the phone app is concerned (Nexus here). You can manually add them with the phone app via the menu options but that doesn't help me much when the purpose is

[android-developers] Re: the problem about click item in listview

2010-04-25 Thread Paweł Zięba
Try this: mList.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView? parent, View v, int position, long id) { Toast.makeText(MainView.this, Id: + id + , pos: + position, Toast.LENGTH_SHORT).show(); } }); the

[android-developers] Always use the best Location Provider?

2010-04-25 Thread michael
Hello folks, I am developing a Service that uses location information. I want it to always use the best enabled LocationProvider according to a given Criteria object. For this I initially use the following method: LocationManager.getBestProvider(Criteria criteria, boolean enabledOnly) with

Re: [android-developers] Re: the problem about click item in listview

2010-04-25 Thread Reiny Song
hello, I try it, but there is no any response in listview. When I clicked the item in listview by mouse, the OnTouchListener, OnItemSelectedListener and OnTouchListener of the listview do not response to me. But when I selected the item in listview by scroll wheel, the OnItemSelectedListener

Re: [android-developers] Re: the problem about click item in listview

2010-04-25 Thread Reiny Song
sorry, I reply again, because of something lose. hello, I try it, but there is no any response in listview. When I clicked the item in listview by mouse, the OnTouchListener, OnItemSelectedListener,OnItemClickListener and OnTouchListener of the listview do not response to me. But when I

Re: [android-developers] Always use the best Location Provider?

2010-04-25 Thread Mark Murphy
michael wrote: I am developing a Service that uses location information. I want it to always use the best enabled LocationProvider according to a given Criteria object. For this I initially use the following method: LocationManager.getBestProvider(Criteria criteria, boolean enabledOnly)

[android-developers] Re: the problem about click item in listview

2010-04-25 Thread Paweł Zięba
Try methods from AdapterView instead of View: final AdapterView.OnItemClickListenergetOnItemClickListener() final AdapterView.OnItemLongClickListener getOnItemLongClickListener() final AdapterView.OnItemSelectedListener getOnItemSelectedListener() On 25 Kwi, 13:08, Reiny Song

[android-developers] Re: EditText resize problem

2010-04-25 Thread André
Ok, thanks. Do you know how to disable it only in landscape mode? André On Apr 24, 9:17 pm, Kumar Bibek coomar@gmail.com wrote: This is the default behaviour if you have an on screen keyboard while in landscape mode. Try disabling the on-screen keyboard in landscape mode. Thanks and

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread Teo
Mine is Tag-ToDo-List :) On Sun, Apr 25, 2010 at 12:39 PM, Lim Sim lim@gmail.com wrote: Titanium Backup is cool. On 25 April 2010 10:32, Joël Bourquard joel.bourqu...@gmail.com wrote: I got it for Titanium Backup (a tool for root users):

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread Arnon
Let's hope this week is THE week... Mine is Number Saver On Apr 25, 3:07 pm, Teo teomina...@gmail.com wrote: Mine is Tag-ToDo-List :) On Sun, Apr 25, 2010 at 12:39 PM, Lim Sim lim@gmail.com wrote: Titanium Backup is cool. On 25 April 2010 10:32, Joël Bourquard

Re: [android-developers] Re: the problem about click item in listview

2010-04-25 Thread Reiny Song
thank you~ But I do not know how to try your recommend. the sample code are following: ListView layout_list = (ListView)inflate.inflate(R.layout.main_list,null); MyAdapter adapter = new MyAdapter(.) layout_list.setAdapter(listAdapter); I can not get the AdapterView from my listview,

[android-developers] Re: the problem about click item in listview

2010-04-25 Thread Paweł Zięba
ListView is subclass of AdapterView. In your case try this code, paste it into onCreate method layout_list.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView? parent, View v, int position, long id) {

[android-developers] Re: UnknownHostException

2010-04-25 Thread ls02
On Apr 24, 3:15 am, Bob Kerns r...@acm.org wrote: Things to look at: 1) What DNS servers are used by the phones, vs the PC's you're comparing with? The same DNS server is used by both phones and PC/Macs as they are all on the same corporate WiFi network. 2) Do all the DNS servers on the

Re: [android-developers] Re: javax.xml.bind.annotation.XmlAccessType and Android

2010-04-25 Thread Android Development
http://code.google.com/p/android/issues/detail?id=314 On Fri, Apr 2, 2010 at 10:46 AM, Nik nikhilpatil2...@gmail.com wrote: I'm getting the same error. In a different context though. I'm trying to include java classes created by JAXB's XJC (from XSD to Java) in my project. But the

[android-developers] Re: MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread henrik
On 25 apr, 12:08, henrik henrik.aron...@gmail.com wrote: I have a problem with MediaPlayer on my HTC Hero.  When I set it to decrypt play a local file in the background, it starts skipping after a minute or two, even though I have aquired the PARTIAL_WAKE_LOCK.  This only happens when the

[android-developers] Re: graphically represent multiple list selections or dynamically change a list item view

2010-04-25 Thread applesquash
Thanks Kumar. I mentioned in my first post that was too long to read that I tried that first. All I got was a darker view or no change at all. I read in one of the documents under the resources tab that it had something to do with how list drawables are cached. But I didn't feel like fiddling with

Re: [android-developers] Re: MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread Mark Murphy
henrik wrote: On 25 apr, 12:08, henrik henrik.aron...@gmail.com wrote: I have a problem with MediaPlayer on my HTC Hero. When I set it to decrypt play a local file in the background, it starts skipping after a minute or two, even though I have aquired the PARTIAL_WAKE_LOCK. This only

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-25 Thread code_android_festival_way
I just wanted to add something now. After reading through the mailing list I have tried to get the whole thing working with the PendingIntent sending a broadcast every 30 seconds which gets caught by a broadcast receiver. This broadcast receiver starts the notifications (vibrate and sound) in its

Re: [android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-25 Thread Mark Murphy
code_android_festival_way wrote: Even when I acquire a partial wake lock at the beginning of onReceive and release it at the end I am getting these errors. You are already inside a partial wake lock in the onReceive() method of a BroadcastReceiver invoked via AlarmManager. - Alarm Service

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-25 Thread code_android_festival_way
Thank you for your help Mark. You are already inside a partial wake lock in the onReceive() method of a BroadcastReceiver invoked via AlarmManager. Yeah I know that I just wanted to make sure that I really have the wake lock. But as you mentioned it doesn't make any difference. - Alarm

[android-developers] Is it possible to publish two versions for the same app simultaneously?

2010-04-25 Thread Juan David Trujillo C.
HI all! I am working on an app that uses the rating bar (stars) to allow the user to grade information. The SDK version is 3 (OS 1.5 - uses-sdk android:minSdkVersion=3, but the rating stars are shown incorrectly for devices with OS 2.1. I read some posts in the forum that suggest to upgrade the

Re: [android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-25 Thread Mark Murphy
code_android_festival_way wrote: What do you mean exactly by that? Well I know that 30 seconds or even lower is very frequent but I would let the user decide how often he would like to be notified. I mean you may chew up a fair bit of battery life constantly cycling through processes, starting

[android-developers] Re: Is it possible to publish two versions for the same app simultaneously?

2010-04-25 Thread Kumar Bibek
Yes you can. But both the apps should have different packages, else you would not be allowed to upload the second one. Thanks and Regards, Kumar Bibek On Apr 25, 8:13 pm, Juan David Trujillo C. jdavidandr...@gmail.com wrote: HI all! I am working on an app that uses the rating bar (stars) to

[android-developers] Is this is limitation of Eclair [SDK 2.1] in Contact App?

2010-04-25 Thread AJ
Hi group, I want to launch contact app from my application with the extra data I am passing. I am able to do this. But the problem is that I am not able to send more than 1 Address. Only one address field appears. I am doing in the following way:- Intent i = new

[android-developers] Is this is limitation of Eclair [SDK 2.1] in Contact App?

2010-04-25 Thread AJ
Hi group, I want to launch contact app from my application with the extra data I am passing. I am able to do this. But the problem is that I am not able to send more than 1 Address. Only one address field appears. I am doing in the following way:- Intent i = new

[android-developers] Re: How to disable ListView scrolling?

2010-04-25 Thread Moto
I'm really having a hard time with the amount of control one has over a ListView. I can't even get the getScrollX() or getScrollY() it always returns 0! I can't seem to get enough information to create a nice smooth scrolling using the scrollTo(..) scrollBy(..) Help? On Apr 24, 10:58 pm, Moto

[android-developers] Re: Getting a Dev phone.

2010-04-25 Thread Bob Kerns
If you root your phone, you can still see the market. It's only if you replace it with some random build that doesn't include the market that you'd lose access to the market. While it's ideal to match the customer's phones, the differences in a rooted phone are so slight compared to the

[android-developers] Re: Will 900ms of calcs run faster in another thread?

2010-04-25 Thread Bob Kerns
It sounds to me like you're trying to do a Fourier Transform the hard way? You should look at the Fast Fourier Transform algorithm. I bet you're doing WAY more multiplies than you need to be doing. On Apr 22, 8:02 am, BobG bobgard...@aol.com wrote: Thanks for the replies folks. I saw the Real

[android-developers] Re: Restlet librairies use in Android project

2010-04-25 Thread Streets Of Boston
Thank you Jerome, In my project, I'm looking at some common code for the rest-client (not the server; we'll be using JAX-RS) that helps implement cache- control on a mobile device. The availability of the caching headers already will help, but it is still tricky to interpret - and implement

Re: [android-developers] Re: Progress bar is run after task completing

2010-04-25 Thread TreKing
On Sun, Apr 25, 2010 at 2:08 AM, pramod.deore deore.pramo...@gmail.comwrote: I had tried followinfg but throws exception. To get the best response, you need to post what this exception is and the full stack trace you're getting in the debugger. Otherwise how are people supposed to figure out

Re: [android-developers] Starting default calendar and contacts application

2010-04-25 Thread TreKing
On Fri, Apr 23, 2010 at 6:19 AM, Tejas jasani.te...@gmail.com wrote: The mail code works perfectly fine but somehow calendar and contact code which i have doesnt work good, What does doesnt work good mean? It crashes? It opens the wrong thing? It verbally insults you? What? can any one

[android-developers] Re: How to disable ListView scrolling?

2010-04-25 Thread Moto
Ok, For those who are running into the same issue the fix is simple create your own custom ListView component! and capture the dispatchTouchEvent() inside there you can easily figure out if you are scrolling or not! :) code: @Override public boolean dispatchTouchEvent(MotionEvent

[android-developers] Re: Will 900ms of calcs run faster in another thread?

2010-04-25 Thread BobG
I think a Fourier transform would give me equally spaced spectra. I'm interested in a frequency response, where the output of each third octave wide bandpass filter (lopass in series with hi pass one third octave higher) is averaged and plotted in db below full scale. These filters have equal

[android-developers] Re: How to display Camera

2010-04-25 Thread Will Hester
Alright, thank you. But I am confused as to how I import this into Eclipse. I downloaded the source, and tried to import the file, but Eclipse said it couldn't find a project. On Apr 21, 2:24 pm, Mark Murphy mmur...@commonsware.com wrote: WillHesterwrote: Anyone? On Apr 19, 3:17 pm,

Re: [android-developers] Re: How to display Camera

2010-04-25 Thread Mark Murphy
Will Hester wrote: Alright, thank you. But I am confused as to how I import this into Eclipse. I downloaded the source, and tried to import the file, but Eclipse said it couldn't find a project. I don't use Eclipse, so there are no Eclipse project files. It's been a couple of months since I

Re: [android-developers] Re: Progress bar is run after task completing

2010-04-25 Thread Anurag Singh
Try it, If you want to paas any specific message to UI then use message object for the same. like Message msg = handler.obtainMessage();e fucntion // set any value // get the same value in hadleMessag Complete code is here ProgressBar bar; Handler handler=new Handler() { public void

[android-developers] How to create a nice menu?

2010-04-25 Thread Stanley Li
Dear all, I am currently developing a game. However, when I come to the point where I should make a nice game menu, I am stuck. I want to have a menu when people enter a game. The menu should consist of 3 buttons, 1 title text, and 1 background image. So what is the best way I can achieve this?

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-25 Thread code_android_festival_way
Well you are right that this will drain the battery pretty heavily. At the moment I am using the broadcast which gets fired every n seconds and gets caught by the receiver which handles the notifications in its onReceive method. But well the problem remains. I haven't found a possibility to get

[android-developers] Re: Having trouble with Handler with Bluetooth

2010-04-25 Thread spachner
Hi, I had a look on the bluetooth example and think it is not correcty implement either. I ask the community to correct me. The example is putting each block of bytes read by a single call of read() into a reperate line in the list view. It relys on that the sending string can be read at once,

[android-developers] Re: Will 900ms of calcs run faster in another thread?

2010-04-25 Thread sm1
BobG, these numbers seem a bit high to me. Were they taken on an emulator or an ADP? How many voltage samples per array are you using? I usually use background threads for the calf's but usually the drawing needs to be in the GUI/main thread. )s) Serge On Apr 21, 11:15 pm, BobG

[android-developers] Game stutters when drawing outside screen

2010-04-25 Thread Peter
Hello, I have a game built for 480x320 screen resolution. When playing the game on a phone with a higher screen resolution (480 x 800 or 480 x 856) the game automatically stretches to fit the screen which works great. Because of different screen dimensions there is a piece of the screen on the

Re: [android-developers] Starting default calendar and contacts application

2010-04-25 Thread Anurag Singh
Is there any place where developer can easily find URI for Contact, Calender, Mail etc. - Anurag Singh On Sun, Apr 25, 2010 at 2:23 AM, Anurag Singh anusingh...@gmail.com wrote: How you have open default mail client? I want to do same thing. Start an activity with it's intent set to a

Re: [android-developers] Starting default calendar and contacts application

2010-04-25 Thread Mark Murphy
Anurag Singh wrote: Is there any place where developer can easily find URI for Contact, Calender, Mail etc. Contacts are managed by a content provider -- Uri values for accessing those providers can be found in the android.provider package. Calendar is not part of the Android SDK. No mail

[android-developers] requestLocationUpdates and emulator

2010-04-25 Thread Federico Paolinelli
Hi to all, I am trying my applicaton with the emulator, and I am experiencing the following problem: even if I registered a locationlistener with minDistance = 0 mLManager.requestLocationUpdates(mLProvider, 1, 0, mLListener); the mLListener callback is called only when I set a new location

Re: [android-developers] Starting default calendar and contacts application

2010-04-25 Thread Anurag Singh
But, there must be some standard way to do this. Trek suggest, Start an activity with it's intent set to a standard email URI - Android will find the best match of the apps that can handle that type of intent. What is the standard email URI? how it could be standard if it's not part of SDK. -

[android-developers] Re: How to use Fiddler to get traffic of the Market in Android Emulator

2010-04-25 Thread Xin Song
Yeah, I have tried Wireshark, but I don't think the information I got from Wireshark is enough, so I have to use Fiddler. Maybe your view point about firewall blocks outbound connections is right but there is one problem. Fiddler can get the traffics of the Browser in the emulator when I set the

[android-developers] Re: Starting default calendar and contacts application

2010-04-25 Thread AJ
Hi Anurag, You can start the contact activity in the following way:- Intent i = new Intent(Intent.ACTION_INSERT,People.CONTENT_URI); i.putExtra(ContactsContract.Intents.Insert.NAME, AJ); startActivity(i); But I am facing some problem in passing the Extra data to the activity. It looks that

Re: [android-developers] Starting default calendar and contacts application

2010-04-25 Thread Mark Murphy
Anurag Singh wrote: But, there must be some standard way to do this. Trek suggest, Start an activity with it's intent set to a standard email URI - Android will find the best match of the apps that can handle that type of intent. What is the standard email URI? how it could be standard if

[android-developers] ListView overlapping bottom view

2010-04-25 Thread Jose Gomez
Hello all, I have the following layout, which gives me a header, a list view and a footer it looks good but when the listview's contents are greater than wheere the bottom textview start its basically overlays the list on top of it. I was the listview to not overlay on top of the footer Any help

[android-developers] Re: Always use the best Location Provider?

2010-04-25 Thread michael
Hi, 3) Don't worry about the problem. The only reason that the provider indicated by your Criteria will change is if the user enables or disables a provider in the Settings application, which I doubt happens on the fly very frequently. Thanks Mark, maybe I will just go with 3) then. Best,

Re: [android-developers] Re: the problem about click item in listview

2010-04-25 Thread Jose Gomez
By any chance does your list item adapter have a control in it that can be focused? If so that is your problem (checkbox, edit text, button) if any of these are in your listItem you have to turn their focusability off in order for the click and hold to register with the list. Sincerely Jose C

Re: [android-developers] Is it possible to publish two versions for the same app simultaneously?

2010-04-25 Thread TreKing
On Sun, Apr 25, 2010 at 10:13 AM, Juan David Trujillo C. jdavidandr...@gmail.com wrote: The SDK version is 3 (OS 1.5 - uses-sdk android:minSdkVersion=3, but the rating stars are shown incorrectly for devices with OS 2.1. I read some posts in the forum that suggest to upgrade the SDK version

Re: [android-developers] Starting default calendar and contacts application

2010-04-25 Thread TreKing
On Sun, Apr 25, 2010 at 1:41 PM, Mark Murphy mmur...@commonsware.comwrote: I believe TreKing was slightly mistaken in his choice of terms. Indeed. In my haste I think I confused email and web urls. Sorry for the confusion and thanks for clarifying Mark.

[android-developers] AutoCompleteTextView / ArrayAdapter performance

2010-04-25 Thread oriharel
Hi All! I have an AutoCompleteTextView which the user can enter a name of an airport. the suggestion strings looks like this (for example): John F. Kennedy (JFK) New York, United States I'm using an ArrayAdapterString (following the examples in Android documentation) and when I construct it, I

Re: [android-developers] How to create a nice menu?

2010-04-25 Thread TreKing
On Sun, Apr 25, 2010 at 12:43 PM, Stanley Li junpin1...@gmail.com wrote: So what is the best way I can achieve this? Best is subjective and will be highly influenced by what you mean by nice. Should I just create a linearLayout with background, and inside the layout, contain the title text

[android-developers] J2ME converting/translation to Android

2010-04-25 Thread ricardocunha
Hi, I want to know if exists a converter for a j2me source-code to android. Listen, it´s not a runner, like a midp runner for android, it ´s a converter for a source code. A tool for translate a source code for a new plataform, from j2me to android. Sorry about my English. Thank´s for any help.

[android-developers] Re: MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread Thilo-Alexander Ginkel
On Apr 25, 3:48 pm, henrik henrik.aron...@gmail.com wrote: On 25 apr, 12:08, henrik henrik.aron...@gmail.com wrote: I have a problem with MediaPlayer on my HTC Hero.  When I set it to decrypt play a local file in the background, it starts skipping after a minute or two, even though I have

[android-developers] Looking for someone to test my Augmented Reality software on the milestone

2010-04-25 Thread tdom...@googlemail.com
Hi all, I'm the developer of AndAR, an project that brings Augmented Reality to Android: http://code.google.com/p/andar/ http://www.youtube.com/watch?v=VJ5QUlDX8nQ It runs well on the Nexus one and the G1, both phones I can test my software on. Though milestone users seem to have some trouble

[android-developers] Programmatically forward-lock an APK?

2010-04-25 Thread String
Doing a bit of advance research, and am stuck on the point summarized in the title. Namely, is there any way to forward-lock an APK installed programmatically, from another app? I've not come across anything beyond a hint in the following post:

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread ratson
LOL. :) Mine is AutoKiller ;) On Apr 23, 1:22 pm, Lim Sim lim@gmail.com wrote: @fhucho.  great question.  i've been wondering the same thing for a while. Mine's Auto Memory Manager.  what's yours? [image: qr-code1.png] On 23 April 2010 12:15, fhucho fhu...@gmail.com wrote: Out

[android-developers] Re: MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread Thilo-Alexander Ginkel
On Apr 25, 9:59 pm, Thilo-Alexander Ginkel th...@ginkel.com wrote: The weird thing is, the problem goes away if I use SCREEN_DIM_WAKE_LOCK instead.  But I really don't want to drain my users' batteries needlessly. That looks somewhat similar to the problem I described at:  

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread Lim Sim
I wonder how many people are getting phones. Would be cool if Google listed all the apps that are part of this program. Good for us and good for people that are looking for top apps. On 25 April 2010 21:17, ratson materem...@gmail.com wrote: LOL. :) Mine is AutoKiller ;) On Apr 23, 1:22

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread Maps.Huge.Info (Maps API Guru)
I have two that qualified: Radar Now! - 250,000+ downloads, 4.32 average rating, #13 in News Weather http://www.radarnow.net (check out the cool map) What Zip Code? - 10,000+ downloads, 3.95 average rating -John Coryat, USNaviguide LLC Look for me at Google IO! -- You received this message

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread Lim Sim
Cool! I've been seeing Radar Now around. Going to download it and give it a spin. Looks cool. Should have got it when we had the volcanic ash last week. On 25 April 2010 22:51, Maps.Huge.Info (Maps API Guru) cor...@gmail.comwrote: I have two that qualified: Radar Now! - 250,000+

[android-developers] Re: graphically represent multiple list selections or dynamically change a list item view

2010-04-25 Thread applesquash
Latest update if anyone is actually reading these... My selection trick is working but it's still wonky and selecting things at random. I believe this is due to the way the inflater works, only inflating one page at a time. I guess the list position repeats itself for each cached page. But I'm not

Re: [android-developers] Re: graphically represent multiple list selections or dynamically change a list item view

2010-04-25 Thread Mark Murphy
applesquash wrote: Latest update if anyone is actually reading these... My selection trick is working but it's still wonky and selecting things at random. I believe this is due to the way the inflater works, only inflating one page at a time. What is a page in this context? I guess the

[android-developers] Transparent Text Field?

2010-04-25 Thread Will Hester
Is there any way to create a transparent text field? -- 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] Re: Will 900ms of calcs run faster in another thread?

2010-04-25 Thread BobG
Minbuffersize came back as 4096 bytes, but I need 2400 16 bit samples at 48000 samp per sec to get 50ms worth of samples one period of 20hz. So I set it to 4800 bytes. Timing is from system.currentTimeMillis on a dev phone 2 (528mhz cpu?). This timing would, I assume, include the timing of

[android-developers] How do ListViews exactly work?

2010-04-25 Thread Moto
I'm trying to figure out how it's been designed. How it holds its items? How do I get a hold of the scrolling container? How can I know it's exact scrolling position? How can I scroll it to an exact position? I want to have all the current benefits the ListView provides plus detailed

[android-developers] Re: Aren't focus states supposed to bubble to child Views?

2010-04-25 Thread patbenatar
Anyone willing to explain how bubbling of focus states works? Basically, how to get a child View to be focused when its parent is focused. Thanks, Nick On Apr 19, 1:31 am, patbenatar patbena...@gmail.com wrote: Hey all- When using a View within a View, for example an ImageView within a

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread Ian Wong
If some ppl had already got it, the delay is obviously not caused by Froyo. The delay probably caused by shipping partner which is not the same as Google normally ships out their phone. I expect it is a cheaper solution than the normal way Google used and takes longer shipping days than the usual

[android-developers] Re: dependency between applications

2010-04-25 Thread dnak
Sorry for confusing you by my English... I'd like to know when Android launches depending service/provider. (For example. when Android launches CalenderProvider?) I'm checking this with Android 2.1 source code (mydroid), but I can't figure out. I'd like to know general mechanism for this.

Re: [android-developers] Re: a question about menu

2010-04-25 Thread 薛智超
On Fri, Apr 23, 2010 at 1:24 PM, priyanka 2priya...@gmail.com wrote: Hello, In which method is this code written? I believe this part has to go inside onCreateOptionsMenu(Menu myMenu) itself. myMenu would be a parameter, and after adding menuItems to it, you need to return it back.

[android-developers] Re: MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread Thilo-Alexander Ginkel
On Apr 25, 10:23 pm, Thilo-Alexander Ginkel th...@ginkel.com wrote: Can you try what happens if you acquire the wake lock with the WAKE_BIT_CPU_WEAK set? I'd try it myself, but am a little short on time right now. Well, scrap that idea... Did not try it, but figured out that at various places

[android-developers] onActivityResult not being called in Activity that uses GLSurfaceView

2010-04-25 Thread SChaser
Help! I have an activity that, instead of getting a response back from a startActivityForResult, is destroyed (with no callbacks) when the responding activity finishes! The activity (call it GL) subclasses Activity and sets its contentView to be a GLSurfaceView. This Activity overlays a MapView

[android-developers] Saving ArrayList to .txt file

2010-04-25 Thread Tommy
Hi, I am trying to save an array list to a .txt file below is the code I am using, which runs without error but when I try to go to Astro file manager and browse the data folder there is nothing there. String filename = stationname.getText().toString() + System.currentTimeMillis();

[android-developers] What is the maximum memory capacity

2010-04-25 Thread Karteek N
Hi all, If i have implemented a database in an application. So what ever the tables i create in that database will be saved in /data/data/packagename/databasess My question is how many tables i can create or how much data can i insert. How to know capacity of the database.In which factors will it

[android-developers] Lots of lost sales due to Credit Card authorization.

2010-04-25 Thread Paul
I've lost about 120 sales from the Android Market due to people not ever entering valid credit card information in Google Checkout. Not sure if they ever got the email from google telling them to do it. I also have to handle a lot of customer support for these issues. People think the app is

[android-developers] Re: Saving ArrayList to .txt file

2010-04-25 Thread Kumar Bibek
What do you mean by there's nothing oevr there? Objects written down on a file would not be in a readable format. So you can't just use a text reader to read the contents. And if you mean that the file is empty, then the process of serialization is what you should check first. Try with a normal

Re: [android-developers] What is the maximum memory capacity

2010-04-25 Thread Anurag Singh
The maximum heap memory an process (app) gets in Android is 16M. That's not that much, a basic app takes already several MBs after you've only just started it. - Anurag Singh On Mon, Apr 26, 2010 at 9:34 AM, Karteek N kartee...@gmail.com wrote: Hi all, If i have implemented a database in an

[android-developers] Re: Transparent Text Field?

2010-04-25 Thread Kumar Bibek
Change the background image of the Textfield to a png image which is transparent. Thanks and Regards, Kumar Bibek On Apr 26, 5:27 am, Will Hester whes...@gmail.com wrote: Is there any way to create a transparent text field? -- You received this message because you are subscribed to the

Re: [android-developers] a question about menu

2010-04-25 Thread Anurag Singh
You have to implement *onCreateOptionsMenu() *in your Activity. public boolean *onCreateOptionsMenu*(Menu menu) { CreateMenu(menu); return(super.onCreateOptionsMenu(menu)); } private void CreateMenu(Menu menu) { menu.add(Menu.NONE, 1, Menu.NONE, Add); menu.add(Menu.NONE, 2, Menu.NONE,

Re: [android-developers] Re: Android ANT compilation

2010-04-25 Thread veradis tech
Thanks Bob Kerns. My aim is to make the code available for all. I will move the source to SVN, and anyone can download/update it and compile it using ANT. I don't want to use eclipse for this. Thanks Veradis On Sat, Apr 24, 2010 at 9:12 PM, Bob Kerns r...@acm.org wrote: Your build.xml

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread String
On Apr 25, 10:58 pm, Lim Sim lim@gmail.com wrote: Cool!  I've been seeing Radar Now around.  Going to download it and give it a spin.  Looks cool.  Should have got it when we had the volcanic ash last week. I'm making a guess from these 2 statements, but... Be aware that Radar Now! is

[android-developers] Re: About EditText inputType

2010-04-25 Thread Kumar Bibek
Type Number is for phone number, it is not specifically for age. Even if you had one for the age, what would happen if a user enters a value of 300. Still then, you would have checked this value through code, right? So, May be use a spinner or something, or before saving the contents of the

[android-developers] Re: How to run progressDialog inside WebView ?

2010-04-25 Thread Kumar Bibek
You can put a progressbar inside a WebView and set or unset it's visibility. That should solve your problem. Thanks and Regards, Kumar Bibek On Apr 23, 3:02 pm, teeming looteem...@gmail.com wrote: Hi, I am new to android development. I wanted to create an app that displaying a progressDialog

[android-developers] Re: Starting default calendar and contacts application

2010-04-25 Thread Kumar Bibek
Accessing Calendar Content Providers, I believe it not yet public. You can however try with the various examples available which use hard- coded calendar URIs. But till Google releases the content providers for the Calendar, it is not full - proof. Contacts, well, It's open for any one to use.

  1   2   >