[android-developers] Getting NullPointer Execption when adding Chronometer element

2009-01-16 Thread mnj
Hi, I'm getting NullPointer Execption message in Eclipse layout window when adding Chronometer element in LinearLayout. But interesting part is that chronometer still works when I run my application . But the issue is because of this message I'm not able to see the GUI in layoutwindow. Is this

[android-developers] Re: jchat4android 1.3 released!

2009-01-16 Thread Semeria Stefano
Hi Al, we actually did it. On the project site (http://code.google.com/p/jchat4android/) you should be able to download a jChat1.3.zip file, among Featured downloads. This zip file contains the jChat apk, the user guide and the location control tool. Did you have some problems in

[android-developers] Re: Streaming videos in Emulator

2009-01-16 Thread rktb
Please post the urls that you have tried. On Jan 16, 12:48 pm, And-Rider rahulregunat...@gmail.com wrote: Is it possible to stream videos in an android emulator?... I tried streaming an mp3 file which worked perfectly... but when i tried streaming an video file(tried 3gp,mp4) but both dint

[android-developers] interface source code

2009-01-16 Thread elo
Hi! I would like the source code of a sliding drawer ( in which I need to put ImageButton) in an Eclipse Projet which run. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Questions regarding Opencore and System.img file

2009-01-16 Thread scs sek
Hi, I want to know whether it is possible to use the G1 phone to test the newly integrated phone into an system. I integrated wma (opencore as separate library and pushed to system). I was able to download the application (Java application to G1) but is it possible to push the opencore (cupcake

[android-developers] Re: Streaming videos in Emulator

2009-01-16 Thread And-Rider
Sure,,, rtsp://stream.zoovision.com/zootoones/the_three_stooges_dinopoodi.3gp http://www.inventa.com.au/mpeg4%2056kbps176X144PAL.mpg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: catch HOME KeyDown Event

2009-01-16 Thread Dianne Hackborn
You can't, apps are not allowed to see the event. On Thu, Jan 15, 2009 at 10:24 PM, elvisw elvise...@gmail.com wrote: Hi all, How can I catch HOME KeyDown Event in Activity or Dialog?? I find that the event is not passed into onKeyDown(), but I really need the function to make an

[android-developers] Re: JPF : Java plugin framework on Android

2009-01-16 Thread myDroid
Hello, Thank you very much for this information, I knew that it could be made via Intent in Android but I wanted to make an plugin oriented app that use a common framework so that I could easily be platform independant. JPF would have been the solution. I will think about my app architecture to

[android-developers] Re: Behavior of Handler.postDelayed()

2009-01-16 Thread Dianne Hackborn
Handler uses SystemClock.uptimeMillis(), which only increments when the CPU is running. (Note that the CPU can be running while the screen is off, but often isn't). So for scheduling in handlers, the time during which the CPU asleep basically doesn't count as time at all. On Thu, Jan 15, 2009

[android-developers] Regarding

2009-01-16 Thread Naina K
Hi, This is Naina. I went through the link, http://geeth.ganesan.googlepages.com/android-tutorial]geeth.ganesan - ANDROID-TUTORIAL[/url]. I am trying to use the Spinner application written by Geetha. I tried to run the same Spinner application on the android emulator using Eclipse IDE. But its

[android-developers] Re: jchat4android 1.3 released!

2009-01-16 Thread Al Sutton
Stefano, I'd like to include the app in AndAppStores listings, but without an apk to directly link to this isn't possible because we only list apps which users can install directly to their android device, and users can't install apks parcelled in zip files without additional steps. Al.

[android-developers] Android emulator Interface

2009-01-16 Thread elo
Hi! I would like the source code of a sliding drawer ( in which I need to put ImageButton) in an Eclipse Projet which run. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: SAXParser doesn't resolve Entitiy-References ( EntityResolver )

2009-01-16 Thread mobilek...@googlemail.com
Hi, The implementation of SAXParser seems to encounter problems when it attempts to parse anything with ''. Have a look at those threads, if you haven't done so already: http://groups.google.com/group/android-developers/browse_thread/thread/f9a1ce37af6db350/f965528dec77c569#f965528dec77c569

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-16 Thread whitemice
Thanks for the additional feedback. Peli - Probably you should not mis-use getType()… I originally choose getType() for simplicity (URI in - String out), but I will now use query() instead. However, as my application is not compatible with any other software (i.e. my data exchange has no MIME

[android-developers] Re: Keeping a Service Alive

2009-01-16 Thread Immy
That helped me,... Thanks a ton On Dec 15 2008, 9:36 pm, Sergi Velez sergi.ve...@gmail.com wrote: Maybe AlarmManager will work for you:http://code.google.com/android/reference/android/app/AlarmManager.html --- sergi.ve...@gmail.com [In theory, theory and practice are the same. In practice,

[android-developers] Re: What protocol does android use to sync contacts with gmail?

2009-01-16 Thread mobilek...@googlemail.com
How do we access the client's own number? On Jan 16, 2:44 am, 杨锋 funyo...@gmail.com wrote: http://code.google.com/apis/contacts/ On Nov 29 2008, 4:04 am, Josh Guilfoyle jast...@gmail.com wrote: I would recommend usingSyncML, this is what it was designed for. That said, I don't know what

[android-developers] Re: Accessing Files on the sdcard

2009-01-16 Thread Tez
Hi, But, I was wondering if there is any way in which it would be possible to use the class from cupcake or build another class that can achieve that functionality using existing classes. cheers, Earlence On Jan 14, 6:23 pm, Jean-Baptiste Queru j...@google.com wrote: There is currently no

[android-developers] Re: jchat4android 1.3 released!

2009-01-16 Thread Semeria Stefano
Hi Al, I understand your problem and I think that if you need a direct link to an apk, it should be quite easy to put it on the project site. However, please note that jChat application needs a running Jade platform to connect to for communication and contact localization. We think that this

[android-developers] Re: jchat4android 1.3 released!

2009-01-16 Thread Al Sutton
Stefano, Wouldn't a simple note in the application listing suffice, something along the lines of This application requires a working jade server installation to communicate with? Al. Semeria Stefano wrote: Hi Al, I understand your problem and I think that if you need a direct link to an

[android-developers] Re: Questions regarding Opencore and System.img file

2009-01-16 Thread Jean-Baptiste Queru
This would be a better question for android-platform, since android-developers is for people using the SDK. The G1 is not designed to allow users to modify or update the system on their own. You should look into getting an ADP1, which is the exact same hardware but doesn't have any restrictions

[android-developers] Re: Accessing Files on the sdcard

2009-01-16 Thread Jean-Baptiste Queru
Well, for the functionalities/classes in cupcake that are implemented using only APIs that are public in 1.0, this is theoretically possible (though not necessarily easy). It's safe to assume that this only represents a very small minority. However, if you want to look ahead, you could download

[android-developers] Re: Dependency injection into Activity

2009-01-16 Thread singlemalt
Here's an alternative way to meet the desire expressed by the OP to find a way to run unit tests in an IDE like Eclipse using judicious design instead of dependency injection... In most cases it will possible to break down the application into some sort of MVC structure. Usually the model and

[android-developers] Re: how to inject a KeyEvent

2009-01-16 Thread Rajendrakumar C
Hi Dianne Hackborn, Am also facing the same problem, can tell me wheather you got the solution for the problem or not? On Nov 22 2008, 5:23 am, Dianne Hackborn hack...@android.com wrote: Correct, one application can not inject key events into another application.  There should be no way

[android-developers] Displaying YUV data from middleware component

2009-01-16 Thread iblues
Hi, My requirement needs me to draw the YUV data from the framework layer. Is this possible? From the android code, I seem to understand the following : 1. Create an ISurface object. 2. Extract frame data in form of YUV 3. Create a IMemory object with the YUV data. 4. Call

[android-developers] Re: what is mime type for file on sdcard

2009-01-16 Thread Peli
As far as I know, Android does not provide a default way to find a MIME type for files stored on the SD card. In the OI File Manager, we currently keep a list of file extensions and their corresponding MIME types:

[android-developers] AutoCompleteTextView for contacts

2009-01-16 Thread Miguel Paraz
Hi, How can I have a AutoCompleteTextView which autocompletes from the Contacts, the way the Messaging app does? It's possible to read the contacts from the Contacts provider, and use this for the AutoCompleteTextView's adapter. But, how does the Messaging app show two lines with the contact

[android-developers] MIME type for ACTION_PICK email Contacts

2009-01-16 Thread Miguel Paraz
Hi, To pick phone number contacts, I can startActivity for ACTION_PICK for data content://contacts/people, I can use the MIME type vnd.android.cursor.dir/phone. What MIME type is used for email addresses? Thanks! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: SAXParser doesn't resolve Entitiy-References ( EntityResolver )

2009-01-16 Thread plusminus
The qName -- localName difference to SAX in Desktop-Java also appies. I'll definitely keep you up if I have a solution. This is killing me =( Best Regards, Nicolas On 16 Jan., 05:39, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Hi, The implementation of SAXParser seems to

[android-developers] Re: SAXParser doesn't resolve Entitiy-References ( EntityResolver )

2009-01-16 Thread Daniel Janev
Hi Guys, Why don't you try to escape the ? I've had same problems with kXML parser for MIDP and escaping the with amp; everything works fine. plusminus wrote: The qName -- localName difference to SAX in Desktop-Java also appies. I'll definitely keep you up if I have a solution.

[android-developers] Re: SAXParser doesn't resolve Entitiy-References ( EntityResolver )

2009-01-16 Thread plusminus
I can't (properly) do so, because I do not serve the data. Best Regards, plusminus On 16 Jan., 08:41, Daniel Janev d.ja...@prosyst.com wrote:         Hi Guys, Why don't you try to escape the ? I've had same problems with kXML parser for MIDP and escaping the with amp; everything works

[android-developers] Re: SAXParser doesn't resolve Entitiy-References ( EntityResolver )

2009-01-16 Thread Daniel Janev
So, if you want to use the SAXParser you can write a wrapper of the stream it uses and to change any with amp; :) Another possible solution is to find parser which can parse correct all data with . plusminus wrote: I can't (properly) do so, because I do not serve the data. Best Regards,

[android-developers] Re: newbie question

2009-01-16 Thread Romkin
Argh, i see it is simple as well, drawBitmap does it automatically, the only problem it doesn't do anti-alising like iphone does it. On 13 Jan, 15:20, Sundog michael_...@tmail.com wrote: ImageViews are capable of scaling themselves... see

[android-developers] UI Freezing Issue

2009-01-16 Thread Bobbie
I am trying to do a real-time chat application (where the Android user's text shows up real-time in a web interface running in a browser on someon'es PC). Right now I'm having it post the text in a textbox using onKeyUp and running it in a background thread (using thread.join() so it doesn't

[android-developers] Re: Getting the phone number.................

2009-01-16 Thread Dan
I'm not sure if that is what Pratap was after - if you want to access your contact list from the phone the video mentioned should help you out but if you are looking to get the actual phone number of the device, take a look at this thread

[android-developers] Re: Streaming videos in Emulator

2009-01-16 Thread John Lauricella
The emulator does not have a video player installed, so it can't play video. If you get the Sorry, this video cannot.. message, that means you probably did your code correctly, there just is no video player available to the system. I bet if you try that out on a real phone, it will work. Date:

[android-developers] Re: newbie question

2009-01-16 Thread Stoyan Damov
Take a look at the flags of Paint's constructor for antialiasing, dithering, etc. When you draw a bitmap you pass a paint parameter to the Canvas.drawImage method. HTH, Stoyan On Fri, Jan 16, 2009 at 5:59 PM, Romkin ram...@gmail.com wrote: Argh, i see it is simple as well, drawBitmap does it

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread Mark Murphy
Bobbie wrote: I am trying to do a real-time chat application (where the Android user's text shows up real-time in a web interface running in a browser on someon'es PC). Right now I'm having it post the text in a textbox using onKeyUp and running it in a background thread (using

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread Bobbie
Your code snippet is useful, but since it is a part of a larger project, some of my comments may be completely wrong. So, your patience is requested. 1. Do I understand your flow correctly -- you are sending an HTTP POST after *every keystroke*? After all, onKeyUp() will get called after

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread A T
Waiting for the threads to join in this case sort of defeats the purpose of having the threads... but, yea, the LinkedBlockingQueue sounds like the solution you need. Just wanted to second that... On Fri, Jan 16, 2009 at 12:01 PM, Bobbie bobbie.st...@gmail.com wrote: Your code snippet is

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread Mark Murphy
Bobbie wrote: Here are my replies, next to the number I am answering for your post: 1) Yes, after every keystroke, I can change that if need be to update on a timer instead (would that be a better way to do it?) Most chat applications wait until Enter, or a button click, or something to

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread Dianne Hackborn
On Fri, Jan 16, 2009 at 9:01 AM, Bobbie bobbie.st...@gmail.com wrote: 3) My intent wasn't to create a thread for each key, I just needed to make sure the keystrokes were posted in order, so I thought this was the best way to do it. Actually, putting each thing to do in a separate thread

[android-developers] Re: Debugging on the Dev 1

2009-01-16 Thread Faber Fedor
Has anyone been able to use their Dev 1 Phone on their Linux boxen? I can't get my CentOS 5 (udev version 95) or my Ubuntu 8.04 (Heron, udev 117) under VMware to see the device ('adb devices' lists nothing). My Macbook can, unfortunately, see it, so I know the phone if functional. The CentOS

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-16 Thread Dianne Hackborn
On Fri, Jan 16, 2009 at 2:43 AM, whitemice markbr...@zedray.co.uk wrote: provider android:name=test.TheirContentProvider android:authorities=myComponentNamespace.theirApplicaitonNamespace meta-data android:name=type android:value=myComponentNamespace/ /provider The meta data name

[android-developers] Getting platform source that matches the SDK?

2009-01-16 Thread Ian
Sorry for what may be a dumb question, but I'm trying to figure out how to get source code for Android which actually matches the SDK. For example, I'd like to get the camera app and build a customized version that I can run on the G1. When I download the platform, the code I get doesn't build

[android-developers] Re: Capturing the PictureWasTaken event

2009-01-16 Thread GiladH
Hey Dave, issue solved by periodically polling the mediaStore, as you suggested. Tnx, GiladH --~--~-~--~~~---~--~~ 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: application will crash when G1 changed to landscape display

2009-01-16 Thread cindy
Thanks Mark. What is the difference of using runOnUiThread() and Handler? When application is running, it will create a main thread. using post will send a message to thread/message queue. does android have a dedicated thread for UI? Thanks! On Jan 15, 5:55 pm, Mark Murphy

[android-developers] Am I root?

2009-01-16 Thread Beni
Hi Guys, From about 3 Weeks ago I got a Dev g1 Phone from Google. And as far as I know I should have the Root rights because it's a Developer Phone, right? Anyways, a few days ago I updated my G1 with this package:

[android-developers] Re: how to send AT command to android phone?

2009-01-16 Thread enri
Have you found any info on this, I'm looking to do essentially the same thing On Jan 3, 9:53 pm, barqw barqw1...@163.com wrote: such as ATH.THANKS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Am I root?

2009-01-16 Thread Beni
Hi Guys, From about 3 Weeks ago I got a Dev g1 Phone from Google. And as far as I know I should have the Root rights because it's a Developer Phone, right? Anyways, a few days ago I updated my G1 with this package:

[android-developers] Error : Using XMLReader parse the XML file

2009-01-16 Thread Sabi
Code I am using: URL url = new URL(http://www.anddev.org/images/tut/basic/ parsingxml/example.xml); /* Get a SAXParser from the SAXPArserFactory. */ SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser();

[android-developers] Am I root?

2009-01-16 Thread Beni
Hi Guys, From about 3 Weeks ago I got a Dev g1 Phone from Google. And as far as I know I should have the Root rights because it's a Developer Phone, right? Anyways, a few days ago I updated my G1 with this package:

[android-developers] Why Android?

2009-01-16 Thread work.jonsm...@googlemail.com
I need to develop a network security auditing application for the use on a Smartphone. As this is for my final year dissertation project, I need some primary research and it would be really good to get feedback on why I should choose Android over any other Smartphone operating system from people

[android-developers] Why Android

2009-01-16 Thread work.jonsm...@googlemail.com
Hi all I need to develop a network security auditing application for the use on a Smartphone. As this is for my final year dissertation project, I need some primary research and it would be really good to get feedback on why I should choose Android over any other Smartphone operating system from

[android-developers] touch hanging

2009-01-16 Thread Osman Ahmed Osman
Hello, This may not be the right avenue, but I'm not sure what is. The touch functionality on my screen will often stop working (ie the phone doesn't recognize touches, but the keypad/buttons still work fine). The only way to fix this, afaik, is a reboot, which is annoying to do several times

[android-developers] How to create Android's Activity from some provider?

2009-01-16 Thread AlexKar
Hi! Please give me some advices. How I can show MessageBox (it's AlertDialod,Toast) from my location provider. More general question is How to create or launch Android's Activity from some provider. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Error: Read and parse xml file

2009-01-16 Thread Sabi
Code I am using as: /* Create a new TextView to display the parsingresult later. */ TextView tv = new TextView(this); try { /* Create a URL we want to load some xml-data from. */ URL url = new URL(http://www.anddev.org/images/tut/basic/

[android-developers] Need Help Using Table Layout

2009-01-16 Thread siva
Hi All, I am newbie to google android development. I have gone through some examples given in the android downloads.I have to develop a application which requires data to be displayed dynamically. Where each row should split into cells and each cell should act as a view means in each row i would

[android-developers] Am I root?

2009-01-16 Thread Beni
Hi Guys, From about 3 Weeks ago I got a Dev g1 Phone from Google. And as far as I know I should have the Root rights because it's a Developer Phone, right? Anyways, a few days ago I updated my G1 with this package:

[android-developers] Re: AutoCompleteTextView: Need help.

2009-01-16 Thread Odessa Silverberg
You can also get the Cursor to the selected item by using Cursor c = (Cursor)parent.getItemAtPosition(position); and simply get the name by using String name = c.getString(nameColumIndex); On Jan 15, 11:22 pm, Andrew Stadler stad...@gmail.com wrote: Don- Here is one way to do this: In

[android-developers] Re: AutoCompleteTextView for contacts

2009-01-16 Thread Odessa Silverberg
Well instead of using try SimpleCursorAdapter sAdapter = new SimpleCursorAdapter (this, R.layout.menulist_complexitem, cursor, new String[] {

[android-developers] Library to convert an rtmp stream to rtsp?

2009-01-16 Thread dar
Does anyone know of a library or component which can be used to open and convert an RTMP video stream to RTSP to be used with the MediaPlayer object? Specifically looking to use this on the G1 with the current sdk. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: touch hanging

2009-01-16 Thread cindy
I have same problem on G1. How about other developers using G1? On Jan 16, 12:27 am, Osman Ahmed Osman os...@osmanahmedosman.com wrote: Hello, This may not be the right avenue, but I'm not sure what is. The touch functionality on my screen will often stop working (ie the phone doesn't

[android-developers] why people claim the function onCreate public?

2009-01-16 Thread cindy
onCreate is defined as a protected function in Activity. But for all the sample code, in the class extends from Activity class, it has been declared as public function. @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); ..} Is that uncommon?

[android-developers] Re: Am I root?

2009-01-16 Thread Justin (Google Employee)
First, I think that package is actually older than what was on the developer phone, but I could be wrong. Second, that image was not designed for the developer phone. While I think its possible to use root with that system version, its not straightforward or officially supported. Regards,

[android-developers] Re: why people claim the function onCreate public?

2009-01-16 Thread Romain Guy
Both work but in theory it's better to keep the visibility protected. On Fri, Jan 16, 2009 at 10:37 AM, cindy ypu01...@yahoo.com wrote: onCreate is defined as a protected function in Activity. But for all the sample code, in the class extends from Activity class, it has been declared as

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Romain Guy
Hi, Some APIs in the source code are marked with a special tag called @hide. All fields, methods and classes marked @hide are considered private APIs and not part of the SDK. On Fri, Jan 16, 2009 at 9:46 AM, Ian heads...@gmail.com wrote: Sorry for what may be a dumb question, but I'm trying

[android-developers] Re: why people claim the function onCreate public?

2009-01-16 Thread Mark Murphy
cindy wrote: onCreate is defined as a protected function in Activity. But for all the sample code, in the class extends from Activity class, it has been declared as public function. @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); ..} Is that uncommon? You

[android-developers] Re: Regarding

2009-01-16 Thread James Yum
Hi Naina, The log would be more helpful to you. You can use either adb logcat: http://code.google.com/android/reference/adb.html#logcat or DDMS: within eclipse Window Open Perspective DDMS. Cheers, James On Fri, Jan 16, 2009 at 2:01 AM, Naina K kna...@gmail.com wrote: Hi, This is Naina.

[android-developers] Re: How to create Android's Activity from some provider?

2009-01-16 Thread Dianne Hackborn
Don't. You can show notifications from outside of the main UI flow (for background events happening). Doing other UI is generally a really bad user experience. On Fri, Jan 16, 2009 at 12:22 AM, AlexKar neo...@mail.ru wrote: Hi! Please give me some advices. How I can show MessageBox (it's

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Ian
Thanks for the info, Romain. I guess that explains things. But doesn't that violate the principle of Apps are created equal, as stated on the Android home page? If the built-in apps have access to these secret APIs that I can't use, then how are my apps equally able to do such things as

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Romain Guy
We unfortunately had to cut a few corners to be able to release Android 1.0 as you know it. We are terribly sorry for this and we definitely want the standard applications to use only public APIs. It is however better for these apps to use private APIs for a little while rather than make APIs

[android-developers] Query font name from a TextView

2009-01-16 Thread Khuong
Hi, Is there a way to know what font (name) is being used for a TextView widget? I've looked at the Typeface class, but it doesn't offer a way to retrieve the familyName attribute. Thanks! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-16 Thread pjv
At the moment my thoughts are mainly going towards an android-xml-to- po-converter tool. This would be very useful since gettext is a quite ubiquitous translation tool in the open source world. See my related feature request at Launchpad: https://bugs.launchpad.net/rosetta/+bug/275290. On 15

[android-developers] Re: Error: Read and parse xml file

2009-01-16 Thread Moto
A little more info would be helpful... Also, It would be interesting to see your ExampleHandler... -Moto --~--~-~--~~~---~--~~ 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: Getting platform source that matches the SDK?

2009-01-16 Thread Ian
The problem is that before we make an API public we have to be sure that we won't have to change it later. Once public, an API has to be maintained forever. That's why we try to proceed with caution :) Yup, that's fair enough. (I'm going through the same process myself... ;-) As long as the

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Romain Guy
Well the wallpaper service is used only to tell the pictures app how big the wallpapers should be. If you handle wallpapers yourself (kinda like what Launcher does in its own wallpaper activity), then you don't need this. Anyway, the wallpaper service should be public, or there should at least be

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Romain Guy
I just looked at the source code of Home and it's different from what you said it is. Here is the code I have: IBinder binder = ServiceManager.getService(WALLPAPER_SERVICE); IWallpaperService wallpaperService = IWallpaperService.Stub.asInterface(binder); This should work

