[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-05-27 Thread chen hence
i got the problem too. but i fixed by use the icon which can hlep you to create the Android XML file,which is is just left of the debug icion. 2009/5/27 Raphael > > On Mon, May 25, 2009 at 5:10 PM, androg > wrote: > > > > I get this error with all three launch options, right-click folder in >

[android-developers] Re: HorizontalScrollView reference text

2009-05-27 Thread AusR
Filed: #2781 On May 27, 3:16 pm, Romain Guy wrote: > Oops, it's a copy/paste. My bad :) > > Do you mind filing a bug at b.android.com? > > > > On Wed, May 27, 2009 at 7:08 AM, AusR wrote: > > > From the page: > >http://developer.android.com/reference/android/widget/HorizontalScrol... > > > "You

[android-developers] Help with google uploader application

2009-05-27 Thread Sujay Krishna Suresh
Hi everyone, i'm trying to build an application that captures an image & shares it... 'm calling the inbuilt camera application with the following code Intent i = new Intent("android.media.action.IMAGE_CAPTURE"); startActivityForResult(i, 0); N my on activity result is @Ove

[android-developers] Re: ActivityGroup + embedded Activity search window

2009-05-27 Thread Android Users
You have to be careful with the context in which you are using an activity group. I encountered this problem when i was trying to show a dialog in an activity but with different context. So if you are using any context as parameter, just verify it. --~--~-~--~~~---~--~-

[android-developers] Re: finishing subactivity after some perticular time

2009-05-27 Thread Ask
Hi Macro, You are right and I know this but this can be applicable only when you are invoking sub activity that u had created so that u can write ur logic in that. And My problem is, I am invoking the activity for the phone dialer application using startActivity so I dont have control on the

[android-developers] Re: Android Camera Garbage Collection.

2009-05-27 Thread karan parikh
Hey All, @Robert: Yes. I am talking about the same function call. If you read the documentation for that, It says that a new copy is assigned everytime. You could also verify it with the allocation tracker. It is assigning that memory multiple times. @Tom: Yes a new object reference is

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

2009-05-27 Thread Deeps
Thanks a lot Felipe. Yeah..I have included emma.jar in the build path of my application. I have the android latest release 1.5 sdk.. However, my application has 1.1 target. I tried using Android JUnit and found all my test cases are executed. And also throu command prompt i followed the syntax me

[android-developers] Re: Android 1.5 SDK now available

2009-05-27 Thread Jonathan Herriott
I talked to Romain Guy about a bug that is in 1.5 that is a huge bug (to me) with no good work-a-around that I am experiencing, but I don't know how many other people will run into the issue (Issue 2773 if you're interested). I was wondering if I fix the issue myself and check it in, is it possib

[android-developers] Re: Can't repo sync

2009-05-27 Thread Raphael
Please consider posting on repo-discuss. R/ On Wed, May 27, 2009 at 7:05 AM, Gary Thomas wrote: > > Removing the two files in question and rerunning 'repo sync' seems to > have fixed it.  That said, how/why did this happen?  Was this the > correct > solution? > > On May 27, 7:24 am, Gary Thomas

[android-developers] Re: Extremely frustrating = TextView in ScrollView -> Scroll to bottom?

2009-05-27 Thread Raphael
I often use a TextView withing a ScrollView as a quick log in early prototype of apps, for debugging. Typically I just set the selection to the end of the text, which moves the caret and thus makes sure it's visible: mLogTextView.append(msg); mLogTextView.setSelected(true); Spannable text = (Span

[android-developers] Re: Why the Android docs are inconsistent?

2009-05-27 Thread Raphael
Please file doc bugs at http://b.android.com -- the API probably evolved before 1.0 without the javadoc being updated. R/ On Wed, May 27, 2009 at 6:51 PM, havexz wrote: > > I have looking for something and found these inconsistencies in the > online documentation > > This is a snippet from FAQ

[android-developers] Re: Why the Android docs are inconsistent?

2009-05-27 Thread Rob Franz
Yeah, I don't know. Welcome to the wonderful world of Android. You have to expect that some things will change on an emerging platform that is set on world domination. On Wed, May 27, 2009 at 10:08 PM, havexz wrote: > > There is one more SMS_RECIEVEDunable to find this also.. > > On May 2

