[android-developers] Re: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-08 Thread sheik
Thanks for ur reply... i took some time for myself to understand the service behaviour...finally i have made the location updates in the service and use db to get details and printing on the activity..i used the notification on the destroy of activity..that is clicking the back button... and

[android-developers] Small one Level Game

2009-06-08 Thread android.vinny
Hi everyone can anybody give me suggestions about the on level game i would like to do... my specifications are one object is moving around the screen if any obstacle come it want to overcome and the obstacle hit 5 times to object the game should be end like that thanks in advance

[android-developers] Flow of Outgoing call

2009-06-08 Thread ramesh
Hi, After dialed a no trough emulator what is the AT COMMAND flow? Can anyone tell me? with best regards, Ramesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Problem in identifying which widget click is launching the activity?

2009-06-08 Thread dark_messiah
I m creating my own widget...widget initial layout contains one button...when i click on that widget button it shud launch the specified activity using service...everythng is working fine..but the problem comes when there are 2 or more widget on home screen...when i clicking on any one of them i

[android-developers] Re: Progressbar

2009-06-08 Thread Zoltán Kisgyörgy
Have you tried this: http://developer.android.com/guide/topics/ui/dialogs.html#ShowingAProgressBar ?? [?] 2009/6/8 Sukitha Udugamasooriya suk...@gmail.com Hi, Is there a way to display the percentage% of the progress on the bar? Simple write something on the bar in the new SDK? I have

[android-developers] Re: Update widget from code

2009-06-08 Thread Teo
I've got a related question (or i'm not getting this right). The way i see it, onReceive can be used to handle interface events, but what pending intent do i need to attach to a button so that onReceive can be triggered? Thanks, Teo On Apr 23, 1:05 am, Al alcapw...@googlemail.com wrote: That

[android-developers] Re: EditText Auto Focused in Tab

2009-06-08 Thread Tim H.
Actually, blockedDescendants didn't do as I expected. While it doesn't scroll down anymore, now none of the items on that tab content page are selectable using the trackball (although they work with touch focus). beforeDescendants and afterDescendants doesn't work either :( On Jun 4, 3:30 am,

[android-developers] Re: Progressbar

2009-06-08 Thread Desu Vinod Kumar
http://www.helloandroid.com/node/250 have u seen this example with source code it may be helpful for u On Mon, Jun 8, 2009 at 11:28 AM, Sukitha Udugamasooriya suk...@gmail.comwrote: Hi, Is there a way to display the percentage% of the progress on the bar? Simple write something on the bar

[android-developers] How can i get back to Android 1.5 version After Restoring to Default Factory.

2009-06-08 Thread Freshman
Hi guys, I've restored my android dev phone 1 to its default factory from the settings option. Now how can i get back to my android 1.5 version ? After restoring the appearing screen cointains, Android logo followed bay Welcome to Android Dev Phone 1, Tap the android to begin message and two

[android-developers] Davik error

2009-06-08 Thread Francois
Hello, Some of you might remember my previous message. After upgrading to v1.5, I had the Davik error under Eclipse. I thought it was do to the compilation in 1.1. No, I was mistaken. After a lot of hassle, I found out. The error comes if you have unticked the build automatically option in

[android-developers] Re: How to change the state of a stateful drawable?

2009-06-08 Thread matthias
anyone? --~--~-~--~~~---~--~~ 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, send email to

[android-developers] What is the differences between GPS start and GPS enable?

2009-06-08 Thread Nio
Hi buddy, I find that the UI Enable GPS satellites is used to enable receiving GPS data, but not to start GPS. Which UI is used to start GPS? I am not clearly understand why android to designed GPS so. If GPS is not started, then you can't use Enable GPS satellites to receive any data and it

[android-developers] Event wake up?

2009-06-08 Thread arnouf
Hi all, I would like to know the way to know when the user are using his phone... There is intent Boot_completed, but it's just at beginning. I have to know when user take it's phone, press a key to use it. Any idea? --~--~-~--~~~---~--~~ You received this

[android-developers] How can I clean flash memory which is used by my app

