[android-developers] Re: How to add Google Maps library, Maps to the Android 1.5 version device?

2009-07-06 Thread Zied Hamdi
Hi all, I'm really interested in this subject since I'm developing an app for the google challenge and I'd like to know if it will be possible to simply (as in plain old java) include the jars of the maps plugin as it was written by me (after all why not do it this way?). This way any device with

[android-developers] Why webview.loadUrl() does not work on Emulator behind a http proxy but Browser does

2009-07-06 Thread Jarod LIU
Hi androiders, I have a question about WebView class PROXY on Emulator regarding HTTP. I've written a test apk to load a URL with webview class. When running it, it always got a "I/InetAddress( 799): Unknown host d.yimg.com, throwing UnknownHostException." But the same url can be visited with

[android-developers] Memory profiling an android application.

2009-07-06 Thread Android Development
How do we profile an android application's memory ? Help appreciated Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] How to integrate my application with Google map application

2009-07-06 Thread siva
Hi All, I am new to android development. I am trying to integrate my application with the Google maps application is it possible to do so. I have searched for source code for the Maps.apk file but i am unable to find the source code. Is it possible to integrate the my application with Google map

[android-developers] Fwd: Generate elevation charts with zoom feature like MyTracks and make canvas scroll

2009-07-06 Thread sheik
-- Forwarded message -- From: sheik Date: Jul 6, 3:57 pm Subject: Generate elevation charts with zoom feature like MyTracks To: Android Developers 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

[android-developers] Re: flash(flv) related API available?

2009-07-06 Thread tainy
I see. thank you On 7月7日, 上午1时43分, "Yusuf T. Mobile" wrote: > It hasn't been released to developers at large yet, nor has any > related API yet been published. Sorry. > > Yusuf Saib > Android > ·T· · ·Mobile· stick together > The views, opinions and statements in this email are those of the > au

[android-developers] Re: Porting Android code to Symbian

2009-07-06 Thread MCON Dev
Oh!! These are my open applications. On Tue, Jul 7, 2009 at 12:18 AM, Al Sutton wrote: > > I would start by asking the copyright owners of the applications that > you intend to port whether or not they mind you doing it. > > Al. > > On Jul 4, 5:08 am, MCON Dev wrote: > > I find it a interesting

[android-developers] How to sell priced app in a location not supported yet

2009-07-06 Thread Urakagi
Hi, I'm a developer from Taiwan, which is not supported yet in the Market and Google Checkout. But if I have a bank account in US, is it possible for me to sell priced app, using the US bank account? Or if I have an account of an international bank (link HSBC or citi), can I use it in the merchant

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

2009-07-06 Thread Honest
Thanks Marco for your quick reply. I used LISTEN_DATA_ACTIVITY so when call starts and both side start communication then data should be transfer and i can know that the call is active now. Please make me correct if i am wrong. if this is not proper way then can you tell me any other way or work

[android-developers] Re: [Android 1.5_r2]How to set the http proxy in the real device?

