[android-developers] Re: Register to listen for outgoing calls

2009-06-19 Thread Adem KARAKOLLU
* http://www.anddev.org/accessing_call_log_on_incoming_call_and_outgoing_calls-t4408.html *http://www.anddev.org/accessing_call_log_on_incoming_call_and_outgoing_calls-t4408.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Position of tha zoom in a mapView

2009-06-19 Thread jphdsn
Hi If anyone knows how to change the position of the zoom in a mapView. Thanks --~--~-~--~~~---~--~~ 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] BroadcastReceiver and Google Services Inquiry

2009-06-19 Thread kk
Hi All, I have been working on BroadcastReceiver code to capture GMAIL events and try to extract data to create an email event log. Although the registration of the BroadcastReceiver using Intent.PROVIDER_CHANGED for gmail appears to be correctly formed and no exceptions are generated. I have

[android-developers] Re: global variable and get website address question

2009-06-19 Thread Tsai stanly
thanks for your reply, for first question, how can i do the garbage collection? for second, i was implement,but haw can get the link address? my code of implement shouldOverrideUrlLoading is bellow, how can i get address? thanks! private class class_WebViewClient extends WebViewClient {

[android-developers] Re: Difference between invalidate() and postInvalidate()

2009-06-19 Thread Deren
Yeah but why isn't the View redrawn if I call invalidate() from computeScroll()? --~--~-~--~~~---~--~~ 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] App Icon and Name not being shown by Installer

2009-06-19 Thread Doug
Ok, this has me stumped - I've seen it on multiple phones (v 1.0 thru 1.5) but can't find any evidence anyone else seen the problem... so here we go: When I install my app, the installer shows the package-name and a generic app icon. If the app is already installed, the installer will show the

[android-developers] Re: global variable and get website address question

2009-06-19 Thread Tsai stanly
sorry,about first quest, I want the variable can deliver between different .java in the same project. 2009/6/19 Tsai stanly tsai.sta...@gmail.com thanks for your reply, for first question, how can i do the garbage collection? for second, i was implement,but haw can get the link address?

[android-developers] Activity not found... sometimes!

2009-06-19 Thread Doug
I have an app that's currently being beta tested by around 400 helpful souls. For 399 of these it's working 100% perfectly. For 1 it's not. (he has the same version of CupCake everyone else has, he has the same version of code everyone else has) In the onCreate for my main activity I launch

[android-developers] zoomcontrol position in a mapView

2009-06-19 Thread jphdsn
Could we with the 1.5 sdk change the position of the zoomcontrol in a mapView as The setBuidInZoomControls (different of getControl()method is not a child of a view? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Is Calendar App exists in Android SDK 1.5?

2009-06-19 Thread Kasmoori Bindu
Hi All, I couldn't find Calendar application in the emulator, is there any plug-in to have all the applications enabled in emulator? If Calendar app exists, what is the service API for Calendar application supported by android. Please reply, your response is highly appreciated. Need this info

[android-developers] Book: Web On-The-Go

2009-06-19 Thread Bala
Google Android has been the source of inspiration for this book, Web On-The-Go. This book presents innovative ideas with fictionalized examples about the Wireless Web. It is a book for all policy makers, executives, engineers and general public. A Forecast of Innovations for the Wireless Web

[android-developers] mediaplayer error -4

2009-06-19 Thread l hx
a mp3 file which can be played well in sdcard. but when i copy it to another subarea in linux linked as /data/test. but i can not be played in that directory --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] 3D Streaming on Android Phone?

2009-06-19 Thread javame_android
Hi Everybody, I would like to know whether it is possible to implement 3D streaming on Android phone. We have our own 3D studio which takes as input 3Ds and maya files and generates .q3z file. Now if I call this .q3z file using url then is it possible to render it on Android phone. I have Java

[android-developers] Re: Is Calendar App exists in Android SDK 1.5?

2009-06-19 Thread Mike Hearn
There isn't a calendar API in Android currently, sorry. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: override AnalogClock

2009-06-19 Thread sunita
So you want to say that there is no way to override the AnalogClock Widget at the home screen ,to display our custom clock,am I right? following is the the xml im using for my custom widget 1.?xml version=1.0 encoding=utf-8? 2. 3.com.android.alarmclock_cs.AnalogClock_cs xmlns:android=http://

[android-developers] Cannot Decode Images from sdcard using BitmapFactory.Options

2009-06-19 Thread Shre555
Hi, I am tring to get a image from the images stored on the sdcard of my Android but i am getting a skia error using BitmapFactory When I just take the image directly without using BitmapFactory class I get the image. But the purpose of using BitmapFactory is scaling down the image size by

[android-developers] Re: global variable and get website address question

2009-06-19 Thread Tsai stanly
solved. for two: use WebViewClient.getTitle() for one: eg: class A{ static int a=1; public void doSomethingElse(){ } } class B{ public void doAddA(){ A.a=A.a+1; } } 2009/6/19 Tsai stanly tsai.sta...@gmail.com sorry,about first quest, I want the variable

[android-developers] ExifInterface and libexif

2009-06-19 Thread Augustin.CL
Dear All, Currently, I want to fix the camera apk to make the image attached the GPS information. But I find there are some problems. 1. First, we can't change the exif information. According to http://code.google.com/p/android/issues/detail?id=2415, I modified some codes of

[android-developers] Re: zoomcontrol position in a mapView

2009-06-19 Thread Mark Murphy
Could we with the 1.5 sdk change the position of the zoomcontrol in a mapView as The setBuidInZoomControls (different of getControl()method is not a child of a view? The Android 1.1-era getZoomControls() method is still available in Android 1.5, though it is deprecated. Instead of calling

[android-developers] Computer Vision on Android

2009-06-19 Thread mboehmer
http://code.google.com/p/androidcv/ Anybody interested in joining the project? We are currently in a phase of planning and checking possibilities. Matthias --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] How delete Media record on db

2009-06-19 Thread Francesco Pace
Hi guys, I have a question. Sorry for my english. I have this code : Uri uri = Uri.parse(content://media/external/images/media); ContentResolver resolver = _ctx.getContentResolver(); resolver.delete(uri, null, null); but this code doesn't work because I have this error : 06-19 12:41:32.886:

[android-developers] Android Manifest File ERROR and unable to see it?

2009-06-19 Thread siLent
?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.helloandroid.android.newsdroid android:versionCode=1 android:versionName=1.0 application android:icon=@drawable/icon activity android:debuggable=true

[android-developers] Re: zoomcontrol position in a mapView

2009-06-19 Thread jphdsn
I will use setBuidInZoomControls... Thanks, On 19 juin, 14:25, Mark Murphy mmur...@commonsware.com wrote: Could we with the 1.5 sdk change the position of the zoomcontrol in a mapView as The setBuidInZoomControls (different of getControl()method is not a child of a view? The Android

[android-developers] help with intents

2009-06-19 Thread Saurav Mukherjee
hi all, is there any way to pass values(strings or bundles) to another application while calling it via intents, and also return some information (mostly string)??? thanx in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Computer Vision on Android

2009-06-19 Thread blindfold
I'm certainly interested in your project, but currently Android is just about the worst platform for developing computer vision applications: no native code interface yet that one can distribute for (NDK is under development), no JIT compiler to speed up pure Android code, no Android API for

[android-developers] Re: help with intents

2009-06-19 Thread Mark Murphy
is there any way to pass values(strings or bundles) to another application while calling it via intents, and also return some information (mostly string)??? To send data, use the putExtra() set of methods on Intent. To receive data, you will want to use startActivityForResult():

[android-developers] Re: help with intents

2009-06-19 Thread Saurav Mukherjee
thanx... On Fri, Jun 19, 2009 at 7:12 PM, Mark Murphy mmur...@commonsware.comwrote: is there any way to pass values(strings or bundles) to another application while calling it via intents, and also return some information (mostly string)??? To send data, use the putExtra() set of

[android-developers] OutOfMemoryError

2009-06-19 Thread Francois
Hello all, For my project (quite a big project), an Android application create, I need to compile the sources from a command line. So I have followed the explanations found in the dev guide. I have set JAVA_HOME to a short directory name, and created the project with the Android command. When I

[android-developers] Re: Cannot Decode Images from sdcard using BitmapFactory.Options

2009-06-19 Thread Streets Of Boston
xxx jpeg error 53 Not a JPEG file: starts with 0x%02x 0x%02x It seems that the file on your sd-card is not a JPEG file, at least not one recognized by SKIA. On Jun 19, 8:23 am, Shre555 shreyas1...@gmail.com wrote: Hi, I am tring to get a image from the images stored on the sdcard of

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

2009-06-19 Thread Blake B.
Hi, Maybe I'm missing something obvious, but how do you handle orientation changes for a Cupcake desktop widget? When it is initially created, the onUpdate() method of my AppWidgetProvider calls views.setOnClickPendingIntent(buttonID, pendingIntent) to register for my button events, but

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

2009-06-19 Thread Blake B.
Hi, Maybe I'm missing something obvious, but how do you handle orientation changes for a Cupcake desktop widget? When it is initially created, the onUpdate() method of my AppWidgetProvider calls views.setOnClickPendingIntent(buttonID, pendingIntent) to register for my button events, but

[android-developers] Re: vertice coodinates of Kube

2009-06-19 Thread Streets Of Boston
The gluUnProject should just be used to translate the coordinates of your finger on the screen (x1,y1,z1), where z1 is 0...1, to a 3d coordinate in your Kube space (x2,y2,z2). You calculate it for z1=0 and z1=1, which gives you two coordinates in Kube space, a line: unproject(x1,y1,0) --

[android-developers] Re: OutOfMemoryError

2009-06-19 Thread Daniel Janev
Hi, You have to set the -Xmx options in the dx.bat but not in the ANT_OPT. Francois wrote: Hello all, For my project (quite a big project), an Android application create, I need to compile the sources from a command line. So I have followed the explanations found in the dev guide.

[android-developers] Re: How to disable Buttons on a Widget

2009-06-19 Thread Blake B.
Hi Jeff, I've tried the two options you mentioned below for disabling a button on a widget, but although they can have the appearance of a disabled button from the image, the button is still in an enabled state and does not have the standard Android appearance of a disabled button. I looked

[android-developers] Re: Difference between invalidate() and postInvalidate()

2009-06-19 Thread Streets Of Boston
Really? *immediately*? I thought that invalidate() must be called on the UI thread. But invalidate() does not draw your view *immediately*, does it? I thought it will schedule a draw 'action' as soon as the UI-message thread gets a chance. If you call multiple invalidate()-s in a row, your view

[android-developers] Re: Capture the Android's browser HTTP petitions

2009-06-19 Thread psaltamontes
Yes, I want to say request :), sorry , I need improve my English. I don't want my application modify the settings of the browser, the idea is that the user configure the proxy of the browser and install my application. This application is a service that listen the HTTP requests and send to the

[android-developers] Android Support

2009-06-19 Thread Mr.No
Hello, how do i get Support from the Android-Team? rgds Mr.No --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: mediaplayer error -4

2009-06-19 Thread Marco Nelissen
Use setDataSource(FileDescriptor) instead of setDataSource(String path) On Fri, Jun 19, 2009 at 4:46 AM, l hx lihongxia8...@gmail.com wrote: a mp3 file which can be played well in sdcard. but when i copy it to another subarea in linux linked as /data/test. but i can not be played in that

[android-developers] Re: Android Manifest File ERROR and unable to see it?

2009-06-19 Thread Balwinder Kaur (T-Mobile)
The android:name attribute needs to be added to the activity tag e.g. activity android:name=.FeedsList ... / From the official documentation http://developer.android.com/guide/topics/manifest/activity-element.html android:name The name of the class that implements the activity, a subclass

[android-developers] Re: How delete Media record on db

2009-06-19 Thread Marco Nelissen
You can't delete all images at once, you'll have to delete them one by one. On Fri, Jun 19, 2009 at 5:43 AM, Francesco Pace paxa...@gmail.com wrote: Hi guys, I have a question. Sorry for my english. I have this code : Uri uri = Uri.parse(content://media/external/images/media);

[android-developers] Re: Android Support

2009-06-19 Thread Mark Murphy
how do i get Support from the Android-Team? As an ordinary person, ask questions on these Android Google Groups. The core Android team, and other people in the Android community, try to answer many of them. If you are an employee with an Open Handset Alliance member, you may have additional

[android-developers] Re: Difference between invalidate() and postInvalidate()

2009-06-19 Thread Streets Of Boston
You're right :) It's friday and i should read the posts a bit more carefully :) On Jun 19, 11:14 am, Marco Nelissen marc...@android.com wrote: On Fri, Jun 19, 2009 at 7:43 AM, Streets Of Boston flyingdutc...@gmail.comwrote: Really? *immediately*? I thought that invalidate() must be

[android-developers] Re: override AnalogClock

2009-06-19 Thread Romain Guy
Like I just said, you cannot do this. On Fri, Jun 19, 2009 at 5:21 AM, sunita agrawal.suni...@gmail.com wrote: So you want to say that there is no way to override the AnalogClock Widget at the home screen ,to display our custom clock,am I right? following is the the xml im using for my

[android-developers] AppWidget: Irregular Id for Disable event

2009-06-19 Thread temp
Hi I'm developing my application on Android 1.5r2 and it is registered for both DISABLE and DELETE event of AppWidget. However, the application does not receives the delete event. Also in case , multiple Widgets are added to HomeScreen, the application receives DISABLE event for the last added

[android-developers] Re: Capture the Android's browser HTTP petitions

2009-06-19 Thread psaltamontes
Do you know/think if this option will be in the future? Now, I'm trying to do something with a webview and webviewclient. But I don't know how to send a RAW HTTP request using these classes. I can send/receive RAW HTTP with sockets, but I don't know how to link these sockets with the webview.

[android-developers] Re: Retrieving Records from a created Database and put it in a SPINNER

2009-06-19 Thread Georgy
Mark thanks for the helpful link, I still can't tell how to use manageQuery with my table (and not a built in table such as CONTACTS). My database is: locode My Table is: chart and I have several columns and rows in it. My column that I want to show is called KEY_TITLE So in this line I don't

[android-developers] Re: Difference between invalidate() and postInvalidate()

2009-06-19 Thread Marco Nelissen
On Fri, Jun 19, 2009 at 7:43 AM, Streets Of Boston flyingdutc...@gmail.comwrote: Really? *immediately*? I thought that invalidate() must be called on the UI thread. But invalidate() does not draw your view *immediately*, does it? I thought it will schedule a draw 'action' as soon as the

[android-developers] Re: Capture the Android's browser HTTP petitions

2009-06-19 Thread Mark Murphy
Yes, I want to say request :), sorry , I need improve my English. I don't want my application modify the settings of the browser, the idea is that the user configure the proxy of the browser and install my application. This application is a service that listen the HTTP requests and send to

[android-developers] Re: Can an Activity find out where it started from?

2009-06-19 Thread Mike Wolfson
This was a good question (as it is something I was looking for myself). One super basic question: How do I get a handle to the calling Intent in the called activity? I create the intent in the first Activity with Intent i = new Intent (); etc, but I am unclear on how I retrieve a handle to

[android-developers] Re: Can an Activity find out where it started from?

2009-06-19 Thread Marco Nelissen
On Fri, Jun 19, 2009 at 8:50 AM, Mike Wolfson mwolf...@gmail.com wrote: This was a good question (as it is something I was looking for myself). One super basic question: How do I get a handle to the calling Intent in the called activity? getIntent()

[android-developers] INotificationService question

2009-06-19 Thread skink
hi, in fact the question relates to Toast.show(), but after looking into the code it seems that INotificationService and its enqueueToast() may steal toast's reference for a long time since when i run my Activity several times wirhout Toast, Activity.getInstanceCount() returns always 1 or 2,

[android-developers] ListView - keep item selected

2009-06-19 Thread Mark Wyszomierski
Hi, I have a ListView. When I click a row Item (which are just TextView instances) I want them to remain hilighted (default orange color). The default behavior is that they flash orange. Strangely, if I use the key pad (arrow up/down) to move between items, it has the exact behavior I want. Why

[android-developers] Re: Traceview OutOfMemory error

2009-06-19 Thread Boris
Are there no Traceview gurus out there? B On Jun 15, 8:38 pm, Boris boris.ratc...@gmail.com wrote: Hello. I have been trying to use traceview for profiling my Android app. So far I have gotten it to work on very small parts of the program. If I use it for bigger chunks it creates too much

[android-developers] Catching AudioRecord exception when not processing fast enough

2009-06-19 Thread Keith Wiley
In the Eclipse log I can clearly see a warning pop up (something about buffer overflow) every time I don't read from the AudioRecord buffer fast enough and consequently miss a chunk of audio samples. Is there any way I can detect that notification programatically so I know exactly when I have

[android-developers] Re: Computer Vision on Android

2009-06-19 Thread Keith Wiley
I'd be interested. Not sure how much free time I have, but if you want to keep me in the communication loop I can decide as we go if I have time or relevant skills to contribute. I have wanted to implemented some image-processing wavelet routines, but have seriously question the point of even

[android-developers] Re: ListView - keep item selected

2009-06-19 Thread Brian Smith
I could rattle off an explanation, but the folks at Google have already explained it better than I ever could... http://android-developers.blogspot.com/2008/12/touch-mode.html On Jun 19, 12:01 pm, Mark Wyszomierski mar...@gmail.com wrote: Hi, I have a ListView. When I click a row Item (which

[android-developers] Re: ListView - keep item selected

2009-06-19 Thread Peli
Romain's blog post will answer all your questions: http://android-developers.blogspot.com/2008/12/touch-mode.html (read until the end until you see the paragraph about choice mode - which is what you need). Peli www.openintents.org On Jun 19, 6:01 pm, Mark Wyszomierski mar...@gmail.com wrote:

[android-developers] Re: Is running applications from shell disabled?

2009-06-19 Thread Lewis Z.
Yes, I did. On Jun 18, 8:45 pm, Delta Foxtrot deltafoxtrot...@gmail.com wrote: 2009/6/19 Lewis Z. lzh...@gmail.com I wrote a simple hello c program. I pushed the program to either Android Emulator or a device. When I run it, however, I got ./hello: not found message. I ls-ed it and it's

[android-developers] Re: Device offline

2009-06-19 Thread xiaohua
It's the same error I have encountered. The same phone works ok on WinXp, but can't use adb in ubuntu. On 5月10日, 上午10时19分, krishnakanth krishnakan...@gmail.com wrote: Hi, I have a problem when trying to see use the Android for development on Ubuntu. The device is shown as offline. Although

[android-developers] Re: ListView - keep item selected

2009-06-19 Thread Mark
Hi guys, Yeah I had this problem when I started with Android last year. So my users want to select an item from a ListView, then may scroll around a bit more. I don't understand why we should prevent the item they selected from being highlighted? I've done this:

[android-developers] Re: Capture the Android's browser HTTP petitions

2009-06-19 Thread psaltamontes
Here, http://groups.google.com/group/android-developers/browse_thread/thread/1bd1c80127510b16 there is information about classes that I can use to modify HTTP requests. I will try something with this classes. On 19 jun, 17:34, psaltamontes mcg2...@gmail.com wrote: Do you know/think if this

[android-developers] ListView addHeaderView gives ClassCastException when adding LinearLayout

2009-06-19 Thread Bob.T.Terminal
I've been trying to add a linear layout to a listview header. The listview appears fine and is working as expected, but when i try to add a linearlayout to the header i get a java.lang.ClassCastException: android.view.ViewGroup$LayoutParams occuring at the list.addHeaderView (ll); line. I thought

[android-developers] Re: Application (.apk) Size

2009-06-19 Thread indodroid
I also had the same query. What is a reasonable footprint of an android application (static footprint)...and what is the maximum runtime footprint that is acceptable ? Regards indodroid. On May 27, 3:25 pm, amuy...@gmail.com wrote: Hi, What is the maximum size allowed for an android

[android-developers] mp3 streaming

2009-06-19 Thread Andrei
Sorry if this is duplicate question Did anybody got mp3 streaming working using MediaPlayer or anything else Is there an example? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: problems importing existing project into eclipse

2009-06-19 Thread mojo
I received the same error, I am using Subversion in Eclipse to import the source code from the Open Data Kit. When I got the error, I tried Android Tools Fix Project Properties but there was no response. I closed Eclipse and opened it again. Then, when I tried Fix Project Properties, BAM! it

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

2009-06-19 Thread HeyChinaski
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 over the top of my main layout using FrameLayout. When I run the animation on the emulator everything works pretty well but when I use run it on my G1

[android-developers] ListView addHeaderView gives ClassCastException when adding LinearLayout

2009-06-19 Thread Bob.T.Terminal
When trying to add a header to a listview i keep on getting a java.lang.ClassCastException: android.widget.LinearLayout $LayoutParams. I thought it might be a problem with the widget i was adding to the header so i made the simple test case below which add just a colored linearlayout as the

[android-developers] Measurement of Time

2009-06-19 Thread Michelle Silva
Hi, i'd like to know how can i measure time to access an aplication in the phone? Is there a way to measure time exactly?? If not, what is the margin of error??? I wanna know this because I will develop an application to measure performance of the phone. Could you help me??

[android-developers] Re: How can I give my paid app away for free to some users?

2009-06-19 Thread intbt
Coupons or some method of offering free or discounted versions. If you have a customer that might want to use apps as a giveaway for selected customers, it is difficult with the present Google Market set-up. On Jun 18, 11:01 am, Jason Van Anden jason.van.an...@gmail.com wrote: +1 On Thu, Jun

[android-developers] feedback system

2009-06-19 Thread Tumaru
i think that there is an absolutely vital part of the programing chain missing here, and that is feedback. you might think that you have already got adequate feedback in place but it took me a couple days to find it and if i hadn't just gone to school for a year to learn some basics of computer

[android-developers] Null ptr exception before starting activity

2009-06-19 Thread chimaera
Hi All, I just deployed my first app on the market tonight. It was running nice on the emulator and on my G2. But apparently several users have difficulties starting the app, and I can't figure out why. Here is the crash dump: java.lang.RuntimeException: Unable to start activity ComponentInfo

[android-developers] Android Online Radio

2009-06-19 Thread charmed_chic
Does anyone know where I can download this app? Apparently, this is the developers' website: http://aor.leadapps.com/ I have been searching searching for an online radio aside from streamfurious. Thanks --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: The errors when use the aidl, need your help

2009-06-19 Thread Nacho
You need move mp3PlayerInterface.aidl in the \mp3\player\ directory if your declaration package says mp3.player. For example, I'll put IMyInterface.aidl in \com\ill\IMyInterface.aidl : --- content of IMyInterface.aidl --- package com.ill; interface IMyInterface { //

[android-developers] InputMethodService and landscape mode

2009-06-19 Thread Markus
Hi, I've implemented a new InputMethodService, which uses a GLSurfaceView to display the letters in a 3D scene. In portrait mode, it is working fine now, but not in landscape mode. It is always launching in fullscreen mode and displaying a textinput box from the base class. Is there are way to

[android-developers] android code for online radio

2009-06-19 Thread charmed_chic
i need an android project that allows one to listen to internet radio stations live. i searched on google codes about it but found nothing. any ideas? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: ExifInterface and libexif

2009-06-19 Thread Augustin.CL
Could I use ExifInterface.java to getAttributes ,put some Exif Tag into that HashMap, saveAttributes and commitChanges? For Example: ExifInterface exif = new ExifInterface(filePath); HashMapString,String exifData = exif.getAttributes(); exifData.put(GPSImgDirection,200);

[android-developers] Re: InputMethodService and landscape mode

2009-06-19 Thread Dianne Hackborn
Um... don't do this. On the G1 there can only be one GL context at a time. This will utterly break if your IME is used with an app that is also using GL. Also, yes the IME window does not get focus. This is intentional; if you want to do something different, you are well outside the bounds of

[android-developers] Re: ListView addHeaderView gives ClassCastException when adding LinearLayout

2009-06-19 Thread Romain Guy
Hi, It seems that the layout params you give your LinearLayout are not of the right type. You need to use ListView.LayoutParams. On Fri, Jun 19, 2009 at 6:52 AM, Bob.T.Terminalbob.t.termi...@gmail.com wrote: When trying to add a header to a listview i keep on getting a

[android-developers] Re: ListView - keep item selected

2009-06-19 Thread Romain Guy
I read through the document linked, but still cannot appreciate the rationale behind disallowing a ListView item from having a 'selected' color when in TouchMode, With your solution, there is no distinction between a checked item and the selection (the selection is the highlight that moves

[android-developers] lock data usage to email

2009-06-19 Thread canistel
Is it possible to lock down the phone so that the only data usage is email? I don't even mind if the email has to be manually send / received; due to the small amount of data I have on my plan, I just don't ever want to use edge / 3g for anything other then email data. Once I'm on wifi then other

[android-developers] Re: Google Directions for maps!

2009-06-19 Thread Lorenz
Thanks JP!! On Jun 10, 7:20 pm, JP joachim.pfeif...@gmail.com wrote: We've had this discussion a few times before: http://groups.google.com/group/android-developers/browse_thread/threa... Unless someone found out otherwise, googlenav in Android seems to be history. BTW, if memory serves me

[android-developers] Join the Android Developer Group on Linkedin!

2009-06-19 Thread atea...@gmail.com
Join over 1,500 Android professionals to share, learn, and network. The resource for connecting professionals with experience in developing, selling, marketing, managing, supporting and/or creating new business around the Android platform. You may join this group by going to the following link:

[android-developers] Re: INotificationService question

2009-06-19 Thread skink
On 19 Cze, 13:58, skink psk...@gmail.com wrote: so how can avoid that reference stealing? skink ok, i've work arounded that problem with using application context iso activity one as a Toast's ctor parameter --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Retrieving Records from a created Database and put it in a SPINNER

2009-06-19 Thread Georgy
Ok this has worked for me: Spinner s2 = (Spinner) findViewById(R.id.spinner2); db.open(); Cursor cur = db.getAllTitles(); SimpleCursorAdapter cadapter = new SimpleCursorAdapter(this, android.R.layout.simple_spinner_item,

[android-developers] Re: How delete Media record on db

2009-06-19 Thread Francesco Pace
Thanks Marco, but I try to delete with content://media/external/images/media/_id my application works ;) 2009/6/19 Marco Nelissen marc...@android.com You can't delete all images at once, you'll have to delete them one by one. On Fri, Jun 19, 2009 at 5:43 AM, Francesco Pace

[android-developers] Re: Application (.apk) Size

2009-06-19 Thread Fred Grott(shareme)
It wil be smaller than the heap size limit per apps..so if that is 10 megs than assume 4 to 5 megs? On Jun 19, 8:35 am, indodroid indodr...@gmail.com wrote: I also had the same query. What is a reasonable footprint of an android application (static footprint)...and what is the maximum

[android-developers] Re: ListView - keep item selected

2009-06-19 Thread Mark
Hi Romain, In my mind there are (at least) two ways to use a ListView: One is when you want to let the user pick a single item then immediately move to some other Activity (this works perfectly as described). For example, you present the user with a list of cities, as soon as they click New

[android-developers] Removing Missed Call Notification

2009-06-19 Thread Jonathan Herriott
Hi, So, I've been researching how to clear missed calls, and I can't find the API to do it. I've tried setting Calls.NEW in the CallLogs database to 0 for missed calls, and I've verified that the values are set in the emulator's database, but the notification never disappears. I've seen other

[android-developers] testing/understanding weak and strong pointers

2009-06-19 Thread devi prasad
While trying to follow the implementation of weak and strong (smart) pointers in Android, I created a few code snippets to test my understanding. I'm sharing a few samples here. I have attached a file that show the contains of my Android.mk file, source files, commands to build this sample code,

[android-developers] Re: ListView - keep item selected

2009-06-19 Thread Romain Guy
One is when you want to let the user pick a single item then immediately move to some other Activity (this works perfectly as described). For example, you present the user with a list of cities, as soon as they click New York, we move them to a new Activity. So there's no issue about letting

[android-developers] new dev device

2009-06-19 Thread Andrei
When can we expect new unlocked dev device for developers? Anybody? May be Magic --~--~-~--~~~---~--~~ 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: Application (.apk) Size

2009-06-19 Thread Dianne Hackborn
The Java heap is limited to 16MB, but that is just the heap, so I don't believe code is included. The basic answer is: keep your app as small as possible. A little more detail: the G1 has ~75MB of storage for both apps and data, so if your app is 1MB it is using 7.5% of that storage which is

[android-developers] contextMenu for dialog

2009-06-19 Thread Mike Lanin
I've wrote, but have no answer. Is there any way to create context menu for items of dialog? --~--~-~--~~~---~--~~ 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] contextMenu and dialog

2009-06-19 Thread Mike Lanin
I've wrote, but have no answer. Is there any way to create context menu for items of dialog? --~--~-~--~~~---~--~~ 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: Application (.apk) Size

2009-06-19 Thread Streets Of Boston
It wil be smaller than the heap size limit per apps Not true. :=) I could imagine creating an app of 50MBytes. 2MBytes worth of code and 48MBytes worth of resources (images/assets/etc.). And if these resources are not loaded all at once, it should work. Of course, who would download such a big

[android-developers] Re: 3D Streaming on Android Phone?

2009-06-19 Thread Yusuf T. Mobile
From your message, it seems that is is possible, but slow. I would not assume the phone is slower, you would have to try it out, and of course different phones have different capabilities. Most should have 3D hardware acceleration, but that means using the OpenGL API, which your Java applet may

[android-developers] Re: Retrieving Records from a created Database and put it in a SPINNER

2009-06-19 Thread Mark Murphy
on another matter, I want to see my database, I rezlied that I do not have the persmission to see it from the device, how can I see it from the emulator on Eclipse? I read the documentation and on the MS DOS prompt after writing adb -s emulator5554 shell and trying to connect to the database

[android-developers] Re: Application (.apk) Size

2009-06-19 Thread Fred Grott(shareme)
Dianne I have a related question.. How do figure out the upper limit of the sqlite database size an app can use? Fred Grott http://mobilebytes.wordpress.com On Jun 19, 1:52 pm, Streets Of Boston flyingdutc...@gmail.com wrote: It wil be smaller than the heap size limit per apps Not true. :=)

[android-developers] Enabling camera in the emulator !

2009-06-19 Thread hanged_man
Hi everyone, I've just noticed that launching the Camera and Camcorder (in the emulator) would result in a black screen (instead of the famous moving small boxes), i've looked for why this happening on the net, apparently that the camera is disabled by default when you create an AVD. Decided to

[android-developers] Re: Application (.apk) Size

2009-06-19 Thread Dianne Hackborn
The only upper limit is the amount of storage space available, and the amount of temporary RAM needed for whatever queries you are doing. On Fri, Jun 19, 2009 at 12:12 PM, Fred Grott(shareme) fred.gr...@gmail.comwrote: Dianne I have a related question.. How do figure out the upper limit of

  1   2   >