[android-developers] Re: adb version failed

2009-03-20 Thread jammy
i installed android in windows and checked it... the problem that i am facing is in windows eclipse R.java is created as soon as i create new project but in fedora 10 R.java is not created.. because of that it is showing error. Erron while loading shared libraries:libncurses.so. 5:wrong ELF

[android-developers] Cupcake Bluetooth handsfree problem?

2009-03-20 Thread Long
I meet some problem while using cupcake bluetooth handsfree. 1. Phone only can pair with pin BT headset automatically, but never pair succeed with headset with pin 1234 (never prompt pin code dialog for input?) 2. Connecting BT headset always fail if the BT headset only suport HFP/ HSP

[android-developers] Re: how to set android font style to bold

2009-03-20 Thread Kacza
On 19 Mar, 21:33, Meryl Silverburgh silverburgh.me...@gmail.com wrote: In android, if I have a TextPaint object, how can I set the font style to be 'bold'? I can't find any method in TextPaint or Paint to allow me do that. Try this:

[android-developers] How to achieve iPhone like transition effect between screens?

2009-03-20 Thread frizzo
You've probably seen the effect on the iPhone when you go to the next screen, it flips the screen, making it appear, like you just flipped over a card and a new screen appeared. There is a demo of something similar in the APIDemos (Views/Animation/ 3D Transition), but the transitions are between

[android-developers] Re: TextView

2009-03-20 Thread Mr.No
You can use the method setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) from the TextView to set the left, right, top, bottom drawables to the TextView. For the underlined effect u can use a line as a image and set setCompoundDrawables(null,null, null, line);

[android-developers] Re: Android Developer Challenge II Cancelled?

2009-03-20 Thread Dr.Luiji
Thanks Dan for the clarification. On Mar 19, 10:39 pm, Dan Morrill morri...@google.com wrote: Oops.  Looks like that page was collateral damage when we did the move to developer.android.com.  We're looking into it; thanks for pointing it out.  At any rate the content that would be there

[android-developers] How to create a file on Android System?

2009-03-20 Thread zypsg
Hi,All: I need to save some persistent data (byte array) in my application.I decided to write these data into a file on the Android hardware.But I cannot create a file under /system/ or /data/. Can any body tell me under which directory can I create a file to save my data except SDCARD(Because

[android-developers] Re: what is maximum size of application database allowable in Android?

2009-03-20 Thread Dirk Jäckel
Hi! How can I use the SDCARD for my sqlite3-database storage? Regards, Dirk On Fri, Mar 20, 2009 at 10:17 AM, Rajesh S rajeshs...@gmail.com wrote: Yes ~60MB on internal flash of htc-dream/g1/adp1. But about 300MB on htc-magic. If you manage to use external sdcard for this, then that is the

[android-developers] Re: TextView

2009-03-20 Thread Mr.No
Thx On 20 Mrz., 09:45, Mr.No f.hi...@arcor.de wrote: You can use the method setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) from the TextView to set the left, right, top, bottom drawables to the TextView. For the underlined effect u can use a line as a

[android-developers] Re: Performance Problem with ListView / Styled TextView

2009-03-20 Thread for android
i was trying to tell you use the ViewHolder pattern as in the list demos...and just added that you can use TwoLineListItem instead of creating your own.. On Fri, Mar 13, 2009 at 1:15 AM, Mariano Kamp mariano.k...@gmail.comwrote: Hi forandroid, I guess you're talking about the class

[android-developers] Re: How to achieve iPhone like transition effect between screens?

2009-03-20 Thread Rajesh S
nope .. not through existing apis.. if you have tried cupcake, you probably know that there are transitions added by the changes in core engine. no it is not by changing a single home app or any such thing. not sure if flip has been planned. on cupcake even the minor zooming out transitions

Re: 回复: [android-developers] How to create a file on Android System?

2009-03-20 Thread zypsg
It works!Thanks! On Mar 20, 5:18 pm, Jiang webs...@yahoo.cn wrote: under /data/data/app package name/ --- 09年3月20日,周五, zypsg zhaoyongp...@gmail.com 写道: 发件人: zypsg zhaoyongp...@gmail.com 主题: [android-developers] How to create a file on Android System? 收件人: Android Developers

