Re: [android-developers] Re: color button backgrounds

2010-07-03 Thread Mark Murphy
On Fri, Jul 2, 2010 at 4:36 PM, aji aji...@gmail.com wrote: I had the exact same question today and after a search an answer at http://www.coderanch.com/t/494280/Android/Mobile/Why-changing-Color-Default-Button It works great! I am a bit concerned about efficiency with that solution --

Re: [android-developers] Start ACTION_CALL activity from service on Motorola Milestone

2010-07-03 Thread Mark Murphy
On Fri, Jul 2, 2010 at 6:11 PM, alex.tchumel alex.tchu...@gmail.com wrote: I have a problem with starting ACTION_CALL activity from my service on Motorola Milestone after upgrade to 2.1 - update1 firmware version. I have a very simple (worked before) code. code Intent dialIntent = new

Re: [android-developers] Re: User comments available in the developer console!

2010-07-03 Thread Mark Carter
The biggest problem with this is that the user it not notified and so probably 95% of the time will not see the response. This means they will not correct their comment (should it be an invalid one) and will not benefit from the developer's feedback. On 2 July 2010 23:32, Maps.Huge.Info (Maps API

Re: [android-developers] File read and write.

2010-07-03 Thread Mark Murphy
On Sat, Jul 3, 2010 at 12:40 AM, choi devmc...@gmail.com wrote: Today, i tried to read and write file on the android. but it seems that file write mode is only provided for SD card? With the WRITE_EXTERNAL_STORAGE permission, you can write to the SD card. most of article is asked about SD

RE: [android-developers] Re: Development phones question

2010-07-03 Thread Tommy
Ok great thanks for the help! -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of QR Sent: Friday, July 02, 2010 1:53 PM To: Android Developers Subject: [android-developers] Re: Development phones question

[android-developers] GridView Issue

2010-07-03 Thread Landy
I am trying to show a textview below the gridview but it doesnt seem to work. The textview never appears. Below is the code i am using. Please suggest me how to use a TextView below the GridView. LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical

[android-developers] Re: User comments available in the developer console!

2010-07-03 Thread Maps.Huge.Info (Maps API Guru)
I'm of the opinion that those users who leave negative and incorrect feedback are a lost cause. What the comments we as developers leave are there for new users so they aren't confused by those incorrect negative words. -John Coryat -- You received this message because you are subscribed to the

[android-developers] Re: Terminal Server access from an Android Tablet PC

2010-07-03 Thread Al Sutton
You'll probably get a better answer on the android-discuss group. Regards, Al. On Jul 2, 9:26 pm, Peter Ciank pedrociancagl...@gmail.com wrote: Dear People, very soon, I have to implement for my users something smaller than a notebook. I've been searching and researching and I found iPad

[android-developers] Re: Simple Question about Res folders

2010-07-03 Thread Al Sutton
They are *not* for resolutions. They are for screen densities (i.e. the number of pixels per inch on the screen). To illustrate this point, the Nexus One and the Dell Streak both have screens with a resolution of 800x480 pixels, but because the Nexus One has a smaler physical screen it has a

[android-developers] Re: Error in an XML file eclipse

2010-07-03 Thread Al Sutton
Have you guys put this information into b.android.com so it can be logged tracked easily? Al. On Jul 2, 7:26 pm, Ryan Cook co...@uw.edu wrote: I am also having this issue on multiple machines. It was working before, and I think it stopped working (and started giving error) after I upgraded

[android-developers] Re: from FRF50 to FRF91

2010-07-03 Thread Al Sutton
There was a FRF83 to FRF85B link circulating for a while, but it seems to have been pulled now. Your best option may be drop back to a 2.1 stock firmware and wait for OTA updates. Al. On Jul 3, 12:47 am, Ken H hunt1...@gmail.com wrote: Anyone know where (or if) I can manually update from FRF50

[android-developers] Problem with Quick Search Box: ContentProvider with a custom non-sqlite datasource

2010-07-03 Thread Charlie Chilton
Hi, I've been trying to implement a quick search feature to my app Thinking Space this weekend without much success.. I've created a searchable.xml, modified the app's manifest, and created a 'dummy' content provider. My app doesn't use SQLite for data, as the searchable objects are MindMaps

