[android-developers] Re: Alternatives to Multitouch

2009-07-20 Thread John Smith
2009/7/20 Desu Vinod Kumar vinny.s...@gmail.com HI That means look like Scale frame in Photo Stream example. I also want to do the same multi touch zoom functionality in my app. By this conversation Multi touch functionality is not yet implemented now ,it is not possible to add in

[android-developers] why can't list files under /data ?

2009-07-20 Thread tstanly
hi all, use file class, file(/data).listfiles(); there is notiong can show, but use file(/).listfiles(); it works! so is there some limit for directory under /data ?? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] How to make Visible Invisible Buttons?

2009-07-20 Thread android.vinny
Hi How to create A Visible for 10 sec When we click an Item after that it invisible upto when i click the item again. can any body guide me regarding this? thanks a a lot --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread tstanly
hi, i change the mode for /data, chmod 777 /data it's work! but is there have threat for changoing directory mode?? thanks! On 7月20日, 下午2時04分, tstanly tsai.sta...@gmail.com wrote: hi all, use file class, file(/data).listfiles(); there is notiong can show, but use

[android-developers] Re: How to create HTTP request, and how to create a connection object.

2009-07-20 Thread Chris
Any clue??? Guys i dont have any idea from where to start. Any help will be highly apperciated. THANX On Jul 17, 6:52 pm, Chris narendrasingh.bi...@gmail.com wrote: How to create anHTTPrequestobject of POST type in android? Which class need to be extend or what method need to implement? How

[android-developers] Re: How to create HTTP request, and how to create a connection object.

2009-07-20 Thread Chris
It didnt help me.. Thanks On Jul 17, 6:59 pm, Peli peli0...@googlemail.com wrote: Why don't you simply try a Google search?http://www.google.com/search?q=http+post+java Peliwww.openintents.org On Jul 17, 3:52 pm, Chris narendrasingh.bi...@gmail.com wrote: How to create

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread Romain Guy
That would (potentially) allow any application to read and write the data of other applications. So yes, there's a threat. On Sun, Jul 19, 2009 at 11:23 PM, tstanlytsai.sta...@gmail.com wrote: hi, i change the mode for /data, chmod 777 /data it's work! but is there have threat for

[android-developers] App doesn't run after update

2009-07-20 Thread doubleslash
I've been developing an app which uses the camera. It worked fine until I installed the laterst system update. I was running the app on my G1 when I saw an alert notifying of some system updates. I chose to install it, and then after that, my app doesn't run anymore. What is up?

[android-developers] how to run the focus item on the view without using onclick

2009-07-20 Thread Morris
Hi All: If I want to execute the focused item on the view, I need to select focused item and press enter. Now I want to find another way to execute it without using click action. Does everyone know the other way? Thank you very much. Sincerely yours, Morris

[android-developers] How can i place a button in image view?

2009-07-20 Thread android.vinny
HI How can i place a Image Buttons on the Image View If i click the grid view i vl get a image in full screen i want tplace the imagebuttons on the images how can i place that give me some suggestions thanks a lot in advance --~--~-~--~~~---~--~~ You

[android-developers] Re: how to run the focus item on the view without using onclick

2009-07-20 Thread Saurav Mukherjee
AFAIK, u need some or the other event to trigger the execution on the UI. now, wat u cud do is in a function, u cud have the requestFocus function so that the component u want to execute comes to focus. before this, u shud have the setOnFocusListener() defined for the component. so wen the

[android-developers] surfaceChanged callback takes a long time to arrive (SurfaceFlinger issue?)

2009-07-20 Thread Lee
I've implemented a SurfaceView that receives callbacks from the SurfaceHolder. The first time that I rotate the screen the surfaceChanged callback takes a long time (~5-10 seconds) to arrive. This only happens the first time that the screen is rotated. Subsequent rotations are near

[android-developers] Re: App doesn't run after update

