[android-developers] Re: One of my application is invisible now on the market (Pure messenger / not copy protected)

2010-06-14 Thread Koxx
Can I have support please ? -- 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+unsubscr...@googlegroups.c

[android-developers] Saving an encoded video stream with headers

2010-06-14 Thread Andy Savage
Hi All, Just wondering if there's a way to save a pre-encoded video stream to a file with headers. For example I have a video stream encoded in h264. I simply want to save this to a file and have mediaplayer playback this file. I have the RTP framework to do this and can save it to a file, but as

[android-developers] Extract text from image

2010-06-14 Thread SREEHARI
Hi, I need to extract text from the image captured in camera. How to do this? Pls help. Thanks in advance... SREEHARI. -- 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@googlegr

[android-developers] Re: about making charts in android

2010-06-14 Thread k_day
You could use the Google charts api, which is free (but requires access to the web). On Jun 14, 4:06 pm, Jose Luis Montes wrote: > Hello, > > I want to make some statistical charts in my android app and I dont know how > to do them or what technology or library I can use. > > I have seen aiCharts

[android-developers] AudioHardware pcm playback is going to standby

2010-06-14 Thread k_day
Occasionally when I have a lot going on in my app, and I am playing a number of sounds using SoundPool, my app just completely freezes. Looking at the logs, I see this: I/AudioHardwareMSM72XX( 56): AudioHardware pcm playback is going to standby. My app must then be force closed and restarted.

[android-developers] Re: Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

2010-06-14 Thread Rahul Garg
I have already done that. On Jun 14, 2:25 pm, SREEHARI wrote: > HiRahul, > > If u added > already, the problem will be due to map key. Try creating map key in > he right way. > > Regards, > SREEHARI. -- You received this message because you are subscribed to the Google Groups "Android Develope

RE: [android-developers] Want to access a method of an application from different application

2010-06-14 Thread youken
What about make the function as a service? -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Dantu Sent: Tuesday, June 15, 2010 2:17 PM To: Android Developers Subject: [android-developers] Want to access a method of an a

[android-developers] Want to access a method of an application from different application

2010-06-14 Thread Dantu
Hello, I have two applications installed on my emulator, 1st application has 3 methods in it , If I want to call one of the methods from the second application , what should I do? I have tried to launch the activity its working fine. But now I don't want to launch the application rather u

[android-developers] java.lang.ExceptionInInitializererror

2010-06-14 Thread pradeep
Hi, Can any one please help to resolve the above error. Also can any one please clarify whether we can unit test j2me methods I am trying to call J2ME APIs in one of the test methods of Instrumentation TestCase. I have modified the dx source code such that it converts j2me jars to dalvik format

[android-developers] Re: How to emulate onLowMemory?

2010-06-14 Thread Samuh
:bump: -- 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+unsubscr...@googlegroups.com For more options,

[android-developers] Re: Location distanceBetween()

2010-06-14 Thread JP
I am using Location.distanceTo() without any problem. Perhaps consider switching over to distanceTo() Outside of that, check this out for the DYI approach: http://www.movable-type.co.uk/scripts/latlong.html On Jun 14, 8:53 am, Frank Weiss wrote: > Hi Bob, thanks for backing up my DIY comment.

[android-developers] Re: How to diagnose a force close remotely?

2010-06-14 Thread JP
Before you go through the exercise of rooting the device etc., make sure you've verify that the new version of your app even runs on 1.5. I fell into that trap recently when I introduced a new, innocuous feature that relied on a piece of the SDK that wasn't available in 1.5. I never went back to t

Re: [android-developers] Re: Why is Android so buggy?

2010-06-14 Thread Chi Kit Leung
I am agree with Hermo. Considering Android is fast growing project, that is a quite "bug-free" project. Actually, there is no "bug-free" software in the world. On Tue, Jun 8, 2010 at 1:49 PM, hermo wrote: > I think I'll rather live with some bugs in the SDK than do without > it. Overall I think

Re: [android-developers] Go through the code ans suggest

