Re: [android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread Mark Murphy
1. I've seen that and will try it. But everything was fine until one day, it just stopped working 2. yes, i have the propper permissions. OK, can you manipulate the SD card image from anything else: adb push/pull, DDMS file manager, etc.? Perhaps your emulator doesn't have an image, or the

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
I tried the environment.getExternalStorageDirectory() and it created an empty file too. try { FileWriter fw = new FileWriter (Environment.getExternalStorageDirectory().getPath() +/ thissucks.txt); BufferedWriter out = new BufferedWriter(fw); out.write(stupiddfdsfsgfghhjkjgfdfgf);

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
new to java and android, but not programming... not sure how to push/ pull or use anything other than WinImage to manage and see what's in the sd card. I created the image with an sd card from within eclipse and I can open the .img file with WinImage so I assume it's not corrupt or anything.

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
I meant... I created the EMULATOR with an On Jan 4, 10:11 pm, BiiG biigr...@hotmail.com wrote: new to java and android, but not programming... not sure how to push/ pull or use anything other than WinImage to manage and see what's in the sd card. I created the image with an sd card from

[android-developers] Selection

2010-01-04 Thread Business Talk
What's the best way to implement a selection? is it to use a ListActivity to display a list of items to select from, display the activity with a startActivityForResult and implement the onListItemClick which would return the selected item and close the activity. Or is it to use the Dialog? --

Re: [android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread Mark Murphy
I meant... I created the EMULATOR with an On Jan 4, 10:11 pm, BiiG biigr...@hotmail.com wrote: new to java and android, but not programming... not sure how to push/ pull or use anything other than WinImage to manage and see what's in the sd card. I created the image with an sd card from

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
I would try DDMS and adb but the links you provided are not comming up on my computer. I can't get to any of the developer.android.com pages for some reason. I saw it in the help documentation before and looked there. Yes, it worked when I looked from within ddms File Explorer. I just don't see

[android-developers] Is that possible to get the current sample amplitude by MediaRecorder or other class

2010-01-04 Thread White Chen
Hi everyone, I have a media recorder, and want to record a media from mic and get it's amplitude sample. I want to try to get the correct and current amplitude instantaneously when calling some API. But there is just one API in MediaRecorde for getting amplitude: getMaxAmplitude, and it is used to

[android-developers] Re: Is that possible to get the current sample amplitude by MediaRecorder or other class

2010-01-04 Thread White Chen
Could anyone give me some suggestion? Thanks a lot.. -- 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] How can i know internet data usage??

2010-01-04 Thread g...@devicedriven
Are there any inbuilt classes ya methods that help to count the number of bytes sent/received...I'm trying to develop a light weight browser and am doing this as an option.As mobile users are charged based on the bytes they browse..i think this is a mandatory requirement,,but the more i google it

[android-developers] Re: ListActivity not updating on Database update.

2010-01-04 Thread Lance Nanek
Have you tried calling requery on the underlying Cursor? On Jan 4, 8:00 pm, mac-systems jens.h...@gmx.de wrote: Hello, i update a value in my Database in a Listview using a Context Menu. The code so far seems to be ok. But everything i try to make the update visible in the View failed.

[android-developers] Strange WebView Web Page Not Available behavior after application runs for a long time

2010-01-04 Thread Kenn Min Chong
Hey there! So, I have this simple app that contains a WebView object. My code basically tells my WebView object to load some pages every minute or so. The problem is, after the application runs for about 9-10 sites, every time I ask the WebView object to load a new URL I get a Web page not

[android-developers] Re: Outgoing text/sms

2010-01-04 Thread debnath68
Hi sunny25, AKAIK there is an intent for received sms which will be broadcasted when a sms is received to the phone and you can get it via BroadcastReceiver. But there is no intent for sent sms which should broadcast when a sms sent. In this regard I can suggest you to use contentProvider with

[android-developers] Maps API in paid App

2010-01-04 Thread mikek
According to the terms for use of Google Maps API, http://code.google.com/apis/maps/terms.html Incorporating the Maps API into your application is free as long as the app is also free. Otherwise, you need a commercial license. A commercial license for $10K is a heck of a lot of $1.99 apps. Does

[android-developers] Start and Stop music on application launch and stop

2010-01-04 Thread Hassan Imtiaz
Hi, In my application i have several activities and i want to start background music whenever my *Application* is launched and stop music whenever *Application* is paused or stopped. Any help?. Regards, Hassan Imtiaz -- You received this message because you are subscribed to the

[android-developers] Re: How to open project with eclipse

2010-01-04 Thread debnath68
hi mobi coder, In src folder you will get an activity class. this is a class which will hold all the views and display. It is more like window screen with which user will interact. and you will get an xml file named main.xml in /res/layout folder where you will actually set the views and this

[android-developers] Using the BufferedInput and Output Stream classes with Bitmaps

2010-01-04 Thread Samuh
Does passing BufferedInputStream/BufferedOutputStream classes to the Bitmap functions like compress and decodeStream make these functions run any faster? Or does the underlying code for these function take care of wrapping a buffer around? Which one is better or faster of the belowmentioned or

[android-developers] Sending market link in mail

2010-01-04 Thread sheik
Hi , i wanna know is it possible to send market link(market://details? id=packge_name) in the mail , that would direct user to the application(in android market). i was not able to send using href -- tag as we do in html . Kindly guide on this issue . kindly let me know if the Q is not clear .

[android-developers] Re: How can i know internet data usage??

2010-01-04 Thread debnath68
hi , you can check Netsentry. It's an open source project on http://code.google.com . It calculates data usage. But what exactly it is doing for getting data usage I didn't get that yet. If you can find the procedure how it is done pls post on this thread. thanks, mitu On Jan 5, 10:27 am,

[android-developers] installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

2010-01-04 Thread RamaMohan
Hi all, I am using HTC Magic (android os 1.5) for my development testing. When i try to run any map application it is saying the following error. installation error:

[android-developers] Upgrade android OS from 1.5 to 2.0 in HTC Magic

2010-01-04 Thread RamaMohan
Hi all, I am Using HTC magic with android os 1.5 version.I want to upgrade the version to 2.0. Is it Possible to upgrade the android Os.If can upgrade,Please tell me how to upgrade the Android OS . Thanks Ram -- You received this message because you are subscribed to the Google Groups Android

RE: [android-developers] Re: ListActivity not updating on Database update.

2010-01-04 Thread Hjcheon
-Original Message- From: Lance Nanek lna...@gmail.com Sent: Tuesday, January 05, 2010 1:31 PM To: Android Developers android-developers@googlegroups.com Subject: [android-developers] Re: ListActivity not updating on Database update. Have you tried calling requery on the underlying

[android-developers] Re: adp1 seeing adhoc networks

2010-01-04 Thread moneytoo
Android does not support connecting to Ad hoc networks. It's possible but it's tricky - you have to have root, modify some files and manually specify all network details cause ad hoc network will not display in the search list. On Jan 5, 4:04 am, Ron ronbruck...@comcast.net wrote: I'm trying to

Re: [android-developers] Video display not coming on Android1.6 SDK on OMAP3430 board

2010-01-04 Thread Anil Sasidharan
Hi, Since your Android port uses overlays for video output, please enable the overlay support in kernel and try. Warm Regards, Anil On Thu, Dec 17, 2009 at 2:40 PM, Ashu ashutosh.deshmukh2...@gmail.comwrote: Hi, In porting android SDK 1.6, we are facing an issue with video display.

<    1   2