[android-developers] Re: Android SDK �绦� Emulator 有���e�`��息

2009-10-15 Thread James
你用1.5的SDK试试看,感觉是你的AVD create 出现异常,也有可能是你的SDK有问题, PS:一定要找google官方release的正式版SDK,不要自己build山寨SDK :-) On Oct 15, 9:29 am, 楊健 y...@cycomtech.co.jp wrote: 在我的pc上,虚拟镜像在C:\Documents and Settings\current user\.android\avd\device.avd目录下。 如果说提示emulator: could not find virtual device named 'gphone'的话,是否之

[android-developers] Re: Extremely long DNS lookup (and failure) on T-Mobile network

2009-10-15 Thread tomei.ninge...@gmail.com
More info: I found out that the web site returns multiple IP addresses on the DNS lookup (see the Resolving i2.sinaimg.cn line below). This appears to be for load balancing purposes. Could this be the reason that got Android confused? $ wget http://i2.sinaimg.cn/IT/2009/1014/20091014235428.jpg

[android-developers] DDMS doesn't show process list on device

2009-10-15 Thread Jeremy Slade
I have two phones, one running 1.5 and the other on 1.6. When I connect the 1.6 device via usb, DDMS recognizes it and in the top-left pane shows: HT842... | Online | 1.6, debug It then lists the individual processes, I can select them and use various tools like allocation tracker. But

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

2009-10-15 Thread vorcigernix
Mark, yes, it make sense to sell app you already made. But look at https://slideme.org/application/speed-forge-3d, this is probably best 3d racing game on android and it sold 512 copies. On 14 říj, 19:41, Mark Murphy mmur...@commonsware.com wrote: karthikr wrote: I have developed a few

[android-developers] Re: Piracy protection idea

2009-10-15 Thread Al Sutton
Anyone who reads the spec should be able to work out the backend, and we'd be happy to share this method with other app stores, but when we offered Google our previous licensing solution the response we got was a Thanks but no thanks, so I'm not sure if they'd be interested. The biggest

[android-developers] Re: Android SDK �绦� Emulator 有���e�`��息

2009-10-15 Thread zhangho
建议你看一下SDK文档的Android Virtual Devices部分。 http://developer.android.com/guide/developing/tools/avd.html --~--~-~--~~~---~--~~ 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: Setting ImageView from the web using URI

