Re: [android-developers] Re: Lazy Loading Images in a ListView

2009-12-09 Thread Romain Guy
You can check out the example I wrote at code.google.com/p/shelves. It does lazy loading of images from the sdcard. On Tue, Dec 8, 2009 at 11:45 PM, skyhigh skyhigh1...@gmail.com wrote: I haven't tried to do a lazy background image load like you are doing, but have done some code that uses a

[android-developers] Re: accessing email ,location and other information from contacts

2009-12-09 Thread vidya
Thanks a lot for your help On Dec 4, 11:42 pm, Dmitri Plotnikov dplotni...@google.com wrote: Hi Vidya, There is some documentation on the subject you can find here: http://developer.android.com/reference/android/provider/ContactsContr... Cheers, - Dmitri On Thu, Dec 3, 2009 at 8:30 PM,

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

2009-12-09 Thread TonyDoc
Hi, I have firmware I5on my device (latest I think). Do you know which firmware gives correct sensor updates? On Dec 8, 6:31 pm, dan raaka danra...@gmail.com wrote: If you use NPS studio - it allows you to update your device software tonewer builds. -Dan On Tue, Dec 8, 2009 at 3:24 AM,

[android-developers] adding contact photos in emulator

2009-12-09 Thread vidya
Hi , Can anyone tell me how to add contact photo in android emulator. I want to show the contact photo in my app. I am mew to Android. Thanks, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Strange behaviour with animation in tabhost

2009-12-09 Thread arnouf
Hi all, I've a strange issue related an animation loaded automatically building the content of a Tabhost : start is called correctly bu there is no animation ! The goal is to load an animation when user is on the first tab of a list of 4 different tabs. I created an xml file describing my

Re: [android-developers] Screen Size

2009-12-09 Thread Atif Gulzar
you need to go through this article. http://d.android.com/guide/practices/screens_support.html -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Tue, Dec 8, 2009 at 10:12 AM, Sasikumar.S sasikumar.it1...@gmail.comwrote: Hi hongi, Thanks for ur reply. I'm asking whether the

[android-developers] Re: ActivityManager.restartPackage() is not working

2009-12-09 Thread Asif k
Hi justinh, Thanks for your reply. Is that the package name you have defined in your Manifest for the package attribute? yess thats the package name that is there in manifest file. I am finding the package name from the main activity as shown bellow , String pkg = demo.test.MyActivity;

[android-developers] Re: Fail to create a new file on a sdcard

2009-12-09 Thread Teo [GD API Guru]
Have you managed to do that? I'm very interesting in doing this myself... Something must have happened because what works previously doesn't anymore and breaks functionality for a lot of users. On Dec 3, 3:14 am, Tan saurabhtanej...@googlemail.com wrote: Hi all I have the same problem, the

[android-developers] How to get device details

2009-12-09 Thread saikiran n
Hi I want to write some application in that i want to print device details like manufacturer,model ,userid etc.. Is this possible in android? If so what are the apis which gives this information -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: ActivityManager.restartPackage() is not working

2009-12-09 Thread Asif k
Hi all, Can I have any working example of restartPackage() API. Thanks in advance, Asif On Dec 9, 2:56 pm, Asif k asifk1...@gmail.com wrote: Hi justinh,    Thanks for your reply. Is that the package name you have defined in your Manifest for the package attribute? yess thats the

Re: [android-developers] How to get device details

2009-12-09 Thread Mark Murphy
I want to write some application in that i want to print device details like manufacturer,model ,userid etc.. Is this possible in android? If so what are the apis which gives this information Manufacturer and model are in android.os.Build. -- Mark Murphy (a Commons Guy)

[android-developers] Google Maps - Traffic View

2009-12-09 Thread javame_android
Hi, I would like to know how to use Traffic View or how to get the traffic details from GPS. Have I to use Traffic View only or is their any other way that can let me know about Traffic in my route. Thanks Regards Sunil -- You received this message because you are subscribed to the Google

[android-developers] how to add ImageButtons to the List elements

2009-12-09 Thread murali
Hi,I have one List and i want to add some Buttons to specific list items. like list items --- --- --- listItem1

[android-developers] Re: alarm not firing up !

