[android-developers] Re: How to get other applications touch screen x,y values when application running in the background?

2009-08-17 Thread Kaj Bjurman
What's an AP? Access Point does not sound correct in this context, did you mean app? Have you written both apps, or are you saying that you'd like to write some kind of spyware that can spy on any application? Why in that case? On 16 Aug, 16:39, Tsung-Ming wang.tsungm...@gmail.com wrote: I

[android-developers] Re: Screen width and height

2009-08-17 Thread Aanderson144
then my final question would be what is the best way to return the drawable screen in pixels even if it's in fullscreen mode my app needs to be aware of it's drawable space for zooming in and out of a 800 x 600 bitmap that changes content but stays the same size? thanks On Aug 17, 1:23 am,

[android-developers] Re: How to simulate a MMS message on android emulator?

2009-08-17 Thread anderson
Does Emulator have a number ?? i mean may i start two emulator and call from one to another ?? On Aug 12, 12:29 pm, n179911 n179...@gmail.com wrote: Hi, How to simulate aMMSmessage onemulator? From the eclipse android plugins, I can only see 'SMS' option. I don't see anyMMSmessage.

[android-developers] Re: Screen width and height

2009-08-17 Thread Aanderson144
this activity has a single ImageView and no buttons or other view items On Aug 17, 3:02 am, Aanderson144 aanderson...@gmail.com wrote: then my final question would be what is the best way to return the drawable screen in pixels even if it's in fullscreen mode my app needs to be aware of it's

[android-developers] Re: How to make phone silent?

2009-08-17 Thread Teo
Hmm, my bad, the method is actually setRingerMode, not setMode. This way it works (no permission needed, although it's weird :). Thanks! On Mon, Aug 17, 2009 at 2:41 AM, Michael Leung michaelchi...@gmail.comwrote: try the premission:

[android-developers] Create File into Android emulator ??

2009-08-17 Thread Dany BREARD
Hi I want to create new File into android or in my workspace but a FileNotFoundException is thrown. [syntax=java] byte[] decoded = Base64.decode( StringBase64 ); File oText = new File(C:/Documents and Settings/.../workspace/ SocketInterface, File); //or: File oText = new File( File);

[android-developers] Re: create service only

2009-08-17 Thread Honest
Hello, I read all the materials but in all that we are creating service from the class which extends activity. Can i make project in which only service is exists and the entry point of the application is even Service. On Aug 13, 8:47 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread Dany BREARD
All Errors: 08-17 07:50:29.964: WARN/System.err(860): java.io.FileNotFoundException: /C:/Documents and Settings/.../ workspace/SocketInterface/File 08-17 07:50:29.984: WARN/System.err(860): at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java: 231) 08-17 07:50:29.993:

[android-developers] Re: Custom component rare exception: Parser is not a BridgeXmlBlockParser!

2009-08-17 Thread ff
Oh, I see, when I use new Button(getContext(), attrs), where attrs are got from one of the overloaded constructors, then everything is all right.. What makes it impossible to create button simply with new Button (getContext()) ? On 16 авг, 18:04, ff rshme...@gmail.com wrote: Hi! I've created

[android-developers] Does Android support detection of clicking on right/left button of a mouse

2009-08-17 Thread dinh minh nguyen
Hi guys, I want to write an Android application using a mouse (like the way that Windows detects the actions of clicking on a right button and a left button of the mouse). However, I cannot find any library of Android OS detecting these actions. Please tell me whether I can do it with the

[android-developers] Re: How to simulate a MMS message on android emulator?

2009-08-17 Thread swapnil
HI, You can start two emulator instances simulate a call too. Just create two AVDs and launch them. Them you can call from one to other by the emulator number like 5556,5554 etc. Thanks regards; Swapnil Dalal. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: create service only

2009-08-17 Thread James
Sorry,You can't. On Aug 17, 3:40 pm, Honest honestsucc...@gmail.com wrote: Hello, I read all the materials but in all that we are creating service from the class which extends activity. Can i make project in which only service is exists and the entry point of the application is even

[android-developers] Re: Does Android support detection of clicking on right/left button of a mouse

