[android-developers] Re: Which book to use.

2009-12-07 Thread Maps.Huge.Info (Maps API Guru)
I was in your position six months ago and purchased Mark's books as well as Unlocking Android. I found them quite useful. In addition, I suggest going over the samples included in the SDK, searching google.code for examples and also the hundreds of other useful sources around. Once you start

[android-developers] Re: Is there any posibility to know the size of the video file?

2009-12-07 Thread manoj
Hi Dexter#39;s Brain, I already tried MediaStore. But couldn't succeeded. On Dec 3, 5:09 pm, Dexter#39;s Brain coomar@gmail.com wrote: You have to query the MediaStore and get the value of the resolution from it. http://developer.android.com/reference/android/provider/MediaStore.Vi...

[android-developers] Re: linux kernel how to communicate with Android application?

2009-12-07 Thread JW
Is it possible use openbinder(IPC) to work it out? On 12月4日, 下午5時50分, JW jov...@gmail.com wrote: I want to deliver some event to androidapplication. I thought it should pass the event to android framework library and then transfer the event to androidapplication. Is there any clear sample

[android-developers] Re: AudioRecord producing no-sound data. Why?? [SOLUTION]

2009-12-07 Thread Raul
Nobody will know what you want to do untill you give more info. On 12月7日, 上午10时34分, Hunter Peress hunt...@gmail.com wrote: Logic:         for (int i = 0; i tempBuffer.length; i++) {                                 saveBuffer[saveBufferPos] = tempBuffer[i];                                

Re: [android-developers] Problem with fwrite onto sdcard

2009-12-07 Thread Dianne Hackborn
Be sure you are requesting the WRITE_SDCARD permission, which is needed for an application to be able to modify data in the SD card. On Fri, Dec 4, 2009 at 3:56 AM, KK krishnakumar.ramachand...@gmail.comwrote: Hi, I am very new to Android. I am trying the following code in the android ndk.

Re: [android-developers] What is radio image, flash image, system image?

2009-12-07 Thread Dianne Hackborn
You probably want to be asking this on android-porting. On Sun, Dec 6, 2009 at 10:35 PM, Prashant p_khurp...@rediffmail.com wrote: Hi , It will be helpful if any one can help me out in understanding the concept of radio,flash,system image in android mobile device. Also why are they

Re: [android-developers] modify the RecentTasks List

2009-12-07 Thread Dianne Hackborn
Though the code being discussed here is not part of the SDK, so you may want to post to android-porting if you are talking about modifying the platform. On Sun, Dec 6, 2009 at 10:21 PM, Romain Guy romain...@android.com wrote: Hi, No you cannot modify this list. On Sun, Dec 6, 2009 at 6:51

[android-developers] Re: Register a service with Android framework

2009-12-07 Thread Bharath
I cannot call the third party services by getSystemService() method but is there a way to to register my service as System Service so that I can invoke the service my above method? I have to register my service with Android Framework. I think I can do this by making changes to the Android

Re: [android-developers] Problem with fwrite onto sdcard

2009-12-07 Thread Krishnakumar Ramachandran
Hi Dianne, I am requesting WRITE_EXTERNAL_STORAGE permission. Is that enough or do i need some other permission? On Mon, Dec 7, 2009 at 1:52 PM, Dianne Hackborn hack...@android.com wrote: Be sure you are requesting the WRITE_SDCARD permission, which is needed for an application to be able

Re: [android-developers] Device Specific System Settings

2009-12-07 Thread Dianne Hackborn
If they are not part of the standard system, there is no API for them. It is possible for a vendor to provide an ADT plugin with their own APIs, but afaik HTC has not done this. On Sat, Dec 5, 2009 at 10:24 AM, Tom Reay tomfr...@gmail.com wrote: Hi, I'm stuck on trying to change system

Re: [android-developers] Problem with fwrite onto sdcard

2009-12-07 Thread Dianne Hackborn
Sorry yes that is the one. You should probably be asking NDK questions on android-ndk, too. On Mon, Dec 7, 2009 at 12:27 AM, Krishnakumar Ramachandran krishnakumar.ramachand...@gmail.com wrote: Hi Dianne, I am requesting WRITE_EXTERNAL_STORAGE permission. Is that enough or do i need some

Re: [android-developers] Re: Register a service with Android framework

2009-12-07 Thread Dianne Hackborn
Again, third party applications can not doing this. If you are not doing a third party application, but modifying the platform, you should be posting to android-porting. On Mon, Dec 7, 2009 at 12:25 AM, Bharath bharath.pat...@gmail.com wrote: I cannot call the third party services by

[android-developers] Re: Memory Problem ? and content media provider died

2009-12-07 Thread olivier
I have checked the memory used, I can't see any problem; All my cursor are closed after being used. In addition, the last log file I receive show me that this problem arrived the fifth time the application tryed to use the media provider. Is anyone from Google who could give an hilight about

[android-developers] Re: loop sound

2009-12-07 Thread niko20
Hi, Dont know the answer to that one, I haven't used AudioTrack in MODE_STATIC much. -niko On Dec 6, 11:39 pm, JacobGladish jacobglad...@yahoo.com wrote: What is the setLoopPoints (int startInFrames, int endInFrames, int loopCount) on the AudioTrack? Will this cause the play() on a static

[android-developers] Re: Encoding for MP4 progressive download

2009-12-07 Thread arnouf
Hi Mark, Just for your info, the link http://android-unleashed.com/tag/convert-video-to-android-g1 is not available anymore. BR On Dec 6, 12:09 pm, Mark Murphy mmur...@commonsware.com wrote: Yesterday I found a problem to load a remote MP4 file (video). Apparently, the file must have a

[android-developers] Re: How can I get the video file properties (codec, resolution...etc)

2009-12-07 Thread Dexter#39;s Brain
Hi, Please refer to the MediaStore Content Provider in Android docs. Thanks, Kumar Bibek. http://tech-droid.blogspot.com On Dec 7, 10:43 am, manoj manojkumar.m...@gmail.com wrote: Hi, I would like to know how can we get the video file resolution (width and height), and its codec. Is there

[android-developers] How to get the event when the _current_ application install finished.

2009-12-07 Thread feng tian
Hi, All: I want to do something immediately after my application installed into the system. Is there such intent or hook to do this? With many thanks. BR, Feng. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Smack 3.1.0 an Android

2009-12-07 Thread rtreffer
Hi, I've hacked together a working smack 3.1.0 lib for Android. http://github.com/rtreffer/asmack Here's what's inside: - apache harmony spec for javax.security.sasl - qpid and novell openldap/jldap for SaslClient impl. (Plain Digest- MD5) - smack(x) - various patches shell scripts to glue

[android-developers] Re: How to get the event when the _current_ application install finished.

2009-12-07 Thread feng tian
Or, in a fallback solution. Can my application automatically run after the installation? Thanks. BR, Feng 2009/12/7 feng tian feng.of.t...@gmail.com Hi, All: I want to do something immediately after my application installed into the system. Is there such intent or hook to do this? With

[android-developers] ps3 remote control

2009-12-07 Thread Aspidoff
Does android 2.0 API allow to developer an app that controls your PS3. If so, is anyone willing to develop something like this for a fee? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] html5 and video tag working example