[android-developers] Re: how to set android font style to bold

2009-03-20 Thread Carl Whalley
mPaint.setTypeface(Typeface.DEFAULT_BOLD); -- Android Academy: http://www.androidacademy.com On Mar 19, 8:33 pm, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, In android, if I have a TextPaint object, how can I set the font style to be 'bold'? I can't find any method in TextPaint

[android-developers] tools dex

2009-03-20 Thread estibaliz.telefon...@gmail.com
Hi! I'm trying to use the dex tool with felix.jar. The result is the following: C:\Devel\android\toolsdx --dex --output=classes.dex E:\TELEFONICA \Devel\osgi-an droid\bin\felix.jar warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn 't come with an associated

[android-developers] Re: Taking picture by camera correct intent action and extras?

2009-03-20 Thread Prasanna
when is the next release going to be? I was thinking of flashing my dev phone to put the cupcake tree contents but seems like the Camera application still returns small image size. On Mar 4, 1:42 am, Dave Sparks davidspa...@android.com wrote: The image capture intents for the 1.0 and 1.1

[android-developers] Implementing chat.......................

2009-03-20 Thread Pratap
We are workin on a project, in which we need to provide the facility of chatting betwn users, for that i need to poll the server countiniously to recieve/send the chat msgsDoes anybody know how to do it..reply as soon as possible Thanks everyone! Pratap S.

[android-developers] Re: Ringtone picker -- how to get return value from EXTRA_RINGTONE_PICKED_URI

2009-03-20 Thread for android
From your onActivityResult Uri uri = data .getParcelableExtra(RingtoneManager.EXTRA_RINGTONE_PICKED_URI); On Mon, Mar 16, 2009 at 12:50 PM, Ed99 willi...@gmail.com wrote: So I'm having trouble getting the return value from the RingtonManager's ACTION_RINGTONE_PICKER activity... I'm

[android-developers] Re: Implementing chat.......................

2009-03-20 Thread mobilekid
Follow this thread: http://groups.google.com/group/android-developers/browse_thread/thread/4778a4e2ed9d49e1 On Mar 20, 10:58 am, Pratap pratap.sola...@gmail.com wrote: We are workin on a project, in which we need to provide the facility of chatting betwn users, for that i  need to poll the

[android-developers] Re: IWindowManager Not Available

2009-03-20 Thread AndRaj
Thank you Lars for your quick reply, Just add tools\lib\layoutlib.jar to the build path I am not getting you... can you explain the steps little bit deep.. I am not geting about the laoutlib.jar. Reagrds, andraj On Mar 19, 7:29 pm, Lars lars.bra...@gmail.com wrote: Actually you can use

[android-developers] Launching adb commands programtically from android application

2009-03-20 Thread Asif k
Hi all, Is it possible to launch adb commands programatically from any android application? For e.g. installing .apk file to /data/app/ directory from another android application using some APIs?? regardz, Asif --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Creating Android.Jar File

2009-03-20 Thread AndRaj
Hi Kenny, But this also will generate the default android.jar file what we can get from the Android SDK. My problem is when you make the android.jar from the source code will it make the SDK from all the available APIs in the source code.. For example, The Iwindow manager interface is not

[android-developers] Re: Launching adb commands programtically from android application

2009-03-20 Thread AndRaj
You can't install the apk file from another application there are some security issues is there. then you can do that by call Runtime.getRuntime().exec(your command); This will do... regards, AndRaj On Mar 20, 4:40 pm, Asif k asifk1...@gmail.com wrote: Hi all,   Is it possible to launch

[android-developers] Re: Launching adb commands programtically from android application

2009-03-20 Thread Mark Murphy
Is it possible to launch adb commands programatically from any android application? No. The adb program runs on your development machine, not a device. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

[android-developers] Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread sdz
Hi, it would be great to get scalable open Vectors in the browser. Thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Mark Murphy
it would be great to get scalable open Vectors in the browser. From http://webkit.org/projects/svg/index.html: At this time there is an experimental SVG implementation in WebKit I would encourage you to let the WebKit group know of your interest, as I suspect that, so long as SVG is described

[android-developers] Re: raw data from sound file