[android-developers] working with /cache/recovery/command

2009-01-16 Thread surferdude
Hello, I'm trying to create my own OTA update utility for Android and was wondering if anyone knew anything about working with /cache/recovery/ command. I read through some of the source code for the recovery system and it seems as if I add --update_package=location:file to this file and reboot

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-16 Thread Dianne Hackborn
On Thu, Jan 8, 2009 at 4:26 AM, Mike Hearn mh.in.engl...@gmail.com wrote: * The directory names are a bit odd - why do they have an extraneous 'r' in them? The way this works is that each component of the directory name must be uniquely identifiable. So to be able to distinguish between the

[android-developers] Re: working with /cache/recovery/command

2009-01-16 Thread Jean-Baptiste Queru
You should be asking this question on android-platform, so that people coming here to discuss application development with the SDK don't get lost in the gory details of the underlying platform. Thanks, JBQ On Fri, Jan 16, 2009 at 11:50 AM, surferdude datruesur...@gmail.com wrote: Hello, I'm

[android-developers] Re: working with /cache/recovery/command

2009-01-16 Thread surferdude
Ah, sorry. Will do that now. On Jan 16, 12:00 pm, Jean-Baptiste Queru j...@google.com wrote: You should be asking this question on android-platform, so that people coming here to discuss application development with the SDK don't get lost in the gory details of the underlying platform.

