[android-developers] how to create thumbnail generated after ending video recording

2009-06-26 Thread cindy
In 1.5, is there any API I can used to generate Video thumbnail? Thanks! Cindy --~--~-~--~~~---~--~~ 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: 30 Days of Android Applications

2009-06-26 Thread Maps.Huge.Info (Maps API Guru)
The source for day 17 and 18 are missing... Keep up the good work, only 8 days left! -John Coryat --~--~-~--~~~---~--~~ 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] How can LinearLayout know child's focusable?

2009-06-26 Thread jusun...@gmail.com
Hi. Expert! I have a LinearLayout that have 4 buttons children. so I like to know whether my button is focusable or not when I press a arrow key. and I like to know whether my button is clicked or not when I click a child button. LinearLayout.onFocusChanged function is not called when child has

[android-developers] Re: OnSharedPreferenceChangeListener not listening anymore in 1.5??

2009-06-26 Thread gymshoe
I tried implementing OnSharedPreferenceChangeListener as well (1.5_r2) and could not get it to work. Since I never had working code in a prior Android version, this could be due to a mistake in my coding. However, I just switched to using onPreferenceChangeListener() and it worked fine... Jim

[android-developers] Multiselect List View and Key Event

2009-06-26 Thread Muthu Kumar K.
Hi All, I have the Multi select list view in my project. Here i am using the custom adapter to build the list view. The code as follows, public static class EfficientMultiSelectionAdapter extends ArrayAdapterString implements CompoundButton.OnCheckedChangeListener { public

[android-developers] Re: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE in 1.0 and 1.5

2009-06-26 Thread hunter
Thanks. On Jun 26, 1:25 pm, Dianne Hackborn hack...@android.com wrote: There was a bug in 1.5 with this, that was fixed in the most recent security update.  You apparently aren't running a system with that security update. On Thu, Jun 25, 2009 at 8:53 PM, hunter jun.hun...@gmail.com wrote:

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread David Turner
On Wed, May 27, 2009 at 1:40 PM, sarang sarangd...@gmail.com wrote: Is this a bug in emulator 1.5 ? Yes, it's a known bug in the 1.5 emulator which will be fixed in the next SDK release. However, what others have mentioned is true, there is little you will be able to do in the emulator

[android-developers] Re: RFCOMM API

2009-06-26 Thread Santi
Hi, i was working with last cupcake release las week and i recompiled it to use RFCOMM API in my dev phone. i can say that status is yet unestable, something sockets don't free resources on destroy method is invocated and application crashes when it tried reopen it. You can see a demo in

[android-developers] Re: RFCOMM API

2009-06-26 Thread luiX_
I'm also waiting for RFCOMM to be released. I'm thinking about implementing something over it for events to come up on the PC, quote tipical but yet useful. do you know if there's something similar over usb already done? any recommendation about a craddle for magic? greets! El 26 de jun de

[android-developers] xml write

2009-06-26 Thread brilliant winger
HI I can't find it(method) in class xmlpullparser. I would like to write attributes in res/xml/*.xml. maybe, I use the other parser. follow that is samplecode. / InputStream stream

[android-developers] Wi Fi connection

2009-06-26 Thread kalyan simhan
hi all... im trying to connect to a secured wifi network.. through wifi manager i am able to scan for results... now how do i connect to it programmatically... meaning how do i get the network configuration details...and then connect to it.. hope im clear..kindly help! thanks in advance!!

[android-developers] scalable vector graphics

2009-06-26 Thread Sheado
hola, i think the answer is no.. but want to make sure. Does the current API support scalable vector graphics? If so which file formats? If not, will it be added in the future? I ask because I'd like my animations to based off of SVGs - in order to better support different screen resolutions

[android-developers] Re: Paid applications and market feedback/rating

2009-06-26 Thread Declan Shanaghy
I was searching for an easy way to implement trial and paid versions. This seems like an ideal solution. Gonna try it out. Has anyone out there tried this? How did it work out? On Sat, May 9, 2009 at 10:42 AM, mirko mirkocze...@googlemail.com wrote: Hi all, as in a few weeks it will be

[android-developers] RIL and datacall (CSD)

2009-06-26 Thread Mile Davidovic
Hello I tried to establish datacall between android phone and other phone, and I failed. AFAIK, CSD is recognized using %CPI (call progress infromation), looking in reference-ril.c:onUnsolicited it seems that RIL handle following unsolicited commands: * CTZV: Unsolicited result code for time

[android-developers] oprofile usage with dalvik vm

2009-06-26 Thread JJ
Hi all, I want to try profiling on android using oprofile but I am not sure if it comes support for dalvik vm. Has anybody tried the same? If this doesn't click then I can try using traceview and oprofile separately. Thanks, JJ --~--~-~--~~~---~--~~ You received

[android-developers] publishing an app that uses online service on android market

2009-06-26 Thread Georgios Galyfos
Hello, Assuming that I am planning on publishing an application on the android market, one that uses an online service. Do I need to guarantee that this service will be running for a specific amount of time? What happens if after a while my application hasn't made enough money to cover expenses

[android-developers] Finding a particular intent in the whole system(packet manager)

2009-06-26 Thread ani
Hi All, I have a query to ask.This piece of code i have come across in one of the posts (http://android-developers.blogspot.com/search/label/How-to by Romain Guy ) in which author has said simple way to find out whether the system contains any application capable of responding to the intent

[android-developers] SQL Query

2009-06-26 Thread M.Manjunatha
Hi Folks, How do i select only one particular row sort by a column using a sqlite query in Android?? Regards, Manjunatha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Repo error

2009-06-26 Thread Sivan
Dear All, This was due to the error in the repo file which was not downloaded correctly. After getting the correct repo file, repo was initialized successfully Regards Sivan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] value @ /sys/class/lightsensor/switch_cmd/lightsensor_file_cmd is getting lost

2009-06-26 Thread Shang Hao
Hi, I am storing a byte stream @ /sys/class/lightsensor/switch_cmd/lightsensor_file_cmd but on reboot, the value over here is getting lost. How do i recover Xie xie. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] How to use a library in Android source and to write application on top of that