2009-06-08 Thread manoj
Hi friends, I have a written a video streaming player. The app plays well. The problem is when I reboot every time, my app works fine (very fast). But when I play contiguously 10 to 15 videos, my app becoming very slow. I think I need to do some kind of cleaning flash memory/cache. But I

[android-developers] Accelerometer readings - Screen coordinates

2009-06-08 Thread sagar.indianic
Hello every1, I am developing a small application for learning purpose which will move image when accelerometer readings change. I want a mapping of accelerometer values to screen coordinates. I am using trial and error method rite now. But it seems that it will not help. Is there any

[android-developers] Re: reg playing youtube videos in android

2009-06-08 Thread manoj
Hi friends, Could we show an alert when playing via YouTube the first time to set the YouTube player default? 'This channel will be played using the YouTube player. Please select the 'Youtube' option and check 'Use by default' I can show an alert, but my app shows every time when i am trying to

[android-developers] Re: What is the differences between GPS start and GPS enable?

2009-06-08 Thread Zero
well, there is the hardcore way of forcing the gps to run with LocationManager.requestLocationUpdates(gps,0,0, LocationListener listener) but that is bad on battery life. On Jun 8, 10:47 am, Nio luodali...@gmail.com wrote: Hi buddy, I find that the UI Enable GPS satellites is used to enable

[android-developers] Failed to find provider info for com.example.provider.contactprofile in the logcat

2009-06-08 Thread asara ratnakar
Hi Guys, I have created a ContentProvider as explained in Notepad example. But I am getting the below errors when i am trying to access the content Provider in my TestActivity. *ERROR LOGS :* *I/ActivityManager( 569): Start proc com.example.contactprofile for activity

[android-developers] Re: What is the differences between GPS start and GPS enable?

2009-06-08 Thread Cédric Berger
On Mon, Jun 8, 2009 at 10:47, Nio luodali...@gmail.com wrote: Which UI is used to start GPS? I am not clearly understand why android to designed GPS so. If GPS is not started, then you can't use Enable GPS satellites to receive any data and it is useless. I think that if the UI Enable

[android-developers] Re: OnSaveInstanceState help

2009-06-08 Thread Mark Murphy
Sujay Krishna Suresh wrote: Hi everyone, i need to make sure that the contents of my activity dont change(or atleast retained to the same state) when the orientation is changed. i found a method called onSaveInstanceState in the activity... but i'm not sure on how to use

[android-developers] Re: Problem in identifying which widget click is launching the activity?

2009-06-08 Thread Mark Murphy
dark_messiah wrote: I m creating my own widget...widget initial layout contains one button...when i click on that widget button it shud launch the specified activity using service...everythng is working fine..but the problem comes when there are 2 or more widget on home screen...when i

[android-developers] Re: Event wake up?

2009-06-08 Thread Mark Murphy
arnouf wrote: Hi all, I would like to know the way to know when the user are using his phone... There is intent Boot_completed, but it's just at beginning. I have to know when user take it's phone, press a key to use it. Any idea? H...there is ACTION_SCREEN_ON, but that will

[android-developers] Re: How to get and edit button in an AlertDialog

2009-06-08 Thread Thomas
Anyone can help me? Thanks Thomas On 6/4/09, Thomas perd...@gmail.com wrote: Hi All, I need to build a AlertDialog with a short text (A) and an OK Button. But if I use AlertDialog.Builder, the ok text button is not shown with a short text message. I tried to recover the Button object and

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-08 Thread Rob Franz
Well I was assuming that you would sell more than one... so at least you're not like the first guy who has to sell 10 more $.99 apps to cover the loss from the chargeback :-) On Sun, Jun 7, 2009 at 8:16 AM, gs_london gslon...@gmail.com wrote: On Jun 6, 9:46 pm, Rob Franz rob.fr...@gmail.com

[android-developers] DIAL