[android-developers] Android browser is really slow/buggy when clicking on checkboxes

2009-01-16 Thread Chister Nordvik
Hi! I have made an app that shows a list of RSS feeds at the main screen. One of the reasons is to be able to generate polls for the users and host them on my webserver. The Android browser is close to unusable when clicking checkboxes. At least on my device. The behavior that I am

[android-developers] Re: Why Android?

2009-01-16 Thread hmmm
I did some programming in Symbian and now I'm doing some Android stuff and for me Android is much easier in comparison with Symbian. This is because Symbian has some real weird limitations and some real annoying stuff to remember like those push/pop stack things and no exceptions in

[android-developers] Re: how to send AT command to android phone?

2009-01-16 Thread David Turner
the short answer is that this is not possible. The Android GSM stack is already talking to the modem through the AT comment channel. The AT protocol is not designed to allow several clients to talk to the modem, the latter assumes it only talks to a single device, and is very state-full. If you

[android-developers] Want to step into the SDK Android code - how to?

2009-01-16 Thread hmmm
Hello, I'm doing some debugging and thought it would be great if I could step into the Android SDK source code. However, I can't figure out how to setup whatever I should setup in Eclipse to achieve this. If anybody did the same before, could you, please, advise? Thank you!

[android-developers] Re: Want to step into the SDK Android code - how to?