2009-07-20 Thread MrChaz
From the 1.5 r3 release notes: When an application requests access to device camera (through android.hardware.camera), the CAMERA permission check is now properly enforced. On Jul 20, 7:31 am, doubleslash doublesl...@gmail.com wrote: I've been developing an app which uses the camera. It worked

[android-developers] Re: How to create HTTP request, and how to create a connection object.

2009-07-20 Thread Peli
Which code did you try? The link contains several Java code examples with HTTP and POST. The more specific your question is, the better people can help you here. Please post a piece of code here that you tried but did not work, and we may be able to tell you what you need to change. Also, this

[android-developers] Re: How to create HTTP request, and how to create a connection object.

2009-07-20 Thread Christine
Maybe you should ask in android beginners? Or google android java httpclient post? On Jul 20, 10:01 am, Peli peli0...@googlemail.com wrote: Which code did you try? The link contains several Java code examples with HTTP and POST. The more specific your question is, the better people can help

[android-developers] List view scrolling while setPadding

2009-07-20 Thread Muthu Kumar K.
Hi All, I have an list view in my project. If the list view items are more than that page (screen size) means i am able to see the scroll bar in the right side. If i am restricting in to a default size using setPadding (reducing the height of the view). This time i am not getting the scroll bar.

[android-developers] Re: How to keep service alive?

2009-07-20 Thread Yossi
My code snippet was not full. I use ServiceConnection and do save the state of the service (binded/unbinded) to avoid unnecessary binding. Anyhow, thanks for the details. I believe I know now how to rewrite me code. Yossi On Jul 19, 11:49 pm, Dianne Hackborn hack...@android.com wrote: The

[android-developers] problem in updating ADT

2009-07-20 Thread zeeshan
Hi Dear, i am trying to update ADT 0.9 from 0.8 and following the link http://developer.android.com/sdk/1.5_r3/upgrading.html#UpdateAdt. as for the first step i need to uninstall android editor but uninstall button doesn't enable when i click on android editor or android developer tool. only

[android-developers] How can i send request to Nusoap webservices?

2009-07-20 Thread android.vinny
Hi How to send the Request from Nusoap Php webservices and get the response from the server? Plz help me regarding this ? Thanks a lot in advance.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Can we make paid apps - additional packs also chargeable?

2009-07-20 Thread Shibbs
Hi All, We are developing an android paidgame, which would also come with additional paid packs/levels. Does android market has any support that once the paid app is downloaded, it's additional pack's/level can also be charged through the market, if the user intends to download the additional

[android-developers] thrown some error response in ddms plz help regarding this

2009-07-20 Thread android.vinny
[2009-07-20 15:21:04 - ddmlib]An established connection was aborted by the software in your host machine java.io.IOException: An established connection was aborted by the software in your host machine at sun.nio.ch.SocketDispatcher.write0(Native Method) at

[android-developers] Re: How can i place a button in image view?

2009-07-20 Thread peeyush varshney
Hi, You can not keep built-in widget over anthor ..u hav to create Custom control which extend from Image View. Or tell me clear what u want to do.. On Mon, Jul 20, 2009 at 12:35 PM, android.vinny vinny.s...@gmail.comwrote: HI How can i place a Image Buttons on the Image View If i click

[android-developers] Re: How can i place a button in image view?

2009-07-20 Thread Desu Vinod Kumar
HI my activity will show the image in full screen in that full screen image botom i want to place two buttons when i click the photo the buttions shouls visible for 10 sec and should g to invisible mode after .. On Mon, Jul 20, 2009 at 3:34 PM, peeyush varshney varshney.peey...@gmail.com

[android-developers] Re: Alternatives to Multitouch

2009-07-20 Thread jdesbonnet
Can the ringer/speaker volume + / - keys be utilized for a general zoom in / out. I guess there will be UI complications if you are handling a call at the same time. On Jul 18, 6:18 pm, Jason Van Anden jason.van.an...@gmail.com wrote: I need to zoom-in/zoom-out for my app.  Multitouch would

[android-developers] Re: Alternatives to Multitouch

