[android-developers] ListView inside a listview?

2010-04-25 Thread javame_android
Hi, I am loading a listview dynamically. It is kind of a thread view in a social networking application. Now there can be reply of reply. So, I want to show reply of reply all together. So, for this purpose can we load listview inside a listview. And how can this be done. If anyone have any idea

[android-developers] How to custom option menu style?

2010-04-25 Thread D.Y
Dear All, I want arrange three menu items as the following layout, would you please tell me how to custom option menu style as mentioned? Thanks in advance. ! ICON ! ICON ! ! ! ! ! T

[android-developers] Re: Game stutters when drawing outside screen

2010-04-25 Thread ko5tik
I would say that you do not need to redraw that image part every frame - nothing happens there, and as there are no overlapping window on android there is no need to repair it. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] register android.intent.action.SEND in Service

2010-04-25 Thread andy
Hi, I want to receive Intent "android.intent.action.SEND" in a Service. Is it possilbe to register for this Intent via registerReceiver() and get the Intent in Broadcast receiver in the Service? Or is there any restrictions that "android.intent.action.SEND" can only be registered via Manifest.xml

[android-developers] Event triggers when I click around marker

2010-04-25 Thread Nithin
Hi, I displayed map and on top of map, I displayed a number of overlay Items(Markers). Clicking on overlay Items or markers will do some action. But the problem is when I click around the marker, means outside the marker, at that time also, the event triggers. I want to restrict that exactly when

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

2010-04-25 Thread Tommy
Well at this point I have tried to write just a simple "HELLO" to the text file. Again it goes over the code no problem but when I search the /data directory there are no files or folders. String filename = "Testing.txt"; //stationname.getText().toString() + System.currentTimeMillis();

[android-developers] Adding static background to kube

2010-04-25 Thread CMF
Hi all, I would like to ask how to add a static background to the kube from the ApiDemo I have created a sqaure behind the Kube, but it will rotate as the kube does How to make the background static? -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Android AMF client library : Android RTMP client library

2010-04-25 Thread Jayant
Android AMF client library Aftek has extensive experience in developing enterprise Flex applications. We have used BlazeDS extensively and we believe that it would nice to provide all the benefits provided by AMF for Android applications as well. We have developed an Android AMF client library whic

[android-developers] Re: Scrolling a dynamically filled AbsoluteLayout.

2010-04-25 Thread rocrail
OK, it works without the ScrollView which is only vertically; just scrolling by touch events. The extended AbsoluteLayout class: http://bazaar.launchpad.net/~rocrail-project/rocrail/androc/annotate/head%3A/src/net/rocrail/androc/widgets/LevelCanvas.java The dynamically added views also support th

[android-developers] Re: J2ME converting/translation to Android

2010-04-25 Thread Kumar Bibek
Hmm, Good question. But I am afraid there are none. A tool of such a nature is pretty hard to build. And it might also require you adhere to certain standards you need to follow so that the code is translatable. I would recommend you to re-write your app on Android once again. Thanks and Regards

[android-developers] Why my Android DevPhone 2 keep recgonizing my notebook computer as a Headset?

2010-04-25 Thread AITD
Hi everyone, I'm new to Android development. And now I'm trying to do some practice about bluetooth. I bought a Android DevPhone 2 which OS is Android 1.6. Not support bluetooth API of course. So I have to us "backport-android-bluetooth" to program. But now I got a problem here. >From the phone,

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

[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 wrote: > Hi, > > I am new to android development. I wanted to create an app that > displaying a progressDialog when loading the

[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 EditTe

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

2010-04-25 Thread String
On Apr 25, 10:58 pm, Lim Sim 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 US-only. > On 2

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 wrote: > Your build.xml doesn't look anyth

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,

[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 wrote: > Is there any way to create a transparent text field? > > -- > You received this message because you are subscribed to the Google > Groups "An

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 wrote: > Hi all, > If i have implemented a database in an application. > So w

[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 Ja

[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 going

[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 d

[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(); FileO

[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] 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 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 in PowerManage

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

[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 3

[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 wrote: > Hey all- > > When using a View within a View, for example an ImageView within a > LinearLayout, both o

[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 scrolling

[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 ever

[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+u

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

[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: 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) wrote: > I have two that qualified: > > "Radar Now!" - 250,000+ downloads, 4.32 avera

[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 mes

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 wrote: > LOL. :) > Mine is AutoKiller ;) > > On Apr 23, 1:22 pm, Lim Sim wrote:

[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 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: >  http://groups.google.co

[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 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 wrote: > > > > > > > Out of curiosity, what is

[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: http://groups.google.com/group/android-developers/msg/

[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 with

[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 wrote: > On 25 apr, 12:08, henrik 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.  Thi

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

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 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 and all the

[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 ArrayAdapter (following the examples in Android documentation) and when I construct it, I provide

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

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 - , 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 to 4 (OS 1.6 and > higher), h

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 Gome

[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

[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 i

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 stand

[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 Con

[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 em

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

[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 vi

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 cl

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 > wrote: > >> How you have open default mail client? I want to do same thing. > > > Start an activity with it's intent set to a standard email

[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 rig

[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 wrote: > I hav

[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, whi

[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 the

[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?

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 handle

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

[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 wrote: > WillHesterwrote: > > Anyone? > > > On Apr 19, 3:17 pm, WillHester wrote: > >> So

[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 energ

[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

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

2010-04-25 Thread TreKing
On Fri, Apr 23, 2010 at 6:19 AM, Tejas 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 please provide the c

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 wrote: > 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 what your problem is?

[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 correc

[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 wrote: > Thanks for the replies folks. I saw the Real Time Analyzer in th

[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 difference

[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] 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 Intent(Intent.ACTION_INSERT,Pe

[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 Intent(Intent.ACTION_INSERT,Pe

[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." wrote: > HI all! > > I am working on an app that uses the rating bar (stars) to allow the > user to

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, starti

[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 - , 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 to 4 (OS 1.6 and hig

[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

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 Servic

[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: MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread Mark Murphy
henrik wrote: > On 25 apr, 12:08, henrik 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 pho

[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

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

2010-04-25 Thread henrik
On 25 apr, 12:08, henrik 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 phone is running on > b

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 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 annotations generated by the XJC

[android-developers] Re: UnknownHostException

2010-04-25 Thread ls02
On Apr 24, 3:15 am, Bob Kerns 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 list wo

[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) { Toast.makeText(MainV

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: 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 wrote: > Mine is Tag-ToDo-List :) > > > > > > On Sun, Apr 25, 2010 at 12:39 PM, Lim Sim wrote: > > Titanium Backup is cool. > > > On 25 April 2010 10:32, Joël Bourquard wrote: > > >> I got it for "Titanium Bac

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 wrote: > Titanium Backup is cool. > > > On 25 April 2010 10:32, Joël Bourquard wrote: > >> I got it for "Titanium Backup" (a tool for root users): >> >> http://www.cyrket.com/p/android/com.keramidas.TitaniumBackup/ >> >> Had ar

[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 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 Regards, > Kumar B

[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 wrote

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

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 selec

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

[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 ena

[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(); } }); th

[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 auto-di

[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: 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

  1   2   >