[android-developers] How to pass response from ksoap to another activity

2009-01-19 Thread sooraj.rit
Hi, Can anybody please tell how to pass response from ksoap to another activity. I have attached the code. Please suggest the required modifications.Thanks for your help in advance package med.help; import java.io.IOException; import org.ksoap2.SoapEnvelope; import org.ksoap2.SoapFault;

[android-developers] Re: Is it possible to create an activity instance using constructor like a common Java class?

2009-01-19 Thread zcj0429
Thanks, Torgny. I will have a try --~--~-~--~~~---~--~~ 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

[android-developers] Re: how to send AT command to android phone?

2009-01-19 Thread FranckLefevre
Dear All, So what about sending ADPU to the SIM card ? We are currenlty integrating a NFC device on a G1 and we need to send APDU comands to the SIM to take advantage if this. What is the best way to do so ? BTW: Who know what is the modem used in ADP1 ? Getting this information would allow

[android-developers] how android connects to a specific AP?

2009-01-19 Thread zcj0429
Hi: I read through the doc and fonud there is no method to connect to a specific AP in the WifiManager class. Do I miss something? Or android connect to AP automatically? Any information will be appreciated, thanks --~--~-~--~~~---~--~~ You received this

[android-developers] java.net.serversocket.accept() not responding..

2009-01-19 Thread suchita bhardwaj
Hii All, I am trying to create basic server -client application using serverscocket class.But at line ***Socket socket = server.accept();*** ,it gets stuck and giving no response and is giving following error. 01-19 12:31:06.040: WARN/System.err(543):

[android-developers] JXTA on Android

2009-01-19 Thread Tez
Hi, Has anyone tried using JXTA on Android? I came across the peerdroid app on google code, but i couldn't understand much of what was done. Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to disable Auto-Focus on Camera?

2009-01-19 Thread blindfold
You will find more, including autofocus, by looking at the LogCat output window in Eclipse as a camera app starts running and changes its (preview) settings. Regards On Jan 19, 8:06 am, marc marc.rob...@gmail.com wrote: Hello Dave or Blindfold,     So I placed the following lines of code in

[android-developers] for transferring file, is it require any permissions?

2009-01-19 Thread jalandar
for transferring file, is it require any permissions? e.g for socket... INTERNET --~--~-~--~~~---~--~~ 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: Error: Read and parse xml file

2009-01-19 Thread Gnanesh Radhakrishnan
Try debugging and check if you are able to get the InputStream from the specified URL. If not : Get the InputStream from the below example HttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost(url); // url is URL.toString() HttpResponse response =

[android-developers] Getting contact name from contact number from phonebook.

2009-01-19 Thread Don Rules
Hi, How do i get the contact name using the contact number from the phonebook? Regards, Don. --~--~-~--~~~---~--~~ 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: Error: Read and parse xml file

2009-01-19 Thread Gnanesh Radhakrishnan
Can you get the stacktrace from Logcat and paste it here??? Gyan. On Mon, Jan 19, 2009 at 3:56 PM, Gnanesh Radhakrishnan gnanesh@gmail.com wrote: Try debugging and check if you are able to get the InputStream from the specified URL. If not : Get the InputStream from the below example

[android-developers] Regarding Activity

2009-01-19 Thread mongd
Hi, I'm working on a program which basically plays a video file and has some more functionality. What I expect from this program is: when I start playing a video, the program starts a new service and registers a notification. I click the home button and still the video is running so I can hear

[android-developers] Re: Regarding Activity

2009-01-19 Thread for android
Look at the code for Music app..your requirement is exactly similar to that.. On Mon, Jan 19, 2009 at 3:40 PM, mongd mongdl...@gmail.com wrote: Hi, I'm working on a program which basically plays a video file and has some more functionality. What I expect from this program is: when I start

[android-developers] error in creating object of FileTransferManager manager

2009-01-19 Thread jalandar
Hello I am trying to create object of FileTransferManager manager = new FileTransferManager(this.connection); it is giving error, the same error gives for , OutgoingFileTransfer otransfer = manager.createOutgoingFileTransfer(ni...@pc3/Smack); I am testing demo app IM for android, smack