2009-07-20 Thread Desu Vinod Kumar
HI Yes i have also listned some that we can control the zoomin and out from volume control option how it posible if any body knows plz explain On Mon, Jul 20, 2009 at 4:04 PM, jdesbonnet jdesbon...@gmail.com wrote: Can the ringer/speaker volume + / - keys be utilized for a general zoom

[android-developers] Re: How can i place a button in image view?

2009-07-20 Thread peeyush varshney
Hi,You can not keep built-in widget over anthor built-in ..you need to create Custom Image which is having two button..thats aLL.. On Mon, Jul 20, 2009 at 3:37 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote: HI my activity will show the image in full screen in that full screen image

[android-developers] Re: How can i place a button in image view?

2009-07-20 Thread Desu Vinod Kumar
HI my activity shows 20 images one of after the other for all images that buttons should visible i onitemclick press the image On Mon, Jul 20, 2009 at 4:09 PM, peeyush varshney varshney.peey...@gmail.com wrote: Hi,You can not keep built-in widget over anthor built-in ..you need to create

[android-developers] Semi trasparent buttons over a wallpaper

2009-07-20 Thread TAKEphONE
Hi all, I am not sure of the technical terms for this, so I could not find answers. I want my app to have a screen (layout) with several buttons. I want the buttons to appear above a wallpaper (the system selected wallpaper - the one the user selects to show in the HOME application). And - I

[android-developers] Re: Strange bug in GPS fix - please help!

2009-07-20 Thread Anna PS
Thank you Mark! That solved the problem - thanks for the swift and helpful response, as ever. Do you think it is a bug that getLastKnownLocation tends to choke and fail if called from a background thread - is it something that I should reproduce and report to Google? Or is it something that I

[android-developers] Re: Strange bug in GPS fix - please help!

2009-07-20 Thread Mark Murphy
Anna PS wrote: Do you think it is a bug that getLastKnownLocation tends to choke and fail if called from a background thread - is it something that I should reproduce and report to Google? I'm not sure. I *think* I've used getLastKnownLocation() in background threads, but I don't have a ready

[android-developers] Re: translated application dealing with English only server

2009-07-20 Thread kizza
Hi, and thanks for your help. I've managed to make my own ListAdapter now, but how do I load the resources of another language? I tried doing a hack by changing the Locale halfway with Locale.setDefault(Locale.ENGLISH); but when I requested the resource it still gives me the local language. This

[android-developers] Re: translated application dealing with English only server

2009-07-20 Thread Mark Murphy
kizza wrote: Hi, and thanks for your help. I've managed to make my own ListAdapter now, but how do I load the resources of another language? That is for the user to control. The user can change their locale via the Settings application if and when they feel it is appropriate. -- Mark Murphy

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-20 Thread Olaf Geibig
Solved!!! Flori7500 from the German andoid community had fixed the linux adb issue. See his changeset: https://review.source.android.com/#change,10728 Looks like he didn't notice the actual changes in the current head concerning the Samsung vendor id constant, but I guess he will merge his

[android-developers] Re: how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-07-20 Thread JP
I've double checked my code and found I'm doing this slightly differently, although the method above should also work. Strike Register broadcast receiver in the manifest - this seems to be meerly a declaration of the receiver. No intent filters; I check the specific event types _ON/_OFF in the

[android-developers] Re: translated application dealing with English only server

2009-07-20 Thread Streets Of Boston
Kizza, If you need to be able to tranlate 'on the fly', then you need to do all translations yourself. Don't use the strings.xml file. On Jul 20, 9:52 am, Mark Murphy mmur...@commonsware.com wrote: kizza wrote: Hi, and thanks for your help. I've managed to make my own ListAdapter now, but

[android-developers] Re: how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-07-20 Thread Mark Murphy
JP wrote: Strike Register broadcast receiver in the manifest - this seems to be meerly a declaration of the receiver. No, this means the receiver runs outside the context of any given component (e.g., activity or service). For example, you need this with the ACTION_BOOT_COMPLETED Intent, since