2009-12-09 Thread Jags
thanks i loked at your alarmmanager code to send sms from a separate service, and bingo, it worked. I need to send email similarly, i found this http://www.vidyut.com/sunit/android/android_sendmail.html but it invokes the mail ui of android, cant I silenly send email as i am sending sms ?

Re: [android-developers] Re: alarm not firing up !

2009-12-09 Thread Mark Murphy
but it invokes the mail ui of android, cant I silenly send email as i am sending sms ? Not unless you bundle in your own email JAR and use that. The only built-in ways to send emails in Android will involve user input. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App

[android-developers] Re: File Downloads in Android Web Browser

2009-12-09 Thread AJ
??? On Dec 8, 4:42 pm, AJ ajeet.invinci...@gmail.com wrote: i hope at least somebody would be having any idea on this. Thanks, AJ On Dec 8, 10:40 am, AJ ajeet.invinci...@gmail.com wrote: Hi All, I have problem in downloading the content when Content-Disposition: attachment is

[android-developers] cPanel Web Hosting Controls Give End Users the Power of Reliable Affordable Web Hosting Services

2009-12-09 Thread David Smith
The challenges for web businesses trying to differentiate themselves from the pack are great. Of course, finding cheap, reliable website hosting providers isn’t always easy. But even with a solid business web hosting provider and a great website, the issue of content management continues to

[android-developers] Re: ActivityManager.restartPackage() is not working

2009-12-09 Thread Asif k
One observation, It is working fine if I am giving hardcoded package as am.restartPackage(demo.test); rather than am.restartPackage(pkg.substring(0,pkg_point)); . Here it is showing error that : Invalid package : demo.test which is same as I had given inside quotes. Any suggestions?? On

[android-developers] changing layout background from XmlResourceParser for widgets

2009-12-09 Thread Abdul Mateen
Hi, I have an app widget, I want to change the background drawable of LinearLayout while in runtime, how can I do that? I have tried using XmlResourceParser as XmlResourceParser p = getResources().getLayout(R.layout.main); p.next(); p.nextToken(); it takes me to linearlayout but when I issue

[android-developers] Drawing image with dynamic text

2009-12-09 Thread Neilz
Hi all. I understand the principle of a 9Patch image where the image stretches to fit the text within it. But this all assumes that the image is a background to a TextView, or similar. What I want to do is draw an image to the canvas, and set the contained text at the time (currently I'm using

[android-developers] Call Recording in Andriod ?

2009-12-09 Thread Y2U
Hello Guys i want to know can we record phone calls in android and if yes then can anybody provide me with some sample code or any other info regarding this. i read somewhere that call recording is blocked by android but even then there are some call recording apps in the market for android. so

[android-developers] Re: How can my view access mScrollX and mScrollY in computeScroll method?

2009-12-09 Thread Cheryl Sedota
I tried that too, It doesn't work properly. For the same reason that HorizontalScrollView can't call scrollTo/scrollBy in its computeScroll method. On Dec 8, 10:59 pm, Romain Guy romain...@android.com wrote: Use scrollTo()/scrollBy() :) On Tue, Dec 8, 2009 at 7:40 PM, Cheryl Sedota

[android-developers] Re: Sqlite trigger

2009-12-09 Thread Chris
but how can i use transaction related method while declaring the trigger. I mean these method will be called on the SQLiteDatabase object, how can i use transaction while creating the trigger. On Dec 9, 11:06 am, Mark Murphy mmur...@commonsware.com wrote: Doessqlitehas support for transactions.

[android-developers] Re: alarm not firing up !

2009-12-09 Thread Jags
very bad, blackberry allows this but. this is where blackberry scored better than android :) On Dec 9, 5:10 pm, Mark Murphy mmur...@commonsware.com wrote: but it invokes the mail ui of android, cant I silenly send email as i am sending sms ? Not unless you bundle in your own email JAR and

[android-developers] scrolling view

2009-12-09 Thread Jags
I saw in one of the android apps, iphone style sliding views with a navigation bar. Anybody has a example code for android on this ? The app is FunnyJokes -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: ACTION_APPWIDGET_PICK , filtering the list

2009-12-09 Thread daniel.benedykt
Thank you Jeff On Dec 8, 6:56 am, Jeff Sharkey jshar...@android.com wrote: The current API doesn't allow for filtering of that list, and that ACTION is the only method of binding.  A future API improvement might be to allow automatic binding of widgets if the certificates match between the