2009-06-26 Thread Arun
Hi All, I have written a new library following the given sample liberary in / development/sample/PlatformLibrary I have properly compiled it. It properly gets compiled without any errors it build binaries are vailable in below mentioned locations. ./symbols/system/lib/ ./obj/lib/ Binary file

[android-developers] Re: Update message - how to check whether app has run before?

2009-06-26 Thread Anna PS
Actually, I have realised that won't work, because it will also show the first time the app is installed. It should only show upon update. So, the question still stands. How can I check whether a user has just installed an update, in order to show an update message? Any ideas anyone? Thanks,

[android-developers] ACTION_TIME_TICK for every Second required.

2009-06-26 Thread Ravi
ACTION_TIME_TICK occurs every minute. I need an action which will occur every second because I'm trying to display the 'Seconds' needle in AppWidget. Do help me even if it means modifying the framework source code. ACTION_TIME doesn't occurs it's docs are not clear.

[android-developers] Re: how to receive call and play media file

2009-06-26 Thread Honest
Thanks for your reply. But can't i play in the way so only caller can listen it. The receiver do not need to listen it. On Jun 22, 10:41 pm, Marco Nelissen marc...@android.com wrote: Sorry, there are too many messages to this list to keep up. The built-in apps do pause when a call comes in,

[android-developers] Re: ACTION_TIME_TICK for every Second required.

2009-06-26 Thread Peli
why don't you simply write a service and send your own broadcast intent as often as you want? Peli www.openintents.org On Jun 26, 12:46 pm, Ravi ravikumar...@gmail.com wrote: ACTION_TIME_TICK occurs every minute. I need an action which will occur every second because I'm trying to display the

[android-developers] Re: Finding a particular intent in the whole system(packet manager)