2009-01-16 Thread Josh Dobbs
I don't believe it's possible. On Fri, Jan 16, 2009 at 1:04 PM, hmmm akul...@mail.ru wrote: Hello, I'm doing some debugging and thought it would be great if I could step into the Android SDK source code. However, I can't figure out how to setup whatever I should setup in Eclipse to

[android-developers] Re: Want to step into the SDK Android code - how to?

2009-01-16 Thread Khuong
These posts will show you how to setup the sources folder for Eclipse. http://blogs.zdnet.com/Burnette/?p=706 http://blog.michael-forster.de/2008/12/view-android-source-code-in-eclipse.html http://stuffthathappens.com/blog/2008/11/01/browsing-android-source-in-eclipse/ On Jan 16, 3:04 pm, hmmm

[android-developers] Re: Want to step into the SDK Android code - how to?

2009-01-16 Thread hmmm
I thought, if I download some Android SDK sources from android.com then I setup some paths or whatever - so I will be able to step into the code, no? Like, I'm able to step into some MFC C++ library source code when doing some VC++ programming, so not so in java why then? - Original Message

[android-developers] Re: Want to step into the SDK Android code - how to?

2009-01-16 Thread hmmm
Oh, so it's possible! Thanks I'll try then! - Original Message - From: Khuong kgh...@gmail.com To: Android Developers android-developers@googlegroups.com Sent: Saturday, January 17, 2009 12:18 AM Subject: [android-developers] Re: Want to step into the SDK Android code - how to?

