[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-12-03 Thread Matt Kanninen
My app involves taking a picture with the camera, or recording voice using the microphone, and sending the results to the server. It's a search tool. The UI isn't very complicated, as much as possible it is done in XML. For the droid we added some layouts in res/long that differ only in layout

[android-developers] Re: Call Webservice From Android

2009-12-03 Thread Dexter#39;s Brain
You cannot use rmi package in Android since they are not available. You would perhaps try using kSoap or some other third party tools which you should ensure that they are compatible with Android. Or, may be a simple HTTP post or GET, but for this of course, you need to change your server code.

[android-developers] Re: Accents in strings

2009-12-03 Thread Dexter#39;s Brain
To handle such things, I guess, the best thing is the common-io from apache. They have a class called IOUtils, which is used to convert a stream to a string and vice-versa, according the the encoding you mention. Try using it. Thanks, Kumar Bibek http://tech-droid.blogspot.com -- You received

[android-developers] Re: Is there any posibility to know the size of the video file?

2009-12-03 Thread Dexter#39;s Brain
If you are picking your video files, and creating File objects, then, you would defintely get the size from the file object. Thanks, Kumar Bibek http://tech-droid.blogspot.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Dexter#39;s Brain
Hi Archana, This does work. Specify gravity as whatever, but If you don't specify the width of the text-view as fill_parent instead of wrap_content, the gravity property is meaningless. So, first set the width as fill_parent, for horizontal gravity props, and height as fill_parent for vertical

[android-developers] Accessing videos uploaded to YouTube

2009-12-03 Thread Hunter Peress
Hi, thanks for reading. So, after a video is uploaded to youtube. I'm looking for a way to access its uploaded youtube id. My best idea is that this information might be stored in some content provider somewhere. Anyone have an idea? -- You received this message because you are subscribed to

[android-developers] Advice for uploading my apps

2009-12-03 Thread Neilz
Hi all. Just need some help before I upload my apps. The title I wanted to give my app is too long for the small icon. However looking at the market, I notice that other people have got around this by giving a longer name to the app that appears on the market list, and a shorter name to the app

[android-developers] Is there an explorer for all contentProviders?

2009-12-03 Thread Hunter Peress
Hi. I want to search all the content providers. Is there a UI for doing 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.com To unsubscribe from this group, send

[android-developers] Re: Advice for uploading my apps

2009-12-03 Thread Dexter#39;s Brain
Well, when you upload it to the market, you get a field called Title which will actually appear on the market. This need not be the same as your app name. You can have separate names. apk file name can be anything, it doesn't matter. Thanks, Kumar Bibek http://tech-droid.blogspot.com -- You

[android-developers] Re: Advice for uploading my apps

2009-12-03 Thread Neilz
Thank you Kumar. On Dec 3, 9:58 am, Dexter#39;s Brain coomar@gmail.com wrote: Well, when you upload it to the market, you get a field called Title which will actually appear on the market. This need not be the same as your app name. You can have separate names. apk file name can be

[android-developers] Invalidate()?...

2009-12-03 Thread Sasikumar.S
Hi, What is the use of Invalidate() in android?... Any one know about these?... Thanks in advance -- Thanks Regards Sasikumar.S -- 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: Advice for uploading my apps

2009-12-03 Thread Neilz
Ah, but is there a way to make the name that appears in the application list different from that on the icon? When the user tries to add a shortcut, and gets the list of applications, I would like the full title to appear there, but keep the abbreviated version on the icon. Can that be done? --

[android-developers] JNI Programming in Android Environment

2009-12-03 Thread RamaMohan
hi all Android developers, I need to implement JNI Programming in android environment. SO if anybody knows about JNI programming in android.please let me know or if you found any useful links or information about this concept please send me . -- You received this message because you are

[android-developers] Re: Is there any posibility to know the size of the video file?

2009-12-03 Thread manoj
Hi Kumar, thanks for your reply. But what I wanted to know is to get the video resolution (width * height). On Dec 3, 2:08 pm, Dexter#39;s Brain coomar@gmail.com wrote: If you are picking your video files, and creating File objects, then, you would defintely get the size from the file

[android-developers] Re: ExpandableListView indicator over my text

2009-12-03 Thread jef
Ok works fine ! thanks On 2 déc, 18:38, Romain Guy romain...@android.com wrote: You are setting the padding to be 36 pixels, which is going to be too small on a high density display. On high density displays, Android scales assets/dimensions/etc. up by 1.5, meaning a 20x20 image becomes

[android-developers] Content Management Application in android

2009-12-03 Thread RamaMohan
HI all, I need to an application with following . The application should be Generic one.ie., By supplying data,layout,images and all resources in a single XML file,then, the application should dynamically change its layout and functionality and it should display according to the layout specified

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Archana
I tried by giving both fill parent and and some value..But right side of the text is not justified.Can you pleas give some example if you have. On Dec 3, 2:11 pm, Dexter#39;s Brain coomar@gmail.com wrote: Hi Archana, This does work. Specify gravity as whatever, but If you don't specify

Re: [android-developers] Invalidate()?...

2009-12-03 Thread sathya subbiah
Invalidate is used for updating the View display. Its like refreshing the view. Rgs, Sathya On Thu, Dec 3, 2009 at 5:32 AM, Sasikumar.S sasikumar.it1...@gmail.comwrote: Hi, What is the use of Invalidate() in android?... Any one know about these?... Thanks in advance -- Thanks

Re: [android-developers] Invalidate()?...

2009-12-03 Thread Sasikumar.S
Hi, Thanks for reply... It will refresh onDraw()? On Thu, Dec 3, 2009 at 4:28 PM, sathya subbiah sathya.subbia...@gmail.comwrote: Invalidate is used for updating the View display. Its like refreshing the view. Rgs, Sathya On Thu, Dec 3, 2009 at 5:32 AM, Sasikumar.S

[android-developers] Re: Questin about gmail intents

2009-12-03 Thread Flying Coder
Moneytoo: How does one receive the intent? I'd be happy if my app could simply tell when a new gmail has arrived. Thanks, Steve On Dec 2, 6:41 pm, moneytoo m...@seznam.cz wrote: You can receive the intent but you can not cancel the notification. On Dec 2, 7:48 pm, vendor.net

[android-developers] Re: Advice for uploading my apps

2009-12-03 Thread Dexter#39;s Brain
I don't think so. I think they have to be same. Thanks, Kumar Bibek http://tech-droid.blogspot.com -- 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] how can i know if appIstallation Done or cacelled

2009-12-03 Thread george
Hi here is my code to invoke the installer intent how can i know if appIstallation Done or cacelled ...?? Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(appApkFile), application/ vnd.android.package-archive);

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Dexter#39;s Brain
If you can paste your code, I might be able to point out the error. RelativeLayout android:id=@+id/RelativeLayout01 android:layout_width=fill_parent xmlns:android=http:// schemas.android.com/apk/res/android android:layout_height=wrap_content TextView

