[android-developers] Re: Help! How can i replace the contact with my own?
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 replace it. Can I just add something to it? like a menu item, or something. If possible, how to do it? --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to simulate a TrackBall Event in emulator?
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: Mock testing see apiDemos for details..all the cool kids are doing it Fred Grott http://mobilebytes.wordpress.com On Jul 24, 1:48 pm, hap 497 hap...@gmail.com wrote: Hi, Can you please tell me how can I simulate a TrackBall Event in emulator? I just the left/right black button in the middle of the emulator, but i set break point in dispatchKeyEvent() and dispatchTrackBallEvent() of the View.java. But only dispatchKeyEvent() breakpoint get activated. I want to see 'dispatchTrackBallEvent' get breaks. Can you please tell me how to simulate a TrackBall Event? Thank you. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How can I create this type of Rectangle??
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 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Paid app support for developers from other countires
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 support for additional countries? Im from India, any idea on when google is going to complete the process? Regards, R.Karthik --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Vertical tab - possible?
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 --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android Dev Phone 1 out of stock
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 may take a few weeks. Does anyone know (or can one estimate) when they might be available again? Regards, Kenpark --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] .android folder created in incorrect location on Vista
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 XP, and C:\Users\user\.android\ on Windows Vista./i So something is clearly going wrong. I assume its because I have relocated most of my special folders like Desktop and Documents to the d:\ drive. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android BUG....
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 reported has been fixed. This is just a normal life cycle !! Meanwhile you will have more and more people reporting the same bug .. I am guessing that is what happened with the original poster. I think the bigger problem here is that issue is not even marked as fixed. Which means it is probably still not fixed in donut or even the generation after that. Actually, if you look at comment 2 on that issue, JBQ did respond by changing the name on the very same day but nothing happened since. Eric -Dan On Thu, Jul 23, 2009 at 11:04 AM, Romain Guy romain...@google.com wrote: The Android team is responding and resolving basic usability issues, and even non-basic ones, etc. Unfortunately, and believe me when I say we're sorry about it, we *cannot* fix *every single* bug. Some bugs are fixed right away, some take more time. On Thu, Jul 23, 2009 at 10:58 AM, dotclickdotcl...@gmail.com wrote: Good point... and I probably deserve the criticism. However, your comments only strengthen my original point of GOOGLE is not responding and resolving basic usability issues. This is one of the key reasons why a company I work with made the decision today to dump 100+ Android G1 phones that are only 9 months old and order non- Android phones. -D On Jul 15, 5:30 pm, Mark Murphy mmur...@commonsware.com wrote: dotclickwrote: So the only response I am going to get from Google is from someone who didn't read the message or take the time to research it. No, the only responses you will get is from people other than Google employees. As Romain Guy pointed out, if you read the response you were lambasting, you would notice that it is from a T-Mobile employee. It seems curious that you seem to have made the same error that you are complaining about -- not completely reading the email. It's almost as if making mistakes were, like, human or something. Of course, it is also curious that you appear to think this is an end-user tech support forum (which it is not) and that it is Google's primary responsibility to respond to you here (which it is not). But I digress. No status updates or responses on the bug report from 7+ months ago. Please point out the official public bug trackers for Windows Mobile, Blackberry, iPhone, and Palm WebOS. I'm not even sure there's one up for Symbian, and they're at least on the road to open source. Please point out where you get detailed, bug-level information months in advance of product releases for Windows Mobile, Blackberry, iPhone, Palm WebOS, and Symbian. Please point out how you -- whether via your own engineering efforts, or by hiring somebody, or by collecting interested people to raise money to hire somebody -- have a chance to fix bugs in Windows Mobile, Blackberry, iPhone, or Palm WebOS, as you can with Android. I'll give Symbian a mulligan here, since they're in progress on this issue. Had this same bug, or an equivalent one, affected you on one of these other platforms, the best-case scenario is that, after sitting in indefinite tech support queues, you would be told it is a bug and it may get fixed someday. Here, not only were you able to file the bug report without much effort (albeit with no better of a response), but you have options for spearheading a fix, which you lack with any other commercial-grade smartphone platform. Now, you may not elect to use any of those options to accelerate a fix, but that's your decision, not Google's. Regardless, you are no worse off than you would have been with any other platform with the same sort of bug. If you want to whine about how Android has bugs, be my guest, just don't whine about the lack of response, since that's all you'll get from anyone. Note: once Symbian gets a-rollin' in earnest on the open source front, the bar for Google and Android may get raised a fair bit, but we're not there yet. -- Mark Murphy (a Commons Guy)http://commonsware.com| http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ 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: How can I create this type of Rectangle??
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 possible through Rect class?? if not then any other way?? plz help..its urgent!! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to simulate a TrackBall Event in emulator?
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 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: Mock testing see apiDemos for details..all the cool kids are doing it Fred Grott http://mobilebytes.wordpress.com On Jul 24, 1:48 pm, hap 497 hap...@gmail.com wrote: Hi, Can you please tell me how can I simulate a TrackBall Event in emulator? I just the left/right black button in the middle of the emulator, but i set break point in dispatchKeyEvent() and dispatchTrackBallEvent() of the View.java. But only dispatchKeyEvent() breakpoint get activated. I want to see 'dispatchTrackBallEvent' get breaks. Can you please tell me how to simulate a TrackBall Event? Thank you. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: .android folder created in incorrect location on Vista
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 command are using different logic to work out the default .android location. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Help! How can i replace the contact with my own?
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 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 toreplacethecontactprogram with my own? 2. If I don'treplaceit. Can I just add something to it? like a menu item, or something. If possible, how to do it?- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Vertical tab - possible?
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 TabHost and TabWidget do not offer a vertical layout. You are welcome to render your own, either by cloning the existing tab framework, or perhaps using ViewFlipper to manage the contents of the tabs while you draw the tabs themselves. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: is possible mapview and list exist in same activity
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, tstanly tsai.sta...@gmail.com wrote: hi all, for now i have a list, using extends listactivity, and now i want to add mapview on the same activity using framelayout probably, but if i want to use the mapview, the activity must extends mapactivity, one must extends mapactivity,the other must extends list activity, if it possible to do that??? thanks!!! -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] paid support
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 group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] sending / receiving custom broadcast intent
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())); broadcastIntent.putExtra(reading,cer); broadcastIntent.addCategory(nl.vu.contextframework.CONTEXT); sendBroadcast(broadcastIntent); In some Activity (in a different process), I'm tryint to receive this broadcast as follows: IntentFilter intentFilter = new IntentFilter(); intentFilter.addDataScheme(context); intentFilter.addCategory(CATEGORY_CONTEXT); registerReceiver(new BroadcastReceiver() { public void onReceive(Context context, Intent intent) { Log.d(TAG,Received intent +intent); } }, intentFilter); The intent is never received though. What am I doing wrong? Does my intentfilter not match the 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 group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: sending / receiving custom broadcast intent
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())); broadcastIntent.putExtra(reading,cer); broadcastIntent.addCategory(nl.vu.contextframework.CONTEXT); sendBroadcast(broadcastIntent); In some Activity (in a different process), I'm tryint to receive this broadcast as follows: IntentFilter intentFilter = new IntentFilter(); intentFilter.addDataScheme(context); intentFilter.addCategory(CATEGORY_CONTEXT); registerReceiver(new BroadcastReceiver() { public void onReceive(Context context, Intent intent) { Log.d(TAG,Received intent +intent); } }, intentFilter); The intent is never received though. What am I doing wrong? Does my intentfilter not match the intent? Does: nl.vu.contextframework.CONTEXT equal: CATEGORY_CONTEXT ? -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] DD command
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 group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: sending / receiving custom broadcast intent
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 filters: they should be as simple as possible, but no simpler. In your case, unless you are creating a content provider, I don't know the value of your inventing schemes and using setData(). Just put the values you need in the extras and filter on your action. I'm using the data because it allows me to receive only updates to specific keys by including them in the IntentFilter. Many of these intents may be fired and different applications may want to filter most of them out. Anyway, just to see if it helps, I tried not using the data and putting everything in the extras: Intent broadcastIntent = new Intent(); broadcastIntent.setAction(nl.vu.contextframework.NEWREADING); broadcastIntent.putExtra(reading,cer); broadcastIntent.putExtra(key, cer.getKey()); broadcastIntent.addCategory(nl.vu.contextframework.CONTEXT); sendBroadcast(broadcastIntent); and in the activity: IntentFilter intentFilter = new IntentFilter(); intentFilter.addCategory(CATEGORY_CONTEXT); registerReceiver(new BroadcastReceiver() { public void onReceive(Context context, Intent intent) { Log.d(TAG,Received intent +intent); } }, intentFilter); But I'm still not receiving anything. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: sending / receiving custom broadcast intent
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 basis for slowly trying to morph your Intent and IntentFilter to what you want. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Protocol Buffers (protobuf)
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 busy with the UI. Thanks! Michael --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: DD command
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. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] AnimationDrawable with custom Drawables
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 onWindowFocusChanged method. My custom Drawable onDraw method is only called once though. Is that by design (as in onDraw is called for each frame once and it's cached and shown over and over) or am I doing something wrong? [code from custom view's constructor] _gaugeAnimation = new AnimationDrawable(); _gaugeAnimation.setOneShot(false); setBackgroundDrawable(_gaugeAnimation); GaugeDrawable gauge = new GaugeDrawable(); gauge.setTargetValue(100); _gaugeAnimation.addFrame(gauge, 500); _gaugeAnimation.setVisible(true, false); --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: AnimationDrawable with custom Drawables
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 drawn speedometer getting speeds from the GPS. Each time the GPS updates I want to perform a smooth animation to the change in speed. I thought I could create a Drawable that contained it's current value and a target value, then add it to an animation that would take care of calling onDraw continuously until the current and target matched. Is there a better way? On Jul 25, 10:33 am, nkijak nki...@gmail.com wrote: 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 onWindowFocusChanged method. My custom Drawable onDraw method is only called once though. Is that by design (as in onDraw is called for each frame once and it's cached and shown over and over) or am I doing something wrong? [code from custom view's constructor] _gaugeAnimation = new AnimationDrawable(); _gaugeAnimation.setOneShot(false); setBackgroundDrawable(_gaugeAnimation); GaugeDrawable gauge = new GaugeDrawable(); gauge.setTargetValue(100); _gaugeAnimation.addFrame(gauge, 500); _gaugeAnimation.setVisible(true, false); --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Handling a layout ...
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 integer, to a View then ? Should I create an ImageView variable and use its setImageresource() method ? I have just thought of this now and I haven't tried it yet, but will there be a casting problem in that case ? The DDMS perspective in Eclipse doesn't tell me anything at all. I get a message from the emulator saying that the application has stopped working. Emre Date: Fri, 24 Jul 2009 19:41:21 -0400 From: mmur...@commonsware.com To: eayl...@hotmail.com Subject: Re: [android-developers] Re: Handling a layout ... You appear to have written to me directly by accident. Please keep threads like this on-list, for the benefit of others. Emre A. Yavuz wrote: I was using findViewById() to get the layout which I wanted to modify and casting it to type ImageView afterward. However, you need to cast it to ViewGroup if you want to call addView() which means you need to update your code to cast it to ViewGroup instead. Correct. The problem occurs when you call addView() to add the child view to the parent you want to modify. Don't you store the child view in your layout file under the handler for the parent view ? You can, but then the child is already added to the parent; you do not need to add it yourself. The code seems to crash when it tries to add the child view read by findViewById()method. You need to look at the Java stack trace, to see the error message and where it occurred. The stack trace is in LogCat, accessible via adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Looking for Android opportunities? http://wiki.andmob.org/hado _ More storage. Better anti-spam and antivirus protection. Hotmail makes it simple. http://go.microsoft.com/?linkid=9671357 --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Questions about Android Calendar and Uninstall application
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 nothing come out. Then I try to reinstall the Calendar.apk, but was told that Failure [INSTALL_FAILED_ALREADY_EXISTS]. So I want uninstall it. After adb shell, I found nothing in /data/app, nothing to remove. I am totally lost. I just want to run the Calendar. Could anyone help me please? Thanks a lot in advance. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1 out of stock
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, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ProGuard with Android 1.5
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: Cmon, Android devs! You've broken the entire build process and don't even care to respond. On Jul 9, 10:04 pm, Carter ccjerni...@gmail.com wrote: Hi, Has anyone had any luck with usingProGuardonAndroid1.5projects? The build.xml format changed significantly from earlier versions ofAndroid, making previous examples and discussions no longer helpful (for example, here:http://groups.google.com/group/android-developers/browse_thread/threa... ). So any suggestions on how to get started with the new build.xml format? Thanks, Carter --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] problems with Phone.apk built from source
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 Vendor folder in the source (i.e., T- Mobile, etc). Am I off base? Should Phone.apk be able to work on our HTC dream phones without additional modifications? Thanks very much for your help, --Ed --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Handling a layout ...
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. R.drawable.childview is a references to a Drawable resource (res/drawable) and is not a reference to a View in a layout. How can you convert this, an integer, to a View then ? Should I create an ImageView variable and use its setImageresource() method ? Yes. Then you need to add that to some parent layout via addView() as previously described. but will there be a casting problem in that case ? I do not understand this question. The DDMS perspective in Eclipse doesn't tell me anything at all. I get a message from the emulator saying that the application has stopped working. The DDMS perspective contains a panel(?) called LogCat, which will give you a stack trace when an exception occurs. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: about wchar_t to char
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 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1 out of stock
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 patrick.seiff...@gmx.net wrote: 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 may take a few weeks. Does anyone know (or can one estimate) when they might be available again? Regards, Kenpark --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!
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 on Windows CE or the iPhone. I agree! Go already. Here you are on a list serve cherry picking free information from the community and all you can talk about is how to lock people out from your harvest. Shame indeed. On Sat, Jul 25, 2009 at 10:07 PM, coolbho3k mike.g.hu...@gmail.com wrote: Any DRM should be programmed in the NDK - Dalvik bytecode is too easy to modify when disassembled. On Jul 22, 9:30 am, Moto medicalsou...@gmail.com wrote: Sorry but I'm very mad about this situation! I found one of my applications on the web all over for free! Every time I do an update 1 day goes by and BAM! For free on the web... So I want the help from all developers, we need to come up with something to make this at least harder to distribute. 1. Can we use phone numbers to register the application? And if illegally installed we got a phone number to use so pursue the pirate...? 2. Do we have access to the phones unique ID? This could be used to track who is using the application... How many illegal copies are runnning... There are ideas I have but will just go against the user friendliness ways of Android Please provide your ideas... thanks! -Moto! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!
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 crippled demo version because they would have had to pay for a full version and that is definitely something they won't do. IOW, don't do unlockable trial versions. Won't protect since it's free to get the full version and refund before 24h They could have done that with my full versions too but they didn't . E-sellers will tell you that they have to refund with signature on file sales. However the pirates might suspect that doing so leaves a paper trail they don't want even with the Android Market. The best you can do is slow them down and the honest folks will always pay for your apps. The others? Let their karma catch up with them. It will eventually. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Drawing a dotted line
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 rectangle. Can someone help me out with some example? On Jul 17, 8:57 pm, Peli peli0...@googlemail.com wrote: Have you looked into the API demos? There are a couple of examples of lines with various patterns. Peliwww.openintents.org On Jul 17, 5:49 pm, karthikr karthik.scintill...@gmail.com wrote: Hi Guys, How do i draw a dotted rectangle on a bitmape. Currently i use the following code, to draw a rectangle, but i want the line to be a dotted one. Can someone help me out... Paint mPaint = new Paint(); mPath.addRect(left, top, right, bottom, Direction.CCW); mPaint.setAntiAlias(true); mPaint.setDither(true); mPaint.setColor(Color.GRAY); mPaint.setStrokeWidth(1); mCanvas.drawPath(mPath, mPaint); Regards, R.Karthik- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] MapView + ZoomControl = Should it work like in Google Map App ??
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 way, so that users don't get lost. However, the really weird thing about this is that Google Maps application doesn't behave the same way: On a MapView, the zoom controls are big, in the center. They appear when the user tap the screen, and disappear after a while. In Google Maps, the zoom controls are smaller, on the left corner, and never disappear. Why is that ? In fact, I think Google Maps approach is actually better when you have maps with a lot of content in overlays. If you have a map full of items that react when you tap on them (for instance by showing a dialog box), there is no way to show the zoom controls without actually tapping on an item. I guess that's were the displayZoomControls method comes in the game: one could provide a menu item that would show the ZoomControls on request, for some time. But this behavior is kind of strange: a user would try to find somewhere in the map with no item, try to tap, tap on an item unintentionally, see a dialog shown that he didn't ask for, press back, then press menu and finally hit the show zoom controls button... What do you think is the best for the user ? Regards, Piwaï -- Dependency Injection in Android ? See Yasdic: http://code.google.com/p/yasdic/ --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Clickable ListView element?
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 strange where it seems like the same OnCheckedChangedListener object is being associated with several different list items. What I see is that if I change the enabled state by either clicking on the CheckBox or by opening the edit dialog and changing the state there, the state is changed for several of the different items simultaneously. Sometimes several will change at once but the one I checked *doesn't* change. I really don't get what is going on here. I wonder if the ListView has some special behavior with regard to CheckBoxes that I'm not aware of that I am messing up because I don't know about it. Anyway, if anyone has any insight into this problem and could throw me a clue that would be very helpful as I'm totally confused myself. Thanks. On Jul 24, 10:23 am, Gregg Reno gregg.r...@gmail.com wrote: Excellent! Thanks for posting this eags. From all of the postings I've seen from people looking to do something similar, this should be a big help. Just started working through this to adapt it to my project, but I'm getting a bunch of syntax errors. I should probably start a project from scratch and get this one working first. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: documentation show all the classes offered by the SDK ?
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, -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How can I create this type of Rectangle??
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, 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 possible through Rect class?? if not then any other way?? plz help..its urgent!! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: is possible mapview and list exist in same activity
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 the same activity using framelayout probably, but if i want to use themapview, the activity must extends mapactivity, one must extends mapactivity,the other must extends list activity, if it possible to do that??? 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@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] onStart() not called when a service is restarted after, being killed?
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 was started via startService() before being killed. However, when it is restarted, only onCreate() is executed. This makes it hard to continue, because starting work onCreate() means I can't even bind to the service (to say query it's status) without it doing so. Is this a bug or per design? What is the status of the service after it is being restarted? Is it consider started by the system, i.e. waiting for a call to stopService()? --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Clickable ListView element?
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 items are all being created for the first time and there are no registered listeners. However on subsequent rebindings, the old listener is still associated with the view and when I call setChecked... all hell breaks loose. So the key was simply to set the callback before calling setChecked. Also I was calling setChecked within the callback and calling notifyDataSetChanged which were just causing more iterations through this loop and more craziness. Anyway, here is the working code: // We need to be sure and register the new OnCheckedChangeListener before // we call setChecked because these views get reused and there might still // be old callbacks associated with previous alarm items which causes very // f-ed up behavior. (I know) CheckBox enabledCheckBox = (CheckBox)alarmView.findViewById (R.id.itemEnabledCheckBox); enabledCheckBox.setOnCheckedChangeListener(new OnCheckedChangeListener() { public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { item.setEnabled(isChecked); dbAdapter.updateAlarm(item.getId(), item); } }); enabledCheckBox.setChecked(enabled); On Jul 25, 11:46 am, eags eagsala...@gmail.com wrote: 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 strange where it seems like the same OnCheckedChangedListener object is being associated with several different list items. What I see is that if I change the enabled state by either clicking on the CheckBox or by opening the edit dialog and changing the state there, the state is changed for several of the different items simultaneously. Sometimes several will change at once but the one I checked *doesn't* change. I really don't get what is going on here. I wonder if the ListView has some special behavior with regard to CheckBoxes that I'm not aware of that I am messing up because I don't know about it. Anyway, if anyone has any insight into this problem and could throw me a clue that would be very helpful as I'm totally confused myself. Thanks. On Jul 24, 10:23 am, Gregg Reno gregg.r...@gmail.com wrote: Excellent! Thanks for posting this eags. From all of the postings I've seen from people looking to do something similar, this should be a big help. Just started working through this to adapt it to my project, but I'm getting a bunch of syntax errors. I should probably start a project from scratch and get this one working first. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] POSIXLY_CORRECT env. var causes obtuse build error (Problem and suggested fix)
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 POSIXLY_CORRECT ' As a new Android builder this one bit me the first time I tried to compile Android. I suggest a simple Build Fix: Prepend the following to build/core/ main.mk so that the build fails-fast with a more useful error message: # Check that POSIXLY_CORRECT is not defined. Otherwise apriori tool chokes on '--output' argument ifdef POSIXLY_CORRECT $(warning ) $(warning * unset POSIXLY_CORRECT environment variable to build Android!) $(warning ) $(error stopping) endif I also suggest adding a sentence to the introductory build instructions (http://source.android.com/download). e.g. Although POSIXLY_CORRECT is required to install the build environment on a MAC OSX, the build system currently requires POSIXLY_CORRECT to be undefined when make- ing Android. This would be useful for new developers checking non-current branches (e.g. cupcake) -- Here's the original cryptic build error ... (well it was cryptic for me because this was my first Android build attempt ... So there were many potential causes) target Prelink: libdl (out/target/product/generic/symbols/system/lib/ libdl.so) build/tools/apriori/apriori.c(2100): Could not find [--output] in the current directory or in any of the search paths! make: *** [out/target/product/generic/symbols/system/lib/libdl.so] Error 1 My guess at the root cause: apriori tool uses getopt_long in build/ tools/apriori/cmdline.c. getopt_long changes its behavior if the aforementioned env. variable is set (see man page). Perhaps the calling code does not check for this? man getopt_long extract: POSIXLY_CORRECT If set, option processing stops when the first non-option is found and a leading `-' or `+' in the optstring is ignored. Perhaps someone wants to 'fix' apriori to work correctly. Though I'm not sure that's a good use of anyone's time! Hope this note is useful. Regards, EHermit (Lawrence) --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: App not visible in Android Market of Samsung Galaxy
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 : 2.6.27 (buil...@andy #1) Build number : 76XXCSDCBALUM6375 Bande version (??): I7500XXIG1 I hope it will helps in solving our issue. Rgds, C. On 24 juil, 00:54, dan raaka danra...@gmail.com wrote: [bump ] can you post the system property [ro.build.fingerprint] of the Galaxy device, where you dont see forward locked apps? -Dan On Thu, Jul 23, 2009 at 8:08 AM, Xionbox christopher.rabo...@gmail.comwrote: You need a sim card in a phone to access to paid applications on the Market. You also must be in one of the authorizaed countries by gogle to purchase an App. That said, I have Samsung Galaxy at Bouygues Telecoms in France and I also have some problems with some applications which I cannot find (even with the QR Code). On Jul 23, 9:12 am, armand dos santos armand.dossan...@gmail.com wrote: The application is Wonderstocks and it is free but copy-protected. I have just noticed by the way that no paid applications are visible... I also must add that there is no sim card for the time being in the phone, so: - is the sim card necessary in order for the copy protected/paid apps to be visible in the android market? - is it that samsung/Bouygues Tel have excluded copy protected/paid apps from the android market? On Wed, Jul 22, 2009 at 10:55 PM, dan raaka danra...@gmail.com wrote: which app is this ? -Dan On Wed, Jul 22, 2009 at 12:19 PM, dnamra1 armand.dossan...@gmail.com wrote: Hi, Does someone know what could be the reason why my application is not visible in the Android Market on the Samsung Galaxy sold by Bouygues Telecom in France? The app is copy-protected and compatible SDK 1.5... Thanks in advance for the replies. Armand --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] mysterious ant build error
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 classpath is ok. when i changed to: class Foo extends android.view.BaseAdapter { ... } ant also builds without errors... anybody got such strange errors? pskink --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Clearing the cache of your app on exit
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 possible to force thecacheof your app to clear when the user exits the app? My app piles upcachedata (rightfully so) on each start, which is no longer needed once the user quits the app, so I am trying to find a way to forcibly clear it. You could try deleting the files from getCacheDir(), available on Activity, Service, and other flavors of Context. On the other hand, you did not specify whichcacheyou were concerned about... -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.0 Available! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: problems with Phone.apk built from source
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 edmundcl...@gmail.com wrote: 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 Vendor folder in the source (i.e., T- Mobile, etc). Am I off base? Should Phone.apk be able to work on our HTC dream phones without additional modifications? Thanks very much for your help, --Ed -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: HTC Hero has multi-touch. SDK support?
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. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: mysterious ant build error
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 import was successful so i think classpath is ok. when i changed to: class Foo extends android.view.BaseAdapter { ... } ant also builds without errors... anybody got such strange errors? I did once, but it was my own dumb fault. I got tripped up in Java generics, and was redefining String to be the symbolic name of a generic type, so all my references to what should have been java.lang.String were failing if I didn't fully qualify them. Fixing the generics cleared up the issue. Overall, I've had annoyances with the Ant scripts starting with 1.5, where I have to nuke the gen/ and bin/ directories from time to time, mostly when I add new resources. You might try that and see if it helps. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need help for your Android OSS project? http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Clearing the cache of your app on exit
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 indefinitely. The system should eventually get around to deleting your old files, but everyone is happier if the app is keeping that under control. This is not the same as deleting when your app exits though. On Sat, Jul 25, 2009 at 3:14 PM, niko001 greatbytessoftw...@googlemail.comwrote: 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 possible to force thecacheof your app to clear when the user exits the app? My app piles upcachedata (rightfully so) on each start, which is no longer needed once the user quits the app, so I am trying to find a way to forcibly clear it. You could try deleting the files from getCacheDir(), available on Activity, Service, and other flavors of Context. On the other hand, you did not specify whichcacheyou were concerned about... -- Mark Murphy (a Commons Guy)http://commonsware.com| http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.0 Available! -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: HTC Hero has multi-touch. SDK support?
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/ -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How does android Gallery scrolls on a TrackBall Event
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. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---