[android-developers] Re: Discussion/Suggestions regarding SIP/RTP support on android.

2009-05-27 Thread aayush
Kindly ignore questions 1 and 2. I found the answers in the developer guide. aayush wrote: > Hello, > i have some questions. > > 1. Is there native RTP support on android? > 2. Is there a media player for playing incoming rtp streams, or for > that matter streaming rtp audio video from the devic

[android-developers] Discussion/Suggestions regarding SIP/RTP support on android.

2009-05-27 Thread aayush
Hello, i have some questions. 1. Is there native RTP support on android? 2. Is there a media player for playing incoming rtp streams, or for that matter streaming rtp audio video from the device? 3. I have a sip stack that runs on android. I wish to develop an application on top of it. Before tha

[android-developers] Re: Could not find method javax.microedition.io.Connector.open, referenced from method org.ksoap2.transport.ServiceConnectionMidp.

2009-05-27 Thread Mark Murphy
> I've been getting this error "Could not find method > javax.microedition.io.Connector.open, referenced from method > org.ksoap2.transport.ServiceConnectionMidp." > > > Can anyone help? Android is not JavaME and therefore does not contain javax.microedition.* classes. With regards to kSOAP2, th

[android-developers] Re: How to find the height of HTML content displayed in a webview

2009-05-27 Thread Jack C. Holt
Yes there does seem to be a problem with View.getContentHeight(). I developed a small app that demonstrates a problem with the value returned in portrait versus landscape mode. I only tested this in the emulator using 1.5. When I press Ctrl-F12 to switch orientation repeatedly, I get 0 in portr

[android-developers] Extremely frustrating = TextView in ScrollView -> Scroll to bottom?

2009-05-27 Thread Peter Carpenter
Hi guys, I can't for the life of me work out how to get a text view to be displayed scrolled to the bottom. It appears that plenty of people have asked about this in newsgroups, but no solution offered. textView.setText(s); scrollView.fullScroll(ScrollView.FOCUS_UP); The above code

[android-developers] Re: Why the Android docs are inconsistent?

2009-05-27 Thread havexz
There is one more SMS_RECIEVEDunable to find this also.. On May 27, 8:53 pm, Rob Franz wrote: > I think IntentReceiver became BroadcastReceiver like in 1.1?  I can't > remember. > > On Wed, May 27, 2009 at 9:51 PM, havexz wrote: > > > I have looking for something and found these inconsisten

[android-developers] ProgressDialog - is there any way to set min duration?

2009-05-27 Thread fussene
Hi, I'd like to use Progress Dialog to notice user that task1 is happening. I'd like to dismiss this dialog when the confirmation from task1 delivered. But sometimes the confirmation delivered so quickly less than a sec so the dialog is gone before user can really read it. Is there any way that I

[android-developers] Re: Why the Android docs are inconsistent?

2009-05-27 Thread Rob Franz
I think IntentReceiver became BroadcastReceiver like in 1.1? I can't remember. On Wed, May 27, 2009 at 9:51 PM, havexz wrote: > > I have looking for something and found these inconsistencies in the > online documentation > > This is a snippet from FAQ section > > http://developer.android.com/gu

[android-developers] Why the Android docs are inconsistent?

2009-05-27 Thread havexz
I have looking for something and found these inconsistencies in the online documentation This is a snippet from FAQ section http://developer.android.com/guide/appendix/faq/commontasks.html#broadcastreceivers NotificationManager nm = (NotificationManager) context.getSystemService(C

[android-developers] Re: Device Update!!!

2009-05-27 Thread havexz
You can update your ADP to any version just follow this official link: http://www.htc.com/www/support/android/adp.html > Why would android allows developers to develop under APIs higher than > supported? This is because to make yourself and your application future proof. To give developers an e

[android-developers] Re: Device Update!!!

2009-05-27 Thread Georgy
Cf that's a dirty fix that will result in crashes later isn't it? the application is developed under APi 3 so why changing it just to work on the device? Why would android allows developers to develop under APIs higher than supported? Thanks! On May 27, 9:43 am, CF wrote: > You could also get y