2009-12-07 Thread phiil leaz
i tried this code but without success in the emulator. Does this code work on hardware ? video src='http://tinyvid.tv/vfe/big_buck_bunny.mp4' poster=' http://camendesign.com/code/video_for_everybody/poster.jpg'/video 2009/12/2 Abderrahim Baallal baallal.abderra...@gmail.com video

[android-developers] Re: ERROR: Application requires API version 6. Device API version is 5 (Android 2.0)

2009-12-07 Thread Dexter#39;s Brain
Hi, Your project should be compiled(API Version) with atleast equal to the Device API version. Else, you will not be able to install it. Suppose you have a device with version 4, then an apk to run on this device, it can be 1,2,3,4 but not greater than 4. Just go to your project properties, and

[android-developers] Re: How to change developer account associated with app

2009-12-07 Thread Dexter#39;s Brain
I guess, Android Market forum will be better equipped to address this issue. But again, they don't seem to be active enough. :) As far as I can think, the thing you want to achieve is not possible without loss of those comments and ratings. Thanks and Regards, Kumar Bibek.

[android-developers] Re: add item to hyperlink context menu

2009-12-07 Thread Dexter#39;s Brain
Hi Duarte, Can you please explain your requirement more clearly? Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 4, 11:42 pm, Duarte Aragão dara...@gmail.com wrote: Hi,  Does any one know how to add item to hyperlink context menu?  This is a question that as already been posted

