[android-developers] Problem with ListAdaptor

2009-01-01 Thread manoj
Hi friends, I am using ListAdaptor in my application. My requirement is ListAdaptor contains some countries names. When we click on particular country, it displays the states in the selected country (as a dropdown list). When we click on the state, its corresponding image will be set to backgr

[android-developers] Re: How to install or run a Java Midlet in G1 Phone or on emulator

2009-01-01 Thread Margaret
someone of us is working on it. develop a J2ME emulator on Android OS. mawei...@gmail.com 13585201588 2009/1/2 Ashok Kumar : > HI, > Can any one please help me , how to install and run a Java Midlet in G1 > Phone or on emulator > > Regards, > Ashok.V > > > > --~--~-~--~~---

[android-developers] How to install or run a Java Midlet in G1 Phone or on emulator

2009-01-01 Thread Ashok Kumar
HI, Can any one please help me , how to install and run a Java Midlet in G1 Phone or on emulator Regards, Ashok.V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: How can i access System directory in an emulator ??

2009-01-01 Thread Andrew Stadler
Downloaded apps (such as those developed with the SDK) cannot be installed into the system directory. Perhaps if you can better describe what you are trying to do and which permissions your app requires, the list community can better assist you. On Thu, Jan 1, 2009 at 9:37 PM, Ashrotronics <03

[android-developers] Re: Android Dev Phone 1 - can I gain access to replace/add system fonts ?

2009-01-01 Thread Margaret
I have not got it now mawei...@gmail.com 13585201588 2009/1/2 shimo...@gmail.com : > > Hi, > > I bought the Android Dev Phone 1, to use it to develop apps, and port > my existing Palm OS applications to the Android platform. > > Amongst other things, I thought I'd have access to it's internals

[android-developers] Android Dev Phone 1 - can I gain access to replace/add system fonts ?

2009-01-01 Thread shimo...@gmail.com
Hi, I bought the Android Dev Phone 1, to use it to develop apps, and port my existing Palm OS applications to the Android platform. Amongst other things, I thought I'd have access to it's internals - mainly to replace the system fonts with ones including Hebrew characters - so I can add Hebrew c

[android-developers] Re: Deployment of native C library

2009-01-01 Thread Margaret
add sudo where you do mount . mawei...@gmail.com 13585201588 2009/1/2 shimo...@gmail.com : > > Hi, > > Thanks ! > > Where do I issue this command from ? > > When I do this from PTerminal on my Android device it hangs, then > issues > a warning box saying: > > "Activity pTerminal (in applicati

[android-developers] Re: Deployment of native C library

2009-01-01 Thread shimo...@gmail.com
Hi, Thanks ! Where do I issue this command from ? When I do this from PTerminal on my Android device it hangs, then issues a warning box saying: "Activity pTerminal (in application pTerminal) is not responding"" Do you have a Dev Phone ? Thanks. On Jan 2, 3:39 am, Joel wrote: > Sounds as

[android-developers] How can i access System directory in an emulator ??

2009-01-01 Thread Ashrotronics
Hi all: It seemed that some work can not be done due to permission reasons unless my APK is in installed in the System/app directory ,So,is there any way i can do that ?? Thanks in advance ~! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Google maps api key jar signing on G1...fail

2009-01-01 Thread Clay
Hello Everyone, I am here with my hat in hand begging for a clue. So have tried to follow the directions for release keys and jar signing to the letter, and I am still in fail mode. Here are my references: http://code.google.com/android/toolbox/apis/mapkey.html http://code.google.com/android/de

[android-developers] Show your tax for G1 Dev Phone?

2009-01-01 Thread Margaret
HI,ALl last night I saw the open handset magazine, one of the author live in UK written: He has paid > 500 US Dollar for the G1 Dev phone, 399$ + tax + shipments fee Tell me yours mawei...@gmail.com 13585201588 --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: why not ship android dev phone to china mainland?

2009-01-01 Thread Margaret
Thanks, does the G1 can debug on the device as G1 Dev Phone? mawei...@gmail.com 13585201588 2009/1/1 babyblue : > > There's not much difference between G1 and Dev Phone. If you can't get > a dev phone, just get G1 instead. > > On 1月1日, 下午8时25分, Margaret wrote: >> the unlock G1 is not Dev Phone