[android-developers] Re: error in creating object of FileTransferManager manager

2009-01-19 Thread Mark Murphy
jalandar wrote: Hello I am trying to create object of FileTransferManager manager = new FileTransferManager(this.connection); it is giving error, the same error gives for , OutgoingFileTransfer otransfer = manager.createOutgoingFileTransfer(ni...@pc3/Smack); I am testing demo app IM

[android-developers] Re: layout editor orientation dropdown.

2009-01-19 Thread Mark Murphy
Josh wrote: I would like my application to remain in protrait which i have achieved by setting the orientation to portrait in the manifest. Which you did on an activity-by-activity basis, right? See: http://androidguys.com/?p=2891 Is there a way to ensure that one of my layouts(just one)

[android-developers] Re: HTTP Client........SocketException

2009-01-19 Thread Mark Murphy
Pratap wrote: I'm working behind proxy, whenever i send a req using HTTPclient i get a SocketExceptionDoes anybody knows how to solve this problem... Do you have the INTERNET permission enabled in your AndroidManifest.xml file? -- Mark Murphy (a Commons Guy)

[android-developers] Re: ProgressBar in Webview

2009-01-19 Thread A R
I am not sure if I understand correctly but you can keep your webview invissible (while its loading) and make it visible only after your url is loaded (and when you remove progressbar). Check WebViewClient on how to get notified of page load finished. -Amit. On Jan 19, 10:16 am, Chris Chiappone

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-19 Thread whitemice
Thanks for the additional feedback. The meta data name is a global namespace to all applications, so you must qualify it… That’s how I understood it. “myComponentNamespace” is a shortened camel case to represent a full application namespace. I renamed all my code to anonymize our client and

[android-developers] Localization for Android Market

2009-01-19 Thread friedger
Hi, Is it correct that only applications with the same language are presented to the user, i.e. the specified language on the device must match the specified language on Android Market? Or is it possible to access say the German applications while having an English language setting. Does the

[android-developers] Highlight an Item In listactivity

2009-01-19 Thread Don Rules
Hi Folks, How do we highlight the item in the listactivity? The item can be only highlighted with the scrolling. but not through touch.. Please help. Regards Don. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Example: upload files to php from android

2009-01-19 Thread arnouf
Hi all, I used this method until now. But I would like to light my application on device - without apache libraries - to use the code present in this page http://getablogger.blogspot.com/2008/01/android-how-to-post-file-to-php-server.html It doesn't work...Could you help me? For information I

[android-developers] Re: error in creating object of FileTransferManager manager

2009-01-19 Thread jalandar
I have set the INTERNET permission already, In fact I am chatting with other emulator instance with same XMPPConnection Object, but when just click on button which create only FileTransferManager object instance (no other any further action like creating outgoingfiletransfer, etc), the process

[android-developers] Re: Highlight an Item In listactivity

2009-01-19 Thread Mark Murphy
Don Rules wrote: How do we highlight the item in the listactivity? The item can be only highlighted with the scrolling. but not through touch.. Please help. It's supposed to work that way. When you touch an item, it is temporarily highlighted (a click); when you use navigation buttons to move

[android-developers] Re: Playing encrypted video.

2009-01-19 Thread RunX
Thanks for the fast reply. The file is encrypted and I don't want to save the unencrypted file and open that. How could I do that? Thanks, RunX On Jan 14, 8:35 pm, rktb yend...@pv.com wrote: If you have already opened the file for encryption, and have a file descriptor, you could pass

[android-developers] Re: error in creating object of FileTransferManager manager

2009-01-19 Thread jalandar
Hello I am trying to create object of FileTransferManager manager = new FileTransferManager(this.connection); it is giving error, the same error gives for , OutgoingFileTransfer otransfer = manager.createOutgoingFileTransfer(ni...@pc3/Smack); I am testing demo app for android, smack library

[android-developers] Re: Tmobile Android touch screen not working after 2 minutes broswing.

