[android-developers] Re: GPS accuracy problems

2009-02-12 Thread Anna PS
Thanks (again) Ludwig. I've installed the satellite app and will try it out. I realise that GPS accuracy is not always great in built-up areas. However, that doesn't explain why often the Maps application seems to have good GPS accuracy, but the LocationListener in this application doesn't - at

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-12 Thread yukinoba
Hi all, More information found: The database could be written by the execSQL method, however, it could not be read from the query method. A Write-Only database? that's weird... I open my database with SQLiteDatabaseHelper and SQLiteDatabase as below: mDbHelper = new

[android-developers] Re: Parsing Special Characters with SAX Parser

2009-02-12 Thread Maxence Warzecha
Same problem. Any idea? On 10 jan, 18:19, Mark Murphy mmur...@commonsware.com wrote: mobilek...@googlemail.com wrote: Hi, I'm having hard time parsing special characters such as '' with the default handler provided in org.xml.sax.helpers. Basically, the parser reads up to where it

[android-developers] Re: View the data directory on the G1

2009-02-12 Thread Bill Zimmerly
Another way to view the data directory is to install the Astro file manager from Android Market. --~--~-~--~~~---~--~~ 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] PackageManager. get size of an installed package?

2009-02-12 Thread Grigory F.
Hi folks, i work on custom Application Manager and try to get the disk usage of installed package. So PackageManager.getpackageSizeInfo was removed from SDK on 0.9-1.0 update android.content.pm.PackageStats(String pkgName) (cacheSize, codeSize, dataSize) returns always 0 Size of phys. file

[android-developers] Re: Configuring the Dev Phone

2009-02-12 Thread Bill Zimmerly
Here is a forum page that can help if you have Wifi access... http://forum.xda-developers.com/showthread.php?t=452316 I hope this helps! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: How to navigate from HOME back to a paued Task?

2009-02-12 Thread bubble.vnhan
Hi all! Order to obtain such above Actribute of Activity, in file Manifest we should add android:finishOnTaskLaunch =true into Tagactivity. After that you can bring Task which after press HOME button, to foreground. Notes: I use Emulator SDK_1.1v.1; V.Nhan!! On 1月21日, 午後11:16, kolby

[android-developers] Re: Java Compatibility problems with getFields method in Android java.lang.Class

2009-02-12 Thread sancane
fadden escribió: On Feb 11, 4:54 am, sancane sanc...@gmail.com wrote: I oberved that: public Field[] getFields() Returns an array containing Field objects describing all fields which are defined. That's array is sorted as attributes are declared in the main Class in sun jdk. For

[android-developers] Able to install file without adding MIME type in webserver - Very strange!!

2009-02-12 Thread mnj
Hi, I kept my .apk file in my apache webserver at Document root path. This is the only file at Document Root . I had removed index.html file at this location. If I keep the index.html file then other files where not displayed if I open the URL i.e http://ip_address using a web browser Now from

[android-developers] about hardware 3d

2009-02-12 Thread birdy
Hi all: I know OpenGL support some API for 3d rendering.It's sw way. Does anybody know android did or did not support hw driver for 3d rendering ? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Test apk on G1

2009-02-12 Thread Pooja
Hi: Need to test apk file on actual G1 device urgently. Could any anyone with the device please help me on this? Thanks, Pooja --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Q. Stack trace gives Hex values not function names when core library crashes

2009-02-12 Thread click...@gmail.com
Hi, Here my application com.android.hello calls a core library libvt.so through JNI call. There is a segmentation fault in libvt.so. When executed I get the following log / // 01-01 00:01:48.440:

[android-developers] Re: Test apk on G1

2009-02-12 Thread mnj
Refer this link -- http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware Make sure you install the USB driver. You can install the apk using command line using adb tool adb insatll app name or using Eclipse Regards, Manoj On Feb 12, 2:42 pm, Pooja

[android-developers] Working of locationListener() in real time on device?

2009-02-12 Thread sheik
Hi, i need to know about the LocationListener() working in the real time... Does it expect the user(device) to move in order to update the current location details or it automatically updates when ever the gps is enabled? Another query is regarding the getLastKnownLocation(). When is