[android-developers] Re: Device Update!!!

2009-05-27 Thread Georgy
Under your link: * Rename zip file to update.zip * Load the file on your SD card’s main directory * Turn off the phone, reboot it holding the HOME button * When you see the triangle, hit ALT+L, then ALT+S * Press HOME and BACK when it prompts you * After it installs the ra

[android-developers] Re: Camera preview callback and garbage collector

2009-05-27 Thread karan parikh
I dunno if there is a way to rectify that in the android framework. If possible we can change the code in the framework to suit our requirements. My belief is there should be one. We might have to hack somewhere. On Mon, May 25, 2009 at 6:11 PM, Bo wrote: > > It seems that, according to the log,

[android-developers] styled text on button?

2009-05-27 Thread jonathan
is it possible to have line breaks or more generally styled text (eg.html) on button? --~--~-~--~~~---~--~~ 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@

[android-developers] Re: Example code of listview/arrayadapter with rows containing multiple text views?

2009-05-27 Thread Marco Nelissen
Just make your own. You can specify whatever layout you want for the list items. On Wed, May 27, 2009 at 2:46 PM, pawpaw17 wrote: > > I want to create a listview with rows that have an image and two > textviews. This must be a very > common activity but I can't find a class/or source code that

[android-developers] word wrap on button

2009-05-27 Thread jonathan
the possible button width are fill_parent or wrap_content, is there a way to make it wrap words? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: using stl in Android

2009-05-27 Thread David Turner
On Wed, May 27, 2009 at 7:32 PM, L!TH!UM wrote: > I'm not sure what your point is in the above statement. Just because > a system is built using one language, does not mean other apps cannot > be developed using some other language. As long as there is a C++ > compiler for the processor, then c

[android-developers] Re: using stl in Android

2009-05-27 Thread David Turner
On Wed, May 27, 2009 at 4:26 PM, Mark Murphy wrote: > > >Is it possible to use stl in android ?? > > If by STL you mean: > > http://en.wikipedia.org/wiki/Standard_Template_Library > > then probably not. > > First, this list is for those developing using the Android SDK, which is > Java, not C+

[android-developers] Example code of listview/arrayadapter with rows containing multiple text views?

2009-05-27 Thread pawpaw17
I want to create a listview with rows that have an image and two textviews. This must be a very common activity but I can't find a class/or source code that does this. Any help would be much appreciated. thanks! pawpaw17 --~--~-~--~~~---~--~~ You received this mes

[android-developers] which junit to use when creating reusable library for Android apps?

2009-05-27 Thread Peter
I am creating an Android library that does stuff like http requests, etc, that uses android.jar objects. There will be no manifest or resources, etc, however. What is the best practice regarding the JUnit library to use in this library? DO I use standard JUnit, or the one included in android.jar?

[android-developers] How to run DumpRenderTree in android

2009-05-27 Thread Daniel Dreiberg
Hi, In android source, it has a test project "DumpRenderTree" ./frameworks/base/tests/DumpRenderTree/ Can you please tell me how to execute that? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Need Soft Keyboard & IME Details

2009-05-27 Thread Sam
I was wondering if anyone could help. Here is my situation: I have a game with a portion that up to now we have been using the G1's hardware keyboard to implement. With the advent of 1.5 and because of the desire for more device compatibility, we've shifted requirements to implementing using a so

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Robert Green
Yup, I found it. RemoteService.java IRemoteService.aidl IRemoteServiceCallback.aidl Is that what you're talking about? I'm looking at those now and am going to try to code this up in the next few hours. On May 27, 4:08 pm, Streets Of Boston wrote: > Your steps below are basically correct, but

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Streets Of Boston
Your steps below are basically correct, but take a look at the API Demoes source code. There is one for demoeing how to write a Service, using AIDL. It also shows how to write a callback method (service calling back into activities bound to that service). I use it for monitoring image-upload prog

[android-developers] Android - RS-232 programming

2009-05-27 Thread luyen
Hi! Please accept my apology if this email is inappropriate. I am very new to Android. I have been tasked with finding if Android 2.0 supports RS-232 communication programing. What is happening is, a device running Android will connect to another device via RS-232. This can be directly connected