[android-developers] Secure data storage (rooted phones)

2009-07-20 Thread Markus Junginger
Hello everyone, Let's say there are hard security requirements that must include the possibility of rooting a phone. So when a phone gets lost, the sensitive data on it should still be as secure as possible even if the phone is rooted. Any hints and ideas on this? The first thought was that

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread Disconnect
/data only contains - on this running dream, with mostly standard firmware - a few directories, none of which are directly application related and all of which appear to be standard: drwxrwx--x shellshell 2009-05-28 19:49 local drwxrwx--x system system2009-05-28 19:49

[android-developers] Re: Secure data storage (rooted phones)

2009-07-20 Thread John Smith
2009/7/21 Markus Junginger mar...@junginger.biz Any hints and ideas on this? If you have to ask such a question you probably aren't qualified to implement a solution. I'm not trying to insult you, but it takes a special type of mindset to go down this path properly, and then years give or

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread David Turner
On Mon, Jul 20, 2009 at 4:14 PM, Disconnect dc.disconn...@gmail.com wrote: /data only contains - on this running dream, with mostly standard firmware - a few directories, none of which are directly application related and all of which appear to be standard: What is a mostly standard firmware

[android-developers] Problems drawing a SurfaceView

2009-07-20 Thread klirr
This just makes the screen black, why? I don't understand how to force the draw of the SurfaceView. package com.android.WWS; import android.app.Activity; import android.content.Context; import android.graphics.*; import android.os.Bundle; import android.view.SurfaceView; import

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread Disconnect
No, I'm running a modified Ion build actually. Are you saying that it would be different on some other device/image? I can flash and find out easily enough (yay nandroid). On Mon, Jul 20, 2009 at 10:19 AM, David Turner di...@android.com wrote: On Mon, Jul 20, 2009 at 4:14 PM, Disconnect

[android-developers] Re: Secure data storage (rooted phones)

2009-07-20 Thread Markus Junginger
Time and resources are limited, of course. :) To further clarify the objective: a single file should be encrypted. The other important point is, that there should be no user interaction like password entry. Given this, I guess a secure solution is impossible on rooted phones in a strict sense

[android-developers] Error in Android documentation

2009-07-20 Thread mafro
Hey all, A small notice here to say I found an error in the documentation, when building a radio button context menu in XML. On this page, in the Menus section, under 'Elements and Attributes' for the group tag. http://developer.android.com/guide/topics/resources/available-resources.html

[android-developers] Bitmap in GLSurfaceView

2009-07-20 Thread kalyan simhan
hi all.. I want to load a bitmap on a GLSurfaceView.. I do it like this: // In the SurfaceCreated function in the class that implements GLSurfaceView.Renderer int[] textures = new int[1]; gl.glGenTextures(1, textures, 0); mTextureID = textures[0];

[android-developers] Re: Secure data storage (rooted phones)

2009-07-20 Thread John Smith
2009/7/21 Markus Junginger mar...@junginger.biz Given this, I guess a secure solution is impossible on rooted phones in a strict sense (again, I am no security expert) because you can reverse engineer code and access all data. The question is if there are means to increase security to a level

[android-developers] Re: how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-07-20 Thread Peli
The answer is already in this forum: http://groups.google.com/group/android-developers/browse_frm/thread/81d84efa68578924/e470ffd0dab85086?lnk=gstq=screen_on#e470ffd0dab85086 (I simply searched for SCREEN_ON) It seems the situation has not changed in SDK 1.5: For some reason, registering through

[android-developers] Re: Bitmap in GLSurfaceView

2009-07-20 Thread Streets Of Boston
For no repeat: http://www.khronos.org/opengles/documentation/opengles1_0/html/glTexParameter.html and look at GL_CLAMP. Texture y-coordinates go from the bottom to the top when y increases. Bitmaps/images usually go from the top to the bottom when y increases. Just flip your bitmap along the

