[android-developers] Re: Native SIP support
This code might help you get started. http://code.google.com/p/sipdroid/source/checkout On Monday, January 14, 2013 10:27:46 PM UTC-5, Iroid wrote: Hello Everyone, We have to develop a SIP based application. major features include: 1. Audio/Video call 2. Audio/Video conference Locally hosted 3. Supplementary services : hold/resume/ call forward/ call waiting/call transfer etc. Documentation of SIP on android developer site is not sufficient. Could you please let me know if its supported in Android native SIP stack and how to use that? Thanks in advance. Regards, Irfan -- 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: Billing is not supported on this version of android market!
Same error. Running AOKP JellyBean build 2 on a Galaxy Nexus. Might have something to do with Visidon facial recognition app or Tasker as well. Would love to know if there's any way to resolve. Thanks. On Thursday, June 21, 2012 6:58:05 PM UTC-7, Manoj wrote: Hi, I am using EURO 2012 application, and suddenly getting Billing is not supported on this version of android market error and device is freezing. Could any one please tell the reason why this happens? Thanks, Manoj. -- 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: Eclipse dev/debug on different machine than where Android device is connected?
This should help http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp On Thursday, June 7, 2012 10:01:31 PM UTC-4, SChaser wrote: Good. But how do I do that? From Eclipse? My normal Eclipse debugging method is simple: 1)Set a breakpoint or two 2) Debug As-Android Application 2a)... magic happens Eclipse arranges for the app to be installed and run with its debugger attached 3) Voila. I'm there. How to I set up Eclipse to do this via TCP/IP? Thanks! On Jun 7, 5:52 pm, lbendlin l...@bendlin.us wrote: you can do debugging via TCP/IP, no need for a USB connection. On Thursday, June 7, 2012 4:23:28 PM UTC-4, SChaser wrote: I would like to be able to debug (using Eclipse) an Android app when the device is USB connected to a different machine. Is this possible, and if so, how? Reason: I'd like to have a single machine that contains my Android development environment, but be able to access it (via Remote Desktop for windows) from remote machines which would have the Android device plugged in. -- 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] Out of memory on a xxx-byte allocation When setting progress values of SeekBars within ListView
Hello, I have an app with a list of SeekBar widgets generated within a ListView. When the list is relatively long, the Progress values reset themselves to their default position after being set by the user. (the list can be as long as 50 to 60 rows). DDMS gives me the following suspicious output lines: Forcing collection of SoftReferences for 532496-byte allocation GC_Before_OOM freed 0k, 5% free 62762k/65415k, paused 56ms Out of memory on a 532496-byte allocation May this be a function of the device? (I used the Galaxy Tab 10.1 to debug), the SeekBar background graphic? (8kb 9-patch .png back with 100kb .png thumb) or the two EditText views in each row? (each row has a SeekBar and two EditText views). Many Thanks, JJ -- 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: Out of memory on a xxx-byte allocation When setting progress values of SeekBars within ListView
Hello, I think I figured this one out. Of course, I re-watched Romain Guy's IO presentation on ListViews and now I understand it a lot more. Even though my list will not be larger than 60 rows, I am assuming that re-using the convertView will help my memory issues a bit. With regard to my initial issue, I found the android: listview XML attribute to persist the position of the Progress value so this seems to be working. Please let me know if there are any other suggestions to watch out for with regard to Seekbar widget use within a listview row. Thanks, JJ On Sat, Mar 10, 2012 at 1:30 PM, JJ B jjbjmanagem...@gmail.com wrote: Hello, I have an app with a list of SeekBar widgets generated within a ListView. When the list is relatively long, the Progress values reset themselves to their default position after being set by the user. (the list can be as long as 50 to 60 rows). DDMS gives me the following suspicious output lines: Forcing collection of SoftReferences for 532496-byte allocation GC_Before_OOM freed 0k, 5% free 62762k/65415k, paused 56ms Out of memory on a 532496-byte allocation May this be a function of the device? (I used the Galaxy Tab 10.1 to debug), the SeekBar background graphic? (8kb 9-patch .png back with 100kb .png thumb) or the two EditText views in each row? (each row has a SeekBar and two EditText views). Many Thanks, JJ -- 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: Out of memory on a xxx-byte allocation When setting progress values of SeekBars within ListView
Ooops...nevermind...still Hosed. Any advice appreciated (Seekbar now has a mind of it's own) On Sat, Mar 10, 2012 at 11:18 PM, JJ B jjbjmanagem...@gmail.com wrote: Hello, I think I figured this one out. Of course, I re-watched Romain Guy's IO presentation on ListViews and now I understand it a lot more. Even though my list will not be larger than 60 rows, I am assuming that re-using the convertView will help my memory issues a bit. With regard to my initial issue, I found the android: listview XML attribute to persist the position of the Progress value so this seems to be working. Please let me know if there are any other suggestions to watch out for with regard to Seekbar widget use within a listview row. Thanks, JJ On Sat, Mar 10, 2012 at 1:30 PM, JJ B jjbjmanagem...@gmail.com wrote: Hello, I have an app with a list of SeekBar widgets generated within a ListView. When the list is relatively long, the Progress values reset themselves to their default position after being set by the user. (the list can be as long as 50 to 60 rows). DDMS gives me the following suspicious output lines: Forcing collection of SoftReferences for 532496-byte allocation GC_Before_OOM freed 0k, 5% free 62762k/65415k, paused 56ms Out of memory on a 532496-byte allocation May this be a function of the device? (I used the Galaxy Tab 10.1 to debug), the SeekBar background graphic? (8kb 9-patch .png back with 100kb .png thumb) or the two EditText views in each row? (each row has a SeekBar and two EditText views). Many Thanks, JJ -- 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: Routing TTS to SCO bluetooth headset
Maybe check out http://stackoverflow.com/questions/7212783/android-playing-sound-over-sco-bluetooth-headset On Wednesday, February 29, 2012 9:14:41 AM UTC-5, RedBullet wrote: I am trying to get my android app to use the TTS engine to send the audio to my old BT headset. I have tried starting SCO, then setting it to on. Nothing. Audio still comes out the speakers... Anyone ever done this? I am sure there is just something I am missing... -- 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] Android Market - Test Marketing
Hello, Is it allowable (or possible) to test market apps by sending out to a few colleagues prior to full publication. I understand that Google allows Beta publication on Android Market but, to me, that may be less useful than controlling the test market population. Thanks in Advance, JJ -- 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
Re: [android-developers] Android Market - Test Marketing
Great, Thanks (and please clarify if this also works with the full paid versions if you know) 2012/2/29 Kostya Vasilyev kmans...@gmail.com Just email them the apk files (or links), then bump the version code in the manifest before publishing so Market picks up the update (I know this works for free apps). 01.03.2012 3:29 пользователь JJ B jjbjmanagem...@gmail.com написал: Hello, Is it allowable (or possible) to test market apps by sending out to a few colleagues prior to full publication. I understand that Google allows Beta publication on Android Market but, to me, that may be less useful than controlling the test market population. Thanks in Advance, JJ -- 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 -- 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 -- 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: sqlite database storage data
I just went through this and believe I can help. It's on the device. It's also in the virtual device, but it's a lot harder to get at (google UnYaffs) I tried to use UnYaffs and gave up after a few days, as it did not compile on my machine (it's C++). The easiest way is to root your phone. Once your phone is rooted, you can easily get to your SQLite DB... adb pull /data/data/com.example/databases/whatever.db . Then it will be on your computer's drive and you can open it... Rooting your phone can be a headache, but I found it the easiest way. JJ On Feb 25, 12:35 am, Jagruti Sangani jagruti.sang...@inextrix.com wrote: hello, i want to know the sqlite database at where store the data?It is on application device or on the pc.Because i need the data will be remain with project. -- 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: Eclipse Version: 3.7.0 Driving me NUTS
My code runs fine for a few days with no changes and then...boom! doesn't play nice anymore by forcing me to import android.R for no reason whatsoever. I've increased the memory allocation as recommended, carefully cleaned upon any changes, and prayed to the Android Gods for Eclipse to run as smoothly as possible. I'm sure there's an archived thread somewhere out there saying I should be coding standing on one foot, facing due West and with all planets aligned...in case there is, can someone point me to that information? :) 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
Re: [android-developers] Rich user interface
Hi, I hope you find the following a bits helpful to start off: //create a new fonts folder and place inside of your assets folder //copy and paste the font named [mac font name].otf to your new fonts folder from your mac's Font Book folder (I use mac). //call the following method myLayout(); //method definition: private void myLayout() { Typeface tf = Typeface.createFromAsset(getAssets(), [mac font name].otf); TextView tv = (TextView) findViewById(R.id.textView1); tv.setTypeface(tf); TextView tv1 = (TextView) findViewById(R.id.textView2); tv1.setTypeface(tf); TextView tv2 = (TextView) findViewById(R.id.textView3); tv2.setTypeface(tf); } As a Noob myself, I learned this from Android App Development and Design: Learn by Video [DVD-ROM] Of course, I have Mark's book also. On Mon, Feb 13, 2012 at 1:57 PM, Mark Murphy mmur...@commonsware.comwrote: While EditText can support all your desired features, there's nothing built into Android to allow users to, say, specify a font color. I've been working on a reusable component for this, but it has gotten caught in the logjam of stuff I'm working on overall. :-( At a high level, you use the various *Span classes in android.text.style to add formatting to the contents of the EditText. On Mon, Feb 13, 2012 at 1:49 PM, noob mohit89m...@gmail.com wrote: Hello guys, I am developing a small app to schedule messages(to be sent in future). I have done the basic text scheduling part. Now i want to include rich UI tools like change font size , add smilies , or change text color ,style (Bold,Italic,Underline) in my message text. I dont know where to start with and how to do this. Could someone please help me get some good tutorial for this or provide some snippets to do this? Thanks 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 4.0 Programming Books: http://commonsware.com/books -- 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 -- 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: File encryption using AES
Suggestion: FileName.EXT -- FileName.EXT.ENC, then decrypt to FileName.EXT Keep the original extension in the encrypted filename. -- 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] getting package name / signatures from pid
I need to write an application that can derive other(target) application's package name and signatures out of [process id of running instance of target application] for some dianostic features. I've skimmed through the android app framework, and found that PackageManger has the ability to get package signatures. ..getPackageManager().getPackageInfo(packageName, GET_SIGNATURES).. but, this just shows possibility of getting signatures from package name. as I said, our available input parameters are only running instance process id of the application. Is there any way of getting package name from pid of running application? I know there's process cmdline information within /proc/ $PID/cmdline, but it has length limitation (prob hardcoded in kernel source) and needs some unclean parsing prcedure, and also not sure cmdline always has package name. Is there a clean / framework based solution for this? (any soltions beyond framework / unclean are welcome!) thanks 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: Android 2.3: eclipse reporting Unable to execute dex: null
Thanks! Please let us know when it is ready :-) On Dec 6, 7:54 pm, Xavier Ducrohet x...@android.com wrote: hey all, we found the issue. It's related to referencing java project. We're looking at pushing a fix to ADT asap. In the meantime you can temporarily change to including your java project as a jar file. On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner badlogicga...@gmail.com wrote: I have the exact same issue. I went the exact same route as the original poster. The verbose output of all the Android tools in Eclipse is not all that verbose it turns out. However, digging up the .log file in $workspace/.metadata/.log brought this up: !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576 !MESSAGE Unable to execute dex: null !STACK 0 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown Source) at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown Source) at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui ld(Unknown Source) at org.eclipse.core.internal.events.BuildManager $2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 203) at org.eclipse.core.internal.events.BuildManager $1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j ava: 311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: 343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java: 144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java: 242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.NullPointerException at java.io.File.init(Unknown Source) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java: 106) at com.android.dx.command.dexer.Main.processOne(Main.java:284) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220) at com.android.dx.command.dexer.Main.run(Main.java:176) ... 19 more Root exception: java.lang.NullPointerException at java.io.File.init(Unknown Source) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java: 106) at com.android.dx.command.dexer.Main.processOne(Main.java:284) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220) at com.android.dx.command.dexer.Main.run(Main.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown Source) at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown Source) at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui ld(Unknown Source) at org.eclipse.core.internal.events.BuildManager $2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 203) at org.eclipse.core.internal.events.BuildManager $1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j ava: 311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: 343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java: 144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java: 242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) This is the output i get when cleaning a previously
[android-developers] Re: Android 2.3: eclipse reporting Unable to execute dex: null
This has been occurring for many people. This happened to me on a windows 7 box and if you look on stack overflow, no one has solved this yet. Anything from Google? On Dec 6, 6:16 pm, Xavier Ducrohet x...@android.com wrote: gotta love the error message. *sigh* From what you're saying you have all that's needed. Have you tried using the Sun VM instead of OpenJDK? We load dx.jar through reflection and it looks like calling out to a method through reflection failed. Xav On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara tomgib...@gmail.com wrote: I upgraded to the 2.3 SDK and have hit a problem I can't resolve. First I updated the android plugins for eclipse (3.5.2) to the new version (8.0.0.v201011171904-77661). Then I used the SDK manager within eclipse to install the Android SDK 2.3 API 9 package, its documentation, and the Android SDK platform tools revision 1. On restarting eclipse I found that every non-library android project was reporting the same error: [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null [2010-12-06 21:58:32 - ] Conversion to Dalvik format failed: Unable to execute dex: null I have tried cleaning the projects, reinstalling the plugins and changing the declared SDK location. I have confirmed that eclipse has the latest plugin, that the platform-tools directory exists, as does the platforms/android-9 directory, and that they contain the correct files. I switched the plugin into verbose for building, but can't see anything remotely suspicious. I can even run dx manually on the project bin directory and produce a classes.dex file. I'm stumped, does anyone have any ideas? This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode) -- 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 -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. 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] The Sources On Cloud
I wonders some of the app like find food How the developer gets the restaurant list? Does it available on cloud(internet) and free. Something like Nimbus project in Singapore. I want to develop some similar app but don't know where can get the source... 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] oprofile usage with dalvik vm
Hi all, I want to try profiling on android using oprofile but I am not sure if it comes support for dalvik vm. Has anybody tried the same? If this doesn't click then I can try using traceview and oprofile separately. Thanks, JJ --~--~-~--~~~---~--~~ You received 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] media unit test cases
Hi All, Has anybody ran multimedia unit test cases provided by Android? I am trying to execute for the 1st time and there are some 56 failures mostly due to test cases itself not being present in sdcard. Does Android test framework copy it sdcard etc?? Please help!!! JJ --~--~-~--~~~---~--~~ 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] what is ms for 60000ms, is it ms for Milli second OR for micro second?
in the requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener) from android.location.LocationManager Background services should be careful about setting a sufficiently high minTime so that the device doesn't consume too much power by keeping the GPS or wireless radios on all the time. In particular, values under 6ms are not recommended. here what is this 6ms, is it ms for Milli second OR for micro second? there is no such specification doc. --~--~-~--~~~---~--~~ 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] getting location name from lat, lon
hello everybody Is there any API method{[android.location pack ] to get location name? did not find related method to to retrieve location name for given GeoPoint(lat,lon); I wanted to keep list of location names for particular GeoPoints (lat,Lon) in journey. can this be achievable in Android to calculate the name of location from lat , lon. please guide for soluation. thank you --~--~-~--~~~---~--~~ 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] undocumented for recording audio
some where I read it. the undocumented intent for recording audio Intent intent = new Intent(MediaStoreAudio.Media.RECORD_SOUND_SCTION); is this true, I tested but it is not working. one more undocumented intent for capturing picture it is working fine Intent i = new Intent(android.media.action.IMAGE_CAPTURE); whats the stuff with recording intent, plz guide thank you --~--~-~--~~~---~--~~ 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] does media provider have private media file?
hello folk system media provider is global db, anybody can access file from it and delete too, i want add image in it, with private mode, public static final String insertImage(ContentResolver cr, Bitmap source, String title, String description) is it possible, to have private media file in media provider, so that nobody can change it or delete it. since in above API function there is no such provision to keep media file in private mode. thank you --~--~-~--~~~---~--~~ 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 internal media provider
hello folk Is it possible to use internal media provider to store application's media file, if sdcard is not present on device. what is max size the of this internal provider .I mean what max data appl can store in this internal provider. Thank you --~--~-~--~~~---~--~~ 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: SurfaceView on G1
I dont see any log (seems that it hangs just inside setContentView, which is at the very beginning of the app. I know this because I am able to debug it, and put a breackpoint in this line) anyway, I can get this list of threads... I dont know if that's useful somehow... babel [Android Application] DalvikVM[localhost:8600] Thread [3 main] (Suspended) DexFile.defineClass(String, ClassLoader, int, ProtectionDomain) line: not available [native method] [local variables unavailable] DexFile.loadClass(String, ClassLoader) line: 92 PathClassLoader.findClass(String) line: 175 PathClassLoader(ClassLoader).loadClass(String, boolean) line: 453 PathClassLoader(ClassLoader).loadClass(String) line: 421 PhoneLayoutInflater(LayoutInflater).createView(String, String, AttributeSet) line: 465 PhoneLayoutInflater(LayoutInflater).createViewFromTag(String, AttributeSet) line: 564 PhoneLayoutInflater(LayoutInflater).rInflate(XmlPullParser, View, AttributeSet) line: 617 PhoneLayoutInflater(LayoutInflater).inflate(XmlPullParser, ViewGroup, boolean) line: 407 PhoneLayoutInflater(LayoutInflater).inflate(int, ViewGroup, boolean) line: 320 PhoneLayoutInflater(LayoutInflater).inflate(int, ViewGroup) line: 276 PhoneWindow.setContentView(int) line: 231 babel(Activity).setContentView(int) line: 1569 babel.onCreate(Bundle) line: 467 Instrumentation.callActivityOnCreate(Activity, Bundle) line: 1122 ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord) line: 2104 ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord) line: 2157 ActivityThread.access$1800(ActivityThread, ActivityThread $ActivityRecord) line: 112 ActivityThread$H.handleMessage(Message) line: 1581 ActivityThread$H(Handler).dispatchMessage(Message) line: 88 Looper.loop() line: 123 ActivityThread.main(String[]) line: 3739 Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method] Method.invoke(Object, Object...) line: 515 ZygoteInit$MethodAndArgsCaller.run() line: 739 ZygoteInit.main(String[]) line: 497 NativeStart.main(String[]) line: not available [native method] Thread [13 Binder Thread #2] (Running) Thread [11 Binder Thread #1] (Running) On May 1, 1:40 am, Dave Sparks davidspa...@android.com wrote: Do you have a stack trace from the log? On Apr 30, 4:51 pm, petunio juanjosegilmen...@hotmail.com wrote: Hi I am finally testing my application on a G1 and even though it works fine on the emulator, it crashes on the G1 it crashes when it does: setContentView(R.layout.mylayout); the xml is fairly simple: com.google.android.myproject.myView android:id=@+id/testid android:layout_width=fill_parent android:layout_height=fill_parent /com.google.android.babel.myView and the view is defined like this: public class myView extends SurfaceView implements SurfaceHolder.Callback { } Has anybody found a similar problem? 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] What is field type in db table for audio and image?
What is field type in db table for audio and image? here is code from Media provider, in that it is 'data' type is text, same is for image table its data type too text. so what is data type for images, audio or video for database table. will you clear me for the this stuff. In one tut I saw he stored the file as it is with field name file, is this perfect way? // Contains meta data about audio files db.execSQL(CREATE TABLE IF NOT EXISTS audio_meta ( + _id INTEGER PRIMARY KEY, + _data TEXT NOT NULL, + _display_name TEXT, + _size INTEGER, + mime_type TEXT, + date_added INTEGER, + date_modified INTEGER, + title TEXT NOT NULL, + title_key TEXT NOT NULL, + duration INTEGER, + artist_id INTEGER, + composer TEXT, + album_id INTEGER, + track INTEGER, +// track is an integer to allow proper sorting year INTEGER CHECK(year!=0), + is_ringtone INTEGER, + is_music INTEGER, + is_alarm INTEGER, + is_notification INTEGER + );); --~--~-~--~~~---~--~~ 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] after launching audio recording intent MediaStoreAudio.Media.RECORD_SOUND_ACTION
after launching audio recording intent MediaStoreAudio.Media.RECORD_SOUND_ACTION where should I get this audio data? --~--~-~--~~~---~--~~ 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 is intent action name to launch the native map appl?
Hello Mark Murphy For showing direction between two points on map there is for launching maps for driving direction this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(http://maps.google.com/maps? f=dsaddr=37.4,-121.9+ daddr=Bellevue, WAhl=en))); Like this is there any way to show path between two geo points on map? --~--~-~--~~~---~--~~ 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] what is intent action name to launch the native map appl?
what is intent action name(e.g. action name android.media.action.IMAGE_CAPTURE for launching camera appl) to launch the native map appl Is there intent available(documented or undocumented since above intent of capturing image is undocumented ) for launching maps appl? I know one for launching maps for driving direction this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(http://maps.google.com/maps? f=dsaddr=37.4,-121.9+ daddr=Bellevue, WAhl=en))); but this goes to driving direction page of maps appl. is there any way to launch maps appl which will open maps home page? Thank you. --~--~-~--~~~---~--~~ 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] no location folder found under data directory for 1.1
no location folder found under data-location-gps directory for 1.1, which contains the mock provider file. --~--~-~--~~~---~--~~ 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] which is gps provider for real device?
On emulator for simulations of GPS there is mock provider gps But which is provider for real device , which provider name requires to give? Is it not require to give provider name for appl of real device, will somebody clear for this issue. --~--~-~--~~~---~--~~ 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] receiving broadcast intent, while appl is closed.
If appl is closed, in which there is broadcast receiver, after receiving it appl perform some activity. This intent is broadcast by other appl but the receiving appl is closed will it receive the broadcast intent. --~--~-~--~~~---~--~~ 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: running appl in background
If service is running in background in another process, independent of foreground activity process. As per my study I got the two ways to know with background process update, 1. using IPC(AIDL) bindService() 2.broadcasting intent from service whenever we want update for particular function. But as far as first option is concerned the foreground activity should be there running. My background process should run even though the fore ground activity is no more on screen. User ca launch other application also while running my background process. So only second option is remains the choice. Or there is any other way. Am I right about bindService() concept[that it remains only the fore activity is there], is there any other way to keep binding with backservice, to know update of it even though fore ground is no more on screen. --~--~-~--~~~---~--~~ 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: showing graph in Application
Here is good solution http://android.arnodenhond.com/graphview --~--~-~--~~~---~--~~ 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] Writing text on images in Android
Hello folk I want to edit image for Writing text on images, is it possible in Android, if so, how to achieve 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] running appl in background
Hello folk I want to run application in background. When user close the foreground screen, application should be running in background. so in foreground there is no screen of this appl, while user can launch other appl also. To achieve this with the service component, is it necessary to create separate process to run this service component or the main appl process is enough to run service component in background. While closing the foreground screen of main appl the process of this appl is also killed? Or is it remain there to run background service. I want suggestion for this issue, Or any other way to attain the goal. Thank you --~--~-~--~~~---~--~~ 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] showing graph in Application
Hello I want to display graph(time ver distance) in Activity , how should be this achieved in Android. is there any tut available? Thank you --~--~-~--~~~---~--~~ 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] How to edit image in Android?
Hello How to edit image in Android? I want to draw text on image, e.g. some custom name. How this can be achieved in Android in easiest way. Thank you. --~--~-~--~~~---~--~~ 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: I want run my application in background, with Service component
Thank you for reply can you just send me the tutorial link, what u mentioned in first paragraph Or any other related tut link. Thank you --~--~-~--~~~---~--~~ 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] I want run my application in background, with Service component
Hello I want run my application in background, with Service component, If the application is running in background then there should be icon of application, so when user click on icon the application should come in fore ground. Is this possible in Android, anybody having suggestions plz welcome. There is provision of Notification Manager for icon, but it is not reacting to user events. Is there any other way to this. Thank you --~--~-~--~~~---~--~~ 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] how to get driving direction info from maps application?
Hello folk After launching Android maps application from other application, how to get driving direction info from maps application? e.g. distance, estimated driving time, etc. is there any way for this, if so plz guide me. Thank you --~--~-~--~~~---~--~~ 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 driving direction info from maps application?
Actually he developed his own code for calculating distance and direction, What I mean is, I launch the new activity with, this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(http://maps.google.com/maps? f=dsaddr=37.4,-121.9+ daddr=Bellevue, WAhl=en))); for showing driving direction on map, This launches the Android's map application and show the path on map, with distance between two location points, So my query is the ' is there any way to retrieve these info (distance expected time, etcd) from android map appl to my appl from where I launched the above activity'. Thank you --~--~-~--~~~---~--~~ 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] can we save mapview data in application database?
hello can we save mapview data in application database, if so what is data format for storing mapview, location data. thank you --~--~-~--~~~---~--~~ 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] In Android can appl send laocation data as MMS or sms?
In Android can appl send laocation data as MMS or sms or any other means(e.g. email)? --~--~-~--~~~---~--~~ 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: When another activity is called from main activity, The calling activity get destroyed?
thank u for reply I got the with it when another activity called from activity by using startActivity (), the calling activity get destroyed, and it is gain created onCreate when control return from called 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] what is maximum size of application database allowable in Android?
hello folk what is the maximum size of application's database allowable in Android? In other words whats max capacity of android appl private database, as well as whats max capacity of content provider available? thank you --~--~-~--~~~---~--~~ 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] How to add plugging of projects to project on eclipse
How to add plugging of projects to project on eclipse, Suppose there is android project having plug ins(e.g. IM package application projects have it) , what is procedure to plugins to project on eclipse IDE. --~--~-~--~~~---~--~~ 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] how to application knows that the view of device changed from portrait to landscape.
how the application knows that the view of device has changed from portrait to landscape. is there any way to know the application about view change. thank you --~--~-~--~~~---~--~~ 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] appl can know the first boot, and return from other activity
when start first i.e when user launch the app from home icon list, the Main activity's onCreate() method is called, And also when Main activity launch other activity, After returning from other activity The main activity's onCreate() method is called, So my question is there any way to differentiate between these two. In other words can appl can know the first boot, and return from other activity Waiting for reply Thank u --~--~-~--~~~---~--~~ 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 can i put the text of different size in the text view
try this textview. setTextSize(int unit, float size) ; refer this for more text operation http://code.google.com/android/reference/android/widget/TextView.html --~--~-~--~~~---~--~~ 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] strange adb logcat
In my logcat following messages, anybody clear me what is meaning of thismesg D/dalvikvm( 245): DexOpt: 'Lorg/xmlpull/v1/XmlPullParser;' has an earlier definition; blocking out D/dalvikvm( 245): DexOpt: 'Lorg/kxml2/io/KXmlParser;' has an earlier definition; blocking out Thank you --~--~-~--~~~---~--~~ 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: Touch event types supported in android v/s windows mobile
hello Touch corr android class OnTouchListener() Tap - OnClickListener() Tao and Hold - OnLongClickListener() Are Supported in android, while Drag n Drop, Touch n move require to impliment --~--~-~--~~~---~--~~ 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] what is difference between OnClickListener and OnTouchListener?
Hello folk what is difference between OnClickListener and OnTouchListener? I don't found any specific difference between them. Thank you --~--~-~--~~~---~--~~ 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] what is difference between OnClickListener and OnTouchListener?
Hello folk what is difference between OnClickListener and OnTouchListener? I don't found any specific difference between them. Thank you --~--~-~--~~~---~--~~ 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] GridView is not coming in center of parent
I am using following to display gridview of images : ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/widget28 android:layout_width=wrap_content android:layout_height=wrap_content GridView android:id=@+id/widget29 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_centerInParent=true /GridView /RelativeLayout But it is giving display left side with center_ vertical, I used android:layout_centerHorizontal=true also to bring grid view in to horizantal center , then also it is giving left side of parent with center_ vertical, I want to display grid view in center(vertical as wel as hori in parent OR if this not possible then Cente_hori); I tried all but for any options but it either gives top_left of parent or either left_with_vertical_center. Whats the matter will some body clear me. --~--~-~--~~~---~--~~ 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: GridView is not coming in center of parent
The problem is the view is not align to center_horizontal to its parent, There is no problem to center_vertical align IS it bug of SDK r2? Thank you --~--~-~--~~~---~--~~ 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] how to count time in android
how to count time in android, e.g player start the game how t count time from start game to end game, I am what r classes to set time and count. --~--~-~--~~~---~--~~ 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] the image captured using Intent i = new Intent(android.media.action.IMAGE_CAPTURE); is very small
hello everybody I am capturing Image from app using : the image captured using Intent i = new Intent (android.media.action.IMAGE_CAPTURE); but it is very small (25*50) Why this is happening; will anybody suggest me solution? thank you --~--~-~--~~~---~--~~ 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] what is command to check SDCARD is present ?
somebody will tel me the command for checking sdcard of device what is command to check SDCARD is present ? or in other words how to appl the sdcard is there or not? thank you --~--~-~--~~~---~--~~ 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] how to set RESULT_OK when activity exit?
how to set RESULT_OK when activity exit? I am launching list activity from main activity using startActivityForResult, after doing work with list activity; i exit from it from it using finish() but it doesn't propagate RESULT_OK to main activity in onActivityResult(), what should I do , so that listact should return RESULT_OK thank you --~--~-~--~~~---~--~~ 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] getting id of current picture taken from camera?
Hello everybody, When I launch camera from my app camera capture picture and when I it save it goes into image media provider, So how should I get image _id for this current picture From media Provider.(I mean I want Uri for this picture content://media/ external/images/1) ; cursor retrieve all image list. I want Image uri which taken from my app. Will some body guide me for this. Thank you --~--~-~--~~~---~--~~ 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] how to launch camera application from appl
hello everybody how to launch camera application from our appl, what is action for it. thank you --~--~-~--~~~---~--~~ 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: For launching a camera from appl which action requires?
Hello James Thanks for replying me, Actually I want Uri of this image(Currently captured from camera) So that I can send this image by using : Uri uri = ContentUris.withAppendedId(Media.EXTERNAL_CONTENT_URI, 2); Intent i = new Intent(); i.setAction(Intent.ACTION_SEND); i.setType(image/jpeg); i.putExtra(Intent.EXTRA_SUBJECT, image5); i.putExtra(Intent.EXTRA_STREAM, uri); i = Intent.createChooser(i, Send); startActivity(i); So how should I get this current images Uri (When save the picture on camera appl it goes into Media.EXTERNAL_CONTENT_URI I just want Uri for this current Image ) Thank you --~--~-~--~~~---~--~~ 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] the imageview object supports which formats images other than png and jpg
Hello everybody The imageview object supports, which formats of images other than png and jpg? Is it supporting *.jif, *.bmp. *.tiff, etc. to display them on sceen of activity? The picture application(on emulator) shows only *.jpg and *.png format it does not shows other format images(*.jif, *.bmp, etc). Will anybody clear me regarding this issue? thank you --~--~-~--~~~---~--~~ 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] filtering images for mime type
Demo Tutorial for filtering images for mime type I am browsing list of images names of *.png ,*,jpeg, it is working correctly I am filtering images of type png and jpeg, IS there in other smart way to achieve this, some thing we can do in manifest or coding so that we will get desired cursor of images(*.png and *.jpeg). cursor = managedQuery(Media.EXTERNAL_CONTENT_URI, null, null, null, null); private void getColumnData(Cursor cur){ if (cur.moveToFirst()) { String id; String title; String name; String mime; String imagePath; int idColumn = cur.getColumnIndex(Media._ID); int titleColumn = cur.getColumnIndex(Media.TITLE); int nameColumn = cur.getColumnIndex(Media.DISPLAY_NAME); int mimeColumn = cur.getColumnIndex (Media.MIME_TYPE); do { // Get the field values id = cur.getString(idColumn); title = cur.getString(titleColumn); name = cur.getString(nameColumn); mime = cur.getString(mimeColumn); if(mime.equals(image/jpeg)||mime.equals(image/png)) { imagePath = id + : + title + : + name; directoryFiles.add(imagePath); } } while (cur.moveToNext()); } } --~--~-~--~~~---~--~~ 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] texts are not adding to intent for email
Hello I am sending image using following. the image successfully send by application. But The subject and text r not getting added to email. I want to add body containing some hyperlink, I am doing this Intent.EXTRA_TEXT but it is not going to added. Will somebody will clear suggest me for. None of EXTRA working (subject, title, text); Uri uri = ContentUris.withAppendedId(Media.EXTERNAL_CONTENT_URI, 2); Intent i = new Intent(); i.setAction(Intent.ACTION_SEND); i.setType(image/jpeg); i.putExtra(Intent.EXTRA_SUBJECT, jigsaw); i.putExtra(Intent.EXTRA_TEXT, http://code.google.com/ android); i.putExtra(Intent.EXTRA_TITLE, ETitle); i.putExtra(Intent.EXTRA_STREAM, uri); i = Intent.createChooser(i, Send); startActivity(i); --~--~-~--~~~---~--~~ 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] the picture appl, comes under which which android package project?
The picture(which show all pictures on device camera as well as sdcard) appl, comes under which which android application(package) project? [e.g camera is one package appl project or another is contact application] thank you --~--~-~--~~~---~--~~ 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] I want to brows the list images names from media provider, will somebody guide me?
I want to brows the list images names from media provider, will somebody guide me? Will following work, I am trying on my basic knowledge public class MImageLists extends ListActivity { private static final String TAG = MImageLists; /** * The columns we are interested in from the database */ private static final String[] PROJECTION = new String[] { Media._ID, // 0 Media.DISPLAY_NAME, //1 }; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Log.i(TAG, Before setContentView); setContentView(R.layout.notes_list); Log.i(TAG, After setContentView); Intent intent = getIntent(); if (intent.getData() == null) { intent.setData(Thumbnails.INTERNAL_CONTENT_URI); } /*Cursor cursor = Media.query(getContentResolver(), Media.INTERNAL_CONTENT_URI, PROJECTION, null, null, Media.DEFAULT_SORT_ORDER);*/ Log.i(TAG, Cursor Successful retrieved); Cursor cursor = managedQuery(getIntent().getData(), PROJECTION, null, null, Media.DEFAULT_SORT_ORDER); //cursor. // Used to map notes entries from the database to views SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.notes_row, cursor, new String[] { Media.DISPLAY_NAME }, new int[] { android.R.id.text1 }); Log.i(TAG, Before setListAdapter); setListAdapter(adapter); } } --~--~-~--~~~---~--~~ 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] what is example of internal_content_uri
hello images on sd-card come under external_content_uri, what is example of internal_content_uri, is the camera images come under internal_content_uri? thank you --~--~-~--~~~---~--~~ 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] what is maximum height and width of image which can display?
what is maximum height and width of image which can display? When I try for 1000px height and 1000pix width it work, but for beyond it, it gives exception, appl force close. --~--~-~--~~~---~--~~ 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] what is maximum height and width of image which can display?
what is maximum height and width of image which can display? When I try for 1000px height and 1000pix width it work, but for beyond it, it gives exception, appl force close. --~--~-~--~~~---~--~~ 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] what is maximum height and width of image which can display?
what is maximum height and width of image which can display? When I try for 1000px height and 1000pix width it work, but for beyond it, it gives exception, appl force close. --~--~-~--~~~---~--~~ 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] Is SDK(r2) support camera capture from desktop devices * (webcams etc). ?
Is SDK(second release) support for camera capture from desktop devices * (webcams etc). ? If no Since real device have its camera. so how should I code for appl which capture images from camera? Thank you --~--~-~--~~~---~--~~ 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: Is SDK(r2) support camera capture from desktop devices * (webcams etc). ?
Actually I am working on emulator, dont have android phone, I am developing app of capture image using camera and use that in my appl. Thank you. --~--~-~--~~~---~--~~ 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: Is SDK(r2) support camera capture from desktop devices * (webcams etc). ?
In other words, What I mean is to pick current image from camera provider which is captured by my appl, So how should I achieve this, some body suggest me process. --~--~-~--~~~---~--~~ 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] For launching a camera from appl which action requires?
For launching a camera from appl which action requires? If start a camera from my appl and captured image, how should I pick-up (retrieve) that current image to my appl from camera provider. what is process for this(which Uri). --~--~-~--~~~---~--~~ 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] how to set width of gridview from java code(dynamically)
how to set width of gridview from java code(dynamically), is there any function to specify the width of grid view dynamically. thank you --~--~-~--~~~---~--~~ 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] I want to decode image bitmap retrieved from Picture application
Hello everybody, will anybody guide me, I want to decode image bitmap picked from Picture application(on a android phone), so How should I achieve this. First thing is how to retrieve image from Picture application, after picking it, if I assign it to temp image variable, is there any method in Bitmap.Factory to decode this image into bitmap. Thank you --~--~-~--~~~---~--~~ 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: I want to decode image bitmap retrieved from Picture application
I am referring http://www.developer.com/java/j2me/article.php/10934_3748281_3 I gone through your article, Its became good help for me. sombody will you help me here, Whatever he created image bitmap is from drawable resource, Is there any way to create bitmap from ImageView Object, containing image. I am not getting exact function from android.graphics.BitmapFactory , for achieving this. Actually I want to pick Image from Picture application(on android phone) and want to decode it into bitmap. Or is there in any other way to achieve this. reply me; Thank you --~--~-~--~~~---~--~~ 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] sending image with URL attached to end of image
can I send image with URL attached to end of image, By which application should I achieve this, I mean by using Email client or MMS application. How to achieve this using this appl, will somebody will tel me process (The way, which intents). Thank you --~--~-~--~~~---~--~~ 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] Not allowing horizontal spacing between grid view item
Not allowing horizontal spacing between grid view item, I am using following for grid view , I don't want horizontal space between grid view item. android:horizontalSpacing=0px android:verticalSpacing=0px by using this there no vertical space between item. But the horizontal space remain there, how to eliminate this horizontal space between grid items. will anybody suggest. --~--~-~--~~~---~--~~ 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] DalvikVm crash While starting Wifi service
Hi all, Could some one help me with the below error logs.. I am running Android on a PXA platform with a custom wifi driver. when I try to invoke Wifi Manager from settings, the GUI crashes. I am attaching the logs below.. Thanks in Advance.. -- I/ActivityManager( 713): Starting activity: Intent { action=android.intent.action.MAIN comp= {com.android.settings/com.android.settings.wifi.WifiSettings} } V/WifiMonitor( 713): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2] V/WifiStateTracker( 713): Changing supplicant state: INACTIVE == SCANNING D/SettingsWifiEnabler( 882): Received wifi state changed from Enabling to Enabled I/ActivityManager( 713): Displayed activity com.android.settings/.wifi.WifiSettings: 369 ms V/WifiMonitor( 713): Event [CTRL-EVENT-SCAN-RESULTS Ready] D/LocationManagerService( 713): NetworkStateBroadcastReceiver: WiFi debug point 1 W/dalvikvm( 713): threadid=15: thread exiting with uncaught exception (group=0x40013e28) E/AndroidRuntime( 713): Uncaught handler: thread android.server.ServerThread exiting due to uncaught exception E/AndroidRuntime( 713): *** EXCEPTION IN SYSTEM PROCESS. System will crash. E/AndroidRuntime( 713): java.lang.RuntimeException: Error receiving broadcast Intent { action=android.net.wifi.SCAN_RESULTS } in com.android.server.LocationManagerService $networkstatebroadcastrecei...@435c8a 90 E/AndroidRuntime( 713):at android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run (ActivityThread.java:667) E/AndroidRuntime( 713):at android.os.Handler.handleCallback (Handler.java:542) E/AndroidRuntime( 713):at android.os.Handler.dispatchMessage (Handler.java:86) E/AndroidRuntime( 713):at android.os.Looper.loop(Looper.java: 123) E/AndroidRuntime( 713):at com.android.server.ServerThread.run (SystemServer.java:313) E/AndroidRuntime( 713): Caused by: java.lang.IllegalArgumentException: key.length 31 E/AndroidRuntime( 713):at android.os.SystemProperties.get (SystemProperties.java:42) E/AndroidRuntime( 713):at com.android.internal.location.LocationCollector.isCollectionEnabled (LocationCollector.java:360) E/AndroidRuntime( 713):at com.android.internal.location.LocationCollector.updateWifiScanResults (LocationCollector.java:259) E/AndroidRuntime( 713):at com.android.server.LocationManagerService $NetworkStateBroadcastReceiver.onRece ive(LocationManagerService.java:1540) E/AndroidRuntime( 713):at android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run (ActivityThread.java:656) E/AndroidRuntime( 713):... 4 more I/Process ( 713): Sending signal. PID: 713 SIG: 9 I/ServiceManager( 652): service 'SurfaceFlinger' died I/ActivityThread( 863): Removing dead content provider: settings I/ActivityThread( 781): Removing dead content provider: settings I/ActivityThread( 773): Removing dead content provider: settings I/ServiceManager( 652): service 'power' died I/ServiceManager( 652): service 'telephony.registry' died I/ServiceManager( 652): service 'package' died I/ServiceManager( 652): service 'activity' died I/ServiceManager( 652): service 'batteryinfo' died I/ServiceManager( 652): service 'meminfo' died I/ServiceManager( 652): service 'content' died I/ServiceManager( 652): service 'cpuinfo' died I/ServiceManager( 652): service 'activity.broadcasts' died I/ServiceManager( 652): service 'activity.services' died I/ServiceManager( 652): service 'activity.senders' died I/ServiceManager( 652): service 'activity.providers' died I/ServiceManager( 652): service 'permission' died I/ServiceManager( 652): service 'battery' died I/ServiceManager( 652): service 'alarm' died I/ServiceManager( 652): service 'sensor' died I/ServiceManager( 652): service 'window' died I/ServiceManager( 652): service 'bluetooth' died I/ServiceManager( 652): service 'audio' died I/ServiceManager( 652): service 'wifi' died I/ServiceManager( 652): service 'connectivity' died I/ServiceManager( 652): service 'notification' died I/ServiceManager( 652): service 'mount' died I/ServiceManager( 652): service 'devicememorymonitor' died I/ServiceManager( 652): service 'statusbar' died I/ServiceManager( 652): service 'hardware' died I/ServiceManager( 652): service 'netstat' died I/ServiceManager( 652): service 'location' died I/ServiceManager( 652): service 'search' died I/ServiceManager( 652): service 'clipboard' died I/ServiceManager( 652): service 'checkin' died I/ServiceManager( 652): service 'wallpaper' died I/ActivityThread( 882): Removing dead content provider: settings E/installd( 662): eof E/installd( 662): failed to read size I/installd( 662): closing connection I/Zygote ( 657): Exit zygote because system server (713) has terminated I/ServiceManager( 652): service 'simphonebook' died I/ServiceManager( 652): service 'isms' died I/ServiceManager(