[android-developers] Re: Need Help : getheight()/width() API returning wrong screensize on device.

2009-10-22 Thread Latha Shivanna
thanks a lot Lance and Richard. I was wrong when I said my API version is set. On changing uses-sdk android:minSdkVersion=3 / to uses-sdk android:minSdkVersion=4 / my issue was solved. thanks once again. cheers Latha On Thu, Oct 22, 2009 at 8:38 AM, Lance Nanek lna...@gmail.com wrote:

[android-developers] Re: How can I get the real value of a webview ?

2009-10-22 Thread zhen guo
not clear, webView.getContentWidth()? On Wed, Oct 21, 2009 at 9:15 AM, ph wang phwang...@gmail.com wrote: I can get the visual area value of a webview'size by using webview.getHeight() and webview.getWidth(). But how can I get the real value of a webview'size ? Am I said clear ?

[android-developers] how to know an media url is a video or audio

2009-10-22 Thread allstars
hi i am wondering how to know a given media url is of video or audio suppose i got a file in my sdcard called media.3gp how should i know it's a video or a audio do i only have to prepare() it and getVideoWidth() to determine ? isnt there a faster way? thanks

[android-developers] Re: detecting a call state from a service.

2009-10-22 Thread sdphil
okay, answering my own question (RTFM). call should be -- telMgr.listen( new MyPhoneStateListener(), PhoneStateListener.LISTEN_CALL_STATE ); On Oct 21, 10:54 pm, sdphil phil.pellouch...@gmail.com wrote: // i have a service (that extends Service). public class MyService extends Service {    

[android-developers] Re: Object Recognition

2009-10-22 Thread RichardC
Start from here: http://code.google.com/p/zxing/ ZXing (pronounced zebra crossing) is an open-source, multi-format 1D/2D barcode image processing library implemented in Java. Our focus is on using the built-in camera on mobile phones to photograph and decode barcodes on the device, without

[android-developers] Re: Object Recognition

2009-10-22 Thread blindfold
http://code.google.com/p/zxing/ On Oct 22, 7:48 am, Julius Spencer jul...@msa.co.nz wrote: Hi, I'd like to know more about Object Recognition. Has anyone got any   links about how to implement object recognition from the camera in an   Android application? For example say I wanted to make a

[android-developers] Re: Object Recognition

2009-10-22 Thread fulanito
What kind of app are you trying to develop? How heavy is it, computatioinally ? The mobile platform is quite limited for image recognition tasks. I would start of by reading http://www.maths.lth.se/vision/publdb/reports/pdf/olsson-akesson-master-09.pdf Fulanito

[android-developers] Select NetPreference faild