[android-developers] Re: activity getHeight() alternative?

2009-05-27 Thread guruk
ok, i found two solutions.. for anyone with the same prob. 1. Display displayx = ((WindowManager) getSystemService (Context.WINDOW_SERVICE)).getDefaultDisplay(); int height= displayx.getHeight(); 2. DisplayMetrics dm = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(dm);

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Robert Green
I'm searching all of the documentation I can find but I'm not seeing any mechanism to register for callbacks from a service or to callback to whatever handler is registered as the service. I see the AIDL binding stuff, and so far I think maybe this sort of thing might work? Activity -- Starts Se

[android-developers] activity getHeight() alternative?

2009-05-27 Thread guruk
Hi, i work in a normal - extends Activity (not in an extended View) is there anyway to get the Height of the screen, like getHeight() ? Or how to user getHeight ? I am just experimenting a bit with bigger displays and so just to know the orientation does not help. thanks chris --~--~-

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Streets Of Boston
I agree you should use a service. But for optimization, i would use this method. You should have a call to the service to query if the service is still busy. If so, show a progress dialog and start listening to the service to know when it no longer is busy (callback from the service into your app

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Robert Green
I just looked at it. 1) They state that it is only an optimization and that you are not to rely on the method being called. 2) My design is a little too complex to use that elegantly. I do network calls from multiple activities and some dialogs on those activities, which need to chain to othe

[android-developers] Re: Network over cell (3G, EDGE etc.)

2009-05-27 Thread Streets Of Boston
"do I need to account for the fact that cell data network is very slow with high latencies" Yep. Or ask your customers to run your app only with WiFi on or with 3G in a good reception area. On Apr 16, 11:57 am, Alienfluid wrote: > So my app works well in the emulator in various run configuratio

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Streets Of Boston
Take a look at the method onRetainNonConfigurationInstance() of the Activity class. :-) http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance() On May 27, 2:01 pm, Robert Green wrote: > I have an app that communicates with a server.  While it is > com

[android-developers] Re: Network over cell (3G, EDGE etc.)

2009-05-27 Thread Neel
I'm seeing the same exact issue. Were you able to figure this out? Thanks. -Neel On Apr 16, 8:57 am, Alienfluid wrote: > So my app works well in the emulator in various run configurations and > on the device when the device is connected to WiFi. But when I switch > off the WiFi on the device,

[android-developers] Re: Cannot allocate any memory when using camera pic

2009-05-27 Thread Streets Of Boston
I'm not sure about the exact point of failure, which - indeed - seems very precisely cut against the memory needed to load exactly one camera pic. However, you can avoid this. Don't load the full size pic. Load the bitmap using the BitmapFactory and set the Config's inSampleSize attribute to a va

[android-developers] Re: Finding the name of installed applications