Re: [android-developers] Problem with Quick Search Box: ContentProvider with a custom non-sqlite datasource

2010-07-03 Thread Mark Murphy
On Sat, Jul 3, 2010 at 3:41 AM, Charlie Chilton power...@gmail.com wrote: The problem is, that when the using the Quick Search Box, I can see the search query string arrive at my dummy content provider's query() method, but the main Activity doesn't get it's onCreate() called with a search

[android-developers] Re: Problem with Quick Search Box: ContentProvider with a custom non-sqlite datasource

2010-07-03 Thread Charlie Chilton
Mark (you legend!), thanks for heads up! MatrixCursor looks like just the kind of thing I need :D Cheers Charlie On Jul 3, 8:44 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 3, 2010 at 3:41 AM, Charlie Chilton power...@gmail.com wrote: The problem is, that when the using the

[android-developers] Re: is there an easier way?

2010-07-03 Thread Tim
Dear Friend, There is an easier way!!! If you want to master Android really fast then I suggest you have a look at rapid development tools such as our MobiForms Developer. MobiForms is the world's first rapid application development tool designed for Android and is also cross platform

[android-developers] How to handle SCREEN_OFF/_ON intents

2010-07-03 Thread Durg
Hi All, I'm trying to handle the events SCREEN_OFF and _ON when the device going to sleep mode. I tried creating the broadcast receivers registering in the manifest by using receiver tag, and also tried using the registerReceiver() in a background running service, to get notified in all the

[android-developers] Re: Can't mark errors as old in the market developer console

2010-07-03 Thread Neilz
To bump this thread... I also wish to Mark as old some exceptions in the market dashboard. But each time I just get the message Server error in red letters. Fix this please Google! On Jun 25, 5:32 pm, Olivier Guilyardi l...@samalyse.com wrote: Hi, in the developer console, I have a couple of

[android-developers] Re: Bluetooth pairing problem

2010-07-03 Thread margo
No. I can only pairs without passkey. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Which development kit ?

2010-07-03 Thread Tim
Dear Stephane, Could I suggest you add http://www.mobiforms.com to your list. MobiForms is the world's first rapid application development tool designed for Android and is also cross platform compatible with other environments such as Windows Mobile and Symbian. MobiForms is ideal for creating

[android-developers] open other apk from my activity

2010-07-03 Thread CMF
HI, I want to open other apk from my activity. is there any way similar to new Intent(...)? -- 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

[android-developers] Re: Start ACTION_CALL activity from service on Motorola Milestone