[android-developers] Re: Compile Error(s)

2009-01-01 Thread Margaret
I am OK see the log of leopard mawei...@gmail.com 13585201588 2009/1/1 Peter Fisher : > I just got a new macbook Pro and installed eclipse and installed all the > stuff for Eclipse 3.4 (Ganymede). I also downloaded the SDK and unziped it. > I setup the path in eclipse to the SDK dir and thats

[android-developers] Re: WebView and JavaScript functionality

2009-01-01 Thread Tez
Hi, Thanks for that advice. Also, I heard that AJAX calls are not supported from within the WebView. So it would be logical to implement a native layer that takes care of Network I/O. Are there any other ways of doing this? Cheers, Earlence On Jan 1, 6:50 pm, mboehmer <4...@phoku.de> wrote: >

[android-developers] How to turn on stdout/stderr log messages?

2009-01-01 Thread lucky
HI, I have tried below steps to turn on stdout/stderr log message but it seems only stderr log message works fine, stdout message still not output from logcat. Below is steps: 1). adb push a local.prop file to /data adb push local.prop /data The content of local.prop as below: log.redirect-stdi

[android-developers] Re: SDK 1.0r2 emulator start failed on linux

2009-01-01 Thread lucky
Thanks, After redownload the sdk, it works fine now. The md5 value wrong but unzip seems no error report. So it's a corrupt SDK package. BRs wjjsun 2009/01/02 On Jan 1, 11:21 pm, Diego Torres Milano wrote: > Did you invoke 'emulator -wipe-data' first ? > > On Jan 1, 2:46 am, lucky wrote: > >

[android-developers] Re: Icons - Recommended size, format, etc?

2009-01-01 Thread rollbak
Indeed there is an icons (launchers and notifications) style guideline from google. But i can't make it public, i received it because some "business" relation that google has with the company i work for. May be someone from google can make it public. regards, Lucas On Jan 1, 6:39 am, "for andr

[android-developers] Re: How to highlight the background of a textView

2009-01-01 Thread Romain Guy
Hi, R.color.solid_blue is NOT a color, it is a *reference* to a color. Instead you need to use getResources().getColor(R.color.solid_blue). On Thu, Jan 1, 2009 at 7:06 AM, manoj wrote: > > Hi friends, > > I am using LinearLayout. I am adding some texts to this layout (as a > list). > > When I c

[android-developers] Re: using XML properties for Views

2009-01-01 Thread Romain Guy
> 1) the current API is limited and cannot set all the view properties > which are exposed as XML I am very surprised to read this. It's actually the contrary: there are APIs that are NOT exposed through the XML layer, but all XML attributes *should* have an equivalent in the Java APIs. Could you