2009-07-06 Thread Android Users
You can directly do the proxy settings in the APN Settings of your device. This should work fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] derive mcc and mnc from lac and cid`

2009-07-06 Thread alexdonnini
Hello, I have an application where I would like to be able derive a cell's MCC and MNC when I know only its LAC and CID. Deriving the MCC has been relatively easy (I think). However, deriving the MNC is more complicated, for obvious reasons. I would appreciate it if anyone has any ideas/pointer

[android-developers] Android Maket Place Apps

2009-07-06 Thread Rangan
Hello, Android Market Place and Google Maps are not both the open applications now. How we do we get these applications to products then? Do we need to have any formal communication with Google? Also is there a documentation on how the interaction works between Android Market Place on product an

[android-developers] Re: Does LinearLayout support Gravity.RIGHT?

2009-07-06 Thread Romain Guy
On Mon, Jul 6, 2009 at 6:43 PM, junker37 wrote: > > I can't seem to get views to float to the right inside a horizontal > LinearLayout.  Is this supported? > > > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have t

[android-developers] Does LinearLayout support Gravity.RIGHT?

2009-07-06 Thread junker37
I can't seem to get views to float to the right inside a horizontal LinearLayout. Is this supported? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] the max one page size in chrome lite

2009-07-06 Thread andylau
can any body knows in android browser(chrome lite), the max one page size can be ??? --~--~-~--~~~---~--~~ 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@g

[android-developers] Re: maps api and 1.5

2009-07-06 Thread Georgy
Hello Brian, I am having your same issue. Were you able to solve it? thanks On May 25, 8:48 am, "brian.schimmel" wrote: > Hi everybody, > > I'm getting the same problems. Of course I have read this thread and > tried everything that was suggested (and some more), but it does not > work. Here a

[android-developers] Re: VerifyError with Maps Add-ons

2009-07-06 Thread Georgy
I am using the Google Api 1.5 that already has the maps.jar and already included the uses-database in the manifest but still getting that errror. any ideas? thansk On Jun 9, 4:42 am, broc wrote: >   Hi, > > As Zach Hobbs wrote on month ago, a solution is to launch either the > widget or the co

[android-developers] Re: Problem with MapActivity

2009-07-06 Thread Georgy
I am having the same issue. Did you solve it? thanks On Jun 17, 12:33 pm, "Brad Gies" wrote: > I’m having problems getting a MapActivity to work on 1.5r2. As far as I can > tell I’ve done everything I need to do, but what am I missing? > The Google Maps key was generated on the Google Maps webs

[android-developers] Android Market :: Free application gets to top of pile on new release, paid app doesn't?

2009-07-06 Thread Rob Franz
Hi all I'm baffled as to how this Market works... I was expecting a different version of the Market by now but things still seem awry. Say I have two apps - one free, one paid. I release updates to both. The free one is at the top of the list, but the paid one is down in the depths of the list.

[android-developers] How to Handle Multiple Adapters for one ListView

2009-07-06 Thread Moto
Currently I'm trying to find an efficient way to handle the following scenario. Please comment on my current implementations and all feedback is greatly appreciated! I have about 7 adapters with data. This data comes from database and some come from xml queries over the internet which are kept

[android-developers] Re: OpenGL frame time independent object move

2009-07-06 Thread Marco Nelissen
You're only measuring the time it took to do the rendering, but you should probably look at the total elapsed time between calls to your update() method, rather than timing only a specific part of the process. On Sun, Jul 5, 2009 at 12:21 PM, teo2k wrote: > > Hi All, > > I'm doing some experimen

[android-developers] Re: Lookup phone number

2009-07-06 Thread Till
I KNEW there have to be an easy way, but I didn't knew that it could be that hard to find it. After hours of searching the internet and then searching the Phone apps sources I found it: Uri contactUri = Uri.withAppendedPath (Contacts.Phones.CONTENT_FILTER_URL, Uri.encode(number))

[android-developers] Re: release timing

2009-07-06 Thread Mark Murphy
Jonathan W wrote: > When a new app is added to the market, does it show up instantly? Or > is there some kind of lag before it appears? Barring technical problems, it should be up in minutes, as I understand it. > Also, there's no approval process or anything right? Nothing in advance. If a ca

[android-developers] Re: **never ever** use Toasts with Activity context

2009-07-06 Thread Romain Guy
There is no leak, I just verified myself. Your call to System.gc() does NOT guarantee that the GC will run. To check for leaks here is the procedure: - Run the app - Run adb shell dumpsys meminfo | grep -A 12 name.of.the.app.processs - Look at the count of Activities and ViewRoots - Run DDMS - Fo

[android-developers] Re: ContextWrapper: how do you use it?

2009-07-06 Thread Dianne Hackborn
I have no idea what you mean by adding database support, but ContextWrapper lets you create a new context that is a proxy for another. It doesn't let you change another context. On Mon, Jul 6, 2009 at 2:04 PM, Premier wrote: > > Hello, > i need to add database support to application context. I'

[android-developers] Re: **never ever** use Toasts with Activity context

2009-07-06 Thread skink
On Jul 6, 6:33 pm, skink wrote: > however i read Toast's api docs again and found that ctor and/or > makeText can use Activity context... so now i'm a bit lost here: is it > a bug in Toast or docs shoukd be updated? > > thanks > pskink hi, is it possible that nobody uses Toasts? can i consid

[android-developers] com.android.internal.telephony.PhoneStateIntentReceiver not available

2009-07-06 Thread Richard Schilling
I'm seeing that com.android.internal.telephony.PhoneStateIntentReceiver is not available to applications, and the only way to get the signal strength is by registering a PhoneStateListener with the TelephonyManager. Is that definitely true? Thanks. Richard Schilling Root Wireless --~--~---

[android-developers] Re: Sending files via Bluetooth and Wi-fi

2009-07-06 Thread jdesbonnet
As far as I know it's not possible with Bluetooth with Android API version 1.5. See Bluetooth FAQ ( http://sites.google.com/a/android.com/opensource/projects/bluetooth-faq ). Nether is OBEX. "Sending files" is a rather vague requirement: do you mean sending a file to a web server? If so read the

[android-developers] release timing

2009-07-06 Thread Jonathan W
When a new app is added to the market, does it show up instantly? Or is there some kind of lag before it appears? Also, there's no approval process or anything right? Thanks, Jonathan --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[android-developers] Re: onLocationChanged not working as expected

2009-07-06 Thread Carlos Yaconi
BTW, the problem described in my first post happens only in the phone. While working with the emulator, I'm using a mock GPS Provider, and when i'ts running, my application behaves as expected, I mean, notify on each new fix set by the mock. Thanks in advance! On Mon, Jul 6, 2009 at 4:37 PM, Car

[android-developers] Re: OpenGL frame time independent object move

2009-07-06 Thread MrChaz
I've found that if the app is set to be debugable that can reduce frame-rates. You might also want to specify a hardware renderer in the view On Jul 5, 8:21 pm, teo2k wrote: > Hi All, > > I'm doing some experiments with OpenGL using the GLSurfaceView > introduced in 1.5 > > In my Renderer I keep

[android-developers] Re: Setting a scrollbar position.

2009-07-06 Thread Mathieu Plourde
I found out how to generate the drag effect, but I can't control it's speed (so it always drags all the way up or all the way down since it's doing to action very fast). I'm using MouseEvent.obtain to get the Event. Then I use sendPointerSync from Instrumentation. What I'm doing is send an ACTION

[android-developers] Re: onLocationChanged not working as expected

2009-07-06 Thread Carlos Yaconi
the hack didn't work... each time the listener is updated, I'm receiving a new locationUpdated event call, wich is wrong, because I haven't change the location. Any ideas?? thanks! On Mon, Jul 6, 2009 at 3:10 PM, Carlos Yaconi wrote: > Ade, thank you for the link. I'll implement the hack sugg

[android-developers] Re: Setting a scrollbar position.

2009-07-06 Thread Romain Guy
> Is it possible to change a scrollbar's location programatically? I > have a ListView and I want to set the position of the scrollbar in my > code. setSelectedPosition(int) > Also, I'm using the Instrumentation framework for feature testing. I > was wondering if it's possible to generate a "dra

[android-developers] ContextWrapper: how do you use it?

2009-07-06 Thread Premier
Hello, i need to add database support to application context. I'd like extend Context, add database support, and use database in each activity that extends Context. I look at ContextWrapper, can i use it? how? regards. --~--~-~--~~~---~--~~ You received this messag

[android-developers] Setting a scrollbar position.

2009-07-06 Thread Mathieu Plourde
Hello devs, Is it possible to change a scrollbar's location programatically? I have a ListView and I want to set the position of the scrollbar in my code. Also, I'm using the Instrumentation framework for feature testing. I was wondering if it's possible to generate a "drag" movement with Instru

[android-developers] Re: AlarmManager nothing happening

2009-07-06 Thread Mark Murphy
dapaintballer331 wrote: > is there any example files? http://commonsware.com/AdvAndroid/ You'll find the source code to one of my books there. There is a SystemServices/Alarm project that is a complete AlarmManager/service implementation...with one significant bug that I'll be fixing this week.

[android-developers] Re: AlarmManager nothing happening

2009-07-06 Thread dapaintballer331
didn't help... is there any example files? Maybe i shouldn't start the alarm here, does it need to be started by a service that stays running? idk... I'd pay someone to help me if its allowed... I really need help. On Jul 3, 6:46 pm, Mark Murphy wrote: > dapaintballer331wrote: > > I've been mo

[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,Thanks - that did the trick. All this time I was convinced that I was doing it correctly :-) -rob On Mon, Jul 6, 2009 at 11:43 AM, Rob Franz wrote: > 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, Marc

[android-developers] Re: How do you handle orientation change for a Cupcake widget?

2009-07-06 Thread Jeff Sharkey
> Does this imply that EVERY RemoteViews update that I apply to my > widget should be capable of COMPLETELY initializing the correct > current state of every component on the widget? Yes, that's correct. This is because you can't infer anything about the current remote state. That remote state

[android-developers] Re: onLocationChanged not working as expected

2009-07-06 Thread Carlos Yaconi
Ade, thank you for the link. I'll implement the hack suggested and will share the results. Cheers Carlos. On Mon, Jul 6, 2009 at 2:26 PM, ade wrote: > > see this thread: > > http://groups.google.com/group/android-developers/browse_thread/thread/a51973768ed1458b# > > it's far from ideal but it w

[android-developers] Re: Blur an image

2009-07-06 Thread mboehmer
You have to apply the Gaussian filter to the image. http://en.wikipedia.org/wiki/Gaussian_blur Anyway, do you have any experience in real time image processing on Android? On 6 Jul., 19:07, Sharmila wrote: > Hi, > I have a camera application that captures an image and saves it in the > sdcard.

[android-developers] Re: Porting Android code to Symbian

2009-07-06 Thread Al Sutton
I would start by asking the copyright owners of the applications that you intend to port whether or not they mind you doing it. Al. On Jul 4, 5:08 am, MCON Dev wrote: > I find it a interesting proposition to port applications from Android to > Symbian and improve a mobile app's popularity and u

[android-developers] Re: Drawing Focus Highlight in Custom Widget

2009-07-06 Thread Romain Guy
android.R.drawable.list_selector_background is a Drawable, not a solid color. Use Context.getDrawable() and draw that drawable in the background of your widget. On Mon, Jul 6, 2009 at 11:30 AM, jcpalmer wrote: > > I have made a custom widget, very similar to JTable in Swing.  It is > not editable

[android-developers] Re: TIME_TICK in an AppWidget?

2009-07-06 Thread String
On Jul 6, 5:59 pm, Dianne Hackborn wrote: > You can use the AlarmManager.   Thanks, I'll see if I can make that work. > Be very careful, though, you can easily make > your widget a big battery hog. I'm well aware of that danger. :^) It might sink the whole project, but there's no way to know

[android-developers] Drawing Focus Highlight in Custom Widget

2009-07-06 Thread jcpalmer
I have made a custom widget, very similar to JTable in Swing. It is not editable, and all data is replaced at once, allowing easy checking for the widest item in each column & custom col sizing at replace time. It is a subclass of LinearLayout, filled with re-usable TableRow Objects, sub-classed

[android-developers] Re: onLocationChanged not working as expected

2009-07-06 Thread ade
see this thread: http://groups.google.com/group/android-developers/browse_thread/thread/a51973768ed1458b# it's far from ideal but it works. On Jul 6, 10:19 pm, cyaconi wrote: > Hi all! > I'm developing an application wich has a location push service that > start at boot. The main responsability

[android-developers] Re: flash(flv) related API available?

2009-07-06 Thread Yusuf T. Mobile
It hasn't been released to developers at large yet, nor has any related API yet been published. Sorry. Yusuf Saib Android ·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: **never ever** use Toasts with Activity context

2009-07-06 Thread skink
On Jul 3, 11:06 am, skink wrote: > On Jul 3, 11:20 am, hmmm wrote: > > > Really? It will be interesting to hear Google engineers comment on this. > > well, its nothing wrong with Toasts per se, they are working as api > docs describe, but when using wrong context they could give some > problem

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

2009-07-06 Thread Weyert de Boer
Thanks, to bad to hear that. I will try to fight with dithering for now then. Maybe if I can grasp the code I could try to give it a shot. Bummer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: Spinner OnItemSelectedListener - Differentiating between user selection and initialization

2009-07-06 Thread Georgy
sorry to be intruding here but did anyone try to get the selected item of the spinner and got a handler null exception error? I am getting the error EVEN thought the spinner is getting populated but as soon as I make the selection, I am getting a handler exception thanks On Jun 12, 9:44 pm, Mar

[android-developers] Blur an image

2009-07-06 Thread Sharmila
Hi, I have a camera application that captures an image and saves it in the sdcard.I want to blur the image now.I need to design a simple blur filter,I have no idea how I can do it in android.I can not find any examples anywhere.Can someone tell me the basic steps to blur an image in android? --~--

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

2009-07-06 Thread Mark Murphy
Richard R wrote: > 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. +1 Though this really is a better topic for [android-discuss], since you're not asking questions about the SDK... > I welcome

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

2009-07-06 Thread Dianne Hackborn
This can be a little confusing -- the Instrumentation class provides access to two Contexts, one of the app being tested, and one of the instrumentation itself. You just want to get the instrumentation's context, and the asset manager from that. On Fri, Jul 3, 2009 at 4:59 PM, Jeremy Slade wrote:

[android-developers] Re: TIME_TICK in an AppWidget?

2009-07-06 Thread Dianne Hackborn
You can use the AlarmManager. Be very careful, though, you can easily make your widget a big battery hog. On Sun, Jul 5, 2009 at 2:14 PM, String wrote: > > 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

[android-developers] Re: Lookup phone number

2009-07-06 Thread Till
Yeah, I know, but to do so I would have to convert the number first. Trim away the country code... I don't know how it is with seperators, like your number. The incoming number would be something like "+495551234" and it is stored in the contact as "0555-1234". Thinking of every possibility I woul

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

2009-07-06 Thread Dianne Hackborn
Sorry, no plan to support it any time soon. On Sat, Jul 4, 2009 at 1:43 PM, Marcus Gustafsson wrote: > > Will this be supported soon? Is there a another way to achieve the > same result? > > On Jul 1, 7:14 am, Dianne Hackborn wrote: > > Sorry, currently a TabHost can only run activities that are

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

2009-07-06 Thread Dianne Hackborn
You use Instrumentation. This may help: http://mylifewithandroid.blogspot.com/2008/12/instrumentation-and-junit.html The Instrumentation class has methods to send events and interact with the application in other ways. On Mon, Jul 6, 2009 at 4:06 AM, Raju wrote: > > Hi, > > I'm trying automate

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

2009-07-06 Thread Dianne Hackborn
This is not a public API, so it can't. On Sat, Jul 4, 2009 at 4:54 AM, Thomas Baumgartner wrote: > > Hi, > > did you find a solution how PhoneFactory.getDefaultPhone() can be > invoked from a new app? > > Thomas > > > > On 24 Jun., 04:18, Naveen K wrote: > > Hi, > > > > I am trying to call Phone

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

2009-07-06 Thread Dianne Hackborn
The system is currently oriented around 16 bit displays. I can't tell you off-hand what all needs to be changed for 24 bit displays (how much in the surface flinger, upper-level frameworks that may pre-load bitmaps dithered to 16 bpp for performance reasons), but presumably you are already investi

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

2009-07-06 Thread Mark Murphy
taro3...@gmail.com wrote: > Do anybody know how can I get the source code of Google maps for > android sdk1.5 You can't, except maybe by some special licensing mechanism if you are a major device manufacturer. > if the version of Google maps for android sdk 1.5 is > same with the version of Goog

[android-developers] Re: **never ever** use Toasts with Activity context

2009-07-06 Thread skink
On Jul 3, 4:21 pm, skink wrote: > and since Toast internally uses notification service the same may > apply to Notifications but i didn't check it yet > > thanks > pskink i was quite busy during the weekend so i tested Notifications only now and it seems that they (or more precisely PendingIn

[android-developers] Re: Populating a Spinner from another Spinner Dynamically

2009-07-06 Thread Georgy
Anyone? I really think it's not that complicated? running out of time. anybody please? thanks! On Jul 1, 4:24 pm, Georgy wrote: > issue still unresolved if someone is having the same issue. > > On Jun 22, 1:46 pm, Georgy wrote: > > > > > anyone?? > > > On Jun 21, 12:31 pm, Georgy wrote: > >

[android-developers] Re: Lookup phone number

2009-07-06 Thread Andrew Burgess
Can you use the LIKE operator, so do something for the selection args such as: phonenumbers + " LIKE %555-%"? On Mon, Jul 6, 2009 at 5:07 AM, Till wrote: > > 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

[android-developers] [Android 1.5_r2]How to set the http proxy in the real device?

2009-07-06 Thread Xman83
Dear developers, I had tried to use the sqlite3 to add a proxy information in the com.android.providers.settings/databases/settings.db, but I still couldn't access the Internet through browser on a real device. I had also tried to use the ProxySetting ap to set proxy. It couldn't work either. I

[android-developers] Re: Canvas.drawText failing to draw on a second call

2009-07-06 Thread Casper
Hi thanks for the reply. i even tried that. Interesting part is, except cavas.drawText for drawing text any other paint call is working. if you try by your self, you will see the same thing happening. i added a statement for canvas.drawLine(); this is working on every call. But canvas.drawText i

[android-developers] Sending files via Bluetooth and Wi-fi

2009-07-06 Thread anji.tel...@gmail.com
Hello fellow Android developers, We are using Android SDK 1.5 for our project. I dono how to send files using Bluetooth and Wi-fi i,e Which APIs or Intents to use and all.. Please guide me in resolving this issue. Regards, Anji. --~--~-~--~~~---~--~~ You recei

[android-developers] Looking for a co-founder

2009-07-06 Thread Jagdish
Hi, I am a developer with deep technical expertise. I have worked with top tier internet companies in Bay Area. I have a graduate degree in Computer Science and have filed for several patents in Software offerings. I am looking for a co-founder to build an application for Developer challenge. Th

[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 bla

[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. -- 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 t

[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 pref

[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 reall

[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ï wrote: > Hello, > > Have you read the MapView tutorial ? It shows how to display multiple > items on

[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 wrote: > far as i know, non-latin languages (such as Arabic) are not

[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] 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] 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 wrote: > Hi, > > I am trying to call PhoneFactory.getDefaultPhone from a new > application so that I can access its invokeOemRilRaw* functions. But > it gives me a

[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 renderi

[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 received

[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 co

[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 t

[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 t

[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] 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) { if

[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 = getPackage

[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 "An

[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] 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, becaus

[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 filli

[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 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 > same thing). > >

[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 pre

[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 th

[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: + But not all numbers are stored this way. Most are without the countrycode or with "00" instead of "+". Do I have to parse the numbe

[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 wrote: > Okay so I found out the problem, it's in the main.xml (found the > solution > here:http://groups.google.com/group/android-developers/browse_thread/threa...)

[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: 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 wrote: > how to enable/disable Access Point Network (APN)?

[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 //Itemi

[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 bla

[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 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 with the debugger.

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

2009-07-06 Thread Anidel
On May 16, 1:41 am, avrono 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", ATTRS{idVendo

  1   2   >