2009-06-26 Thread Peli
This code works regardless in which package the action is located. The only improvement I would suggest is to change the last argument form String action to Intent intent and omit the line final Intent intent = new Intent(action); Then you can search for arbitrary intents that you want to

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Peli
Unless of course one has a sensor simulator :-) http://code.google.com/p/openintents/wiki/SensorSimulator (I should mention that we did not have time yet to upgrade it to SDK 1.5, but some people already got this to work in the 1.5 emulator). I'd say simulating the sensors in this way can be

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Peli
Actually, the sensor code I had written with the SensorSimulator ( http://code.google.com/p/openintents/wiki/SensorSimulator ) before any Android hardware was available publicly, worked perfectly on the G1 when it came out - apart from the known issues with the wrong orientation sensor values

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Shang Hao
Firstly, openIntents sensor simulator is a very good tool for compass applications. I have used it without any breakage.. Further,, the compass bug in 1.5 r1 is FIXED in SDK 1.5 r2. Go ahead, there's no breakage now. Cheers. Peli wrote: Unless of course one has a sensor simulator

[android-developers] Re: Update message - how to check whether app has run before?

2009-06-26 Thread Neil
The way you suggested, but add versionCode to the setting name. On Jun 26, 12:40 pm, Anna PS annapowellsm...@googlemail.com wrote: Actually, I have realised that won't work, because it will also show the first time the app is installed. It should only show upon update. So, the question

[android-developers] Re: xml write

2009-06-26 Thread Neil
I already answered your question the first time you asked it. On Jun 26, 9:41 am, brilliant winger stw...@gmail.com wrote: HI I can't find it(method) in class xmlpullparser. I would like to write attributes in res/xml/*.xml. maybe, I use the other parser. follow that is samplecode.

[android-developers] Re: xml write

2009-06-26 Thread Neil
Or actually, I see you're asking a different question, although it doesn't make sense this time. XmlPullParser, as the name suggests, pulls and parses, so it's got nothing to do with writing. You can't write to the resource because that would be modifying the apk and thus breaking the signature.

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread gard
I got my jars from: http://hc.apache.org/downloads.cgi The dependencies are included in the Binary with dependencies download. regards, gard On 10 Jun, 10:08, Urs Grob grob@gmail.com wrote: Yes, I also couldn't find the jars for httpmime. I just created a jar from the sources and

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread Delta Foxtrot
2009/6/26 gard gard.honnin...@gmail.com I got my jars from: http://hc.apache.org/downloads.cgi The dependencies are included in the Binary with dependencies download. regards, gard On 10 Jun, 10:08, Urs Grob grob@gmail.com wrote: Yes, I also couldn't find the jars for httpmime.

[android-developers] Re: Paid applications and market feedback/rating

2009-06-26 Thread Derek
I think another option is to add ads (adMob or google AdSense) into the app. You may not need a paid version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] MediaController without VideoView ?

2009-06-26 Thread sasq
Is it possible to create and use a MediaController that is not attached to a VideoView? The obvious/trivial way does not seem to work, ie; mc = new MediaController(this); mc.setAnchorView(myView); mv.setMediaPlayer(this); doesnt seem to do anything... -- Sasq

[android-developers] Thread

2009-06-26 Thread Mr.No
hello, how can i trigger in tread A a methode from thread B? the methode schould be than executetd in thread b. I want to manipulate within a thread A a View from Thread B, how can i do that? rgds mr.no --~--~-~--~~~---~--~~ You received this message because

[android-developers] How to change default intent action?

2009-06-26 Thread Explore Android
Hi, I am customising native phonebook application as a third party application which can be launched by the same intent as the native application. I have installed that application in my G1 phone. When I have clicked on Contacts icon in launcher menu it a menu pops out and asks me to select

[android-developers] Re: Thread