[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2009-01-01 Thread Romain Guy
> but it would be nice to leave this up to the developer. There is one excellent reason to not leave this up to the developer: consistency. As a user, how would you like if one application would select on touch, and a coupe of others would not? It would totally break anything you learn and you wo

[android-developers] Re: Deployment of native C library

2009-01-01 Thread Joel
Sounds as if you don't have root. Did you issue a su command first? On Jan 1, 6:11 pm, "shimo...@gmail.com" wrote: > Hi, > > Tried that on my Dev Phone, and got "mount: operation not permitted" > > Can you tell me why ? > > TIA > > On Nov 17 2008, 11:48 am, "li chen" wrote: > > > You can use a

[android-developers] Slide from an Activity to another...

2009-01-01 Thread Moto
I've been trying to now tackle animations on Android and well I'm a little lost. I'm trying to slide on Activity as the older Activity slides out... you could say "iPhone's" way... I read this isn't possible but maybe I have a good idea on how to approach this: Activity 1: Layout A Activity 2: L

[android-developers] Re: Market paid-for apps

2009-01-01 Thread Shane Isbell
SlideME is also launching paid apps next week. We have the int'l tax and US domestic sales tax issues sorted, as well as payment to developers, so you will be able to sell freely on our market. It will be an easy process for developers. We also have some good traction with the user community, with

[android-developers] Re: Deployment of native C library

2009-01-01 Thread shimo...@gmail.com
Hi, Tried that on my Dev Phone, and got "mount: operation not permitted" Can you tell me why ? TIA On Nov 17 2008, 11:48 am, "li chen" wrote: > You can use adb shell to remount /system and try again: > mount -o remount rw /system > > -freepine > --~--~-~--~~~---~-

[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2009-01-01 Thread brnzn
Hey Timothy, I struggled with trying to match the Windows app behaviour too, but once you get the touch paradigm, it makes a lot of sense. In Windows apps you'll create a ListView control, populate it and let the user select a row or rows with the mouse. Based on the selection you'll let the us

[android-developers] Re: Barcode scanning through the camera

2009-01-01 Thread brnzn
Hey Timothy, Take a look at ZXing (pronounced Zebra Crossing): http://code.google.com/p/zxing/ brnzn On Jan 2, 9:14 am, Timothy DeWees wrote: > Can anyone point me to a library or something where I can get an idea > on how to accomplish scanning barcodes with the camera? > > I'm getting feat

[android-developers] Barcode scanning through the camera

2009-01-01 Thread Timothy DeWees
Can anyone point me to a library or something where I can get an idea on how to accomplish scanning barcodes with the camera? I'm getting feature request for an application I published that involve the use like what I describe above and I would love to see what I can work out. -- Kind Regards Ti

[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2009-01-01 Thread Timothy DeWees
Thanks, I understand the reasoning behind the blog and I'm probably trying to get the app to behave to much like a Windows application, but it would be nice to leave this up to the developer. Thanks for the prompt response and I look forward to more Android releases! On Dec 27 2008, 5:03 am, Rom

[android-developers] Re: Has anybody received an android dev phone in the US yet?

2009-01-01 Thread Tim Bray
I'm in Canada. Had it shipped to a friend in the US, got there 12/15 and got to me 12/18. I just got my first app to a demo-able condition. And hey, it's a pretty neat phone too. -T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Android application, with native code

2009-01-01 Thread Disconnect
I think he said "possible", not supported. And yes, its possible, but no, people with @google and @android addresses aren't going to help ;) Search around, there are bunches of examples. (Including mandelbrot, which was one for the first ones.) On Thu, Jan 1, 2009 at 4:45 PM, Dianne Hackborn wro

[android-developers] Re: Android application, with native code

2009-01-01 Thread Dianne Hackborn
Sorry, native code is currently not supported for applications. On Wed, Dec 31, 2008 at 7:07 AM, roy.vi...@googlemail.com < roy.vi...@googlemail.com> wrote: > > Hi, > I need to implement an Android application (with Activity, Intents and > all that jazz), which can be deployed with native code (l

[android-developers] Re: I guess the values/drawable tag translates to a "ColorDrawable" and not a "PaintDrawable"!

2009-01-01 Thread Dianne Hackborn
What docs need to be updated? On Thu, Jan 1, 2009 at 11:11 AM, Satya Komatineni < satya.komatin...@gmail.com> wrote: > > If i start with > > #f00 > > the java code > > Drawable d3 = activity.getResources().getDrawable(R.drawable.red_drawable); > Log.d("hw:",d3.getClass().getName()); > > will prin

[android-developers] Re: native c/c++ "hello world" _ problem

2009-01-01 Thread Lucius Fox
Thanks. Can you please tell me how can I write/run a c++ hello world program on the android emulator (on linux). And how can i run gdb to debug it? Thank you. On Tue, Dec 30, 2008 at 2:06 PM, AlexG wrote: > > Hi > > A good way to start is running: > > ./adb shell ls / > So you can see all the

[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2009-01-01 Thread GeorgeOfTheBush
How to get the position of an item that is focused in a listview by scrolling up or down using the up/down keys? Also, what is the difference between onClick and onItemSelected? i.e. when is each one called?? Thanks. On Dec 27, 3:03 pm, Romain Guy wrote: > In short: you don't, you can't, you

[android-developers] Announcing Ice for Android 0.1.0

2009-01-01 Thread MS
ZeroC's Internet Communications Engine (Ice) is a modern object- oriented middleware solution for building distributed applications. We are pleased to add Android to our list of supported platforms with the first release of Ice for Android. You can find more information here: http://www.zeroc.com

[android-developers] using XML properties for Views

2009-01-01 Thread vincism...@gmail.com
SO I am still a bit confused on how to control the layout of a View object. I have noticed two things 1) the current API is limited and cannot set all the view properties which are exposed as XML 2) that the complete control of a View layout is best controled thru an XML object However for my ap

[android-developers] Android application, with native code

2009-01-01 Thread roy.vi...@googlemail.com
Hi, I need to implement an Android application (with Activity, Intents and all that jazz), which can be deployed with native code (legacy native C code). The Android application will call a single method in the native code during runtime. Is that possible and how? Happy new year :-> --~--~-

[android-developers] Threads, Message Queue, and Loopers

2009-01-01 Thread iliketolearn
I have a few questions and points of clarification. Any help is appreciated. 1) Does each thread have it's own message queue? Does each process have it's own message queue? Or, is there simply 1 global system message queue? 2) If there are in fact multiple message queues, when there is a System

[android-developers] How to highlight the background of a textView

2009-01-01 Thread manoj
Hi friends, I am using LinearLayout. I am adding some texts to this layout (as a list). When I click the particular text, its background should be changed to some colour. I am using the code like: View text = parent_layout1.findViewById(R.id.text); text.setBackgroundColor(R.color.solid_blue);

[android-developers] How to replace mobile phone to display interface

2009-01-01 Thread 沈仁奎
How to replace mobile phone to display interface when in coming call? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.co

[android-developers] Re: How to quickly update the package without restarting the simulator?

2009-01-01 Thread Pete Wright
See the other replies in this thread. You don't need to. Just leave the emulator running, make your code changes and run the application again. The emulator will not reboot and go through the startup process over again, but will instead just run the newly changed app. On Dec 30, 6:37 pm, Xiongzh

[android-developers] Re: Has anybody received an android dev phone in the US yet?

2009-01-01 Thread Ben Burgess
First off, they state on the site that they ship within 3 business days... that means that next day air could take up to 4 days! Also, BrightStar Corporation is a large international distributer. On Dec 17, 9:01 pm, eric wrote: > Apparently next-day air is pointless. I ordered it on the 15th, F

[android-developers] Happy new year

2009-01-01 Thread satheesh kumar
Hi all, Wish you a happy new year 2009 Thanks, Satheesh www.androidindians.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@goo

[android-developers] TimeZone Data from GPS coordinates

2009-01-01 Thread Kekoa
I am looking for a way to get the timezone of any given GPS coordinates. I can't find anything useful in the API docs. Does anyone know how to accomplish this? Is there some sort of API that will give me timezone data for a GPS position, or even for common places, such as USA states, Canadian p

[android-developers] Re: Has anybody received an android dev phone in the US yet?

2009-01-01 Thread t...@huppi.com
Just a data-point from someone in CA, USA. I ordered around 12/15 with 'fedex overnight' option thinking maybe I could get it before my vacation on the 19th. No dice. Brightstar managed to bill me three times and get my credit card blocked while I was traveling, but they removed the extra charg

[android-developers] No route to host running off battery with WIFILock

2009-01-01 Thread prunicki
I have written a small app that acquires a WIFILock. Every 15 seconds it does a small http request. If the G1 is running on battery and the screen saver kicks on it will ultimately result in "No route to host" - despite the fact that the connection appears to be up when checking the WifiManager

[android-developers] Re: Device id

2009-01-01 Thread LeshaK
> I need a generic way to check if the user is on the real device. > .. > Any ideas? May be check IMEI? for Emul IMEI = 000 for real device - real IMEI? *** Get IMEI for G1 *** TelephonyManager mTelephonyMgr = (TelephonyManager)getSystemService (Context.TELEPHONY_SERVICE); String sIME

[android-developers] Can anybody tell me the gprs setting of Android dev phone?

2009-01-01 Thread qie0559
Can anybody tell me the gprs setting of Android dev phone? I am in US, use T-mobile sideclick. I try many times, but failed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Copy And PAste API

2009-01-01 Thread CkurtM
Is there a way in which i can implement copy and paste in a textview or listview. I want to be able to retrieve the selected text that a user selects on the phone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Should be able to launch an Activity from the browser (not a WebView)

2009-01-01 Thread Tim Bray
Yes, I know you can do this from your handbuilt WebView. But I suggest that it's a serious lack in Android that I can't launch an Activity from Javascript straight out of the regular browser. I have built an Activity that does some cool stuff given a URI, and URIs are commonly encountered in brows

[android-developers] Re: HELp?

2009-01-01 Thread Pete Wright
You're best place to start is actually at the official Google Android page http://code.google.com/android/documentation.html There's plenty of links to getting started guides, tutorials, the SDK itself and so on over there. On Dec 29, 5:30 pm, "aaronleaman...@googlemail.com" wrote: > Im intr

[android-developers] Re: Market paid-for apps

2009-01-01 Thread Faisal Abid
Andspot.com/blog is launching paid apps this week On Jan 1, 2009 12:47 PM, "Al Sutton" wrote: I'd start packing, the email reads; "we will enable priced app support in Q1 for developers operating in these countries in the following order:" Note the word operating, not selling to, so my unders

回复: [android-developers] Re: Android D ev Phone Battery life

2009-01-01 Thread mark lee
• •It needs improve the WIFI power management, actually the Android hasn't a good strategy for WIFI power management. --- 08年12月29日,周一, Steve 写道: 发件人: Steve 主题: [android-developers] Re: Android Dev Phone Battery life 收件人: "Android Developers" 日期: 2008,1229,周一,10:58下午 I keep the WiFi on i

[android-developers] imeem and buffering audio with MediaPlayer

2009-01-01 Thread Dan McGuirk
Hi, I'm wondering if anyone knows how the imeem application is handling its streaming audio. It seems to be able to buffer the entire track as quickly as possible, as well as buffering the upcoming track before it is played. As far as I can tell from reading several other threads here, that is

[android-developers] Re: No route to host running off battery with WIFILock

2009-01-01 Thread Andrew Prunicki
Update. I have had success maintaining the WIFI connection by using a wakelock (partial) in combination with a wifilock. Now my app successfully maintains the wifi connection even when the screen goes black - albeit at cost to battery life. If anyone has any other insights they would like to sha

[android-developers] Memory Info

2009-01-01 Thread Rajesh
How do i find the following? 1) Total available memory on the phone 2) Size of the memory card, available memory on the card, free memory on the card 3) Free memory on the phone 4) Heap size of JVM - used and free --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Has anybody received an android dev phone in the US yet?