2009-03-20 Thread maisonobe alexandre
hello, thank you for the answer :) unfortunately i need this for a school project , so i can't really wait for the next release. i'll try that way ! 2009/3/19 clark clarkd...@gmail.com Sure, you just need an appropriate codec to decode it. Since Android apps use Java, you may want to look

[android-developers] Re: How to achieve iPhone like transition effect between screens?

2009-03-20 Thread mobilekid
You can work out your own solution with animations and playing with the visibility mode of the layout wrappers holding your views in the activities. But that proves to be quite expensive solution. I think with the current API this effect is natively supported with ListActivities, there are many

[android-developers] Re: Help using autocomplete in my database.....

2009-03-20 Thread roland
Hi, you don't need to modify bindView and convertToString, just conserve the variable columnIndex, because in the constructor of MyCursorAdpter you can pass which column index you want to search. So you just need to modify the sql query in runQueryOnBackgroundThread, replace the name with _id.

[android-developers] Server Socket on Real Device

2009-03-20 Thread Cadge
Basically what I want to achieve is have a server running on an android device that a P.C/Laptop/whatever can connect to using sockets. Currently I have this working on an emulator, where I can send a simple text String, but obviously networking on a real divice is different. I was just

[android-developers] Re: Launching adb commands programtically from android application

2009-03-20 Thread Ask
Mark, Then is there any way to copy one file xyz.abc.apk from the /sdcard to /data/app/ folder using the application. Because I want to call it at the runtime using PathClassLoader but for that .apk file must be in the /data/app folder. Regardz, Asif On Mar 20, 5:00 pm, Mark Murphy

[android-developers] Re: Server Socket on Real Device

2009-03-20 Thread Daniel Janev
Hi, Here is your problem: ... socket = new Socket(127.0.0.1, 1234); ... Youhave to use the IP address the device has :) 127.0.0.1 means localhost :) Just find the IP address (probably you use WLAN of the device) and use it in your test. Cadge wrote: Basically what I want to achieve

[android-developers] Re: Using WifiManager or WifiConfiguration.Status

2009-03-20 Thread MrChaz
It works fine for me I assume you're using the permission uses-permission android:name=android.permission.ACCESS_WIFI_STATE/ uses-permission On Mar 19, 10:53 am, wafa wafa_ga...@hotmail.com wrote: Hi all, Does anyone have an idea how use those Class(WifiManager or WifiConfiguration.Status)

[android-developers] Re: Server Socket on Real Device

2009-03-20 Thread Cadge
Ok but what about if the device is not connected to Wifi, is there an easy way to get the IP address and use sockets as above? Thanks again. On Mar 20, 1:28 pm, Daniel Janev d.ja...@prosyst.com wrote:         Hi, Here is your problem: ... socket = new Socket(127.0.0.1, 1234); ...

[android-developers] Re: Launching adb commands programtically from android application

2009-03-20 Thread Mark Murphy
Then is there any way to copy one file xyz.abc.apk from the /sdcard to /data/app/ folder using the application. Because I want to call it at the runtime using PathClassLoader but for that .apk file must be in the /data/app folder. No. The /data/app folder is not accessible by applications,

[android-developers] Re: Server Socket on Real Device

2009-03-20 Thread Daniel Janev
If the device is not connected to any WiFi network it will not be accessible at all :) Probably using GPRS or EDGE you'll release some IP address but you won't be able to access the phone using this address. For my suggestion is to connect the device to a WiFi and afterwards to connect to the

[android-developers] Re: Deleting Incoming SMS???

2009-03-20 Thread Gulfam
Hi all, I am also facing exact same problem as said below any one can help us Regarding this.its very urgent for me. Regards, Gulfam On Feb 15, 4:57 am, Matt Bruce mbruced...@gmail.com wrote: I have an SMSReceiver that I built to intercept a particular type of SMS that would run a service.  

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Faber Fedor
On Thu, Mar 19, 2009 at 10:16 PM, Dianne Hackborn hack...@android.comwrote: That list is... very questionable. It contains lots and lots of resources that are not in the public SDK, and which you should not be using. Then how about pointing us to a list that isn't questionable? Or at least

[android-developers] Re: How to build the wlan module (driver)