2009-06-26 Thread Streets Of Boston
I assume that Thread B is the main UI-thread, handling messages, 'holding' the View. Thread A is a background thread doing some computation or other stuff. If I'm correct in this assumption, you can just post to the View from thread A. While in thread A: myViewInThreadB.post(new Runnable() {

[android-developers] Re: LinearLayout in LinearLayout

2009-06-26 Thread JdbcDroid
it's wird, it's work for me,so it's a problem for you if you set the orientation to vertical? On Jun 25, 9:02 pm, Mr.No f.hi...@arcor.de wrote: dont work,  only if i setOrientation to vertical. On 25 Jun., 17:21, JdbcDroid jd.bens...@gmail.com wrote: try to use l1.setOrientation(...) just

[android-developers] Re: Strange TabHost NullPointerException

2009-06-26 Thread And-Rider
I am also having the same problem Can anyone help us telling the possible scenarios in which this bug might occur. On Jun 25, 10:17 pm, nEx.Software justin.shapc...@gmail.com wrote: I get no errors when I use TrackBall click to select a tab in TabActivity. Tested on my apps targeting

[android-developers] Flv to mp4 Convertion

2009-06-26 Thread Vinay
Hi All, I want to play the flv files in Android. So what I thought is to convert the flv file to mp4 or 3gp(for which there is a decoder in Android). OpenCore can be used to convert. I have looked into opencore code, there is a class in opencore /android/external/opencore/

[android-developers] Re: How to change default intent action?

2009-06-26 Thread schwiz
you have to goto the application settings by pressing menu then settings then goto applications then scroll down to your app and clear the default setting On Jun 26, 9:12 am, Explore Android stetest...@googlemail.com wrote: Hi, I am customising native phonebook application as a third party

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-26 Thread Jason Van Anden
If I understand you correctly, you just need to call Activity.getIntent () within Activity.onCreate(). Thing is that onCreate does not get called. That activity starts, resume gets called. At the point when resume gets called the intent has changed from my intent with extras to the

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-26 Thread Jason Van Anden
some additional details in case someone here does not go there ...from logcat ... Starting activity: Intent { comp={com.blah.blahs/com.blah.blahs.Blahs} (has extras) } *** notice ... this is my intent called from the status bar *** startActivity called from non-Activity context; forcing

[android-developers] Re: Update message - how to check whether app has run before?

2009-06-26 Thread Anna PS
Thank you - good thinking. For the benefit of others reading, this is how I did it in the end: String vc = null; try { vc = getPackageManager().getPackageInfo(getPackageName(), 0).versionName; } catch

[android-developers] Re: Update message - how to check whether app has run before?

2009-06-26 Thread Anna PS
duh - that should be boolean hasSeenUpdateVersion = settings.getBoolean( hasSeenUpdateVersion + vc, false); of course :) On Jun 26, 6:08 pm, Anna PS annapowellsm...@googlemail.com wrote: Thank you - good thinking. For the benefit of others

[android-developers] concurrency of AsyncTasks

2009-06-26 Thread Jayesh Salvi
Hi, I am replacing the multithreaded code in my app with the AsyncTask from 1.5. I found that two AsyncTasks do not work concurrently. I investigated a bit and found a workaround; I would like second opinion if my solution is right. OR if there is a better solution. AsyncTask allows the app to

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-26 Thread Dianne Hackborn
Be sure you read app fundamentals, especially about tasks: http://developer.android.com/guide/topics/fundamentals.html#acttask The entity launching the intent (the status bar) is not part of a task, so it is starting an activity outside of a task, so the system forces the NEW_TASK flag on the

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Dianne Hackborn
I am going to strongly, strongly recommend that people test such code on a real device. I don't know what you were doing, but every case I know of using sensors required a fair amount of tuning on the device to achieve the right feel. For example, the auto-rotation code went through many many

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread L!TH!UM
On Jun 26, 10:03 am, Dianne Hackborn hack...@android.com wrote: I am going to strongly, strongly recommend that people test such code on a real device.  I don't know what you were doing, but every case I know of using sensors required a fair amount of tuning on the device to achieve the right