Re: [android-developers] JNI Programming in Android Environment

2009-12-03 Thread Mark Murphy
hi all Android developers, I need to implement JNI Programming in android environment. SO if anybody knows about JNI programming in android.please let me know or if you found any useful links or information about this concept please send me . You want the Android NDK:

[android-developers] PVPLayer:general question

2009-12-03 Thread Nilly
Hi All, Is pvplayer is full fledge GUI player working on andoriod or its just like gstremer and we need to integrate it with some other GUI based player? where can I get PVplayer source code? Regards, Nilly -- You received this message because you are subscribed to the Google Groups Android

[android-developers] files and updating

2009-12-03 Thread kabir
Hi, Quick question: what happens to files stored locally when you update your app through the market? e.g. files that have been created using for example 'this.openFileOutput(page.txt, MODE_WORLD_READABLE);'? Are they maintained or deleted by default? if deleted, how can i make the system keep

Re: [android-developers] files and updating

2009-12-03 Thread Mark Murphy
Quick question: what happens to files stored locally when you update your app through the market? e.g. files that have been created using for example 'this.openFileOutput(page.txt, MODE_WORLD_READABLE);'? Are they maintained or deleted by default? Maintained. They will be deleted if the

[android-developers] Re: Is there any posibility to know the size of the video file?