2009-03-20 Thread Disconnect
...huh? Its open source. (Its ugly as hell, but its open.) http://android.git.kernel.org/?p=platform/system/wlan/ti.git;a=summary On Fri, Mar 20, 2009 at 5:12 AM, Rajesh S rajeshs...@gmail.com wrote: join TI. unfortunately it is a close source component on the HTC device. Android might not

[android-developers] Re: Server Socket on Real Device

2009-03-20 Thread Cadge
Ok so doing it that way is out of the question. Is there an alternative way that this could be achieved ? i.e send data from the client machine to the android sever without having to be connected on WiFi? On Mar 20, 2:12 pm, Daniel Janev d.ja...@prosyst.com wrote: If the device is not

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread gsmd
I'd suggest to check out the sources from git search for .pngs there. At least, that's what I did. On Mar 20, 2:43 am, Agus agus.sant...@gmail.com wrote: Does anyone has a complete list of native drawables listed on a webapage ? I don't want to do trial and error.. Any help is appreciated.

[android-developers] Re: How the use same instances when launching application twice ?

2009-03-20 Thread Derek
Hi again, And what about if I call finish(); Is the Activity really destroyed even if I use singleTask ? Thanks. On Mar 17, 7:59 pm, Derek cram.de...@gmail.com wrote: Do I need both addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); and android:launchMode=singleTask in AndroidManifest.xml ? On Mar

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button

2009-03-20 Thread Streets Of Boston
Thanks! I'll give that a try. On Mar 19, 7:12 pm, Marco Nelissen marc...@android.com wrote: Try calling abortBroadcast() in your receiver. On Thu, Mar 19, 2009 at 7:18 AM, Streets Of Boston flyingdutc...@gmail.com wrote: When i press the phone's camera button, both my application and

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Sena Gbeckor-Kove
Sounds like a great Summer of Code project :) S On 20 Mar 2009, at 12:54, Mark Murphy wrote: it would be great to get scalable open Vectors in the browser. From http://webkit.org/projects/svg/index.html: At this time there is an experimental SVG implementation in WebKit I would

[android-developers] Re: adb version failed

2009-03-20 Thread David Turner
On Thu, Mar 19, 2009 at 11:29 PM, jammy jammy.fivef...@gmail.com wrote: i installed android in windows and checked it... the problem that i am facing is in windows eclipse R.java is created as soon as i create new project but in fedora 10 R.java is not created.. because of that it is showing

[android-developers] Help with dialog builder and resource problem please

2009-03-20 Thread madcoder
I'm trying to build an alert dialog with a builder. The code is from the svn here: http://code.google.com/p/apps-for-android/source/browse/trunk/DivideAndConquer/src/com/google/android/divideandconquer/Eula.java?r=93 There is also a web site with description of how to use the code here:

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Bonifaz
Have a look at android-sdk-windows-1.1_r1\tools\lib\res\default \drawable. I suppose these are the public drawables. On Mar 20, 3:42 pm, Mark Murphy mmur...@commonsware.com wrote: That list is...  very questionable.  It contains lots and lots of resources that are not in the public SDK,

[android-developers] Re: Why can not edit /init.rc on adp1 with firmware 1.1?

2009-03-20 Thread cpedia
Thank you Rajesh. I also found the answer from xda-developer. http://forum.xda-developers.com/showthread.php?t=443994 I made a new boot images under my mac, but after I flashed to the phone, the phone failed to start. So I flashed the firmware back to official 1.1. On Mar 19, 1:08 am, Rajesh

[android-developers] Re: How to achieve iPhone like transition effect between screens?

2009-03-20 Thread madcoder
Hopefully the final cupcake release will have smoother transitions than presently available. If not, I'll have to wait until the hardware can handle it. On Mar 20, 6:31 pm, mobilekid mobilek...@googlemail.com wrote: You can work out your own solution with animations and playing with the

[android-developers] Re: Scheduling a repeating task and being notified