2009-01-01 Thread Ben Burgess
I placed my order on 12/29 with Priority Overnight. It shipped 12/30 and I received the tracking number via email. Phone was delivered on time today, 12/31. I have yet to set it up but I'll report back when I do. I will be manually setting the APN using quickim information. (QuickIM http://www.q

[android-developers] Re: Updated XMPP Client (using Smack)

2009-01-01 Thread Kand Lian
Hi Dava, It looks like the link that you provided are invalid. Could you please help us fix this problem? I need your smack patches to work on an android application. Thanks very much, Kand On Dec 29 2008, 1:17 pm, "Davanum Srinivas" wrote: > Folks, > > finally got around to updating my xmpp s

[android-developers] Surprisingly difficult to locate touches in MapActivity

2009-01-01 Thread Tim Bray
If you use a pre-cooked MapActivity you can fetch its MapView. Since you're not extending anything, you can't override that MapView's onTouchEvent(). So all you really have is the Activity's dispatchTouchEvent, whose x and y are whole-screen pixels. I guess if you hand-construct the View as opp

[android-developers] Finding the classes loaded in the JVM

2009-01-01 Thread Rajesh
In Java, there is Instrumentation class which will give a list of classes loaded in the JVM. Does Android provide any Classes to retrieve this info? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: Market paid-for apps