[android-developers] Re: Passing in a Bitmap as the EXTRA_STREAM parameter when launching an Intent

2009-06-26 Thread n179911
On Thu, Jun 25, 2009 at 10:44 PM, Sujay Krishna Sureshsujay.coold...@gmail.com wrote: one thing u could do is use a fileobserver, check when the file is opened,accessed n closed, on close delete it... this is also jus a suggestion... i havent tried it yet... If I call the Camera activity

[android-developers] Re: concurrency of AsyncTasks

2009-06-26 Thread Romain Guy
Hi, It's a bug and your workaround is correct. I'll fix this right away. On Fri, Jun 26, 2009 at 9:27 AM, Jayesh Salvijayeshsa...@gmail.com wrote: Hi, I am replacing the multithreaded code in my app with the AsyncTask from 1.5. I found that two AsyncTasks do not work concurrently. I

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread slk
http://www.mirrorservice.org/sites/ftp.apache.org/httpcomponents/httpclient/binary/httpcomponents-client-4.0-beta2-bin-with-dependencies.tar.gz Extract and the lib folder contains all relevant jars, regards, saad On Jun 10, 9:08 am, Urs Grob grob@gmail.com wrote: Yes, I also couldn't find

[android-developers] Re: Bug? Geo fix and sdk 1.5

2009-06-26 Thread axel
test --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to

[android-developers] Location Provider - Coarse Location Problem

2009-06-26 Thread LBDev
The way we are retrieving locations from our Android phones is to 1st get a Coarse Location followed by a Fine Location. This is for the case where the user may be inside a building initially and unable to track satellites. After we get our coarse location we transition to a fine location to

[android-developers] My Buttons are not Clickable in the Incall Screen

2009-06-26 Thread Zealousian
Hi I have a Querry, I am trying to add buttons to the Incall screen. But after adding the buttons, my buttons are not Clickable. That’s UI is present in the screen. I am able to select the Buttons using the up down arrow Key. And on pressing OK control is going to my OnClickListener But I am not

[android-developers] Touch Mode and ListViewItems with a Compound View

2009-06-26 Thread Anil Bhatt
Hello, I have read related posts and blogs about how a list item loses selection on entering touch mode and the suggestion to use onClick/ onSelect listeners or selection modes, but I am still having the following problem. I have a list view, where each item row is a compound view, consisting

[android-developers] Gettings files to a web server with Cupcake

2009-06-26 Thread jdesbonnet
It's only day 2 for me on Android/Cupcake and generally finding it a breeze. But one thing is confounding me: I cannot get data files off the device to a server. A multipart POST request would be my choice. All examples I've tried to date either don't compile (missing classes eg Part, or compile

[android-developers] Re: Bug? Geo fix and sdk 1.5

2009-06-26 Thread axel
With SDK 1.5r1 I had this problem using an AVD for Android 1.1 (target id 1). When I use an AVD for Android 1.5 (target id 2) I don't experience this problem - the locations received by the onLocationChanged() reflect the location entered via geo fix Axel

[android-developers] Best practices for library with UI component

2009-06-26 Thread Dennis
Hi -- My company is in the process of evaluating if we can add support for Android to our product. I am currently working on porting our existing J2ME library to the Android framework and I have a question regarding our UI component. Right now, we have a custom menu that we allow our

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

2009-06-26 Thread Elvis
Hi all I've pushed 3 files to the required path, but Maps is still invisible. Anyone has idea what's going on with this? ps. I'm using android sdk 1.5r2 Elvis On Jun 3, 8:10 am, Subba raochoud...@gmail.com wrote: Thanks. I was able to install Maps library and Maps application in my device.

[android-developers] Re: no classfiles specified and Conversion to Dalvik format failed with error 1

2009-06-26 Thread willis
I don't understand this. I do a fresh clean install of everything, follow the HelloAndroid example to the letter, and as soon as I create the new project I get these errors. [2009-06-25 11:33:21 - HelloAndroid] no classfiles specified [2009-06-25 11:33:21 - HelloAndroid] Conversion to Dalvik