2010-06-14 Thread Declan Shanaghy
The problem is that you are doing all the work on the UI thread in one method. The progress dialog is shown and dismissed in the same method. You need to post to the server asynchronously while the progress dialog is showing. Follow the pattern outlined in this article and you will be on your way

[android-developers] Position of builtInZoomControls in WebView and MapView

2010-06-14 Thread Mathias Lin
I noticed that the default position of the builtInZoomControls in WebView (bottom, horizontal right) is not consistent with the default position in the MapView (bottom, horizontal center). Why is the position not consistent in these two views? (In the Google Maps app the zoom control is also only

Re: [android-developers] Re: Content provider implementation questions

2010-06-14 Thread Alex Xin
Thanks Mark & Moto :) my final goal is that I want to provide video/audio/image data to right handlers, of course those data are stored on network file server running SMB sharing service or local file systems. Sorry I still have questions: >From Mark's reply I know that maybe I need to implement

[android-developers] Re: Android Library Project

2010-06-14 Thread Wenzhong
I am also having problem with using library projects. I refactored two of my apps to use a shared project. Both apps work well after refactoring. However they now show 2 icons each in the app view when I click ^ button. It happens on both my Droid running 2.1 and G1 running 1.6. Anybody has th

Re: [android-developers] Re: Oracle Android App Store

2010-06-14 Thread Chi Kit Leung
AndAppStore is a good example, it is completely using Paypal On Fri, Jun 11, 2010 at 4:19 PM, Al Sutton wrote: > Do we need any more app stores? :) > > We've been running AndAppStore since the G1 launch and the most common > reason we hear for developers not listing is that they don't want

[android-developers] Re: How to diagnose a force close remotely?

2010-06-14 Thread Jeremy Statz
I've had good luck with aLogCat, a log viewing application that's available free on the Android market. It has a 'send log' button built right in that'll attach the last thousand lines or so to an e- mail. I've several times asked the user to replicate the crash then use aLogCat to send it to me,

[android-developers] Re: How trigger intent to execute a specific method from a specific activity

2010-06-14 Thread Gabriel Simões
I need to send it to a service. How can a notification message start an specific action (method) on a service? is that possible (for example ... a service downloading a file would stop the download as the user clicks on the notification)? tnx On 14 jun, 00:21, Kumar Bibek wrote: > Broadcast

[android-developers] Re: Spinners showing text in white with white background!

2010-06-14 Thread Gabriel Simões
Well, I guess I will switch to textviews + listviews on onclick events. This way I can control everything using only default widgets ... indeed spinners don´t look that good (but are instinctive ...) thanks! On 14 jun, 02:47, Bob Kerns wrote: > If you do that, then users will complain that your

[android-developers] Re: Example gallery style view with fling, bounce, animation, etc

2010-06-14 Thread droidful
Hmm. Im developing on 2.2 on a google nexus one. To be honest with you I dont have the experience to know what is or isnt going to work on different versions. If I get some time I can try compiling against an older SDK. I also didnt set a version requirement in the manifest so it might be crashing

[android-developers] Video Playback Service

2010-06-14 Thread ivan
I'm writing an app that needs a video player. It would be nice to have the audio of the player still available when the user navigates away from the application, and have the visual resume when they navigate back to it. For an audio player this could easily be done by creating a service that hous

Re: [android-developers] Start Service from Activity

2010-06-14 Thread Mark Murphy
On Mon, Jun 14, 2010 at 6:34 PM, tarek attia wrote: > Is there any tutorial or something explains how does it work? Well, there are several pages on it in the documentation for the Service class: http://developer.android.com/reference/android/app/Service.html -- Mark Murphy CommonsWare mmur...

[android-developers] ExpandableListView with certain top-level elements expandable and others selectable

2010-06-14 Thread patbenatar
Hey all- I would like to have a ListView where certain elements are expanding elements so when selected they will reveal more sub-items (just like an ExpandableListView) and other elements that are only single-level so selecting one of them would act as a regular ListView. Is this possible with an

Re: [android-developers] source code for google voice input

2010-06-14 Thread Dianne Hackborn
That is not available; it is Google proprietary code that talks with Google's servers. The Froyo platform defines a framework API for talking to a voice recognizer, which Google's code plugs in to. On Mon, Jun 14, 2010 at 3:29 PM, cindy wrote: > Hi there > > Google API has support the voice inp