2009-06-08 Thread ramesh
Hi, From where the dial (String address, int clirMode, Message result) function in /frameworks/base/telephony/java/com/android/internal/ telephony/gsm/RIL.java Getting called?? public void dial (String address, int clirMode, Message result) { RILRequest rr =

[android-developers] keeping my service alive - how to achieve?

2009-06-08 Thread Gautam
Hi, Though it is recommended to run the service as required and stop after it is done, I'm planning to keep my service active always, because 1) I want to listen to some system CP change and update my own DB. So, need to register Content Observer and act appropriately. Plan to register the

[android-developers] What does android manage its User? and Groups?

2009-06-08 Thread nvstp
Hi all, Does anyone know this? Android doesn't have a file such as /etc/passwd, how does it manage its users and groups? If some app needs such a file /etc/passwd, what should I do? Can I create one? nvstp --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: DIAL

2009-06-08 Thread Mark Murphy
ramesh wrote: Hi, From where the dial (String address, int clirMode, Message result) function in /frameworks/base/telephony/java/com/android/internal/ telephony/gsm/RIL.java Getting called?? Questions regarding the Android source code are best asked on a list pertaining to the Android

[android-developers] Re: keeping my service alive - how to achieve?

2009-06-08 Thread Mark Murphy
Gautam wrote: Though it is recommended to run the service as required and stop after it is done, I'm planning to keep my service active always, Don't do that. because 1) I want to listen to some system CP change and update my own DB. So, need to register Content Observer and act

[android-developers] Re: What does android manage its User? and Groups?

2009-06-08 Thread Mark Murphy
nvstp wrote: Android doesn't have a file such as /etc/passwd, how does it manage its users and groups? Questions regarding the internals of Android's source code are best asked on a list pertaining to the internals of Android's source code: http://source.android.com/discuss If some app

[android-developers] regarding Game Developement

2009-06-08 Thread android.vinny
Hi Every One can any body help me how to overcome the Object from the Obstacle And the Object move auomstically around the screen there should emmo for the Object if 5 shots came to object the obk life goes out and game over --~--~-~--~~~---~--~~ You received this

[android-developers] Click from browser to open the android market application

2009-06-08 Thread GiladH
hey guys, it there a way (possibly using javaScript) to define an html button that will, once clicked, to open the android market application (the one with greenish icon) ? For such a feature to work right we'll need, of course, a way to determite whether the client browser is running on

[android-developers] Re: Click from browser to open the android market application

2009-06-08 Thread Cédric Berger
On Mon, Jun 8, 2009 at 14:52, GiladH gila...@gmail.com wrote: hey guys, it there a way (possibly using javaScript) to define an html button that will, once clicked,  to open the android market application (the one with greenish icon) ? just use url like this :

[android-developers] Re: ADC2 Teams

2009-06-08 Thread wescorp
Don't mind at all. Here are some links to tutorials of previous releases. I've new releases for these applications nearly ready to go. www.trafficmanmaps.com www.trafficmanmaps2.com www.trafficmantracking.com The advantage of my mapping codes is they are based on the Openstreetmap.Org mapping

[android-developers] help with openContextmenu()

2009-06-08 Thread Saurav Mukherjee
hi all, i have an app with a linear layout and a list view embedded over it. i have programmed it such that when i click over one of the list items a context menu opens. now the problem is that when i do click over an item, 2, sometimes 3, context menus flashes on the screen. any suggestions?

[android-developers] Re: Accelerometer/Orientation sensor problem

2009-06-08 Thread TjerkW
Same problem here, when playing sounds during my game (in which you control the gameplay with accelerometer) the accelerometer gives strange values. On 24 mei, 13:29, Bonifaz bonifaz.kaufm...@gmail.com wrote: I have the same problem of wired accelerometer data while music is playing. Does

[android-developers] Re: Maps with custom tiles

2009-06-08 Thread CF
I'm struggling with the same problem. Any pointers or ideas? On May 20, 5:20 am, khose marcos.hdez@gmail.com wrote: C'mon there must be a solution:) On 14 mayo, 09:52, khose marcos.hdez@gmail.com wrote: Hi! I've been searching hardly the past two days, looking for a way to

[android-developers] Re: Maps with custom tiles