2009-12-03 Thread Dexter#39;s Brain
You have to query the MediaStore and get the value of the resolution from it. http://developer.android.com/reference/android/provider/MediaStore.Video.VideoColumns.html Have you tried this? I don't know if it works, but i think this is the right way. Thanks, Kumar Bibek.

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Archana
Actually i am using java not xml Like this i tried LinearLayout Contentlayout = new LinearLayout(context); Contentlayout.setLayoutParams(new LinearLayout.LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); Contentlayout.setOrientation(HORIZONTAL);

[android-developers] Re: How to layout 3 ImageButton evenly distributed on a row

2009-12-03 Thread Dexter#39;s Brain
Another solution that I can think of is with the same layout that you have, add some padding to the ImageViews. ImageButton android:id=@+id/one android:layout_width=wrap_content android:layout_height=wrap_content android:padding=5sp / This will give some space between your Image Views. Thanks,

[android-developers] Re: files and updating

2009-12-03 Thread kabir
thanks! On Dec 3, 12:08 pm, Mark Murphy mmur...@commonsware.com wrote: Quick question: what happens to files stored locally when you update your app through the market? e.g. files that have been created using for example 'this.openFileOutput(page.txt, MODE_WORLD_READABLE);'? Are they

[android-developers] Re: Push technique in android

2009-12-03 Thread Marc Reichelt
Hi veradis, of course, here you are:

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Dexter#39;s Brain
I guess, you haven't set the Gravity text1.setGravity(Gravity.RIGHT) This should work. Btw, any specific reason of not using xml? AFAIK they are a lot better to manage, and after you get a hand, easier to implement also. You can also get nice previews for your layout, before even running your

[android-developers] Timer

2009-12-03 Thread Sasikumar.S
Hi, How to get whether timer is runnning or not?... That means How to get whether timer is scheduled or not?... -- Thanks Regards Sasikumar.S -- 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] Error in developing videoplayer

2009-12-03 Thread abi
hi .. i had an error in video player while executing it (Eclipse...galilio) the error is..R.id can not be resolved. (i.e) id class s not automatically generated in R.java file... i get that code from the link...http://davanum.wordpress.com/

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Archana
No i set gravity to right but at that time everything is moving to right side. I want to align it from both left and right side. On Dec 3, 5:20 pm, Dexter#39;s Brain coomar@gmail.com wrote: I guess, you haven't set the Gravity text1.setGravity(Gravity.RIGHT) This should work. Btw, any

[android-developers] media player....

2009-12-03 Thread abi
can any one send me the right code for media player. ... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Archana
ya i want it to be in java,Becoz i am fetching some content from server and itrating so if i use xml it wont display content properly.But now everything coming fine except justification. On Dec 3, 5:26 pm, Archana archana.14n...@gmail.com wrote: No i set gravity to right but at that time

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Dexter#39;s Brain
Sorry, but I don't get what you want to achieve GRAVITY.CENTER ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Archana
Please see this link ..here they are aligning the text i want same like this Check Full Text Search http://www.aldiko.com/blog/ On Dec 3, 5:32 pm, Dexter#39;s Brain coomar@gmail.com wrote: Sorry, but I don't get what you want to achieve GRAVITY.CENTER ? -- You received this

[android-developers] Android 2.0 Installation

2009-12-03 Thread Ali Murtaza
Hi I am trying to install the android 2.0. when i start the setup then it start fatching... i am using windows OS .. but when fetch it gives this error Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: dl-ssl.google.com tell me how i resolved it... Please