2009-01-19 Thread Stoyan Damov
On Mon, Jan 19, 2009 at 5:54 AM, elf elwin...@gmail.com wrote: I havn't try the hard reset yet. Was worry about after that I need to call the customer service again to setup the phone number. (last time took me 30 minutes and make 5 calls to setup my phone, as some guys mess up my order).

[android-developers] Re: AutoCompleteTextView for contacts

2009-01-19 Thread Miguel Paraz
Hi, This one worked for phone numbers, thanks! On Jan 17, 1:19 am, Odessa Silverberg silverberg.ode...@googlemail.com wrote: Well instead of using try                SimpleCursorAdaptersAdapter = newSimpleCursorAdapter (this,                                 R.layout.menulist_complexitem,

[android-developers] which is class in android for clipping images

2009-01-19 Thread jalandar
I mean I want to clip image into different pieces. Or cut images into small pieces. So is there any in built class in android library. plz reply me. Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] building a picture using small, pieces of different size

2009-01-19 Thread jalandar
Is there in class android library to picture from small, pieces of different size. what should be the logic it requires. if there is no built in class. thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Internet connection

2009-01-19 Thread android_soft
and I hope you are doing the Download/Upload in a Service/Thread -Chander --~--~-~--~~~---~--~~ 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] Accesing an image file from its content provider