[android-developers] Re: unavailable shared library

2009-12-07 Thread Dexter#39;s Brain
Hi, I suppose you are working on 2.0. Please create a proper AVD and then try. Create an AVD with Google APIs (API level 5) Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 7, 10:36 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, when i tried to execute my project. It is

[android-developers] Re: RadioButton

2009-12-07 Thread Dexter#39;s Brain
Not directly, But you can create your Custom Radio button by extending the RadioButton class, and using your own layout. Thanks Kumar Bibek http://tech-droid.blogspot.com On Dec 6, 7:35 pm, Business Talk roman.businesst...@gmail.com wrote: Is There any way to possition a text of a RadioButton

[android-developers] Large SQLite3 DB handling

2009-12-07 Thread nagamatu
I'd like to handle a large SQLite3 database on Android. But CursorWindow that is used internal of SQLiteCursor has the limitation for window size (MAX_WINDOW_SIZE). Handling large database causes following error message. E/CursorWindow( 6330): not growing since there are already 1630 row (s),

[android-developers] Re: Attention developers: Orange is looking for great Apps !

2009-12-07 Thread Ellimac
Hi Shane, The Orange App Shop will be preinstalled on future Android devices from Orange. It will include carefully selected and pre-tested applications that we know will be appealing to our customers. Any purchases from the Orange App Shop will also be paid on the Orange phone bill. But It is

[android-developers] Re: Inconsistent results from date additions loop

2009-12-07 Thread Dexter#39;s Brain
Doing it the millisecond way might be more confortable. Convert both the dates to milliseconds, and then subtract one from the other, and then calculate the no of days. Thanks Kumar Bibek http://tech-droid.blogspot.co On Dec 7, 4:52 am, andrew android andygoldm...@gmail.com wrote: I am running

[android-developers] Offline maps

2009-12-07 Thread Julien Dupouy
Hi, I would like to know if there is a way to use the android google maps API to display offline personal maps. I'm developping an application that should mostly function offline and display maps that are not issued from Google (more specifics maps). Rougly, I want to make a map viewer based

[android-developers] Re: Display a route between 2 points on a map

2009-12-07 Thread Dexter#39;s Brain
I dont think it is currently possible to achieve until Google Maps support such feature. Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 6, 7:55 pm, stournie sttour...@gmail.com wrote: Hello guys I'm trying to develop an application which display the locations of contacts on a map

[android-developers] Re: Ebook reader

2009-12-07 Thread Sukitha Udugamasooriya
I'm interested in making a epub reader... can u help me where to start? -- 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] Emulator problem

2009-12-07 Thread karthikr
Hi Guys, I have been creating some custom skins for 2.0 and have been testing them for quite sometime. But suddenly there seems to be some issue and all my icons are arranged wierdly. When i tried opening the dialer on the emulator(240*320) i see that even that is all out of sorts. My laptop

[android-developers] Re: SMS Interception

2009-12-07 Thread Dexter#39;s Brain
Hi Raj, This is not possible, since this SMS broadcast is an unordered broadcast. So you can't intercept it, and prevent the broadcast to reach the default SMS application. Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 3, 9:03 pm, Raj rajesh.kamin...@gmail.com wrote: Hi My app

[android-developers] Getting and saving bookmarks

2009-12-07 Thread chris price
Hi, Can someone tell me how to get access to bookmarks and also add bookmarks? Thanks alot chris -- 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

[android-developers] Epub reader

2009-12-07 Thread Sukitha Udugamasooriya
Hi, Has anyone tried to make a epub reader software? cheers -- 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] GK:How to change the existing application present in Emulator Using AOSP

2009-12-07 Thread Jack Ganesh
HI All, Am facing another problem. My Requiement is: i want do some changes in the existing application present in emulator. Where i need to change and how to see the updated output. ? please help me out. Am totally confused to achieve this Tnx in Advance.., Cheers, Ganesh -- You received

[android-developers] Re: ADT installation on Ubuntu 9.10

2009-12-07 Thread wescorp
Hello, I too was having the rmentioned issues with Karmic when I found these updated Eclipse releases with the required files already included. Made for a great Android install. Here's the link. http://www.eclipse.org/pdt/downloads/ I used:

[android-developers] Re: RadioButton

2009-12-07 Thread Business Talk
Thanks Kumar, that's what I thought. On Dec 7, 6:13 am, Dexter#39;s Brain coomar@gmail.com wrote: Not directly, But you can create your Custom Radio button by extending the RadioButton class, and using your own layout. Thanks Kumar Bibekhttp://tech-droid.blogspot.com On Dec 6, 7:35 

[android-developers] Adding a Search, Bookmark Feature

2009-12-07 Thread Maxood
I have my entire data stored in the form of strings in an array. I am fetching each string randomly from the array on the onTouch/onClick event. Now i want to enable my user to bookmark the desired data. Also I want to enable my user to search the desired data from the array by providing a search

[android-developers] GK:How to recognize voice when you are on a call

2009-12-07 Thread Jack Ganesh
Hi All, Am trying to recognize the voice when am in a call by running the service in background. Is it possible to achieve ? If you have any idea on this please provide me ASAP. Cheers, Ganesh -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-07 Thread wusch
Thanks Dianne for the heads up. Do you know if there are plans to expose an intent to play a video directly instead of having to redirect through the browser? Having the browser intercept my VIEW intent on a video/mp4 MIME type, just to turn around and launch the video player seems kind of

[android-developers] Installing Apps on Acer Netbook Running Android

2009-12-07 Thread Charlie
I have an Acer Aspire netbook which dual boots Android and XP. I am trying to figure out how to (1) look at the file system (with a file manager type of interface), and (2) install an app on it (specifically one that I am developing). It seems like all this should be obvious, but the netbook

[android-developers] Re: ListActivity mandatory for listView ?

2009-12-07 Thread Jags
For example, I am doing a app where i need to store things to do, I need to have a add, delete and edit functionality for the app. Should I use 3 different activities or 3 different layouts for these functionality ? regards On Dec 3, 10:58 pm, Mark Murphy mmur...@commonsware.com wrote: I am

[android-developers] How can i fill an outlined font?

2009-12-07 Thread keianhzo
Hi everybody, I'm trying to use a Helvetica outlined ttf and i want the background of the font to be yellow and the outline part be black. I'm doing it loading the font in a TypeFace from assets and applying it to a TextView in the following way: mTextViewMessage.setTypeface(myTypeFace);

[android-developers] Re: Android 2.0.1 emulator: Not able to get Proxy settings to work (tried -http-proxy and APN proxy)

2009-12-07 Thread Clark Hunter
I had tried -http-proxy before without success. My command line: Emulator -avd Android201 -debug-proxy -http-proxy http://uid:pwd@10.0.6.251:3128 Initial startup console messages: proxy_http_setup: creating http proxy service connecting to: 10.0.6.251:3128 server name '10.0.6.251' resolved to

[android-developers] Re: Writing to file Assets folder

2009-12-07 Thread Bytes
Hi , My application has a shared library developed in C. The native library uses some configuration files (pref.cfg) to read and update it whenever user changes, so that these preferences will be preserved for next application startup. I want to automate this process, that is user just need to

[android-developers] db insert auto increment

2009-12-07 Thread Jags
i am doing sqlite3 my tables's pk is auto-increment. What shpuld i pass its value while inserting so that auto increment executes properly ? public void writeRecord(Row rec) { try { Object[] bindArgs = new Object[] {-1, rec.name, rec.email};

[android-developers] Re: Google Finance doing credit checks?

2009-12-07 Thread Courtney Dev
I've searched, and figured all (or at least most) android developers are dealing with google checkout in some capacity. Hence this might be a common concern. On Dec 4, 12:40 pm, Ryan Beesley ryan.bees...@swypeinc.com wrote: Well, my initial thought is that this isn't really android-developers

[android-developers] Remote display for demo

2009-12-07 Thread RickGillaspy
Is there an easy way to view/control an android device from the connected computer? I've searched a bit and see that some people have put a vnc server on the device, but it appears to require rooting the phone, which I'd rather not do. In the SDK, using DDMS, I see I can take a screen shot quite

Re: [android-developers] db insert auto increment

