[android-developers] Re: Help! How can i replace the contact with my own?

2009-07-25 Thread quill
Hi Mu, you can download the latest Android1.5 source code, and go to \packages\apps\Contacts to change Contacts source code. On 7月24日, 下午2时28分, Shuai Mu msmu...@gmail.com wrote: I have two questions: 1. What should I do if I want to replace the contact program with my own? 2. If I don't

[android-developers] Re: How to simulate a TrackBall Event in emulator?

2009-07-25 Thread hap 497
i don't understand the answer. How can I do that on the emulator manually? E.g. I have implemented dispatchTrackBallEvent() of my View. What can i do to in to emulator so that function get called during debugging? On Fri, Jul 24, 2009 at 4:09 PM, Fred Grott(shareme) fred.gr...@gmail.comwrote:

[android-developers] How can I create this type of Rectangle??

2009-07-25 Thread sagar.indianic
Hi all, I have got a problem. How can i create the following rectangle by using Rect class?? __ __ __ __ I mean Diagonal Rectangle. Is it possible through Rect class?? if not then any other way?? plz help..its urgent!! --~--~-~--~~~---~--~~ You

[android-developers] Re: Paid app support for developers from other countires

2009-07-25 Thread karthikr
Any news on the same? On Jul 24, 9:15 pm, karthikr karthik.scintill...@gmail.com wrote: Hi Guys, When is google going to provide support for paid apps support for users from other countries? Its been quite a qhile and in the last couple of months i have got just 2 mails regarding their

[android-developers] Vertical tab - possible?

2009-07-25 Thread droidin.net
I tried to search discussions and couldn't find definite answer or example in old thread. I want my tabs to realign vertically in the landscape mode. Currently I have to use buttons which is sorta silly when there is a tab control. If it is possible short hint would be greatly appreciated

[android-developers] Android Dev Phone 1 out of stock

2009-07-25 Thread kenpark
Hej. Yesterday I registered in the Android Market Place to be able to retrieve one of the dev devices. But after I had registered and paid the fee I was told that the dev phones are currently out of stock. Since I need one of those devices for my masterthesis I was very unhappy to hear that it

[android-developers] .android folder created in incorrect location on Vista

2009-07-25 Thread westmeadboy
When I do this in Vista: android create avd -n android1.5 -t 2 the .android folder is placed at d:\.android. However, the documentation states: iBy default, the android tool creates the AVD directory inside ~/.android/avd/ (on Linux/Mac), C:\Documents and Settings\user \.android\ on Windows

[android-developers] Re: Android BUG....

2009-07-25 Thread Eric Wong (hdmp4.com)
On Jul 24, 4:31 am, dan raaka danra...@gmail.com wrote: The issue is even if you indeed fix it say in donut and it gets propagated to cupcake and master, users will have to wait till donut OTA or some form of intermitent OTA like CRC1 that happened recently to get an update see that bug they

[android-developers] Re: How can I create this type of Rectangle??

2009-07-25 Thread Saurav Mukherjee
by a diagonal rectangle, do u mean a parallelogram? On Sat, Jul 25, 2009 at 12:40 PM, sagar.indianic sagar.india...@gmail.comwrote: Hi all, I have got a problem. How can i create the following rectangle by using Rect class?? __ __ __ __ I mean Diagonal Rectangle. Is it

[android-developers] Re: How to simulate a TrackBall Event in emulator?

2009-07-25 Thread lucky4me
See Controlling the Emulator http://developer.android.com/guide/developing/tools/emulator.html#controlling Toggle trackball mode - F6, then you can use mouse as trackball On Jul 25, 11:45 am, hap 497 hap...@gmail.com wrote: i don't understand the answer. How can I do that on the emulator

[android-developers] Re: .android folder created in incorrect location on Vista

2009-07-25 Thread mjc147
When I do: android list avds it correctly shows the avd I have just created. However, if I try to run the emulator then the avd cannot be found. My workaround for this is to copy the d:\.android folder to C:\Users \user\.android In short, it looks as though the emulator and the android

[android-developers] Re: Help! How can i replace the contact with my own?

2009-07-25 Thread Shuai Mu
Thanks. If I successfully change the code and complie it. How can I install it to a G1 or G2 device without refresh the rom? On Jul 25, 2:19 pm, quill quill...@163.com wrote: Hi Mu, you can download the latest Android1.5 source code, and go to \packages\apps\Contacts to change Contacts

[android-developers] Re: Vertical tab - possible?