[android-developers] Re: Test apk on G1

2009-02-12 Thread george_c
SlideME does such tests for developers. Use the contact form and make a kind request. Regards George On Thu, Feb 12, 2009 at 11:42 AM, Pooja apooj...@gmail.com wrote: Hi: Need to test apk file on actual G1 device urgently. Could any anyone with the device please help me on this?

[android-developers] Re: Test apk on G1

2009-02-12 Thread Pooja
Thanks for the suggestion George. On Feb 12, 3:06 pm, george_c chrisg...@gmail.com wrote: SlideME does such tests for developers. Use the contact form and make a kind request. Regards George On Thu, Feb 12, 2009 at 11:42 AM, Pooja apooj...@gmail.com wrote: Hi: Need to test apk file

[android-developers] Re: Equal View heights in LinearLayout

2009-02-12 Thread Chronos
Yes, thank you - works wonderful ;) Just some more words for clarification: - Set layout_height of the Views which should determine the LinearLayout height to wrap_content (the tallest will determine it) - Set layout_height of the Views to be adjusted to fill_parent On Feb 11, 5:26 pm,

[android-developers] TERRIBLE BUG #2 - the GC from HELL

2009-02-12 Thread Stoyan Damov
Here's this TERRIBLE BUG, which I suspected and ranted about in my Re: Over-the-air upgrade WTF post. On a side note, not only calls are buggy, but it appears (but I can't prove it yet because of the device chooser bug mentioned above) that someone has tampered with the way GC works and it

[android-developers] Sending SMS using Messaging app - with filled in To: field

2009-02-12 Thread Miguel Paraz
Hi, With this code: http://jtribe.blogspot.com/2008/12/sending-sms-using-android-intents.html I tried setting an Uri of sms:number, and changing the action to ACTION_SENDTO. But, it's not filled up. I guess it's not supported? This is on both the dev phone (original firmware) and the emulator

[android-developers] Re: Sending SMS using Messaging app - with filled in To: field

2009-02-12 Thread whitemice
Thanks to the wonders of open source * ACTION_VIEW Specification taken from Android source code com.android.mms.ui.ComposeMessageActivity.initActivityState() * See line numbers between 2999 to 3004 in v1.0 *

[android-developers] GridView is not coming in center of parent

2009-02-12 Thread jj
I am using following to display gridview of images : ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/widget28 android:layout_width=wrap_content android:layout_height=wrap_content GridView android:id=@+id/widget29

[android-developers] HTML/CSS Specification for T1 - android

2009-02-12 Thread Kumaravel Kandasami
Hello, I am building Web Pages specific for HTC-G1 phones (T-Mobile), is there any specifications or recommendations around screen size, html and other details. The code would be specific to this platform. Any suggestions appreciated. Thanks, Kumar_/|\_ www.saisk.com ku...@saisk.com making

[android-developers] Re: multiclass UIs in application and class constructors

2009-02-12 Thread Mark Murphy
automerc wrote: Is it possible to have the android load up another UI from a different class through a Onclicklistener? What I mean is that if I have two UI classes (c1 using m1.xml and c2 using m2.xml). Is there a way to load the c2 UI though the onlicklistener set on a button? When I

[android-developers] Re: display the device screen on the PC

2009-02-12 Thread Mark Murphy
Dan Raaka wrote: I has seen someone write an java app to show the device screen on the PC - realtime thru repeated frame grabs. That would be me! It used the same method as used by the eclipse DDMS perspective to capture the screen shot of the connected device or emulator. Can anyone

[android-developers] Problem accessing Google Weather API

2009-02-12 Thread Rockingteam
Hi, I have an application that uses Google Weather API. The application was working fine till yesterday night and today morning all of sudden am getting an exception that says : http://403 Unauthorized access java.io.FileNotFoundException: http://www.google.com/ig/api?weather=Tokyo,Japan Is

[android-developers] Problem accessing Google Weather API

2009-02-12 Thread Rockingteam
Hi, I have an application that uses Google Weather API. The application was working fine till yesterday night and today morning all of sudden am getting an exception that says : http://403 Unauthorized access java.io.FileNotFoundException: http://www.google.com/ig/api?weather=Tokyo,Japan Is