[android-developers] where to find the source code for RecognizerIntent

2010-06-14 Thread cindy
Hi All, where to find the source code for RecognizerIntent? 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@googlegroups.com To unsubscribe from this group, send email to an

[android-developers] Re: How to diagnose a force close remotely?

2010-06-14 Thread Brad
Perfect! I'll try to set this up with the user. Poking around a little bit more I suspect (I'll confirm it w/the Log Collector) that the crash is occurring because the user updated from a copy protected version of my app to a non-copy protected version. Apparently this shouldn't be a problem, but

Re: [android-developers] Start Service from Activity

2010-06-14 Thread tarek attia
Is there any tutorial or something explains how does it work? On Tue, Jun 15, 2010 at 1:24 AM, Mark Murphy wrote: > On Mon, Jun 14, 2010 at 6:20 PM, tarek.attia > wrote: > > How can I start a service from an Activity ?? > > Call startService(). > > -- > Mark Murphy > CommonsWare > mmur...@common

[android-developers] source code for google voice input

2010-06-14 Thread cindy
Hi there Google API has support the voice input. Where could I find the source code for that? Thanks! April -- 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 unsub

Re: [android-developers] Start Service from Activity

2010-06-14 Thread Mark Murphy
On Mon, Jun 14, 2010 at 6:20 PM, tarek.attia wrote: > How can I start a service from an Activity ?? Call startService(). -- Mark Murphy CommonsWare mmur...@commonsware.com http://commonsware.com -- You received this message because you are subscribed to the Google Groups "Android Developers"

Re: [android-developers] How to diagnose a force close remotely?

2010-06-14 Thread Mark Murphy
On Mon, Jun 14, 2010 at 6:16 PM, Brad wrote: > If I could see the output of the log (as from logcat), I'm sure I > could diagnose the problem, but the user is not technical and cannot > use a shell.  Is there a way to access the user's log from within the > phone?  Or can someone recommend a bette

[android-developers] Start Service from Activity

2010-06-14 Thread tarek.attia
Hi all, How can I start a service from an Activity ?? -- 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

[android-developers] Re: Database folder

2010-06-14 Thread Zsolt Vasvari
Couldn't you ship your database as an asset in the .apk? It's the same net effect, but perhaps you could get away with not requiring the INTERNET permission. On Jun 15, 3:29 am, Pinheiro wrote: > It worked! Thanks, Mark! > The documentation lead me to believe that it would only work if the > dat

[android-developers] How to diagnose a force close remotely?

2010-06-14 Thread Brad
Hi, I have a customer who upgraded his app (that I wrote and publish) and now it's force closing immediately upon launch. There is critical payroll data contained within the app so it's important that we are able to recover the data. If I could see the output of the log (as from logcat), I'm sur

[android-developers] VideoView continues to play in 2.1

2010-06-14 Thread Mark Nuetzmann
I am experiencing a problem in 2.2 with the VideoView that has me confused. I have an activity with a VideoView and while viewing the video I hit the RED phone key to force the device to sleep. In the onPause of the activity I call pause() on the VideoView and in the onStop of the activity I call

[android-developers] about making charts in android