2009-07-25 Thread Mark Murphy
I tried to search discussions and couldn't find definite answer or example in old thread. I want my tabs to realign vertically in the landscape mode. Currently I have to use buttons which is sorta silly when there is a tab control. If it is possible short hint would be greatly appreciated

[android-developers] Re: is possible mapview and list exist in same activity

2009-07-25 Thread Mark Murphy
Note that you do not need to use ListActivity to use ListView, while (AFAIK) you do need MapActivity to use MapView. No . Multiple inheritance is not supported in java and there is no supporting Interface as well. so u need a different class to extends MapActivity On Jul 24, 10:34 am,

[android-developers] paid support

2009-07-25 Thread Honest
Hello, I would like to know that does google provides any paid support for android developer so that developer can progress fast and they have to do less searching. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] sending / receiving custom broadcast intent

2009-07-25 Thread Bart van Wissen
I'm building a service that sends a broadcast intent when some value changes. The service sends the broadcast like this: Intent broadcastIntent = new Intent(); broadcastIntent.setAction(nl.vu.contextframework.NEWREADING); broadcastIntent.setData(Uri.parse(context://+cer.getKey()));

[android-developers] Re: sending / receiving custom broadcast intent

2009-07-25 Thread Mark Murphy
I'm building a service that sends a broadcast intent when some value changes. The service sends the broadcast like this: Intent broadcastIntent = new Intent(); broadcastIntent.setAction(nl.vu.contextframework.NEWREADING); broadcastIntent.setData(Uri.parse(context://+cer.getKey()));

[android-developers] DD command

2009-07-25 Thread Francesco Pace
Hi guys, it's possible execute DD command from my java application? I need to copy internal flash memory in a sdcard. Can anyone help me? PS.Sorry for my poor english. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: sending / receiving custom broadcast intent

2009-07-25 Thread Bart van Wissen
On 25 jul, 14:00, Mark Murphy mmur...@commonsware.com wrote: Could it be that I'm using a non-existent scheme? I invented context:// myself, maybe this is not a good idea? In theory that should work, though I haven't tried it myself. I take an Occam's Razor approach to intents and

[android-developers] Re: sending / receiving custom broadcast intent

2009-07-25 Thread Mark Murphy
Try: -- commenting out your category in both the intent and filter -- having your intent filter watch for just the action If that does not work, you have more fundamental problems (e.g., your broadcast receiver is getting unregistered before you can use it). If that does work, you now have a

[android-developers] Re: Protocol Buffers (protobuf)

2009-07-25 Thread Michael Elsdörfer
I can confirm that Class.forName() works, though it's not the fastest thing in the world (about 3 seconds for 10 message classes). I sort of do feel like I need to init *all* of them in order to be safe. Maybe I can find some clever way to do this in the background while the user is still

[android-developers] Re: DD command

2009-07-25 Thread Unrealshade
i'm interested in that, too! On Jul 25, 2:06 pm, Francesco Pace paxa...@gmail.com wrote: Hi guys, it's possible execute DD command from my java application? I need to copy internal flash memory in a sdcard. Can anyone help me? PS.Sorry for my poor english.

[android-developers] AnimationDrawable with custom Drawables

2009-07-25 Thread nkijak
I'm trying to draw a gauge on the screen with information from various sensors. I have a class that extends Drawable and a custom view that during construction creates a new AnimationDrawable and sets the only frame to my custom Drawable. I then start the AnimationDrawable from my Activity

[android-developers] Re: AnimationDrawable with custom Drawables

2009-07-25 Thread nkijak
In testing my cached theory, I discovered that you need to have at least two frames for the animation to continuously loop. When I added the gauge object again onDraw was continuously called. That makes me think that I should be using something else for what I'm doing. I'm basically making a

[android-developers] Re: Handling a layout ...

2009-07-25 Thread Emre A. Yavuz
Mark, You can, but then the child is already added to the parent; you do not need to add it yourself. I agree with you, but if you're not going to store this info in the layout, the only option left seem to be refering it using its R.drawable.childview. How can you convert this, an

[android-developers] Questions about Android Calendar and Uninstall application

2009-07-25 Thread 单单
Hi, All, I want to have a look at the application Android Calendar, but found there is no Calendar in the SDK. Then, I fetched all the source of Android, make, run the image, at last, I see the Calendar icon in the SlidingDrawer. However, after I click on it, just a blank creen splash, and

[android-developers] Re: Android Dev Phone 1 out of stock