2009-10-22 Thread Neo
I have an application that only runs on mobile network only. The app does not work with WIFI. if the mobile and wifi all up, but i want my app used moblie if I then try the other setting (TYPE_MOBILE), I get a security exception (can't write secure settings). this feature can not be used int

[android-developers] What is a .db-journal file in device?

2009-10-22 Thread yukinoba
to dear all Android developers, Does anyone know what exactly a file is database name.db-journal under the /data/data/packages/databases ? I created a database by SQLiteOpenHelper, and wrote something into it for application storage. However I found that there is no data in the database name.db

[android-developers] Re: Is your Android app on Archos Market ?

2009-10-22 Thread arnouf
I'm not an Archos employee ! I think that this story is a little bit strange, because I don't think that Archos did something like that if they want have a good place on the android place... Now, I can't confirm if Archos or AndAppStore are right but I don't think why Archos should stole

[android-developers] how to setViewText in SimpleCursorTreeAdapter?

2009-10-22 Thread jerryfan2000
Hi, I want to do some Local based number formatting. However, I cannot find function similar to setViewText in SimpleCursorTreeAdapter. So I am wondering is there any alternative solution to do manual text view binding in SimpleCursorTreeAdapter? Thanks

[android-developers] [don't understand] Eclipse and debug perspective and disconnectedDalvikVM[localhost:8600]

2009-10-22 Thread olivier
Dear, When pressing a button on my application, Eclipse ask me to open the debug perspective and the application pauses (not stop, and no force to close message). I debug on a real device, and if, after eclipse ask to open the debug perspective, I disconnect my device from the computer, the

[android-developers] Re: Uninstall not working

2009-10-22 Thread SCMSoft
Is nobody else experiencing this problem? Today we got another email from a user for a fourth app that doesn't seem to uninstall. On Oct 20, 10:31 am, SCMSoft scms...@gmail.com wrote: Hi, Since a few days, we get an increasing number of reports of users that are unable touninstallmultiple of

[android-developers] Re: Managing background uploads

2009-10-22 Thread Matthias
Hey James, good to know, thanks! -Matthias On Oct 21, 9:30 pm, James Yum j...@google.com wrote: Hi Matthias, Thank you for the good question (shows you're thinking). Check the Application Fundamentals dev guidehttp://developer.android.com/guide/topics/fundamentals.html Near the bottom:

[android-developers] How can I contact to Google Calendar license?

2009-10-22 Thread 김영지
How can I contact to Google Calendar license? I wanna activate Android Calendar app(fullsource/packages/apps/Calendar) in device. however Android Calendar app don't activate in device and emu. I think it is license problem. But, I don't know that get a calendar license. Also I wanna know step,

[android-developers] BaseAdapter getView() gets called 3x per item

2009-10-22 Thread Stefan
I'm using my own extension of BaseAdapter to display a complex data model within a ListView. The code is located here: http://java.pastebin.com/f2e4c1e0b - it's very similar to the List14.java Android API demo sample (http:// developer.android.com/guide/samples/ApiDemos/src/com/example/android/

[android-developers] Fwd: Device Driver Development for Android

2009-10-22 Thread Rajesh N
-- Forwarded message -- From: Rajesh N rajesh.andr...@gmail.com Date: Thu, Oct 15, 2009 at 4:50 PM Subject: Device Driver Development for Android To: android-porting android-port...@googlegroups.com Hi, I would like to if there is any documentation on implementing device driver

[android-developers] Re: Object Recognition

2009-10-22 Thread julius
Thank you for the replies. The zxing is just what I'm looking for to start. I probably need to read more about barcodes! After this I would like to look into real-object recognition. This PDF looks perfect. Thank you for the link. I'm not sure about the computational intensity as I don't really

[android-developers] Re: Audio Playback while Recording... ------- attemp playback while recording, cheat it! ----- error

2009-10-22 Thread Vishal
Thanks Roman, But my scenario is quiet different from what is discussed in that blog. I am trying to capture audio from mic directly in pcm format using AudioRecord interface and also at the same time trying to play the pcm samples (from different source) to the speaker using the AudioTrack

[android-developers] Re: Audio Playback while Recording... ------- attemp playback while recording, cheat it! ----- error

2009-10-22 Thread Vishal
Thanks Roman, But my scenario is quiet different from what is discussed in that blog. I am trying to capture audio from mic directly in pcm format using AudioRecord interface and also at the same time trying to play the pcm samples (from different source) to the speaker using the AudioTrack

[android-developers] Re: Audio Playback while Recording... ------- attemp playback while recording, cheat it! ----- error

2009-10-22 Thread Vishal
Thanks Roman, But my scenario is quiet different from what is discussed in that blog. I am trying to capture audio from mic directly in pcm format using AudioRecord interface and also at the same time trying to play the pcm samples (from different source) to the speaker using the AudioTrack

[android-developers] Re: Question about built-in content providers

2009-10-22 Thread tauntz
So the specific case mentioned in my first post is not guaranteed to work since it's mixing stuff in a way that just happens to work on some devices? If so, then what's the correct way of adding extensions to persons? (haven't found any examples that are dealing with person extensions so it's

[android-developers] Streetview not working in 1.6?

2009-10-22 Thread Sierra Bravo
Dear all The streetview snippet below, which was working in prior version is crashing in Android SDK 1.6. The dev platform is Eclipse on Ubuntu. I've made minor changes to the URI based on the information at http://developer.android.com/guide/appendix/g-app-intents.html TIA s.b.

[android-developers] Re: Streetview not working in 1.6?

2009-10-22 Thread Sierra Bravo
I forgot to post that the apk compiled on 1.6 works fine on the HTC handset. However, since this is for a demo, I need to get it working on the emulator... s.b. On Oct 22, 3:39 pm, Sierra Bravo sb.in...@gmail.com wrote: The streetview snippet below, which was working in prior version is

[android-developers] Re: Trouble with Ringtone.getTitle() in 1.6

2009-10-22 Thread jarkman
We've built workarounds for this problem, and an apparently-related one with the PediaPlayer. They make me uneasy, and I suspect we are really walking around a deeper problem with the MediaPlayer on 1.6. But, in case anyone else suffers the same issue, these are the two workarounds we have put

[android-developers] retrive number of outgong call

2009-10-22 Thread Honest
Hello, Can some one tell me how can i retrieve the number of outgoing call ? I am able to get notification in BroadcastReceiver but not able to get the number on which it is making call. Can some one tell me how can i get the number ? I wrote the following code but it is throwing exception.

[android-developers] Disable network on emulator

2009-10-22 Thread Steven Rudenko
To disable network on emulator: 0. go to Home screen 1. press menu button 2. choose settings 3. Wireless controls 4. Mobile Networks 5. Access Point Names = You will see T-Mobile US APN. 6. click on T-Mobile US 7. press Menu button 8. Delete APN = Network indicator must disappear from top bar.

[android-developers] A table-type layout with the contents centered inside

2009-10-22 Thread Miguel Paraz
Hi, I would like a table-style layout where the cell sizes are automatically computed, without using AbsoluteLayout to position them. For example, the table has width 320 and height 240. For a 4x4 cell table, each cell is of width 80 and height 60. Inside each cell, I'd like the images centered

[android-developers] Cant find item for context menu.

2009-10-22 Thread Boozel
Can someone please help me find which item was long clicked in this method i need to determine which item was clicked so that if it is a favorite or not already i can change the Add to Favorites accordingly. public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo)

[android-developers] Re: Screen size

2009-10-22 Thread Sikus
So, I solved it. I have problem with manifest.xml. When I don't use android:targetSdkVersion=4 it resize for example QVGA from 240x320 to 320x427 and WVGA from 480x800 to 320x533. When I use android:targetSdkVersion=4 everithing works good and Display display = ((WindowManager) getSystemService

[android-developers] Re: Alpha Animation not retaining state

2009-10-22 Thread Mark Murphy
bizack wrote: I have a simple animation: ?xml version=1.0 encoding=utf-8? set xmlns:android=http://schemas.android.com/apk/res/android; translate android:interpolator=@android:anim/decelerate_interpolator android:fromXDelta=0 android:toXDelta=0

[android-developers] Re: A table-type layout with the contents centered inside

2009-10-22 Thread Mark Murphy
Miguel Paraz wrote: Hi, I would like a table-style layout where the cell sizes are automatically computed, without using AbsoluteLayout to position them. For example, the table has width 320 and height 240. For a 4x4 cell table, each cell is of width 80 and height 60. Inside each cell,

[android-developers] Re: Cant find item for context menu.

2009-10-22 Thread Mark Murphy
Boozel wrote: Can someone please help me find which item was long clicked in this method i need to determine which item was clicked so that if it is a favorite or not already i can change the Add to Favorites accordingly. public void onCreateContextMenu(ContextMenu menu, View v,

[android-developers] Re: A table-type layout with the contents centered inside

2009-10-22 Thread Miguel Paraz
On Oct 22, 8:05 pm, Mark Murphy mmur...@commonsware.com wrote: Miguel Paraz wrote: Hi, I would like a table-style layout where the cell sizes are automatically computed, without using AbsoluteLayout to position them. For example, the table has width 320 and height 240. For a 4x4 cell

[android-developers] Is there any way to display 8000 * 8000 jpeg file without OutOfMemoryException

2009-10-22 Thread James Wang
Hi, We are going to develop an app supporting 8000 * 8000 jpeg file (over hundreds of Megabytes). Is there any way to achieve it in ADP1? Best Regards. James --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Is there any way to display 8000 * 8000 jpeg file without OutOfMemoryException

2009-10-22 Thread Mark Murphy
James Wang wrote: Hi, We are going to develop an app supporting 8000 * 8000 jpeg file (over hundreds of Megabytes). Is there any way to achieve it in ADP1? Step #1: Don't do that. Step #2: Generate 10,000 tiles that are 80*80 instead (100 * 100 tiles). Step #3: Render tiles on-screen by

[android-developers] Re: Object Recognition

2009-10-22 Thread fulanito
I don´t know how to pass calculations to the Graphic chip, or if it´s possible at all. If you do find a way to do so, I would love to know how. What you can do, is use Android NDK, which lets you use native code (C/ C++/assembly) through the JNI interface. It´s not a perfect solution (it´s

[android-developers] manifest package

2009-10-22 Thread android
How do I indicate in the manifest multiple packages --~--~-~--~~~---~--~~ 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

[android-developers] Re: Using Webkit/Webview for Android UI instead of native UI

2009-10-22 Thread Carmen Delessio
See http://www.phonegap.com From ars technica PhoneGap lets developers wrap web applications inside a native application using WebKit, making development easier for those who aren't familiar with Objective-C and Cocoa. In fact, the framework even includes a tool for easily doing this type of

[android-developers] Re: java.lang.IllegalStateException: Content of adapter changed but ListView didn't

2009-10-22 Thread jsdf
Would using a CursorAdapter tied to a database be a solution to this? When the database changes, the cursor can auto-requery the database (per the constructor's argument). Will this prevent IlllegalStateExceptions? On Oct 21, 9:34 pm, jsdf jasons...@gmail.com wrote: pawpaw17, Any luck with

[android-developers] Re: Cant find item for context menu.

2009-10-22 Thread Boozel
Thanks a lot it worked great. i implemented it like this if any one needs it AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo; On Oct 22, 2:07 pm, Mark Murphy mmur...@commonsware.com wrote: Boozel wrote: Can someone please help me find which item was long clicked in this

[android-developers] Re: manifest package

2009-10-22 Thread Mark Murphy
android wrote: How do I indicate in the manifest multiple packages I do not believe this is possible. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! --~--~-~--~~~---~--~~

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

2009-10-22 Thread Sikus
I solved it. I have class public class Xxx extends WebView { Xxx() { this.setWebChromeClient(new WebChromeClient() { @Override public boolean onJsPrompt() { bscrollY/b = Xxx.this.getScrollY(); } } private class InsideWebViewClient extends WebViewClient { @Override

[android-developers] Re: WebView error inflate

2009-10-22 Thread Sikus
I solved it, I have problem with constructor which I use in xml layout. On 27 srp, 18:24, Sikus sikusra...@gmail.com wrote: Hi, I have problem with my webView. When I click on WebView it open external browser. When I press button back on G1 sometimes phone give me error and application force

[android-developers] how can i increase memory

2009-10-22 Thread myoc
hi, i get an error java.lang.OutOfMemoryError: bitmap size exceeds VM budget after increase some bitmap file size by 150% over. so, i try get memory size Log.d(freeMemory, Long.toString(Runtime.getRuntime ().freeMemory())); Log.d(---totalMemory-,

[android-developers] Re: Open Map App from URL

2009-10-22 Thread MaFt
Cheers lance. It doesn't seem to work on my site's links via tmobile g2 touch (hero) on 1.6. I wonder if it's because the link is maps.google.co.uk rather than .com I'll have a play later and also try the geo: method. I presume that 0,0 in your example is the coordinates to display? Am I

[android-developers] Javascript drop down becomes text input on Android

2009-10-22 Thread ebisudave
Android Developers, I have a drop down menu that uses JavaScript to add some different styling. It works as expected when viewed on a desktop browser. (At least on FireFox). However, when I view it on Android, it becomes a text input box when I click on it. If I use the... what do you call

[android-developers] Re: manifest package

2009-10-22 Thread Dario
but you can put more manifest Mark Murphy ha scritto: android wrote: How do I indicate in the manifest multiple packages I do not believe this is possible. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Memory leak or feature

2009-10-22 Thread Mika
Thanks for everybody for helping me with this. I checked the memory also with a memory profiler and I suspect that it is SearchManager that is keeping a reference to the Activity. And it seems that SearchManager is created for default for all the apps even though it is never directly invoked.

[android-developers] formatting text, before adding to textview

2009-10-22 Thread Jiri
Hello list, If I have a string resource, for instance: Hello world and I want to have world be colored differently when i put it to a TextView. How do I do this? Jiri --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Animation is slow?

2009-10-22 Thread Mark Wyszomierski
Hi, I'm trying to perform a simple animation, but it seems quite choppy. This is it: Animation anim = new TranslateAnimation(0,0,-50,0); anim.setDuration(500); anim.setInterpolator(new LinearInterpolator()); myLinearLayout.setAnimation(anim); the animation does what it's supposed to

[android-developers] Re: Should I Be Using AsyncTask?

2009-10-22 Thread Ken H
I think I solved it. While in the actual AsyncTask I can listen for button clicks and such just like normal. So I just set up buttons and listeners to set the direction and speed of the cursor reading method. On Oct 21, 5:00 pm, Ken H hunt1...@gmail.com wrote: I have an app that stores gps data

[android-developers] Re: Advice on Beta Release

2009-10-22 Thread Smelly Eddie
I think i will stick with Andrei's advice and release it into android market. I dont think we need to support dozens of separate locations to provide access to apps when there is already centralized source. I will however encourage/submit a ticket for the android market to allow apps to be

[android-developers] Re: formatting text, before adding to textview

2009-10-22 Thread skink
On Oct 22, 4:57 pm, Jiri jiriheitla...@googlemail.com wrote: Hello list, If I have a string resource, for instance: Hello world and I want to have world be colored differently when i put it to a TextView. How do I do this? Jiri Jiri, use setSpan method pskink

[android-developers] Re: Advice on Beta Release

2009-10-22 Thread Smelly Eddie
Vote for issue 4319 Market should allow Beta releases http://code.google.com/p/android/issues/detail?id=4319 Snippet; Add 1 field to submission process for the release level (beta / public) The market should, by default hide all apps marked Beta. Users may optionally choose to view said Beta

[android-developers] installing application on a netbook

2009-10-22 Thread sdphil
do you need to do anything special to get an application to run on a netbook? my application, which installs and runs just fine on a phone with 1.6 will not install on a netbook. when i go to install, it pops up a dialog that says -- Application not installed MyApp could not be installed on

[android-developers] Re: Open Map App from URL

2009-10-22 Thread MaFt
OK, we're sorted! it NEEDS to be maps.google.com, it does not work with .co.uk. Cheers for the heads up on that one :) MaFt On Oct 22, 2:36 pm, MaFt m...@maft.co.uk wrote: Cheers lance. It doesn't seem to work on my site's links via tmobile g2 touch (hero) on 1.6. I wonder if it's because

[android-developers] Re: Ad test problem in app with AdMob

2009-10-22 Thread erick nicolas
I solve it! The problem wan in AndroidManifest.xml in line Code : meta-data android:value=a14adf472974adb android:name=Test / Test is my AdMob campain name and here is the attribute name from publisher id. Here is the correct line meta-data android:value=a14adf472974adb

[android-developers] Re: Can Android Framework API support multiple cameras?

2009-10-22 Thread clemsongrad
Dianne, But if we had to support, would say option#1 is preferable? Would you recommend adding new methods to make it more cleaner ? Thanks On Oct 21, 4:55 pm, Dianne Hackborn hack...@android.com wrote: Not currently supported, sorry. On Wed, Oct 21, 2009 at 1:36 PM, clemsongrad

[android-developers] Re: Need some help with Search

2009-10-22 Thread Mariano Kamp
Anybody? If it is not possible to use the floating window for the results, then it would be at least good to know that. It wouldn't make much sense from my perspective, as the BACK button also brings up the dialog, but then I would implement my own implementation. On Sun, Oct 18, 2009 at 9:14

[android-developers] Re: Is your Android app on Archos Market ?

2009-10-22 Thread Streets Of Boston
There could be plenty of reason's 'why'. Costs less, faster to market, etc. I hope, too, that all this is just a mis-understanding. But AndAppStore states that it has some good proof that parts of their software have been 'used' by Archos for the Archos Market. On Oct 22, 4:52 am, arnouf

[android-developers] Re: ArrayAdapter also works with java.util.List (was Re: ListView with Streaming Content)

2009-10-22 Thread Streets Of Boston
You're right. Even better! :-) If you back just a simple java.util.List, then the ArrayAdapter will take care of most, if not all, of your requirements for a list-view. On Oct 21, 11:58 pm, Miguel Paraz mpa...@gmail.com wrote: Hi Marc and Streets of Boston, Thanks for the tips! As it turns

[android-developers] Re: Stopping Content Provider

2009-10-22 Thread Streets Of Boston
Doesn't that happen anyway? If memory is low, Android starts closing all kinds of process down. But it will do so on its own terms and time :-) On Oct 21, 8:26 pm, B++ bet...@gmail.com wrote: The Content Provider starts when the first applicable URI is resolved. This will make the

[android-developers] Re: How can I android 2.0 source code

2009-10-22 Thread Disconnect
Droid ships with 2.0 in 2 weeks (or, according to the ads, by the end of November). The current AOSP code is based on 1.6. So .. yeah, there is a 2.0, but no, you can't get it :( The word from OHA members is this sucks a lot, we can't get it either but its real and from googs is no idea if or

[android-developers] JSON parsers in WEBKIT

2009-10-22 Thread AJ (Anantha Javali)
Hi, The webkit present in Android SDK 1.6 has JSON parser. Thanks Anantha --~--~-~--~~~---~--~~ 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: formatting text, before adding to textview

2009-10-22 Thread Jiri
Thank you, so I would first have to set the string to the field and then retrieve it again using getText and then style it. That seems a bit of a way around. Well if thats how they made it, then thats how I will use it :) Or do I misunderstand it? Jiri skink wrote: On Oct 22, 4:57 pm,

[android-developers] Re: Application could not be installed on this phone?

2009-10-22 Thread Richard Schilling
I'm not getting much from DDMS. Perhaps the information I need is in dumpstate output? If there's some clue here I'm not seeing. What should I be looking for? The error on the screen is Nomad could not be installed on this phone. Here's the information about the package that is being

[android-developers] Re: Application could not be installed on this phone?

2009-10-22 Thread Richard Schilling
The problem appears to be the fact that the application on the phone already was signed with a different certificate than the one replacing it. There's nothing in the logs I'm seeing that indicate this. Another developer I work with had to guess that this was the problem. Richard On Oct 22,

[android-developers] Re: Animation is slow?

2009-10-22 Thread Mark Wyszomierski
The docs for the tweening animation package doesn't say whether the animations are done through software or hardware - are they just all software based? This may be why I'm seeing it run slowly? Thanks On Oct 22, 11:19 am, Mark Wyszomierski mar...@gmail.com wrote: Hi, I'm trying to perform a

[android-developers] Re: Animation is slow?

2009-10-22 Thread nEx.Software
I remember hearing at some point that the current Android UI doesn't take advantage of hardware acceleration. I would imagine that this would include the Animation framework. I could be terribly wrong... But I swear I had read this on this group somewhere. On Oct 22, 10:47 am, Mark Wyszomierski

[android-developers] Re: Stopping Content Provider

2009-10-22 Thread Dianne Hackborn
The content provider needs to be running the entire time its hosting process is running. There is no way around this. Otherwise, there are all kinds of deadlocks that can happen due to the fact that interaction with a content provider is synchronous. I don't really understand the second part of

[android-developers] Re: formatting text, before adding to textview

2009-10-22 Thread nEx.Software
You don't have to set the text first. There is nothing stopping you from creating a Spannable string and feeding that to setText(). I do the same thing using SpannableStringBuilder. On Oct 22, 10:27 am, Jiri jiriheitla...@googlemail.com wrote: Thank you, so I would first have to set the

[android-developers] Re: Can Android Framework API support multiple cameras?

2009-10-22 Thread Dianne Hackborn
Questions about extending the platform belong on android-porting. On Thu, Oct 22, 2009 at 9:27 AM, clemsongrad dpotl...@gmail.com wrote: Dianne, But if we had to support, would say option#1 is preferable? Would you recommend adding new methods to make it more cleaner ? Thanks On Oct

[android-developers] Re: Screen size

2009-10-22 Thread Dianne Hackborn
Be sure you read this so you understand what you are doing: http://developer.android.com/guide/practices/screens_support.html http://developer.android.com/guide/practices/screens_support.htmlAlso, go ahead and ignore my point that you shouldn't do things based on the raw physical dimensions of

[android-developers] Re: Android WVGA support

2009-10-22 Thread Dianne Hackborn
On Wed, Oct 21, 2009 at 10:38 PM, Nikolay Ananiev devuni...@gmail.comwrote: The only problem with this setup is with the ARCHOS 5 Tablet - it's the only Android 1.5 device that has a resolution different than 320x480 and it won't be able to load the images in the drawable-hdpi-v4 folder. So,

[android-developers] Bold a row in ListView programmatically

2009-10-22 Thread cartoontan
I have created a ListView with rows of text+icon. On certain conditions, I want to BOLD the text on a particular row. I first tried it out in the On-Click and it works. myListView.setOnItemClickListener(new OnItemClickListener(){ public void onItemClick(AdapterView? parent,

[android-developers] E-Mail Notification

2009-10-22 Thread stalee
Hi, when the phone is in deep sleep E-Mail notification is not coming, can anyone tell me what is the issue, 1. is that issue in socket? 2. what is the behaviour of android when the phone is in deep sleep? 3. Why the mail sync is not happenning when the phone is in deep sleep? Thanks Stalin S

[android-developers] unknown socket error Is anyone know this error??

2009-10-22 Thread GreenRiver
I got that error because of code line below: url = new URL(http://www.helloandroid.com;); InputStream mystream = null; try{ mystream = url.openStream(); }catch (SocketException e) { tv.setText(Error: +

[android-developers] [FYI] Multiple assets with package name Error

2009-10-22 Thread dalbom
When the error comes out, I couldn't find any helpful discussion about this error. But I fixed that problem by deleting any other .mk files in $APP/ project/jni. There was 4 .mk files - like __Android.mk.old - in my case. Hope this helps you.

[android-developers] Re: Android WVGA support

2009-10-22 Thread Dianne Hackborn
On Wed, Oct 21, 2009 at 4:09 PM, Artem p.ar...@gmail.com wrote: Somehow, we are trying this and it does not seem to be working. Namely, it seems Donut *does not* pick up new resolution images in compatibility mode. I am pretty positive it does. Proof: when you run any existing application

[android-developers] what is the procedure to download android image on hardware....help needed

2009-10-22 Thread Basavaraj R.N
Hi friends i am Basavaraj, I just want to know in detail 1)procedure to download android image on to the hardware 2) is the platform for beagle or omap platform available? 2) can we install/compile the android kernel, bsp on windows xp? 3) Do we need linux p/c with android kernel installed to

[android-developers] Re: Issue with MMS

2009-10-22 Thread age ice
the MMSC you given is http://mms1, is it correct? 2009/9/22 Jarod_ jarod...@gmail.com Hey, I'm not able to receive MMS anymore. I've check my APN lot of times and it doesn't seem to be the issue. I looked at the log file (logcat - b radio), but I'm not really able to understand the

[android-developers] Re: Problem to show unicode strings in TextView

2009-10-22 Thread ludovic.perrier
Have you try this? (description is text to display) TextViewtv = (TextView) findViewById(R.id.description); tv.setText(Html.fromHtml(description).toString()); On 20 oct, 16:49, qmwestview qmwestv...@googlemail.com wrote: My server side is using Struts (2.1.7). Strangely, the jsp, using struts

[android-developers] Re: Google wave invitations...?

2009-10-22 Thread o
anymore wave noms left On 15/10/2009, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations -- ...O --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Obtain current elevation.

2009-10-22 Thread pertsson
Is there any way to obtain the current elevation using the current coordinates in combination with google maps or something similar? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: 1.6 VPN Certificate Store

2009-10-22 Thread o
am very interesred in this particular solution please forward input. goodday. On 21/10/2009, Dida dieter.roth.bay...@googlemail.com wrote: Is there anybody using VPN/IPSEC? -- ...O --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] How to detect USB connection state

2009-10-22 Thread akochnev
How can I detect (on the phone) when it is connected w/ a desktop machine with USB ? I need to sync up some data w/ a desktop, whenever the phone is connected to it. I looked through the APIs and looked through the forum, I didn't find anything on how to do it . Is there a sensor or some kind of

[android-developers] adb causing 100% cpu usage

2009-10-22 Thread tarzan
Hi, whenever any (non-android) java project in my eclipse ide is built, a Loading Android Sdk Content Job is started although no android project is open. Furthermore adb is started in the background, causing 100% CPU usage. When killing adb DDMS prints: [2009-10-22 13:51:29 - DeviceMonitor]Adb

[android-developers] on resuming an activity along with retaining the data

2009-10-22 Thread Vinu Vijayan
Hi everyone. I'm having an requirement like this. Say there are 3 activities A,B C. From A i'm calling B using startactivity() and from B i'm calling C using startactivity(). In A there is an edittext field in which i have inserted some chars before going to B. Suppose i'm now in C and i

[android-developers] How can I use RecognizerIntent with LANGUAGE_MODEL_FREE_FORM from a home widget

2009-10-22 Thread Flaviu
Hi, What i want to do is use the RecognizerIntent with RecognizerIntent .LANGUAGE_MODEL_FREE_FORM from a home widget. Problem is that I don't know how to start the RecognizerIntent so that it returns the recognized text back to the widget. In an activity it works by calling

[android-developers] Re: RecognizerIntent available languages ?

2009-10-22 Thread Flaviu
From what I've seen English (Locale.ENGLISH) is the only language available. Please correct me if I'm wrong Best regards Flaviu On Oct 1, 3:13 pm, Lee lee.wil...@googlemail.com wrote: Does anyone have an inkling how I could find out the available languages for speech recognition  (relating to

[android-developers] Re: System.setProperty() cannot change system property in Android

2009-10-22 Thread Mikhail G
Dianne, Does this mean I can't use SystemProperties.set(prop, val); to change system property from java application. I'm trying to use the new property I created. What's the catch here? Thanks, Mikhail. On Sep 23, 1:59 pm, Dianne Hackborn hack...@android.com wrote: That is not a public

[android-developers] Re: Need help with a keylistener

2009-10-22 Thread Bolletje
I want to save the keycode of the first key pressed after the button is clicked. On 22 okt, 05:19, Lance Nanek lna...@gmail.com wrote: There are some focus related methods on the View class: requestFocus, setFocusable, setFocusableInTouchMode. In this case arg0 is the button that was clicked,

[android-developers] ExpandableListActivity issue

2009-10-22 Thread Stefan
Hello all, I am new to android and java programming. I am trying to display a list with People and their contact numbers as following: Name TYPE Number I am using ExpandableListActivity to accomplish that. Everything is working good when i am using the integer value if People.TYPE..but if i

[android-developers] call forwarding

2009-10-22 Thread jera g.
how do I forward incoming calls to another number? --~--~-~--~~~---~--~~ 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

[android-developers] NullPointerException after stopping/resuming activity repeatedly

2009-10-22 Thread Greg Slagel
I've been working on a little game for some time now. The initial Activity instantiates a Surfaceview (MonsterView) with one thread. I recently added a couple new activities to display high scores and stuff. I haven't been able to duplicate my error on the emulator, but on my phone I can get

[android-developers] Problem in Video View

2009-10-22 Thread sandeep gera
I have an activity (screen) that displays a video on it. I am using a video view control for the same. I have kept the width and height of the same as 160px and 120px respectively. But at runtime when the video actually runs the width of the video view shrinks to 147px. What can be the possible

[android-developers] Re: Alpha Animation not retaining state

2009-10-22 Thread bizack
Yeah, I tried that but fillAfter and fillEnabled don't seem to do anything (in this case). Regardless, your suggestion about setting the state when the animation ends works well. Thanks for the help. On Oct 22, 5:03 am, Mark Murphy mmur...@commonsware.com wrote: bizack wrote: I have a simple

[android-developers] Re: manifest package

2009-10-22 Thread android
I have too many interfaces in the same package as I can divide On Oct 22, 4:32 pm, Dario darioamor...@gmail.com wrote: but you can put more manifest Mark Murphy ha scritto: android wrote: How do I indicate in the manifest multiple packages I do not believe this is possible.

[android-developers] -http-proxy for emulator on Android 1.6?

2009-10-22 Thread Marc Reichelt
Hi there! I am developing applications for Android in a company where the Internet is accessable via a proxy server only. I found out that the emulator of the 1.5 R3 SDK works well with the option -http-proxy, but the emulator of the 1.6 R1 SDK does not. Can anyone confirm this behaviour? Is

  1   2   >