2009-05-27 Thread Paul Turchenko
PackageManager pm = this.getPackageManager(); Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); List list = pm.queryIntentActivities(mainIntent, 0); for(ResolveInfo info: list) { L

[android-developers] Re: add my Launcher.apk into emulator

2009-05-27 Thread Meryl Silverburgh
Can you please tell me where in android code which specify using Launcher.apk when android starts? I have grep 'Launcher' in the code, i can't find anywhere it specify android to use Launcher.apk. On Fri, May 22, 2009 at 9:51 AM, Dianne Hackborn wrote: > You need to give it a different package n

[android-developers] Re: Cannot allocate any memory when using camera pic

2009-05-27 Thread Max Salley
I have a temporary workaround, but I'd still like to get this issue solved. As for the workaround, it seems that if the SeekBar's image is loaded before the camera picture, the memory error doesn't occur. Right now I have a boolean flag so that the first time my derived ImageView's onDraw method

[android-developers] ActivityGroup + embedded Activity search window

2009-05-27 Thread Taísa Cristina
Hi all, I have an ActivityGroup with an embedded TabActivity and another simple Activity. The TabActivity has three tabs, each one with a ListActivity. When I try to start a search from a list (calling onSearchRequested()), I get a WindowManager$BadTokenException. I've tried requesting focus i

[android-developers] Cannot allocate any memory when using camera pic

2009-05-27 Thread Max Salley
I have an app that displays a camera picture as part of it, but if the picture is in memory I get an out of memory exception when an allocation of any size happens no matter what. If the app uses a seekbar in addition to my PictureView the ~900 bytes it allocates are too much. I even tried to lo

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Marco Nelissen
On Wed, May 27, 2009 at 11:02 AM, Hamy wrote: > > > > On May 27, 12:39 pm, Marco Nelissen wrote: > > On Wed, May 27, 2009 at 10:23 AM, Hamy wrote: > > > > > Marco, > > > > > Thank you so much! I just spent a day and a half trying every example > > > I could get my hands on, and about 2 minutes

[android-developers] Re: Accessing java SIM card information from android

2009-05-27 Thread aayush
Hello, Another query is, that how do i find the exact technology in use of the handset? Whether it is GSM, HSPA or even LTE for that matter. thanks aayush On May 27, 3:43 am, aayush wrote: > Hello, > My query is regarding access to USIM card information from an android > application. My requirem

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Hamy
On May 27, 12:39 pm, Marco Nelissen wrote: > On Wed, May 27, 2009 at 10:23 AM, Hamy wrote: > > > Marco, > > > Thank you so much! I just spent a day and a half trying every example > > I could get my hands on, and about 2 minutes before you replied I > > found a hint that video could not be a r

[android-developers] What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Robert Green
I have an app that communicates with a server. While it is communicating, it shows a progress dialog. The way this actually works is that I have a class that I call my NetworkGateway. Each method takes a Handler as a callback so that the gateway can send back the response as a bundle when it ha

[android-developers] Re: ant and eclipse builds don't play nice

2009-05-27 Thread Raphael
That's kind of an unexpected workflow. The idea is that either you go the full way in Eclipse or you use Ant/DDMS. Trying to combine both is a recipe for confusion :-) What you can try: - use Ant to compile - use the ant "install" or "reinstall" target to push the apk - launch app manually - you

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Marco Nelissen
On Wed, May 27, 2009 at 10:23 AM, Hamy wrote: > > Marco, > > Thank you so much! I just spent a day and a half trying every example > I could get my hands on, and about 2 minutes before you replied I > found a hint that video could not be a raw resource. I had just been > adapting every example to

[android-developers] Android Runtime Errors!!! NEED HELP!!!

2009-05-27 Thread kevin.cho...@googlemail.com
Hi everyone, I'm getting quite a few Android Runtime Errors, and quite frankly, i'm at a loss. Here is a list of all the errors displayed in the console upon launch of the application. The application makes a call to a .NET web service using the kSOAP2 library. 05-27 17:36:39.535: ERROR/dalvik

[android-developers] Re: android service utilizing custom usb device

2009-05-27 Thread guruk
do you have a blog or something for your work. I very like the Idea to connect external usb devices. Could be a great improvment to know a page where that stuff is explained a bit, also technicalwise what wires etc.. you know :) greets chris --~--~-~--~~~---~--~~

[android-developers] Re: using stl in Android

2009-05-27 Thread L!TH!UM
> Second, as I understand it, Android is mostly in C, not C++, though I may > be wrong about that. > I'm not sure what your point is in the above statement. Just because a system is built using one language, does not mean other apps cannot be developed using some other language. As long as ther

[android-developers] Could not find method javax.microedition.io.Connector.open, referenced from method org.ksoap2.transport.ServiceConnectionMidp.

2009-05-27 Thread kevin.cho...@googlemail.com
Hi Everyone, I've been getting this error "Could not find method javax.microedition.io.Connector.open, referenced from method org.ksoap2.transport.ServiceConnectionMidp." Can anyone help? Thanks! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Hamy
Marco, Thank you so much! I just spent a day and a half trying every example I could get my hands on, and about 2 minutes before you replied I found a hint that video could not be a raw resource. I had just been adapting every example to include that, and it never occurred to me that might be the

[android-developers] Re: Remove screen lock like the MENU key do?

2009-05-27 Thread andrew
Oh,my God,nobody give me a help. Maybe it is not possible to do this?? --~--~-~--~~~---~--~~ 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.co

[android-developers] Re: few querieson OpenGL-ES on Android...

