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

2009-03-20 Thread Dianne Hackborn
2009/3/20 zypsg >Do you mean that useopenFileOutput and openFileInput to > save > my persistent data ? Yes, and there are other methods for creating databases, getting paths, etc. >I have tried these methods.They create file under /data/data/ package>/files/ directory. I

[android-developers] Re: Question about layout child widget in a compound widget

2009-03-20 Thread Romain Guy
Just make your LinearLayout vertical. On Fri, Mar 20, 2009 at 9:46 PM, Meryl Silverburgh wrote: > > Thank you. > How can I lay out 1 label at a line? I try switching to > RelativeLayout, it is still the same problem. > > > On Fri, Mar 20, 2009 at 9:33 PM, Romain Guy wrote: >> >> Your LinearLayo

[android-developers] Re: Question about layout child widget in a compound widget

2009-03-20 Thread Meryl Silverburgh
Thank you. How can I lay out 1 label at a line? I try switching to RelativeLayout, it is still the same problem. On Fri, Mar 20, 2009 at 9:33 PM, Romain Guy wrote: > > Your LinearLayout is horizontal and both your children are width=fill_parent. > > On Fri, Mar 20, 2009 at 9:30 PM, Meryl Silver

[android-developers] Re: Question about layout child widget in a compound widget

2009-03-20 Thread Romain Guy
Your LinearLayout is horizontal and both your children are width=fill_parent. On Fri, Mar 20, 2009 at 9:30 PM, Meryl Silverburgh wrote: > > Romain, > > Thank you. But I change the height to wrap_content for both items. > I still see only 1 item in the emulator. > > Any idea please? > > > On Fri,

[android-developers] Re: Question about layout child widget in a compound widget

2009-03-20 Thread Meryl Silverburgh
Romain, Thank you. But I change the height to wrap_content for both items. I still see only 1 item in the emulator. Any idea please? On Fri, Mar 20, 2009 at 8:48 PM, Romain Guy wrote: > > You specified a height of fill_parent for both items. So they both > have the height of their parent. So

[android-developers] Re: Enabling LOGD messages in Webkit

2009-03-20 Thread Anonymous Anonymous
Sometime back i see a mail liek this, you can give a try ( you can search) --- (1) Include the header file #include (2) Define the logger tag LOG_TAG #undef LOG_TAG

[android-developers] Re: Question about layout child widget in a compound widget

2009-03-20 Thread Romain Guy
You specified a height of fill_parent for both items. So they both have the height of their parent. So the second one is outside of the parent. On Fri, Mar 20, 2009 at 6:53 PM, Meryl Silverburgh wrote: > > Hi, > >  I am trying to create a compound widget which has 2 labels (i.e. >  textview), on

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

2009-03-20 Thread Paper Coder
This would make sense, as it's the first (and only) library class that uses resources from my library projects folder. I will alter my project accordingly, however, I'm surprised that resources can't be references from other projects. It would be nice to see this fixed or a workaround posted that

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

2009-03-20 Thread Paper Coder
Might be better to send him an email. The comment might be missed? On Sat, Mar 21, 2009 at 3:57 AM, Mariano Kamp wrote: > Sorry if I wasn't clear, but I am not the author. Having said that I'll > post a comment on his blog with a reference to this thread. > > > On Fri, Mar 20, 2009 at 9:52 PM,

[android-developers] Re: ListViews getting rendered multiple times

2009-03-20 Thread markdsievers
In the sample code linked in my first post, my layout contains no layout_weight attributes. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Re: ListViews getting rendered multiple times

2009-03-20 Thread markdsievers
Update via private messaging: > 1) None of the LinearLayout's contain the layout_wieght attribute...So > I'm not sure that's my problem. It happens if the layout_weight is on a *child* of a LinearLayout. > 3) Give that this is an overhead, can you suggest an approach that > does not suffer this

[android-developers] Re: Bouncing ListView?