[android-developers] orange in R.color ?

2009-01-16 Thread gsmd
Where's the color used for selection e.g. in ListView? TIA. --~--~-~--~~~---~--~~ 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

[android-developers] Re: orange in R.color ?

2009-01-16 Thread Dianne Hackborn
It's not a color, it's a drawable. On Fri, Jan 16, 2009 at 1:26 PM, gsmd gsm...@gmail.com wrote: Where's the color used for selection e.g. in ListView? TIA. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't

[android-developers] API for creating missing thumbnail files?

2009-01-16 Thread GiladH
Hey, My app queries the MediaStore (field = MediaStore.Images.Thumbnails.DATA) to obtain an image's thumbnail file. Every now again, especially, when it comes to new pictures, that file is simply missing. Is there an API that will allow my app to generate the missing thumbnail file? If not -

[android-developers] Re: orange in R.color ?

2009-01-16 Thread gsmd
Thanks! Could you plz suggest how to dynamically set TextView background to orange? Googling for setCompoundDrawables doesn't lead to any solution. TIA. On Jan 16, 11:31 pm, Dianne Hackborn hack...@android.com wrote: It's not a color, it's a drawable. On Fri, Jan 16, 2009 at 1:26 PM, gsmd

[android-developers] Re: orange in R.color ?