2009-07-25 Thread Maps.Huge.Info (Maps API Guru)
I suggest trying eBay. -John Coryat --~--~-~--~~~---~--~~ 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,

[android-developers] Re: ProGuard with Android 1.5

2009-07-25 Thread Fred Grott(shareme)
ahem Proguard even has direction on now to get it to work with Andorid.. I even posted to my b.log.. Ceom on do the google search.. Fred Grott http://mobilebytes.wordpress.com Hint, one new proguard feature you have to set to false.. On Jul 24, 10:33 pm, alex gsm...@gmail.com wrote:

[android-developers] problems with Phone.apk built from source

2009-07-25 Thread Ed
Hello, I built Phone.apk from the source code, and the resulting application could not find a carrier. I suspect that there are specific target builds required here (note that I DID add TARGET_PRODUCT := htc_dream as required to the Makefile), but there are no other vendors available under the

[android-developers] Re: Handling a layout ...

2009-07-25 Thread Mark Murphy
Emre A. Yavuz wrote: You can, but then the child is already added to the parent; you do not need to add it yourself. I agree with you, but if you're not going to store this info in the layout, the only option left seem to be refering it using its R.drawable.childview.

[android-developers] Re: about wchar_t to char

2009-07-25 Thread David Turner
Try posting to android-ndk instead. Short answer: wchar_t is not supported in native code at all. On Fri, Jul 24, 2009 at 2:45 PM, jock jorlo...@gmail.com wrote: ndk in how the char convert wchar_t Thank you --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Android Dev Phone 1 out of stock

2009-07-25 Thread Andrei
i bought new on ebay for 250 but i suggest you buy used, since it's activated already if you buy new one you need to get sim card with data plan from your friend to activate it after you activate it you do not need any phone plan for development On Jul 25, 5:14 am, kenpark