2009-06-08 Thread Saurav Mukherjee
do u already have map tiles of ur own?? On Mon, Jun 8, 2009 at 7:59 PM, CF chrisfurt...@gmail.com wrote: I'm struggling with the same problem. Any pointers or ideas? On May 20, 5:20 am, khose marcos.hdez@gmail.com wrote: C'mon there must be a solution:) On 14 mayo, 09:52, khose

[android-developers] Re: Color Spinner list items

2009-06-08 Thread JP
Thanks Mark, Can you point me to an example of this? I have tried to use ArrayAdapter as my base class. [CODE] @Override public View getView(int position, View convertView, ViewGroup parent) { // When convertView is not null, we can reuse it directly, there is no need //

[android-developers] Re: Problem in identifying which widget click is launching the activity?

2009-06-08 Thread Akash Gupta
I m doing the same thing earlier but its not working...its not able to identify which widget is launching the activityif put the appWidgetId as extra then if have more than one widget on your home screen and clicking any one of it its always have the latest widget Id you have added...ne other

[android-developers] are TabActivity and custom title compatible ?

2009-06-08 Thread LEMESLE Philippe
hello, i would like to integrate a custom title in an app based on a tabActivity. when i launch only one activity with a custom title thanks to this code : requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.screen_home);

[android-developers] Re: Maps with custom tiles

2009-06-08 Thread CF
I have a custom map created using Google My Maps, but am not able to replicate the same on Android. Any suggestions? On Jun 8, 10:35 am, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: do u already have map tiles of ur own?? On Mon, Jun 8, 2009 at 7:59 PM, CF chrisfurt...@gmail.com

[android-developers] HARDWARE_TEST not granting permissions?

2009-06-08 Thread dev
Hi, I am using cupcake 1.5, I executed FrameWorkTest.apks BrightnessLimit.java on EMULATOR. I am gettting Not granting permission android.permission.HARDWARE_TEST to package com.android.frameworktest (protectionLevel=2 flags=0x44) warning when i load the apk. And error E/AndroidRuntime(

[android-developers] Re: Accelerometer readings - Screen coordinates

2009-06-08 Thread Robert Green
Understand that the accelerometer shows force in 3 directions. When the phone isn't moving, it will have 9.8m/s2 (gravity) reading on it. You can use that to figure out exactly where the phone is pointed. You can get 3 vectors to show the angle of X,Y and Z relative to gravity if you use

[android-developers] Re: Using Intents

2009-06-08 Thread Georgy
Oh sorry I was jsut in an area without reception. thanks guys On Jun 7, 1:33 pm, Georgy georgearna...@gmail.com wrote: You are right... for some reason I thought that I could simply point to an external package without installing it. So now, I got Radar from the market and pointed to it.

[android-developers] Re: How to Implement the Compass function to my application?

2009-06-08 Thread Georgy
btw Brian the code in that book is REALLY good I just embedded the compass.. I wish I had the book to understand what are those two spheres animating in the center.. thanks On Jun 7, 12:35 pm, Georgy georgearna...@gmail.com wrote: anyone has any idea how to embed the radar app into a map

[android-developers] G1 chmod for /data folder

2009-06-08 Thread Joe Petruchi
Does anybody knows how can i do a chmod on G1 ? I want to basically do chmod 777 /data But this command always gives error operation not permitted Is there any way i can avoid this error Regards Joe --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Where persist data changes ?

2009-06-08 Thread David G.
Hello, First, apologize for my bad english. I'm new using the android SDK, I read some tutorials and look into some code but I found the answer of this question nowhere for now. I have a View (LinearLayout) which contains a TextView and a CheckBox. This view is used by a ListActivity (see the

[android-developers] TCP Connection Problem

2009-06-08 Thread Che
Hi, I have an application that worked fine on 1.1 emulators but now fails to establish a TCP connection with a local server (doesn't even timeout for some reason). No exceptions are thrown yet I have found these two lines in Logcat that I did not find before: I/InetAddress( 368):

[android-developers] Animating ListView through api

2009-06-08 Thread jc
Hi, Is there an easy way to make the call 'setSelectionFromTop' of ListView animated? I basically want to simulate a fling up to a desired selection and position. Any tips? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Shared libraries versus Service

2009-06-08 Thread j2metester
I read that Android 1.0 does not have support for third party shared libraries. eg : If I need to use the TTS library, every application apk will have to include the jar file resulting in every application bulking up and thats not acceptable. But I also read that a way to around this is to

[android-developers] App A wants to access App B resources

2009-06-08 Thread j2metester
App A and App B have same certificates and shareduserids 1) Can App A access resources/ code in App B if it knows the full package name + the resource ID ? App A and App B have different certificates. 1) Can App A access resources/ code in App B if it knows the full package name + the