2009-03-20 Thread Kenny
Where to find RemoteCallbackList sample code? On Mar 19, 10:03 pm, Streets Of Boston flyingdutc...@gmail.com wrote: I did something similar, however, i did not use a BroadcastReceiver to get callbacks back from the service. Instead i used the RemoteCallbackList class:  

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread madcoder
I would love to SVG implemented at the graphics API level. Any possibility of it coming to Android in the future? On Mar 20, 6:54 pm, Mark Murphy mmur...@commonsware.com wrote: it would be great to get scalable open Vectors in the browser. Fromhttp://webkit.org/projects/svg/index.html:

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Sena Gbeckor-Kove
Does Batik not work? I haven't tried it on Android if not I doubt it would be a huge amount of work, though I'm not volunteering, I just don't really need it for what we're doing at the moment :) S On 20 Mar 2009, at 16:46, madcoder wrote: I would love to SVG implemented at the graphics

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Sena Gbeckor-Kove
Here's the url by the way http://xmlgraphics.apache.org/batik/ S On 20 Mar 2009, at 16:46, madcoder wrote: I would love to SVG implemented at the graphics API level. Any possibility of it coming to Android in the future? On Mar 20, 6:54 pm, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Paper Coder
oh On Fri, Mar 20, 2009 at 10:57 PM, Sena Gbeckor-Kove s...@imkon.com wrote: Does Batik not work? I haven't tried it on Android if not I doubt it would be a huge amount of work, though I'm not volunteering, I just don't really need it for what we're doing at the moment :) S On

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Pd
Why not have a look at the res/drawable folder in the android.jar. gsmd wrote: I'd suggest to check out the sources from git search for .pngs there. At least, that's what I did. On Mar 20, 2:43 am, Agus agus.sant...@gmail.com wrote: Does anyone has a complete list of native drawables

[android-developers] Re: Deleting Incoming SMS???

2009-03-20 Thread Kenny
I was looking for the solution too. It seems impossible to intercept TEXT SMS. It will go to Inbox definitely. Kenny On Mar 20, 10:30 pm, Gulfam gulfa...@gmail.com wrote: My problem is same as MattBruce said. On Mar 20, 7:28 pm, Gulfam gulfa...@gmail.com wrote: Hi all, I am also facing

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Sena Gbeckor-Kove
Yes, it's pretty damn sweet isn't it :) S On 20 Mar 2009, at 17:00, Paper Coder wrote: oh On Fri, Mar 20, 2009 at 10:57 PM, Sena Gbeckor-Kove s...@imkon.com wrote: Does Batik not work? I haven't tried it on Android if not I doubt it would be a huge amount of work, though I'm

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Paper Coder
To think of the day of work I could've saved if I known these were there. So much for my custom icons :) On Fri, Mar 20, 2009 at 11:02 PM, Pd lotusscr...@gmail.com wrote: Why not have a look at the res/drawable folder in the android.jar. gsmd wrote: I'd suggest to check out the sources

[android-developers] Want a background Service to show Toasts on Device Screen

2009-03-20 Thread Graeme
Hi I have a background service component which is reacting to changes in network connectivity. I would like to alert the user that a a connectivity change event has occurred by popping up a Toast View on the device screen. Is this possible ? Can it be done even though a Service component does

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Sena Gbeckor-Kove
Don't be so sure. Try getting a demo working and se what it complains about, if you have the time that is. If you need hep I am around and I know Java pretty well. Otherwise I o know a very experienced SVGer who might be interested in getting this working. If I ever need it I'll convert it

[android-developers] Button (with background image ) doesn't show press action

2009-03-20 Thread zeeshan
Hi Android Experts, i have a login button as below: Button android:id=@+id/loginBtn android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=center android:background=@drawable/enter_button

[android-developers] Re: Deleting Incoming SMS???

2009-03-20 Thread strazzere
I believe this has been discussed previously and the result was you arn't allowed to do it, since someone could abuse this by sending and receiving messages without the user knowing. This is considered a no- no since it's a chargeable service. On Mar 20, 12:04 pm, Kenny yxw...@gmail.com wrote:

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Paper Coder
I will look into it more, but I think it's beyond my skills - and time. I will give it a go though, as I prefer to use SVG over png for my future apps. On Fri, Mar 20, 2009 at 11:23 PM, Sena Gbeckor-Kove s...@imkon.com wrote: Don't be so sure. Try getting a demo working and se what it

[android-developers] Re: Button (with background image ) doesn't show press action