[android-developers] Re: Where is a system-image for DP1?

2009-02-12 Thread Jean-Baptiste Queru
No, this is not an official release of 1.1 for ADP1. JBQ On Wed, Feb 11, 2009 at 7:10 PM, cpedia cpe...@gmail.com wrote: Is this really the official release of ADP 1.1? http://andblogs.net/2009/02/new-adp1-update-official-with-google-voice-and-more/comment-page-1/ On Feb 10, 8:55 pm,

[android-developers] Is the some method to add Google account login information

2009-02-12 Thread gan
Hi: In emulator, I can select Dev Tools\Google Login Service\Require Google to Enter my Google account login information. But on some emulator Dev Tools often crash which make me can't input these Google account login information. where does this information saved to? Is there some method to

[android-developers] Re: about hardware 3d

2009-02-12 Thread David Turner
graphics hardware-acceleration of OpenGL depends on the target device. For example, when in the emulator, only software rendering is used. But on the G1 and DevPhone devices, the GPU is used to accelerate most OpenGL commands. On Thu, Feb 12, 2009 at 10:30 AM, birdy birdy.f...@gmail.com wrote:

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-12 Thread Disconnect
What we thought was ADP1.1 (since, you know, it said Android Developer Phone and version 1.1 all over it :) ..) was in fact the stock system image from the holiday bonus phones that google gave to employees late last year. This is the rc33-equiv update for them, adding latitude, voice search etc

[android-developers] Re: package isn’t signed corr ectly error on customer install - Market problem??

2009-02-12 Thread Jeff
The app was verified. I downloaded it myself and works fine. On Feb 11, 4:03 pm, Al alcapw...@googlemail.com wrote: Hi, have you tried verifying the signed apk? Maybe the file got corrupted while uploading or something? On Feb 11, 5:25 pm,Jeffjlb...@gmail.com wrote: A customer wrote me

[android-developers] Re: Problem reading file