[android-developers] Ugg Tall Boots Women's Shoes Compare Prices Shopping Ugg Tall Boots on UggsSaler.com,which sale UGG boots made from the top quality Australia Merino sheepskin. Enjoy the optio

2009-12-09 Thread jane
(www.uggssaler.com)Ugg Tall Boots Women's Shoes Compare Prices Shopping Ugg Tall Boots on UggsSaler.com,which sale UGG boots made from the top quality Australia Merino sheepskin. Enjoy the optional styles,colors (www.uggssaler.com) (www.uggssaler.com)Classic Tall Boot by UGG Women's Tall

[android-developers] Re: Safely passing Object references to new Activities

2009-12-09 Thread mmcev106
That was actually my first approach, but I ran into problems when the screen orientation changed. I was removing the static references when the Activity was first created. So when the Activity was recreated (when the orientation changed), the static references were no longer there. I have yet

[android-developers] Re: ActivityManager.restartPackage() is not working

2009-12-09 Thread justinh
Why not use getPackageName() from the class Context. So in your activity it would be something like this.getPackageName() That would five you a String of your package. It is against Android convention to end your process in this manner, however. Android will garbage collect it as necessary. On

Re: [android-developers] How to update G1 firmware version to 2.0?

2009-12-09 Thread Disconnect
The word is the same as it was for 1.5 - it might come someday, it might not. 1.5 and 1.6 came (with some hacks, like offloading text-to-speech to an installable app) but only google knows right now and they're about as open as a lead wall. (And only slightly less toxic ;) ..) You can get some of

Re: [android-developers] ActivityManager.restartPackage() is not working

2009-12-09 Thread Dianne Hackborn
You probably don't want to do this. Unless you really want to suddenly kill all of your processes, unregister all of your alarms, remove all of your notifications, etc. If you just want to do this as some kind of test, you can use the Force stop button in Manage Applications. On Tue, Dec 8,

[android-developers] Re: App Not showing up on Verizon DROID Phones

2009-12-09 Thread Matt
Interesting. 10 minutes later, the app just started showing up. No idea what happened. Matt On Dec 8, 12:49 pm, Matt hansen.matt...@gmail.com wrote: I have an app (Call Waiting Configurations) that has been out on the market for several weeks, and is now gone.  It isn't searchable from

[android-developers] Re: Call Recording in Andriod ?

2009-12-09 Thread Matt
The call recording apps that I know of in Android only work if the phone call is on speaker phone. Based on user comments, they also look pretty unstable. Matt On Dec 9, 4:50 am, Y2U usman@gmail.com wrote: Hello Guys i want to know can we record phone calls in android and if yes then can

[android-developers] Re: MediaRecorder documentation example does not work

2009-12-09 Thread skyhigh
Has anyone successfully used the MediaRecorder class to record audio? The HTC G1 phone should be the most tested phone and if it isn't working on this phone I wonder if the MediaRecorder is working at all. The problem is reproducible with only 2 lines of code so I can't see anything else that

[android-developers] Re: MediaRecorder documentation example does not work

2009-12-09 Thread skyhigh
Has anyone successfully used the MediaRecorder class to record audio? The HTC G1 phone should be the most tested phone and if it isn't working on this phone I wonder if the MediaRecorder is working at all. The problem is reproducible with only 2 lines of code so I can't see anything else that

[android-developers] Decode MP3 audio data to PCM audio format in android

2009-12-09 Thread purvi
Hi, I am streaming an MP3 audio and instead making this MP3 audio to play, I want it to be converted to PCM format and pass this PCM audio to AudioTrack(as it takes PCM data as input.) instead of passing my MP3 stream to MediaPlayer. Can anyone please help me to convert the MP3 to PCM stream?

[android-developers] Android ecommerce and processing credit cards

2009-12-09 Thread Guian
Someone's already talk about it about two years ago but the topic seems closed. I wonder is the situation evolved or not ? the topic was : Android ecommerce and processing credit cards through Android (Google Checkout, PayPal, PCI Compliance) link:

[android-developers] Re: How to test if app is shown on Market for all screensizes