2010-06-14 Thread Jose Luis Montes
Hello, I want to make some statistical charts in my android app and I dont know how to do them or what technology or library I can use. I have seen aiCharts ( http://www.artfulbits.com/android/aicharts.aspx ) but it is not free software (it's a payment solution) so I cannot use it. My goal is mak

[android-developers] Droid Incredible Not Returning Valid DeviceID?

2010-06-14 Thread Josh F.
I have an application that utilizes the phones DeviceID in various ways. I am now getting emails from users who have the HTC Droid Incredible phone that they are getting the error message I have added to the app that is showing the DeviceID being returned is not valid - which means it is either em

[android-developers] Re: Does updating an application Title (from Developer Console) reset any statistics (ratings/downloads)

2010-06-14 Thread Jeremy Statz
Changing the listing title definitely does not affect ratings or stats. I've tinkered with a couple of mine multiple times and everything's stayed consistant throughout. On Jun 14, 2:42 pm, Paul wrote: > Would like to know, from someone who has tried it, if changing an > Application's title in

Re: [android-developers] Re: GLES/IntBuffer/?? Mis-placed verts?

2010-06-14 Thread Leigh McRae
It's exactly what I was getting, except the guy had red pants. I was using the Milestone which is basiclly a Droid. Like you I was fillrate limited so I didn't see any drop in framerate. Really the only performance issues I had/have are with particle overdraw. IMHO you're wasting time tryin

[android-developers] Re: finding the state of an activity

2010-06-14 Thread guich
Yep, i stored the command line parameters in a file. thanks guich -- 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 and

[android-developers] Does updating an application Title (from Developer Console) reset any statistics (ratings/downloads)

2010-06-14 Thread Paul
Would like to know, from someone who has tried it, if changing an Application's title in the Developer Console has any affect on the applications Ratings or Number of download statistics. In other words, will I lose anything? My impression is no, but I don't recall if documentation says that exp

[android-developers] Re: Database folder

2010-06-14 Thread Pinheiro
It worked! Thanks, Mark! The documentation lead me to believe that it would only work if the database is *already* created but that it's not true. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: Database folder

2010-06-14 Thread Pinheiro
Thanks Mark! The problem is that that only works if the database already exists. I guess I could create a dummy database just to see where it is created but it's a nasty kludge. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: Bug in Android framework connecting to url?

2010-06-14 Thread Bob Kerns
That URL does not crash for me on my Nexus One with 2.1 Update 1. It also does not get a 403 -- I get a Diamond Grinding & Grooving page that looks fine. Could the server be sending different results to different browsers, based on the User-Agent string or other parameters? This is often done bad

Re: [android-developers] Database folder

2010-06-14 Thread Mark Murphy
Use getDatabasePath() on your Activity or Service: http://developer.android.com/reference/android/content/Context.html#getDatabasePath(java.lang.String) Supply it the name you will want for the database, and download the file to that specific path. On Mon, Jun 14, 2010 at 3:04 PM, Pinheiro wrot

[android-developers] Database folder

2010-06-14 Thread Pinheiro
After testing the various techniques to populate a large database (50.000 records, 700KB), I've decided to download a SQLite database directly from the Web to the phone (it takes just a few seconds, the alternatives took up to 3 minutes). My question is that since there isn't a method to get it, t

[android-developers] Re: GLES/IntBuffer/?? Mis-placed verts?

2010-06-14 Thread Samsyn
Leigh, thanks for the reply. I actually found your thread on the subject and was dismayed at the solution :-) I think I will live in denial for awhile before switching to that. How much of a performance hit do you feel you took with all the extra verts to be transformed? And I guess that would va

[android-developers] Re: Delivery Status Notification (Failure)

2010-06-14 Thread Mariano Kamp
Hi Keith. Hmmh, yes, that's how I do it too. I include my actual code below that is expressed differently, but the important part seems to be the same. You can reproduce the issue every time? Maybe then it is just a coincidence that it doesn't happen anymore to my users?! Or there is something el

[android-developers] Re: Process.setProcessGroup() "Unknown error"?

2010-06-14 Thread Mariano Kamp
Forget it. I think I have the issue. Too many open files. Maybe of interest to others: I frequently saved a "preference" (current article) in the preferences, but this took ages as a whole XML tree needs to be created and written to flash. To speed things up I changed the implementation to a rando

Re: [android-developers] Re: finding the state of an activity

2010-06-14 Thread Mark Murphy
There is no "public registry", but if two applications are signed with the same key and are set up with sharedUserId, they can access each other's application-local file storage (getFilesDir()). On Mon, Jun 14, 2010 at 1:03 PM, guich wrote: > Is there a public registry or public place where i can

[android-developers] Re: Developing sotfkeyboard

2010-06-14 Thread andu
Thank you Galbayar D. It helps me very much. Thank you again Andu. On Jun 4, 9:40 am, Galbayar D wrote: > http://code.google.com/p/android-greek-ime/ > > Gala > > On Fri, Jun 4, 2010 at 3:30 PM, Indicator Veritatis wrote: > > 'The sample soft keyboard'? Which one? And will it work even on p

