[android-developers] Re: SeekBar

2009-07-06 Thread peeyush varshney
Hi Jack, I have implemented the Vertical SeekBar. But when i am setring the progress using setProgress() . Progress is ok(means yellow shadow is working right) but Thumb also should move along with Yellow shadow.. But it is not moving properly. I am not getting what should i do..

[android-developers] Re: code to uninstall applications

2009-07-06 Thread aljo
I don't know if this is the one you meant about launching uninstaller activity but I found something which might be the same... http://android.amberfog.com/ I put this in the manifest... activity android:name=.UninstallerActivity intent-filter action

[android-developers] Camera Captured Image not Saving

2009-07-06 Thread Archana
Hi , I am working with camera.. I am facing one problem during capturing image.The image is not saving directly to gallery.But when i reboot my device its appearing.. Can anybody tell me why this happends.and How can i solve it. Thanks Archana

[android-developers] How to get the images from folders and the list of all folders?

2009-07-06 Thread android.vinny
Hi every one I have 20 folders in resources i need to get the list of that folders when i click that list i need to get the images in that folder? can any body give me some suggestions. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Camera Captured Image not Saving

2009-07-06 Thread gjs
Hi, See android.media.MediaScannerConnection and scanFile(String path, String mimeType) Regards On Jul 6, 5:00 pm, Archana archana.14n...@gmail.com wrote: Hi ,     I am working with camera.. I am facing one problem during capturing image.The image is not saving directly to gallery.But when

[android-developers] Re: onLoadResource / shouldOverrideUrlLoading

2009-07-06 Thread ioRek
Then there is no way to do what I want ? When OnPageStarted or onLoadResource is called, its too late to cancel or modify something On 4 juil, 06:53, Grace Kloba klo...@gmail.com wrote: shouldOverrideUrlLoading is only called if the loading request is triggered by a user action, like click on

[android-developers] Re: findviewbyid in service?

2009-07-06 Thread vinays
Is it possible to use webview in a service? I want to use javascript functions loaded with a web page to interact with the server. Cheers! -- Vinay On Jun 24, 10:32 am, Marco Nelissen marc...@android.com wrote: Why do you need this? A service does not have a UI, so there should be no need to

[android-developers] Re: Camera Captured Image not Saving

2009-07-06 Thread Archana
I tried like this but still its not working. Can u tell wedr i am doing anything wrong.What i have to mention inside onMediaScannerConnected()? File file; do { picture_path = /sdcard/upload + i++ + .jpg;

[android-developers] Need help with get field slot from row 0 col 0 failed

2009-07-06 Thread Mariano Kamp
Looking at the stacktrace it seems to me that I issued a requery() on a cursor and that failed. Can I use requery() in a wrong way? Can I somehow anticipate when a requery would fail? Anything else I can check for? -- Time: Mon Jul 06 07:43:40 GMT+02:00 2009-- Android Version: sdk=3,

[android-developers] SDL audio driver for Android?

2009-07-06 Thread Daisuke Miyakawa
Hi Android developers, I'm trying to port SDL to Android. But it seems Android device (devphone 1 and HTC magic) seems not have nice interface for SDL (like oss, alsa, etc.), while Emulator has As far as I looked over, it seems I have to implement a special audio driver for Android, using

[android-developers] Any limitations on products to access market place

2009-07-06 Thread Rangan
Hello, I would like to know whether Google needs to give permission or do some compatibility check on the products to allow the product software to access Android Market place. I have not looked at the Market Place application on how it works. Does the access of it from product require any

[android-developers] TabHost Listview dissapearing after going to SMS screen and back.

2009-07-06 Thread extrapedestrian
I have TabHost with custom ListView implemented. My ListView disappears after returning from SMS screen when I try to switch tab (refresh list content). I have context menu option to send SMS to contact from the list, I start SMS activity there and Im able to return to my app. If I don't type

[android-developers] byte array to bitmap

2009-07-06 Thread loril...@gmail.com
Hi there, Can someone please tell how to load byte buffer that is in the RGB565 format into a bitmap? --~--~-~--~~~---~--~~ 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] Static analysis concurrency issues on Android