2009-05-27 Thread Streets Of Boston
My app is using OpenGL ES: The Gube On May 27, 12:30 pm, Shrinivas wrote: > Hi All, > > I have few queries: > > - Can anybody let me know is 2D & 3D graphics in Android are using > OpenGL-ES? I have have read only 3D graphics is using OpenGL-ES. > > - what are all the application in android whic

[android-developers] few querieson OpenGL-ES on Android...

2009-05-27 Thread Shrinivas
Hi All, I have few queries: - Can anybody let me know is 2D & 3D graphics in Android are using OpenGL-ES? I have have read only 3D graphics is using OpenGL-ES. - what are all the application in android which are using OpenGL-ES. please give the list of applications. Thanks. --~--~-~--~

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Marco Nelissen
Which "Audio and Video dev guide" are you referring to? If that guide tells you that the code you posted should work, it needs to be fixed :) There are several problems in your code, but the main one is that you can't use any of the MediaPlayer.create() convenience methods to play video from a reso

[android-developers] Re: UnknownHostException on 1.5 emulator

2009-05-27 Thread Peter Jeffe
Thanks for the quick response David. I've only seen this on the 1.5 emulator running from the 1.5 SDK, I haven't tried the 1.1 emulator. Previously I was running the 1.0 SDK and never saw it. Below is the / system/build.prop from the emulator, let me know if you need anything else. It happens o

[android-developers] flagNoExtractUi still showing keyboard text area

2009-05-27 Thread Peter Jeffe
I'm probably doing something wrong here, but when I set flagNoExtractUi on an EditText the onscreen keyboard still shows its text input area when I type on it (this is in the 1.5 emulator, building against 1.5). How do I get the text area not to display? Here's the xml, and it's the same if I set

[android-developers] Can only hear sound when playing video

2009-05-27 Thread Hamy
Hey all, I can only hear sound when trying to play a video in a surfaceView. The video codecs are very likely supported - I was reading this thread: http://groups.google.com/group/android-developers/browse_thread/thread/aeefa6c282c6dfcf where Mark Murphy mentions that the video is known to work.

[android-developers] Displaying an image over another image

2009-05-27 Thread Sujay Krishna
hi, i am using a relative layout to display an image over another i want to align the center of the second image with the right bottom corner of the previous image... can anyone help me out with this... --~--~-~--~~~---~--~~ You received this message beca

[android-developers] ScrolllBar style

2009-05-27 Thread karthikr
Hi Guys, Is there any way to set the style of the scroll bar so that it is visible only when scrolling and the rest of the time it is invisible? Regards, R.Karthik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "And

[android-developers] Removing labels on the MapView

2009-05-27 Thread Issa Fortin
Hi, I was wondering if anyone would know a way to remove labels on the MapView? The documentation displays the following statement about the "satellite" mode: "Sets the map mode to "satellite" mode, loading tiles of aerial imagery with roads and names superimposed." Would anyone know if it's p

[android-developers] Re: Android Market rejecting icons

2009-05-27 Thread Marco Nelissen
You say you have tried it with "various dpi". Have you actually tried it with a PNG that has a resolution of 48x48 pixels though? On Wed, May 27, 2009 at 7:48 AM, solid wrote: > > I have finished the first version of my app and I am trying to upload > it to the market. But every time I select

[android-developers] Re: Exit SMS-app after sending SMS

2009-05-27 Thread Vignesh
Bindu, On the same page, refer the text after "Figure 4". That lists a way to use native application to send sms All, Request help to let me understand what are all the intent.putExtras I must do to send the sms automatically. With the following piece of code, the compose window with To and bod

[android-developers] Android Market rejecting icons

2009-05-27 Thread solid
I have finished the first version of my app and I am trying to upload it to the market. But every time I select my apk file for upload, the market upload website says: The icon for your application is not valid. Please use a 48x48 PNG. I have checked my image and resaved it in gimp at various dp

[android-developers] Re: finishing subactivity after some perticular time

2009-05-27 Thread Marco Nelissen
Why don't you just have your subactivity post a delayed message to itself and have it call finish() when it gets it? On Tue, May 26, 2009 at 11:49 PM, Ask wrote: > > Is it possible to call finish() for subactivity from the parent > activity?? I want to show subactivity for only some perticular t