[android-developers] Re: Question regarding Dev Phone 2

2009-12-03 Thread developm...@mobilaria.com
Also I just noticed that on the Magic description this sentence is used : - Ability to see forward locked apps in Android Market Which isn't there on the G1 description page... What does that mean ? On 2 dec, 10:06, developm...@mobilaria.com developm...@mobilaria.com wrote: Hi all, I was

Re: [android-developers] Android 2.0 Installation

2009-12-03 Thread vishnu prasad
Did u select the checkbox force under the MISC section in the settings tab On Thu, Dec 3, 2009 at 8:44 PM, Ali Murtaza mralimurt...@gmail.com wrote: Hi I am trying to install the android 2.0. when i start the setup then it start fatching... i am using windows OS .. but when fetch it

[android-developers] How to find Key Performance parameters of an Android application

2009-12-03 Thread Arun Tripathy
Hi Folks, I am looking to find out the “launch latency” of an application by writing an Android Java Application. For instance, when we launch a Browser, I want to know how long it takes to the application to come to the ui and ready to take an URL. The Logcat message prints the required

[android-developers] Need help to find Key Performance parameters of an Android application

2009-12-03 Thread Arun
Hi Folks, I am looking to find out the “launch latency” of an application by writing an Android Java Application. For instance, when we launch a Browser, I want to know how long it takes to the application to come to the ui and ready to take an URL. The Logcat message prints the required

Re: [android-developers] Advice for uploading my apps

2009-12-03 Thread Jeffrey Blattman
the short name that appears under the icon after installation is defined by the android:label attr in your manifest. the longer name in the market is entered during the upload process. On Thu, Dec 3, 2009 at 1:35 AM, Neilz neilhorn...@googlemail.com wrote: Hi all. Just need some help before I

[android-developers] How to call onDraw() in Timer?..

2009-12-03 Thread Sasikumar.S
Hi, I need, I'm using a class extends with view. I'm using timer in that class. I'm using onTouchEvent() also. I onTouchEvent() i'm using invalidate(). So it is calling onDraw(). When i use invalidate() in Timer. It is not calling onDraw(). Why? -- Thanks Regards Sasikumar.S -- You

[android-developers] Re: How to call onDraw() in Timer?..

2009-12-03 Thread skink
On Dec 3, 2:38 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, I need, I'm using a class extends with view. I'm using timer in that class. I'm using onTouchEvent() also. I onTouchEvent() i'm using invalidate(). So it is calling onDraw(). When i use invalidate() in Timer. It is

[android-developers] Re: How to call onDraw() in Timer?..

2009-12-03 Thread manoj
just call the invalidate()/ postInvalidate() in the timer class. The invalidate()/postinvalidate() will call onDraw() implicitly. You cant directly call onDraw(). On Dec 3, 6:38 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, I need, I'm using a class extends with view. I'm using

[android-developers] Execute method when background task exceeds timespan

2009-12-03 Thread Patrick Plaatje
Hi all, i'm trying to do the following: 1. Fetching an external resource through a seperate thread; 2. When loaded this thread sends a message to the specified handler 3. This handler executes a method which sets a view to visible All goes well, but now i want to include an extra time, so that

[android-developers] Re: How to call onDraw() in Timer?..

2009-12-03 Thread Nithin
Hi, try postInvalidate() from Timer. Thanks On Dec 3, 6:46 pm, skink psk...@gmail.com wrote: On Dec 3, 2:38 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, I need, I'm using a class extends with view. I'm using timer in that class. I'm using onTouchEvent() also. I

Re: [android-developers] Re: How to call onDraw() in Timer?..

2009-12-03 Thread sathya subbiah
invalidate does not work in timer class as it is a seperate thread. Post an event to handler and invalidate. On Thu, Dec 3, 2009 at 8:47 AM, manoj manojkumar.m...@gmail.com wrote: just call the invalidate()/ postInvalidate() in the timer class. The invalidate()/postinvalidate() will call