2009-02-12 Thread David
I found the problem. An InputStreamReader will not read() to a String.toCharArray(). You have to use a char[]. Here is my new function for reference: public String loadFile(String filename) { try { FileInputStream fis =

[android-developers] Re: TERRIBLE BUG #2 - the GC from HELL

2009-02-12 Thread Mads Kristiansen
I saw that last part, where the device is sending a message too a couple of days ago. I am not in the US and not using T-Mobile. As far as I can tell, the SMS seems to be the myfaves application trying to communicate with the T-Mobile servers via some proprietary protocol. I suppose the device has

[android-developers] Re: How to prevent my application being closed on clicking the back button on emulator

2009-02-12 Thread Sundog
I am still just learning Android myself, but from what I can see of your problem, a quick study of how the Notepad demo app does it should provide some help. On Feb 11, 9:58 pm, Naina K kna...@gmail.com wrote: Hi, Thanks for replying. Yes, i have to use two separate activities to display

[android-developers] Exception bitmap size exceeds VM budget

2009-02-12 Thread Graeme
Hi I am trying to iterate through all the photo images (produced by ADP1 camera), held on external SD storage in an ADP1. I want to extract the binary data for each image file, determine image size in bytes and send the image data (possibly after compression) over a network conection. My code

[android-developers] Re: Over-the-air upgrade WTF

2009-02-12 Thread clark
I am finding it very hard to believe and empathise or believe you. First, you mention that T-Mobile could care less, but failed to mention the fact that you are not a T-Mobile customer. In another post you mention that you are not only a user, but a developer, however, in a later post you

[android-developers] Re: System log buffer size

2009-02-12 Thread AGA
Thanks a lot. Your answer is very helpful On Feb 11, 10:25 pm, fadden fad...@android.com wrote: On Feb 11, 5:15 am,AGAalex.agranov...@gmail.com wrote:  I have the following problem: I'd like to see the system log of two days ago and I cannot. I see only 3 last hours. How can I configure

[android-developers] Re: Over-the-air upgrade WTF

2009-02-12 Thread Stoyan Damov
I'd gladly do it (for me) but the thing is that most users will install the 1.1 update, and when Google finally releases paid apps most if not all (minus some devs) will have 1.1, so I'll have to target SDK 1.1 instead and try to live with that :( Thanks for the factory reset hint though :)

[android-developers] Re: Over-the-air upgrade WTF

2009-02-12 Thread Stoyan Damov
On Thu, Feb 12, 2009 at 5:21 PM, clark clarkd...@gmail.com wrote: I am finding it very hard to believe and empathise or believe you. Fair enough. Never asked for any of these. First, you mention that T-Mobile could care less, but failed to mention the fact that you are not a T-Mobile

[android-developers] Re: Problem with SDK 1.1 - can not see javadoc

2009-02-12 Thread g1bb
Are we the only ones experiencing this? I haven't found any other posts related. On Feb 11, 8:48 pm, g1bb corymgibb...@gmail.com wrote: Same here! On Feb 10, 7:45 am, NJ neerhajnjo...@gmail.com wrote: yeah, I am having the same problem, still haven't found a solution. On Feb 10, 1:26 

[android-developers] Re: Problem with SDK 1.1 - can not see javadoc

2009-02-12 Thread Stoyan Damov
I can see the documentation but FYI I haven't uninstalled 1.0, just installed 1.1 as well. Cheers, Stoyan On Thu, Feb 12, 2009 at 5:57 PM, g1bb corymgibb...@gmail.com wrote: Are we the only ones experiencing this? I haven't found any other posts related. On Feb 11, 8:48 pm, g1bb

[android-developers] Re: Problem reading file

2009-02-12 Thread Michael MacDonald
Actually, it can read fine to toCharArray, since that just returns a char array. However, since you were basing it off an empty string, the array length was 0, and so it wasn't reading any bytes :) David wrote: I found the problem. An InputStreamReader will not read() to a

[android-developers] Re: TERRIBLE BUG #2 - the GC from HELL

2009-02-12 Thread Romain Guy
Hi, First of all, please calm down, getting angry and cursing won't help. Then, you are not reading the logs correctly. While the GC should certainly not be active all the time, the logs show that the GC is active in *different processes.* All the GCs you see do not come from the same process

[android-developers] Re: Over-the-air upgrade WTF

2009-02-12 Thread Marco Nelissen
On Wed, Feb 11, 2009 at 3:22 PM, Stoyan Damov stoyan.da...@gmail.com wrote: (snip) So I think I'm entitled to rant - if Google would make my day miserable, why would I keep it to myself? I'm not only a developer, I'm a user as well and I hate the experience w/ the new update. But hey, I'm not

[android-developers] Re: Java Compatibility problems with getFields method in Android java.lang.Class

2009-02-12 Thread Dan Bornstein
On Thu, Feb 12, 2009 at 12:55 AM, sancane sanc...@gmail.com wrote: I only want to know if there is some way to get the declaration order of the fields in the main class. There is no such functionality in Dalvik. And to reiterate, though maybe it happens to work on your desktop VM, it is

[android-developers] Re: Exception bitmap size exceeds VM budget

2009-02-12 Thread Marco Nelissen
On Thu, Feb 12, 2009 at 7:11 AM, Graeme graeme.br...@btinternet.com wrote: Hi I am trying to iterate through all the photo images (produced by ADP1 camera), held on external SD storage in an ADP1. I want to extract the binary data for each image file, determine image size in bytes and send

[android-developers] Re: Java Compatibility problems with getFields method in Android java.lang.Class

2009-02-12 Thread David Turner
And maybe javac itself changed the order of declarations when building the .class file. implementation-specific really means you can't rely on it. On Thu, Feb 12, 2009 at 6:07 PM, Dan Bornstein danf...@android.com wrote: On Thu, Feb 12, 2009 at 12:55 AM, sancane sanc...@gmail.com wrote: I

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-12 Thread blindfold
Fine! As a comparatively easy to design-and-implement yet very powerful solution to boost the computational performance of Android, you might consider adding a basic vector function API. Think java.lang.System.arraycopy() and java.util.Arrays.fill(), but then much enriched to cover most

[android-developers] Re: Over-the-air upgrade WTF

2009-02-12 Thread Al
On Feb 12, 3:41 pm, Stoyan Damov stoyan.da...@gmail.com wrote: 02-12 17:40:43.920: DEBUG/dalvikvm(119): GC freed 110 objects / 5112 bytes in 73ms ^^^ these are while the phone is completely idle. Cheers, Stoyan What is process 119? Do an adb shell ps, it could be a third party

[android-developers] Re: Where is a system-image for DP1?

2009-02-12 Thread cpedia
Hi Jean, Thanks for the clarifying, I will continue wait for the 1.1 for ADP1. Ping. On Feb 12, 9:59 pm, Jean-Baptiste Queru j...@android.com wrote: No, this is not an official release of 1.1 for ADP1. JBQ On Wed, Feb 11, 2009 at 7:10 PM, cpedia cpe...@gmail.com wrote: Is this really

[android-developers] Re: TERRIBLE BUG #2 - the GC from HELL

2009-02-12 Thread Stoyan Damov
On Thu, Feb 12, 2009 at 6:54 PM, Romain Guy romain...@google.com wrote: Hi, First of all, please calm down, getting angry and cursing won't help. Calm. Won't curse anybody, can't deny me to be angry :) Then, you are not reading the logs correctly. While the GC should certainly not be

[android-developers] Re: TERRIBLE BUG #2 - the GC from HELL

2009-02-12 Thread Meryl Silverburgh
Yeah. Thank you. On Thu, Feb 12, 2009 at 9:53 AM, Sundog sunns...@gmail.com wrote: Romain, Just a quick thank you to you and others, especially Dianne, who field such things. Most of us are very grateful for your hard work and patience. On Feb 12, 9:54 am, Romain Guy

[android-developers] Local content on android web browser

2009-02-12 Thread androido...@gmail.com
All, Is there a way to bring up local content (file://pathxxx.html) on web browsers. I found that we cant from an earlier post due to security reasons. See in this link: http://www.mail-archive.com/android-developers@googlegroups.com/msg05067.html I need to do this get some browser

[android-developers] displaying local html pages containing hyperlinked in android emulator

2009-02-12 Thread vicky
is it possible to open local html pages containing hyperlinked to nevigate through different web pages. The prefix file:///android_asset/ will cause WebView to load content from the current application's assets folder but it does not allow to open next page through hyperlink..

[android-developers] a great app to make

2009-02-12 Thread dat boy swole
Would some one make an app that lock your pictures. It would be greatly appreciated. Have it where u can lock all your pics or certain ones. Thanks in advanced --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Chandra Mouli
I tried a similar aidl thing a week ago. I hope you r binding to the service like bindService(*new*Intent(IRemoteService. *class*.getName()),Conn, Context.*BIND_AUTO_CREATE*); Going by the error it looks like you missed the intent filter tag for your service... i.e. intent-filteraction

[android-developers] GLSurfaceView + ViewAnimator = Blank Screen

2009-02-12 Thread Sam
I am having a bizarre problem where if the View that contains my GLSurfaceView is not the first to be shown by my ScreenController, then the GL commands never actually get drawn. If the GLSurfaceView is drawn first, then everything renders perfectly. Does anyone have any ideas why this is

[android-developers] Re: Test apk on G1

2009-02-12 Thread JustAnotherDe
I could help with a Dev1 if you want. I don't have a G1. On Feb 12, 2:42 pm, Pooja apooj...@gmail.com wrote: Hi: Need to test apk file on actual G1 device urgently. Could any anyone with the device please help me on this? Thanks, Pooja

[android-developers] directory of self-written programms

2009-02-12 Thread mechatronicsStudent
hello, I´ve just written my first hello world and it´s running fine on the g1. I guess it´s a stupid question but I can´t find an answer in the net: I´ve written a programm helloWorld.apk and installed it with adb install on the phone. Were can I find this programm now in the file system? And

[android-developers] Looking for Android developers - receive £10 for taking part in a short online discussion

2009-02-12 Thread opiniumtest...@googlemail.com
Hi there, If you are an Android Developer and live in the United Kingdom. My company (Opinium Research) is looking for 28 developers to take part in an online focus group study. The online discussions will last for 30minutes and would take place soon (you will be notified when of course) and you

[android-developers] Android Developers opportunity

2009-02-12 Thread Thomas Kam
How to develop Android on a netbook with intel ATOM --~--~-~--~~~---~--~~ 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] Google are ascii cowboys!

2009-02-12 Thread recursv
Any one have any idea why the activity creator sets the default encoding of generated ant files to ASCII ? Surely they can't seriously believe that in this day and age of forward thinking developers that this would ever be considered the desired default ?

[android-developers] Re: Configuring the Dev Phone

2009-02-12 Thread JustAnotherDe
Oops... did a reply to author instead of a reply :) The gist of what I wrote was: I'm using a dev1 and managed with no problems to connect. Airtel has an APN of airtelgprs.com - I'm in India on Airtel. Make sure you have GPRS/EDGE enabled by your provider as well. Regards, Sunil Other providers

[android-developers] RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
Hi everyone, I'm an experienced C++/Java dev who has been truly enjoying that past two days of getting neck deep into the Android SDK. I can foresee a lot of sleepless nights ahead :). Now, being arrogant due to experience (lol) I basically wrote a hello world Activity, got it to work and

[android-developers] RTSP Video Issues on 1.1 firmware

2009-02-12 Thread jz0o0z
My application plays RTSP video by launching the browser. The code looks like this, where url is a string for an RTSP video : Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); startActivity(i); This was working fine in 1.0, but when I upgraded to 1.1 I started