[android-developers] Re: using stl in Android

2009-05-27 Thread Mark Murphy
>Is it possible to use stl in android ?? If by STL you mean: http://en.wikipedia.org/wiki/Standard_Template_Library then probably not. First, this list is for those developing using the Android SDK, which is Java, not C++. Second, as I understand it, Android is mostly in C, not C++, thoug

[android-developers] using stl in Android

2009-05-27 Thread Kathick
Hi, Is it possible to use stl in android ?? Thanks, Maha --~--~-~--~~~---~--~~ 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 unsu

[android-developers] Re: HorizontalScrollView reference text

2009-05-27 Thread Romain Guy
Oops, it's a copy/paste. My bad :) Do you mind filing a bug at b.android.com? On Wed, May 27, 2009 at 7:08 AM, AusR wrote: > > From the page: > http://developer.android.com/reference/android/widget/HorizontalScrollView.html > > "You should never use a HorizontalScrollView with a ListView, since

[android-developers] HorizontalScrollView reference text

2009-05-27 Thread AusR
>From the page: http://developer.android.com/reference/android/widget/HorizontalScrollView.html "You should never use a HorizontalScrollView with a ListView, since ListView takes care of its own scrolling. Most importantly, doing this defeats all of the important optimizations in ListView for dea

[android-developers] Re: Can't repo sync

2009-05-27 Thread Gary Thomas
Removing the two files in question and rerunning 'repo sync' seems to have fixed it. That said, how/why did this happen? Was this the correct solution? On May 27, 7:24 am, Gary Thomas wrote: > Trying to 'repo sync' into a tree which was fine last Friday: > > From git://android.git.kernel.org/p

[android-developers] Re: implementation of onDestroy for a service containing a worker or backround thread