2009-12-07 Thread Ederson Ferreira
Hi, You don't need to pass anything. Try to use myDB.insert instead of myDB.execSQL, for instance: ContentValues values = new ContentValues(); values.put(field1, value_for_field1); values.put(field2, value_for_field2); myDB.insert(MY_TABLE, null, values); Realize that you do not need to inform

Re: [android-developers] Epub reader

2009-12-07 Thread Edo Noordhuizen
Have a look: http://code.google.com/p/android-daisy-epub-reader/ Regards, Edo Noordhuizen On Mon, Dec 7, 2009 at 1:03 PM, Sukitha Udugamasooriya suk...@gmail.comwrote: Hi, Has anyone tried to make a epub reader software? cheers -- You received this message because you are subscribed to

[android-developers] Re: loop sound

2009-12-07 Thread JacobGladish
MODE_STATIC still has a clicking sound when it loops. What I think I need to do is continuously stream the data via AudioTrack.write(). Any ideas on how how to manage the timing of this? I was thinking that I should use setPositionNotificationPeriod() to call a callback every n frames, and in that

[android-developers] Re: HTML sanitization

2009-12-07 Thread Samuh
Many thanks Matt and sbruno. -- 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] [Android Manifest] How to set same XML attributes to all activities ?

2009-12-07 Thread Syl
In my application, I don't want the activity to restart when user changes his mobile's orientation or when he opens his physical keyboard. So, I have to assign the following XML attribute to all my activities in the manifest file : android:configChanges=keyboard|keyboardHidden|orientation I

[android-developers] Re: Help! No files return from apache commons net FTPClient

2009-12-07 Thread Chander Pechetty
As far as I can tell, there is no compatibility problem. Enable server logging and see if you get a 250 or [some number] directory OK, and hopefully its the same code you are running with the same account; it could be a minor bug somewhere else:-) -Chander www.unisaran.com On Dec 6, 8:26 

[android-developers] Re: Socket refused connection