[android-developers] IP support?

2009-02-12 Thread jski
How does Android provide support for traditional TCP or UDP sockets? Is there a wireless IP protocol using just the cell phone? If so, how does this work? Or, do I need an 802.11 chipset in the handset (assuming this isn't standard)? ---John

[android-developers] question about CacheManager.CacheResult

2009-02-12 Thread yanguoc...@gmail.com
I want to intercept the request from webview and use the cache html page instead sending a real web request. I alos find a CacheManager.CacheResult and UrlInterceptHandler. The class implements UrlInterceptHandler did work, it can intecept the request. However, I fonud no way to generate a

[android-developers] How to custom my own home screen?

2009-02-12 Thread water
Android phone has a default home screen,a clock in the middle,and four icons in the bottom, i want to change this layout, May i develop a application,after i installed it,it replace the default home screen? Thanks~! --~--~-~--~~~---~--~~ You received this message

[android-developers] 2d background image on a 3d OpenGL game

2009-02-12 Thread quakeboy
Well.. I need to draw a background of 320 x 480 (fullscreen) for a OpenGL game. What I did was to stretch the texture to 512 x 512 and mapped it to 320,480 quad and then drew the rest of the game elements. I tried changing the texture image to 256x256 and no noticeable improvement in speed.

[android-developers] Handle message and thread

2009-02-12 Thread bourne....@gmail.com
Hi Everybody, i have a basic question to raise, i.e. when we use a Handler in an activity thread, does the Handler handles messages in the same thread of its activity thread. I have found that Handler itself takes the Looper object by Looper.myLooper , and this Looper is started by the andoid OS

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
When I built my client/service code I had two projects, one for the client (the Activity) and a different project for my Service. Now, I spent about 3 hours struggling until I realized that for some reason (probably because I was using an out of process service) I needed to not only declare my

[android-developers] WebView Plugins:

2009-02-12 Thread Kumaravel Kandasami
What is the WebView Plugin located ? Following does not list any plugins (other than text:Plugins ) for the WebKit component. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); WebView browser = new WebView(this);

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Dianne Hackborn
That really should not fix things. :} I suspect that whatever is happening now is really not what you want. If the -real- service you are wanting to bind to does not have an intent-filter, you need to make sure you use android:exported=true on it so other .apks can find it. Also you can do adb