[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-25 Thread Kent Loobey
On Friday 24 July 2009 20:16:41 Juan Hernandez wrote: How can you guys even use the term software piracy and propose the dead on arrival DRM and use Linux as a platform? it's because of people like you that the industry is driven by crappy corporations. Shame on you. Go and develop something

[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-25 Thread Brian Conrad
Cédric Berger wrote: On Sat, Jul 25, 2009 at 00:41, Brian Conradbrianjto...@gmail.com wrote: I've had unlockable trial versions of software and versions which were crippled demos. The crackers eventually broke or created keygens for the unlockable versions. But they never broke the

[android-developers] Re: Drawing a dotted line

2009-07-25 Thread Nightwolf
Everything you need is in PathEffects.java of API Demos. mPaint.setPathEffect( new DashPathEffect(new float[] { 15, 5, 8, 5 }, phase) ); On Jul 18, 3:00 pm, karthikr karthik.scintill...@gmail.com wrote: I had a look at the demos but i am not able to find out as to how to draw a dotted

[android-developers] MapView + ZoomControl = Should it work like in Google Map App ??

2009-07-25 Thread Piwai
Hi ! I am currently working with this great Google Maps API. The MapView Javadoc says that we should not use getZoomControls (which is deprecated), but rather setBuiltInZoomControls instead. I think the idea behind this change is to have all Google Maps based applications to behave the same

[android-developers] Re: Clickable ListView element?

2009-07-25 Thread eags
The only problem is there is a strange bug with the CheckBox that I can't figure out. Even though bindView works correctly to get the information from each alarm and fill out the different pieces of my inflated list item view, it doesn't work for the checkbox. The behavior is really really

[android-developers] Re: documentation show all the classes offered by the SDK ?

2009-07-25 Thread Xavier Ducrohet
This is all available at http://developer.android.com/reference/packages.html Xav On Fri, Jul 24, 2009 at 8:03 AM, flohierfloh...@gmail.com wrote: Deal All, Is there a poster showing all the class and methodes offered by the android SDK and their inter dependence ? Thanks, --

[android-developers] Re: How can I create this type of Rectangle??

2009-07-25 Thread Nightwolf
One solution is to create a path and add lines to it to form a rectangle you need. Another way is to rotate canvas itself. On Jul 25, 1:44 pm, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: by a diagonal rectangle, do u mean a parallelogram? On Sat, Jul 25, 2009 at 12:40 PM,

[android-developers] Re: is possible mapview and list exist in same activity

2009-07-25 Thread HeHe
afail, you could combine a mapview and listview (or any other sort of views) in a map activity. as for how-to, you should do some experiment. On Jul 23, 10:34 pm, tstanly tsai.sta...@gmail.com wrote: hi all, for now i have a list, using extends listactivity, and now i want to addmapviewon

[android-developers] onStart() not called when a service is restarted after, being killed?

2009-07-25 Thread Michael Elsdörfer
I have a service that needs to hold a persistent TCP connection, think IM. I'm reluctant to use setForeground() - the service being down temporarily isn't that big a deal, and I am assume I can trust that I'll be run again once memory is available, correct? The problem here is this. The service

[android-developers] Re: Clickable ListView element?

2009-07-25 Thread eags
I figured this out also. Chalk it up to me being a total rookie with gui programming. The issue is that the list items get reused and I was calling setChecked from within my bindView code *before* setting the OnCheckedChangeListener. During startup it doesn't really matter because the list

[android-developers] POSIXLY_CORRECT env. var causes obtuse build error (Problem and suggested fix)

2009-07-25 Thread Ehermit
I wanted to document a build issue that I ran into - Problem Summary: If you build Android with POSIXLY_CORRECT environment variable set, the build fails (non fast) with an obtuse error message. Developer workaround: Don't build with POSIXLY_CORRECT set! -- In the Bash shell this means, 'unset

[android-developers] Re: App not visible in Android Market of Samsung Galaxy

2009-07-25 Thread 6real
Dear Dan (and others), I exaclty have the same issue with my application 'veloid' I can't see it in my Galaxy/Bouygues Telecom. i can't neither see Wonderstock. My app is copy-protected and seems correctly published. here are the properties of my phone Galaxy Samsung Android 1.5 Kernel :

[android-developers] mysterious ant build error

2009-07-25 Thread skink
hi, i have working eclipse project. eclipse builder works just fine. one of my class extends BaseAdapter: ... import android.view.BaseAdapter; class Foo extends BaseAdapter { ... } but when using ant i got 'undefined symbol BaseAdapter' error. note that import was successful so i think

[android-developers] Re: Clearing the cache of your app on exit

2009-07-25 Thread niko001
Hi Mark, thanks for your answer. I mean the cache that the users can delete themselves by going to Settings -- Apps -- Manage Apps -- My App -- Clear Cache Thanks for your suggestion, I'll try it! Niko On Jul 25, 2:27 am, Mark Murphy mmur...@commonsware.com wrote: niko001 wrote: is it

[android-developers] Re: problems with Phone.apk built from source

2009-07-25 Thread Dianne Hackborn
Hi, this should probably be posted in android-platform, since I think we are outside the bounds of the SDK here. Also fwiw I don't think the high-level phone app is carrier-dependent at all -- that is more in the realm of the radio and RIL. On Sat, Jul 25, 2009 at 8:43 AM, Ed

[android-developers] Re: HTC Hero has multi-touch. SDK support?

2009-07-25 Thread CraigsRace
FYI: The next SDK release (2.0 Donut) is rumoured to include multi- touch support. Woohoo! http://phandroid.com/2009/07/25/morning-donuts/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: mysterious ant build error

2009-07-25 Thread Mark Murphy
skink wrote: hi, i have working eclipse project. eclipse builder works just fine. one of my class extends BaseAdapter: ... import android.view.BaseAdapter; class Foo extends BaseAdapter { ... } but when using ant i got 'undefined symbol BaseAdapter' error. note that

[android-developers] Re: Clearing the cache of your app on exit

2009-07-25 Thread Dianne Hackborn
You generally shouldn't need to clear it, since the point of that is it allows the system to delete those files to free up storage when needed. That said, you do want to keep the amount of data in your cache at a reasonable size rather than just throwing stuff in there and letting it grow

[android-developers] Re: HTC Hero has multi-touch. SDK support?

2009-07-25 Thread Romain Guy
Donut is NOT Android 2.0 and there's no multi-touch support in Donut. On Sat, Jul 25, 2009 at 3:55 PM, CraigsRacecraig...@gmail.com wrote: FYI:  The next SDK release (2.0 Donut) is rumoured to include multi- touch support.  Woohoo!  http://phandroid.com/2009/07/25/morning-donuts/ --

[android-developers] How does android Gallery scrolls on a TrackBall Event

2009-07-25 Thread n179911
Hi, Can you please tell me how can I make Gallery scrolls on TrackBall Event? Right now, it scrolls when I 'fling' it? Can you please tell me how can I do configure a Gallery to do the same (scrolls left/right) using TrackBall Events? Thank you.