2009-05-27 Thread Streets Of Boston
Send a message to your background thread telling it to end. Your background thread: class MyBackgroundThread extends Thread { ... ... private boolean _isRunning = true; public void run() { ... ... while (running()) { ... // fetch and handle messages. ... } } .. pr

[android-developers] Upgrading android Application

2009-05-27 Thread Muthu Kumar K.
Hi All, I am developing an Android application. In my application i have an option called "Upgrade App". Once user select this option, i need to install (upgrade) the new version of the application. Can any one tell me how to do this through code? Thanks in Advance, Muthu Kumar K. --~--~-

[android-developers] Re: Device Update!!!

2009-05-27 Thread CF
You could also get your app to run on the current device by updating the following entry in your AndroidManifest.xml file -CF On May 27, 9:33 am, Georgy wrote: > I need to update the phone. > > 1- I developed an application using API number 3 so will the firmware > 1.5 be enough ??? > > 2- I j

[android-developers] Re: Exit SMS-app after sending SMS

2009-05-27 Thread Kasmoori Bindu
Hi Vignesh, Thank you for the quick reply. Iam not sure whether it is possible to send SMS without user intervention but i think some button click or inturn some action should be there to make use of SMS service. However, if you want to send the SMS without invoking built-in SMS app, th

[android-developers] Re: adb push wtf

2009-05-27 Thread Hamy
Hey all, in case anyone else has a similar problem - here is a bit of code that might help. All I do is write a dummy file to the location I want to put a file to, making it world writable (not sure if I have to sue this flag or not, but it does not matter really, as i will only use this script o

[android-developers] Re: Device Update!!!

2009-05-27 Thread Georgy
I need to update the phone. 1- I developed an application using API number 3 so will the firmware 1.5 be enough ??? 2- I just got the phone and don't want to screw it up, however the process looks very simple. In case I screwed it up, can't I just restore to factory setttings? thanks On May 26

[android-developers] Problem with multi select listview with default selected List Items.

2009-05-27 Thread Yash Patel
HI, I want to create multi select listview with checkbox. and also make checked = true for some of the item based on some business rule. I can get the list view with multiple choice option working but I am not able to load some of the item as default checked when list view first loaded. I tried

[android-developers] Can't repo sync

2009-05-27 Thread Gary Thomas
Trying to 'repo sync' into a tree which was fine last Friday: >From git://android.git.kernel.org/platform/system/wlan/ti * [new tag] android-1.5r2 -> android-1.5r2 Fetching projects: 100% (115/115), done. Syncing work tree: 59% (67/113) fatal: Untracked working tree file 'docs/html/sdk

[android-developers] Re: Exit SMS-app after sending SMS

2009-05-27 Thread Vignesh
You can use intent.putExtra("exit_on_sent", true) for your needs I am struck in a problem, wherein on passing intent to Native messaging application, it opens up compose window and waits for user intervention to send the SMS (by clicking on send button). Could you get your code up, wherein it se

[android-developers] Check Download freeware for you

2009-05-27 Thread DonyChandra
http://free-belajaronline.blogspot.com/2009/05/download-free-wma-to-mp3-converter.html Download Free WMA to mp3 converter Windows http://free-belajaronline.blogspot.com/2009/05/nokia-ovi-store-launch-is-complete.html Nokia Ovi Store Launch Is A Complete Disaster http://free-belajaronline.blogspo

[android-developers] SDK 1.5 CPU usage

2009-05-27 Thread Brad Gies
Since installing the 1.5 SDK, I have noticed a significant slowdown in my computer when I have the emulator running. I left the emulator running when I went to bed last night, and this morning brought home the reason why : In task Manager, when I sorted by CPU Times the top five were th

[android-developers] Re: Unbale to opem IM app.

2009-05-27 Thread Zhihong GUO
Hi all, I got errors when I install the plugin, sometime. I build a system image from the source code and copy the system.img to androidsdk1.5/platforms/android-1.5/images/. When I build the sample IM plugin and install it. Sometime I got error: "package com.android.im.plugin.demo has no signatur

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

2009-05-27 Thread Felipe Ramos
Hi Deeps, Nice to hear that you are making progress. Are you using only the SDK, or are you building the entire android source code? Maybe your code is not instrumented to generate the coverage statistics and this would be why you are getting 0% of code coverage. Are you using the emma.jar provided

[android-developers] Re: implementation of onDestroy for a service containing a worker or backround thread

2009-05-27 Thread gautam_raychaudhury
Can I use the thread.join() mechanism? Basically, in the onDestroy() method of the service, I would send a message to the background thread and call join on the thread. The background thread would destroy it self after proper cleanup. But, what method should I use to exit the thread. Please note t

[android-developers] Re: Unbale to opem IM app.

2009-05-27 Thread Zhihong GUO
you have to open the project under IM/samples/PluginDemo with eclipse, build and install the project to emulator. 2009/4/29 srinivas > > > Hi, > On cupcake builds we are unable to open IM app from main menu. > When we open the app, it gets closed immediately and adb logs show the > following err

[android-developers] Identifying HSDPA usage

2009-05-27 Thread bestpriv...@googlemail.com
Is is possible to find out if HSDPA is used by the phone? telephonyManager.getNetworkType() only returns UMTS which seems to include HSDPA. Since HSDPA is based on UMTS there is nothing wrong with that:However, there is a significant bandwidth difference between UMTS and HSDPA. HSDPA is actually

[android-developers] File download help

2009-05-27 Thread Sukitha Udugamasooriya
This is a snip of my code URL sourceURL = new URL(urlStr); URLConnection con = sourceURL.openConnection(); con.setRequestProperty("Content-Range", "bytes 0-200/"+pbMax); //sets a chunck to download InputStream inStream=(InputStream)con.getContent(); int pbMax =con.getContentLength(); Log.w

[android-developers] PAN services

2009-05-27 Thread Bhargavi
Hi All, can someone let me know what exact services can be used from the PANU when connected to a NAP/GN with some examples. can we connect only to the internet service of the NAP or can we use all the services offered by the NAP.for eg , if there is some music player running in the NAP, can PAN

[android-developers] Calendar Content Provider

2009-05-27 Thread mobilek...@googlemail.com
Hi, Is there a way to read data from android.provider.Calendar? It's URI is mentioned here (http://developer.android.com/guide/topics/providers/ content-providers.html), so I thought its data should somehow be accessible. On the other hand it's clearly not within the android.provider package... a

  1   2   >