[android-developers] Error in Repo Initialisation

2009-06-08 Thread Tirtha
Hi, I am using Virtual Box with KUbuntu Linux on x86(Windows XP) system and setting up system for Android Source SDK. I have installed repo through (curl http://android.git.kernel.org/repo ~/bin/repo). Now I am trying to initialize repo by $ repo init -u

[android-developers] capture local webpage/html doc as image thumbnail without opening the android website browser

2009-06-08 Thread jeremygwa
I have some html files, where i would like to make visual preview thumbs of, for a file browser type widget. I prefer that the thumbs be computed locally on the android device, because the files are local, which means using a third-party server-side web-service is not practical. thanks in

[android-developers] Re: G1 chmod for /data folder

2009-06-08 Thread Mark Murphy
Joe Petruchi wrote: Does anybody knows how can i do a chmod on G1 ? I want to basically do chmod 777 /data But this command always gives error operation not permitted If you have a normal G1, you cannot do that. Is there any way i can avoid this error If you have rooted your phone,

[android-developers] How to use jsr184 in android

2009-06-08 Thread manohar
Hi all, Can any one help on this? Does android support jsr184? I have app that is written using jsr184. How to convert this one so that it will work on android phones? ALso pls tell me whether i can use m3g format in android device? If i need to use some other api pls tell me about that. And

[android-developers] Avoiding the display of a picture taken by the camera

2009-06-08 Thread anonymous.androiddevelo...@gmail.com
Hello, I want to take a picture from the camera and set it as the background of my view, my preview is contained into this view. When I call the method takePicture(null, null, mPictureCallback), the picture is displayed in the preview. However I would like to avoid the display of this picture

[android-developers] Reference design for cupcake based mobile phone.

2009-06-08 Thread donpanza
Where can i find reference design for cupcake based mobile phone. --~--~-~--~~~---~--~~ 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] Uri's format problem

2009-06-08 Thread jerry shen
As we know,the uri's string usually begin with content://,followed with authorities's name,like content://com.google.provider.NotePad/Notes But if i want create a activity to display a web,I usually code as follows: Uri uri = Uri.parse(http://google.com;); Intent it = new

[android-developers] Overloading Methods in AIDL

2009-06-08 Thread Kat
I'm getting an error when overloading methods in an AIDL file. It's complaining that I'm trying to redefine the same method (attempt to redefine method send,). The methods have different parameters, so it seems like that should be ok. Has anyone else run into this problem and/or does anyone know

[android-developers] unsubscribe

2009-06-08 Thread jammed73746
--~--~-~--~~~---~--~~ 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, send email to

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-08 Thread Maps.Huge.Info (Maps API Guru)
What you receive from the Google checkout is a boilerplate e-mail. It would probably be a good idea if they changed that to one specific to the Android marketplace. Either way, you have a choice. List your app with the marketplace and pay the fees or use another payment method and pay their

[android-developers] onCreateInputConnection gets called only after trackball is pressed

2009-06-08 Thread Howard M. Harte
I'm trying to catch the Return key on the Soft Keyboard IME. I have an onKeyDown handler that works fine for the ADP1's physical keyboard. I also have code in onCreateInputConnection() that sets up the return key on the soft keyboard to be processed as a raw key event: @Override public

[android-developers] KoreanPhoneNumberFormatter.java?

