[android-developers] Re: UnLock screen is not coming when I building source and running the emulator
I met the same problem, Any new comments. Best Regards Eric Chen On Mon, May 25, 2009 at 11:55 PM, RajuM rajumah...@gmail.com wrote: I am trying to change the 9 circle unlock widget screen. I added one more text view in UnlockScreen.java layout file keyguard_screen_unlock_portrait.xml. But after compiling the source (using make), I am able to see the set lock pattern on emulator. Lock pattern is working when i am using the sdk with emulator. its not working with source make. Please help me to fix the problem. Thanks in advance, Raju --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Resume my activity from thread
I've an activity with a Runnable thread into. From a button command I call the camera external application. Into my thread there is a check for news picture file is created. Now I need to resume my activity from my run func. I tried to recall startActivity of my own but doesn't work. The other solution can be kill the current process (camera app). somebody has a solution ? 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Resume my activity from thread
what i have understood from your query is that u have implemented the Runnable interface. if u have done so, u have to use an Handler object to get hold of the ui elements... if this does not help u, please explain your problem properly. On Sat, May 30, 2009 at 5:13 PM, fala70 fal...@gmail.com wrote: I've an activity with a Runnable thread into. From a button command I call the camera external application. Into my thread there is a check for news picture file is created. Now I need to resume my activity from my run func. I tried to recall startActivity of my own but doesn't work. The other solution can be kill the current process (camera app). somebody has a solution ? 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Resume my activity from thread
fala70 wrote: I've an activity with a Runnable thread into. From a button command I call the camera external application. Into my thread there is a check for news picture file is created. Now I need to resume my activity from my run func. I tried to recall startActivity of my own but doesn't work. The other solution can be kill the current process (camera app). somebody has a solution ? Wait for the user to press the back button. Remember: while you were the one to launch the camera application, it's not your phone, so the user is welcome to stay in the camera application as long as she wants. Only launch external applications when you are willing to give up control. In the case of the camera, if you don't want to give up control, use the Camera object and take the picture yourself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Adding intent filter in code
Sujay Krishna Suresh wrote: hi mark... can u give an example for option (2)?? Uh, I think option (2) was registering a receiver, then using PackageManager to enable/disable it. If so, then I don't have any example code -- I just found out about the technique myself a day or so earlier at a Google I/O session. However, PackageManager has a getPackageInfo() method, from which you can get the receivers as, strangely, an array of ActivityInfo objects, and you can set enabled/disabled properties on those objects. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to get an applications permission?
SizzlingSkizzorsProgrammer wrote: I mean the permissions that are shown in the Android market when you download it (internet, cell phone, gps, etc). Use PackageManager to get a PackageInfo object on the desired package. PackageInfo has a String[] requestedPermissions that should have the names of the permissions that package requested. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?
Are you trying to tell me that it's totally safe to throw stuff in static fields? You have to be careful you don't accidentally pin things into memory, eg, putting a View or a Drawable or anything that inherits from Context into a static field would be a bad idea. Otherwise it's not a problem. I wish Android provided a nicer way to solve this problem though. The AsyncTask stuff helps but it still breaks on orientation change. --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Why the Android docs are inconsistent?
Sadly I wouldn't recommend contributing any doc patches until they've got the merging between open and private repos sorted out. I contributed a doc patch a few months ago and the Cupcake SDK shipped with the (bad) doc bug in it anyway, because it was never merged in. For now just file a bug and let them fix it. --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] virtual keyboard EditText
Hi I had an EditText that was working perfectly on the emulator. Now that I am doing test with the htc magic (which has a virtual keyboard) is giving me some problems: this is the code that I use: myEditText.setOnKeyListener(new View.OnKeyListener() { public boolean onKey(View arg0, int arg1, KeyEvent arg2) { Log.i(activity,hello!); /* do something... */ } } The problem is that the inner function onKey() is only called() AFTER the virtual keyboard is hidden, and for some reasons, I want to know this as soon as possible... does anybody knows how can I sort this out? 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Resume my activity from thread
Hi Mark, when your new book on 1.5 sdk ? :-) Mark the problem born around intent ACTION_IMAGE_CAPTURE. Mainly I need to capture an image from camera. I tried to use ACTION_IMAGE_CAPTURE with the follow code: final Intent imageCaptureIntent = new Intent (MediaStore.ACTION_IMAGE_CAPTURE); imageCaptureIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File(Environment.getExternalStorageDirectory (), test.jpg))); startActivityForResult(imageCaptureIntent, RESULT_CAPTURE_IMAGE); it work but the image resolution is too low and seem impossible get an image with full resolution. Then I found an other solution (the current). I created an activity with implemented the Runnable interface. Run func. check if new images are created from camera app. I'd like kill the camera activty from my run func. when an new image is found. Look below my code. private void CaptureImage() { _bEndThread = false; _thread = new Thread(this); _thread.start(); ComponentName toLaunch; toLaunch = new ComponentName (com.android.camera,com.android.camera.Camera); Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_LAUNCHER); intent.setComponent(toLaunch); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); startActivity(intent); } public void run() { Cursor c = managedQuery (android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,null,null,null,null); int iNPics = c.getCount(); while(!_bEndThread){ try{ c = managedQuery (android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,null,null,null,Media.DATE_TAKEN + ASC); if( c.getCount()iNPics ) { c.moveToLast(); iNPics = c.getCount(); Uri ur = Media.EXTERNAL_CONTENT_URI; _uri=Uri.withAppendedPath(ur, c.getString (c.getColumnIndex(Media._ID))); // /* AND NOW ? I WANT RESUME MY ACTIVITY */ // _bEndThread=true; } _thread.sleep(1000); } catch (Exception ex){ } } } On 30 Mag, 13:50, Mark Murphy mmur...@commonsware.com wrote: fala70 wrote: I've an activity with a Runnable thread into. From a button command I call the camera external application. Into my thread there is a check for news picture file is created. Now I need to resume my activity from my run func. I tried to recall startActivity of my own but doesn't work. The other solution can be kill the current process (camera app). somebody has a solution ? Wait for the user to press the back button. Remember: while you were the one to launch the camera application, it's not your phone, so the user is welcome to stay in the camera application as long as she wants. Only launch external applications when you are willing to give up control. In the case of the camera, if you don't want to give up control, use the Camera object and take the picture yourself. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Need Android talent? Ask on HADO!http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Call Activity from Widget, have only one instance. I am confused.
I've read through the Application Fundamentals three times today (and I had done so before), but I still can't quite wrap my ahead around the task concept. Or I guess I thought I understood it, but usually, the results I am seeing don't match up to what I would expect to happen (maybe a tool to see the current tasks/activities etc. for debugging purposes would be a nice addition). I have multiple widgets from my provider in the Launcher desktop, and each is using a PendingIntent with a different URI as data (so they should be separate intents) to open an Activity. I want there to be only once concurrent instance of this Activity that the user can access. So clicking the widget (1) , pressing HOME (2), clicking a different widget (3), pressing BACK (4) should bring the user back to the Desktop. Now I did manage to do this using launchMode=singleTask - the existing instance is brought to the top, onNewIntent() is called and I am pretty satisfied with it. However, supposedly there are other ways to achieve an equivalent effect (say with having the activity restarted), and I'd like to understand why I don't seem to be able to get them to work: In every case, instead of seeing the home screen after step (4) (after pressing BACK), I see the *previous* instance of the Activity. For example, if I read this correctly: There's another way to force activities to be removed from the stack. If an Intent object includes the FLAG_ACTIVITY_CLEAR_TOP flag, and the target task already has an instance of the type of activity that should handle the intent in its stack, all activities above that instance are cleared away so that it stands at the top of the stack and can respond to the intent. If the launch mode of the designated activity is standard, it too will be removed from the stack, and a new instance will be launched to handle the incoming intent. http://developer.android.com/guide/topics/fundamentals.html Then simply using using the following code to start my Activity from my widget should do what I want, no? Intent detailIntent = new Intent(context, ViewImageActivity.class); detailIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); PendingIntent pending = PendingIntent.getActivity(context, 0, detailIntent, 0); So in (3) My activity should be launched using FLAG_ACTIVITY_NEW_TASK by the launcher, which due to process affinity would find the existing task (which would consist of a single instance of my Activity), and launch the new instance on top of it. This explains what I am seeing. Why doesn't FLAG_ACTIVITY_CLEAR_TOP cause the existing instance in the task to be replaced? Even setting android:launchMode explicitely to standard, as mentioned in the doc quote above, this doesn't seem to change things. I also tried android:finishOnTaskLaunch=true, but the behaviour is the exact same was just described with FLAG_ACTIVITY_CLEAR_TOP (which seems to be the exact same as when doing neither and really starting an activity without any special attributes). I should mention that If I click the same widget in (3) as I clicked in (1), i.e. using the same PendingIntent twice, I do get the previous instance brought to the front (not restarted), but again, regardless of whether FLAG_ACTIVITY_CLEAR_TOP or finishOnTaskLaunch are being used. I find this especially strange since the docs about tasks don't seem to mention the intent itself being relevant at all. Application Fundamentals does at one point say For the default standard mode, a new instance is created to respond to every new intent, but it's not clear what new intent means then. Is triggering a PendingIntent multiple times through a widget not multiple new intents then? I also tried various combinations of the other related options, but pretty much got nowhere. Can anybody make sense of this? --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Resume my activity from thread
fala70 wrote: Hi Mark, when your new book on 1.5 sdk ? :-) All three books will be updated over the next several weeks, with two being updated within about 10 days. The original Android book will take longest, mostly because I want to get the other two in print. Mainly I need to capture an image from camera. You can do that yourself, with full control, without having to launch an external activity, via the Camera object. _The Busy Coder's Guide to *Advanced* Android Development_ has a chapter on this, and that should be brought up to Android 1.5 in ~10 days. It's not that hard, once you have the recipe, and then you have full control over the user experience. Then I found an other solution (the current). I created an activity with implemented the Runnable interface. Run func. check if new images are created from camera app. I'd like kill the camera activty from my run func. when an new image is found. Look below my code. private void CaptureImage() { _bEndThread = false; _thread = new Thread(this); _thread.start(); ComponentName toLaunch; toLaunch = new ComponentName (com.android.camera,com.android.camera.Camera); Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_LAUNCHER); intent.setComponent(toLaunch); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); startActivity(intent); } public void run() { Cursor c = managedQuery (android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,null,null,null,null); int iNPics = c.getCount(); while(!_bEndThread){ try{ c = managedQuery (android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,null,null,null,Media.DATE_TAKEN + ASC); if( c.getCount()iNPics ) { c.moveToLast(); iNPics = c.getCount(); Uri ur = Media.EXTERNAL_CONTENT_URI; _uri=Uri.withAppendedPath(ur, c.getString (c.getColumnIndex(Media._ID))); // /* AND NOW ? I WANT RESUME MY ACTIVITY */ // _bEndThread=true; } _thread.sleep(1000); } catch (Exception ex){ } } } I stand by my recommendation: use the Camera object and take the picture yourself. If you need MediaStore to know about the picture, I'm sure there is some way to do that (e.g., call insert()). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Testing among peers - A new group proposed
Hi, I would like to propose a test exchange where few can test apps for others and vice versa. We can go by credit system where when you test an app you get credits and use when your app is being tested by others. Or may be even have developers purchase the credits. Revenue can be shared among testers and site operator. More over we will get a real world test and feedback. We can code the apps to function only for 30 days or so for test trials. Please advice. --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Drawing Masked Bitmaps
Someone know how this could be achieved? Thank you. On 28 Mag, 19:53, Salentinux salenti...@gmail.com wrote: Hi all, I want make a Mask effect with 2 bitmaps. The first has to bemasked by the second. What is the best way? I need it to redraw portions of the screen the are involved in animations. I have an object(bitmap) that moves on the screen and i need to redraw with a mask its last position with the background bitmap. Thank you in advance --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to get an applications permission?
Thanks Mark --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Seekbar - Snap to value
Hey, Quick question... Is there a way to define set values (i.e. 0%, 25%, 50%, 75%, 100%) for the seekbar widget that enables the slider to snap to the nearest set value? For example instead of allowing the user to position the slider at an percentage through 0-100, instead the slider can only ever be positioned at one of the five set values? Oh and while were on the subject is there an easy solution for positioning the seekbar vertically, i'd rather not hack through the seekbar source code - but I fear I may have to! 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Seekbar - Snap to value
On Sat, May 30, 2009 at 8:19 AM, mscwd01 mscw...@gmail.com wrote: Hey, Quick question... Is there a way to define set values (i.e. 0%, 25%, 50%, 75%, 100%) for the seekbar widget that enables the slider to snap to the nearest set value? For example instead of allowing the user to position the slider at an percentage through 0-100, instead the slider can only ever be positioned at one of the five set values? Does setting the range from 0-4 work? If not, you could add an OnSeekBarChangeListener and reset the value to the nearest one yourself. Oh and while were on the subject is there an easy solution for positioning the seekbar vertically, i'd rather not hack through the seekbar source code - but I fear I may have to! SeekBar does not work vertically. --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADC2 announced
How do you enforce that for closed source apps? (It is already enforced for open source apps, so..) On Sat, May 30, 2009 at 1:00 AM, Christine christine.kar...@gmail.com wrote: I think the competion gets more interesting if only unpublished apps can compete. Maybe they should add a rule that you can only submit apps that you started working on after Google IO 2009. On May 29, 3:33 pm, Josh Steiner vitrio...@gmail.com wrote: Agreed. If they didn't have this restriction I would not be considering entering something at all because there is just no way I can compete with some of the apps that have been around for a year or so. -josh On Fri, May 29, 2009 at 11:42 AM, Ivan Soto ivanso...@gmail.com wrote: Think about it for a moment, it's SO unfair to submit already published applications. Ivan Soto Fernandez Web Developer http://ivansotof.com On Fri, May 29, 2009 at 12:35 PM, gsmd gsm...@gmail.com wrote: http://code.google.com/android/adc/- 'open only to applications that have not been published'. Thanks for screwing devs. --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Seekbar - Snap to value
Thanks for the quick reply. I shall do as you suggested. Pity there isn't support for a vertical seekbar though :( On May 30, 4:26 pm, Marco Nelissen marc...@android.com wrote: On Sat, May 30, 2009 at 8:19 AM, mscwd01 mscw...@gmail.com wrote: Hey, Quick question... Is there a way to define set values (i.e. 0%, 25%, 50%, 75%, 100%) for the seekbar widget that enables the slider to snap to the nearest set value? For example instead of allowing the user to position the slider at an percentage through 0-100, instead the slider can only ever be positioned at one of the five set values? Does setting the range from 0-4 work? If not, you could add an OnSeekBarChangeListener and reset the value to the nearest one yourself. Oh and while were on the subject is there an easy solution for positioning the seekbar vertically, i'd rather not hack through the seekbar source code - but I fear I may have to! SeekBar does not work vertically. --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Bluetooth and ADB
I'm very curious about how can you connect a device to PC through BT? Is it possible? On May 27, 10:48 pm, romka.shakhman...@googlemail.com romka.shakhman...@googlemail.com wrote: Can you help me with my question? Is it possible to use adb commands if device connected via Bluetooth? Regards, Roman. --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: video capture doesn't seem to work in 1.5
I'm having trouble too and it seems to revolve around the prepare() when it is trying to load up the file location. I get a FileNotFoundException during prepare(). The exception says it can't find /external/video/media/5 which is the URI path. I'm guessing it wants a more physical path but even hard coding a path and giving a filename results in another FileNotFoundException for that path / sdcard/video/file.3gp. I'm guessing if you look through your log you will see a warning with the same FileNotFoundException. On May 29, 5:31 am, zeeshan genx...@gmail.com wrote: is anybody come across the same problem or anyone have a working video capture example. your help is appreciated waiting for the help On May 29, 9:17 am, zeeshan genx...@gmail.com wrote: Activity just close at recorder.prepare(); dont see any exception On May 28, 5:30 pm, Marco Nelissen marc...@android.com wrote: What do you mean by no luck? Does something crash? Do you get an exception? Does it create the recording file? Is there any data in it? On Thu, May 28, 2009 at 9:25 AM, zeeshan genx...@gmail.com wrote: Hi dear, i am trying to capture video since a week but still no luck. can anybody help me to figure out what i am missing in the code below: final MediaRecorder recorder = new MediaRecorder(); ContentValues values = new ContentValues(3); values.put(MediaStore.MediaColumns.TITLE, Recorded video); values.put (MediaStore.MediaColumns.DATE_ADDED, System.currentTimeMillis()); // values.put (MediaStore.MediaColumns.MIME_TYPE, recorder.getMimeContentType()); Uri newUri = getContentResolver().insert (Media.EXTERNAL_CONTENT_URI, values); //String path = getContentResolver() getDataFilePath(newUri); //final String filePath=newUri.toString (); final String filePath=/sdcard/lion-seul.3gp; recorder.setAudioSource (MediaRecorder.AudioSource.MIC); recorder.setVideoSource (MediaRecorder.VideoSource.CAMERA); recorder.setOutputFormat (MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder (MediaRecorder.AudioEncoder.AMR_NB); //recorder.setVideoSize(176, 144); // QCIF //recorder.setOutputFormat (MediaRecorder.OutputFormat.MPEG_4); recorder.setVideoEncoder (MediaRecorder.VideoEncoder.MPEG_4_SP); recorder.setOutputFile(filePath); // CameraView.thisCameraView.setRequestedOrientation //(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); SurfaceHolder holder; videosurface.setVisibility(View.VISIBLE); holder = videosurface.getHolder(); recorder.setPreviewDisplay(holder.getSurface ()); try { recorder.prepare(); } catch (IllegalStateException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } recorder.start(); --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Conversion to Davik failed with error 1
Hello, I have searched the forums, but none of the solutions proposed cured my problem. Since I have upgraded to version 1.5 of the dev kit (and updated my Eclipse plugin), I cannot compile my project. I get this error, followed by : Project 'RuntimeAndroid' is missing required source folder 'gen' The project cannot be built until build errors are resolved This is very strange, as after the build (which had errors) I HAVE a gen folder in my project! And the subdirectories of this gen folder have been created (com\clickteam\runtime) and a R.java file is present in the folder with a correct content! Something is definitively going wrong here. Can you help me? I am stuck... Francois --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Missing MapPoint in 1.5r2?
I am attempting to build an application that uses the Google Maps Add-On. I get compile errors on this code: GeoPoint status=new GeoPoint((int)(lat*100.0), (int)(lon*100.0)); saying: [javac] StatusMap.java:31: cannot access com.google.map.MapPoint [javac] class file for com.google.map.MapPoint not found My guess is that MapPoint is some superclass of GeoPoint -- I'm not referring to MapPoint itself in my code anywhere, let alone where the compile error is. If I comment out these lines (and references to the now-missing status variable), everything else works fine, including displaying a map, so I know I'm targeting everything properly. While this project is one that I am migrating from earlier Android versions, I get the same error if I android create project -t 3 a fresh project and try using this same code. I could have sworn I compiled this cleanly on 1.5r1, though I may be mistaken. Anybody running into similar problems with 1.5r2? Thanks! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SampleView in a Layout?
Chris, Sub-Classing View is not going to work. You need to subclass ViewGroup. There are many predefined already to choose from. Here is a LinearLayout Example. private class sampleViewGroup extends LinearLayout{ private final Button button1; private final Button button2; private final Button button3; public sampleViewGroup(Context context){ super(context); super.setOrientation(LinearLayout.HORIZONTAL); Button button1 = new Button(context); Button button2 = new Button(context); Button button3 = new Button(context); super.addView(button1); super.addView(button2); super.addView(button3); } } --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Call Activity from Widget, have only one instance. I am confused.
I'm having a similar issue, but related to PendingIntents via notifications. http://groups.google.com/group/android-developers/browse_thread/thread/56a0c58dc6e1b0a1# http://groups.google.com/group/android-developers/browse_thread/thread/56a0c58dc6e1b0a1#Like you, I feel I understand the task concept laid out in docs (that fundamentals documentation is very good) but but then doubt it when I try to put things into practice. Setting android:launchMode=singleTask works for me but has the unwanted side effects described in the link above. Tom. 2009/5/30 Michael Elsdörfer mich...@elsdoerfer.info I've read through the Application Fundamentals three times today (and I had done so before), but I still can't quite wrap my ahead around the task concept. Or I guess I thought I understood it, but usually, the results I am seeing don't match up to what I would expect to happen (maybe a tool to see the current tasks/activities etc. for debugging purposes would be a nice addition). I have multiple widgets from my provider in the Launcher desktop, and each is using a PendingIntent with a different URI as data (so they should be separate intents) to open an Activity. I want there to be only once concurrent instance of this Activity that the user can access. So clicking the widget (1) , pressing HOME (2), clicking a different widget (3), pressing BACK (4) should bring the user back to the Desktop. Now I did manage to do this using launchMode=singleTask - the existing instance is brought to the top, onNewIntent() is called and I am pretty satisfied with it. However, supposedly there are other ways to achieve an equivalent effect (say with having the activity restarted), and I'd like to understand why I don't seem to be able to get them to work: In every case, instead of seeing the home screen after step (4) (after pressing BACK), I see the *previous* instance of the Activity. For example, if I read this correctly: There's another way to force activities to be removed from the stack. If an Intent object includes the FLAG_ACTIVITY_CLEAR_TOP flag, and the target task already has an instance of the type of activity that should handle the intent in its stack, all activities above that instance are cleared away so that it stands at the top of the stack and can respond to the intent. If the launch mode of the designated activity is standard, it too will be removed from the stack, and a new instance will be launched to handle the incoming intent. http://developer.android.com/guide/topics/fundamentals.html Then simply using using the following code to start my Activity from my widget should do what I want, no? Intent detailIntent = new Intent(context, ViewImageActivity.class); detailIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); PendingIntent pending = PendingIntent.getActivity(context, 0, detailIntent, 0); So in (3) My activity should be launched using FLAG_ACTIVITY_NEW_TASK by the launcher, which due to process affinity would find the existing task (which would consist of a single instance of my Activity), and launch the new instance on top of it. This explains what I am seeing. Why doesn't FLAG_ACTIVITY_CLEAR_TOP cause the existing instance in the task to be replaced? Even setting android:launchMode explicitely to standard, as mentioned in the doc quote above, this doesn't seem to change things. I also tried android:finishOnTaskLaunch=true, but the behaviour is the exact same was just described with FLAG_ACTIVITY_CLEAR_TOP (which seems to be the exact same as when doing neither and really starting an activity without any special attributes). I should mention that If I click the same widget in (3) as I clicked in (1), i.e. using the same PendingIntent twice, I do get the previous instance brought to the front (not restarted), but again, regardless of whether FLAG_ACTIVITY_CLEAR_TOP or finishOnTaskLaunch are being used. I find this especially strange since the docs about tasks don't seem to mention the intent itself being relevant at all. Application Fundamentals does at one point say For the default standard mode, a new instance is created to respond to every new intent, but it's not clear what new intent means then. Is triggering a PendingIntent multiple times through a widget not multiple new intents then? I also tried various combinations of the other related options, but pretty much got nowhere. Can anybody make sense of this? --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Development in G1 in Ubuntu 9.04
I want to know what these number means ? On Sat, May 30, 2009 at 5:52 AM, Christine christine.kar...@gmail.comwrote: If 51 doesn't work, try a higher number. For some reason on my MSI Wind with Ubuntu Intrepid, 51 didn't work but 90 did. On May 5, 10:46 pm, Luis E. Yupangui enr...@gmail.com wrote: This helped my out as well, Thank Yous sir! On Apr 29, 12:04 pm, Jean-Baptiste Queru j...@android.com wrote: Try to call your file51-android.rules. (I think something changed in 9.0.4 where a module that the android stuff relies on is also initialized at step 50 which ends up being too late). JBQ On Wed, Apr 29, 2009 at 9:00 AM, Breno breno.min...@gmail.com wrote: Hi, Is Ubunto 9.04 compatible with development in Android? Before i ugrade, deploy on device was normal. Now, using 9.04, doesn't recognize it using adb devices. This below is already set on my ubuntu: 1. Login as root and create this file: /etc/udev/rules.d/50- android.rules. For Gusty/Hardy, edit the file to read: SUBSYSTEM==usb, SYSFS{idVendor}==0bb4, MODE=0666 For Dapper, edit the file to read: SUBSYSTEM==usb_device, SYSFS{idVendor}==0bb4, MODE=0666 2. Now execute: chmod a+rx /etc/udev/rules.d/50-android.rules Any ideas? Thanks a lot -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Questions sent directly to me that have no reason for being private will likely get ignored or forwarded to a public forum with no further warning. --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Finish all previous Activities?
Hi, is it possible with one call to finish all previous Activities. (like: this.finish(all) :) I have a main activity, calling a preferences and there is a switchuser point that switch the user and call the main activity again. But than i dont need that the user can go back, step by step, It would be just fine i could say kill all previous activites in the moment the user klick switch user any idea? greets chris --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Webview + self signed ssl cert
..or you have a known safe channel (such as adb or local secured/trusted wifi) you can use to get the cert the first time. And what does that have to do with how do I do this anyway? On Mon, May 25, 2009 at 11:02 AM, Mike Hearn mh.in.engl...@gmail.com wrote: The server and url in question is private and no one apart from myself will ever use it. Personally, I can't see the point of getting a proper signed certificate for this. Well, read the link I sent. If you're using encryption, presumably you're worried about somebody attempting to snoop your traffic. If you're worried about that, then self-signed certificates are something to avoid, unless you can hard code the certificate in your app then check it against what the WebView received, but i'm not sure there's an API for that. If you're not worried about MITM attacks then you don't need encryption (bear in mind 3G is already encrypted). --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Geocoder not returning results in 1.5 preview
Has anyone heard about the fix for this yet? I updated to 1.5 today and have the same problem. On May 21, 8:18 am, Android Users androidmai...@gmail.com wrote: Any help on this as this is stopping our work. Searched in all android forums, but no luck.. :( --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Using Prebuilt Toolchain with configure and make
Hello! I'd like to know more about porting C applications to native ARM for use on Android devices. I can make simple programs using the prebuild toolchain which comes with the source, but how can I use this toolchain with applications which are more than one file and require configure and make? (I'm trying with Vim for starters). Thanks so much! Rich --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] getFromLocation broken with Android 1.5 SDK?
I just upgraded to v1.5 (running in Eclipse on Windows) today and all calls to getFromLocation() return immediately without an exception. However the locations object that is returned contains no entries. Is anyone else seeing this? I see some earlier posts, but surely if they are shipping cupcake this week this must be rectified by now. Is the message about the maps external library related? See: http://developer.android.com/sdk/RELEASENOTES.html I'm only geocoding, I don't have any mapviews. I do, however, invoke an intent for a google map. I don't see the maps app installed in the 1.5 emulator. Do I have to get something extra for that? Thanks for any help. Best, pawpaw17 --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Maps and StreetView missing in Android SDK 1.5?
oops, was too slow :) On 31 mai, 00:33, patrick patrick.boul...@gmail.com wrote: in fact, when u create the avd, u have currently 3 target available: 1.1 1.5 1.5 + google maps apis so i guess u choosed the 1.5 target. On 30 mai, 22:50, pawpaw17 georgefraz...@yahoo.com wrote: Everyone, Thanks in advance for any thoughts on this. In v1.5 of the SDK, the Maps/Streetview app is not installed in the emulator. I'm relying on launching an implicit intent which maps my addresses for me. Is there a way to test this in the emulator, i.e, do I need to install something extra? I'm presuming this is on the actual G1 phone with v1.5. Does anyone know? I'm also getting 100% failures in calls to getFromLocationName(). Is this related? Thanks, Best, pawpaw17 --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Missing MapPoint in 1.5r2?
Please file a bug at b.android.com and we'll have a look. A small code/apk snippet would be ideal too. Thanks in advance. R/ On Sat, May 30, 2009 at 10:44 AM, Mark Murphy mmur...@commonsware.com wrote: I am attempting to build an application that uses the Google Maps Add-On. I get compile errors on this code: GeoPoint status=new GeoPoint((int)(lat*100.0), (int)(lon*100.0)); saying: [javac] StatusMap.java:31: cannot access com.google.map.MapPoint [javac] class file for com.google.map.MapPoint not found My guess is that MapPoint is some superclass of GeoPoint -- I'm not referring to MapPoint itself in my code anywhere, let alone where the compile error is. If I comment out these lines (and references to the now-missing status variable), everything else works fine, including displaying a map, so I know I'm targeting everything properly. While this project is one that I am migrating from earlier Android versions, I get the same error if I android create project -t 3 a fresh project and try using this same code. I could have sworn I compiled this cleanly on 1.5r1, though I may be mistaken. Anybody running into similar problems with 1.5r2? Thanks! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: intent from dialog and back ?
guruk wrote: Hi, i am in a dialog builded with AlertDialog.Builder from there i call another activity with startActivity. all fine.. JUST..when i press back in my new activity i crash with unable to resume activity. What does the stack trace tell you? You can get the Java stack trace via adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Using Prebuilt Toolchain with configure and make
Rich wrote: I'd like to know more about porting C applications to native ARM for use on Android devices. You'll probably want to ask those questions on one of the discussion lists that pertains to that topic: http://source.android.com/discuss This list is for people using the Android SDK for building Java-based apps. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Missing MapPoint in 1.5r2?
Raphael wrote: Please file a bug at b.android.com and we'll have a look. A small code/apk snippet would be ideal too. Filed as: http://code.google.com/p/android/issues/detail?id=2806 I tested this code under 1.5_r1 and 1.5_r2: package com.commonsware.android; import android.app.Activity; import android.os.Bundle; import com.google.android.maps.GeoPoint; public class GeoPointBug extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); GeoPoint status=new GeoPoint(0, 0); finish(); } } 1.5_r1 compiles fine. 1.5_r2 fails with: [javac] class file for com.google.map.MapPoint not found This sure feels like it's somehow a bug in my environments. I've tried it on two different PCs, one using a freshly-downloaded 1.5_r2, and they both give the error. Any advice would be greatly appreciated. Thanks! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Looking for Android opportunties? http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Testing among peers - A new group proposed
I am in if this idea goes anywhere :) It is probably better for you to recruit power (geek) users to do the testing and free up developer time to actually work on the apks. Note: I am a power user, not developer. Eric On May 30, 11:44 pm, Ravi textlo...@gmail.com wrote: Hi, I would like to propose a test exchange where few can test apps for others and vice versa. We can go by credit system where when you test an app you get credits and use when your app is being tested by others. Or may be even have developers purchase the credits. Revenue can be shared among testers and site operator. More over we will get a real world test and feedback. We can code the apps to function only for 30 days or so for test trials. Please advice. --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to find out screen status: active/dark?
Got it, thank you; works perfectly. On May 29, 11:38 am, Jeff Sharkey jshar...@android.com wrote: I've dug through the documentation but couldn't find a call that would fit: Is there a way to find out the screen status (Active/dark)? You can listen for Intent.ACTION_SCREEN_OFF and ACTION_SCREEN_ON broadcasts. However, I would strongly recommend registering for these dynamically at runtime using Context.registerReceiver(). This ensures that you'll only receive the broadcasts if your Service is already awake, which is what you want. :) -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Open-Source Opertunity
Hi, All, I was wondering if some developers would like to work on Android Accessibility. It is Open-Source and hosted on Google code. The URL is: http://slimvoice.googlecode.com/ . Any help is appreciated. A To-dos list can be found in the downloads section in the SAML specifications package. Regards, Aex, --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] sub-thread issue.
Hi, I have some questions about threads. Threre is a main thread A, and then it creats a sub-thread B. I want to know: 1) If main thread A exits or crashs, thread B can continue running? 2) if the upper question's anwser is yes, is there a method that A can notify B before A exits? How can B get A's state? 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Talk Shared Status Messages
Just wanted to bump this up to see if anyone on the weekend browsing crew knew an answer. On May 23, 3:18 pm, Micah mi...@ourmailbox.net wrote: I'm interested in creating an Android application that will set the user's Google Talk custom status message to something created by my application. Details on doing this can be found athttp://code.google.com/apis/talk/jep_extensions/shared_status.html. Since a user running Android (at least on the G1 w/ T-Mobile) is always signed in to their Google Account, is there a way to leverage that and not require the user enter credentials into my application? If not, is there an easy-to-use XMPP interface available or am I stuck with writing a XMPP client from scratch? Alternatively, does the Google Talk application running on Android phones support any intents that I could use to tell it to change the user's status? While researching this issue I have come across a number of pages that reference what appears to be a deprecated com.google.android.xmppservice and com.google.android.gtalkservice. Is there a replacement for either of those or were they removed without replacement? --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Testing among peers - A new group proposed
On May 30, 6:44 am, Ravi textlo...@gmail.com wrote: Please advice. http://groups.google.com/group/android-app-distribution --~--~-~--~~~---~--~~ 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, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---