[android-developers] Re: How to test if app is shown on Market for all screensizes

2009-12-03 Thread rflexor
Hi again, some more info concering the case of Milestones not showing protected apps from one of our customers here in Germany ... [SNIP] Dear Justin, I am one of the affected milestone users and I am far from alone. At least all of the milestones sold by amazon, Germany are affected!

[android-developers] ListActivity mandatory for listView ?

2009-12-03 Thread Jags
I am starting with ListActivity. I saw apidemos and saw that it is based on ListActivity. My doubt is, in my first screen I need a few labels and texts under that a list. How to approach this ? I cant do a setContentlayut(R.id.main) if my activity extends ListActivity, no ? more over I found the

[android-developers] Re: Soft keypad doesn't appear if EditText.setOnClickListener() is set?

2009-12-03 Thread Mark Wyszomierski
as a general rule you should not be doing anything from a click on an EditText'' ok, is there a way to be notified that the user intends to start entering input into an EditText then? I want to display a little image when the user either: A) clicks on the EditText B) touches the EditText.

Re: [android-developers] Re: getLastKnownLocation *again*

2009-12-03 Thread TreKing
To reiterate what's been said, you only want to use getLastKnownLocation() *ONCE*, at start up, to give you *something* to work with - a starting point. After that you should be relying only on the location provider updates for the most accurate location information. I would suggest you do what

Re: [android-developers] Re: Soft keypad doesn't appear if EditText.setOnClickListener() is set?

2009-12-03 Thread Steve Oliver
so do you mean, like when the cursor is placed into the edit text? you can do that, I do that to hide views to make room for the IME. On Thu, Dec 3, 2009 at 6:54 AM, Mark Wyszomierski mar...@gmail.com wrote: as a general rule you should not be doing anything from a click on an EditText''

[android-developers] Re: Where to get a Samsung Moment for development

2009-12-03 Thread shaun
Only thing I can offer up is searching your local Craigslist.org listings. How did you acquire the others? On Dec 3, 12:28 am, SoftwareForMe.com sa...@softwareforme.com wrote: Hi, We have a G1, MyTouch, Hero and Droid. However, we've been getting odd reports from our Moment customers, and

[android-developers] Re: Soft keypad doesn't appear if EditText.setOnClickListener() is set?

2009-12-03 Thread Mark Wyszomierski
Hi Steve, What is the cursor-is-placed-into-the-edit-text event though? Is that just when the EditText gets any kind of focus? (for example, when I scroll over to an edit text, it gets the orange rect and the cursor starts blinking inside of it). Ideally i want to know when the user simply

[android-developers] how to know whether the network operator settings are set to 'select automatically' ?

2009-12-03 Thread manoj
Hi all, how to know whether the network operator settings are set to 'select automatically' ? through programming. can any one please suggest me? Thanks, Manoj. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Translucent Activity not calling onStop() on exit

2009-12-03 Thread Craig Russell
I'm having this strange issue where upon exiting a subactivity that is translucent (android:theme=@android:style/Theme.Translucent ) the onStop() method doesn't appear to be called. I have a TimerTask that runs and is supposed to be terminated when the subactivity ends in the onStop() method, but

[android-developers] Re: Translucent Activity not calling onStop() on exit

2009-12-03 Thread Craig Russell
I suppose by putting it into onPause(), it might work, but why does it behave differently? -- 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

Re: [android-developers] saving applications state

2009-12-03 Thread TreKing
Are you *sure* *onSaveInstanceState*() is actually being called? This will only happen if your app is in danger of being killed off when you don't want it to be. Try opening a bunch of other apps (like the browser which is pretty heavy) after yours is open and it will probably trigger

[android-developers] Re: Translucent Activity not calling onStop() on exit

2009-12-03 Thread Craig Russell
Well, that worked but I don't entirely understand why. So that activity is being paused when I exit it, but it's still on the activity stack? On Dec 3, 9:22 am, Craig Russell csruss...@gmail.com wrote: I suppose by putting it into onPause(), it might work, but why does it behave differently?