[android-developers] Re: VideoView continues to play?

2010-06-14 Thread Mark Nuetzmann
I am experiencing something similar that has me confused. I have an activity with a VideoView as well. While viewing the video I hit the HOME key or the RED phone key to force the device to sleep. In the onPause of the activity I call pause() on the VideoView and in the onStop of the activity I

[android-developers] Re: Why is Android so buggy?

2010-06-14 Thread blahblah...@gmail.com
Actually, I've been using BSD sockets since about 1992 with about 10 OSes :) The bug I mentioned is not a 'timeout', it is for connection refused which (as you know) should return immediately (network permitting) with a 'connection refused' error. With Android the socket read is sitting there for

[android-developers] Re: Disable Bluetooth discoverable mode

2010-06-14 Thread BITS
Thank you again Gyan. I will try to take a look at the BluetoothClass.Service to see if it is useful for me. I'm not sure how it is used but I'll try to find out. As for the NDK, I have read other posts regarding using NDK with bluetooth and I believe that its not recommended. This is the site:

[android-developers] Re: finding the state of an activity

2010-06-14 Thread guich
Is there a public registry or public place where i can put data that can be easily accessed by applications that are signed with the same key? I could use that area to put information about the state of an activity. thanks guich -- You received this message because you are subscribed to the

[android-developers] SMS notification always displays the first message not the resent message

2010-06-14 Thread mike
hi guys, i have implemented a notification manager which will notify me when ever i got a new message the notification manager will notify me. which works fine. but when ever i expand the notification manager it always displays the first message not the resent message. this is the code where I s

[android-developers] Re: finding the state of an activity

2010-06-14 Thread guich
Hi Mark, I have a stub that calls a vm passing a program as parameter (in the extras field). When the user press the home key, the onPause method is called. If he press again the application's icon, the stub will be called again. I want to know if the last activity is in the pause state and then j

[android-developers] Audio focus in 1.5 and 1.6

2010-06-14 Thread ls02
I need to catch event when another app starts playing audio while my app is also playing audio. My understanding that AudioManager.OnAudioFocusChangeListener interface does exactly what I need. However it is not available on Android 1.5. How do I catch this event in 1.5? Is there any broadcast even

[android-developers] Re: Process.setProcessGroup() "Unknown error"?

2010-06-14 Thread Mariano Kamp
I checked 20 error reports and 100% were from either the HTC Desire or the HTC Incredible. On Mon, Jun 14, 2010 at 9:29 AM, Mariano Kamp wrote: Hi, did anybody encounter the RuntimeException with the message "Unknown error"? Cheers, Mariano java.lang.RuntimeException: Unknown error at androi

[android-developers] handling voice input keyboard event

2010-06-14 Thread greg
I'd like to add voice input to my application as an option for the user to specify the text that the application will attempt to find within a lengthy ListView (e.g., 30K items). Because the keyboard (physical or on-screen) are other options for the user to specify search text, I'd like to use the

[android-developers] Unknown PCM AndroidCapture

2010-06-14 Thread Brian
All, I'm trying to create a simple application that takes data in from the audio input, and plays it out the audio output using the AudioRecord and AudioTrack classes. I'm getting an error when I run the application on a Beagleboard. The error from logcat is as follows: E 747 ALSALib external/al

Re: [android-developers] finding the state of an activity

2010-06-14 Thread Mark Murphy
> Suppose i have a program that' s currently in a PAUSED state. There is no such thing as a "program" being in a paused state. Activities can be in a paused state. > Then the > user launches another activity. In this second one, i want to find if > the first one is in paused state or not because,

[android-developers] finding the state of an activity

2010-06-14 Thread guich
Hi, Suppose i have a program that' s currently in a PAUSED state. Then the user launches another activity. In this second one, i want to find if the first one is in paused state or not because, if its paused, i want to recover it. Is there a way to find if a specific activity is in pause state or

Re: [android-developers] Re: how to launch applications installed in a phone?