[android-developers] Re: how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-07-20 Thread jiaoni
I tried this in my activity, but still cannot receive event: MessageReceiver receiver = new MessageReceiver(); IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON); registerReceiver(receiver, filter); I feel frustrated and don't know why... On Jul 20, 9:58 pm, JP

[android-developers] create drawable from image stored on sd card

2009-07-20 Thread intbt
I am trying to draw a group i fimages stored on teh sd card instead on internal storage. I can draw the internal images with my code but get no images whem I try to download from the card. I have tried 2 versions (dw[] is Drawable array) 1/ using getIdentifier int dwID =

[android-developers] Re: Error in Android documentation

2009-07-20 Thread Mark Murphy
mafro wrote: Hey all, A small notice here to say I found an error in the documentation, when building a radio button context menu in XML. On this page, in the Menus section, under 'Elements and Attributes' for the group tag.

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

2009-07-20 Thread m8
Hi, Is there a way to get the RAW HTML using the WebView? Thanks, -Amit --~--~-~--~~~---~--~~ 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: how to extract RAW HTML using WebView

2009-07-20 Thread Mark Murphy
m8 wrote: Is there a way to get the RAW HTML using the WebView? Not that I am aware of. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android 1.5 Programming Books: http://commonsware.com/books.html

[android-developers] Re: create drawable from image stored on sd card

2009-07-20 Thread Mark Murphy
intbt wrote: I am trying to draw a group i fimages stored on teh sd card instead on internal storage. I can draw the internal images with my code but get no images whem I try to download from the card. I have tried 2 versions (dw[] is Drawable array) 1/ using getIdentifier int dwID =

[android-developers] Re: create drawable from image stored on sd card

2009-07-20 Thread intbt
Sorry, got posted too soon I am trying to draw a group i fimages stored on teh sd card instead on internal storage. I can draw the internal images with my code but get no images whem I try to download from the card. I have tried 2 versions (dw[] is Drawable array) 1/ using getIdentifier int

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-20 Thread Rud
I'm doing a quick and dirty zoom using the following: if (mIsZoomed) { canvas.translate(-mCenter.x * (mZoomScale - 1), 20); canvas.scale(mZoomScale, mZoomScale); } It shifts my image with the translate and zooms in with the scale. I set mIsZoomed by:

[android-developers] EditText causes background to resize

2009-07-20 Thread Vince
Hi, I'm experimenting a problem while editing text through an EditText view. Here is my layout: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent

[android-developers] Re: EditText causes background to resize

2009-07-20 Thread Mark Murphy
Vince wrote: Hi, I'm experimenting a problem while editing text through an EditText view. Here is my layout: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent

[android-developers] Re: Problems drawing a SurfaceView

2009-07-20 Thread Jack Ha
Add the following line to your GameView constructor: setWillNotDraw(false); -- Jack Ha 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

[android-developers] Re: how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-07-20 Thread Peli
In your main activity, you have to write something like BroadcastReceiver mReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { Log.v(TAG, onReceive()); } }; @Override

[android-developers] Re: EditText causes background to resize

2009-07-20 Thread Vince
Hi Mark, Thank you for your quick reply (and by the way, I bought your book, it has been a very good help). I haven't deal with IME yet. Thus, I believe I didn't happen to specify adjustResize (did I?) as I ignored this property :-). I should therefore get the pan-and-scan default... which is

[android-developers] Re: EditText causes background to resize

2009-07-20 Thread Mark Murphy
Vince wrote: Thank you for your quick reply (and by the way, I bought your book, it has been a very good help). Glad you like it! I haven't deal with IME yet. Thus, I believe I didn't happen to specify adjustResize (did I?) as I ignored this property :-). I should therefore get the

[android-developers] Re: Closing virtual keyboard from code