[android-developers] Problem with Finding with Geo Coordinates

2009-12-03 Thread RS.Giridaran
Hi All, I am developing an application which uses the current location of the user to do some operations. i have used LocationManager and LocationListener to receive the latitude and longitude values in onLocationChanged() method. it is perfectly working when i am testing using emulator control

Re: [android-developers] Global notification for user input?

2009-12-03 Thread TreKing
If you have a lengthy background process, I assume you're using a Service, which already has a Context associated with it. If you're not using a Service, you probably should be, then when you're done post a notification to the user that their input is required to complete the action, and when they

[android-developers] Re: Soft keypad doesn't appear if EditText.setOnClickListener() is set?

2009-12-03 Thread Mark Wyszomierski
Ok instead I'm setting an OnKeyListener: // OnKeyListener if (event.getAction() == KeyEvent.ACTION_DOWN keyCode == KeyEvent.KEYCODE_DPAD_CENTER) { // user 'clicked' in the EditText. } This combined with the OnTouchListener seems to cover all my needs, Thanks On Dec 3, 10:10 am, Mark

[android-developers] How to install my app and keep an icon from showing up in the application tray

2009-12-03 Thread Mike
Hi, I've got an app that I would like to install without having an icon show up in the application tray. If I don't specify an icon in my manifest, Android still plops a default icon in the tray. How do I prevent this? Regards, - Mike -- You received this message because you are subscribed

[android-developers] Earn money from web up to $1985

2009-12-03 Thread Abrahim
We have trawled the internet to find you the best places to earn and save money online. Whatever your pleasure you should find something here to interest you! We use many of the sites listed here ourselves so are able to give you an honest appraisal of their usefulness and worth in our opinion.

[android-developers] Bangladesh classified site - all category here

2009-12-03 Thread Abrahim
Multiply traffic increase Sales, 100% Free. No Sign-Up or posting charge. Post Now! http://www.adplacebd.com -- 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

[android-developers] Free Classified site

2009-12-03 Thread Abrahim
Market place in the important think of merketing. So increase your sales, be a great business man.place an ad. please visti http://www.adplacebd.com - advance classified of bangladesh. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How can we do TextView Justification

2009-12-03 Thread Dexter#39;s Brain
Hmm...I got it now. I am not sure if you can do it. Sorry. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: how do you specify the name of the .apk file....

2009-12-03 Thread sdphil
I could do that - but that's a manual step. maybe this is an eclipse question. is there a post-build command or something I can do after the final artifact is produced to rename it? i'd prefer to build directly to that file of course, but at this point, I'll take what I can get... On Dec 2,