2009-12-09 Thread polyclefsoftware
I think this thread really highlights the standing need for some kind of market visibility tool for developers. Of course, a desktop client for everyone would be nice, which would allow you to filter apps based on device type. But at the very least developers *really* need some way of checking

[android-developers] Exception when clearing tabs and onResume() from different applications

2009-12-09 Thread Miguel Paraz
Hi, In my onResume() I have this, to recreate the tabs every time i run. This is because the tab content changes depending on the program state. tabHost = getTabHost(); tabHost.setCurrentTab(0); tabHost.clearAllTabs(); tabSpec = tabHost.newTabSpec(Label);

[android-developers] how to know type of the device

2009-12-09 Thread saikiran n
Hi I have gone through android.os.Build api and seen some of the device details like manufaterer and deviceId etc.. But i need some other details like software vertion,type of the device like is it phone or PDA,maximum length of the management tree ,Bearer details, hardware vertion etc Is there

[android-developers] Educating Users

2009-12-09 Thread Wayne Wenthin
Has anyone got a good method to teach users that the Market is a one way street and that I can't reply there. I've tried putting that in the description, wasting valuable text space, I put in in my news button on the game but they still ask for help in the market and leave a low score because

[android-developers] Re: Use Camera API for normal quality pictures

2009-12-09 Thread Mark Wyszomierski
After reading up on many posts about this subject, it seems like standard camera support is going to be iffy on all the different devices coming out now. It seems the only 'safe' thing to do is get the memory-only image from the camera intent which is 192x256. The Facebook app only acquires images

[android-developers] Re: Use Camera API for normal quality pictures

2009-12-09 Thread Mark Wyszomierski
Oh and here's a useful discussion on the state of the camera: http://code.google.com/p/android/issues/detail?id=1480 yeah, wish the default 192x256 size was just a bit bigger.. On Dec 9, 11:48 am, Mark Wyszomierski mar...@gmail.com wrote: After reading up on many posts about this subject, it

Re: [android-developers] Re: help with game development.

2009-12-09 Thread Saurav
thank you so much for the replies (Neilz and shaun). i would love to get some rokon examples, not that i have not gone thru some, but just that it would help to get some more thanks again. Regards, Saurav Mukherjee. On Fri, Dec 4, 2009 at 9:05 PM, shaun shashepp...@gmail.com wrote:

Re: [android-developers] how to know type of the device

2009-12-09 Thread Wayne Wenthin
The Flurry API gives you some of these. www.flurry.com On Wed, Dec 9, 2009 at 8:40 AM, saikiran n saikiran@gmail.com wrote: Hi I have gone through android.os.Build api and seen some of the device details like manufaterer and deviceId etc.. But i need some other details like software

[android-developers] Re: eclipse keyboard shortcuts: how do you quickly rebuild and run your app after changes?

2009-12-09 Thread UBZack
I find that it's a good idea to have Build Automatically checked, under the Project menu. That, and I always Ctrl-s (save) each file pretty often after I make changes to it, and then those changes are built automatically because that option is turned on. I have not yet found a way, though, to

Re: [android-developers] how to know type of the device

2009-12-09 Thread Dianne Hackborn
The software version is Build.SDK / Build.SDK_INT. Android currently only supports phones, so there is no other type. There is currently no management tree. There is no hardware version. On Wed, Dec 9, 2009 at 8:40 AM, saikiran n saikiran@gmail.com wrote: Hi I have gone through

[android-developers] Button Bar

2009-12-09 Thread Wouter
Hey, I'm developping an Android application for a TV Guide for the Netherlands and Belgium. I do this for a company who already has an iphone application for this and I have to make the look the most as possible the same. My question is how do I make something like this? http://snapplr.com/q6cx

[android-developers] Help with Intents

2009-12-09 Thread Robotuner
I'm just not getting the documentation on Intents. I have two Activities A and B. Activity A calls Activity B based on a menu selection. This is my code snippet: ccase R.id.MENU_SELECTION: Intent intent=new Intent(Intent.ACTION_ATTACH_DATA);

[android-developers] Re: Missing .apk file