2009-06-08 Thread ks23m...@gmail.com
Hi, I have a question which is so important for korean localization. as I know, there is JapanesePhoneNumberFormatter.java. so, this file enable japanese user see localized phone format (ex, 022-229-1234). but, in korean locale mode, it showes only number string without hypen. Definitely, there

[android-developers] Re: Enhanced Sensor API

2009-06-08 Thread bboyes
There is an existing Java JSR for sensors: JSR 256. http://jcp.org/en/jsr/detail?id=256 That would seem to be the place to start. This JSR is already supported on many popular phones and has good industry support. Does that in part address your question? Bruce

[android-developers] Can't get hello android printed

2009-06-08 Thread Fahd
Hi All, I am following the hello world example and when I run it through eclipse, the emulater starts showing android... then it comes in to the system and asks me to press menu to unlock. When I do it, it justs unlocks but there no helloworld or application window, just the normal android

[android-developers] Re: Monket testing results in fatal ANR

2009-06-08 Thread Shirish
Hi, I am also getting the same issue with browser application in cupcake. Could you point me the those fixes in the cupcake? Thanks, -Shirish On Apr 14, 3:34 am, Dianne Hackborn hack...@android.com wrote: It looks like there may be nothing wrong with your app.  Fwiw, Cupcake includes a few

[android-developers] Shared Libraries not supported. Use Service

2009-06-08 Thread ozzo
I realize that Android 1.5 does not have support for shared libraries. Copying common resources / libraries into each apk causes bulkiness. I hear that a way to get around this is to application is to run it as a Service. Anyone knows what that means or can point me to a place that explains

[android-developers] MemoryImageSource - HEAD HURTING

2009-06-08 Thread LouisB
Ok, so I'm porting an apple ][ emulator to android - unfortunately MR Hugg has quote use(d) the heck out of the MemoryImageSource class for his AppleDisplay.class (map memory image = emulator image display) Any idea how I can make this happen (efficiently of course) on Android? I've delved

[android-developers] Server sockets stopped working after upgrading to 1.5.

2009-06-08 Thread Jonas Ådahl
Hi, An application I'm working on stopped being usable after upgrading to 1.5, and the reason seems to be that, after joining a WiFi network and creating a TCP/IP or UDP/IP socket, there is no way to communicate using it from a remote entity. I can not even ping the phone using the normal ping

[android-developers] Cannot download. The content is not supported on the phone.

2009-06-08 Thread cbyte
Have had my android .apk file available for download to our members for months and months now, they hit a special download link and it downloads the file and they click it to install, simple. Since my members phones have been updated to 1.5 when they now try the download manager in the browser

[android-developers] Re: How to close the Soft Keyboard?