Re: [android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-12-03 Thread SoftwareForMe.com SoftwareForMe.com
Hi Matt, I'm not aware of any other source. This we learned on our own on Friday, November 6th (Droid release day :-) To put it simply, say I have a 64x64 .png resource and use: Bitmap b = BitmapFactory.decodeResource(...) I will get a 64x64, 32-bit in-memory bitmap. If I use the exact same

[android-developers] Re: Problem with Finding with Geo Coordinates

2009-12-03 Thread justinh
What does location.getAccuracy() return? I recall having an issue, although I think it might have just been with the Network location provider, where it just flat out would not return a location and IIRC getAccuracy returned -1. On Dec 3, 10:35 am, RS.Giridaran rsgirida...@gmail.com wrote: Hi

[android-developers] Load Android App on HTC Smartphone?

2009-12-03 Thread VBMichi
Hi, I've get a HTC Hero Touch G2 for testing my android apps. How can I load the developed apps of my PC to the HTC? I heard smth about root local? Maybe anyone has a detailed instruction or a website? Thanks! -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] How to install my app and keep an icon from showing up in the application tray

2009-12-03 Thread TreKing
Remove the LAUNCHER category from the activity's intent filter in the manifest. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking

Re: [android-developers] Load Android App on HTC Smartphone?

2009-12-03 Thread Mark Murphy
I've get a HTC Hero Touch G2 for testing my android apps. How can I load the developed apps of my PC to the HTC? If you are developing using Eclipse, you can have Eclipse run your app on the device the same way you have it run your app on the emulator:

Re: [android-developers] ListActivity mandatory for listView ?

2009-12-03 Thread Mark Murphy
I am starting with ListActivity. I saw apidemos and saw that it is based on ListActivity. My doubt is, in my first screen I need a few labels and texts under that a list. How to approach this ? I cant do a setContentlayut(R.id.main) if my activity extends ListActivity, no ? Yes, you can.

Re: [android-developers] How to call onDraw() in Timer?..

2009-12-03 Thread Mark Murphy
I'm using a class extends with view. I'm using timer in that class. I'm using onTouchEvent() also. I onTouchEvent() i'm using invalidate(). So it is calling onDraw(). When i use invalidate() in Timer. It is not calling onDraw(). Why? Timer uses a background thread. You cannot modify

[android-developers] Android Emulator - MediaPlayer

2009-12-03 Thread skcratch
Hi there! Can anyone tell me if the MediaPlayer actually works on the Android emulator. Thanks in advance, Best regards! -- 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: HTC Hero Stocks Widget Scrolling Ticker functionality

2009-12-03 Thread prashanth
i took ages for me to find a solution for this though it was hidden somewhere in internet.. anyways the solution is to add the tag requestFocus/ in your textview:) Eg: TextView android:id=@+id/left_text_box_0 android:layout_width=wrap_content

Re: [android-developers] Re: J2EE client on Android

2009-12-03 Thread Bruce Xia
What I was trying to do is really to have an app client who can talk to EJB on server side. This is simply done by adding @EJB annotator in JEE but in Anroid package the ejb package is not included. This can probably be done thru RMI but if Android has native support it would be great. IF you

[android-developers] modify Contacts.apk for use with Softbank

2009-12-03 Thread dzul1983
Hi, I currently living in Japan, and I own a HTC Magic. I'm currently subscribed to Softbank and have no intention of moving to Docomo or any other carriers. I'd like to modify the Contacts.apk to allow me to send MMS to my contact's email address instead of their phone number. The reason for

[android-developers] Re: Error to create an AVD - Ignoring add-on

2009-12-03 Thread Dj
Hi, I too am getting similar error, and not able to start my work. I am using Windows Vista. The command prompt output is coming as:- C:\Users\dj\Downloads\android-sdk_r3-windows\android-sdk-windows \toolsand roid list target Error: Ignoring add-on 'google_apis-5_r01': Unable to find base

Re: [android-developers] html5 and video tag working example

2009-12-03 Thread Abderrahim Baallal
video src='yourVideo.m4v' poster='yourImage.jpg'/video i hope that will help 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

[android-developers] Re: ListView not responding to Click or KeyPress

2009-12-03 Thread Brion Emde
You want to override the method onListItemClick(ListView l, View v, int position, long id) instead. On Dec 2, 2:37 pm, n179911 n179...@gmail.com wrote: Hi, I have a simple ListView in my layout.xml file.     ListView android:id=@+id/action_list             android:layout_width=fill_parent

[android-developers] tab icon size problem

2009-12-03 Thread Imran Surti
Hi, I am developing an application on Android 2.0 and I created 32px icons for tabs However when I run the app on the emulator, the icons come up as 22px only. Is it something to do with the emulator or am I doing something wrong? Anyone having this problem?...any solution... thanks -- You

[android-developers] Re: access voice data

2009-12-03 Thread Khalid
Hi, Just wondering (since there is no response) - is this a no brainer question (cus it might have been answered x number of times already) -Or it doesnt make any sense, I need to rephrase it -Or this is something no body cares about and android is not going to allow such functionality? Hope I

[android-developers] sending an intent from RuntimeInit crash handlers.