2009-12-09 Thread Alper Konuk
Forgot to mention that I am trying to make this file in Eclipse. If I try to build it using the ant command, it gives me no errors. On Mon, Dec 7, 2009 at 11:33 PM, bobjones alper.ko...@gmail.com wrote: Hello, I have succesfully run the HelloWorld tutorial and now I am trying to make my own

[android-developers] Re: Camera Preview Filter Choppiness

2009-12-09 Thread Greg
Hmm... so I need a way to keep the thread running, and update its data load from onPreview. Is there anything specific to watch out for, or do I just need to be more well versed in threads? (ie. Should I be looking at Thread.setDaemon() in particular?) As for the SurfaceView issue, how else could

[android-developers] How to stop android activity destruction

2009-12-09 Thread S. Ghelani
Hello Android Developers, I would like to know if there is a way to stop activity destruction upon physical keyboard slide in/out event. Your help would be greatly appreciated. Thanks, Sam -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Informed Build Targeting, what information is out there?

2009-12-09 Thread Lee Olayvar
Is there any relatively accurate information gathered about how many users, per phone, per Android install version, exist? Eg, if say 200k users on the Droid are using Android 2.0, 400k are using 1.6 on the G1, etc. Thanks, -- Lee Olayvar -- You received this message because you are

[android-developers] Re: motally analytics for Android

2009-12-09 Thread bostonbrian
On Dec 3, 9: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. Thanks, Max. Hi Max, I don't know the focus of your application, but I'd encourage

[android-developers] How to work with ContactsContract.Contacts.CONTENT_VCARD_URI

2009-12-09 Thread Molee
I can successfully retrieve a FileInputStream with this uri as follows Uri myPerson = Uri.withAppendedPath (ContactsContract.Contacts.CONTENT_VCARD_URI, iLookKey); AssetFileDescriptor afd =this.getContentResolver ().openAssetFileDescriptor(myPerson, r); FileInputStream

[android-developers] Block Switch App

2009-12-09 Thread DAVIDT
Hi All I want to block the functionality switch between Applications in my Activity. Is it possible ? Thanks David -- 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

[android-developers] Missing .apk file

2009-12-09 Thread bobjones
Hello, I have succesfully run the HelloWorld tutorial and now I am trying to make my own program but I keep on getting the following error: [2009-12-07 23:30:50 - Java22]Android Launch! [2009-12-07 23:30:50 - Java22]adb is running normally. [2009-12-07 23:30:50 - Java22]Could not find

[android-developers] Re: How to show a 'Progress View' during a ListView is loading

2009-12-09 Thread Sans
Just did the same last week lazy load pagination here is how I did this: * added the custom footer to my class (inherited from ListView), with the spinning ProgressBar and TextView that says something like Loading * in the custom adapter in the getView implementation, request more items

[android-developers] Unable to build a native application(Camera) in Eclipse galileo

2009-12-09 Thread prabhu
Hi all, It's not possible for me to build the Camera code in eclipse, I just need to compile it and put breakpoints in the perspective of checking the flow of the application execution. Its giving many errors and most of the variables and apis used are in the code aren't seen compatible. If it is

[android-developers] Can SurfaceView be the view of PopupWindow