2009-06-08 Thread Bram
Sorry, no anwser. I have the same question. Did you get this sorted out? In my use-case I clear the focus from an EditText and thus want the keyboard gone too.. myPageEditText.addTextChangedListener(new TextWatcher() { public void afterTextChanged(Editable s) {

[android-developers] About WebView.loadUrl

2009-06-08 Thread chaozh
Hi All: I want to use WebView to view some html files. one of these files's name is Chinese. I tried to use loadUrl to load this file directly, but the WebView tell me that it can not be found. The Chinese name has been transfer to hex in web address. I tried use URLEncoder to encode this url

[android-developers] How do I remove all the spans of an editable?

2009-06-08 Thread El Xordi
Hi, i' trying to remove all the spans in a editable. I tried with clearSpans(), but it hangs the program, i don't know why. is there any other method? it's necessary to say that it's on a TextChangerListener put in the same editable, on the afterTextChange method.

[android-developers] MemoryImageSource / IndexColorModel

2009-06-08 Thread LouisB
Hi All - looking for suggestions - I'm porting a piece of code that extensively uses java awt MemoryImageSource IndexColorModel objects to efficiently transform a bitmap made up of (int)pixels[w*h] custom color's into (int)pixels[w*h] RGB colors. in a nutshell, if color#1 = blue and: if

[android-developers] WebView not working on the new SDK?

2009-06-08 Thread Benjamin
Hi everyone! I've been developing for Android for three months now, and for the first time I'm working with the new 1.5 SDK. I'm facing a pretty basic problem with the WebView. I'm following the HelloWebView tutorial (here: http://developer.android.com/guide/tutorials/views/hello-webview.html)

[android-developers] webview tel: URLs

2009-06-08 Thread Jason Proctor
(can someone respond if they see this? i don't seem to be able to subscribe reliably.) i'm noticing that the regular browser calls numbers when a tel: URL is clicked, but webviews embedded in applications don't - at least mine doesn't. i have the required permissions -- is there something

[android-developers] Share views

2009-06-08 Thread j2metester
Can two applications signed with the same certificate and having same sharedUserIds access each others codes and resources ? lets say I have a view layout (Layout1) described in APK A. Can APK B access Layout 1 assuming they APK A and APK B are signed with the same certificate and share same user

[android-developers] Re: How to Implement the Compass function to my application?

2009-06-08 Thread Brian Smith
Indeed :-) It's come in very handy for me as far as getting a grasp on Android's architecture, as well as getting ideas for doing certain things with it. On Jun 8, 11:46 am, Georgy georgearna...@gmail.com wrote: btw Brian the code in that book is REALLY good I just embedded the compass.. I

[android-developers] Re: Color Spinner list items

2009-06-08 Thread Mark Murphy
JP wrote: Can you point me to an example of this? http://wiki.andmob.org/samplecode In there, you will find links to a half-dozen or so blog posts I have up on AndroidGuys in the Fancy ListViews series that covers all of this. They are written in the context of ListView, but the basic

[android-developers] Re: Problem in identifying which widget click is launching the activity?

2009-06-08 Thread Mark Murphy
Akash Gupta wrote: I m doing the same thing earlier but its not working...its not able to identify which widget is launching the activityif put the appWidgetId as extra then if have more than one widget on your home screen and clicking any one of it its always have the latest widget Id

[android-developers] Receive SMS

2009-06-08 Thread Reuben Sutton
Hi, Can anyone shed any light about why this isn't working? Manifest: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.whitefire.gpslocator android:versionCode=1 android:versionName=1.0 application

[android-developers] A couple of questions from a beginner

2009-06-08 Thread Andrea Cardinale
Hi to everyone. I start trying out some stuff with Android from few days so there's lot I don't know but I hope not to sound too stupid. Here are the first problems I'm facing 1) I have a ListView where each item is made of two icon (on the left and right side) and an EditText, disabled, in the

[android-developers] Android emulator not closing properly

2009-06-08 Thread safestate
Im using Ubuntu 9.04, Sun's JRE6, Eclipse JEE Galileo RC2, and Android 1.5r2 SDK. When i try to close the emulator after running the Hello Android tutorial, it hangs, and doesnt close unless i kill the process. Is this a known problem? --~--~-~--~~~---~--~~ You

[android-developers] How to add Button in a ListView

2009-06-08 Thread Shishir
Hi, I am new to android. I would like to add two normal buttons in the List (ListView). Could you please provide me any example of source code so that i can understand. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] How can I know who started(binded) service?

2009-06-08 Thread ryuk...@gmail.com
Hi, I'm Kiwook. I want know who started(binded) service. I looking for that in the reference, but i can't find any tips. Is it a possible to find who started(binded) service? Would you help me!!! give me a hint or advise~!! --~--~-~--~~~---~--~~ You received

[android-developers] unable to launch Emulator.

2009-06-08 Thread naga suman
Hello All! I downloaded android and followed the instructions provided in this website ( http://source.android.com/download )! but i am unable to launch the android emulator. please find the following error laptop:~/bin/out/host/linux-x86/bin# ./emulator emulator: ERROR: You did not specify a

[android-developers] Sound Recording Example does not work

2009-06-08 Thread iuiz
Hi, I am trying to create an app, that works with the sound, that is recorded using the mic. I just looked here for first informations: http://developer.android.com/guide/topics/media/index.html The Problem ist, that if I try to get the Audio Capture Setup and Start Example to run, it just wont

[android-developers] Analyzing audio in real time?

2009-06-08 Thread TheRev
Basically I want to add functionality to my program that will respond to clapping. I believe AudioRecord is what I need to do but I am not sure what to look for in the array of bytes. Can anyone help me on this issue? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-08 Thread ubikdroid
I tried to use the auth token as a SID to login to http://www.google.com/reader/api/0/unread-count from a widget and it didn't work. I had to resort to using the ClientLogin API to get a valid SID. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Playing shoutcast mp3 stream in background crashes in 1.5

2009-06-08 Thread milan
Hi Ogi - I am struggling to get my shoutcast stream connected to my android app. Any chance you can share some of your code or point me to a tutorial which can guide me? Best, Milan On May 4, 5:16 pm, ogi.andr...@gmail.com ogi.andr...@gmail.com wrote: I've successfully playedshoutcastmp3

[android-developers] Attempting to draw views to offscreen canvas

2009-06-08 Thread orbit
I am trying to make normal Android Views render offscreen so i can use them as textures. I can ofcourse call onDraw() on the views myself but how do i know which Views i need to call this on. I really dont want to do this every frame for all my views, only on the ones that has called invalidate

[android-developers] Camera Preview 90 degree rotated

2009-06-08 Thread Bishwanath Singh
Hi All, I am really bugged up with this issue. Please help.When camera is launched in portrait mode, the viewfinder screen is 90 degrees rotated and stretched out. I read couple of places that this is a known bug with sdk1 but i am still finding this problem with cupcake. Has anyone having any

[android-developers] Re: How to use jsr184 in android

2009-06-08 Thread Mark Murphy
manohar wrote: Can any one help on this? Does android support jsr184? Not that I am aware of. Android supports OpenGL ES 1.0. And also send me some material link to learn the same http://developer.android.com/guide/topics/graphics/opengl.html -- Mark Murphy (a Commons Guy)

[android-developers] Re: G1 chmod for /data folder

2009-06-08 Thread Joe Petruchi
Hi If you have rooted your phone, it should work, but it will only work on that phone. ?? I donot understand this ?? Please explain Regards Joe On Mon, Jun 8, 2009 at 9:30 PM, Mark Murphy mmur...@commonsware.com wrote: Joe Petruchi wrote: Does anybody knows how can i do a chmod on G1 ?

[android-developers] Re: webview tel: URLs

2009-06-08 Thread Mark Murphy
Jason Proctor wrote: (can someone respond if they see this? i don't seem to be able to subscribe reliably.) I see it. i'm noticing that the regular browser calls numbers when a tel: URL is clicked, but webviews embedded in applications don't - at least mine doesn't. i have the

[android-developers] Re: Uri's format problem

2009-06-08 Thread Mark Murphy
jerry shen wrote: As we know,the uri's string usually begin with content://,followed with authorities's name,like content://com.google.provider.NotePad/Notes No. URIs can have any number of schemes. content:// is one, representing a ContentProvider. # But if i want create a activity to

[android-developers] Re: How to add Button in a ListView

2009-06-08 Thread Mark Murphy
Shishir wrote: I am new to android. I would like to add two normal buttons in the List (ListView). Could you please provide me any example of source code so that i can understand. If you mean you want your list rows to contain buttons, visit: http://wiki.andmob.org/samplecode where you

[android-developers] Re: App A wants to access App B resources

2009-06-08 Thread Mark Murphy
j2metester wrote: App A and App B have same certificates and shareduserids 1) Can App A access resources/ code in App B if it knows the full package name + the resource ID ? Yes. There are methods on PackageManager, such as getResourcesForApplication(), that you can use. App A and App B

[android-developers] Re: Using MediaPlayer with Android Virtual Device - Question

2009-06-08 Thread Mark Murphy
milan wrote: Hello - I have set up the MediaPlayer in my Java class attempting to play a file from my local drive. mp.setDataSource(C:/Java/MyProgram/res/raw/something.mp3); Android does not have a C: drive. mp.prepare(); mp.start(); Have I set something up incorrectly above because

  1   2   >