2010-06-14 Thread Mark Murphy
For getting a list of *all* applications, use PackageManager. However, *all* is very different from *specific named* applications. Here is some sample code showing how to build your own launcher-style application: http://github.com/commonsguy/cw-advandroid/tree/master/Introspection/Launchalot/ O

[android-developers] Adding a new dictionary to LatinIME

2010-06-14 Thread sateesh
Hi ! I'm trying to add my own dictionaries to the LatinIME package. Currently, my word lists look like the one in 'dictionaries/ sample.xml', however, I can't find any documentation related to how I can convert this XML file to a binary dictionary that can actually be read by the package. Moreov

[android-developers] Re: surfaceDestroyed not called! Why?

2010-06-14 Thread Paolo
nobody can help me to undestand why? On 8 Giu, 13:41, Paolo wrote: > Hi there! > I've a problem with the Camera, in particular with the > surfaceDestroyed() callback. > > This is my scenario: > > The app starts with an activity that shows a splash screen, and after > 3 seconds it send an Intent t

Re: [android-developers] Re: Location distanceBetween()

2010-06-14 Thread Frank Weiss
Hi Bob, thanks for backing up my DIY comment. Although I agree that reinventing the wheel is not good, I do believe having some domain breadth is good. Here's one of the articles I found: http://mathforum.org/library/drmath/view/55417.html -- You received this message because you are subscribed

[android-developers] Re: jpeg from binary?

2010-06-14 Thread Yahel
Yes it should. You even have in bitmap.congig, the possibility to retrieve the mime type the factory found for this file : http://developer.android.com/intl/de/reference/android/graphics/BitmapFactory.Options.html#outMimeType Yahel On 14 juin, 16:34, schwiz wrote: > ok thanks for the reply, so

[android-developers] Re: Howto design activity and Service writing to the same table?

2010-06-14 Thread Bob Kerns
Transactions. Handling this sort of concurrency is largely what databases are all about. Read any introduction to databases. Pay special attention to the so-called "ACID" properties -- Atomicity, Consistency, Isolation, and Durability. The basic idea is that you choose your transaction boundaries

[android-developers] Re: Location distanceBetween()

2010-06-14 Thread Bob Kerns
I've reimplemented tons of APIs when they didn't work. But it occurs to me now that this could simply be a documentation error. -90 and 270 are equivalent. I assumed the OP knows that, and was still unhappy with the result. Perhaps he wants to verify the result. A bit of googling and a calculato

[android-developers] Re: how to launch applications installed in a phone?

2010-06-14 Thread schwiz
There are apps like beautiful widgets that give you a list of all of the apps installed on your phone and give you a choice of what to launch when you press a certain button. Also, the various homescreen replacements that know what acitivities are installed on the phone and how to launch them. I

Re: [android-developers] Re: Disable Bluetooth discoverable mode

2010-06-14 Thread Gyan
U cant make the device discoverable for more than 300 seconds using any means. Based on the constants mentioned in the above link, u basically define whats ur service using the bluetooth capability for! If u use to stream audio, you can define the BluetoothClass constant as Audio. NDK is also an

Re: [android-developers] how to launch applications installed in a phone?

2010-06-14 Thread Mark Murphy
Most of those do not have documented Intents. You can find the right Intents via looking at the source code, looking at LogCat output, or perhaps on the openintents.org site. However, bear in mind that they are all subject to change. They will not exist on some devices, and they may not exist under

[android-developers] Re: Disable Bluetooth discoverable mode

2010-06-14 Thread BITS
Thank you Gyan for your help. I was looking into the NDK and I wonder if perhaps I could use the bluetooth service available there? Sincerely, BitsAndroidTeam On Jun 11, 4:47 pm, Gyan wrote: > Two answers: > > 1. Call the intended service instead of using the DISCOVERABLE option. > Because every

[android-developers] how to launch applications installed in a phone?

2010-06-14 Thread guich
Hi, I would like to launch some applications, like the Calculator, the alarm clock, the notepad, the calendar, the camcorder, the camera, the dialer, etc, from my application. Is there an easy way to do that? Is there any place with a list of what are the intent names to launch them? thanks

Re: [android-developers] Re: Content provider implementation questions