[android-developers] Re: TERRIBLE BUG #2 - the GC from HELL

2009-02-12 Thread Sundog
Hang on, I am grateful too. You sounded like I'm grateful as opposed to people like Stoyan which can't be farther from the truth. To me, gratitude includes taking the appropriate tone when asking for help from someone who is not directly responsible for a situation, and not directly obligated

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Dianne Hackborn
Incoming calls on an IBinder interface are dispatched from a thread pool maintained by the system in each process, so you basically can't make any assumption about thread those methods will run on. (This is basically the free threaded model in COM if you are familiar with that.) To put work on

[android-developers] ImageView onclick, which area was clicked?

2009-02-12 Thread oguen
Hi, is it possible to get any information( x,y coordinates) about where on the image the click was triggered ? Oguen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] run app after installation using PACKAGE_ADDED or other mechanism?

2009-02-12 Thread Peter Jeffe
I'd like my app to be run immediately after being installed (it has a service that ideally would run before the user runs the app). In http://groups.google.com/group/android-developers/browse_thread/thread/697e7e7cc6dd3d1f/fdcf520cce83cf0b?lnk=gstq=%22PACKAGE_ADDED%22#fdcf520cce83cf0b it was

[android-developers] Re: is there a way to read the screen text

2009-02-12 Thread redmapleleaf
You have described pretty much what I think is needed to be done. Text capture must be done at the lowest level so that it can span all the applications. And so my next question is how can this be done? Is there a low level api can the screen reader application can tap into to retrieve the text