2009-01-16 Thread Dianne Hackborn
You can't do that, you have to set the entire background to a Drawable that provides the entire frame as well as background of the content area. On Fri, Jan 16, 2009 at 1:49 PM, gsmd gsm...@gmail.com wrote: Thanks! Could you plz suggest how to dynamically set TextView background to orange?

[android-developers] ProgressBar in Webview

2009-01-16 Thread Chris Chiappone
Is there an easy way to show a indeterminate progressBar ontop of a webview. I can create a progress bar but the webview shows up below it. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Creating a JAR that contains references

2009-01-16 Thread stephen.lloyd.h...@googlemail.com
Hi, I've been trying to create (and include in a new application) a JAR file, I've seen all the information on the web regarding how to do this in Eclipse. All seems to go well and I can add my newly created JAR and even debug into it from an app that I've added it to. The problem I am having is

[android-developers] How do I get the user's name?

2009-01-16 Thread UBZack
Hi all, does anybody know how to get the user's name? I tried the java.lang.System call: String userName = System.getProperty(user.name); But it returns an empty string, both on the device and emulator. Is getting the device's user name possible? Thanks for any help you can give. -UBZack

[android-developers] Re: Query font name from a TextView

2009-01-16 Thread Al
I think they use Serif and Sans Serif (and their formatted variants) seeing how there's no mention of any other fonts inside the Typeface class. Have you tried calling TextView#getTypeface()? On Jan 16, 7:12 pm, Khuong kgh...@gmail.com wrote: Hi, Is there a way to know what font (name) is

[android-developers] Background resource doesnt scroll when viewgroup is scrolled

2009-01-16 Thread Rohit
Hi, I have a custom ViewGroup that has chilren views. I set the background of that view to a png image by calling setBackgroundResource (id). This view is larger than the screen size. On touch events (move) I want to scroll the view to show the rest of the view. I got the scrolling to work

[android-developers] Re: Android Dev Phone 1

2009-01-16 Thread Paul
I didn't think Verizon had SIM cards either. Is it possible the card you're referring to is the miniSD card? They're about the same size. On Jan 16, 6:53 am, Kenneth Loafman kenneth.loaf...@gmail.com wrote: I'm not sure how it would work without one.  I have a Motorola Razor with Verizon.  

  1   2   >