2009-12-09 Thread alpha cai
hi all, I am working with fullscreen handwrite trace drawing, want to use SurfaceView and Thread to make drawing fast, like LunarLander. but the canvas is always null: public void run(){ while (mRun) { Canvas c = null; try { c =

[android-developers] Can we run Android JUnit test cases from remote computer in the network?

2009-12-09 Thread Niraj
Hi, The scenario is like this: I want the android service running on android machine. Any client(running on other computer in the network) can connect to this service and should be able to test the application as JUnit does. And server sends back the test results to client. How can we achieve

[android-developers] Re: Where could I download the SDK source code

2009-12-09 Thread a9k
http://developer.android.com/sdk/index.html -- 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] Dynamiclly change the theme in android again

2009-12-09 Thread paul from china
My question is like the title. I have refer to the page:http://groups.google.com/group/android- developers/browse_thread/thread/0c28efb36f73aea7/e19fbf4a415a7196? lnk=raot In that page, the question is not resolved. Now does anybody find a solution? by paul. -- -- -- -- -- Best regards ! --

[android-developers] Re: Android browser is parsing my XML (KML) document

2009-12-09 Thread Phil V
maybe set the encoding to text/html On Dec 7, 4:39 pm, Raul raul...@gmail.com wrote: Hey Guys- Is there any way to display raw XML in an Android Browser. My XML file is being stripped of all the XML tags, and I need them for my map application to work correctly. Please advise, Raul --

[android-developers] Re: ps3 remote control

2009-12-09 Thread Steve Davidson
Funny, I'm playing with this now. Preliminary testing is looking promising... I'll send you a beta when I get something coherent together. On Dec 7, 1:46 am, Aspidoff aspid...@gmail.com wrote: Does android 2.0 API allow to developer an app that controls your PS3. If so, is anyone willing to

Re: [android-developers] Help with Intents

2009-12-09 Thread Mark Murphy
I'm just not getting the documentation on Intents. I have two Activities A and B. Activity A calls Activity B based on a menu selection. This is my code snippet: ccase R.id.MENU_SELECTION: Intent intent=new Intent(Intent.ACTION_ATTACH_DATA);

[android-developers] question concerning glteximage2d and buffers

2009-12-09 Thread tdom...@googlemail.com
for all those gl*Pointer functions you need to create bytebuffers through ByteBuffer.allocatedirect. when you want to load a texture through glteximage2d you need to supply a bytebuffer, too. can this be a normal bytebuffer or do I have to create this one too via allocatedirect? -- You received

[android-developers] Re: Camera crashes when taking pictures

2009-12-09 Thread bobbyjane_v
hi, i'm having the same problem as yours. Funnily before it was fine. Just today. Have you already found a solution? On Nov 9, 10:05 am, merabi mera...@gmail.com wrote: Hi. im having a trouble getting Android's camera to work. i started CameraActivity Intent from MapActivity (when i start

[android-developers] The way to access the android phone.

2009-12-09 Thread feng jack
Hi, Buddies, I am writing a PC software, which is used to read, write, and update the contact information, send SMS, and change the settings of the phone from a PC connected to a Android phone via USB. Currently, the way I figured out is to use adb, but, I found that adb is be able to work only

[android-developers] Adding TextView Elements to Contacts Application

2009-12-09 Thread Shaun
Dear All, I want to add some TextViews to the Contacts Application, specifically in the contacts_view_item.xml. The problem I am having is getting this new contacts_view_item available from my code additions to ContactsListActivity.java in the emulator. Whenever I call findViewById() with the

[android-developers] Re: Android SDK and AVD Manager Stalling During Download

2009-12-09 Thread Casey Ballentine
Well, for whatever reason, the downloads are not stalling for me this morning. *crosses fingers* Maybe I can get the full set of platforms downloaded now. On Dec 7, 1:43 pm, Casey Ballentine casey.ballent...@gmail.com wrote: Same problem here. The AVD manager stalls (whether run from eclipse

[android-developers] Re: Internal clock off by 15 seconds

2009-12-09 Thread a9k
I've confirmed this another way - side by side comparison of RAZR2 to Droid time. Razr2 is perfectly in sync with time servers. Caught the problem on video. So Moto Droid has a problem. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How to detect the Widget is active in the current panel?

2009-12-09 Thread hongwei yuwen
i had same problem about this.Does anybody tell us? On 11月9日, 上午11时17分, Jimmy Huang huan...@gmail.com wrote: Does anyone can help me? On Nov 6, 3:22 pm, Jimmy Huang huan...@gmail.com wrote: Hi All, Does anyone know how to detect the Widget in home screen is active in the currentpanel?

[android-developers] About registering/deregistering for gps updates

2009-12-09 Thread API Tests
Hi, With the LocationManager class, it seems we should register a listener in onResume(), and deregister the listener in onPause(). If we're using GPS though, does deregistering the listener mean that GPS completely shuts down? I mean if the user pauses the app briefly [gps stops], then quickly

[android-developers] Re: Camera Preview Filter Choppiness

2009-12-09 Thread Greg
Sorry if this arrives out of order (ie. my response is responded to before this is posted). I'm a new user, so my posts are still being moderated before being posted. But anywho, I've updated my code to be more Thread friendly. http://paste.weezy.us/p/565 the Thread specific is towards the

[android-developers] Error in deploying apk in Android

2009-12-09 Thread vaibhav
Iam getting below error when I try to upload apk file with AVD version Level2. Can't dispatch DDM chunk 46454154: no handler defined -- 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] Video rotate function

2009-12-09 Thread vyceris
Hi, How can implement video rotation during playback (or before starting playing)? I tried: private SurfaceView video = null; - video = new SurfaceView(); video.getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); - video.getHolder().lockCanvas().rotate(90); it gives me error:

[android-developers] ddms still not recognize my device

2009-12-09 Thread Barina
Hi all i have a G1 and Windows 7 i just install the new sdk-r04 windows usb driver and java SE 1.6.0_17 i tried to start ddms and nothing.. when i enter adb devices im getting this: List of devices attached completely empty.. C:\Users\Royadb get-state unknown please help :( -- You received

[android-developers] MediaPlayer - Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported

2009-12-09 Thread akitto
I have two versions of the same application that starts by playing an mp3 from the res/raw/ directory, both versions of code are the same as far as the MediaPlayer is concerned and the code used. I get the following error in one version and it plays just I would expect in the other version. I am

[android-developers] Re: How to test if app is shown on Market for all screensizes

2009-12-09 Thread Schimmel
Hi Justin, Thank you for your reply. You are the any Google employee facing this problem in any forum or group. I am also affected by this restricted market access. As already mentioned in the community, this concerns all the Milestones bought on Amazon in Germany and AFAIK all milestones in the

[android-developers] Application security considerations

2009-12-09 Thread INSI mobile
Hello all, I am developing various application on Android platform, I would like to know more about the security considerations on the application front, my application uses HTTP to connect to server. Server too connects to clients for provisional data. What are the pros and cons on using https

[android-developers] Can't switch input method in search dialog

2009-12-09 Thread Jason
when there are several InputMethods installed in phone, long press EditText widget on any search dialog such as Google search or search menu in contact list, then popup one dialog showing Input Method, click it and another dialog display with title Select input method, select same InputMethod and

Re: [android-developers] Screen Size

2009-12-09 Thread Phavanhna Douangboupha
Android screen size are different and grouped into 3 different size. 1. the normal size, those of the same size with G1, 320x480 2. the small size, all those screen that is smaller than G1, e.g. HTC Tattoo (240x320) 3. the big size, all those screen that is bigger than G1, i.e. tablet style device

[android-developers] Re: Camera Preview Filter Choppiness

2009-12-09 Thread Streets Of Boston
If you don't know much about thread syncing, take a look at the java.util.concurrent package, especially the ExecutorService and the Future instances it can create. The ExecutorService allows you to create one (or more) thread and submit tasks for it. These threads will keep running until you

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

2009-12-09 Thread ernestw
I think I found a solution to this issue - my game uses OpenGL and crashes horribly when I try to detect hardware acceleration on the Samsung Moment. Luckily my coworker just got a Moment so I had a chance to debug the situation. FYI, neither DroidBench nor NeoCore show up in the Market for the

Re: [android-developers] Block Switch App

2009-12-09 Thread Mark Murphy
I want to block the functionality switch between Applications in my Activity. Is it possible ? Fortunately, no. The user can always press HOME. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this

Re: [android-developers] Re: How to detect the Widget is active in the current panel?

2009-12-09 Thread Romain Guy
This is not possible, sorry. 2009/12/8 hongwei yuwen yuwenhong...@gmail.com: i had same problem about this.Does anybody tell us? On 11月9日, 上午11时17分, Jimmy Huang huan...@gmail.com wrote: Does anyone can help me? On Nov 6, 3:22 pm, Jimmy Huang huan...@gmail.com wrote: Hi All, Does anyone

[android-developers] memory/resource leak: Android 1.6, OTA, AAC v1 or v2 content.

2009-12-09 Thread sdphil
I am seeing a memory/resource leak after 3-4 hours of media play under the following conditions: 1. Android 1.6 2. OTA (over-the-air) streaming. 3. AAC v1 or AAC v2 content. If any of those variables change, I do not see the issue -- i.e. Android 1.5 and 2.0 do not have this problem,

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

2009-12-09 Thread TonyDoc
Thanks Dan, I see K4 is out in the wild now. But not yet on NPS. Is it this firmware you speak of? On Dec 9, 8:15 am, TonyDoc tony...@gmail.com wrote: Hi, I have firmware I5on my device (latest I think). Do you know which firmware gives correct sensor updates? On Dec 8, 6:31 pm, dan raaka

[android-developers] How to query more than one phone in the Contacts Content Provider

2009-12-09 Thread vendor.net
Hi all! I am using this code to get the phone from the android address book: Uri myContactURI = Uri.withAppendedPath(Contacts.People.CONTENT_URI, Some contact ID); Cursor cur = managedQuery(myContactURI, null, null, null, null); if (cur.moveToFirst()) { Log.d(DEBUGTAG, first);

[android-developers] Re: Looking for bar of button toggles (c.f. Google Maps car/transit/walk directions button)

2009-12-09 Thread Wouter
I'm looking for this too! Have you found something already that can makes such a view? Wouter On Nov 23, 8:46 pm, jean-guys jean...@gmail.com wrote: We are looking for a UI view that imitates the functionality of the Google Maps directions screen UI control where it allows the user to pick

Re: [android-developers] How to query more than one phone in the Contacts Content Provider

2009-12-09 Thread Dmitri Plotnikov
If you want to stick with old Contacts APIs, use the Contacts.Phones table. However, you might want to upgrade to the new Contacts APIs. Continuing to use old APIs on the Eclair phones limits you to only one account - basically your app may see only some contacts or none at all on an Eclair

Re: [android-developers] Block Switch App

2009-12-09 Thread David Toledo
exist some other alternative? exist some method or function that capture when the press home key ??? 2009/12/9 Mark Murphy mmur...@commonsware.com I want to block the functionality switch between Applications in my Activity. Is it possible ? Fortunately, no. The user can always press

Re: [android-developers] Anyone using Greystripe for ads?

2009-12-09 Thread Wayne Wenthin
Did it get any better?I'm currently looking at this and would love to hear some input. It looks like they have two api keys one for testing and one for live so you don't test with live ads. On Tue, Dec 1, 2009 at 7:36 AM, Greg Donald gdon...@gmail.com wrote: On Mon, Nov 30, 2009 at 8:51

Re: [android-developers] Block Switch App

2009-12-09 Thread Dianne Hackborn
Occasionally people find hacks to kind-of do this, and when they do we fix the platform to prevent it. Don't do this. The home key is the -only- mechanism a user has to return to a known, trusted state. It is critical for security that it do this, and apps can not prevent it. On Wed, Dec 9,

[android-developers] Re: Educating Users

2009-12-09 Thread jeffro
Here are a few ideas to reduce these comments and educate your users: -provide a userguide in the app and on your product web site. -add Toasts throughout your app that provide tips for using your app. -add a Tips dialog on launch that provides helpful hints. -add a forum to your product web site

Re: [android-developers] Block Switch App

2009-12-09 Thread David Toledo
But I do see some screensavers disable it. how can they do that? 2009/12/9 Dianne Hackborn hack...@android.com Occasionally people find hacks to kind-of do this, and when they do we fix the platform to prevent it. Don't do this. The home key is the -only- mechanism a user has to return to a

Re: [android-developers] Block Switch App

2009-12-09 Thread Jeffrey Blattman
if i ever mistakenly installed an app that disabled the home key, i'd promptly reboot my phone, uninstall, and report it as malware. On 12/9/09 11:31 AM, David Toledo wrote: But I do see some screensavers disable it. how can they do that? 2009/12/9 Dianne Hackborn hack...@android.com

Re: [android-developers] Re: Educating Users

2009-12-09 Thread Wayne Wenthin
You gave me an Idea I could push the forums from the main menu. The Tips dialogs via toasts is another one. Thanks! Wayne On Wed, Dec 9, 2009 at 11:26 AM, jeffro j...@trackaroo.com wrote: Here are a few ideas to reduce these comments and educate your users: -provide a userguide in the app

Re: [android-developers] Block Switch App

2009-12-09 Thread David Toledo
The idea is an application that is started at boot to prevent others from entering if they do not know the protect key. 2009/12/9 Jeffrey Blattman jeffrey.blatt...@gmail.com if i ever mistakenly installed an app that disabled the home key, i'd promptly reboot my phone, uninstall, and report

  1   2   >