[android-developers] Re: Attn Google - How does licensing work in transitioning from a free app to a paid app?

2009-02-12 Thread Mattaku Betsujin
How about charging for the apps using a service model You could name you apps like com.foobar.theapp2009q1 com.foobar.theapp2009q2 com.foobar.theapp2009q3 com.foobar.theapp2009q4 When version X expires, the app can launch an Intent to point the user to the newer version. This way it should be

[android-developers] Any way of iterating through all views in a view group without knowing their ids?

2009-02-12 Thread steele johnson
I'm looking for a way to iterate a viewgroup to retrieve all child views without calling findViewById(). Does view count and view position line up? So can I get the view count and then use that as a counter to call getChildAt(int index)? Thanks

[android-developers] Re: How does the TabActivity successfully switch activities?

2009-02-12 Thread Justin (Google Employee)
http://source.android.com/submit-patches To be provide full disclosure, it may take some time for your patch to be reviewed and accepted, but contributions back to the project are appreciated. Cheers, Justin Android Team @ Google On Feb 10, 5:14 pm, kingkung kingkun...@gmail.com wrote:

[android-developers] Re: How to iterate a ViewGroup for a specific view id?

2009-02-12 Thread steele johnson
Also, I do not know the view id's. I just want to iterate through all the views in a group. Thanks On Feb 11, 5:20 pm, Romain Guy romain...@google.com wrote: findViewById() On Wed, Feb 11, 2009 at 2:17 PM, steele johnson jsal...@gmail.com wrote: Hello, I'm looking for a simple method

[android-developers] Re: Self-signed app on Market

2009-02-12 Thread Mattaku Betsujin
Then what's the point of signing? To make sure another app cannot use the same package name and thus overwrite my app? Thanks On Tue, Feb 10, 2009 at 5:38 PM, Dianne Hackborn hack...@android.comwrote: Android doesn't use CAs at all, period. It makes no difference whether you self-sign or use

[android-developers] Re: Self-signed app on Market