2010-07-03 Thread alex.tchumel
Could you say more about your idea - what kind of the flags can be helpfull? Do you think an alternative to FLAG_ACTIVITY_NEW_TASK flag or some additional flag(s) to FLAG_ACTIVITY_NEW_TASK? I spent a lot of time to fix this problem without of understandig it : ( I started a simple launcher

[android-developers] Re: https://dl-ssl.google.com/android/repository/repository.xml

2010-07-03 Thread joebowbeer
You are not alone. The https link has never worked for me on Windows. Try http instead of https. That works for me. There's a Setting to force this to happen. Search this forum for similar reports. Also see: http://developer.android.com/sdk/eclipse-adt.html#troubleshooting On Jul 2, 3:31 

Re: [android-developers] open other apk from my activity

2010-07-03 Thread YuviDroid
You mean launch another application? You can set the package name and class name of the activity you want to start like this: Intent intent = new Intent(Intent.ACTION_MAIN); intent.setClassName(packageName, className); An example for the package and class name might be: packageName =

[android-developers] SoundPool queries

2010-07-03 Thread Steve
Hi there, I have been finishing off the port of one of my games to Android, with the last two things being music and sound effects. I have implemented the music system now, using a series of MediaPlayer instances, and that all seems to be working fine (I only need to do limited things with music,

[android-developers] Re: Is android 2.2 emulator support any flash or flash lite?

2010-07-03 Thread Lance Nanek
what kinds of devices are supporting flash currently? In addition to what Mark said, my HTC Evo 4G running Android 2.1- update1 has Flash Lite. Maybe all phones with HTC Sense have this? It's something, at least. On Jul 1, 4:09 am, choi devmc...@gmail.com wrote: Hello, I read several article.

[android-developers] Re: Request for test of a game on an Evo

2010-07-03 Thread Lance Nanek
Works as you intended on my Evo here. I can see how some users might be confused, though. The control scheme you've chosen sometimes results in the user tapping the left side of the screen and the car turning away from their finger, not always towards it. So if the user is expecting the car to

[android-developers] Re: Application state being lost

2010-07-03 Thread Lance Nanek
I've seen this happen when someone was forgetting to call superclass methods. If you override onSaveInstanceState, for example, you have to call super.onSaveInstanceState if you still want the default behavior of saving the state of all view's with an ID. There's a similar method in buttons and

[android-developers] Re: Request for test of a game on an Evo

2010-07-03 Thread Neil
Thanks Lance, that's appreciated. I've had a few people tell me they're confused by the control scheme, which surprised me slightly due to it being the standard one for top- down racing games - e.g Super Sprint, Super Off Road, Micro Machines. But I guess I'm just getting old and the youngsters

[android-developers] Re: Setting and testing state of WiFi Tether hotspot setting in 2.2

2010-07-03 Thread Stephen
Me too! On Jul 2, 1:53 pm, Jens jens.is.loca...@googlemail.com wrote: I'm interested in this too. Is there already any experience with this? -- 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] Re: Deploy App on Google Android G1 Phone

2010-07-03 Thread Lamia Hannoun
Hi ! Actually i've already tried to use the real IP of my machine but it didn't work, and yes my my LAN is behind NAT. Do u have any idea? Thx 2010/7/2 HeHe cnm...@gmail.com is your LAN is behind nat? On Jul 2, 7:22 am, Lamia Hannoun lamia.hann...@gmail.com wrote: Hi ! I actually want

[android-developers] Re: Change the progress bar style dynamically

2010-07-03 Thread Serdel
Ekhem... thank for your answer but the problem is that I don't know HOW to do this. So if it is possible I humbly ask for an advice how to do this, because I haven't seen any methods that regard to style in the progress bar class... -- You received this message because you are subscribed to the

[android-developers] Re: from FRF50 to FRF91

2010-07-03 Thread JP
I am running FRF50. For only a few more minutes, as I just got the OTA update notice. No need to go back to 2.1 it would seem. ... five minutes later ... Up and running on FRF91 now. On Jul 2, 4:47 pm, Ken H hunt1...@gmail.com wrote: Anyone know where (or if) I can manually update from FRF50 to

[android-developers] multitouch for a piano

2010-07-03 Thread ArcDroid
Hi does anyone have good way to impliment multi touch for a piano, thanks Jake -- 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

Re: [android-developers] Changing UI

2010-07-03 Thread ghost faithfull
hello there do you mean how to navigate between screens within a single application. well if that what you meant, you would use what is known as INTENT. INTENT are used either explicitly i.e to specify what screen or activity would handle the event or implicitly i.e framework to decide which

Re: [android-developers] Re: Error in an XML file eclipse

2010-07-03 Thread Xavier Ducrohet
I reply to a different thread and I thought I started with a new thread with an explicit subject but it looked like it never arrived. In any case, we are aware of it. This is a bug in Eclipse (https://bugs.eclipse.org/bugs/show_bug.cgi?id=318108) and are working on a work around. Xav On Sat,

Re: [android-developers] Re: Error in an XML file eclipse

2010-07-03 Thread Xavier Ducrohet
oh actually my post is right here: http://groups.google.com/group/android-developers/browse_thread/thread/60f5a07baaf345fc# On Sat, Jul 3, 2010 at 10:15 AM, Xavier Ducrohet x...@android.com wrote: I reply to a different thread and I thought I started with a new thread with an explicit subject

[android-developers] How can I pass my custom object to onSaveInstanceState?

2010-07-03 Thread jul
Hi, I created a RestaurantList class to hold my data (a list of some Restaurant objects created to get some json data using gson). How can I pass an instance of that class to onSaveInstanceState to be able to restore my data when needed? thanks Jul -- You received this message because you are

[android-developers] Re: Popup Window like 'Quick Contact'

2010-07-03 Thread kr...@boerse-go.de
Lorensius, On Jul 2, 2:28 pm, Lorensius W. L. T lor...@londatiga.net wrote: Hello all, Is there a way to create custom popup window like 'Quick Contact' or the one in official Twitter application (image attached) ? I've read the Contact app source code (downloaded from git) but still

[android-developers] Re: Get all text (including encoded) from XML Text Node

2010-07-03 Thread Bob Kerns
I'm a little puzzled by this behavior. This is supposed to be controlled by this: http://developer.android.com/intl/de/reference/javax/xml/parsers/DocumentBuilderFactory.html#setExpandEntityReferences(boolean) which is supposed to default to true. On Jul 2, 8:06 pm, Julius Spencer

[android-developers] I need to send message from api to the simulator where the test running

2010-07-03 Thread joe
I have to create unit tests where I need to send message from api to the simulator where the test running(The test junit must check functionality which has place after as phone received sms). I searched in google but people always talk about sending message between simulators (using SmsManager)

Re: [android-developers] How can I pass my custom object to onSaveInstanceState?

2010-07-03 Thread Mark Murphy
On Sat, Jul 3, 2010 at 1:28 PM, jul juj...@gmail.com wrote: I created a RestaurantList class to hold my data (a list of some Restaurant objects created to get some json data using gson). How can I pass an instance of that class to onSaveInstanceState to be able to restore my data when needed?

Re: [android-developers] Re: Deploy App on Google Android G1 Phone

2010-07-03 Thread Mark Murphy
On Sat, Jul 3, 2010 at 11:27 AM, Lamia Hannoun lamia.hann...@gmail.com wrote: Actually i've already  tried to use the real IP of my machine but it didn't work, and yes my my LAN is behind NAT. Do u have any idea? If you are using a 3G connection, your phone will be unable to access your Web

Re: [android-developers] Re: Start ACTION_CALL activity from service on Motorola Milestone

2010-07-03 Thread Mark Murphy
On Sat, Jul 3, 2010 at 5:54 AM, alex.tchumel alex.tchu...@gmail.com wrote: Could you say more about your idea - what kind of the flags can be helpfull? Position the cursor of your editor at the end of the line containing you setFlags() call. Press the backspace key enough times to eliminate

[android-developers] Re: onLocationChanged doesn't draw

2010-07-03 Thread Lance Nanek
Typically you would change some variable or model object in your program onLocationChanged, invalidate some view you are showing, that will cause the view's onDraw method to be called, then you would draw to the Canvas provided to you in that method of the view:

[android-developers] Moving map method

2010-07-03 Thread Michael
Is there any method that listens for map moves or zoom changes? I know there is a mapMoved() method in the map listener interface for the nutiteq map (I'm using google maps though) so I'm wondering if there is anything similar for google maps, or if not, if there is someway to listen for

[android-developers] Re: Video Render application using Native SurfaceFlinger APIs

2010-07-03 Thread Lance Nanek
It's not Java, but there was an interesting mention of something related here that is still in your app at least: http://developer.android.com/sdk/ndk/index.html Adds support for Android 2.2, including a new stable API for accessing the pixel buffers of Bitmap objects from native code. On Jul

Re: [android-developers] Moving map method

2010-07-03 Thread Frank Weiss
Try this and let us know if it works for you: http://osdir.com/ml/Android-Developers/2010-06/msg01242.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

Re: [android-developers] open other apk from my activity

2010-07-03 Thread Dianne Hackborn
On Sat, Jul 3, 2010 at 3:23 AM, YuviDroid yuvidr...@gmail.com wrote: An example for the package and class name might be: packageName = com.android.alarmclock; className = com.android.alarmclock.AlarmClock; This intent would be used then to start the stock android clock (if it's present on

[android-developers] How to Send Phone to Phone Alerts in Background?

2010-07-03 Thread Matt M
Hello, In my app I am giving the option for users to share information with other users of my app. After two users decide to share, every time one of the sharers updates the app I need an alert/notification sent to the phone of the other user so that the app updates automatically with the new

Re: [android-developers] open other apk from my activity

2010-07-03 Thread YuviDroid
Yep sure. It was just an example on how to start an external app from an activity ;) In a real scenario to get the package/class names the PackageManager would be used. On Sun, Jul 4, 2010 at 12:37 AM, Dianne Hackborn hack...@android.comwrote: On Sat, Jul 3, 2010 at 3:23 AM, YuviDroid

[android-developers] Re: share images with twitter app and buzz app

2010-07-03 Thread jdeslip
I still have this issue. Does anyone know what I am doing wrong. Other apps (like the gallery) can share images to Twitter/buzz; so, I must be missing something. On Jun 16, 2:11 pm, jdeslip jdes...@gmail.com wrote: So, I added the following intent to my app to share images captured.            

[android-developers] Re: Is automatic calling possible with android?

2010-07-03 Thread Smarth Behl
So this application is not possible with android? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: How to Send Phone to Phone Alerts in Background?

2010-07-03 Thread Maps.Huge.Info (Maps API Guru)
There's a very cool thing starting in Froyo called push notifications that will probably work for you. Search Google for that topic to find more information. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] HDPI images looking like crap

2010-07-03 Thread Jeffrey
How do I get my HDPI images to not look like autoscaled versions? Do I need to make the pixels per inch special or something? I use GIMP and I've tried everything and my images still look terrible. I don't know what property I have to change to make it work. Right now I have my ppi set at 72.

[android-developers] Re: play RTSP stream using MediaPlayer or VideoView

2010-07-03 Thread Indicator Veritatis
MediaPlayer supports it. See, for example, dated though it is, http://justdevelopment.blogspot.com/2009/10/video-streaming-with-android-phone.html On Jul 2, 7:18 am, Yadnesh Phadke yadn...@gmail.com wrote: Hi All, I wanted to stream A/V from my machine to Android over HTTP

[android-developers] Re: CursorAdapter notifyDataSetChanged doesn't work? What am I doing wrong?

2010-07-03 Thread Moto
So from what I understand when I modify my database table and I want the changes to show requery is the way to do it? I'm still a little confused about notifyDataSetChanged() when that would be useful... @Android Dev, I don't see any function setNotifyOnChange(..)? Thanks for the help guys!

[android-developers] Re: CursorAdapter notifyDataSetChanged doesn't work? What am I doing wrong?

2010-07-03 Thread Moto
Ahh just after I posted I think it clicked! So notifyDataSetChanged() seems to be more useful for ListViews adapters that aren't database driven... Such as array of data. The requery is exactly what it says it requeries the data it updates it... Thanks guys! :) On Jul 3, 10:23 pm, Moto

[android-developers] Re: HDPI images looking like crap

2010-07-03 Thread Jeffrey
Nevermind, I have found the solution. I changed uses-sdk android:minSdkVersion=3/ to uses-sdk android:targetSdkVersion=6/ and added supports-screens android:largeScreens=true android:normalScreens=true **android:resizeable=true** android:smallScreens=true

Re: [android-developers] Re: Popup Window like 'Quick Contact'

2010-07-03 Thread Lorensius W. L. T
Hi Kevin, Thanx a lot for the info, this is exactly as i want, i'll make a try.. Kind Regards - Lorensius W. L. T - On Sun, Jul 4, 2010 at 12:30 AM, kr...@boerse-go.de obsidia...@googlemail.com wrote: Lorensius, On Jul 2, 2:28 pm, Lorensius W. L. T lor...@londatiga.net wrote: Hello all,

[android-developers] Re: Resource Alias not resolving

2010-07-03 Thread Stephen Lebed
Hi Dianne, I wish I could share with you my source so you can see why its necessary. I've already tried various methods before settling on the solution I have now. My app now displays its custom graphics on the G1, Droid, and Dell Streak's specs on the emulator. My app is a utility that uses

[android-developers] Re: How to set the default download files location

2010-07-03 Thread uday
Files downloaded from browser by default they are stored under sdcard/ downloads folder.. 1) Is it possible to create the .pdf files using client program in android device and how to write the .pdf file content from server into the local files 2) is it the better way to store any pdf files

[android-developers] Problem with JNI - using Multiple Native Methods in a library

2010-07-03 Thread Gaurav Vaish
Hi, While using the NDK, I came across a very peculiar problem... Let's take case of the simple hello-jni sample. It has one method called stringFromJNI which works wonderfully. I add another method called stringFromMyJNI and it doesn't work. I then did some research and found something very