[android-developers] Keeping an application running in the background

2009-06-26 Thread Dennis
Hi -- Yet another question -- we have an application that connects to a device and therefore needs to keep running in the background even when there are no Activities active. What is the recommended way to indicate that our application is still active and for it not to be killed automatically?

[android-developers] with android sdk 1.5, i got a problem.

2009-06-26 Thread wan wei
I am fail to install my apk file on device, in the logcat it show error message: 01-28 01:41:22.944: ERROR/PackageManager(958): Package test.android.media has no signatures that match those in shared user android.media; ignoring! 01-28 01:41:22.944: WARN/PackageManager(958): Package couldn't be

[android-developers] help

2009-06-26 Thread Dorj
How to detect key event without activty? --~--~-~--~~~---~--~~ 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 unsubscribe from this

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-06-26 Thread Ankit
hi I have tried by disabling IPv6 from network connection but still it don't work and show me error: could not connect to client socket to 1:5556: unknown error On May 25, 3:18 am, David Turner di...@android.com wrote: On Sun, May 24, 2009 at 6:17 PM, Steve

[android-developers] Android App Widgets

2009-06-26 Thread prats
HI I have recently started using android and wanted to try App Widgets. I have coded all the primary features for the app widget (in the manifest file, xml resources..). But I dont know how do I publish my app widget in another application. And does my App Widget always need to be a broadcaster

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread slk
Hi Urs, Download HttpClient binary from here: http://hc.apache.org/downloads.cgi ; be sure to download the distribution under the heading 'binary with distribution'. After extracting, you will find a number of jars in the lib folder. saad On Jun 10, 9:08 am, Urs Grob grob@gmail.com wrote:

[android-developers] increase application speed

2009-06-26 Thread Recruiters
For Details download the MS word file at http://alturl.com/bv92 --~--~-~--~~~---~--~~ 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] Open source and diagramming

2009-06-26 Thread moschino0116
Dear open source contributors, I am Eunyoung Chung, a Masters student at Oregon State University. I am currently doing a research to understand how contributors communicate and collaborate in Open Source Software (OSS) projects, including diagramming practices. We are seeking volunteers for a

[android-developers] Fail to install Maps.apk on cupcake

2009-06-26 Thread Elvis
Hi all~~ I was unable to install Maps.apk into emulator cupcake. I've tried 2 method, both are failure. 1. adb install Maps.apk -- [INSTALL_FAILED_MISSING_SHARED_LIBRARY] 2. Copy Maps.apk to /system/app/, com.google.android.maps.jar to / system/framework/, com.google.android.maps.xml to

[android-developers] Question about getFileStreamPath

2009-06-26 Thread n179911
In the following code, which create a File object using getFileStreamPath() with temp-wallpaper as parameter. File f = getFileStreamPath(temp-wallpaper); (new File(f.getParent())).mkdirs(); Can you please tell me where is the file actually located? Thank you.

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Rud
There is a considerable amount of development that can be done, even without actual sensor hardward. Having to comment out all sensor related code to get graphics, keystrokes and all the other minutia working is not productive. The emulator really needs to get fixed. Rud On Jun 25, 8:32 pm,

[android-developers] Read inbox SMS

2009-06-26 Thread Ankit
Hi, I want to develop application which read sms from inbox. Can any one tell me how can I do it. Thanks in Advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: ClassNotFoundException

2009-06-26 Thread andrehbleitao
Mike, please to put this on your manifest: application ... activity android:name=.. .. /activity uses-library android:name=com.google.android.maps / /application uses-permission android:name=android.permission.INTERNET /

[android-developers] Security Exception

2009-06-26 Thread Rab73
Just wondering if anyone can help Just wondering if anyone can help on the security exception I am getting. 06-18 22:21:48.637 156 162 W Parcel : enforceInterface() expected 'android.os.IPowerManager' but read '-ä' 06-18 22:21:48.707 253 253 W dalvikvm: threadid=3: thread exiting