2009-03-20 Thread AndroidApp
Oh wtf... do you have a link to the patent? On Mar 20, 5:22 pm, Rajesh S wrote: > am afraid its up to u to do those .. as with dual/multi-touch. the > fruit guys have a patent on the spring action in list too!!! gosh > somebody tell the patent office what is an invention and what isn't. > > On M

[android-developers] Re: Question about layout child widget in a compound widget

2009-03-20 Thread Meryl Silverburgh
Hi, I am trying to create a compound widget which has 2 labels (i.e. textview), one label on each line. public class TwoLabel extends LinearLayout { private TextView mLabel; private TextView mLabel2; public TwoLabel(Context context, AttributeSet attrs, int defStyle) {

[android-developers] Question about layout child widget in a compound widget

2009-03-20 Thread Meryl Silverburgh
Hi, I am trying to create a compound widget which has 2 labels (i.e. textview), one label on each line. public class TwoLabel extends LinearLayout { private TextView mLabel; private TextView mLabel2; public TwoLabel(Context context, AttributeSet attrs, int defStyle) {

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

2009-03-20 Thread Streets Of Boston
If i understand various messages i've read on this board correctly, you can not bundle Android resources in a shared library. You can only bundle share classes (and regular java-resources, i hope) in JARs. I was trying to do the same, sharing layouts, bitmaps, etc among a suite of applications. I

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

2009-03-20 Thread zypsg
Hi,Dianne Hackborn: Do you mean that useopenFileOutput and openFileInput to save my persistent data ? I have tried these methods.They create file under /data/data//files/ directory. I find that when I uninstall the app, the file created will be deleted automatically. That d

[android-developers] Re: ListViews getting rendered multiple times

2009-03-20 Thread markdsievers
Hi Romain, Thanks for your response, though I had a couple of questions for you; 1) None of the LinearLayout's contain the layout_wieght attribute...So I'm not sure that's my problem. 2) Could you please breifly explain the logic behind why the framework requires n passes over the ListViws item

[android-developers] Re: Bouncing ListView?

2009-03-20 Thread Romain Guy
> Then can you guys put some scrolling physics in Android's views > (scroll off the screen a little and then bounce back)? That's a really > cool effect. See iphone scrolling. No, sorry. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to

[android-developers] How can i find out which version of webkit that android is using

2009-03-20 Thread ying lcs
When I check out source code from android, how can I find out what is the version corresponding to the real webkit that android is using/based on? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: Accessing System Brightness

2009-03-20 Thread mark . kahrl
int bright = 50; Settings.System.putInt(ftaContext.getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, bright); On Mar 19, 9:14 pm, joby wrote: > Hi, > >       I want to use the system brightness  in android,anybody can give > me a sample code of getting the brightness from android. --~--~-

[android-developers] post from webview with credentials

2009-03-20 Thread Ward Willats
Anyone done a post from a WebView with credentials encoded into the action URL? http://uname:passw...@www.foo.com/"; > When I try this, my server comes back with a 401 to collect the Realm credentials and Android fires up the full-blown browser to collect them. The HTML is from assets. --

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

2009-03-20 Thread Dianne Hackborn
2009/3/20 Jiang > under /data/data// DON'T DO THIS. Use the Context APIs to get the appropriate paths for your data. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such

[android-developers] Re: Bouncing ListView?

2009-03-20 Thread Rajesh S
am afraid its up to u to do those .. as with dual/multi-touch. the fruit guys have a patent on the spring action in list too!!! gosh somebody tell the patent office what is an invention and what isn't. On Mar 20, 9:04 pm, AndroidApp wrote: > Then can you guys put some scrolling physics in Androi

[android-developers] Re: Bouncing ListView?

2009-03-20 Thread AndroidApp
Then can you guys put some scrolling physics in Android's views (scroll off the screen a little and then bounce back)? That's a really cool effect. See iphone scrolling. On Mar 20, 3:52 pm, Dianne Hackborn wrote: > You're honestly probably better off just writing your own list view that > does j

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

2009-03-20 Thread Mariano Kamp
Sorry if I wasn't clear, but I am not the author. Having said that I'll post a comment on his blog with a reference to this thread. On Fri, Mar 20, 2009 at 9:52 PM, Dianne Hackborn wrote: > Thanks for the pointer, that's nice! Might be useful to contribute to > ApiDemos or DevTools. > > > On Fri

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

2009-03-20 Thread Dianne Hackborn
Thanks for the pointer, that's nice! Might be useful to contribute to ApiDemos or DevTools. On Fri, Mar 20, 2009 at 1:01 PM, Mariano Kamp wrote: > http://mgmblog.com/2008/12/12/listing-androids-drawable-resources/ > In the code referenced above the author's code iterates over > android.R.drawabl

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

2009-03-20 Thread Dianne Hackborn
Sorry maybe someone else can help you but I can't; I work on the Android platform, I am not that familiar with what is going on with the Google apps. On Fri, Mar 20, 2009 at 1:01 PM, Mariano Kamp wrote: > On a related note, is there any API today or planned for tomorrow for > accessing the user's

[android-developers] Enabling LOGD messages in Webkit

2009-03-20 Thread Ravi Ramachandra
All, How can we enable LOG messages in Webkit. I wanted to enable some debug prints using log utility of Android in Webkit I added the following statements in my code. #define LOG_TAG "webkit" include And the following line to test LOGV("Constructor CachedImage.cpp"); I am unable to get the lo

[android-developers] Re: Delete SMS messages from SIM card

2009-03-20 Thread mark . kahrl
That is programmatically delete messages from the SIM card... On Mar 20, 12:58 pm, Mark K wrote: >     Anyone know how to delete SMS messages from the SIM card? Thanks! > >                      Mark --~--~-~--~~~---~--~~ You received this message because you are

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

2009-03-20 Thread Mariano Kamp
On a related note, is there any API today or planned for tomorrow for accessing the user's Google credentials in a safe way to pass them onto a Google service? The actual context is that I have users complaining that they don't want to give my app their google userid/pw to access Google Reader via

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

2009-03-20 Thread Mariano Kamp
http://mgmblog.com/2008/12/12/listing-androids-drawable-resources/ In the code referenced above the author's code iterates over android.R.drawable and puts the result in a list. It is a bit more illustrative as you can actually see the icons. Also when looking for what's what and how should you us

[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 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 tag. - Dan On Fri, Mar 20, 2009 at 10:47 AM, j wrote:

[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 application

[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? Th

[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, 6:

[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 > no

[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 J2M

[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 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 the same in real h

[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 wrote: > > I flashed my adp1 to fir

[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 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 suggestion is to

[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 wrote: > > Is there a way to programmatically without root check and see how a > program was installed? > > > The only

[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 A

[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 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 is the exact

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

2009-03-20 Thread David Turner
On Fri, Mar 20, 2009 at 6:39 AM, bestpriv...@googlemail.com < bestpriv...@googlemail.com> wrote: > Is it a bug? Maybe it is the T-Mobile branding? I'm pretty sure that T-Mobile has nothing to do with what happens when WiFi is on. It might be a different issue (and sorry, can't help you there).

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

2009-03-20 Thread Simon Depiets
Ok thanks. On Mar 20, 6:51 pm, mscwd01 wrote: > Unfortunately I dont think there is an easy way to reduce the size of > tabs. The major reason for this being, tabs have to remain easily > tappable - You have to remember the size of the emulator on your > screen is much bigger than the size the t

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

2009-03-20 Thread mscwd01
Unfortunately I dont think there is an easy way to reduce the size of tabs. The major reason for this being, tabs have to remain easily tappable - You have to remember the size of the emulator on your screen is much bigger than the size the tabs will appear on the screen of a phone. If you really

[android-developers] Does android webkit support html5?

2009-03-20 Thread j
Does android webkit support html5 currently or in cupcake branch? I am particularly interested in the tag. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

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

2009-03-20 Thread strazzere
The android_id *should* not change, but can currently be modified. It's stored in the database located at; /data/data/com.android.providers.settings/databases/settings.db Run the query; select * from system; You'll see plenty of information which can then be changed; update system set value='dea

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

2009-03-20 Thread Kenny
I wonder if intents are sent across Linux processes too. Very anxious to know the answer. Kenny On Mar 19, 1:05 pm, me tun wrote: > Thanks Dianne, a colleague was telling me basically this too.  Does it > matter that the activities are running on different processes? > > On Mar 19, 3:50 pm, Dia

[android-developers] Re: tools dex

2009-03-20 Thread Dan Bornstein
On Mar 20, 3:39 am, "estibaliz.telefon...@gmail.com" wrote: > Hi! I'm trying to use the "dex" tool with felix.jar. The result is the > following: > > C:\Devel\android\tools>dx --dex--output=classes.dexE:\TELEFONICA > \Devel\osgi-an > droid\bin\felix.jar > warning: Ignoring InnerClasses attribute

[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 tat

[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 streaming

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

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

[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 possible

[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 you

[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 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, 1:28 pm, Daniel Janev wrote:

[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: Server Socket on Real Device

2009-03-20 Thread Simon Depiets
Hi, there is the Socket method : Socket.getLocalAddress().toString(); 2009/3/20 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 wrote: >>         Hi

[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 you

[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 goa

[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 wrote: > Oops.  Looks li

[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 wrote: > 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 you > get when you

[android-developers] Re: " IWindowManager Not Available "

2009-03-20 Thread Dianne Hackborn
On Thu, Mar 19, 2009 at 7:29 AM, Lars 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 layoutlib.jar, click

[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] 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 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 wrote: > Hi Kenny, > > But

[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 2:26

[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 shouldOverrideUrlLoadi

[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 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 framework engineer hack.

[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 wrote: > On Fri, Mar 20, 2009 at 9:38 AM, Pa

[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 acc

[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 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 your app to be pa

[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 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 connectivity change event has >

[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= 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 wrote: > ...huh? > > Its open source. (Its ugly as hell, but its open.) > > http://android.git.kernel.org/?p=plat

[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 wrote: > > Hi Android Experts, > > i have a login button as below: > >                android:layout_width="wrap_content" >                android:layout_hei

[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 wrote: > Don't be so sure. Try getting a demo working and se what it complains > about, if

[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 wrote: > I was looking fo

[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: it doesn't show press state when i click on it, i also used ImageButton with same background image but same result any solution? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[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 m

[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 no

[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 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 from git & searc

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

2009-03-20 Thread Paper Coder
Very nice. I think it would take someone with more skill than I to get it working on Android. Perhaps it would need to be extended? It seems to require the Java language, and if I'm correct, Android only supports a portion of the Java language - certain components of the language might be missin

[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 > 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 vol

[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 wrote: > My problem is same as MattBruce said. > > On Mar 20, 7:28 pm, Gulfam wrote: > > > Hi all, > > > I am also facing exact same problem as said

[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 wrote: > >> Does anyone has a complete list of native drawables listed on a >> w

[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 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 20 Mar

[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" wrote: >>> it would be gr

[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 graphic

[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" wrote: > > it would be great to get scalable open Vectors in the browser. > > Fromhttp://webkit.org/projects/svg/index.html: > > "At this time 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 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: > >  http://developer.android.com/reference/a

[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 wrote: > You can work out your own solution with animations and playing with > the visibility mode of the layo

[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: 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" wrote: > >> That list is...  very questionable.  It contains lots and lots of > >> resources > >> that are not in the public SDK, and which you

[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: http://

[android-developers] Re: adb version failed

2009-03-20 Thread David Turner
On Thu, Mar 19, 2009 at 11:29 PM, jammy 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 error. "Erron while

[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 wo

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

2009-03-20 Thread Mark Murphy
>> 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 > show us where to find said information and we'll draw up a list.

[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 wrote: > Try calling abortBroadcast() in your receiver. > > On Thu, Mar 19, 2009 at 7:18 AM, Streets Of Boston > > > > wrote: > > > When i press the phone's camera button, both my application and the > > system's camera applicatio

  1   2   >