2009-01-01 Thread madcoder
I'm an American living in Thailand, and I want to sell to the US, UK, etc. I plan on having multiple languages (when it's fully supported). It would make sense for Google to allow people outside of a country list apps for a different country. But I don't know if Google will allow this or not.

[android-developers] phone fusion app

2009-01-01 Thread benjamin
I downloaded the Phone Fusion App and every time I get a voicemail I also get a text message with a generic number. Is there a plan to remove that function or should I discontinue using the Phone Fusion Application? Thanks. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: how to enable internet access in emulator v1.0

2009-01-01 Thread anand
i hope the following documentation has the answer you are looking for: http://code.google.com/android/reference/emulator.html#proxy - On Dec 30 2008, 6:32 am, sheik wrote: > Hi ... > About theinternetconnection in emulatorv1.0 . > > I am working behind theproxyso, am unable to connect t

[android-developers] Re: Jumping to #link after using loadDataWithBaseURL()

2009-01-01 Thread Jack C. Holt
Sorry, I forgot to mention that I am using the .loadDataWithBaseUrl() method. I assume that if I had used the loadUrl() this would not be an issue but I need to generate the HTML that is to be displayed in the WebVew. BTW, I tried appending the fragment (i.e., "#12" to the end of the base URL an

[android-developers] I guess the values/drawable tag translates to a "ColorDrawable" and not a "PaintDrawable"!

2009-01-01 Thread Satya Komatineni
If i start with #f00 the java code Drawable d3 = activity.getResources().getDrawable(R.drawable.red_drawable); Log.d("hw:",d3.getClass().getName()); will print android.graphics.drawable.ColorDrawable If that is true may the docs need to be updated. Thanks Satya --~--~-~--~~

[android-developers] Re: Animation flicker when change to flipped version.

2009-01-01 Thread ron
If I put the flipped character images in the same bitmap, then there will be no flickering switching between them. So my question is why drawing from a different bitmap (flipped) will introduce flickering, while putting them all in the same sprite sheet and draw from the same bitmap will not?? I

[android-developers] Re: Receive notification for onDestroy, onStop, and onPause etc in other applications?

2009-01-01 Thread focuser
Just to clarify: by this I meant to receive notification when onDestroy, onStop etc in other applications are called, i.e. somehow monitor the life cycle of apps running on the phone. On Dec 31 2008, 5:01 pm, focuser wrote: > Hi, > > Is there a way to programmatically receive notification onDest

[android-developers] How can I specify radius and radii to a drawable resource element

2009-01-01 Thread Satya Komatineni
Is this possible as a subelement of ""? Or do I have to create a separate xml file in the "/res/drawable" sub directory? Thanks Satya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Re: Market paid-for apps

2009-01-01 Thread Al Sutton
I'd start packing, the email reads; "we will enable priced app support in Q1 for developers operating in these countries in the following order:" Note the word operating, not selling to, so my understanding is you need to be based in those countries so that Google can process the necessary t

[android-developers] Re: Market paid-for apps

2009-01-01 Thread Chister Nordvik
I understood it differently :-) The market will open to different countries but the origin of the developer doesn't matter. So if you are based in Spain, you can still sell to US/UK market when that opens up. If this is not the case, then I am moving to the UK tomorrow :-) -Christer On Dec 31 2