2009-08-17 Thread James
We play our phones with our fingers only,So how do you perform both right and left click ?? If so,will you please tell me the difference between the two?? On Aug 17, 4:13 pm, dinh minh nguyen nguyendinhm...@gmail.com wrote: Hi guys, I want to write an Android application using a mouse (like

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread Dany BREARD
Hi Please help me I'm really blocked, I think my code is too simple. Maybe I forgot a significant thing but I didn't find it. Dany On Aug 17, 9:53 am, Dany BREARD dany.bre...@gmail.com wrote: All Errors: 08-17 07:50:29.964: WARN/System.err(860): java.io.FileNotFoundException: /C:/Documents

[android-developers] Re: How to get other applications touch screen x,y values when application running in the background?

2009-08-17 Thread James
HOOK to other APPs ?? I don't think you can do this in an regular APP for security reason. On Aug 17, 2:09 pm, Kaj Bjurman kaj.bjur...@gmail.com wrote: What's an AP? Access Point does not sound correct in this context, did you mean app? Have you written both apps, or are you saying that

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread Dany BREARD
Maybe is about Security and Permissions or User IDs and File Access On Aug 17, 9:53 am, Dany BREARD dany.bre...@gmail.com wrote: All Errors: 08-17 07:50:29.964: WARN/System.err(860): java.io.FileNotFoundException: /C:/Documents and Settings/.../ workspace/SocketInterface/File 08-17

[android-developers] Re: OutOfMemoryError

2009-08-17 Thread Faboom
We found a solution to the problem: open the file /usr/local/android-sdk/platforms/android-1.5/tools/dx and set the magic variable javaOpts=-Xmx1024M to avoid heap size problems while dexing Cheers, On 22 Jun., 17:42, Faboom bu...@uni-koblenz.de wrote: Any news on this topic? Got the same

[android-developers] SlidingDrawer widget hidden by GLSurfaceView while sliding

2009-08-17 Thread Geefer
Reposting as somehow got lost last time ... Hi, I'm having a problem using the SlidingDrawer widget along with a GLSurfaceView as the View that is 'underneath' the drawer (ie. when the drawer opens it should cover the GLSurfaceView in the same way the main applications drawer on the home screen

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread Dany BREARD
I try to us File.exists() = False. Why my File is not create ? On Aug 17, 11:32 am, Dany BREARD dany.bre...@gmail.com wrote: Maybe is about Security and Permissions or User IDs and File Access On Aug 17, 9:53 am, Dany BREARD dany.bre...@gmail.com wrote: All Errors: 08-17 07:50:29.964:

[android-developers] Re: GmapActivity Only marker Touch Listener

2009-08-17 Thread riz
can anyone suggest me a better solution rather than implementing a collision deduction or ray tracing algorithm .please On Aug 16, 8:46 pm, rizwan rizcs...@gmail.com wrote: Hi All , I have extended a MapActivity and add a marker over it like this .. MapView mapView =

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread dillirao malipeddi
Hi Dany BREARD you have no permissions to access windows file system through emulator if u want to create a file use byte[] decoded = Base64.decode( StringBase64 ); File oText = new File(/sdcard/filename.ext); //or: File oText = new File( File); //FileNotFoundException FileOutputStream

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread dillirao malipeddi
and also set permission writeOwnerData On Mon, Aug 17, 2009 at 3:39 PM, dillirao malipeddi dillir...@arijasoft.com wrote: Hi Dany BREARD you have no permissions to access windows file system through emulator if u want to create a file use byte[] decoded = Base64.decode( StringBase64

[android-developers] Re: Why does my PhoneStateListener go quiet?

2009-08-17 Thread chrisnew
On Aug 11, 7:41 pm, chrisnew ch...@floor51.com wrote: On Aug 10, 9:00 am, Ne0 liamjamesalf...@googlemail.com wrote: Thanks for you input Chris. I have managed to get around the issue by using SCREEN_DIM_WAKE_LOCK, the PhoneStateListener still receives updates when held in that state.

[android-developers] Re: create service only

2009-08-17 Thread Spektor Yaron
well, in some cases i guess you can. look at the manifest of the Softkeyboard sample in android 1.5: manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.example.android.softkeyboard application android:label=@string/ime_name android:debuggable=true

[android-developers] ListActivity style question

2009-08-17 Thread Joerg Pleumann
Hello, I want to create a ListActivity that looks like the ones in the settings application (two-line items, separators, inverse section titles). Can I inherit these styles from something built into android.R (and can I rely on these style names being stable across versions?). I tried referring

[android-developers] problem in service in manifest file

2009-08-17 Thread Honest
Hello, I have created the one class named MyService which extends Service. it is in com.saltriver.service package. Now can some one tell me how i should specified it in anroidmanfiest.xml file. The following is content of xml file but it is giving error in service. so can some one tell me what

[android-developers] uploading an apk from my computer

2009-08-17 Thread Spektor Yaron
Hi, i have a softkeyboard code that i am trying to install on my device. i was able to debug and run on my device it using eclipse, it works well as long as the USB cable is connected (of course,once i disconnect it it stops working) i tried adb install as well, that works for a few sample

[android-developers] Auto Answer

2009-08-17 Thread swapnil
Hi All, I want to develope a application which will answer the incoming call after specific time is elapsed. Can anyone help me in generating the (green key)KEYCODE_CALL event programatically. I have tried the same with Intent.ACTION_ANSWER but I am getting the execption that No Activity

[android-developers] Re: Alternative Android Markets

2009-08-17 Thread hanged_man
i dont think this is a scam, i've read that other developers are getting the same offers, I think Android powered phones in the chinese market will have different Market. On Aug 16, 7:15 pm, droidin.net bost...@gmail.com wrote: Sorry reposting here. It seems that I'm not able to post to

[android-developers] Add menu item to the camera app?

2009-08-17 Thread iDeveloper
Hi I'd like to add a menu option to the Android camera app. Is this possible to do using the current SDK? I know I need to add an intent-filter tag in my activity to add my activity to an app's menu. But I don't know what I should put in the mime type. I want to be able to process the

[android-developers] Re: Alternative Android Markets

2009-08-17 Thread Marc Lester Tan
Are they NetDragon? there are already previous threads regarding their offers. I also got email from them about translating my apps to chinese and then reselling for free to the chinese market but I'm quite doubtful. -marc On Mon, Aug 17, 2009 at 12:15 AM, droidin.net bost...@gmail.com wrote:

[android-developers] Re: Does android support MIDP ?

2009-08-17 Thread conqueror
Has google any plan to support it ? If not, thousands of midp games will go to waste. On 8月16日, 上午11时51分, Balwinder Kaur (T-Mobile USA) balwinder.k...@t- mobile.com wrote: No. Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements

[android-developers] Re: Taking Control of Phone Events from App

2009-08-17 Thread Mark Murphy
mike wrote: Hi, My requirement is to take control of control phone events such as (incoming calls,new message) from my application. My application will be decide whether to bring the incoming call window on fore ground and notify user or not. I would like know if its possible on

[android-developers] Re: Alternative Android Markets

2009-08-17 Thread gunnar-medial
Might not be a scam. I'm thinking of launching an appstore myself for nordic countries in Europe. I would offer to translate as well. But I rather prefer Google be diligent about expanding merchant checkout (seller) accounts to more countries as to fight all those alternate stores popping up. On

[android-developers] Re: Doing something every second

2009-08-17 Thread monsoon
You could use an: android.os.CountDownTimer I found it works pretty much like the Timer class in Swing, if you've dabbled with that. Cheers Steve On Aug 17, 6:29 am, Rexxars rexx...@gmail.com wrote: Hi, I'm trying to create a remote control for a media player (communicating with a TCP

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread Dany BREARD
Ok thanks dillirao So firslty, to create my File, I have to launch my AVD amulator with the following line on cmd: emulator -avd my_avd -sdcard C:\SDCard My emulator is launched And then I run my application : File oText = new File(C:/SDCard/File.wav); FileOutputStream fStream = new

[android-developers] Instrumentation

2009-08-17 Thread Andhravaala
Hi, I have a requirement to test an Activity (by sending key stroke events programatically) of one App from another App. Is Instrumentation is only way to achieve this ? or Is there any other way to do this ? Please help me in this... --~--~-~--~~~---~--~~ You

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread Dany BREARD
File doesn't create so i thin k my /sdcard is not recongnized but when i launch emulator with emulator -avd my_avd -sdcard C:\SDCard I have no error. On Aug 17, 2:48 pm, Dany BREARD dany.bre...@gmail.com wrote: Ok thanks dillirao So firslty,  to create my File, I have to launch my AVD

[android-developers] Re: Does Android support detection of clicking on right/left button of a mouse

2009-08-17 Thread Barry Wei
it's call a Long Click i think you could search about this via net. also, there's something about this at android dev guide. On Aug 17, 4:13 pm, dinh minh nguyen nguyendinhm...@gmail.com wrote: Hi guys, I want to write an Android application using a mouse (like the way that Windows

[android-developers] Re: problem in service in manifest file

2009-08-17 Thread String
It'd be helpful if you said what error you're getting. First off, what you've posted isn't valid XML, the service element's getting closed twice. Take the / out of the opening tag. Second, if you get an error of Class .service.MyService does not exist, try changing your opening service tag to:

[android-developers] Re: launching m3u playlist with intent

2009-08-17 Thread Seb
Hi Marco, Thank you very much for the response. You give me the key to find the solution. I had to study the code of PlaylistBrowserActivity to find the solution. I give it here if someone else search the solution: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setComponent(new

[android-developers] out of memory error getWallpaper

2009-08-17 Thread Flying Coder
This has been driving me nuts and I'm hoping someone will be able to help me understand what is happening (or better yet, how to fix it! ;-). I set the background image in one of my apps to the system wallpaper image using the following code: Drawable wp = this.getWallpaper(); background

[android-developers] Re: uploading an apk from my computer

2009-08-17 Thread Nivek
Officially, unless you have a Google Dev Phone, you have to package it as a signed .apk. Then you can deploy it on your phone as you prefer : - push it on the sdcard with USB cable and use a File Manager app to find and install it - email it to you gmail account and install APKatch to install it

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-08-17 Thread Dany BREARD
Hi I have the same issue but I can't change my /sdcard permission. I have windows xp, I try to change /sdcard permission as this url: http://www.vulgarisation-informatique.com/droits-acces.php but permission don't change. please help me how can I change this permisson in windows xp ? It's

[android-developers] how to get to internal.R

2009-08-17 Thread Spektor Yaron
hi, i have read several posts about getting to internal.R but i want to make sure i got it. i understand that the SDK does not support it anymore (not even what is in public.xml?) and of course, that i shouldn't use reflection (i got that Dianne, thank you :-) how can i without taking all the

[android-developers] AsyncTask - wait until the task has finished

2009-08-17 Thread Tom
Hi, I use a subclass of AsyncTask in the main Thread. I would like the main Thread wait for the end of the AsyncTask. How can I do that? I saw methods get() in AsyncTask but I don't understand them. Best Regards Tom --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread Dany BREARD
If I want to Create my file into emulator android and not on xp How can I do this, please ?? Can I save my file in data or sytem or other? in ddms: +datapermissions : drwxrwx--x +sdcardpermissions : d- +system permissions : drwxr-xr- Dany On Aug 17, 3:11 pm, Dany

[android-developers] TextView with dyncami links

2009-08-17 Thread mobilek...@googlemail.com
Hello, I have a TextView containing special pieces of information, which I would like to perform some action on. The closest supported functionality I can think of in android is android.util.text.Linkify, however, I find it limited as it only recognises phone numbers, email, web and map

[android-developers] Re: AsyncTask - wait until the task has finished

2009-08-17 Thread Mark Murphy
Tom wrote: I use a subclass of AsyncTask in the main Thread. I would like the main Thread wait for the end of the AsyncTask. Please please please please please do not do this. At best, your users will wonder why the application is frozen. At worst, Android will wonder why the application is

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread Mark Murphy
Dany BREARD wrote: If I want to Create my file into emulator android and not on xp How can I do this, please ?? Can I save my file in data or sytem or other? http://developer.android.com/guide/topics/data/data-storage.html -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: How to use other app to 'view' the media in Gallery

2009-08-17 Thread Nivek
That's right but now the choice of your application is showing when you open anything, isn't it ? You should be a bit more specific, try to get the mime type of the intent you receive when opening that specific directory you want to handle. On 14 août, 17:19, Anthony Xu xjh2...@gmail.com wrote:

[android-developers] Re: out of memory error getWallpaper

2009-08-17 Thread Nivek
When you change the device orientation, you app is closed and then reopened. Android handles bitmaps a special way, you HAVE to explicitly recycle them as soon as you don't need them anymore... or they stay allocated in memory and NEVER get freed. I have started to code an app which uses a set

[android-developers] Re: how to extract RAW HTML using WebView

2009-08-17 Thread m8
HI OK finally I managed to extract the HTML. But now I have another Dilemma. 1) The API I am using is public void addJavascriptInterface (Object obj, String interfaceName). Google says Using addJavascriptInterface () allows JavaScript to control your application. This can be a very useful

[android-developers] Question on WebView.addJavaScriptInterface()

2009-08-17 Thread m8
HI I am trying to extract the HTML of the current page. 1) The API I am using is public void addJavascriptInterface (Object obj, String interfaceName). Google says Using addJavascriptInterface () allows JavaScript to control your application. This can be a very useful feature or a dangerous

[android-developers] Accessing the CallLog from a Service or Broadcastreceiver

2009-08-17 Thread Frank von Daak
Hi there! Is there any way, to access the CallLog from a service or BroadcastReceiver? Any help would be great :-) Thank you very much... Frank -- Name: Frank von Daak ICQ: 490068423 eMail: f.vond...@kpage.de Enjoy yourself - it's later than you think!

[android-developers] Re: Accessing the CallLog from a Service or Broadcastreceiver

2009-08-17 Thread Mark Murphy
Frank von Daak wrote: Hi there! Is there any way, to access the CallLog from a service or BroadcastReceiver? Any help would be great :-) Service, yes, the same way you would from an Activity. For a manifest-registered BroadcastReceiver, you probably should pass control to a Service or

[android-developers] Re: Alternative Android Markets

2009-08-17 Thread droidin.net
I also got this reply from megachan on Android Market Forum, I think he has some excellent points: Re: I would be very cautious in dealing with Chinese app distributor. I sold plenty of apps through my distributor but the problem isn't selling your app it is collecting the money. It is

[android-developers] Re: AsyncTask - wait until the task has finished

2009-08-17 Thread Tom
At first, my asyncTask show a progress dialog to prevent users. it's used to download some informations from a web server. Then, I would like, in fact, wait for the end of the asyncTask in order to continue some stuff on the main thread. cause I can't modifiy the main view in the asyncTask.

[android-developers] Re: AsyncTask - wait until the task has finished

2009-08-17 Thread Romain Guy
When the task finishes, onPostExecute() is invoked. You can use this method to change views. Making the main thread wait for the AsyncTask is a bad idea since it would just go against the entire purpose of AsyncTask. On Mon, Aug 17, 2009 at 8:36 AM, Tomthomas.coz...@gmail.com wrote: At first,

[android-developers] Re: Problem while compiling the cupcake Android release for the HTC G1 dev edition

2009-08-17 Thread Balwinder Kaur (T-Mobile USA)
This question is more suited for the android platform forum http://groups.google.com/group/android-platform Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity,

[android-developers] Re: Click on Status bar notification switch to task in current state?

2009-08-17 Thread Rick
I also have this same issue. Right now I'm handling it simply by passing an empty Intent so that a click does nothing, but is this far from ideal (although still better than destroying the activity stack which crashes my app). Anyone have some insight? On Aug 16, 4:23 pm, Gustav Mauer

[android-developers] Re: Experimental Bluetooth Library

2009-08-17 Thread yoshitaka tokusho
This is a great work. Thank you, Stefano. Just one question. I'm wondering if this API is not thread-safe. Is this assumption correct? Y.T. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: ListActivity style question

2009-08-17 Thread Balwinder Kaur (T-Mobile USA)
Try: style=@android:style/TextAppearance.WindowTitle Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA,

[android-developers] Re: AsyncTask - wait until the task has finished

2009-08-17 Thread Tom
Ok I understand well that is a bad idea. Before that, I tried to change views in the onPostExecute() method. But unfortunately, I didn't manage to do what I wanted to do. The main errors were that I couldn't modify the view. So I decided to try an another way. Thanks for the answers. I'll keep

[android-developers] Re: Assets not copying to device/emulator (Eclipse)

2009-08-17 Thread Balwinder Kaur (T-Mobile USA)
I recommend using the getAssets() call to retrieve files from your assets folder. http://developer.android.com/reference/android/content/res/Resources.html#getAssets() Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email

[android-developers] Re: Determine what's the active package or activity running?

2009-08-17 Thread Balwinder Kaur (T-Mobile USA)
LocalActivityManager would be the class to look into Specifically, getCurrentActivity () will return the current activity. http://developer.android.com/reference/android/app/LocalActivityManager.html#getCurrentActivity() Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick

[android-developers] Re: Click on Status bar notification switch to task in current state?

2009-08-17 Thread Marco Nelissen
On Sun, Aug 16, 2009 at 1:23 PM, Gustav Mauergus...@mauer.co.za wrote: My applications carries on processing when the user presses the home key, and generates status bar notifications if something happens the user requested to be notified about. If a user holds the home key and then selects

[android-developers] Re: Memory Leak when creating OnClickListener

2009-08-17 Thread Dan Sherman
Still struggling with this, anyone have any ideas? - Dan On Sun, Aug 16, 2009 at 12:07 AM, Dan Sherman impact...@gmail.com wrote: After some more testing, it doesn't look like it has anything to do with creating a new OnClickListener each time. The following snippet (using the same

[android-developers] Re: out of memory error getWallpaper

2009-08-17 Thread Flying Coder
Hi Nivek, Unfortunately, doing recycle on the drawable returned by ContextWrapper.getWallpaper() results in a run-time exception the next time the app is launched: attempt to use recycled bitmap. Though curiously, if I launch the app again after receiving the exeption, it works fine. I.e.,

[android-developers] Re: Screen width and height

2009-08-17 Thread Dianne Hackborn
Like I said, set up your UI so you have your own custom view placed where you want, and the size of the view is the size you are about. You can find out about the size changing with View.onSizeChanged(). (And if this is just a leaf view, not one that is going to position child views, you can

[android-developers] Re: out of memory error getWallpaper

2009-08-17 Thread Dianne Hackborn
The wallpaper is loaded into each application that requests it. It is only loaded the first time you ask for it, and the next time after it is changed to some other image. You are probably leaking memory. You can use the hat tool to look at your allocations -- search on this list, there have

[android-developers] Re: Memory Leak when creating OnClickListener

2009-08-17 Thread Dianne Hackborn
What is the type of the object in the array that is increasing in number? On Mon, Aug 17, 2009 at 9:36 AM, Dan Sherman impact...@gmail.com wrote: Still struggling with this, anyone have any ideas? - Dan On Sun, Aug 16, 2009 at 12:07 AM, Dan Sherman impact...@gmail.com wrote: After some

[android-developers] Re: how to dial voicemail?

2009-08-17 Thread Balwinder Kaur (T-Mobile USA)
I agree, the documentation for the this is not quite appropriate. To retrieve the voicemail number you can try TelephonyManager.getVoiceMailNumber http://developer.android.com/reference/android/telephony/TelephonyManager.html#getVoiceMailNumber() Balwinder Kaur Open Source Development Center

[android-developers] Re: how to get to internal.R

2009-08-17 Thread Dianne Hackborn
On Mon, Aug 17, 2009 at 7:18 AM, Spektor Yaron spekt...@gmail.com wrote: i have read several posts about getting to internal.R but i want to make sure i got it. i understand that the SDK does not support it anymore (not even what is in public.xml?) Everything in public.xml is in android.R;

[android-developers] Re: Memory Leak when creating OnClickListener

2009-08-17 Thread Dan Sherman
Looks to be a Runnable (from what I can tell). On Mon, Aug 17, 2009 at 12:49 PM, Dianne Hackborn hack...@android.comwrote: What is the type of the object in the array that is increasing in number? On Mon, Aug 17, 2009 at 9:36 AM, Dan Sherman impact...@gmail.com wrote: Still struggling

[android-developers] XML Reader

2009-08-17 Thread Sasi Kumar
When we are reading a xml file in android. At the execution time it is taking so much time for executing. Is there any way to reduce the time taking for execution? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-17 Thread duykham
Haritha, I think you got the issue of SD card. It is not writable, so that the coverage.ec can not be saved into SDcard. You can get more detail about this issue here: https://review.source.android.com/#change,9452 Hope this helps. BR. Haritha のメッセージ: Brett first of all thanks for all the

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread Panut Sunyakorn
Try this code. File oText = new File(/sdcard/test.txt); try{ FileOutputStream fStream = new FileOutputStream(oText); fStream.write(xxx.getBytes()); fStream.close(); }catch(Exception e){ e.printStackTrace();

[android-developers] Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, 200) does not change real hardware value

2009-08-17 Thread tim
Hi All, In Android SDK there is a public API that sets the screen back light brightness, I wrote a test application and install it on G1. After calling the public API, the brightness is not changed, instead we must reboot the phone, after rebooting, the screen brightness is changed. The public

[android-developers] Adding custom objects to JSCore

2009-08-17 Thread LG
Hi All,. i need to create custom objects to JSCore of webkit Is there any sample code which i can refer to? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] fix for ArrayIndexOutOfBoundsException while dynamically updating ItemizedOverlay

2009-08-17 Thread Tony Wong
My application dynamically inserts OverlayItem objects throughout its lifetime, without ever throwing a loading dialog to block user input. If you're doing the same and you've been getting an ArrayIndexOutOfBoundsException in getIndexToDraw of ItemizedOverlay, here's what I did to fix the

[android-developers] chart engine for android

2009-08-17 Thread _AM_
Hi, Can anyone suggest good chart engine for Android?! I did a small research and found several engines: - Java4Less (http://java4less.com/charts/chart.php?info=android) - Chart4J (http://code.google.com/p/charts4j/) - BlueChart (http://code.google.com/p/bluechart/) is it a port of jFreeChart?!

[android-developers] Re: Alternative Android Markets

2009-08-17 Thread cs_post...@hotmail.com
On Aug 16, 12:15 pm, droidin.net bost...@gmail.com wrote: I have 2 apps (DroidIn) on Market for some time now. Lately I start getting offers from Taiwanese/Chinese mobile leaders companies offering to host and resell the app. They are offering to help with translation and provide links to

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread cs_post...@hotmail.com
On Aug 17, 9:11 am, Dany BREARD dany.bre...@gmail.com wrote: File doesn't create so i thin k my /sdcard is not recongnized but when i launch emulator with emulator -avd my_avd -sdcard C:\SDCard Not sure if you got this right or not, but the sdcard is not a directory on your windows box, its

[android-developers] Re: Many Listviews problem

2009-08-17 Thread R.Krp
On Aug 16, 5:39 pm, Mark Murphy mmur...@commonsware.com wrote: Aayush wrote: Hi, I want to show many listviews in one activity. Something like Textview Listview TextView Listview .. Every listview has different type of adapter. For this, I made the activity class

[android-developers] xml

2009-08-17 Thread Sasi Kumar
how can we reduce the execution time, when we are using xml parser. If anybody know rely me.. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Reuse alertmanager loading-image

2009-08-17 Thread Pieter Bonne
Dear, I was wondering whether I can re-use the loading-image displayed in the topleft corner of an alert dialog inside my own activity. I have some sort of submit button and would like to display such an animation next to it while the submittal is in progress. Ofcourse i would prefer using a

[android-developers] Cant create tabbed activity.

2009-08-17 Thread dmtrl...@gmail.com
Hello All! I have one problem, and hope somebody can help me. When I try to create tabbed window. I am use this example http://developer.android.com/guide/tutorials/views/hello-tabwidget.html , but in designer I see NullPointerException (not layout) and when I start application - activity

[android-developers] 'Location-Based' Services in a mobile environment survey

2009-08-17 Thread S.W.Schilke
'Location-Based' Services in a mobile environment survey You are being invited to take part in a research study. The aim of this research is to investigate the extent to which users are aware of 'location-based' recommendation services and their perception of such services. The research will

[android-developers] Re: Android Dev Phone 1 out of stock

2009-08-17 Thread farble1670
agreed, frustrating. i should not have to pay $25 for the privilege of knowing that they are out of stock. yes i would have joined eventually anyway, but i did so *today* with the intent of picking up a device. On Jul 27, 12:15 pm, AndyB rn.an...@gmail.com wrote: Nobody seems to have answered

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread TomTasche
If you want to create a file on your device (or emulator), you have to change the path. try this: --- File oText = new File(/sdcard, File); --- instead of: --- File oText = new File(C:/Documents and Settings/.../workspace/ SocketInterface, File); --- P.S.: If you only want to write text

[android-developers] How to change ringtone volume to constant value

2009-08-17 Thread lingareddy
Hi, i am working on android code, when i get incoming call first volume started low then it is getting increased to high volume set. now how i can make ringtone to constant volume.so that through out the ringtone it should come same volume. can any one please help me. thanks regards

[android-developers] can andriod be in pda area?

2009-08-17 Thread xiami007
i want use android as my os of a pda,but adnroid is a os designed for mobile phone, so i want to customize the ui and delete some models that i did not need in andriod. it seems that i should do a lot of work. is it possile to do that? or has anybody else done that kind of work before?

[android-developers] copy big size file crash

2009-08-17 Thread Pinfield
Hi, Dear All, Now, there is an issue worried me very much. I constructed a small application(myapp), and try to copy a big size(about 150M) file to some other folders; but it always crashed. From the log, I found it was caused by low memory issue: it will kill some other processes first,

[android-developers] Re: get version from apk

2009-08-17 Thread Greivin Lopez
Hi, you could use PackageInfo class to retrieve some information from Manifest.xml. Try to use this code: /** * Gets the software version retrieved from the Manifest. */ private String getSoftwareVersion() { try { PackageInfo packageInfo =

[android-developers] Re: GPS ,accuracy of the GPS receiver

2009-08-17 Thread _AM_
Hi, 5-10 miters is accuracy of GPS. Do not expect too much... According to conspiracy theory this is done specially by USA military :) they each day set new deltas into GPS system to prevent it use for rockets navigation by other countries... In reality I think GPS internal timing is not very

[android-developers] Re: GmapActivity Only marker Touch Listener

2009-08-17 Thread gizmomogwai
is ItemizedOverlay.onTap enough for you or need you more fine grained control over the tap / touch events? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Understanding the BroadcastReceiver

2009-08-17 Thread R Ravichandran
Hello, I have an application that uses an extended BroadcastReceiver class inside the Activity. I have the extended BroadcastReceiver class as a member variable of the Activity class. But it looks like the receiver references keep changing between its construction and 'onReceive' method call. I

[android-developers] Re: XML Reader

2009-08-17 Thread Mark Murphy
Sasi Kumar wrote: When we are reading a xml file in android. At the execution time it is taking so much time for executing. Is there any way to reduce the time taking for execution? 1. Don't use DOM, if that is what you are using. Use SAX or XPP for performance. 2. Read smaller XML files.

[android-developers] How to style part of TextView

2009-08-17 Thread fhucho
Hi, I want to include a chat feature into my application. But I don't know what widget should I use for the chat - now I use TextView but I have two problems: 1) In the TextView there will be lines like John: Hi, how're you doing?. I want the text John to have blue color, how can I do that? 2)

  1   2   >