2009-02-12 Thread Jean-Baptiste Queru
It allows your apps to work closely together (share files, share processes, share permissions) while still being protected from other apps. It also prevents your apps from being replaced by someone pretending that they're you (and thus accessing all of your apps' data). JBQ On Thu, Feb 12,

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
I'm sorry for not understanding, but it sounds like you're describing how to get thread pool requests executed in the main thread, but that's not the problem I'm describing (unless I've described it poorly [if so, sorry...]) My problem is that as client Activities pass my service their callback

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
I will try that, thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Is it possible to retrieve a list of resource ids

2009-02-12 Thread dm1973
In arrays.xml I have array name=background_list item@drawable/pict1/item item@drawable/pict2/item /array From code I would like to get an Integer array. I have tried int[] array = c.getResources().getIntArray(id); but I am getting array with empty items instead of

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
It didn't work. I commented out the service declaration in my Activity's manifest: service android:name=com.android.TestService.TestService/ And modified my service's manifest to include 'exported' like this: ?xml version=1.0 encoding=utf-8? manifest

[android-developers] Question about drawable resource and the actual class

2009-02-12 Thread ying lcs
Hi, In android, it has drawable resource, e.g. btn_radio.xml to specify Radio button. My question is where does android specify the class android.widget.RadioButton uses the file btn_radio.xml? Thank you. --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Dianne Hackborn
Well this certainly works in the sample code, so my question would be what is different about your code. There are only a few possible things I can imagine going on: - You are looking at different RemoteCallbackList instances -- things are getting added in one, and you are trying to do callbacks

[android-developers] Re: Any way of iterating through all views in a view group without knowing their ids?

2009-02-12 Thread Dianne Hackborn
Yes, that is what they are there for. On Thu, Feb 12, 2009 at 10:40 AM, steele johnson jsal...@gmail.com wrote: I'm looking for a way to iterate a viewgroup to retrieve all child views without calling findViewById(). Does view count and view position line up? So can I get the view count and

[android-developers] Re: is there a way to read the screen text

2009-02-12 Thread blindfold
Instead of cursor position you might use the position where the screen is touched, using dispatchTouchEvent(). For retrieving labels (strings) of running programs you likely need to dig deep into http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree while anything you would

[android-developers] Re: run app after installation using PACKAGE_ADDED or other mechanism?

2009-02-12 Thread Dianne Hackborn
No, you should let the user decide to run you when they want. On Thu, Feb 12, 2009 at 10:43 AM, Peter Jeffe pje...@gmail.com wrote: I'd like my app to be run immediately after being installed (it has a service that ideally would run before the user runs the app). In

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
On Feb 12, 2:47 pm, Dianne Hackborn hack...@android.com wrote: Um.  This is the package your service is in: manifest xmlns:android=http://schemas.android.com/apk/res/android;      package=*com.android.TestService* And yet you are trying to start a service in the other package: Unable to

[android-developers] Re: RTSP Video Issues on 1.1 firmware

2009-02-12 Thread jz0o0z
Update: After a little more testing I found some rtsp links that do play in 1.1, but other links, which I verified are still active and were working before are giving me the error. Is there an easy way to revert back to the 1.0 firmware so I can confirm that the problem started with 1.1? On

[android-developers] a list of Androids MIME types?

2009-02-12 Thread myIP
I can't seem to find out how a MIME type is found. For instance, say I want my application to bring up Contacts. Where can I find the MIME type for that task? I currently have the following: Intent intent = new Intent(); intent.setAction(Intent.ACTION_GET_CONTENT); intent.setType(*/*);

[android-developers] Re: How to custom my own home screen?

2009-02-12 Thread Scynasty
addcategory android:name=android.intent.category.HOME / in the intent-filter of the activity you want as the home screen. when the home button is clicked it will ask which home screen you want to run. On Feb 11, 9:13 pm, water compuwa...@gmail.com wrote: Android phone has a default home

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
The only thing different, as far as I can tell, between my approach, and the sample's is that the client and service are in the same project and share the same manifest, and in my service's manifest I don't use something like: action android:name=com.example.android.apis.app.REMOTE_SERVICE /

[android-developers] Re: ImageView centering/ rotating issue

2009-02-12 Thread Scynasty
if you set the size of the imageview larger than the screen size it won't get cropped. On Feb 11, 3:19 pm, oguen oguen.bi...@googlemail.com wrote: Hi , is it possible to set the center of an ImageView without using paddings? What I'm trying to do is, to place a part of an image outside the

[android-developers] Re: ImageView.setColorFilter and/or LightingColorFilter- how to use them?

2009-02-12 Thread myIP
Ah...I see. Thanks, I will soon again tinker with color values. On Feb 10, 3:45 pm, Mike Reed r...@google.com wrote: If you want to set a component (e.g. RED) to zero, use these mul: 0xFF00 add: 0 If you want to force a component to be full-on (e.g. BLUE), use these mul: 0x

  1   2   >