2009-03-20 Thread Romain Guy
Hi, Is your background a state-list drawable? If not, the behavior you're witnessing is normal. On Fri, Mar 20, 2009 at 9:35 AM, zeeshan genx...@gmail.com wrote: Hi Android Experts, i have a login button as below: Button android:id=@+id/loginBtn                

[android-developers] Re: How to build the wlan module (driver)

2009-03-20 Thread Iliyan Malchev
This should work: cd system/wlan/ti/sta_dk_4_0_4_32 KERNEL_DIR=path-to-kernel make The kernel module will be at system/wlan/ti/sta_dk_4_0_4_32/wlan.ko On Fri, Mar 20, 2009 at 7:33 AM, Disconnect dc.disconn...@gmail.com wrote: ...huh? Its open source. (Its ugly as hell, but its open.)

[android-developers] Re: Want a background Service to show Toasts on Device Screen

2009-03-20 Thread Dianne Hackborn
Yes toasts can be shown by anyone; that is one of their main purposes. On Fri, Mar 20, 2009 at 9:22 AM, Graeme graeme.br...@btinternet.com wrote: Hi I have a background service component which is reacting to changes in network connectivity. I would like to alert the user that a a

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Dianne Hackborn
On Fri, Mar 20, 2009 at 9:38 AM, Paper Coder paperga...@gmail.com wrote: I will look into it more, but I think it's beyond my skills - and time. I will give it a go though, as I prefer to use SVG over png for my future apps. If you are rendering SVG on the device for your app images, expect

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Dianne Hackborn
As with other resources, the official list of public resources is here: http://developer.android.com/reference/android/R.drawable.html Note that a lot of these are actually things like state list drawable XML files, which map to some set of multiple underlying images that you can not directly

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Paper Coder
...expect your app to be painfully slow. Ouch! What about simple animations? I can see extensive animations bogging things down, but how about simple artwork and png animations for the fast stuff? On Fri, Mar 20, 2009 at 11:56 PM, Dianne Hackborn hack...@android.comwrote: On Fri, Mar 20,

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Dianne Hackborn
On Fri, Mar 20, 2009 at 9:02 AM, Pd lotusscr...@gmail.com wrote: Why not have a look at the res/drawable folder in the android.jar. That is what the originally referenced page shows (though a somewhat older version), but many of those are not in the public SDK. -- Dianne Hackborn Android

[android-developers] WebView issue (again)... Dianne?

2009-03-20 Thread Marc
So I've got a WebView, and in its content is a phone number. I hightlight it and click - voila, taken to the phone app. Now, all I do is add this code: wv.setWebViewClient(new WebViewClient() { @Override public boolean

[android-developers] Re: How the use same instances when launching application twice ?

2009-03-20 Thread Dianne Hackborn
Um, what you are requesting is the normal behavior. When you tap on an app's icon in home, it brings the current task of that app to the foreground if it is already running. And services are singletons so you can only every get a single instance of a service running. On Tue, Mar 17, 2009 at

[android-developers] Re: Creating Android.Jar File

2009-03-20 Thread Kenny
http://groups.google.com/group/android-developers/browse_thread/thread/0f9c17b789e2e602# may be your question answered. But I suggest to put the class file to the android.jar with JAR tool manually. I feel it feasible, haven't tried. Kenny On Mar 20, 7:42 pm, AndRaj rajendran.b...@gmail.com

[android-developers] Capture data packet of dev phone

2009-03-20 Thread Breno
Hi, Does anybody knows how can i capture data packets transmitted/ received by Dev Phone (real hardware)? this is very important in development stage. In emulator it's very easy, just start wireshark. I need to do the same in real hardware. Anybody knows? Thanks a lot Breno

[android-developers] Re: Creating Android.Jar File

2009-03-20 Thread Dianne Hackborn
You are posting on android-developers, so the answer is simple: DO NOT USE PRIVATE APIS. If you have code that needs to use private APIs, I strongly suggest you have it build as part of the regular platform build system, because what you are creating is code that is tied to the particular version

[android-developers] Re: IWindowManager Not Available