2009-01-19 Thread Al bundy
Hi there I need to know how to get the actual name of the file from a content provider So, I use : Intent intent = new Intent(android.intent.action.PICK); intent.setType(image/*); startActivityForResult(intent, 1); to call the Android gallery and let me choose a picture. Then I have: protected

[android-developers] Documentation of MediaPlayer error codes

2009-01-19 Thread Allan Beaufour
Hey Do anybody know if there is some documentation of the MediaPlayer error codes somewhere. The docs only has two of them, and I'm getting at least four other ones :) -- Allan Beaufour --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: need help for MediaRecorder

2009-01-19 Thread haze...@gmail.com
hey hi, i'm doing a similar program for my school too, but i cant make it to work. do you think you can help me? i think i have the code written correctly, and i have added the permission too. please help. thanks package capstoneProject.AudioRecording; import android.app.Activity; import

[android-developers] WebView and javascript drag

2009-01-19 Thread Ilya Romanenko
There is LOT of web pages with drag enabled features like google maps but using default browser we can't use them - cos of problem with event's You can see simple page that shows problem http://luke.breuer.com/tutorial/javascript-drag-and-drop-tutorial.aspx what we can do to make such pages

[android-developers] Re: Clearing the WebView cache

2009-01-19 Thread kolby
Nick, I don't understand why you would want to clear the cache on a per page basis. Usually I would do it on exiting the application. Also, if you're generally not interested in caching, wouldn't it be better to disable caching in your app, or per page: // turn caching off

[android-developers] Re: Clearing the WebView cache

2009-01-19 Thread Beshoy Girgis
Michael, great idea, thanks for sharing! On Jan 19, 2009 10:08 AM, kolby kolbys...@gmail.com wrote: Nick, I don't understand why you would want to clear the cache on a per page basis. Usually I would do it on exiting the application. Also, if you're generally not interested in caching,

[android-developers] CallFromWrongThread Exception

2009-01-19 Thread JD
Hi, I got this exception (CallFromWrongThread) raised from ViewRoot when executing the android emulator. What I'm doing is that I'm accessing a ViewText this way: String s = something interesting; TextView msgTextView = (TextView) findViewById(R.id.label); msgTextView.setText(s); //

[android-developers] Re: emulator not launching

2009-01-19 Thread lahiru
Hi all! I am getting the same error NAND: could not write file /android-sdk- linux_x86-1.0_r1/tools/lib/ images//system.img, File exists I tried by installing the sdk in my home folder but result remains unchanged. Please help. Thanks in advance..!

[android-developers] Re: Raw audio from the microphone?

2009-01-19 Thread jjbunn
Snap - me too! I'm interested in the answer to this as well. And, if access to the raw audio buffers is available, a knowledge of what format the audio data in would be essential. I'd prefer not to have to write the data to a file and then read the file, since this will be too slow. Julian On

[android-developers] Re: DDMS and Ubuntu 8.10 64-bit

2009-01-19 Thread mhowellaz
On Dec 22 2008, 2:31 pm, Mark Murphy mmur...@commonsware.com wrote: [snip] -- Installed the ia32-java-6-sun package, which is a 32-bit JRE that runs under 64-bit Linux [snip] FWIW the package I needed to install was ia32-sun-java6-bin (note slightly different name). Otherwise, your

[android-developers] Re: Inject key event for call camera app

2009-01-19 Thread Pascal Merle
I found the answer to my last question: Use the android.hardware.Camera class instead. However, I got another problem with that one, see my other thread! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Inject key event for call camera app

2009-01-19 Thread pmerl...@googlemail.com
I want to broadcast such an intent from my BroadcastReceiver (That's why I can't use startActivityForResult as I found elsewhere). Is this possible by calling context.sendBroadcast(new Intent (android.media.action.IMAGE_CAPTURE));? And how will the result be delivered?

[android-developers] Creating a Calendar

2009-01-19 Thread ktm
The following code almost works; it creates a calendar, and I can see this new calendar when I go to the Calendar application and select the 'Add calendars' menu. However, I cannot assign events to the new calendar, and the new calendar disappears after I make the attempt. Is this correct? Is

[android-developers] Not able to access Google Login Service in Cup cake version

2009-01-19 Thread lohith
I am not able to start the IM application in the latest cup cake build, as Google Login service is not started. Even the Google Login Service tester in Dev Tools is failing. Please let me know if anybody is able to access Google Login Service.

[android-developers] Re: Problem with ItemizedOverlay

2009-01-19 Thread Miroslav Slobodnik
I think that you forget to call populate() method. You can call it for example in the constructor. On Jan 18, 12:08 pm, Huebi konrad.hueb...@googlemail.com wrote: Hi, I use the ItemizedOverlay to display POIs. From time to time I get the following exception: 01-18 01:53:39.102:

[android-developers] .mobi or app ??

2009-01-19 Thread MarkLIVE!
I need to create a search feature for phones, but the search will also imply to the user's profile online as well. So would it just be easier to make a .mobi website for phones or a full blown app ?? Apps do look nicer, but since their will be a lot of database going on, im thinking .mobi

[android-developers] Running multiple applications at the same time

2009-01-19 Thread lili
I am in the project to create a lot of folders, at the same time in a different folder to write a different application. Then I go in the main program on how to write I use the Eclipse 3.3 jdk 1.6 Thank you very much --~--~-~--~~~---~--~~ You received this

[android-developers] Re: G1 developer phone outside the first countries list

2009-01-19 Thread Juozas
Hi, Development Platform Features - SIM unlocked - Put any SIM in the device and Quad-band GSM (850/900/1800/1900 MHz) So yes it should work basically everywhere. PS. I live not in approved delivery list and it works just fine:) BR, Juozas On Sun, Jan 18, 2009 at 3:59 PM, Tudor

[android-developers] Re: missing javax audio?

2009-01-19 Thread peter cowan
static audio buffers and PCM streamin should do what i need. i don't see any javadoc api for the new cupcake features on the android site, can you point to where this code is located (ie: what package)? -peter have you written up this FAQ? On Jan 7, 6:50 pm, Dave Sparks davidspa...@android.com

[android-developers] How to set airplane mode on/off.

2009-01-19 Thread Naeem
Hi All, I want to switch on/off airplane mode programmatically. How can I do this. Anybody can help me. Thaks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] android.hardware.Camera - JPEG image of correct size but always black

2009-01-19 Thread Pascal Merle
I am standing a bit in the dark with the android.hardware.Camera class. What I tried to do is taking a picture without starting preview first: Camera mCamera = Camera.open(); mCamera.takePicture(null, null, mPictureCallback); In the callback routine I get JPEG data of

[android-developers] How to disconnect a call?

2009-01-19 Thread sandeepgiri
Dear All, I am just try to build a small app to black list certain people such that as soon as I recieve a call from them, it gets disconnected. I have written a PhoneStateListener listener but could not FInd any method for doing the same in TelephonyManager class. All I want is a way to

[android-developers] Start a new feature Google SampleCode

2009-01-19 Thread Chaoz1336
Hi Guys, I got the following prob' When I want 2 develop sth new, I look in my emulator in API Demos and try 2 find a app what has a feature I want 2 implement in my app. Then I try 2 search on Google API Demos to find the matching code. (sometimes it's not available _) when I found the .java

[android-developers] opening sample index.html from present in /sdcard in web browser

2009-01-19 Thread vinay H
hi, I need to open index.html file present in sdcard using the web browser. Since my development board does not have keypad so i plan to put many website links into index.html in sdcard and open in web browser. How to do this? Modfying private String homeUrl = file:///sdcard/index.html; in

[android-developers] about PDF

2009-01-19 Thread lilimylove
hi all, I am working for extract txt from PDF in android use PDFbox for several days,but do nothing, Could somebody help me, thank you very much. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] TableLayout - Flip problem =/

2009-01-19 Thread Chaoz1336
Hey guys here's my graphic... look at those 4 pics... (from left to right, up to down) http://codemax.de/upl/android_prob.jpg 1st - start situation, vertical 2nd - flipped, horizontal 3rd - start situation with text, vertical 4th - flipped 3rd to horicontal and then vertical again -- prob:

[android-developers] how to by-pass the Android Dev Phone 1 activation screen?

2009-01-19 Thread winter
Hello, I got a Android Dev Phone 1 from U.S and now staying in China with China Mobile. I don't plan to use any GPRS connection and only want to use the voice and wifi feature of the phone for development work. I wonder if I can by-pass annoying APN setting screen? I don't understand why this

[android-developers] Round Corners of Bitmap

2009-01-19 Thread incognito
I have taken a drawable (picture) and split it into multiple Bitmaps. Now I would like to round the corners on the Bitmap. Is there any way to do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Intent for a new contact operation?

2009-01-19 Thread Sirtaj Singh Kang
Hi all, I wish to add a new operation to the contact detail view page under the current set of operations for a mobile number (Dial, Send SMS/MMS, ...), such as Send a file. For my custom activity, what action and category would I specify so that my new operation appears in the contact

[android-developers] Check boxes in a list view

2009-01-19 Thread jhuns...@txttools.co.uk
Hi, I'm fairly new to Android so I may be doing something wrong here which I hope someone here can spot. I application runs a ListActivity which displays a list of contacts from the native phone book and displays some data, name and phone number along with a check box to allow the user to

[android-developers] HTTPS requests with authentication

2009-01-19 Thread Scott Ferguson
Hey all, I'm trying to query a website that provides an API via HTTPS requests. The API also requires that you pass a username and login in order to fetch any results. I'm having a bit of difficulty getting Android to actually process anHTTPS request though. I have another app that is querying

[android-developers] Skype Lite

2009-01-19 Thread RTM
Hi, I read the news that Skype Lite released for Android platform. The news also mention the release for specific mobiles. Can we use the Skype Lite in any other custom platform, say in BeagleBoard. Is there any catch in this?. Thanks Regards RTM

[android-developers] loading html file from SDCARD in web browser

2009-01-19 Thread vinay H
Hi, How to load simple html file present in sdmmc card from web browser. It is mentioned in the net that due to security reasons this is not allowed. Is there any way to access the file from sdcard? Tried modifying private String homeUrl = file:///sdcard/index.html; in BrowserSettings.java file

[android-developers] Start 3rd Party and/or default Apps

2009-01-19 Thread Chaoz1336
Hey Guys... I got the prob, that I want to start the pictures-gallery or contacts-list out of my app... just for selecting the matching things, without developng sth completely new =/ As far as I know Android is based on this feature dont try to invent everything new but somehow I dont get how

[android-developers] Fwd: Audio Streaming

2009-01-19 Thread Breno T. Minzon
Hey Dave, I downloaded the android source code and this already has Cupcake branch merged into main. I compile and made the sdk (make sdk) with success. But now i need the eclipse plugin compatible with this version of this custom sdk. Note that i just downloaded and compile. I need to work

[android-developers] Re: Animate an AlertDialog

2009-01-19 Thread Tom Medhurst
So any ideas how I can call: getDecorView() without getting the error: AndroidRuntimeException: requestFeature() must be called before adding content ...? On Jan 12, 8:39 pm, Tom Medhurst tom.medhu...@googlemail.com wrote: I have an AlertDialog box instance I created from AlertDialog.Builder

[android-developers] Can someone check to see why my emails do not show in the group?

2009-01-19 Thread Brad Gies
I'm not sure why, but my emails do not seem to get through to the group. Can someone check into this? Sincerely, Brad Gies - Brad Gies 27415 Greenfield Rd, # 2, Southfield, MI, USA 48076 www.bgies.com

[android-developers] Re: JMI and android

2009-01-19 Thread arnouf
It was JNI but JMI exists (Java Metadata Interface). Arnaud On Jan 9, 7:32 pm, Fred Grott(shareme) fred.gr...@gmail.com wrote: I think he meant JNI On Jan 9, 11:17 am, David Turner di...@android.com wrote: hello, JMI what ? On Fri, Jan 9, 2009 at 3:05

[android-developers] Re: Check boxes in a list view

2009-01-19 Thread Patrick
In onListItemClick, you do this : CheckBox checkBox = (CheckBox)l.findViewWithTag (contact.getId()); You are asking the listview to get you a checkbox control with an id. it will return the first one it sees, which is fairly random. Ask the view v (Which is your list item you

[android-developers] RecentCallsListActivity: adding a contextual menu extra entry

2009-01-19 Thread elDoudou
Hello. I've been digging the Contacts built-in Android application source code, and do not see a way for an external application to add an entry in this application. I would like to propose to create a task from a missed call. Am I missing, something, please? Thank you for your help. Édouard

[android-developers] Re: Round Corners of Bitmap

2009-01-19 Thread Patrick
You could have a 9-patch drawable that is an alpha mask of the shape you want to keep, and draw that onto the canvas obtained from the bitmap using the DST_IN PorterDuff mode. Making it a 9-patch will let you set the corners to not stretch, so you can use it no matter the size of the destination

[android-developers] Re: TableLayout - Flip problem =/

2009-01-19 Thread kolby
Are you handling the change in orientation yourself (via onConfigurationChanged) or via a restart (onCreate) ? Michael On Jan 17, 7:27 am, Chaoz1336 stoffe...@gmail.com wrote: Hey guys here's my graphic... look at those 4 pics... (from left to right, up to down)

[android-developers] Re: Strange error when building android using prebuilt android-toolchain

2009-01-19 Thread Dianne Hackborn
Hi, this group is for writing applications with the SDK. Questions about building or modifying the platform should be posted to android-platform. Thanks! On Sat, Jan 17, 2009 at 1:08 AM, Hucheng Zhou zhou.huch...@gmail.comwrote: Hi @ll: When I using default pre-built android-toolchain to

[android-developers] Re: Intent for a new contact operation?

2009-01-19 Thread Dianne Hackborn
Hi, I don't believe the contacts app can be extended that way, sorry. On Mon, Jan 19, 2009 at 12:51 AM, Sirtaj Singh Kang sirtaj.k...@gmail.comwrote: Hi all, I wish to add a new operation to the contact detail view page under the current set of operations for a mobile number (Dial, Send

[android-developers] Re: Animate an AlertDialog

2009-01-19 Thread Dianne Hackborn
Call it after the requestFeature() calls. But for an alert dialog, you probably want to animate the window itself not the contents inside. You do this by setting a style resource on the WindowManager.LayoutParams.windowAnimation. On Mon, Jan 19, 2009 at 9:06 AM, Tom Medhurst

[android-developers] Re: Not able to access Google Login Service in Cup cake version

2009-01-19 Thread Dianne Hackborn
Hi, there is not yet an SDK for Cupcake (Cupcake is pre-alpha, not yet even feature complete), so questions about it should not be asked here. You should probably ask on android-platform. And please be aware that since Cupcake is not yet feature complete, at any particular point in time there

[android-developers] Re: CallFromWrongThread Exception

2009-01-19 Thread Romain Guy
Hi, Views can only be accessed from the main thread, also called UI thread. Please refer to the documentation of the Handler class, or of the methods Activity.runOnUiThread() and View.post(). On Sun, Jan 18, 2009 at 12:43 PM, JD jean.daniel.mich...@gmail.com wrote: Hi, I got this exception

[android-developers] Ringtone Picker Silent Option Selection

2009-01-19 Thread Gil
My app uses the ringtone picker and it displays the Silent option. If the users picks the Silent option I get a null Uri in onActivityResult; no problem here. The problem occurs the next time I display the ringtone picker. The input URI is null but the Silent option is not selected. Is there a

[android-developers] Can I monitor incoming MMS ?

2009-01-19 Thread jarkman
I'm a bit perplexed by android.permission.RECEIVE_MMS. I would like to know when SMS and MMS messages arrive on the device. I'm happy with SMS, using an intent filter for the action android.provider.Telephony.SMS_RECEIVED and the permission android.permission.RECEIVE_SMS. But I can't see an

[android-developers] Re: Ringtone Picker Silent Option Selection

2009-01-19 Thread Gil
Sorry, it's working. My bug. On Jan 19, 10:48 am, Gil virgildobjans...@gmail.com wrote: My app uses the ringtone picker and it displays the Silent option. If the users picks the Silent option I get a null Uri in onActivityResult; no problem here. The problem occurs the next time I display

[android-developers] Re: hiding the title bar

2009-01-19 Thread slind...@gmail.com
What if you want it only for one view (ie splash screens)? On Jan 14, 4:20 am, Dianne Hackborn hack...@android.com wrote: It is much better to just set android:theme in the manifest to the appropriate theme.  For ex, android:theme=@android:type/Theme.NoTitleBar. On Tue, Jan 13, 2009 at

[android-developers] Re: loading html file from SDCARD in web browser

2009-01-19 Thread Grace Kloba
As you found out, you can't open local files in the browser. But you can open it with HTMLViewer. On Sun, Jan 18, 2009 at 11:37 PM, vinay H vinc...@gmail.com wrote: Hi, How to load simple html file present in sdmmc card from web browser. It is mentioned in the net that due to security

[android-developers] Re: hiding the title bar

2009-01-19 Thread Dianne Hackborn
Unfortunately you can't currently hide and show the status bar dynamically. On Mon, Jan 19, 2009 at 11:17 AM, slind...@gmail.com slind...@gmail.comwrote: What if you want it only for one view (ie splash screens)? On Jan 14, 4:20 am, Dianne Hackborn hack...@android.com wrote: It is much

[android-developers] Re: hiding the title bar

2009-01-19 Thread kolby
Try this, works for me, hiding (called on Activity): getWindow().addFlags (WindowManager.LayoutParams.FLAG_FULLSCREEN); showing (called on Activity): getWindow().clearFlags (WindowManager.LayoutParams.FLAG_FULLSCREEN); Michael On Jan 19, 3:19 pm, Dianne Hackborn

[android-developers] SharedPreferences getting lost on device power off / on

2009-01-19 Thread Ryan
Hi, I'm finding if I save pref's and then turn my G1 off and back on, they have been erased. Is that the expected behaviour? I've seen similar reports from a search, but cannot find a solution. My code to save and restore is as follows:- public void save() { SharedPreferences

[android-developers] Re: opening sample index.html from present in /sdcard in web browser

2009-01-19 Thread Mark Murphy
vinay H wrote: hi, I need to open index.html file present in sdcard using the web browser. Since my development board does not have keypad so i plan to put many website links into index.html in sdcard and open in web browser. How to do this? Write a content provider to serve up the pages.

[android-developers] Re: Tmobile Android touch screen not working after 2 minutes broswing.

2009-01-19 Thread Sundog
I just wanted to throw in that yes, something about the browser is VERY VERY slow on certain pages, giving the appearance of having frozen entirely. I can make it freeze on huffingtonpost.com every time. On Jan 19, 6:42 am, Stoyan Damov stoyan.da...@gmail.com wrote: On Mon, Jan 19, 2009 at

[android-developers] How can I detect if the user has started my app again?

2009-01-19 Thread balachmar
Hi, I want a countdowntimer to halt on a menu and also when the user goes from that menu to another activity. When the user comes back from that activity or when the menu is closed, the timer should still halt. However when the user went to the home screen and clicks on the icon again, I want the

[android-developers] Re: Background resource doesnt scroll when viewgroup is scrolled

2009-01-19 Thread Rohit
Any ideas here? Rohit On Jan 16, 5:17 pm, Rohit mord...@gmail.com wrote: What do you mean I need to handle it myself? Do I need to just have an ImageView act as a background image or is there a set of translation transformations that I need to apply to the view? Rohit On Jan 16, 3:16 

[android-developers] Re: How can I detect if the user has started my app again?

2009-01-19 Thread Faber Fedor
Isn't that what onResume() and onPause are for? On Mon, Jan 19, 2009 at 4:24 PM, balachmar wligtenb...@gmail.com wrote: Hi, I want a countdowntimer to halt on a menu and also when the user goes from that menu to another activity. When the user comes back from that activity or when the menu

[android-developers] Developing on Stock T-Mobile G1?

2009-01-19 Thread deepdr...@googlemail.com
Hi there, is it viable to develop applications using a stock T-Mobile G1? I guess in contrast to the emulator the real thing is restricted when it comes to debugging. But, is there a simple way to just transfer my self developed, self compiled APK to the phone and install it there? I do not

[android-developers] Viewing an HTTPS page in a WebView

2009-01-19 Thread Mafian911
Hey guys, I am using a WebView control to browse an ecommerce site. I have rigged the control to stay in the application when other links are clicked by overriding Url clicks and simply telling the WebView to load that URL. Here is the code: _webView = (WebView) findViewById(R.id.cart_webview);

[android-developers] ImageView performance and application design

2009-01-19 Thread Pierpaolo
Hi, I'm developing a metronome application as a training exercise. I show metronome beats changing the image (alternating a small gray and green circle) of an ImageView posting a message to the main thread from a worker thread. My questions: 1. is this a good solution or can you suggest me a

[android-developers] #2# [NO, Mailbox, does, not, exist]

2009-01-19 Thread BeWillDir
This oddly under-informative subject line is borne on messages that keep stacking up in my K9mail-errors folder, apparently when I refresh other folders via IMAP. Things appears to be working otherwise. How to diagnose and correct? The body of the message seems to contain a Java stack dump

[android-developers] Eclipse problem with new projects

2009-01-19 Thread FQsupp
For some unknown reason when I now try to create a new Android project in Eclipse (Ganymede running on Windows) it fails to link to the android.jar in the SDK (1.0_r1). This has never happened before, and all my existing projects continue to resolve Android components just fine. Error: Cannot

[android-developers] Equalizer...

2009-01-19 Thread Valeria
Hi everyone, I'm developing a multimedia player and I want to create an equalizer in it , but I can't find any information about how to do it. Could anyone help me? I think I read some time ago it could be implemented in Android... am I wrong? Thanks in advance... Bye

[android-developers] sending Monkey commands in a test application

2009-01-19 Thread Frank
I was trying to send Monkey commands in one of my test applications. But When I install it on the emulator, the packageManager refuses to grant permission SET_ACTIVITY_WATCHER which is required to run Monkey. Is it possible to call Monkey in a test application?

[android-developers] applications that require money

2009-01-19 Thread freshjivehb11
I set my application search to only show free applications, now I want to find the applications that cost money. How do I find these applications on my Google phone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: applications that require money

2009-01-19 Thread Josh Dobbs
apps are not being sold through the android market yet. According to the android blog apps will be sold sometime in the during the first quarter of this year. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

  1   2   >