2009-12-03 Thread Ram
Hi, I want to send an intent from a crash handler [ crash(String tag, Throwable t) in RuntimeInit.java) ] to an activity (stand alone appllication) I tried to send it from above handler as follows.. Intent intent = new Intent (com.sonyericsson.android.bugreport.action.START_MYAPP);

[android-developers] Re: sending an intent from RuntimeInit crash handlers.

2009-12-03 Thread roy basavaraju
Hi, I want to send an intent from a crash handler [ crash(String tag,Throwable t) in RuntimeInit.java) ] to an activity (stand alone appllication) I tried to send it from above handler as follows.. Intent intent = new Intent (com.myprog.android.myapp.action.START_MYAPP);

[android-developers] Re: Extremely slow Android SDK download (5 kB/sec)

2009-12-03 Thread speedplane
I have the same problem... but whats worse is that the downloader stalls half way through and doesn't complete the download. Is there a way to do this manually or some way to fix the problem? On Nov 12, 8:28 pm, js6 jay.snide...@gmail.com wrote: I am getting 1 kB/sec.  I am able to download

[android-developers] [CDMA] Fatal error occurs during creating CDMAPhone in 2.0 release

2009-12-03 Thread Henry Jeong
Fatal error occurs during creating CDMAPhone but not during creating GSMPhone in 2.0 release Here is log. ( logcat -b radio ) : D/STK ( 1853): StkService: StkService: is running D/STK ( 1853): StkService: NEW sInstance I/PHONE ( 1853): Creating GSMPhone : D/PHONE ( 1853):

[android-developers] Issues with Notepad tutorial v1 getting the AndroidManifest.xml to work

2009-12-03 Thread GSM
Hi, Before I begin I should mention that I am new to the android platform. I've been following the notepad exercise 1 tutorial, unfortunately I can't seem to get it to work. In Eclipse once I create a new android project with existing resources and point it to notepadv1 folder, I get the

[android-developers] Re: Extremely slow Android SDK download (5 kB/sec)

2009-12-03 Thread speedplane
I'm getting about 30KB/sec on a 10mbps pipe. Whats worse... it seems to timeout half way through. Whats up with that? On Nov 12, 8:28 pm, js6 jay.snide...@gmail.com wrote: I am getting 1 kB/sec.  I am able to download pdf's, etc... with no problems through the browser.  Just starting out with

[android-developers] Re: How to notify CursorAdapter changes in my own ContentProvider

2009-12-03 Thread Brion Emde
As described in the ContentResolver chapter of the Development Guide: http://developer.android.com/guide/topics/providers/content-providers.html As a courtesy, you might also want to call ContentResolver.notifyChange() to notify listeners when there are modifications to the data. On Dec 2,

[android-developers] Testing an Asynchronous Activity

2009-12-03 Thread Brion Emde
Apologies if this is a widely asked question. I did take a look. I'm using a web service disguised as a ContentProvider and AsyncQueryHandler to isolate my activity from the delays of transport. My question is: during testing, how can I determine when my activity has retrieved the data from the

[android-developers] @Justin: Which infos do you need?!

2009-12-03 Thread ChristianF
Hi Justin, I am one of the affected Milestone owners and can provide you with whatever information necessary about my phone. It is carrier-free (!) and from amazon.de. I know this is unusual in the USA but quite common in europe. Therefore there is no carrier dedicated firmware with branding or

[android-developers] Re: Timer

2009-12-03 Thread Beth
Sorry, Can't do it! You need to track a timer when you set it. There's no way to poll the system. You can also notice that a set timer does not persist through a phone boot and would need to be reset in that case. On Dec 3, 4:22 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, How to

[android-developers] Re: How to install my app and keep an icon from showing up in the application tray

2009-12-03 Thread Mike
Thanks. That works. BUT... I should have clarified myself a little bit. Not only do I want to prevent the icon from getting placed in the app tray, but I still need the main activity to run and display a message to the user. I suppose I can write my own class that extends Application and

  1   2   3   >