2009-03-20 Thread Dianne Hackborn
On Thu, Mar 19, 2009 at 7:29 AM, Lars lars.bra...@gmail.com wrote: Actually you can use some of them. Just add tools\lib\layoutlib.jar to the build path (Eclipse: right click the project, select Build Path/ Add Libraries. Click User Libraries, select Android libs, click Add JARs, browse to

[android-developers] Re: How to use traceview to analyze performance problems?

2009-03-20 Thread Dianne Hackborn
On Fri, Mar 20, 2009 at 5:42 AM, Mariano Kamp mariano.k...@gmail.comwrote: Yes, it is huge, complex and contains a WebView component. I attached two pngs to show you that. The one ending in graph is the hierarchy graph as exported by the hierarchyviewer tool. The one ending in grid is the view

[android-developers] Re: Android Developer Challenge II Cancelled?

2009-03-20 Thread SJ
Thanks for the clarification. And my $0.02 that it should be focused more towards the features and functionality and how it takes android over and above what it can normally do rather than how it fares in the marketplace. cheers, Sachin On Mar 19, 5:39 pm, Dan Morrill morri...@google.com

[android-developers] How to send a touch event on a soft keyboard?

2009-03-20 Thread Kevin
I want to write an test program which tests the input method, I want to simulate touch event on the screen in my instrumentation class and I used sendPointerSync() function, but when the keyboard shows on the screen, the sendPointerSync() function doesn't work, what should I do to achieve this

[android-developers] Re: Server Socket on Real Device

2009-03-20 Thread Simon Depiets
Hi, there is the Socket method : Socket.getLocalAddress().toString(); 2009/3/20 Cadge carruthersgor...@googlemail.com: Ok but what about if the device is not connected to Wifi, is there an easy way to get the IP address and use sockets as above? Thanks again. On Mar 20, 1:28 pm, Daniel

[android-developers] Re: Server Socket on Real Device

2009-03-20 Thread Simon Depiets
Hi, there is the Socket method : Socket.getLocalAddress().toString(); On Mar 20, 2:50 pm, Cadge carruthersgor...@googlemail.com wrote: Ok but what about if the device is not connected to Wifi, is there an easy way to get the IP address and use sockets as above? Thanks again. On Mar 20,

[android-developers] Finding location of a Phone

2009-03-20 Thread bhavna
Hi I want to find location of my phone. And then i want to draw that on the map. Can I find location of some other phone if i know the phone number or i need smthing else to find location of the other phones. plz reply as soon as possible. Regards, Bhavna

[android-developers] Android Video Capturing

2009-03-20 Thread Raghu
Hi ALL, I'm novice in Android and looking for Video Capturing app development. I read some docs ,depicts that no support for Android Video capturing. But I would like to make it using J2ME .. please suggest me how I can proceed ... thanks raghu

[android-developers] Re: How to create a file on Android System?

2009-03-20 Thread Zeeshan Khan
You can create on data/data/app - package/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] No RTSP streaming via Wireles LAN on G1????

2009-03-20 Thread bestpriv...@googlemail.com
I have difficulties to stream a video file via RTSP using wireless LAN inside the browser. It works fine over the cellular network (WLAN deactivated). But if WLAN is activated the player the starts loading the clip but eventually displays an alert window stating that video playback is not

[android-developers] How can I Resize Tabs (TabWidget)

2009-03-20 Thread Simon Depiets
Hi, I have a little problem, I'm doing landscape layouts and I can't resize the Tabs, which are huge like on this example and take nearly 1/4 of the screen http://ks363797.kimsufi.com/images/LlianeJapan11.png Editing the android:layout_height of TabWidget just cuts the bottom of the tab. Do

[android-developers] No RTSP streaming via Wireles LAN on G1????

2009-03-20 Thread bestpriv...@googlemail.com
When I open an RTSP link in my browser the media player tries to load the video but finally shows a dialog stating that playback is not supported. However, with WLAN deactivated everything works fine. I encountered this problem on m.youtube.com and on another site. Is it or bug? Why does

[android-developers] Checking how a program was installed?

2009-03-20 Thread strazzere
Is there a way to programmatically without root check and see how a program was installed? The only solution I've been able to find is using root - and tapping into a database that the Vending application uses; CREATE TABLE assets10(_id INTEGER PRIMARY KEY AUTOINCREMENT, content_uri TEXT, s

[android-developers] Re: A simple question regarding inter-process communication.