2010-06-14 Thread Mark Murphy
You can use a ContentProvider to serve files. See the openFile() method. On Mon, Jun 14, 2010 at 10:51 AM, Moto wrote: > From what I searched before, ContentProvider is only for allowing > Database access to your app from other apps...  In your case I'm not > sure you would want to use a ContentP

[android-developers] Re: Content provider implementation questions

2010-06-14 Thread Moto
>From what I searched before, ContentProvider is only for allowing Database access to your app from other apps... In your case I'm not sure you would want to use a ContentProvider to access files... You might be able to hack it but I wouldn't recomend it... Try a service... Maybe inside the ser

[android-developers] Re: How to send mms from my code

2010-06-14 Thread Neilz
Good call... Both Uri uri = Uri.parse("android.resource://com.package.android.test/ drawable/icon"); and... Uri uri = Uri.parse("android.resource://com.package.android.test/raw/ icon"); ...work fine with Gmail. But both throw an exception when I choose 'Messaging': Caused by: java.lang.NullPoi

[android-developers] Re: Service Vs Thread

2010-06-14 Thread schwiz
your service will want to spawn its own thread or asynctask to do your heavy work or else you will get a forceclose. On Jun 13, 8:46 am, "tarek.attia" wrote: > Hi all, > > I have a question what to Use ,Service Or Thread,as both run in the > background -- You received this message because you a

Re: [android-developers] Re: GLES/IntBuffer/?? Mis-placed verts?

2010-06-14 Thread Leigh McRae
Been there done that. When I ported Tank Recon 3D from BlackBerry to Android I had this problem. Lucky for me I was pretty sure it wasn't my code since it worked on BlackBerry. I tried fixed and float. Did interleaved and non-interleaved and it didn't fix anything. Went through shutting of

[android-developers] Re: Example gallery style view with fling, bounce, animation, etc

2010-06-14 Thread Neilz
This looks really useful, I'm going to have a play with it, many thanks for sharing. Are you able to edit it so that it works with older android versions? I haven't come across the LayoutParams.MATCH_PARENT before. On Jun 14, 1:32 pm, droidful wrote: > package com.droidful.flinggallery; > > impo

[android-developers] Re: jpeg from binary?

2010-06-14 Thread schwiz
ok thanks for the reply, so even though my byte array was created from a jpeg the bitmap factory will know what to do with it? If so this is great news :) On Jun 14, 9:31 am, Yahel wrote: > > Does Android have a native library that can make a jpeg from binary > > data from say, a json object? >

[android-developers] Re: jpeg from binary?

2010-06-14 Thread Yahel
> Does Android have a native library that can make a jpeg from binary > data from say, a json object? Convert your json into a byte array(byte[]) and then use BitmapFactory.decodeByteArray() : http://developer.android.com/intl/de/reference/android/graphics/BitmapFactory.html#decodeByteArray(byte[

[android-developers] Re: Speed issue: content provider vs plain sqlite db

2010-06-14 Thread Moto
Moss could you point me to romain guys shelves app location :) thx.. On Jun 12, 11:18 am, Moss wrote: > Just to make a small update on the issue, I looked a bit at romain > guys shelves app which helped me a lot and my app updates now seamless > 15k feed items! > > On 6 mayo, 07:12, grace wrote:

Re: [android-developers] Service Vs Thread

2010-06-14 Thread Kostya Vasilyev
Yes, this is exactly what services are for. Services are a way to tell Android that certain code in your application is important to the user, and Android should make an effort to keep it running even when it doesn't have active activities. For user notifications, take a look at NotificationM

[android-developers] jpeg from binary?

2010-06-14 Thread schwiz
Does Android have a native library that can make a jpeg from binary data from say, a json object? -- 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 t

Re: [android-developers] Re: Slow Eclipse on OS X

2010-06-14 Thread Mariano Kamp
Ok then. I downloaded the 32 bit version first and it got better after I re-installed Eclipse, this time the 64 bit version. But maybe I am imagining things. On Mon, Jun 14, 2010 at 8:07 AM, Al Sutton wrote: > Of Eclipse?, yup, I'm using the 64 bit Coca build. I don't know if > there is a 64 bit