2009-12-07 Thread Business Talk
Pierr, the following is a question to your question, as well as to anybody willing to share the experience with network connectivity. Do you have any tips regarding the P2P implementation in terms of getting IP address information of the connection target devices (a friend's device, for example).

[android-developers] Custom Adapter

2009-12-07 Thread Business Talk
I have implemented a custom adapter the extends from the BaseAdapter and implements the getView method. It works fine except for one thing, not once do I get the convert View (a parameter to the getView method) that is not null ( that can be reused). Anybody experienced that same? -- You

[android-developers] Re: loop sound

2009-12-07 Thread niko20
Hi, you don't need a callback. write() blocks until more data is needed. So you could just make a separate thread that pushes the data out as fast as write() will let it. -niko On Dec 7, 9:02 am, JacobGladish jacobglad...@yahoo.com wrote: MODE_STATIC still has a clicking sound when it loops.

[android-developers] Re: loop sound

2009-12-07 Thread niko20
One other thing - are you sure your sound is really loopable? Load it into Audacity and play it in looped mode, does it not have the click then? Just to check! -niko On Dec 7, 9:51 am, niko20 nikolatesl...@yahoo.com wrote: Hi, you don't need a callback. write() blocks until more data is

[android-developers] Re: Accessing contact's phone numbers

2009-12-07 Thread agirardello
Sorry for being away... I managed to get it to work, however I complain with the approach used in developing the API! Apparently, searching for a contact based on the phone number has changed in Android 2.0 and the old good way of doing that isn't working anymore (Why). I agree that now

[android-developers] Re: loop sound

2009-12-07 Thread JacobGladish
I'll definitely test in audacity. I've been converting audio files to/ from just about every format over the past few days. It's possible it has gotten corrupted along the way. Thanks for the suggestion. On Dec 7, 10:53 am, niko20 nikolatesl...@yahoo.com wrote: One other thing - are you sure

[android-developers] Re: Inconsistent results from date additions loop

2009-12-07 Thread Streets Of Boston
You don't know how many milliseconds there are in a day, or even how many hours there are. Most days have 24 hours, one may have 23 and an other may have 25 hours ( DST ). And this depends whether your timezone has DST or not. The Calendar class should be able to figure all this out. However, if

Re: [android-developers] Re: Emulator on Linux 10 times slower than on Windows

2009-12-07 Thread Michael MacDonald
I've had bad Linux/hardware interactions with the emulator from audio. The emulator AFAIK uses the SDL audio libraries. Try starting the emulator from the command line with the -noaudio flag and see if that works better. brian.schim...@googlemail.com wrote: To answer your questions: I was

[android-developers] Re: Emulator on Linux 10 times slower than on Windows

2009-12-07 Thread arnouf
I had this problem with Ubuntu 8.10, two things : - check that you're using the good environment x86 / 64 - use preferly the SUN JDK 1.6 to compile Android development (you can use the JDK 1.5 to work with sources). Today I'm using a bipro intel, 4Gb, Ubuntu 9.10 and SUN JDK 1.5.0.20 and

[android-developers] strategy to keep a scale after an animation

2009-12-07 Thread arnouf
hi all, I'm trying to keep on screen the last view after an animation. An animation is started to scale a view and I want to keep the scale after the animation (by default, an animation replace the view as it starts). if you have idea or quick solution, let me know. Thanks by advance. Arnaud

[android-developers] Re: Extending contacts

2009-12-07 Thread Saty
Hi, I have inserted some new mime types and related data into mietypes and data tables of contact. Now i want to view them through default android contacts app. Could u tell me the location of the exact XML file which needs to be modified? Any help is highly appreciated. Regards Saty On Oct 27,

[android-developers] Reproducable FC - bug in textview?

2009-12-07 Thread Al
Users of Droid/Milestone are reporting a crash in my app, which is reproducable for them. The crash happens when they use the app in landscape with the virtual keyboard. I've managed to get stack traces (http://pastebin.ca/1705719), and it shows the crash happening because TextView is calling

[android-developers] Re: Camera Preview Filter Choppiness

2009-12-07 Thread Streets Of Boston
How fast is 'decodeYUV' method? You call this method while your canvas is locked. If 'decodeYUV' is slow, it not only makes your background thread sluggish, but your main GUI-thread as well, because the canvas is locked for too long. Also, you don't synchronize on '_data'... Your implementation

Re: [android-developers] [Android Manifest] How to set same XML attributes to all activities ?

2009-12-07 Thread Romain Guy
Hi, You can simply create a theme for this. Look at the various samples in the SDK and you'll find examples on how to do this. On Mon, Dec 7, 2009 at 7:27 AM, Syl sylvain.guyoma...@altran.com wrote: In my application, I don't want the activity to restart when user changes his mobile's

Re: [android-developers] [Android Manifest] How to set same XML attributes to all activities ?

2009-12-07 Thread Dianne Hackborn
Sorry, I don't believe there is a way to do this. (If there is, it would be this attribute on the application tag.) We strongly recommend that people stick with the standard behavior of allowing the system to restart an activity due to a configuration change, since: (1) This takes care of a lot

Re: [android-developers] Re: How to get the event when the _current_ application install finished.

2009-12-07 Thread Dianne Hackborn
Sorry, you must wait for the user to explicitly launch your app. This is the intended design. On Mon, Dec 7, 2009 at 1:31 AM, feng tian feng.of.t...@gmail.com wrote: Or, in a fallback solution. Can my application automatically run after the installation? Thanks. BR, Feng 2009/12/7 feng

Re: [android-developers] Re: ListActivity mandatory for listView ?

2009-12-07 Thread Mark Murphy
For example, I am doing a app where i need to store things to do, I need to have a add, delete and edit functionality for the app. Should I use 3 different activities or 3 different layouts for these functionality ? Probably both: three different activities, each perhaps with its own layout.

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-07 Thread Dianne Hackborn
Sorry I don't know much about the media stuff in android. On Mon, Dec 7, 2009 at 5:32 AM, wusch jwu...@gmail.com wrote: Thanks Dianne for the heads up. Do you know if there are plans to expose an intent to play a video directly instead of having to redirect through the browser? Having the

[android-developers] Inflator

2009-12-07 Thread Business Talk
In my custom adapter, that implements the BaseAdapter and its getView, I use the inflator to generate a new view from a layout. Is there any way to avoid repetitive inflation step? specially when the convert View (an argument to the getView) is always null, which mean it can’t be reused and the

Re: [android-developers] Large SQLite3 DB handling

2009-12-07 Thread Mark Murphy
I'd like to handle a large SQLite3 database on Android. But CursorWindow that is used internal of SQLiteCursor has the limitation for window size (MAX_WINDOW_SIZE). Handling large database causes following error message. E/CursorWindow( 6330): not growing since there are already 1630 row

[android-developers] Re: Inflator

2009-12-07 Thread Dexter#39;s Brain
Just check if convertView is null. If it is null, you have to inflate, else use the convertView directly. Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 7, 10:30 pm, Business Talk roman.businesst...@gmail.com wrote: In my custom adapter, that implements the BaseAdapter and its

Re: [android-developers] Samsung devices and 3D performance

2009-12-07 Thread dan raaka
Do you have a apk for testing .. which shows difference in performance ? -Dan On Thu, Dec 3, 2009 at 9:16 PM, SoftwareForMe.com sa...@softwareforme.comwrote: Greetings, We acquired a Samsung Moment today, and find that it's 3D performance is very poor compared to the HTC and Motorola

[android-developers] Re: Reproducable FC - bug in textview?

2009-12-07 Thread Dexter#39;s Brain
I think the problem is like this. In the portrait orientation, if there is a spannable object, it might be keeping indexes for displaying some styling. So, say, you have bold style for chars from 4 to 39. No when the orientation changes, this range now changes to 39 to 4. And now if you are

[android-developers] Re: Custom Adapter

2009-12-07 Thread Dexter#39;s Brain
Yes of course, you can re-use it. If it is null, you have to inflate your layout if you have one, else you can re-use the same convertView. On Dec 7, 8:48 pm, Business Talk roman.businesst...@gmail.com wrote: I have implemented a custom adapter the extends from the BaseAdapter and implements

[android-developers] Market Support Questions From Users/Buyers

2009-12-07 Thread Warren
I get a slow but steady stream of users who have purchased or tried to purchase my app but have trouble with the market. Typically it's because the app won't download, or didn't install properly. This is not the norm. The vast majority of downloads work properly, so it is not a broken .apk file or

Re: [android-developers] DatePicker: years before 2000

2009-12-07 Thread dan raaka
yes that is correct. -Dan On Sun, Dec 6, 2009 at 1:05 AM, Thomas kuenne...@googlemail.com wrote: My app (TKBirthdayreminder) is heavily relying on DatePicker and DatePickerDialog. A few users have reported problems while entering the birthday date, specifically years prior to 2000. I was

Re: [android-developers] SensorManager.registerListener gives unexpected results

2009-12-07 Thread dan raaka
The newer versions of the build dont exhibit this problem .. -Dan On Mon, Nov 30, 2009 at 6:30 AM, TonyDoc tony...@gmail.com wrote: I'm registering a sensor listener with this line of code. mSensorManager.registerListener(this,mSensorManager.getDefaultSensor (Sensor.TYPE_ACCELEROMETER),

[android-developers] Re: Google Map not showing up....just the tiles

2009-12-07 Thread windstorm
If the tilesSteve mentioned is like grid without any street or city, that's exactly the same problem I met with. Dunno the solution yet, and I did have the internet permission On Dec 6, 11:23 pm, Mark Wyszomierski mar...@gmail.com wrote: What do you mean you only get the tiles? You mean the

[android-developers] Re: Display a route between 2 points on a map

2009-12-07 Thread windstorm
But Mytrack app do supply this function There should be some tricks to do this On Dec 7, 4:49 am, Dexter#39;s Brain coomar@gmail.com wrote: I dont think it is currently possible to achieve until Google Maps support such feature. Thanks, Kumar Bibekhttp://tech-droid.blogspot.com On Dec

[android-developers] Re: Display a route between 2 points on a map

2009-12-07 Thread Dexter#39;s Brain
May be they are using overlays to achieve this. But the documentation doesn't have any info on this. May be people from Google might give us the correct answer. :) Thanks, Kumar Bibek. http://tech-droid.blogspot.com On Dec 7, 10:48 pm, windstorm likunarmstr...@gmail.com wrote: But Mytrack app

[android-developers] Re: Inflator

2009-12-07 Thread Business Talk
thanks Kumar, that's exactly what I am doing but the problem is that I am getting the convertView as null all the time. Not once did I get the convertView not null (did you ever encounter such problem before). Otherwise, the adapter works fine. Even so, the inflate step is very expensive. It

[android-developers] Re: Inflator

2009-12-07 Thread Dexter#39;s Brain
I only get the convertView as null, the first time. In the subsequent calls, the convertView is not null. If you can post some of your code, the part where you are using your Custom Adapter, we will try to figure out what the problem is. Thanks, Kumar Bibek On Dec 7, 11:07 pm, Business Talk

[android-developers] Re: motally analytics for Android

2009-12-07 Thread Peter Sankauskas
Hi Max, I am using Motally for my game Remembory and I really like the reports. PAS On Dec 3, 6:41 pm, Max Binshtok max.binsh...@gmail.com wrote: Is anyone using motally for analytics? If yes - did you experience any problems? I am just wondering how are they since I want to try them out.

[android-developers] Rotate GalleryView Vertically

2009-12-07 Thread Yash Patel
Hi, Is there any way to rotate gallery view vertically instead of horizontal. thanks in advance. Yash -- 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

[android-developers] Re: Google Map not showing up....just the tiles

2009-12-07 Thread Andrei
this is because u did not put correct license string for maps, which is based on certificate u use to sign app On Dec 7, 12:47 pm, windstorm likunarmstr...@gmail.com wrote: If the tiles    Steve mentioned is like grid without any street or city, that's exactly the same problem I met with.

[android-developers] help with rokon game engine

2009-12-07 Thread Saurav
hi all, i am trying to develop a game with rokon game engine. i need more documentations and information on usage of the framework. thanks in advance. Regards, Saurav Mukherjee. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Rotate GalleryView Vertically

2009-12-07 Thread Romain Guy
Hi, Unfortunately this is not supported. On Mon, Dec 7, 2009 at 10:26 AM, Yash Patel yashjpa...@gmail.com wrote: Hi, Is there any way to rotate gallery view vertically instead of horizontal. thanks in advance. Yash -- You received this message because you are subscribed to the Google

[android-developers] ActiveSync warnings on exchange server caused by Droid users only

2009-12-07 Thread ahahum
We have users setup on our coprorate email server connecting using activesync. Most users are windows mobile and iPhones. We currently have 2 droids for testing (one is mine!). I get warnings in my exchange server application logs like this. It only began when we started testing the droids.

[android-developers] Phonestatelistener dies after a while .... can it be kept alive?

2009-12-07 Thread Bluetrail
Hi am developing an app that needs to track incoming calls. I have set up a phonelistener which is launched form a service like so TelephonyManager tm = (TelephonyManager)getSystemService (TELEPHONY_SERVICE); tm.listen(mPhoneListener, PhoneStateListener.LISTEN_NONE); This seems

[android-developers] Re: Google Map not showing up....just the tiles

2009-12-07 Thread warunsl
Hi, If u mean only the grid is appearing, then you would want to check if you have specified your API-key in the layout.xml file. If yes, then see if you have given the INTERNET permissions and uses-library in the AndroidManifest.xml file. Hope this helps.. Regards, Varun On Dec 7, 1:30 am,

[android-developers] Re: Smack 3.1.0 an Android

2009-12-07 Thread Simon Tennant
On Dec 7, 10:28 am, rtreffer rtref...@googlemail.com wrote: Hi, I've hacked together a working smack 3.1.0 lib for Android. http://github.com/rtreffer/asmack Here's what's inside: - apache harmony spec for javax.security.sasl - qpid and novell openldap/jldap for SaslClient impl. (Plain

[android-developers] Build your Android application in Chrome browser

2009-12-07 Thread android developers
Now, we are developing Android application on Android specific SDK, but this SDK seems a little heavy weighted for web developers who are familiar with their development environment (Firebug of FF, Web Inspector of Safari), so whether web developer can build his Android application without

[android-developers] android:windowTitleStyle doesn't works for android:gravity = center

2009-12-07 Thread rags
Hi All, Am trying to use a theme to my screen as below. style name=MyTheme parent=android:Theme.Light item name=android:windowNoTitlefalse/item item name=android:windowTitleStyle@style/header_style/ item /style In custom header style(Which is applied to the window title

[android-developers] Re: ADT Plugin for Exlipse installation fails

2009-12-07 Thread Mikael
Hi, I had the same problem and I've solved it by reading this quote : http://www.mail-archive.com/android-developers@googlegroups.com/msg69804.html Go to Help/Install New Software... Add http://download.eclipse.org/releases/galileo/ to the update sites list (strange it's not installed by

  1   2   3   >