2009-07-20 Thread GreenRob
http://stackoverflow.com/questions/1109022/how-to-close-hide-the-android-soft-keyboard On 13 Jun., 03:29, Dianne Hackborn hack...@android.com wrote: Look at InputMethodService. On Fri, Jun 12, 2009 at 6:00 AM, avgee strub...@googlemail.com wrote: Unfortunately stuff like android keyboard

[android-developers] Re: Closing virtual keyboard from code

2009-07-20 Thread GreenRob
http://stackoverflow.com/questions/1109022/how-to-close-hide-the-android-soft-keyboard On 12 Jun., 15:00, avgee strub...@googlemail.com wrote: Unfortunately stuff like android keyboard close didn't bring up any solutions for closing the virtual keyboard by code. Can someone perhaps help me?

[android-developers] Re: Closing virtual keyboard from code

2009-07-20 Thread GreenRob
http://stackoverflow.com/questions/1109022/how-to-close-hide-the-android-soft-keyboard On 12 Jun., 15:00, avgee strub...@googlemail.com wrote: Unfortunately stuff like android keyboard close didn't bring up any solutions for closing the virtual keyboard by code. Can someone perhaps help me?

[android-developers] Re: Closing virtual keyboard from code

2009-07-20 Thread GreenRob
http://stackoverflow.com/questions/1109022/how-to-close-hide-the-android-soft-keyboard On 12 Jun., 15:00, avgee strub...@googlemail.com wrote: Unfortunately stuff like android keyboard close didn't bring up any solutions for closing the virtual keyboard by code. Can someone perhaps help me?

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

2009-07-20 Thread GreenRob
http://stackoverflow.com/questions/1109022/how-to-close-hide-the-android-soft-keyboard On 2 Jul., 17:58, DonB donberry...@gmail.com wrote: Did anyone get this resolved? I have the same issue. Don On Jun 6, 9:29 am, Bram bdekrui...@gmail.com wrote: Sorry, no anwser. I have the same

[android-developers] about mediacontroller question

2009-07-20 Thread tstanly
hi all, i have a mediacontroller, i have some questions: 1. the mediacontroller can't update the progressive bar 2. when i enter in the program,it will play my music but the mediacontroller can't into play mode simultaneously 3. if i want to implement prev/next function,how can i write for

[android-developers] How to redirect users to Amazon MP3 Store?

2009-07-20 Thread Moto
I searched around but found no info on how Shazam works with Amazon MP3 Store. I would like to allow user to click on my mp3 titles and redirect this users to Amazon MP3 Store and make a revenue of clicks or purchases... Does someone have a link with information about this? Is it even

[android-developers] Re: EditText causes background to resize

2009-07-20 Thread Vince
Mark, While you were writting this huge (but very interesting post!), I simply add android:windowSoftInputMode=adjustPan in my Manifest and it does the trick. Seems a little weird as it is supposed to be the default one, but it is also highly recommended that you always specify one or the other,

[android-developers] Re: Saving Dialog state - onStop not getting called?

2009-07-20 Thread Mark
I still can't seem to get this to work - I may have to replace Dialog with Activity and set the style to dialog, at least an Activity onPause () seems to get called ok on rotation - am I missing something with Dialog::onStop() though? Thanks On Jul 14, 3:56 pm, Mark mar...@gmail.com wrote: I

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

2009-07-20 Thread Jason Proctor
m8 wrote: Is there a way to get the RAW HTML using the WebView? Not that I am aware of. you could ask WebView for its current URL and then submit a request for that resource yourself. but this isn't guaranteed to work reliably. -- jason.software.particle

[android-developers] Re: SDK 1.5_r3 is available

2009-07-20 Thread Peacemoon
test test On Jul 18, 11:13 am, f_heft delphik...@gmail.com wrote: Okay, so now I installed the usb_driver from the SDK R3 (which worked well after some messing around with Windows 7). But neither 'adb devices' nor DDMS recognize the Galaxy. Did I miss sth? On 18 Jul., 00:55, dan raaka

[android-developers] Re: ant and eclipse builds don't play nice