2009-10-15 Thread Miguel Paraz
On Oct 13, 10:08 pm, Smelly Eddie ollit...@gmail.com wrote: I need to display an image that is pulled from the web using a url. I tried the following, unsuccessfully;                   boxart.setImageURI(Uri.parse(http://example.com/image.jpg;)); I assume I need to create a local

[android-developers] Re: How can I capture an image in Android and have it show up in the gallery?

2009-10-15 Thread nagamatu
You need to use MediaScanner Service to register your images to MediaStore. http://developer.android.com/reference/android/media/MediaScannerConnection.html On 10月15日, 午前2:20, junker37 junke...@gmail.com wrote: I was capturing images before that were showing up in the gallery, but now they

[android-developers] Re: Setting ImageView from the web using URI

2009-10-15 Thread Marc Lester Tan
You can try this one: Bitmap bm = null; try { URL imageURL = new URL(http://example.com/image.jpg;); BufferedInputStream bis = new BufferedInputStream(imageURL.openStream(), 1024); bm = BitmapFactory.decodeStream(bis); bis.close();

[android-developers] AbsListView extension problem

2009-10-15 Thread Daber
Hi, I've been experimenting with AbsListView the View which is marked in doc as : Base class that can be used to implement virtualized lists of items. A list does not have a spatial definition here. For instance, subclases of this class can display the content of the list in a grid, in a

[android-developers] JNI problem : from c Languege call Java method

2009-10-15 Thread zhangho
JNI problem : from c Languege call Java i think from c Languege call Java, but that CallIntMethod() return value is not equals getIpv6() - 99, CallIntMethod() its always return strange value is [-1091242504] or [11212] . additional i already slove [Method not found: 'getIpv6' '(I;)I'] error.

[android-developers] Re: this.getApplication() returns NULL pointer

2009-10-15 Thread Stefan
Nope. Right now, for testing purposes, it is triggered through a button click. I've also included android:name=AppObject within the application- tag of the Manifest. And the initialization of the AppObject seems to work properly. The only thing that doesn't work is calling AppObject appObj =

[android-developers] ViewGroup

2009-10-15 Thread Daber
Hi, I was trying to use getChildDrawingOrder() method to confiugre drawing order of childen of a viewGroup Documentation states that FLAG_USE_CHILD_DRAWING_ORDER has to be set. but there is no way to set this flag. I looked at the sources and protected mGroupFlag field is used to carry that

[android-developers] How to make a View touchable visually?

2009-10-15 Thread Farproc
When we touch a Button in android, the button highlighted(background turns yellow). This visual change is very friendly to users. I want the same effect on a View object(for example a TextView or ImageView) but I can't figure it out. Somebody help me?

[android-developers] Re: How to make a View touchable visually?

2009-10-15 Thread RS
You'll have to provide background as a multi state drawable xml like res/drawable/my_multi_state_bg.xml Following is a sample xml. ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_focused=true android:state_pressed=true

[android-developers] Re: https password auth

2009-10-15 Thread Cyryl Płotnicki-Chudyk
2009/10/13 vonguyen lie...@gmail.com: Hello Cyryl. To connect you can do follow: try {                        SSLContext sc = SSLContext.getInstance(TLS);                        sc.init(null, new TrustManager[] { new MyTrustManager() },                                        new

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-10-15 Thread sheik
Just released lite version of iCommuteLess in android market for free.. take a look Name : iCommuteLess-lite Track commutes, Save time Category : Lifestyle By: Uttara Infosolutions Website :http://www.icommuteless.com/ Description : iCommuteLess is an application to track your daily

[android-developers] Re: How to specify the maxWidth of a TextView as a percentage of screen width?

2009-10-15 Thread westmeadboy
Thanks for your help. I've looked into this a bit more and it seems that, for what I want to do, its enough just to define another layout in the layout-land folder. Its not perfect, because I'm currently assuming just two possible screen widths (320 and 480) and so setting the maxWidth

[android-developers] Package removed intent

2009-10-15 Thread Sagar
Hello everyone, I want to listen to package removed intent of my application. I mean my application should get notified when it is being removed so that i can do something in receiver. So is it possible? Actually I want to write into a file the time when my app was removed. When does package

[android-developers] Re: Socket.connect works on Wifi, fails on 3G (actually sort of the opposite...)

2009-10-15 Thread truthtrap
this is what i get with tcpdump (first 3G (where the connect succeeds but should fail) than WIFI (where connect fails as expected)) i can't read very much from this, i hope you (someone) can help. the only path open to me is to check if there is any data 'coming in' on that connection, because

[android-developers] Confusion about necessity to override onConfigurationChanged()

2009-10-15 Thread westmeadboy
I've seen numerous posts about letting the app control the handling of orientation changes by setting the android:configChanges attribute and overriding onConfigurationChanged(). However, it seems that its not necessary to override onConfigurationChanged() at all. How is this possible? I have a

[android-developers] Re: How to make a View touchable visually?

2009-10-15 Thread Farproc
Thank you !! On 10月15日, 下午6时23分, RS rajeshs...@gmail.com wrote: You'll have to provide background as a multi state drawable xml like res/drawable/my_multi_state_bg.xml Following is a sample xml. ?xml version=1.0 encoding=utf-8? selector

[android-developers] Launch Browser using intent.ACTION_VIEW

2009-10-15 Thread Morris
Hi All: I complete a activity to launch browser, but it always open a new window if it didn't open last time. Thus, I always see the switch action between the window of browser. Whether is there another method to let it always open the same window? Because I don't want to see the switch action

[android-developers] Re: Package removed intent

2009-10-15 Thread allstars
hi i think you need to have another package to listen to your application see the code in PackageManagerService.java it should be deletePackageX(String packageName, boolean sendBroadCast, boolean deleteCodeAndResources, int flags) the apk is removed first then the intent is broadcasted

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-15 Thread Alexey
Romain, your answers are clear, but confusing. As I understood modifying adapter should be done in worker thread and only notifyDataSetChanged in UI thread. Now as I see the concept is different, but what if we need to add several hundred items into adapter, won't UI thread be in freeze for this

[android-developers] 6 digit IMSI returns for some users

2009-10-15 Thread Prashast
We've developed a phone anti-theft solution (called WaveSecure) which among other things uses the IMSI of the current SIM in the phone to detect if a safe SIM is being used or not. Recently we had a bug reported where the IMSI of two users being returns by Telephony Manager's getSubscriberId()

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-15 Thread Alexey
Romain, one more question. Is this rule applicable for adding/removing elements from adapter (in other words - changing number of elements in ListView) or also when changing content of elements? On 15 окт, 16:31, Alexey goalstu...@gmail.com wrote: Romain, your answers are clear, but confusing.

[android-developers] Pass object from an activity to another?

2009-10-15 Thread Long
Hi, There is an activity which has an object. This activity(say A) starts another activity(say B). Can B use some object in A? Cheers. Long --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Interrupted audio playback.

2009-10-15 Thread Mike
Hello, the game I am working on uses SoundPool for sound effects and MediaPlayer for background music playback. Input happens enirely through the touch screen, with a 20 mS delay after each processed MotionEvent. Sometimes (very rarely) it happens that the background music gets interrupted for a

[android-developers] IP broadcast on emulator

2009-10-15 Thread Anders
Hi, I have an application that acts as both client and server. I have a scenario that I need to test that involves three devices. One of them needs to broadcast a message (UDP) to the other two. Running on physical devices, this is not a problem, and it works fine. On the emulator however, this

[android-developers] Re: Market screen shots

2009-10-15 Thread polyclefsoftware
I've noticed that the screenshot upload feature is very buggy. No need to wait a whole day. Just refresh your browser...worked for me. On Oct 14, 10:16 pm, Keith Wiley kbwi...@gmail.com wrote: You're right.  It's working now.  How strange. Thanks. On Oct 14, 6:10 pm, Brian Conrad

[android-developers] Re: ListView, how do I change the orange highlight color?

2009-10-15 Thread Mikael Bertlin
Hi Thanks for the reply, but: 1. Thats not the answer I was looking for :-P 2. I'd really like to figure this out without buying a book On Oct 15, 9:06 am, vorcigernix vorciger...@gmail.com wrote: 1) Do not change default colors :)  As user, I am used to some color scheming, and all I

[android-developers] Okay - I am an idiot but I can't get this to work....

2009-10-15 Thread furby
I am tryign to stream youtube videos. Supposedly, the Activity that can be downloaded from http://keyeslabs.com/joomla/index.php/blogs/i-think-im-becoming-an-android/51-polish-your-app-free-embeddable-android-youtube-activity will work for that. It sounds like it's perfect for what I want to do.

[android-developers] Google Adsense for Mobiles

2009-10-15 Thread Vassilios Kirellous
Hi, I heard that Google had now an Adsense that worked for mobile platforms. Can someone tell me how this works? Is it a script (javascript) like the normal web-based adsense uses? or is it like Admob etc that requires the developer to embed some code into a webview element? How do I get an

[android-developers] Adding a new plugin

2009-10-15 Thread Bhargavi
Hi, Iam trying to enable a plugin which was not compiled earlier.I added android.mk to compile it as a plugin.i added an entry in the prelinkmap file for that .so . when the module is getting loaded , iam getting the following error: I/DEBUG ( 996): Build fingerprint: 'unknown' I/DEBUG (

[android-developers] Programmatically get maximum heap size?

2009-10-15 Thread String
Here's my situation: I have an app which does a bunch of image manipulations, and those images are ideally full-screen sized. It works on a G1 (or HVGA emulator), but runs out of memory on a WVGA emulator instance, because full-screen images use twice as many pixels. Fine, I can work around it by

[android-developers] Re: Pass object from an activity to another?

2009-10-15 Thread niko20
Hi, Why not pull the object out into global scope instead? Just make a new java file, put a class in there with a static member variable of your type. Then activity A can set the type (create new on it) in the global class. Now activity B can access it thru the global class. -niko On Oct 15,

[android-developers] Memory leak or feature

2009-10-15 Thread Mika
Hi, So the problem is quite simple. I start a Service from an Activity, the user presses back, the Activity goes away and the Service stays running in the background. However the activity (and it's views) still stay in memory. Any ideas why is that?? I tested this with cupcake and G1. To

[android-developers] some questions about using gdbserver and JNI libraries

2009-10-15 Thread Michael Richardson
We have been using gdbserver to debug our JNI code as follows. We have been less than successful -- breakpoints do not always get activated, sometimes we get SIGILL, and we seldom ever get a useful stack when the debugging stops on SIGSEGV, sometimes the program dies with SIGTRAP!!! We have

[android-developers] Re: How to specify the maxWidth of a TextView as a percentage of screen width?

2009-10-15 Thread RichardC
One workaround - you could put your controls into a horizontal LinearLayout (with it's width set to fill_parent) and then set the weights of each control inside the LinearLayout so that they total to 100. For example, if you had 3 controls inside the LinearLayout you could use 10, 60, 30 for

[android-developers] Re: Android Sim Card Needed?

2009-10-15 Thread pro
Could you explain a bit more. I've SIM card from other phone, can I use that to get thru this path? -pro On Oct 3, 5:43 am, Nightwolf mikh...@gmail.com wrote: You need aSIMcard with data plan in order to tie your G1 to your Google account. After that you can use your G1 withoutSIMcard. On

[android-developers] Re: AdSense for Mobile Apps

2009-10-15 Thread Vassilios Kirellous
Hi, I'm really interested in joining this. How do I enroll? Is the mobile Apps beta version an SDK that I must add to my code, or is it just javascript text that appears in a webview? Thanks, Vaz 2009/10/5 polyclefsoftware dja...@gmail.com Just wondering if anyone else here is participating

[android-developers] Re: How to specify the maxWidth of a TextView as a percentage of screen width?

2009-10-15 Thread RichardC
Took me a while to find it, original discussion link: http://groups.google.com/group/android-developers/browse_thread/thread/28787df685b68acb/e6551c267abc0e86?q=#e6551c267abc0e86 -- RichardC On Oct 15, 3:19 pm, RichardC richard.crit...@googlemail.com wrote: One workaround - you could put your

[android-developers] Re: Pass object from an activity to another?

2009-10-15 Thread Long
I didn't realize your method. I will try that. Thanks. On Oct 15, 10:03 pm, niko20 nikolatesl...@yahoo.com wrote: Hi, Why not pull the object out into global scope instead? Just make a new java file, put a class in there with a static member variable of your type. Then activity A can set

[android-developers] Re: Google Adsense for Mobiles

2009-10-15 Thread String
GIYF: https://www.google.com/adsense/www/en_US/mobile On Oct 15, 2:58 pm, Vassilios Kirellous vassi...@gmail.com wrote: Hi, I heard that Google had now an Adsense that worked for mobile platforms. Can someone tell me how this works? Is it a script (javascript) like the normal web-based

[android-developers] Re: Memory leak or feature

2009-10-15 Thread String
On Oct 15, 3:08 pm, Mika mika.ristim...@tkk.fi wrote: So the problem is quite simple. I start a Service from an Activity, the user presses back, the Activity goes away and the Service stays running in the background. However the activity (and it's views) still stay in memory. Feature. It's

[android-developers] Null Pointer Exception with Gestures

2009-10-15 Thread Chander Pechetty
I am getting the following NPE with Gestures (20 % of the time). Anyone encountering the same issue ? I am using the code similar to GestureActivityList sample provided at http://android-developers.blogspot.com/2009/10/gestures-on-android-16.html E/AndroidRuntime( 919):

[android-developers] Re: AdSense for Mobile Apps

2009-10-15 Thread Wayne Wenthin
Last time I read up on this you had to guarantee so many impressions. I know that Chickenbrick Studios is doing it because I play Cestos all the time. I'm trying to figure out if I can shoehorn this into my game but I don't see a way. On Thu, Oct 15, 2009 at 7:47 AM, Vassilios Kirellous

[android-developers] video playback scratching my head

2009-10-15 Thread Jags
Hi I am trying to play a video in my app. It has to be embedded i went through http://groups.google.com/group/android-developers/browse_thread/thread/63692208da946ead I am able to play my video using VideoView as mentioned in this discussion. But there are a few problems. 1. I need full

[android-developers] Re: Interrupted audio playback.

2009-10-15 Thread Marco Nelissen
That will have no effect whatsoever, since media playback already happens in a separate thread (several, actually), which is owned by the system and runs at elevated priority. The priority of the thread that calls in to MediaPlayer has no influence on this at all. On Thu, Oct 15, 2009 at 7:02

[android-developers] Re: Android Lock-down

2009-10-15 Thread Marco Nelissen
On Wed, Oct 14, 2009 at 8:27 PM, MT Tang munthy...@hotmail.com wrote: I have a question on Android's capabilities and if the envisioned functionality is possible using Android platform. My colleague and I are tasked to develop an application in Android which requires a phone lock-down.

[android-developers] Re: Alarm is canceled if app is stopped

2009-10-15 Thread Jason B.
I know this thread is talking a lot about task management. I think the original post was about making alarms that still occur even if the app is closed. This is how I do it: 1) Use AlarmManager service to schedule PendingIntents in the future (I.e. xx min from now) 2) Creat an

[android-developers] Posting lost

2009-10-15 Thread Randy Heiden
I posted a question about installation abort when trying to reinstall the radio part of an android update. I can't find it. I spent a lot of time trying to craft it. Thanks, Ryck --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Alarm is canceled if app is stopped

2009-10-15 Thread String
On Oct 15, 4:34 pm, Jason B. jason.ba...@gmail.com wrote: Using that approach works great for my app.  That way it doesn't matter if my app ever gets killed.  The alarm will trigger in the future and the intent will restart my service I believe the point of this thread is that Task Killer

[android-developers] SAR(Specific Absorption Rate) values of Android phones on the market

2009-10-15 Thread dave
Hello everyone, I would appreciate if someone here in the group point me to the source of the SAR values of the android phones currently available on the market. Thank you very much for your help. Dave --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Bug in dalvik? Application will not load on package change

2009-10-15 Thread Frank
Recently I changed the package path of the launcher activity (so the activity is one step lower down the package). The root package is still the same. I made the corresponding changes to the AndroidManifest.xml and while testing, it works fine on my phone. However a number of users are

[android-developers] Re: Rotating Camera Preview

2009-10-15 Thread Greivin Lopez
Thank you very much Anirudh!!! This is exactly what I was looking for!. --~--~-~--~~~---~--~~ 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] Bug in dalvik? Application will not load on package change

2009-10-15 Thread Frank
Recently I changed the package path of the launcher activity (so the activity is one step lower down the package). The root package is still the same. I made the corresponding changes to the AndroidManifest.xml and while testing, it works fine on my phone. However a number of users are

[android-developers] Re: AdSense for Mobile Apps

2009-10-15 Thread Dan Sherman
Yeah, we're running it :) Their program is almost identical to admob's in the sense that its a packaged library that you need to add to existing views, and not just an embedded webview. Last I checked, they required at least 100,000 daily impressions for the application, but its possible this

[android-developers] Re: video playback scratching my head

2009-10-15 Thread Jags
this is my code videoHolder = new VideoView(this); //// videoHolder = (VideoView)findViewById(R.id.videoview); LayoutParams params = new LayoutParams (LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT); videoHolder.setLayoutParams(params);

[android-developers] Re: SAR(Specific Absorption Rate) values of Android phones on the market

2009-10-15 Thread Marco Nelissen
This question has nothing to do with android development. I suggest you do a Google search for sar values. On Thu, Oct 15, 2009 at 9:02 AM, dave dayong...@gmail.com wrote: Hello everyone, I would appreciate if someone here in the group point me to the source of the SAR values of the

[android-developers] Re: Memory leak or feature

2009-10-15 Thread Dianne Hackborn
If you press back and let the system finish the activity, all references to it will be gone, so though your process is there after it GCs the resources (views etc) associated with the activity should be gone. If you still see them after you know the process has GCed, then you have a leak in your

[android-developers] Re: Confusion about necessity to override onConfigurationChanged()

2009-10-15 Thread Dianne Hackborn
You are using layout managers that know how to layout to different screen sizes. Note, however, that any resources you have that change for landscape vs. portrait will -not- be changed. On Thu, Oct 15, 2009 at 4:52 AM, westmeadboy westmead...@yahoo.co.ukwrote: I've seen numerous posts about

[android-developers] Re: this.getApplication() returns NULL pointer

2009-10-15 Thread Dianne Hackborn
Oh if it isn't in the same package, of course that doesn't work -- it would return the application object for -its- package. On Thu, Oct 15, 2009 at 2:31 AM, Stefan stefan.klu...@gmail.com wrote: Nope. Right now, for testing purposes, it is triggered through a button click. I've also

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-10-15 Thread androiduser mobile
Hi all, I am facing a weird problem now, I have a piece of code which copies the files from assets folder to sdcard/downloads and is working well for me, but when other user is running this code in his system, he is getting Parent directory does not exist exception with file.createNewFile(). We

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-10-15 Thread Mark Murphy
androiduser mobile wrote: Hi all, I am facing a weird problem now, I have a piece of code which copies the files from assets folder to sdcard/downloads and is working well for me, but when other user is running this code in his system, he is getting Parent directory does not exist

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-10-15 Thread androiduser mobile
Hi Mark, Thanks for immediate reply. I checked these conditions, when we tried to push a file using adb is working fine, but only through the below code, we are seeing the exception: public void addFile(String filename) throws Exception{ InputStream is =

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-10-15 Thread Mark Murphy
androiduser mobile wrote: File directory = new File (Environment.getExternalStorageDirectory().getPath()+/downloads); Creating paths via concatenation is bad form and prone to error (e.g., duplicate slashes). Use: new File(Environment.getExternalStorageDirectory(), downloads);

[android-developers] What is the difference between 'mmm' and 'mm' command

2009-10-15 Thread n179911
Hi, In android build environment, what is the difference between 'mmm' and 'mm' command? --~--~-~--~~~---~--~~ 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: Exception - can anyone make sense of this?

2009-10-15 Thread nEx.Software
I believe that this is the same reason why the Contacts Live Folders don't include photos. I seem to recall there being a note in the source that they didn't have a good way to handle a no photo situation. On Oct 14, 9:34 am, Neilz neilhorn...@googlemail.com wrote: Yes, well I've worked out the

[android-developers] Re: ListView, how do I change the orange highlight color?

2009-10-15 Thread vorcigernix
You don't have to, I was at work and didn't have specific link to document, which is http://commonsware.com/Android/excerpt.pdf Hope it helps, it helped me lot. On Oct 15, 3:35 pm, Mikael Bertlin mikael.bert...@gmail.com wrote: Hi Thanks for the reply, but: 1.  Thats not the answer I was

[android-developers] A new way to link to apps from the web twitter - drdmkt.com

2009-10-15 Thread G
So last week I wanted to send a friend of mine a link to an app. I quickly realized that while I could create a market://search? q=pname: URL and maybe even shrink it with bit.ly so that it gets recognized by different apps, it was still a problem. Both because its a pain to type and and because

[android-developers] Re: Socket.connect works on Wifi, fails on 3G (actually sort of the opposite...)

2009-10-15 Thread truthtrap
i have sort of a fix. if there is no service 'on the other end' we will never ever receive an EOL. so the following code will work, if we assume that services always start by saying something, followed by an newline. (i don't know any regular examples that don't start by saying hi.) it is not so

[android-developers] WARN/dalvikvm(1151): Shared lib '/system/lib/libwebcore.so' already opened by CL 0x0; can't open in 0x437571d0

2009-10-15 Thread Long March
hi all: When I recompiled the Browser project,I got the following error message. WARN/dalvikvm(1151): Shared lib '/system/lib/libwebcore.so' already opened by CL 0x0; can't open in 0x437571d0 Can someone tell me why? Thanks a lot. L.C

[android-developers] other

2009-10-15 Thread ravi kumar sahu
please stop the email from android group --~--~-~--~~~---~--~~ 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

[android-developers] trouble when I try to import native android's cropimage class

2009-10-15 Thread RG
Hello, I saw in a previous post on this group that cropimage activity used in the camera app was not available for using in developper's apps. One of the best way to use it was to import directly the code from android's apps source code. That's what I did. I'm facing two problems with

[android-developers] How to Make SDK addon ?

2009-10-15 Thread seagal
i have been searching for how to make Android SDK addon but could find any resource about it. is there any document telling how to make an addon? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Calendar application

2009-10-15 Thread Shivappa
Hi there, Is the Calendar code available at packages/apps/Calendar complete ?. If yes, may I know why Calendar application is not part of default applications on the emulator ? /Shivappa --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Idle time in android?

2009-10-15 Thread pk
Hi, I have an application(service) that needs to display an activity if there has been no user activity for a certain period.Is there any way to detect if a device has been idle for a certain time or not? --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Instant Refresh on CursorAdapter attached to a ListView

2009-10-15 Thread odd.isometry
Maybe, it will be useful to override methods onPause() onResume() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Focus android widget.

2009-10-15 Thread henca
On Sep 25, 10:57 am, Manjunatha M man...@gmail.com wrote:     I tried with the following xml. ?xml version=1.0 encoding=utf-8? appwidget-provider xmlns:android=http://schemas.android.com/apk/res/android;     android:minWidth=146dp     android:minHeight=146dp     android:focusable=true  

[android-developers] Re: Socket.connect works on Wifi, fails on 3G (actually sort of the opposite...)

2009-10-15 Thread truthtrap
this really doesn't work very well... apache doesn't 'say' shit. i am going to try somethting else tomorrow... On Oct 15, 8:31 pm, truthtrap jurgvanvl...@gmail.com wrote: i have sort of a fix. if there is no service 'on the other end' we will never ever receive an EOL. so the following code

[android-developers] how to make user-contorl??

2009-10-15 Thread DHSoft
i have two questions. first. i wanna know how to make user-control and how to use it(in XML code). second. i want to find color picker dialog, but i don't find it. where can i find it??? i need help you... --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Android SDK 執行 Emulator 有個錯誤訊息

2009-10-15 Thread lucker
建议安装 Eclipse 来管理创建AVD, On Oct 14, 4:43 pm, 吉米栗 gemini.li.06...@gmail.com wrote: 最近嘗試要將Android開發環境裝上,試圖學習手機程式的寫法 但是在裝Android SDK環境的時候卻發生 error 的訊息 對英文雖不是很熟析,我還是很努力的想找到這問題的解決方式 但是始終找不到 希望在這邊能有高手能協助幫忙,給予指點 我的環境 Windows XP Android SDK 1.6.r1 (從網路上爬文學來) 以CMD命令提示字元模式

[android-developers] How to make specific IME not to be built into target

2009-10-15 Thread turgenevtw
Did anyone knows how to make specific IME, for example Chinese, not to be built into target? --~--~-~--~~~---~--~~ 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] Web Browsering using

2009-10-15 Thread nikhil
I have 2 WVGA screens on my Devolopment Board . We have ported android on our board a --~--~-~--~~~---~--~~ 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] Criteria of marking a test @SmallTest OR @MediumTest OR @LargeTest

2009-10-15 Thread Vibhor Mahajan
Hello, I am new to using JUnit framework in Android. I checked tests folder of sample applications provided by Google. Android allows feature of creating test suite of small OR medium OR large tests using adb shell am instrument -e size small \ medium \ large. Kindly suggest the criteria of

[android-developers] Re: Memory leak or feature

2009-10-15 Thread RickGillaspy
Is there a way to know the process has GCed? or to force a GC for this process? On Oct 15, 12:56 pm, Dianne Hackborn hack...@android.com wrote: If you press back and let the system finish the activity, all references to it will be gone, so though your process is there after it GCs the

[android-developers] Possible to hide the virtual keyboard if a certain key is pressed? (EditText)

2009-10-15 Thread Tor
Hello, I am wondering if it is possible to hide the virtual keyboard once a specific key has been entered (Enter, say). I thought perhaps I could use an onKeyDown event somehow, but not sure how to bind this to e.g. a listener. Regards, Tor

[android-developers] Looking to network to find an Android Developer for a project in San Jose, CA

2009-10-15 Thread Aaron Schneickert
Hello, How are you? I was hoping you might be able help me out. Our client has a need for an Android Developer for a contract/contract-to-hire project. They are looking for someone to develop the Android RIL. If you know of someone who might be interested, please let me know. I can forward over

[android-developers] Want to use 2 WVGA screens while viewing a html page in web-browser application

2009-10-15 Thread nikhil
Hi , We have ported Android on our Devolopment Board and are able to do the Web Browsing . We have 2 WVGA screens on our Devolopment Board . We wanted to know if it possible for us to use the second screen when using the web browser to display large web pages . (Usually we scroll down , but we

[android-developers] Enabling SVG in Android's Webkit

2009-10-15 Thread Jeff Schiller
Can anyone point me to instructions on how to enable SVG support when building Webkit for Android? I saw an earlier thread from back in March about SVG being slow for the UI of apps, but I'd like to experiment with web content containing SVG, DOM manipulations, etc to see what the speed is like.

[android-developers] - Feature Requests -

2009-10-15 Thread B-ry
Request 1: I made this request to HTC but they said to try here as well. My Iphone TomTom gps used to fade back to itunes when it was not activly speaking. I use the bluetooth on my mazda 3 for music and routing instead of owning an exspensive NAV system. Please enable the Sprint Nav to do so.

[android-developers] Re: Pass object from an activity to another?

2009-10-15 Thread Yusuf Saib (T-Mobile USA)
Before you call startActivity with an Intent, first put extra into into it with Intent.putExtras: http://developer.android.com/reference/android/content/Intent.html#putExtras(android.os.Bundle) Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are

[android-developers] Re: this.getApplication() returns NULL pointer

2009-10-15 Thread jotobjects
Does this refer to the OnClickListener button listener object? Often this is an inner member class of the activity so it would work if you take the this. off. But you seem to have something a little more complicated going on. Maybe we need to see the OnClickListener code. On Oct 15, 9:59 am,

[android-developers] Re: - Feature Requests -

2009-10-15 Thread Disconnect
None of these can be fixed by application developers using the SDK. For 1, you need to ask sprint (its Sprint Nav right? So they wrote it..) and for 2, you need to ask on -platform or ask HTC directly. On Thu, Oct 15, 2009 at 11:47 AM, B-ry bdeb...@gmail.com wrote: Request 1: I made this

[android-developers] Re: Memory leak or feature

2009-10-15 Thread jotobjects
java.lang.System.gc() On Oct 15, 11:22 am, RickGillaspy rickgilla...@gmail.com wrote: Is there a way to know the process has GCed?  or to force a GC for this process? On Oct 15, 12:56 pm, Dianne Hackborn hack...@android.com wrote: If you press back and let the system finish the activity,

[android-developers] Re: Memory leak or feature

2009-10-15 Thread Romain Guy
You can also use DDMS to trigger a GC manually on any process you want. On Thu, Oct 15, 2009 at 12:04 PM, jotobjects jotobje...@gmail.com wrote: java.lang.System.gc() On Oct 15, 11:22 am, RickGillaspy rickgilla...@gmail.com wrote: Is there a way to know the process has GCed?  or to force a

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-10-15 Thread androiduser mobile
Hi Mark, we did try these but no luck. We tried with same SD card what I am using. No formatting issue. Thanks, Android user On Oct 15, 10:49 am, Mark Murphy mmur...@commonsware.com wrote: androiduser mobile wrote:         File directory = new File

[android-developers] Re: A new way to link to apps from the web twitter - drdmkt.com

2009-10-15 Thread String
Nice. I like it, and look forward to adding it to my apps' sites. String On Oct 15, 7:28 pm, G ghack...@gmail.com wrote: So last week I wanted to send a friend of mine a link to an app. I quickly realized that while I could create a market://search? q=pname: URL and maybe even shrink it with

  1   2   >