[android-developers] Re: Is it possible to build a windows distribution of a donut release?

2009-08-27 Thread Al Sutton
Yes, you can get a precompiled version from http://andappstore.com/AndroidApplications/sdk/ or follow the instructions at

[android-developers] Does Android have APIs for HTTP progressive download for media files?

2009-08-27 Thread Rahul Bhagwat
Does Android have APIs for HTTP progressive download for media files? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: ADC 2 Package Name (After)

2009-08-27 Thread James Yum
Hi Che, Yes, you will be required to use a different package name when you eventually publish to the market. Your plan sounds good. Cheers, James On Wed, Aug 26, 2009 at 9:45 PM, Che che.andr...@googlemail.com wrote: Hi, Just wanted to know, if we participate in ADC2 will we be required

[android-developers] Can Android application APK re-installed in windows Emulator?

2009-08-27 Thread Rahul Bhagwat
Can we uninstall android Application packages such as Music, Media Provider application and re-intsaller it in windows android emulator? I've modified source code of these applications in android source code in linux machine, now I wanted to install APK files in windows Emulator. Can I do that?

[android-developers] Re: Can Android application APK re-installed in windows Emulator?

2009-08-27 Thread Sujay Krishna Suresh
s u can... jus use adb uninstall package-name n then adb install apk-file On Thu, Aug 27, 2009 at 12:09 PM, Rahul Bhagwat rahul3...@gmail.com wrote: Can we uninstall android Application packages such as Music, Media Provider application and re-intsaller it in windows android emulator? I've

[android-developers] Forcing mobile connectivity instead of WiFi connectivty