2009-07-20 Thread MrSqueezles
I know I'm resurrecting an old thread, but I'm having the same problem. I don't know anyone that uses the same type of build for development, testing and release. I usually develop in Eclipse and have Ant targets that build a project for release without test cases, resources and libraries. If

[android-developers] Cannot reply to this group

2009-07-20 Thread Peacemoon
This is off topic and not relevant to Android. I don't know why but i can't reply any topic here in this android-developer group . Does anyone have the same problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Determine Google Street View Availability

2009-07-20 Thread Divot
Hi, I have an application that is loading the street view application at a given latitude and longitude. I was wondering if anyone knows a way of determining if a streetview is available at a specific location, so that instead of loading the streetview and trying to download a view somewhere

[android-developers] Start as a Game developer

2009-07-20 Thread Alex Ramallo
Hey, I've been making game for about 3-4 years on windows(started when I was 10) using C/C++, but I just got a G1 and I wanted to start developing apps for it, but I have no clue where to start. I read the documentation and I already setup everything and I've run the hello world application on

[android-developers] how to modify the power manager code

2009-07-20 Thread bardshen
Dear All: Would you please give me some tips to disable the Android enter into sleep state? If so, it will be very available for me to debug it If any tips will be great appreciated! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-20 Thread Peacemoon
In the release notes of SDK r3 there is: The android tool provides a new command that scans SDK add-ons for their USB Vendor IDs and makes them available to adb (OS X and Linux versions of the SDK only). The command is android update adb . So under Linux, do i have to wait for Samsung to

[android-developers] AsyncTask error handling

2009-07-20 Thread likon
Hi! AsyncTask turned to be a good solution for dealing with GUI and I tried to use it instead of own implementation. The problem I met is that it isn't designed for an error handling. Imagine network activity - there easily can be a connection or timeout error and previously I tried to report

[android-developers] loading images to page been loaded with loadData

2009-07-20 Thread mina
I use httpclient to get html pages then loading to web view. I need to intercept the images and loaded to the page the same wy using httpclient. how I do that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: IMAGE_CAPTURE Intent never returns to onActivityResult(int, int, Intent);

2009-07-20 Thread Julius
The method that takes care of the capture only returns correctly (using the finnish() method, I think) if the picture can be saved correctly in the file specified by that URI. If there's an exception (such as an IO exception) it will be captured and nothing will be done, so you'll never know. I

[android-developers] Building for dev, test and release

2009-07-20 Thread MrSqueezles
Normally, when I develop an application, I develop in Eclipse. I test in both Eclipse and Ant. Then, I use Ant to package the application for release, excluding test classes, test libraries and test resources. I created a build.xml in my Android Eclipse project, though, and got a project error

[android-developers] How to add new javascript function to webit in android

2009-07-20 Thread kenny
I'd like to add new javascript function to webkit in android, What do you think I should do? Is there a kind of interface like xpcom in gecko? If we use gecko based browser (like firefox), we can write some xpcom component to extent browser's javascript function. I've found some example in

[android-developers] Forcing an activity to reload completely?

2009-07-20 Thread Anders Aagaard
Hi I have an application, where I need to change the language through a settings menu. Now this part works perfectly, but it doesn't change the language for activities that have gone through onCreate. I got a TabHost, and 2 tabs in it, from the tabs you can get to settings. Refreshing the

[android-developers] Application **** has stopped unexpectedly, please try again!!!

2009-07-20 Thread tkinter
I write a application follow the code from http:// developer.android.com/guide/tutorials/views/hello-linearlayout.html. when I run the code, the message the application has stopped unexpectedly display on the emulator. debug the application, find the error and warning message below: WARNING:

[android-developers] Determine Google Street View Availability

2009-07-20 Thread Divot
Hi, I have an application that is loading the street view application at a given latitude and longitude. I was wondering if anyone knows a way of determining if a streetview is available at a specific location, so that instead of loading the streetview and trying to download a view somewhere

[android-developers] Re: Fast, efficient usage of an object pool