2009-07-06 Thread and_dev
Has anyone run Static analysis tool like ( Klockwork, Prevent ) on Android source code ? On running the prevent tool it discovered lot of Concurrency issues, not sure how many of them are valid issues. Was wondering if anyone from developer community has analysed these and fixed the valid issues.

[android-developers] Re: TabHost Listview dissapearing after going to SMS screen and back.

2009-07-06 Thread extrapedestrian
Two more information: it works the same way on emulator, it works the same way with simple list ArrayAdapter text only. On Jul 6, 11:38 am, extrapedestrian extra.pedestr...@gmail.com wrote: I have TabHost with custom ListView implemented. My ListView disappears after returning from SMS screen

[android-developers] getDrawingCache() returns null!

2009-07-06 Thread Deren
Im trying to use the drawing cache functionality for Views, but View.getDrawingCache() returns null! I have a View, which stores a couple of other Views (note that I am Not using a Viewgroup, I store the Views in an ArrayList). I make sure that measure(...) and layout (...) is called on the

[android-developers] Getting document position in a WebView?

2009-07-06 Thread gsmd
To put it simple: I want to bookmark the current position (probably several positions) in a html file displayed in a WebView to later restore it. Any little hint would help. :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Getting PCM data from the builtin audio decoders

2009-07-06 Thread NagyI
(Up!) On jún. 27, 22:06, NagyI nistvan...@gmail.com wrote: Hi! First of all, sorry for my bad english. I'm new into Android application development, just experimenting with the emulator and the SDK. I have searched with some keywords on the developer group, but i didn't find what i need.

[android-developers] Generate elevation charts with zoom feature like MyTracks

2009-07-06 Thread sheik
Hi. i have been using mytracks app for quite a long time...the elevation charts generated by it is really cool ... i was able to generate the similar charts but not able add the zoom and flip to right feature..If any one can just guide how to make the View flip to right and add zoom . i really

[android-developers] Re: Any limitations on products to access market place

2009-07-06 Thread Peli
Does the access of it from product require any intervention from Google? No. It may be removed later though, if your application violates the Market terms and conditions: http://www.android.com/us/developer-distribution-agreement.html See link in § 4.11 Peli www.openintents.org On Jul 6,

[android-developers] Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Erik H
I'm writing an application that consists of a background Service and one or several Activities acting as UI towards this. There will most likely be several different UIs for this service that will installed later on, like custom widgets or UIs. The question is how to solve this in the most

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Mike Hearn
It's a bit hard to say what design is right without details on what the service actually does. First and most important question - do you really need a service at all? Many apps use services but don't actually need to run all the time. Using a service is like a tax on your user. It's currently

[android-developers] How to get audio file from SD card?

2009-07-06 Thread aby
Hi, I want to use intent = new Intent (RingtoneManager.ACTION_RINGTONE_PICKER) way to show all audio files and select audio file. And I need to include audio files from SD card. Is there any way to get the audio form SD card? Thanks --~--~-~--~~~---~--~~ You

[android-developers] Re: How to hang an outgoing call? (Revisited, Partly solved here)

2009-07-06 Thread Gonzalo Aguilar Delgado
Spam detection software, running on the system azul3.aguilardelgado.com, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Mark Murphy
Beyond agreeing with what Mr. Hearn wrote, a few other points: Erik H wrote: Also, is really an AIDL the right way to allow third-party integration? AIDL has a few huge advantages that may or may not be relevant to you: 1. You actually get return values. 2. You don't need your service

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Erik Hellman
On Jul 6, 1:28 pm, Mike Hearn mh.in.engl...@gmail.com wrote: First and most important question - do you really need a service at all? Many apps use services but don't actually need to run all the time. Using a service is like a tax on your user. It's currently invisible but it won't always be

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Erik Hellman
On Jul 6, 1:35 pm, Mark Murphy mmur...@commonsware.com wrote: AIDL has a few huge advantages that may or may not be relevant to you: 1. You actually get return values. The flow of the application is asynchronous, so i would have to poll the service for updates in that case. 2. You don't

[android-developers] Load URL in Background in WebView