2009-08-27 Thread alex
When a handset has both the carrier network and WiFi connectivity available, apps will choose to use WiFi for its http connections, which makes sense since WiFi is faster. However, for my app, there are situations in which I need my app to use the carrier network (and to go through the carrier's

[android-developers] How to search for the posts long time ago?

2009-08-27 Thread quill
I find that I can't search for the posts which posted nearly half a year ago in this forum, How to do that? Or it just be prohibited? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] How to get the email address using the ContentProvider

2009-08-27 Thread manoj
Hi friends, I would like to get the contact name, contact number, and contact email id using the contentProvider. Can any one please guide me to achieve this. Thanks, Manoj. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Does Android have APIs for HTTP progressive download for media files?

2009-08-27 Thread Mark Murphy
Does Android have APIs for HTTP progressive download for media files? MediaPlayer and VideoView definitely have support HTTP URLs for video files. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: How to get the email address using the ContentProvider

2009-08-27 Thread Mark Murphy
I would like to get the contact name, contact number, and contact email id using the contentProvider. There is no single contact number and no single contact email id for a contact. Each contact can have several of them. Here is a sample from one of my books that shows querying the Contacts

[android-developers] Re: how to build adb.exe for windows.

2009-08-27 Thread Kyo Yin
thank you for help.i have built the adb.exe and i have a question: In my opinion, adb will send a 0 length packet after a packet if thie packet length is multiple of the max length of endpoint. For example, our endpoint is 64 bytes. So after every 4096 packets, adb.exe should send a 0 length

[android-developers] Re: How to get the email address using the ContentProvider

2009-08-27 Thread manoj
Thanks Murphy On Aug 27, 12:33 pm, Mark Murphy mmur...@commonsware.com wrote: I would like to get the contact name, contact number, and contact email id using the contentProvider. There is no single contact number and no single contact email id for a contact. Each contact can have several

[android-developers] Re: System crash problems

2009-08-27 Thread Mika
Hi Dianne, thanks for the answer. Although the problem happens several times a day, I haven't still been able to find the reason for it nor the code to reproduce it. I'll file a bug report if I do find a way to constantly reproduce the bug. -Mika On Aug 26, 7:53 pm, Dianne Hackborn

[android-developers] Re: How to search for the posts long time ago?

2009-08-27 Thread quill
OK, it seems in the advaced search I can get the result with group:android-developers; keyword: mykeyword; So why does the search in this forum only return the results that during recent months? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-27 Thread zeeshan
i am just protecting some images (about 500) i downloaded on sdcard. on the first run it downloads and write each by CipherOutputStream and for the next time it decrypt those images by CipherInputStream. a static key works at the moment On Aug 26, 3:07 pm, Haravikk harav...@gmail.com wrote: The

[android-developers] Re: MediaRecorder setVideoFrameRate

2009-08-27 Thread Maarten Wijnants
Hi Balwinder, On 26 aug, 22:49, Balwinder Kaur (T-Mobile USA) balwinder.k...@t- mobile.com wrote: For what its worth there is a note on the MediaRecordersetVideoFrameRatesource code    * NOTE: On some devices that have auto-frame rate, this sets the      * maximum frame rate, not a

[android-developers] How to populate a listview with XML file to Internet

2009-08-27 Thread sweet
Hello i'm new to android dev and java and i want to create an application which list differents items of a XML. The XML file is constructed like that. In au marker called item i've different other markers like title, description etc. When the user click in one item (called by his title in the

[android-developers] text view focus

2009-08-27 Thread Sasi Kumar
how can we give text view focus? Tell breifly with example Thanks 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] Map view info window

2009-08-27 Thread Sasi Kumar
Hi, I have displayed map view with marker. now i want, When i'm clicking marker it should display info window. When i'm clicking info window i need to redirect another page any one can know about these. please reply me. thanks in advance..

[android-developers] Re: creating a shared jar library

2009-08-27 Thread Mac
I've sufficiently understood about the reason not to support third party libraries. Goolgle apis as regular sharing libraries can add on %ANDROID_HOME%/ add-on and then Android Applications can use that libraries. Like this, could I add my sharing library on %ANDROID_HOME%/add-on directory? If

[android-developers] Can’t skip account setting in GoogleLoginServiceHelper.getCredentials

2009-08-27 Thread aby
Hi, I use GoogleLoginServiceHelper.getCredentials in my activity. There are three buttons (Create, Sing in and Skip) in account setting page. When I click skip button and click next, it will change to some pages and the back to the account setting page but only have Create and Sing in buttons. It

[android-developers] Re: Countries for selling priced applications in Android Market

2009-08-27 Thread Mike
I am also interrested in this information. Is it still the case that only users from gb and us are able to sell apps on market? On 24 Aug., 07:58, Michael Leung michaelchi...@gmail.com wrote: Hi,   That is near the end of Q3 now. Does anyone know whether there will be a new list of Countries

[android-developers] How do My application know the outgoing SMS count

2009-08-27 Thread Damodhar
Hi How do my application Knowing the Outgoing SMS MMS counts from the mobile please any one hlp me to find the solution i tried using the SMSManager what is the alternative function for the extends IntentReceiver { in the SDK 1.5 please let me know thank you

[android-developers] Who is responsible for validation of layout xml file?

2009-08-27 Thread Susan
Who is responsible for validation of xml file when editing xml in Android layout editor? For example, when I set a negtive valut to android:maxLength of TextView, it will be marked in red. ADT or aapt is responsible for check? Your help will be appreciated.

[android-developers] Re: Error : Unknown URI: content://media/external/images/media

2009-08-27 Thread Dany BREARD
Thanks for your response. So I try to make your code: Bitmap sourceBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.test); Uri uri = getContentResolver().insert(sourceBitmap, values); - The first parameter of 'insert' must be a Uri: public final Uri insert (Uri url,

[android-developers] Re: text view focus

2009-08-27 Thread Mark Murphy
how can we give text view focus? Call requestFocus() on the TextView. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: text view focus

2009-08-27 Thread Nithin
Use setFocusable(true).. On Aug 27, 1:49 pm, Sasi Kumar sasikumar.it1...@gmail.com wrote: how can we give text view focus? Tell breifly with example Thanks in Advance --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Advice for speeding up my drawing

2009-08-27 Thread CG
Hi Andrei, thanks for the answer. here are my thoughts. 1. I did not considder the string thing, and I must admit that I am a bit sceptical about the perfomance gain of this. On the other hand the garbage collector is more bussy than I would have expected, i have taken care to create all classes

[android-developers] Re: ADC2 Challenge

2009-08-27 Thread Vassilios Kirellous
Thanks Dan, What happened was I sent a thread, and it didnt go to the board.. so I sent another. Yes, I'm working with Houba on this. If we submitted our app before ADC2 rules came out - would we be exempt then? Its not as if we knew about it? We are really sorry for this fuss, but it is a big

[android-developers] Re: CTS fails for java.io.OutputStreamWriterTest

2009-08-27 Thread anderson
how to use cts ? On 8月25日, 下午6時34分, Victor vkrugli...@gmail.com wrote: Anybody here? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: ADC2 Challenge

2009-08-27 Thread Ehab Bassilli
Yes, my apologies also. The first thread didnt go through, so we created a second, and then third, and then all of a sudden all of them were published at the same time. :( I guess its a bit like waiting for a bus to come in the UK - you wait and wait, and then 10 come at the same time. So what

[android-developers] Overlay ConcurrentModificationException (continued)

2009-08-27 Thread Lex
This post is in addition to: http://groups.google.com/group/android-developers/browse_thread/thread/1459f065d3af1a5e I have exactly the same problem and Doug pinpointed what's probably the issue in my case exactly: So here's the deal: I have a Vector containing traffic messages (received from a

[android-developers] Low Memory: No more background processes.

2009-08-27 Thread Ramesh
Hi I create application using many images. I changed view based on input action. i have 5 view. each view has many image and listview and also i calling from remote image for Listview. I got one waring message Low Memory: No more background processes. after some time application hanging and

[android-developers] which algorithm is fast for Cipher encryption and decryption?

2009-08-27 Thread zeeshan
Hi Dear, i encrypt some of the images but it takes so long for encryption and decryption. encryption of images in sdcard are just to void straight copy and a very simple encryption would be ok for instance. please check my code below and advise how can i make it fast: static{

[android-developers] Re: Activate GPS service

2009-08-27 Thread Murphy
On Aug 26, 12:03 pm, Mark Murphy mmur...@commonsware.com wrote: So my question: Is it possible to write code that is activating GPS on the phone? No. You can send the users to the activity where they can enable GPS, but you cannot enable GPS yourself. I'm using a custom Cupcake/Donut

[android-developers] How to create button with icon and text

2009-08-27 Thread fhucho
Hi, How can I create a Button with icon and 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

[android-developers] Re: which algorithm is fast for Cipher encryption and decryption?

2009-08-27 Thread Sew
                    ecipher = Cipher.getInstance(DES/CBC/PKCS5Padding);                     dcipher = Cipher.getInstance(DES/CBC/PKCS5Padding); switching to AES would be a good start (both for the security and performance aspects). Sy. --~--~-~--~~~---~--~~ You

[android-developers] Re: Error : Unknown URI: content://media/external/images/media

2009-08-27 Thread Dany BREARD
If I try to create a file into Media.EXTERNAL_CONTENT_URI or Media.INTERNAL_CONTENT_URI, and I test if this file exist, it response False: with this code: File m_wav = new File(Media.EXTERNAL_CONTENT_URI.getPath() , voicemail1.wav); Log.v(TAG, Existe : + m_wav.exists()); I think because

[android-developers] Help in ViewGroup

2009-08-27 Thread kalyan simhan
hi all.. i have a view group and have added set of views on to it. To the same view group i try to add a linear layout which consists of two linear layouts with in it... when i do so my added view does not contain any of the child views.. its blank.. why is it..?? kindly help thanks in advance..

[android-developers] Re: How to create button with icon and text

2009-08-27 Thread Mark Murphy
How can I create a Button with icon and text? Use android:drawableLeft or android:drawableRight or android:drawableBottom or android:drawableTop. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-developers] Query: Packing resources into an APK

2009-08-27 Thread Latha Shivanna
Hii All, In one of my applications, I am pushing few image files say xyz.png into the device using adb push command. And I use these files in my application by giving their exact filepaths (say if I have pushed them into /data, I wud say /data/xyz.png). So to short it down, i wud say, I have a

[android-developers] Re: webview don't scroll up

2009-08-27 Thread Sikus
Nobody? I'm using WebChromeClient and onJsConfirm. I need do some work when method onJsConfirm end. Is there any solution? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Advice for speeding up my drawing

2009-08-27 Thread CG
I have now changed most of the strings to startup initialized char arrays (missing 4) and I am completely baffled by the perfomance gain. I went from a comlpete render loop time on ~350-500 to 170-350 --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: How to create button with icon and text

2009-08-27 Thread Klaus Kartou
I have a additional question then. If I want to specify a background color for the text only, how do I do that?When I set android:background=#FF I get a red color around both the text and the topDrawable. Regards, Klaus On Thu, Aug 27, 2009 at 2:17 PM, Mark Murphy

[android-developers] Monitoring cpu charge/usage : is it possible?

2009-08-27 Thread DaminouU
Hello, Is it possible to find some information about CPU? Actually I would like to find the CPU usage. (50% for example) Just to know if the program is very light or if it is a heavy app' Thanks, D. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] How to do we take a Screenshot using ADB Comand Line

2009-08-27 Thread Prakash Vel
Read through Couple of articles , Most of them point to the DDMS through that we could take the Screenshot. However i am trying to capture the Emulator screen from the Command Line. Not Sure how to tweak the framebuffer /Surface flinger to do the job. or is there any app that we could run in

[android-developers] Re: Advice for speeding up my drawing

2009-08-27 Thread Andrei Bucur
Memory allocation can be very perverse especially if you don't know what happens behind the curtain. From what I noticed a simple String allocation implies most of the time an internal char array allocation (pretty obvious) and many more that I can't now recall. The rule is simple: If you can

[android-developers] Re: How to create button with icon and text

2009-08-27 Thread fhucho
Thanks On Aug 27, 2:17 pm, Mark Murphy mmur...@commonsware.com wrote: How can I create a Button with icon and text? Use android:drawableLeft or android:drawableRight or android:drawableBottom or android:drawableTop. -- Mark Murphy (a Commons Guy)http://commonsware.com Android App

[android-developers] Re: How to create button with icon and text

2009-08-27 Thread fhucho
I don't know if I understand it correctly, but you can try setting the background manually in the topDrawable image (ie don't make the background of topDrawable transparent). On Aug 27, 2:38 pm, Klaus Kartou kar...@gmail.com wrote: I have a additional question then. If I want to specify a

[android-developers] Re: MyTouch Lag Problems

2009-08-27 Thread cnordvik
I noticed my phone was lagging all the time and googled for Android slow and this tip made my phone twice as fast: http://code.google.com/p/android/issues/detail?id=3453 I turned off the location functionality and haven't seen any lag since :-) -Christer

[android-developers] Re: Advice for speeding up my drawing

2009-08-27 Thread CG
apparantly so, I replaced 4 more string allocations in the drawing routine, the strings are very dynamic, so i have to update the values each time. public final char[] legendText = new char[] {'0', '0', '0', '%'}; public int legendOffset = 2; public int legendLength = 0; public void

[android-developers] Emulator overclocking?

2009-08-27 Thread Casper Bang
While I really like the emulator and how realistically it mostly behaves, at prototyping/RAD times I wish I could over-clock it and have to wait less for it. Not so much an issue on a full size desktop, but I do find it odd how slow it is on a Core II Duo 1.2GHz considering the performance I get

[android-developers] Re: Query: Packing resources into an APK

2009-08-27 Thread Mark Murphy
In one of my applications, I am pushing few image files say xyz.png into the device using adb push command. And I use these files in my application by giving their exact filepaths (say if I have pushed them into /data, I wud say /data/xyz.png). You cannot write to /data on production

[android-developers] Re: How to create button with icon and text

2009-08-27 Thread Mark Murphy
I have a additional question then. If I want to specify a background color for the text only, how do I do that? You can't. When I set android:background=#FF I get a red color around both the text and the topDrawable. At most, as another poster suggested, you can have a different

[android-developers] Re: ADC2 Challenge - Is this allowed?

2009-08-27 Thread Teo
I think it's also a bit unfair to think like that. It was pretty obvious they won't allow existing apps into the contest as apps made without a deadline would benefit from an unfair advantage (in development time and popularity). Also, i guess the point of this contest is to promote innovation

[android-developers] Re: ADC2 Challenge - Is this allowed?

2009-08-27 Thread Timothy F
I believe from the very beginning it was stated publicly that it was for apps that had not previously been published. I was fearing that they would not allow the entered apps to be published until after ADC2, so the fact that they are allowing them to be published even before ADC2 begins is good

[android-developers] Re: Speech Recognition

2009-08-27 Thread Nanard
A question to all VR specialist in this list :-) (and Google guys if they read tis) VR works/will work someday but If I have a phone bought in the US for instance, my phone will reconize American accent. If I develop a VR application for the world. Will my US phone have the

[android-developers] Views not getting Clear

2009-08-27 Thread Archana
Hi, I am using 5 views in one LinearLayout my app.While going to each view i am removing previous view by calling linearlayout.removeAllView(). But I think this is not removing my previous view becoz when i checked memory usage.My app memory is keep on growing.and Becoz of this i am getting low

[android-developers] Re: OpenGL - Threading Texture Loading

2009-08-27 Thread Nightwolf
If the problem is with glGenTextures then why not to generate texture ids pool beforehand? On Aug 27, 8:59 am, Dan Sherman impact...@gmail.com wrote: I'm converting an app I've written from Canvas to OpenGL, and not having too hard of a time yet. However, I've run into one snag that I can't

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-27 Thread Bo
On Aug 27, 10:08 am, Wesley sit06...@gmail.com wrote: hi All, I have problem of submit my app... 1st times I try to upload it to ADC... so I start browse my apk... then the site will auto upload I think... but before I click save button, suddenly my browser got problem or I mistype some

[android-developers] Re: Monitoring cpu charge/usage : is it possible?

2009-08-27 Thread Balwinder Kaur (T-Mobile USA)
adb shell top Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 27, 5:45 am, DaminouU

[android-developers] Re: Views not getting Clear

2009-08-27 Thread Sujay Krishna Suresh
archana, i guess u r using image views or atleast images for the backgrounds. If thats the case, u'll hv to call the bitmap.recycle() method to clear memory occupied by the bitmap. On Thu, Aug 27, 2009 at 7:37 PM, Archana archana.14n...@gmail.com wrote: Hi, I am using 5 views in one

[android-developers] Re: Who is responsible for validation of layout xml file?

2009-08-27 Thread Balwinder Kaur (T-Mobile USA)
ADT. Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 27, 2:18 am, Susan

[android-developers] buttons on mapview overlay

2009-08-27 Thread Tony Wong
In Google Maps, when you complete a search and go to map mode browsing, you see two types of overlay objects. One of the overlays contain a title, description, and left and right buttons. The buttons have different states (normal, disabled, pressed down) so the overlay must be more complex than

[android-developers] Re: ADC2 Challenge - Is this allowed?

2009-08-27 Thread Ehab Bassilli
Vaz and I sent out a bit too many threads on this because what happened was we sent out 1 and it didnt appear on the forum.. so we sent out a few more thinking there was a problem with the submission. Anyway, all of them arrived at the same time - so our apologies for that! Secondly, thanks for

[android-developers] need help regarding Scroll Wheel Zoom

2009-08-27 Thread android.vinny
Hi How can i implement the Scroll Wheel Zoom in my application ... if any body knows how to implement this please help regarding this . TIA --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: OpenGL - Threading Texture Loading

2009-08-27 Thread Streets Of Boston
You could do the loading of the bitmap in a seperate background thread and generating the textures in your 'mGl' thread when this separate background thread has finished. I don't think you can use AsyncTask to do this, since the onPostExecute () needs to be executed on the main GUI thread (which

[android-developers] Re: Having Android Documentation in Groups Pages area

2009-08-27 Thread Balwinder Kaur (T-Mobile USA)
I think that is quite a nice idea :) As we come across ways that we feel can make the documentation become more succinct and report those, it helps Android Developers' lives become easier. The strength of an open source platform comes piping the knowledge of its users back into the platform.