2009-07-20 Thread nEx.Software
It is buried in the View class... I used the grep tool on the git site to find it... http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/view/View.java#l7883 On Jul 18, 4:38 am, Fred Grott(shareme) fred.gr...@gmail.com wrote: Romain, was it renamed cannot

[android-developers] Android - playing list of mp3s from browser

2009-07-20 Thread snehal
Hi Team, I recently started development on Android. I can play simple mp3 files from any server using the browser. I wanted to know how i can play a list of mp3 files one after the other from the browser. I tried creating a url like http://www.mysite.com/play.m3u that contains mp3 links but the

[android-developers] Re: SDK 1.5_r3 is available

2009-07-20 Thread Peacemoon
i still can not figure out how to use the source file. Can you give me more details? On Jul 18, 4:07 am, dan raaka danra...@gmail.com wrote: as in dogfood ? -Dan On Fri, Jul 17, 2009 at 4:27 PM, MrChaz mrchazmob...@googlemail.com wrote: fyi, this just got pushed to my phone On Jul 17,

[android-developers] Re: SDK 1.5_r3 is available

2009-07-20 Thread Peacemoon
did you build sdk again from source or you can use it out of the box? On Jul 18, 12:55 am, dan raaka danra...@gmail.com wrote: nothing magical .. added vendor ids .. // Samsung's USB Vendor ID #define VENDOR_ID_SAMSUNG      

[android-developers] How to power off the screen?

2009-07-20 Thread Yuri Dario
Hi, I'm looking for a way to power off the device screen from my program. I see that PowerManager is only for system apps, and I can't find other ways. Can you help me? thanks, Yuri --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-20 Thread fexpop
Hi, on my device the build number is 76XXCSDCBALUM6375. It won't be found by adb, neither on Windows nor on Linux. Regards, Felix On Jul 18, 8:50 pm, dan raaka danra...@gmail.com wrote: can you post what you see in the settings-about .. about the build info you have ..

[android-developers] Getting the frequency of gps signals

2009-07-20 Thread nordsch...@googlemail.com
Hey, i already know the frequency for the carrier signal and all the technology around gps. The question i have: Is it somehow possible to get the received frequency of the signal? I am asking, because i want to derive some functions from doppler navigation for which i need the received

[android-developers] Power off the screen

2009-07-20 Thread ydario
Hi, I'm looking for a way to power off the device screen. I found the PowerManager class, but I see it can be used only by system apps. Is there some other way to achieve this? thanks, Yuri --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Can you use SensorListener in SDK 1.5_r3 ?

2009-07-20 Thread Hand.Feel
I have used SensorListener for 1.5sdk demo Sensors.java, but there was no error when I compile it. Does it work on real machine? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Strange bug found when subtracting a float from another float, or a double from another double

2009-07-20 Thread DKIT
Try this: Double mChange = Double.parseDouble(7.1) - Double.parseDouble (7.15); Float mChange = Float.parseFloat(7.1) - Float.parseFloat(7.15); mChange should be -0,05 in both cases, right? So why is mChangeD = -0.0519 ??? --~--~-~--~~~---~--~~ You

[android-developers] Camera not work!

2009-07-20 Thread kurosagi
my code import java.io.IOException; import android.app.Activity; import android.content.Intent; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.Rect; import android.net.Uri; import android.os.Handler; import

[android-developers] HanDict -Google Dict Wiki

2009-07-20 Thread Linco
HanDict is a free online English Dictionary that gives you English definitions from Google Dictionary and Wikipedia for Android (Gphone). You can start to search from anywhere, there is no need to close your current reading window and back to home to launch other app, just quick launch Handict

[android-developers] Re: Add Contact not working

2009-07-20 Thread jats1234
I am having the same issue. Hope it gets fix soon... On Jun 11, 2:45 pm, John Seghers jsegh...@cequint.com wrote: I followed the documentation to start the Show or Create Contact activity.  Since my app asks the user if they want to add a contact, I don't want the activity asking this as

  1   2   >