[android-developers] Need Help Dream!!!

2009-06-26 Thread Mediowoman
Hi, my name is Serena and I'm writing from Italy. I have a G1 brad Tim Italia, 2 days ago I installed RC7...and now my phone now is T-Mobile and has problem with keyboard, and I cant'use Telnet. Beside my pc don't see the phone in fastboot, and when i try to install something the phone give me

[android-developers] Re: How to change default intent action?

2009-06-26 Thread Explore Android
Thanks, it works. On Jun 26, 4:53 pm, schwiz sch...@gmail.com wrote: you have to goto the application settings by pressing menu then settings then goto applications then scroll down to your app and clear the default setting On Jun 26, 9:12 am, Explore Android stetest...@googlemail.com

[android-developers] Re: Wat to buy???

2009-06-26 Thread ayush
you can purchase the android developer phone. its the same thing as the G1, only difference being that its unlocked and will work with any GSM service provider. check out the following link - this guy has purchased the developer phone in india and recounts his first-hand experience

[android-developers] Retrieving Google/GTalk Account bound to Android?

2009-06-26 Thread Cheng Zhong
Hi all, I'm working on a program that will need to read user's GTalk contacts, and also I need to find out which Gtalk account the user is using. I heard that each android is bound with a google account (to be extactly, the username/email of user's google account). I wonder any one can tellme

[android-developers] SimpleCursorAdapter()

2009-06-26 Thread elzee
Hi, I am trying to pull data from a cursor which is initialized as follows: Uri inboxUri = Uri.parse(content://sms/); Cursor c = managedQuery(inboxUri, null, null, null, null); this effectively gets me to latest text message that has been sent/ received. I am now trying to put certain fields

[android-developers] Re: How to recover stopped activities

2009-06-26 Thread Thomas
Hi, Can someone help me? I tried to use android:allowTaskReparenting=true android:taskAffinity=PACKAGE_NAME.ACTIVITY_NAME but it doesn't work. Thanks On 6/25/09, Thomas perd...@gmail.com wrote: Hi All, I've some problems with a task. There are an activity A

[android-developers] Re: Security Exception

2009-06-26 Thread Marco Nelissen
On Thu, Jun 25, 2009 at 6:36 PM, Rab73raben...@gmail.com wrote: Just wondering if anyone can help Just wondering if anyone can help on the security exception I am getting. It might help if you also included the code that is triggering this.

[android-developers] listeners in popupwindow

2009-06-26 Thread ak
Hi all, I have one activity , Which has the menu update .Whenever i click on update button. I am creating pop up window.In that , following is the code snippet , PopupWindow loginPopUp = new PopupWindow(this); loginPopUp.setContentView(this.getLayoutInflater().inflate (R.layout.login_page,

[android-developers] Location Provider - Coarse Location Problem

2009-06-26 Thread LBDev
The way we are retrieving locations from our Android phones is to 1st get a Coarse Location followed by a Fine Location. This is for the case where the user may be inside a building initially and unable to track satellites. After we get our coarse location we transition to a fine location to

[android-developers] Re: concurrency of AsyncTasks

2009-06-26 Thread Jayesh Salvi
Thanks Romain for quick response. Jayesh On Fri, Jun 26, 2009 at 10:54 PM, Romain Guy romain...@google.com wrote: Hi, It's a bug and your workaround is correct. I'll fix this right away. On Fri, Jun 26, 2009 at 9:27 AM, Jayesh Salvijayeshsa...@gmail.com wrote: Hi, I am replacing

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-26 Thread Jason Van Anden
Hi Dianne, This worked! You rock. My forehead and desktop thank you for the break. Not to sound too defensive but ... I have read the documentation thoroughly and repeatedly. I have also watched any and all videos from the conference, etc. I have been developing with Android since

[android-developers] Delete non empty folders

2009-06-26 Thread Danesh Mondegarian
Hi ne way of incorporating the new File(...).delete(); command to delete non delete files ? or ne other command that does tht ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Android 1.5 SDK now available

2009-06-26 Thread Kiran Mudiam
Can you post a link to ROM you downloaded for the 1.5 cupcake update for the G1 Developer phone. On May 6, 1:32 pm, DJMoran danmo...@blueyonder.co.uk wrote: Never mind I've got it from HTC.com now On May 6, 9:30 pm, DJMoran danmo...@blueyonder.co.uk wrote: I've got a dev phone but I

[android-developers] How to increase speaker volume using AudioTrack

2009-06-26 Thread Breno
Hey everyone, Does anybody knows how to increase the volume of speaker using AudioTrack? the streamed audio is playing in speaker, but not loud as voice call. Here my code mPlayer = new AudioTrack(AudioManager.STREAM_RING, AUDIO_SAMPLE_FREQUENCY_8000HZ,

[android-developers] Re: Strange activity stack issue

2009-06-26 Thread Al
Thanks for the info Dianne. On Jun 24, 1:54 am, Dianne Hackborn hack...@android.com wrote: Yeah ADT launches apps differently than the home screen does.  Assume the home screen is correct, and ignore this behavior from ADT. On Tue, Jun 23, 2009 at 1:34 PM, Al alcapw...@googlemail.com

[android-developers] Problems with shared library JAR

2009-06-26 Thread Max
I'm trying to use an external library packaged in one JAR file (openRDF Sesame 2.2.4 [1]). As suggested in this group, I first added the JAR to a new folder in my project, then added it to the Java build path via the project properties in Eclipse. Now I could already use the classes from the

[android-developers] Reusable Spans

2009-06-26 Thread Al
Hi, I have a styled Spannable String, which gets append()ed to other Spannables. Rather then restyle it each time, I was hoping to style it once and reuse it over and over. It seems there isn't possible because the styles get removed when append()ing to other SpannableStringBuilders after the

[android-developers] How to hide user dictionary? or suggested words on keyboard

2009-06-26 Thread cvance383
How can I hide the suggested words or turn off auto complete for the virtual keyboard? 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] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Rud
I just tried to run a Compass example in r2 and it hung on getting the sensor manager. I don't think the bug is fixed and isn't just a compass bug. But if you have any suggestions I am open to trying them. @L!TH!UM - I also am a long time embedded developer. Yes, you have to get onto the real

[android-developers] Re: JIS conversion is ignored!

2009-06-26 Thread Dan Bornstein
On Thu, Jun 25, 2009 at 8:31 PM, Hirohiroy...@hotmail.com wrote:            unicode = new String(unicode.getBytes(ISO2022JP), I believe the encoding name you are looking for is ISO-2022-JP (with dashes). The system should also recognize the name Shift_JIS (which is a different encoding). -dan

[android-developers] Re: How to recover stopped activities

2009-06-26 Thread Dianne Hackborn
Your question is vague enough that it is really hard to answer. For example, what do you mean by stopped? What do you mean by launching A (is it going on top of B?)? It is very useful if questions are posted as solutions to be solved (I want to implement navigation through my app that looks

[android-developers] Re: Design

2009-06-26 Thread Yusuf T. Mobile
Here is where my questions arose: Is there a way to find a suitable happy medium without trial and error testing on a huge database? Profiling with real data is the right way to optimize in a perfect world. If that is unworkable here in this world, then you'll have to get out the slide rule

[android-developers] Re: SimpleCursorAdapter()

2009-06-26 Thread Mark Murphy
elzee wrote: How can I format these fields before placing them into my listview? private static int[] TO = { R.id.from, R.id.body, R.id.date, }; private static String[] FROMTWO = { FROM, BODY, DATE, }; SimpleCursorAdapter adapter; adapter = new SimpleCursorAdapter(this,R.layout.item, c,

  1   2   >