2009-03-20 Thread David Turner
On Fri, Mar 20, 2009 at 10:46 AM, Kenny yxw...@gmail.com wrote: I wonder if intents are sent across Linux processes too. Very anxious to know the answer. Of course, they are transparently send across processes when necessary, or sent locally if the receiver is in the same process. This magic

[android-developers] Re: getting android_id from GoogleLoginServiceBlockingHelper?

2009-03-20 Thread Dianne Hackborn
This will be fixed in cupcake, where we have a secure settings area that nobody outside of the system can touch. Also keep in mind that GoogleLoginServiceBlockingHelper is not public API. In fact it is not an Android API at all, it is part of the Google application suite which will not be on all

[android-developers] Re: Checking how a program was installed?

2009-03-20 Thread Dianne Hackborn
Sorry, the system doesn't know anything about whether the market installed the app; it doesn't know anything about the market at all. On Fri, Mar 20, 2009 at 10:42 AM, strazzere str...@gmail.com wrote: Is there a way to programmatically without root check and see how a program was installed?

[android-developers] Re: Server Socket on Real Device

2009-03-20 Thread David Turner
On Fri, Mar 20, 2009 at 7:12 AM, Daniel Janev d.ja...@prosyst.com wrote: If the device is not connected to any WiFi network it will not be accessible at all :) Probably using GPRS or EDGE you'll release some IP address but you won't be able to access the phone using this address. For my

[android-developers] Re: Why can not edit /init.rc on adp1 with firmware 1.1?

2009-03-20 Thread David Turner
that's because init.rc is really part of the ramdisk image (included in boot.img with the kernel image). You need to regenerate a new ramdisk + boot image for this to work. There is no way to modify this file after boot. On Wed, Mar 18, 2009 at 8:05 AM, cpedia cpe...@gmail.com wrote: I flashed

[android-developers] Re: Android Video Capturing

2009-03-20 Thread Mark Murphy
I'm novice in Android and looking for Video Capturing app development. I read some docs ,depicts that no support for Android Video capturing. Correct -- there is no current support for video capture in Android. But I would like to make it using J2ME Android has nothing much to do with J2ME.

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Mark Murphy
As with other resources, the official list of public resources is here: http://developer.android.com/reference/android/R.drawable.html Note that a lot of these are actually things like state list drawable XML files, which map to some set of multiple underlying images that you can not

[android-developers] Re: Capture data packet of dev phone

2009-03-20 Thread David Turner
On Fri, Mar 20, 2009 at 10:09 AM, Breno breno.min...@gmail.com wrote: Hi, Does anybody knows how can i capture data packets transmitted/ received by Dev Phone (real hardware)? this is very important in development stage. In emulator it's very easy, just start wireshark. I need to do

[android-developers] Re: Server Socket on Real Device

2009-03-20 Thread Cadge
Thanks for the replies, Just realised that my phone operator is using NAT. However I think trying to implement it this way, and then for it to maybe work isn't ideal, and probably not worth the hassle. So i'm looking into other options of connecting to the phone. Thanks again. On Mar 20,

[android-developers] Bouncing ListView?

2009-03-20 Thread zl25drexel
Hi, I wanted to make a special ListView for android that has the springy bounce effect like what they have in the iphone, Before I divide into coding it, can someone from google tell me whether that's possible if I just modify the ListView class or do I need to modify some other classes also?

[android-developers] Re: Bouncing ListView?

2009-03-20 Thread Dianne Hackborn
You're honestly probably better off just writing your own list view that does just what you want. Copy things you can from the current ListView, but the framework ListView class is very general and thus very tricky to modify. That said, I personally would advice against this. Android

[android-developers] Re: Does android webkit support html5?

2009-03-20 Thread Dan Morrill
We do aim to include features from HTML5 over time, but currently the Android Browser app does not include any HTML5 capabilities. It does include Gears, which might be useful to some developers but unfortunately has no counterpart for the audio tag. - Dan On Fri, Mar 20, 2009 at 10:47 AM, j

[android-developers] Delete SMS messages from SIM card

2009-03-20 Thread Mark K
Anyone know how to delete SMS messages from the SIM card? Thanks! Mark --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

  1   2   >