Re: [android-developers] Service Vs Thread

2010-06-14 Thread tarek attia
Thank you so much for such help Again all my application requires the following :- 1. The application should be able to run in the background when other applications are running in the foreground. 2. When the application is on the foreground, it should shows certain stuff to the

[android-developers] Replace dialer application by installing another dialer app

2010-06-14 Thread rt
Does anyone know if since the last posting on this thread (Aug. 2009) future Android releases have made the dialer app more modular? That is, one can more easily replace it with a downloadable dialer app. I recall that at the time, some of the challenges of overwriting the native dialer had to do

[android-developers] Issue with legacy phones URI.

2010-06-14 Thread sukumar bhashyam
hi, My app needs contacts id, display name and phone number in a single query. I see legacy uri android.provider.Contacts.Phones.CONTENT_URI suits me the best. For some reasons query on this uri return me 0. I looked into the LegacyApiSupport.java, legacy PHONES table is mapped to a view (view_v1

Re: [android-developers] Re: How to send mms from my code

2010-06-14 Thread Sean Hodges
> This acutally works if I select gmail, although the image name gets > changed to the resource id. However if I choose 'Messaging' from the > intent chooser, it throws a null pointer. That's very odd. Have you tried the "package/type/name" format instead of "package/id"? Uri uri = Uri.parse("an

[android-developers] Re: dalvik and defineClass

2010-06-14 Thread garbeam
On Jun 11, 11:01 am, garbeam wrote: > Hi there, > > I'm wondering if and how one can load dex or class files dynamically > in dalvik, some quick'n'dirty test function I wrote was this: > >         public void testLoader() { >                 InputStream in; >                 int len; >            

[android-developers] programmatically setup an ad-hoc network

2010-06-14 Thread BITS
Is there a way to programmatically setup an ad-hoc network? I see that with 2.2 we are able to set up ad-hoc network through the UI, however there doesn't seem to be any API additions in android.net.wifi. It also doesn't look like there is a way to take the user directly to ad-hoc settings either

Re: [android-developers] Re: Gallery elasticity at the ends

2010-06-14 Thread Australuke
Sorry. Updated the link. I also have the whole project including apk on my Zumo drive at http://www.zumodrive.com/share/5SBbYzk0Mj. On 6/14/10, droidful wrote: > Sorry about that, correct link is > http://groups.google.com/group/android-developers/browse_thread/thread/27d5f678be44c370/3f5ec157b37

Re: [android-developers] how to open an App when the Android OS start up

2010-06-14 Thread Kostya Vasilyev
Hi, Sure, there is a way. Android broadcasts a special intent action once booting is completed. In your manifest: 1. Add a permission to receive the event: 2. Declare a broadcast receiver: android:label="@string/boot_receiver_name"> 3. In the receiver's onReceive method, check the a

[android-developers] Re: Gallery elasticity at the ends

2010-06-14 Thread droidful
Sorry about that, correct link is http://groups.google.com/group/android-developers/browse_thread/thread/27d5f678be44c370/3f5ec157b3717e3f#3f5ec157b3717e3f. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: Example gallery style view with fling, bounce, animation, etc

2010-06-14 Thread droidful
package com.droidful.flinggallery; import android.content.Context; import android.util.Log; import android.view.GestureDetector; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.animation.Animation; import android.view.animation.Animation

[android-developers] Re: Example gallery style view with fling, bounce, animation, etc

2010-06-14 Thread droidful
I have updated the class to improve the UI. There is still one glitch I am working on. When you do a fling gesture there is a slight pause before the fling animates, this is caused when the outgoing view attempts to recycle from the adapter, it only takes a fraction of a second but it is noticeable

Re: [android-developers] problems putting a button under a ListView

2010-06-14 Thread Jose Luis Montes
that works! thanks! :) On Mon, Jun 14, 2010 at 2:04 PM, Mark Murphy wrote: > Your android:layout_height="wrap_content" on the LinearLayout will not > work, as the "content" of a ListView can grow very tall. > > Instead: > > -- get rid of the LinearLayout > -- have your ListView use android:layou

  1   2   >