[android-developers] Re: SMS Inbox: 2008's toughest problem ( At least for me)

2009-01-01 Thread Timothy DeWees
I ran into something similar and I needed to tell the manifest to use the right permission. Check your android manifest and make try something like this: http://schemas.android.com/apk/res/android"; package="com.app.you.package" android:versionCode="1" android:versionName="1.0

[android-developers] Re: Service will not stay running

2009-01-01 Thread bparker
Any way to do this without keeping the phone tied to a PC? On Dec 29 2008, 6:17 pm, Tomei Ningen wrote: > You can run logcat in a DOS window. That way it will keep as much log as you > have disk space > > DOS> adb logcat > file > > > From: bparker > To: Android

[android-developers] ActivityThread( 200): Failed to find provider info for data

2009-01-01 Thread AlexG
Hi I am trying to start the ViewImage activity from my code I am getting the error above in the log and the image appears empty This is my code: String url = "content://data/app/example.jpg"; Uri uri = Uri.parse(url); Intent i = new Inten

[android-developers] Pass state from Activity to Service

2009-01-01 Thread mobilek...@googlemail.com
Hi, I'm having hard time working out how to accomplish that. In my activity I call my service as follows: private void startService(){ Intent myIntent = new Intent(this, MyService.class); Bundle b = new Bundle(); b.putSerializable("userBean", user); myIntent .putE