[android-developers] Animation on widgets

2009-08-27 Thread Daniel
In my app I have a EditText widget. Since I need that EditText at different positions within the activity I perform some animations to move it around. I don't want to set the position without an animation. The animation also has the fillAfter attribute set to true so the EditText widget stays at

[android-developers] Re: Monitoring cpu charge/usage : is it possible?

2009-08-27 Thread DaminouU
Ok but I want to get these values in my application, and maybe use them. So is it possible to recover these values from a running Android application? On Aug 27, 3:58 pm, Balwinder Kaur (T-Mobile USA) balwinder.k...@t- mobile.com wrote: adb shell top Balwinder Kaur Open Source Development

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-27 Thread Gabor
Hi Santosh, When you are starting the emulator it is ok to stop the booting process, because there is no emma.jar file installed on the system. The emulator tries to find the missing file every ~5 secs. So if you are executing the adb remount and adb sync it will continue booting up. (it

[android-developers] Re: buttons on mapview overlay

2009-08-27 Thread Zod
Hi! The easiest way to put buttons on your map is to use a RelativeLayout. Put the MapView into it and after that you can put there other layout objects too. In the RelativeLayout the view you put after the map view can be over it, so you can draw anything over the map this way, and you don't

[android-developers] Changing view weight dynamically

2009-08-27 Thread Huw
I'm writing an app with two custom views. Both of which are doing their job, but require more than half of the available area. I'd like the user to be able to tap the inactive view, and it would expand to 75% of the screen, while the other shrinks. I haven't seen any way to influence a views

[android-developers] problem in android! NEED HELP!

2009-08-27 Thread Aida
Hi there, I have a problem in android! please help me! you can see error description in this page: http://androidforums.com/android-developers/7660-cant-run-emulator-netbeans.html Thanks all! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] A problem in Android! HELP!

2009-08-27 Thread Aida
Hi there, I have a problem in android! please help me! Here is the problem description: http://androidforums.com/android-developers/7660-cant-run-emulator-netbeans.html Thanks all! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Toggling clicked item icon in gridView

2009-08-27 Thread RickardF
Hi all, I have a gridView where I want to be able to toggle the item icons when clicking them. So, when I click an item it gets selected which is indicated by, say, bitmap B and when I click it again it should be unselected and the item changes back to bitmap A. The problem is that I cannot get

[android-developers] Toggling item icon in GridView on click

2009-08-27 Thread RickardF
Hi all, I have a gridView where I want to eb able to toggle the item icons. I.e when I click one of the items I want the cino to switch appearance from, say bitmap A, to bitmap B. When I click it again it should switch back to bitmap A. I've got the logic in place but I cannot get the gridView to

[android-developers] Re: Create horizontal progress bar at runtime

2009-08-27 Thread inetic
thank you! On Jul 22, 7:04 pm, Hayden hayden.stew...@gmail.com wrote: OK I finally figured it out.  For anyone else that wants to implement ahorizontalprogressbarwith only code,createit like this: ProgressBar pb = new ProgressBar(context, null, android.R.attr.progressBarStyleHorizontal);

[android-developers] key code constant for question mark?

2009-08-27 Thread greg
I don't see an android.view.KeyEvent.KEYCODE constant defined for question mark (key code 76). Is there a key code constant defined for the question mark? Best regards, Greg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: key code constant for question mark?

2009-08-27 Thread Dianne Hackborn
Nope. Even on a PC keyboard ? is not a physical key, but a shift mode on another (/). On Thu, Aug 27, 2009 at 9:23 AM, greg sep...@eduneer.com wrote: I don't see an android.view.KeyEvent.KEYCODE constant defined for question mark (key code 76). Is there a key code constant defined for the

[android-developers] How to listen to Back key

2009-08-27 Thread cindy
In current activity, when user click the back key, I don't what it back to the last activity. Can I add a listener to listen to back key in current activity? When user click back key, it actually back to the activity I want it to go. Thanks! Cindy

[android-developers] Re: Having Android Documentation in Groups Pages area

2009-08-27 Thread Dianne Hackborn
The official location of the documentation is in the source tree, in the source documentation files and various java docs related to all of the classes. We have been regularly accepting contributions to that code to fix and improve the documentation there. Someone could certainly copy the docs

[android-developers] Re: Too many PNGs in res/drawable?

2009-08-27 Thread markh23
Thanks for the responses. So from I got, it's the sheer number of images that makes this scenario difficult for Android to handle? And the size of each of the images won't make (much of) a difference? Say for instance, I have an icon with 1000 states, and each image is only 100bytes. Will

[android-developers] Re: Overlay ConcurrentModificationException (continued)

2009-08-27 Thread Zod
Hi! It's not clear where your code is located and called. If it's in the thread which receives the messages, than you're modifying UI elements from another thread which is really bad. If your code is in the activity object, and you call it directly from the network thread, than you also execute

[android-developers] Re: Too many PNGs in res/drawable?

2009-08-27 Thread Dianne Hackborn
I will guarantee you that each image is not 100 bytes. Actually, I'll bet that is more along the lines of the amount of memory needed just for the Java and C++ data structures for the drawable and bitmap objects. The size of a status bar icon is 25x25; I will assume that this image is 32bpp

[android-developers] Re: need help regarding Scroll Wheel Zoom

2009-08-27 Thread Dianne Hackborn
Android doesn't support a scroll wheel -- you should be focusing on UI for handsets, which don't have a scroll wheel. (They may have a jog dial, which would be expressed as the existing trackball and DPAD events.) On Thu, Aug 27, 2009 at 7:37 AM, android.vinny vinny.s...@gmail.com wrote: Hi

[android-developers] How to get SMS message ID

2009-08-27 Thread Eric Belen
I have this code from an SMS receiver. How do I get the: 1. Message ID (_id) 2. Thread ID(thread_Id) public void onReceive(Context context, Intent intent) { Bundle bundle = intent.getExtras(); if(bundle != null) { Object[] pdus

[android-developers] Maintaining text formatting after setText()

2009-08-27 Thread mgpc
Hi, I have a TextView with some formatting applied in XML - in particular, the text is underlined. When the text in the TextView is changed in the code via: myTextView.setText(newtext); the formatting is lost. Is there any simple way to keep the formatting, without manually re-adding the

[android-developers] Re: how do I get in touch

2009-08-27 Thread Yusuf Saib (T-Mobile USA)
Option 1: http://www.dreamdawn.com/sh/contact.php Option 2: If you have a problem, if no one else can help, and if you can find them, maybe you can hire... The A-Team. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author

[android-developers] how do I get in touch

2009-08-27 Thread jesuschrist1...@gmail.com
with Chris Pruett to help me learn more about game developmentcan you have him contact me asap!!!thanks!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Problem in Geocoder API

2009-08-27 Thread falcon_whiz
Hi All, I am having a real hard time with the geocoder API of android sdk 1.5rc2. In my app I am trying to get the addresses corresponding to a location name by using the getFromLocationName method of the Geocoder class. But the problem is whenever I call this method it returns a null value. I

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-27 Thread Dan Morrill
We are not planning to extend the submission deadline. - Dan On Tue, Aug 25, 2009 at 2:22 PM, patrick android.com...@gmail.com wrote: Hi, i'm asking wher can we ask google to extend the deadline? thks On 25 août, 17:05, Dan Sherman impact...@gmail.com wrote: There's no reason that they

[android-developers] Re: Ressource Management / Priorization of applications?

2009-08-27 Thread salza
So is there any method I can use, to set the priority for a process? Linux normally has this ability (e.g. nice - Set process priority of new processes) In the Android API I found a method to kill processes: killProcess(int pid) So is there any possibility for me as a developer to use a method

[android-developers] Using AnimationDrawable with SurfaceView

2009-08-27 Thread jeka
Hello. I'm working on a game that requires drawing to SurfaceView's Canvas. I'm using SurfaceHolder to obtain Canvas to draw to, and perform drawing in a separate thread. Everything I draw displays correctly except for this one animation. Here is the animation definition (it is in res/drawable/

[android-developers] Re: Animation on widgets

2009-08-27 Thread KDiddy
Just a guess but if your using an XML layout, doesn't that make the position of widgets static? On Aug 27, 10:43 am, Daniel daniel.himmel...@googlemail.com wrote: In my app I have a EditText widget. Since I need that EditText at different positions within the activity I perform some animations

[android-developers] Urgent Help Needed: How to get AnimationDrawable to animate when drawing to SurfaceView?

2009-08-27 Thread jeka
Here is my AnimationDrawable: res/anim/my_anim.xml ?xml version=1.0 encoding=utf-8? animation-list xmlns:android=http://schemas.android.com/apk/res/ android android:oneshot=false item android:drawable=@drawable/empty android:duration=250 / item android:drawable=@drawable/nont_empty

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2009-08-27 Thread Chris Stratton
On Aug 27, 1:21 pm, Yusuf Saib (T-Mobile USA) yusuf.s...@t- Mobile.com wrote: DDMS sends a string that essentially says give me a screenshot to the device, which sends back image data, all through a socket. You could in theory take the DDMS code and repurpose it to your needs. You might start

[android-developers] Can't Set SeekBar Minimum Width Programmatically

2009-08-27 Thread Frank Maker
I am trying to change the size of my SeekBar from the minimum to a larger size so I can use the widget to select a value from a range of values. I am able to change the size using the minimum width attribute in XML: SeekBar android:id=@+id/SeekBar01 android:minWidth=150dip/ but can not get

[android-developers] Emulator space limits

2009-08-27 Thread KDiddy
Hi, I'm working on an app that includes some mp3 files that total about 50 megs. The emulator says it has insufficient storage so I'm not able to run the app in the emulator with those files in it. I reduced the quality and got it to work but the quality sucks now. My question is, when I go

[android-developers] Bluetooth Support in Eclair

2009-08-27 Thread Shabeerali K P
Hi, What is the Bluez version supported in Eclair? What are the BT profile supported in Eclair Regards, Shabeer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

  1   2   3   >