2009-07-06 Thread Shishir
Hi, What i want is when first time application runs then it should show only image in the full screen and one progress bar. And in the background there should be a url like http://www.google.com should be loaded in WebView. Once the url loads fully then my first screen which contains progress

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Mark Murphy
Erik Hellman wrote: 1. You actually get return values. The flow of the application is asynchronous, so i would have to poll the service for updates in that case. Or register a callback AIDL object with the service. Or use broadcast intents for the callback-style messaging, though these are

[android-developers] Re: Load URL in Background in WebView

2009-07-06 Thread Mark Murphy
Shishir wrote: Hi, What i want is when first time application runs then it should show only image in the full screen and one progress bar. And in the background there should be a url like http://www.google.com should be loaded in WebView. Once the url loads fully then my first screen

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Erik Hellman
On Jul 6, 2:01 pm, Mark Murphy mmur...@commonsware.com wrote: Or register a callback AIDL object with the service. Or use broadcast intents for the callback-style messaging, though these are subject to interception. Yes. But that is my question. What is most effective, considering

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Mark Murphy
Erik Hellman wrote: Yes. But that is my question. What is most effective, considering performance, power-consumption and third-party integration (in that order); Using a service through AIDL or using Intents (with sticky broadcasts for service state)? As Mr. Hearn indicated, this question

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Mark Murphy
mjc147 wrote: This is probably relevant for nearly all type of music player-like apps because they need some kind of UI to get started but still need to continue playing once that UI has been exited. And that's a fine reason for having a service. However, it's a rare music player that is

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread mjc147
On Jul 6, 7:58 pm, Erik Hellman erik.d.hell...@gmail.com wrote: On Jul 6, 7:35 pm, Mark Murphy mmur...@commonsware.com wrote: 3. If you use binding to implicitly start your service, Android will shut down the service when there is nothing else bound to it. ...and I don't want it to shut

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Erik Hellman
On Jul 6, 2:20 pm, Mark Murphy mmur...@commonsware.com wrote: If your service is started via bindService(), it will be stopped sometime after the last client unbinds. If your service is started via startService(), it will run into somebody tells it to stop (stopService(), stopSelf(), Android

[android-developers] Re: Design guidelines question; Services vs. Intent broadcasts.

2009-07-06 Thread Mark Murphy
Erik Hellman wrote: Using intents would require some re-design, which is fine by me but I'm looking for the drawback of using this from a performance and power- consumption point-of-view. Do broadcast intents consume more power than direct service calls? Does sending, receiving and parsing a

[android-developers] onToucheEvent badly handles ItemizedOverlay

2009-07-06 Thread Zied Hamdi
Hi All, I have the following exception that occurs I don't really know in which circumstances. I'm just trying to add an overlay to may viewMap, and I don't have anything special in my classes. The most strange thing is that it worked for a while, then it broken again when I changed my image!!!

[android-developers] Re: onToucheEvent badly handles ItemizedOverlay

2009-07-06 Thread Zied Hamdi
Hi again, I forgot to tell you this happens on the emulator. I can't launch the MapView on my HTC G1 even though I upgraded to 1.5, addons seam not to be there (by the way is there a planned date for that: is it before the google challenge 1st part?). I'm sorry if some questions ma seem stupid

[android-developers] problem in receiving the status of call

2009-07-06 Thread Honest
My application is making call. I need to be notified when that call is being pickeed up by other side. So i used TelephonyManager and PhoneStateListner as below. Basically i wanted to know data activity status. my code is as below. public void register() { TelephonyManager

[android-developers] Camera Preview Sample

2009-07-06 Thread Gerby
Hi, has anyone of you a sample code which uses the camera preview callback in help with the SurfaceHolder.SURFACE_TYPE_NORMAL? I want to generate a own preview to analyse the picture and to display some infos into the picture. but i still have some problems to display a own preview ( only the

[android-developers] Re: Detecting when the file system runs out of space

2009-07-06 Thread Chris
excellent, thanks so much On Jul 3, 2:56 am, gjs garyjamessi...@gmail.com wrote: Hi, See android.os.StatFs The camera source code has an example of use http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=... eg: public static int calculatePicturesRemaining() {  733  

[android-developers] Re: Why is my animation leaving a trail?

2009-07-06 Thread Nightwolf
Do you have sample project to reproduce issue or may be screenshot with a trail? On Jun 19, 3:41 am, HeyChinaski tompo...@googlemail.com wrote: I'm animating a an ImageView from the right to the left of the screen using a translate animation. The ImageView is place inside a RelativeLayout

[android-developers] Build android1.5 project by ant

2009-07-06 Thread dakishin
I am using Apache ant 1.7 and android-sdk-windows-1.5_r2 to build my project I upgraded my project from 1.1 to 1.5 SDK created build.xml: ?xml version=1.0 encoding=UTF-8? project name=client1.5 default=help property file=local.properties/ property file=default.properties/ path

[android-developers] Re: Why is my animation leaving a trail?

2009-07-06 Thread Romain Guy
If you are using standards animations and the standard animaiton API, it's a bug we fixed in Donut. On Mon, Jul 6, 2009 at 8:15 AM, Nightwolfmikh...@gmail.com wrote: Do you have sample project to reproduce issue or may be screenshot with a trail? On Jun 19, 3:41 am, HeyChinaski

[android-developers] Re: How do I access a URI such as content://drm/audio/2 (which is a ringtone)

2009-07-06 Thread Rob Franz
Marco,Does this look right to you? Or am I just going about doing this the incorrect way. Thanks for any help you can give here... -Rob On Mon, Jul 6, 2009 at 12:32 AM, Rob Franz rob.fr...@gmail.com wrote: To be more specific: ringtoneUri = Uri.parse(ringtoneUriText); mRingtone =

[android-developers] Re: Multiple points on a map

2009-07-06 Thread alexdonnini
Yes, Thanks. I think I am all set for now. Thanks for the tip on the adding order. Alex Donnini On Jul 4, 9:24 am, Piwaï py.ri...@gmail.com wrote: Hello, Have you read the MapView tutorial ? It shows how to display multiple items on a

[android-developers] Re: How do I access a URI such as content://drm/audio/2 (which is a ringtone)

2009-07-06 Thread Marco Nelissen
On Sun, Jul 5, 2009 at 9:32 PM, Rob Franzrob.fr...@gmail.com wrote: To be more specific: ringtoneUri = Uri.parse(ringtoneUriText); mRingtone = mRingToneMgr.getRingtone(mRingToneMgr.getRingtonePosition(ringtoneUri)); where ringtoneUriText is content://drm/audio/2 Have you tried: ringtoneUri

[android-developers] Re: problem in receiving the status of call

2009-07-06 Thread Marco Nelissen
On Mon, Jul 6, 2009 at 6:00 AM, Honesthonestsucc...@gmail.com wrote: My application is making call. I need to be notified when that call is being pickeed up by other side. So i used TelephonyManager and PhoneStateListner as below. Basically i wanted to know data activity status. my code is

[android-developers] Re: onToucheEvent badly handles ItemizedOverlay

2009-07-06 Thread Zied Hamdi
I have the answer to when the exception occurs: When there is no entry in the overlay: this is much annoying because I must check to see if there are items in my overlay and if not I have to remove it !!?! Do I have to add an issue on this? Regards, Zied On Jul 6, 2:54 pm, Zied Hamdi

[android-developers] Re: How do I access a URI such as content://drm/audio/2 (which is a ringtone)

2009-07-06 Thread Rob Franz
Will give that a shot. Yes, it does work when I have it set as my ringtone. Thanks again. On Mon, Jul 6, 2009 at 11:37 AM, Marco Nelissen marc...@android.com wrote: On Sun, Jul 5, 2009 at 9:32 PM, Rob Franzrob.fr...@gmail.com wrote: To be more specific: ringtoneUri =

[android-developers] Re: Tabhost Disappearing List view

2009-07-06 Thread Georgios Galyfos
Hello, did you by any chance found out what was causing this behavbiour? I am facing a similar situation: I set setCurrentTab(0) initially and even though the listView under the first tab has contents, they are not displayed. This happend all time though for me.. Should the listView have already

[android-developers] Android SDK memory coruption

2009-07-06 Thread ch00s3n
Hello all, I develop an android application who reads data from a socket and make things after. I had notice that some times the android sdk crashes and for me looks like an memory corruption. The log is below : 07-03 11:31:21.023: INFO/DEBUG(539): *** *** *** *** *** *** *** *** *** *** ***

[android-developers] Android Application for Public Service to report, dispatch and resolve repairs

2009-07-06 Thread Richard R
http://code.google.com/p/fixxit/ I had an idea to use Android in the public space to report public works and other problems that need repairs. Android provides a great tool to document and locate problems. Google APIs like Maps and Appengine can link these reports to help direct efforts to make

[android-developers] unable to Open an URL except of google in Android Web view

2009-07-06 Thread rohit
Hello Experts, I have tried to open the ebay.com in to the Android webview component but the on simulator it does not seems to work. can anyone let me know what I should do. I am utilizing the following code: super.onCreate(savedInstanceState); setContentView(R.layout.payment); String url2 =

[android-developers] how to activite my acivity

2009-07-06 Thread tony.xuan
1,I hava made a phonecall using new intent (ACTION_CALL,6768688873),when the phonecall activity had finshed and returned to its parent acivity,the parent acivty was black screen unlesss I click the screen, how should i do to avoid the black screen ? 2, how can catch the keydown event of the

[android-developers] Prepare failed in MediaRecorder

2009-07-06 Thread Jack
Hello, I am trying to develop an appliacation with Android 1.5(cupcake_r1) for a week but always get an error reported in prepare of MediaRecorder. Can anybody help me to figure out the problem I got in the code below: PS. In order to figure out the problem, I suppressed the audio recording, and

[android-developers] walkin for jave and linux administrators in bangalore

2009-07-06 Thread sakeyu
Discuss developing Android applications using the Android framework. Get help with troubleshooting apps, advice on implementation, and strategies for improving your app's speed and user experience. Language: English 19373 members, Messages per month: 4383 www.123maza.com

[android-developers] animated gif in webview

2009-07-06 Thread Andri Kurniawan
does android do not support animated gif? how do i enable animated gif in webview? --~--~-~--~~~---~--~~ 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] Unable to prepare VideoCamera to capture videos

2009-07-06 Thread Jack
Hello, Does anyone know how to capture videos with Android VideoRecoder? I am trying to develop an application that I could use to capture video. I am trying to use the MediaRecorder API in 1.5, which is supposed to support video capture. However, I got an error report from prepare() method.

[android-developers] walkin for jave and linux administrators in bangalore

2009-07-06 Thread sakeyu
Discuss developing Android applications using the Android framework. Get help with troubleshooting apps, advice on implementation, and strategies for improving your app's speed and user experience. Language: English 19373 members, Messages per month: 4383 www.123maza.com

[android-developers] Unit testing with test-only assets

2009-07-06 Thread Jeremy Slade
I my main app and tests are organized like this (standard from android create project ...): AndroidManifest.xml assets/ -- main app asset files src/ tests/ AndroidManifest.xml -- uses instrumentation to point to the main app assets/ -- test-specific asset files

[android-developers] Re: android system make. error 45

2009-07-06 Thread ekwang
I think below site is helpful http://www.androidjavadoc.com/?p=63 On May 7, 7:37 am, cary cary.lo...@gmail.com wrote: Wow.  This was frustrating.  I was having the exact same problem.  I am a nube to the Java and eclipse stuff and on top of that I had to get Ubuntu 9.04 for AMD 64 Dual Core

[android-developers] Prepare failed in MediaRecorder

2009-07-06 Thread Jack
Hello, I am trying to develop an appliacation with Android 1.5(cupcake_r1) for a week but always get an error reported in prepare of MediaRecorder. Can anybody help me to figure out the problem I got in the code below: PS. In order to figure out the problem, I suppressed the audio recording, and

[android-developers] Video Capturing in Emulator

2009-07-06 Thread Vishal Gaonkar
I am trying to capture the video on Emulator with 1.5 SDK using an Creative webcam on Ubuntu 9.04. I am using the sample code CameraPreview.java. I am not able to interface the camera and not able to see anything on the preview screen. It just shows some black and white boxes like a screen saver.

[android-developers] How to get the source code of Google maps for android sdk 1.5

2009-07-06 Thread taro3...@gmail.com
Hi, everybody Do anybody know how can I get the source code of Google maps for android sdk1.5, if the version of Google maps for android sdk 1.5 is same with the version of Google maps for android sdk 1.0? Can I build the source code of Google map v1.0 with the source code of sdk 1.5 to a same

[android-developers] Can you send email on the emulator with Intent.ACTION_SEND?

2009-07-06 Thread mrjimmy410
We are trying to figure out if the emulator supports this. I have configured the email application on the emulator and it can send email. When it is done in code it constantly gives the No applications can perform this action. Intent sendIntent = new Intent(Intent.ACTION_SEND);

[android-developers] Android bug: swap gprs/edge/3g to WiFi in gsm call

2009-07-06 Thread Eldar
Hello! I faced with very strange bug of Android, i can't use internet via WiFi when i switch it on during gsm call. When WiFi is off phone connects to the internet via gprs, edge or 3g. To reproduce this bug you should follow these steps: 1) Turn on gprs/edge. You can make it by switching WiFi

[android-developers] Prepare failed in MediaRecorder

2009-07-06 Thread Jack Little
Hello, I am trying to develop an appliacation with Android 1.5(cupcake_r1) for a week but always get an error reported in prepare of MediaRecorder. Can anybody help me to figure out the problem I got in the code below: PS. In order to figure out the problem, I suppressed the audio recording, and

[android-developers] Fwd: Android app hangs, debug mode does not help, just hangs

2009-07-06 Thread MCON Dev
Forwarding to and-dev too. -- Forwarded message -- From: MCON Dev mcon...@gmail.com Date: Fri, Jul 3, 2009 at 7:38 PM Subject: Re: Android app hangs, debug mode does not help, just hangs To: android-beginn...@googlegroups.com I had associated the wrong application on the device

[android-developers] ItemizedOverlay problems

2009-07-06 Thread Arvind
Hello friends .. i am beginner so i thinks my doubt will easy to answer by this group. I having problem using ItemizedOverlay class I followed same code used in Hello MapView Example ( http://developer.android.com/guide/tutorials/views/hello-mapview.html ) Here is code i used

[android-developers] Retrieving Data From a Dialog

2009-07-06 Thread aspekt9
I have a program that uses a Map View and when they click a menu item it prompts them (in a Dialog box) to enter a name and then press enter. Once they press enter I want to take what was received in the Text Edit in the dialog box and display it in a toast. However, it seems that I just get a

[android-developers] Re: how to enable/disable Access Point Network (APN)?

2009-07-06 Thread Kosh
I've found the APNDroid App to be usful in turning on and off all APNs, but I'm not sure you can disable just one easily You can change the APN Type and APN by just replacing with or appending dontuse. On Jun 22, 11:08 pm, Hastala dev...@gmail.com wrote: how to enable/disable Access Point

[android-developers] Re: Ubuntu Jaunty and adb not playing well together

2009-07-06 Thread Anidel
On May 16, 1:41 am, avrono avr...@mail.com wrote: All, I had the same problem however I cannot seem to get the same working result. I have /etc/udev/rules.d/51-android.rules SUBSYSTEM==usb, SYSFS{idVendor}==0bb4, MODE=0666 Use ATTRS instead of SYSFS. SUBSYSTEM==usb,

[android-developers] Porting Android code to Symbian

2009-07-06 Thread MCON Dev
I find it a interesting proposition to port applications from Android to Symbian and improve a mobile app's popularity and usage. I am sure that I will find multiple results using a google search on this topic. But any recommendations from where I should start ? Sid 4m mConDev

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

2009-07-06 Thread rohit
hi man, thanks a lot dear, Even I faced the same problem. with the help of your post, I resolved it. On Jun 9, 1:46 am, Benjamin benjamin.net...@gmail.com wrote: Okay so I found out the problem, it's in the main.xml (found the solution

[android-developers] Lookup phone number

2009-07-06 Thread Till
Hi What I'm trying to do, is to get the corresponding contact to a phone number. It works perfect if the number is stored in the contacts in the following format: +countrycodeareacodenumber But not all numbers are stored this way. Most are without the countrycode or with 00 instead of +. Do I

[android-developers] TIME_TICK in an AppWidget?

2009-07-06 Thread String
I'm trying to build a custom clock AppWidget, one that I can't base off of the standard AnalogClock or DigitalClock. I'm doing my best to keep its updates lightweight, but nonetheless, it needs to update once a minute. The TIME_TICK broadcast action seems the obvious way to go about it - but as

[android-developers] onLocationChanged not working as expected

2009-07-06 Thread Carlos Yaconi
Hi all! I'm developing an application wich has a location push service that start at boot. The main responsability of this service is very simple, just inform the location of the phone based on the *requestLocationUpdates* parameters. I don't care if it's using the network or GPS, obviuosly I'd

[android-developers] Re: How could I run a Uri based Intent in a Tab Page?

2009-07-06 Thread Marcus Gustafsson
Will this be supported soon? Is there a another way to achieve the same result? On Jul 1, 7:14 am, Dianne Hackborn hack...@android.com wrote: Sorry, currently a TabHost can only run activities that are part of your own .apk (actually only those with the same uid, but in most cases that is the

[android-developers] Dynamically change widget background

2009-07-06 Thread Francois DESLANDES
Hello everybody, I am working a widget… I'd like to change my widget background image dynamically, is it possible ? I tried theme style, it doesn't want to work. It doesn't show any background image (see code sample below) I tried RemoteViews.setImageViewResource on an ImageView

[android-developers] Need a way to simulate Button Click Event.

2009-07-06 Thread Raju
Hi, I'm trying automate UI Functional testing of my application. 1) First phase: Record the user actions and playing back the same. 2) Second Phase: Adding Validation Capability to Recorded scripts. In First Phase: I'm able to automate the Text/Editbox control actions without any issues,

[android-developers] Re: how to know if we have a 2G or 3G sim card

2009-07-06 Thread suziki
Hi Roman, I think should support USIM and SIM card, The CLA 00 /A0 need support in ME APDU, and also need support USIM/SIM application init process. Case 1: In 2G network: Inside a USIM card then ME should detect SIM card , due to USIM card include some SIM files or is combo card

[android-developers] how to get every line's offset in a TextView?

2009-07-06 Thread junhua lv
hi, all when i set a long string to a TextView, it will auto splits to many lines.my app has to know every lines offset in the long string. Is there any way to get? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Recognizer not present - Voice Recognition failed

2009-07-06 Thread GGJames
Dear all, I am trying to test the Voice Recognition app from ApiDemo on my HTC MAGIC phone. However, it shows up Recognizer not present then I'd traced the code. The problem is because of the size of activities is zero. Any hint? PackageManager pm =

[android-developers] Dialog Update Issues

2009-07-06 Thread aspekt9
I have an onTouch method that creates a new GeoPoint where the user touches the screen. It then opens a dialog box and asks them for a name for this GeoPoint. This method is shown below: @Override public boolean onTouchEvent(MotionEvent event, MapView mapView) {

[android-developers] Translating an ImageView from x to y

2009-07-06 Thread Alx
Hi all, I'm totally new to Android's world . Since 2 days now, I'm fighting with the sdk to animate an imageview from a position to another one. I tried to use an TranslateAnimation in java code, I also tried to adapt slide_left animation, but I can't specify a start point and an endpoint for

[android-developers] scale image around arbitrary center: iPhone style zoom?

2009-07-06 Thread smallbug
Hi, I have been working on this for a while without any progress.:( And sorry for the duplicate/cross posts:) Basically what I'd like to do is like iPhone style zoom: user clicks on an image and it zooms in around the touch point center, with animation applied; if user clicks somewhere again on

[android-developers] YUV to RGB cpnversion

2009-07-06 Thread mudit
hi there... I am trying to convert YUV data stream into RGB 565. I am using http://blog.tomgibara.com/post/132956174/yuv420-to-rgb565-conversion-in-android this code to convert YUV frames into RGB format.from this rgb byte array i hv stroed this array into a text file,JPG file, also tried to

[android-developers] Rebuild External Jars

2009-07-06 Thread Frank Royne
Hi, I'm using Eclipse IDE, and my Android project has four external jar libraries. For each time I build my project the jars file recompiling too. Even my eclipse IDE hang sometime and get and Out of memory. Is there any way to avoid recompiling the external jar file, I'm sure that I have done

[android-developers] internet doesn't work during call

2009-07-06 Thread Eldar
I faced with interesting problem. If my phone finds wifi network during gsm call, I can't use internet until I terminate the call (before wifi phone was using 3g/edge/gprs network). Can anybody explain what's this? Thanks, Eldar --~--~-~--~~~---~--~~ You

[android-developers] OpenGL frame time independent object move

2009-07-06 Thread teo2k
Hi All, I'm doing some experiments with OpenGL using the GLSurfaceView introduced in 1.5 In my Renderer I keep track of the time spent to render the last frame and pass this value to the method that update my model. The goal is to keep objects movements on the screen independent from the

[android-developers] External Jars

2009-07-06 Thread Frank Royne
Hi, I'm using Eclipse IDE, and my Android project has four external jar libraries. For each time I build my project the jars file recompiling too. Even my eclipse IDE hang sometime and get and Out of memory. Is there any way to avoid recompiling the external jar file, I'm sure that I have done

[android-developers] Tabs: Error while using TabHost

2009-07-06 Thread Avtar Singh
Hi, I am trying to write a simple application that creates a new tab. The view structure is: FrameLayout -- TabHost ---TabWidget ---FrameLayout The code is shown below: public class P4Main extends Activity { @Override public void onCreate(Bundle savedInstanceState) {

[android-developers] Re: PhoneFactory.getDefaultPhone from apps other than PhoneApp

2009-07-06 Thread Thomas Baumgartner
Hi, did you find a solution how PhoneFactory.getDefaultPhone() can be invoked from a new app? Thomas On 24 Jun., 04:18, Naveen K naveen...@gmail.com wrote: Hi, I am trying to call PhoneFactory.getDefaultPhone from a new application so that I can access its invokeOemRilRaw* functions. But

[android-developers] Re: Received SMS in different language

2009-07-06 Thread ypluo
not true, succeeded for tx/rx SMS mixed with Chinese and English in my target evb. during my porting, only setting the SMS with PDU mode in RIL , no change in Java application level. cheers, ypluo On Jul 5, 7:40 pm, hanged_man majd...@gmail.com wrote: far as i know, non-latin languages (such

[android-developers] Enable 24bit color depth in the emulator

2009-07-06 Thread Weyert de Boer
Hello, Currently, I am targetting the emulator to make Android application which is targetted for an Android device which includes 5 24bit display. Only currently android emulator (or android in general) only appears to support 16bit. Meaning we are experiencing dithering issues why it isn't

[android-developers] Re: Multiple points on a map

2009-07-06 Thread aspekt9
I'm having an issue with overlays it seems when I use a dialog to add a new overlay, the new marker isn't updated until I again click on the screen. Any idea why this is? On Jul 4, 9:24 am, Piwaï py.ri...@gmail.com wrote: Hello, Have you read the MapView tutorial ? It shows how to display

[android-developers] onLocationChanged not working as expected

2009-07-06 Thread cyaconi
Hi all! I'm developing an application wich has a location push service that start at boot. The main responsability of this service is very simple, just inform the location of the phone based on the requestLocationUpdates parameters. I don't care if it's using the network or GPS, obviuosly I'd

[android-developers] Re: unable to Open an URL except of google in Android Web view

2009-07-06 Thread Jack Ha
Make sure you have the following permission in your AndroidManifest.xml file. uses-permission android:name=android.permission.INTERNET/uses- permission -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the

[android-developers] Dialog Information Retrieval

2009-07-06 Thread aspekt9
I have a program that uses a Map View and when they click a menu item it prompts them (in a Dialog box) to enter a name and then press enter. Once they press enter I want to take what was received in the Text Edit in the dialog box and display it in a toast. However, it seems that I just get a

  1   2   >