[android-developers] Template for End User Licence Agreement

2009-01-01 Thread Brad Gies
Is there a template for an End User Licence Agreement available anywhere? Or any kind of a "standardized" method of showing it? Just checking before I write my own :-) Sincerely, Brad Gies - Brad Gi

[android-developers] Re: SDK 1.0r2 emulator start failed on linux

2009-01-01 Thread Diego Torres Milano
Did you invoke 'emulator -wipe-data' first ? On Jan 1, 2:46 am, lucky wrote: > Hi, > > After I download the SDK 1.0 r2 from website today, the emulator > startup failed. from the log below, it caused by some core jave libary > load failed! who can help give some clues? > > D/dalvikvm( 188): Fai

[android-developers] using Music application

2009-01-01 Thread AlexG
Hi I am looking for a way to open generic Android apps for different files. For example, if I need to play a mp3 I would like to open the Music app and make it play it. I am doing something similar with the browser: Intent i = new Intent(); ComponentName comp =

[android-developers] Re: WebView and JavaScript functionality

2009-01-01 Thread mboehmer
Hi, execution of normal JavaScript should be possible. But you have to turn it on. Best regards mboehmer On 1 Jan., 14:16, Tez wrote: > Hi, > > I'm trying to launch a Web2.0 app from within a WebView. Can anyone > tell me what kind of JavaScript functionality is available to web apps > from wi

[android-developers] WebView and JavaScript functionality

2009-01-01 Thread Tez
Hi, I'm trying to launch a Web2.0 app from within a WebView. Can anyone tell me what kind of JavaScript functionality is available to web apps from within the WebView environment? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are su

[android-developers] Re: Sharing a MapView between two Activities

2009-01-01 Thread mscwd01
I guess this is not possible yet? How about including an Activity in a "frame" within both activities, could this be possible? On Dec 30 2008, 9:22 pm, mscwd01 wrote: > I have encountered memory issues in the past when using more than one > MapView in a given application. > > However in the appl

[android-developers] Re: why not ship android dev phone to china mainland?

2009-01-01 Thread babyblue
There's not much difference between G1 and Dev Phone. If you can't get a dev phone, just get G1 instead. On 1月1日, 下午8时25分, Margaret wrote: > the unlock G1 is not Dev Phone > > mawei...@gmail.com > 13585201588 > > 2009/1/1 babyblue : > > > > > Hi > > > As an alternative you can buy an unlock g1 i

[android-developers] Re: How to start the standard MusicBrowserActivity?

2009-01-01 Thread AlexG
It is probably similar to this in some way: String url = "http://www.msn.com";; Intent i = new Intent(); ComponentName comp = new ComponentName ("com.android.browser", "com.android.browser.BrowserActivity"); i.setComponent(comp); i.

[android-developers] Re: why not ship android dev phone to china mainland?

2009-01-01 Thread Margaret
the unlock G1 is not Dev Phone mawei...@gmail.com 13585201588 2009/1/1 babyblue : > > Hi > > As an alternative you can buy an unlock g1 in Zhongguancun. It won't > cost much now. > > On 2008年12月28日, 下午2时07分, mawei1981 wrote: >> Hi,all >> >> why not ship android dev phone to china mainland? >

[android-developers] InstrumentationTestCase for UI integration testing

2009-01-01 Thread tenacious
I'm writing a UI integration test that clicks a context menu item and checks the appropriate activity was launched - reminiscent of selenium testing. I can't get my test to work. It hangs after executing testContextMenuOption() - apparently completing execution of "tearDown ()" - and hanging bef

[android-developers] Re: Icons - Recommended size, format, etc?

2009-01-01 Thread for android
The size is in-fact 25*25 http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=core/res/res/drawable;hb=HEAD You will find the different images which are used for notification and other icons also in the above link. Specifically for the notifications I looked into the Mms app s