[android-developers] Need help on Android 6.0 on : how to enable the ip forward functionalityvia adb on Android 6.0

2017-02-19 Thread Yang Sean
In a recent project , I have enabled 2 network cards on the Android 6.0(1 for internal networks and 2 for external internet, the client can ping its own gateway by now )---now I want to enable the ip forward for these 2 networks so that intranet client also can access internet via network 2, b

[android-developers] Start service after android device boot as fast as Facebook service?

2016-06-09 Thread seney sean
I am implementing one android service which needs to run when device is turn on. What I have already try is to use intent action BOOT_COMPLETED and it works, but I realize that my service needs long time to start in comparing to Facebook service. I want my service start quickly as Facebook serv

[android-developers] Android Geocoder stopped working with bounding box

2014-09-03 Thread Sean Barbeau
, you should check your app. Its a subtle bug unless a user reports it to you directly, depending on how the geocoder is integrated into your app. I've also posted on this to the Android Development G+ group here: https://plus.google.com/104230720789224785692/posts/Mm5YwzeUoZV Sean --

Re: [android-developers] Re: Documentation links for Google Maps Android API v2 broken

2013-05-28 Thread Sean Barbeau
se alarm if this was just me, but if anyone else is having the same issue the above steps should fix it. Sean On May 28, 2013 5:57 PM, "Lew" wrote: > Sean Barbeau wrote: >> >> Just in case this isn't a known issue (I haven't seen any other posts >> about it

[android-developers] Documentation links for Google Maps Android API v2 broken

2013-05-28 Thread Sean Barbeau
pers.google.com, and links/content for everything except the API reference didn't make the trip. Thanks, Sean Barbeau -- -- 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@g

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 7 Topics

2013-04-22 Thread Sean Martin
On Fri, Mar 1, 2013 at 1:43 AM, wrote: > Today's Topic Summary > > Group: http://groups.google.com/group/android-developers/topics > >- ArrayAdapter Vs BaseAdapter. <#13d24b1494be778d_group_thread_0> [3 >Updates] >- Hearing Aid <#13d24b1494be778d_group_thread_1> [6 Updates] >- R

Re: [android-developers] Re: intel-accelerated emulator + maps API with SDK v21

2013-01-17 Thread Sean Felipe Wolfe
s**t I mean v1. On Thu, Jan 17, 2013 at 1:40 PM, Sean Felipe Wolfe wrote: > yes, the original maps api v2. > > On Thu, Jan 17, 2013 at 12:02 PM, lbendlin wrote: >> This is for map api v1, right? As I understand it map api v2 is not >> supported on the emulator. >> &g

Re: [android-developers] Re: intel-accelerated emulator + maps API with SDK v21

2013-01-17 Thread Sean Felipe Wolfe
yes, the original maps api v2. On Thu, Jan 17, 2013 at 12:02 PM, lbendlin wrote: > This is for map api v1, right? As I understand it map api v2 is not > supported on the emulator. > > > On Thursday, January 17, 2013 1:55:06 PM UTC-5, seansf wrote: >> >> Hey y'all >> >> I need to use the maps API

[android-developers] intel-accelerated emulator + maps API with SDK v21

2013-01-17 Thread Sean Felipe Wolfe
Hey y'all I need to use the maps API target and I really do like the Intel-accelerated emulators. I have been using this hack to create a system.img file with the maps api loaded: http://38911bytes.blogspot.com/2012/03/how-to-use-google-maps-api-in-android.html However with v21 of the sdk tools,

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-11-20 Thread Sean Watkins
For me this is a massive kick in the teeth. While i completely understand the Android Team's concerns and that of the user i am concerned that functionality is removed before alternatives are given. My biggest issue is the inability to read the Radio logs of a device. Which i had set my app up

[android-developers] Re: TelephonyManager getLine1Number() returns 10 or 11 characters?

2012-10-29 Thread Sean Stalker
I know this is an old post... Try: android.telephony.PhoneNumberUtils.formatNumber (String source) -- You received this

[android-developers] Re: Android sdk not update

2012-10-25 Thread Ye Sean
Hi, I also get this problem and I found that the root cause is can not download the data successfully from the update site. The error message confused me and guide your wrong way. 在 2012年8月20日星期一UTC+8下午4时33分55秒,NN写道: > > Hello , i download android sdk, not download package: Downloading Androi

[android-developers] Re: Async pattern required (professionals welcome)

2012-08-29 Thread Sean O'Neil
Keep a reference to the current Context inside your AsyncTask. Then in your onCreate(), either start up new tasks if they aren't running, or set the new Context in them if they are. On Wednesday, August 29, 2012 3:25:31 PM UTC-4, itai wrote: > > I’m struggling to figure out a straight forward de

Re: [android-developers] The lightest UI element to show a background picture?

2012-08-20 Thread Sean Wang
thx mark! On Aug 20, 2012 5:35 PM, "Mark Murphy" wrote: > On Mon, Aug 20, 2012 at 8:16 PM, Sean Wang > wrote: > > What is the lightest UI element to show a background picture? The only > > purpose is just to put a static picture onto some place in the screen. >

[android-developers] The lightest UI element to show a background picture?

2012-08-20 Thread Sean Wang
Hey, What is the lightest UI element to show a background picture? The only purpose is just to put a static picture onto some place in the screen. Thanks --Sean -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

Re: [android-developers] LocationManager requestLocationUpdates minTime parameter not working

2012-08-03 Thread Sean Barbeau
should be resolved. Full discussion of this issue for anyone interested is at the original patch submission link: https://android-review.googlesource.com/#/c/34230/ On Friday, April 6, 2012 1:11:34 PM UTC-4, Sean Barbeau wrote: > > StarTrax, > Interesting, you're right, looks

Re: [android-developers] Content Provider URIs Documented?

2012-07-29 Thread Sean O'Neil
Is this still true for the current version of Google Talk? -- 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-develo

[android-developers] Google Now - College Football info

2012-06-30 Thread Sean Rowe
I have noticed it doesn't show scores for past college football games. I understand the last game was in January so maybe it just has cards for current sporting events. However once college football comes around I would LOVE to be able to check scores with Google voice search. -- You received

Re: [android-developers] LocationManager requestLocationUpdates minTime parameter not working

2012-04-06 Thread Sean Barbeau
he code that has the problem, it would explain why it appears in devices from multiple OEMs. I haven't done much with the NMEA listening capabilities of Android, but would be interested in hearing more about differences between NMEA messages and LocationListener output. Sean On Thursday, Apr

Re: [android-developers] Re: Get and save GPS location while i am walking

2012-04-02 Thread Sean Barbeau
ike make phone calls), you need to use GPS wisely. Sean On Friday, March 30, 2012 10:10:53 PM UTC-4, lbendlin wrote: > > A full battery on the phone can easily support 8 hrs of constant GPS > tracking, especially when the screen is off. Now go walk for 8 hrs. > > On Thursday, M

Re: [android-developers] LocationManager requestLocationUpdates minTime parameter not working

2012-04-02 Thread Sean Barbeau
willing to accept this patch. If the patch is accepted, it would provide a fail-safe method for developers on all future Android devices to ensure that GPS scheduling performs as intended from the application's perspective. Thanks, Sean Sean Barbeau Center for Urban Transportation Researc

Re: [android-developers] LocationManager requestLocationUpdates minTime parameter not working

2012-04-02 Thread Sean Barbeau
opers on all future Android devices to ensure that GPS scheduling performs as intended from the application's perspective. Thanks, Sean Sean Barbeau Center for Urban Transportation Research University of South Florida -- You received this message because you are subscribed to the Goo

[android-developers] Re: Get and save GPS location while i am walking

2012-04-02 Thread Sean Barbeau
/com/google/android/apps/mytracks/content/MyTracksProvider.java Sean Sean Barbeau Center for Urban Transportation Research University of South Florida On Thursday, March 29, 2012 12:22:47 PM UTC-4, Spica wrote: > > Guys, > How i can save GPS locations while i am walking? I will be d

[android-developers] What's the pros for using webview instead of native client UI?

2012-03-18 Thread Sean Wang
Hi, I'm quite confused with the usage of webview. You could implement the same UI either by just a webview or xml + native client UI widgets. So what's the pros and cons for web view? When to use it? The only benefit I could see about webview is that you can save some time when doing cross-platfor

[android-developers] KEYCODE_ENDCALL just a check

2011-12-05 Thread Sean Watkins
I just wanted to know if there is anyway to just check when the endcall button is clicked. I don't want to inject anything into the key press i just need to know when the button is pressed. Is there anyway to do this? i have looked but everyone says you can't change the functionality of the button

[android-developers] Configure exchange email account via Android API

2011-10-27 Thread Sean W
I'd like to write an application that, given a username and password, will (among other things) configure an exchange email email account on the device. Is it possible to do via the Android API? If so, via what class? -- You received this message because you are subscribed to the Google Groups "A

[android-developers] New to Android

2011-10-27 Thread Sean Thomas
I'm new to Android and I'm trying to work my way around Android. I opened Eclipse and I was able to play around with Hello Android and some of the samples. I have an App that was coded already and I want to run it in emulator. I tried saving the app in samples directory of SDK and run as a sampl

[android-developers] Re: Problem with monkeyrunner. java.lang.ClassCastException when use sameAs().

2011-09-28 Thread Sean Wang
As > method. > > On Jul 11, 12:22 am, Sean Wang wrote: > > > > > > > > > Hi, Now I am using the monkeyrunner with Android SDK_r12. Also got > > this problem. > > OS: Win7 x64 professional > > Java: Sun Java 1.6.0_25 32bit version > > Monkeyrun

[android-developers] Question about new large heap feature in HC

2011-08-24 Thread Sean kim
Hi all. I'm wondering the difference about large heap between GB and HC. I think that GB uses large heap feature for every app without any attribute like "android:largeheap". but HC can create new heap with growth limit not Max heap size. Can anyone explain the difference between GB and HC? --

[android-developers] Re: Problem with monkeyrunner. java.lang.ClassCastException when use sameAs().

2011-07-11 Thread Sean Wang
Hi, Now I am using the monkeyrunner with Android SDK_r12. Also got this problem. OS: Win7 x64 professional Java: Sun Java 1.6.0_25 32bit version Monkeyrunner is the one in Android sdk_r12 build, not built by myself. The log is below: C:\Users\dell>monkeyrunner Jython 2.5.0 (Release_2_5_0:6476, Ju

[android-developers] AsyncPlayer.play(Context context, Uri source, boolean looping, int stream) Looping Forever when looping == false.

2011-06-09 Thread Sean Maddox
Been having this issue on every OS version from 1.6 to 2.3.3; All devices; Whenever source is set to a uri, even with looping set to false, the audio replays forever and even keeps the activity running after using the "return" (back) button on the phone. Short of using a Task killing app, the audi

[android-developers] Android 3.1 presentation - Portland Code Camp 2011

2011-06-06 Thread Sean Sullivan
I gave a presentation on Android 3.1 at Portland Code Camp on June 4th. The slides are available here: http://www.slideshare.net/sullis/android-31-portland-code-camp-2011 Sean -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: Long Press on Power Key with MonkeyRunner

2011-06-03 Thread Sean Wang
Sorry for dig this out. I also has the similar issue about the long press event in monkeyrunner. I tried to long pressing DEL key using DOWN event, but it only delete one character. I have tried on Nexus S (v2.3.4) and HTC Desire HD (v2.2.1), the same result came. And even for this example concer

[android-developers] Querying for Product List

2011-03-31 Thread Sean
o the Google Checkout screen. Thanks, Sean -- 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-deve

[android-developers] Android 3.0 presentation on Slideshare

2011-03-16 Thread Sean Sullivan
I gave a presentation about Android 3.0 at the Portland Java User Group on March 15th. The slides are available here: http://www.slideshare.net/sullis/android-30-portland-java-user-group-20110315 Cheers, Sean -- You received this message because you are subscribed to the Google Groups

[android-developers] Feasibility of developing Augmented Reality "map points" that can have associated text/media.

2011-01-18 Thread Sean
on's understanding of the underlying mechanisms but would sincerely appreciate hearing the opinions of the experts of this group. Kind regards, Sean -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] List of zip codes in a given radius

2011-01-04 Thread Sean
l down the information from this database, but if I'm able to do this native to the Android API, that would obviously be preferable. Thanks! -Sean -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

Re: [android-developers] Re: sending c2dm: java.security.cert.CertificateException: No subject alternative DNS name matching android.apis.google.com found.

2010-09-21 Thread Sean Liao
; name matching android.apis.google.com found. > > Can you update me if you've found a solution? > > Thanks, > Wei > > On Aug 12, 1:39 pm, Sean Liao wrote: > > I appreciate if you kindly take a quick look of my issue of sending a > C2DM > > to

Re: [android-developers] Exception Logging

2010-09-18 Thread Sean Chitwood
I believe option A is the best. One thing you might consider as a premium option for developers is reporting showing which crashes are more prevalent than others. I know Microsoft does this internally for application crashes reported via Watson. --Sean Calendar: http://www.google.com/calendar

Re: [android-developers] Re: android doesn't recognize battery

2010-09-10 Thread Sean Chitwood
d not properly handling the kernel event. --Sean Calendar: http://www.google.com/calendar/embed?src=darkmane%40gmail.com Livejournal: http://darkmane.livejournal.com Every 5 minutes you spend writing code in a new language is more useful than 5 hours reading blog posts about how great the language is.

Re: [android-developers] Re: One day sale made my paid app free, now I cannot revert!

2010-09-08 Thread Sean Chitwood
Isn't that what they have done by requiring you to re-list the app? --Sean Calendar: http://www.google.com/calendar/embed?src=darkmane%40gmail.com Livejournal: http://darkmane.livejournal.com Every 5 minutes you spend writing code in a new language is more useful than 5 hours reading blog

[android-developers] bluetooth discoverability limitations?

2010-09-02 Thread Sean Liao
place? Thanks in advance. Sean -- 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-developer

[android-developers] sending c2dm: java.security.cert.CertificateException: No subject alternative DNS name matching android.apis.google.com found.

2010-08-12 Thread Sean Liao
or something wrong aleady? Then, I am getting java.security.cert.CertificateException: No subject alternative DNS name matching android.apis.google.com found. Any suggestion or pointer? Thanks in advance. Sean -- You received this message because you are subscribed to the Google Groups "Androi

Re: [android-developers] Testing C2DM service on Android 2.2 emulator

2010-08-11 Thread Sean Liao
I am having the same problem ... any solution or any pointer? On Tue, Jul 6, 2010 at 9:59 AM, guligo wrote: > Hi guys, > > I am playing around with C2DM service. What I am concerned about is > that I cannot test my device-side application from Android 2.2 > emulator. The application was built mo

Re: [android-developers] Re: Sending and reveiving mails in emulator

2010-07-13 Thread Sean Hodges
m and log your issue there. I ran a quick search on the issue list for any existing bugs and didn't find any, but have a look yourself in case I missed one. > > Thank you very much! No problem :) > > -Danny Schimke > > On Jul 12, 5:00 pm, Sean Hodges wrote: >> D

Re: [android-developers] Re: Sending and reveiving mails in emulator

2010-07-12 Thread Sean Hodges
my account). I > tried to send an message but the mail stays in the outgoing > directory... I also cannot see my labels and (new) messages in the > emulator. > > In the web I found no solution for this or a similar issue... > > I tried using SDK 7 and 8! > > -Danny Schi

Re: [android-developers] Re: Sending and reveiving mails in emulator

2010-07-12 Thread Sean Hodges
I'll take that as a BUMP :) Have you seen this thread? http://www.mail-archive.com/android-port...@googlegroups.com/msg06255.html How have you set up your GMail account in the Email app? IMAP? Can you connect to the Web OK using the emulator browser? On Mon, Jul 12, 2010 at 10:55 AM, Danny Schi

Re: [android-developers] How should I do this?

2010-07-11 Thread Sean Chitwood
is is called when the connection with the service has been // unexpectedly disconnected -- that is, its process crashed. // Because it is running in our same process, we should never // see this happen. dssShow = null; } }; --Sean Cal

[android-developers] How should I do this?

2010-07-10 Thread Sean Chitwood
ed to ask for some help. Does anyone have any suggestions? Would seeing more code help? I have to admit to being a bit confused by the whole SOA thing. --Sean Calendar: http://www.google.com/calendar/embed?src=darkmane%40gmail.com Livejournal: http://darkmane.livejournal.com Every 5 minutes you

Re: [android-developers] Android IMEI with letter :O

2010-07-08 Thread Sean Hodges
Can you give an example? If you are detecting non-digits, perhaps they are dashes "-" separating the identifier components? Be careful when making assumptions on this value as not all Android devices are phones, and as far as I'm aware manufacturers could potentially pass anything back from a getD

Re: [android-developers] Re: Twitter App Source Code

2010-07-07 Thread Sean Hodges
It hasn't been announced yet. On Wed, Jul 7, 2010 at 3:31 PM, zachariahyoung wrote: > Does anybody know when it will be released? > > On Jul 7, 9:16 am, Mark Murphy wrote: >> On Wed, Jul 7, 2010 at 10:14 AM, zachariahyoung wrote: >> > Where can I find the source code for the Android Twitter App

Re: [android-developers] Re: User comments available in the developer console!

2010-06-30 Thread Sean Hodges
On Wed, Jun 30, 2010 at 3:45 PM, TreKing wrote: > let's be honest - it's still fairly useless save for > the convenience factor. I wouldn't say useless, the comment feed looks to be real-time, and therefore more up-to-date than Cyrket and other sites (based on what I've seen in my app listings).

Re: [android-developers] How To Override the “Back ” button so it doesn’t Finish() my Activity?

2010-06-29 Thread Sean Hodges
When the user presses the back button, the activity in the foreground is stopped (and destroyed). This is what always happens, for all apps. What you really want is to restore the state of your activity when it is re-launched. See: http://developer.android.com/intl/fr/reference/android/app/Activit

Re: [android-developers] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-06-24 Thread Sean Hodges
On Thu, Jun 24, 2010 at 1:24 PM, Mark Murphy wrote: > On Thu, Jun 24, 2010 at 3:27 AM, LeveloKment > wrote: >> What is your advice to make the development team at least aware was >> this "potential improvement"? > > Post something on http://b.android.com -- short of contributing a > patch (or at

Re: [android-developers] Background apps (Instant Messaging) being killed without user notification

2010-06-23 Thread Sean Hodges
What Kostya said. When memory is critically low on the device, apps are killed outright to regain user control. Android was originally designed for mobile phones, and nobody wants to miss an incoming call because they have run out of memory. No notification is passed to the user, because well writ

Re: [android-developers] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-06-23 Thread Sean Hodges
On Wed, Jun 23, 2010 at 9:46 AM, LeveloKment wrote: > Come on. > No information? No opinion? No advice how to address this issue to the > Android development team? This particular functionality belongs in the system layer, not user-space apps. Log an enhancement ticket on b.android.com, and cons

Re: [android-developers] Re: Avoiding GPL

2010-06-23 Thread Sean Hodges
You really need to consult a specialist on this subject, developers (including me) have a tendency to give out "I am not a lawyer" type advice, which is inherently unreliable. In the strategy you describe, I believe putting A and B in the same APK means you are distributing both components as a si

Re: [android-developers] Animated widgets?

2010-06-22 Thread Sean Hodges
What is the problem you are trying to solve? Perhaps there is a better solution than an app widget. For instance, you can have a canvas in a live wallpaper (assuming you do not need to support Android 1.x), or maybe the animation could be triggered after clicking on the app widget (e.g. it opens a

Re: [android-developers] Re: Extract text from image

2010-06-21 Thread Sean Hodges
Sreehari, OCR is not really an Android topic, I'd be surprised if anyone had any out-of-the-box sample code you could just use. One relatively straight-forward solution might be to use an OCR Web service to convert your images. A quick search brings up: http://www.ocrwebservice.com/, which has a

Re: [android-developers] READ_PHONE_STATE and WRITE_EXTERNAL_STORAGE automatically required?

2010-06-21 Thread Sean Hodges
Can't say I've seen this before. Do you mean the permissions are automatically added to the AndroidManifest.xml, or that your app requests those permissions even without the entries present? If it's the former, have you tried just removing those permissions from your manifest? On Mon, Jun 21, 2

Re: [android-developers] Re: Android finishActivity()

2010-06-16 Thread Sean Hodges
Hello Mike, I somehow missed your last email. On Wed, Jun 16, 2010 at 5:16 AM, mike wrote: > Hi Sean, > > i hope you also has gone out of answers. any way kindly let me know > this. > > A --> B --> C --> C --> where? C to A? C to finished? C to force close dial

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

2010-06-14 Thread Sean Hodges
.content.Intent.ACTION_SEND); > i.setType("image/jpg"); > i.putExtra(Intent.EXTRA_SUBJECT, "Neils Subject"); > i.putExtra(Intent.EXTRA_TEXT, "Hello Neil, check this out"); > i.putExtra(Intent.EXTRA_STREAM, uri); > startActivity(i); > > This acuta

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

2010-06-14 Thread Sean Hodges
torage, and use the URI format I gave in the example. On Mon, Jun 14, 2010 at 10:57 AM, Neilz wrote: > I've just been looking for something like this myself... a timely > topic. > > Please could you edit this code to show how I would send an image from > the @drawable folder?

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

2010-06-14 Thread Sean Hodges
That is because there are multiple apps on your phone that can handle the intent. See the documentation: http://developer.android.com/intl/fr/reference/android/content/Intent.html#ACTION_SEND On Mon, Jun 14, 2010 at 5:31 AM, mike wrote: > hi sean, > > when i try to send a mms using

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

2010-06-12 Thread Sean Hodges
Mike, In the way I described, you are correct. There may be some way of returning the success of the MMS delivery by using startActivityForResult() instead of startActivity(), but you will have to take a look at the SMS app source code to see what is available there. Regards, Sean On Sat, Jun

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread Sean Hodges
, 2010 at 4:06 PM, John T. Haggerty wrote: > Ive heard rumors of things like that however never seen anything proving > this even with exploratory web searches.one would assume they are very much > unadvertised > > On Jun 10, 2010 8:24 AM, "Sean Hodges" wrote: >>

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread Sean Hodges
On Thu, Jun 10, 2010 at 3:08 PM, TreKing wrote: > On Thu, Jun 10, 2010 at 4:15 AM, Sean > Hodges  wrote: >> >> I don't think you can upload it to the Android Market, > > Well, you *can*, as evidenced by the plethora of adult apps already on the > Market. > You j

Re: [android-developers] How to resolve the "hide" interface in Eclipse

2010-06-10 Thread Sean Hodges
You can exclude classes (or entire packages) from the build in Eclipse by right-clicking on them and selecting "Build Path" -> "Exclude". On Thu, Jun 10, 2010 at 12:26 PM, yangm wrote: > I use Eclipse to develop my application, but I wan to use some @hide > interface. > > -)In Eclipse, build fail

Re: [android-developers] Is it possible to link to iTunes Store from Android application?

2010-06-10 Thread Sean Hodges
I don't think so, Apple haven't released an API for iTunes. You might be able to hack something together, pulling the files off the local hard disk, etc, but be prepared to fight against compatibility problems between versions. On Thu, Jun 10, 2010 at 12:23 PM, Samuh wrote: > Is it possible to

Re: [android-developers] Re: How global is the app market?

2010-06-10 Thread Sean Hodges
I agree, it's a little tricky to use a Chinese language-only site when, like me, you are not able to read Chinese. I admit, it's completely my fault that I'm not multilingual, but there are many like me and it is a barrier for both sides. Also, even if I could navigate my way around the site, woul

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread Sean Hodges
I don't think you can upload it to the Android Market, but other app markets will allow it. One such market: http://www.mikandi.com/ - NOTE: *not* suitable for work, depending on your work :) On Thu, Jun 10, 2010 at 8:33 AM, Zaid wrote: > i read in the android content guidelines that no 18+ or

Re: [android-developers] automatically turn on application

2010-06-09 Thread Sean Hodges
You might be able to use a Service and SensorListener for this, you will need to work out how often you would want to run the Service to poll the accelerometer for movement, as frequent polling will drain the battery. I've also read that the sensors can stop returning results when the screen goes

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

2010-06-09 Thread Sean Hodges
tivity as expected, remove this line in your production code intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); getContext().startActivity(intent); } } If the referenced image does not exist, you should get a warning pop-up when the SMS app launches. On Wed

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

2010-06-09 Thread Sean Hodges
It opens the SMS app so you can enter the contact number, see my email earlier. On Wed, Jun 9, 2010 at 2:25 PM, mike wrote: > hi guys, > > According to the site this is the code > >        Intent sendIntent = new Intent(Intent.ACTION_SEND); >                        sendIntent.putExtra("sms_body"

Re: [android-developers] Can't grok Activity life cycle.

2010-06-08 Thread Sean Hodges
engine tends to handle this by wrapping a SurfaceView and keeping track of the context during the lifecycle: http://code.google.com/p/rokon/source/browse/trunk/OpenGL/GLSurfaceView.java?spec=svn25&r=25. This seems to be effective, but it does leave you wondering why the context lifetime isn

Re: [android-developers] Does specifying 2.2 exclude any devices?

2010-06-08 Thread Sean Hodges
An interesting question. Many of us outside the U.S. are still on 2.1, what's your app called? I'll check that I can see it on the market and run it without problems. Have you tested your app on older versions of Android? I have several emulator AVD's for testing against 1.5, 2.1, and 2.2. It woul

Re: [android-developers] Can't grok Activity life cycle.

2010-06-08 Thread Sean Hodges
There are a lot of large successful games available on Android, and they all appear to be using the activity lifecycle without much problem. I would start by taking a look at how they work. My experience is that a game might "pause" when I leave to answer a phone call or run another app. When I re

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

2010-06-07 Thread Sean Hodges
There is currently no public API available for sending MMS messages (that is, SMS messages with embedded multimedia content). You can launch the built-in MMS app along with your content using an Intent, as described here: http://jtribe.blogspot.com/2008/12/sending-mms-with-android.html. Alternati

Re: [android-developers] Re: MediaController in MediaPlayer

2010-06-07 Thread Sean Hodges
from MediaPlayerControl... mediaPlayer.pause(); } // ... } I haven't tested this, but I don't see why it shouldn't work. Sean On Mon, Jun 7, 2010 at 2:41 PM, Abhi wrote: > Hey Sean > > Thanks for the link. But that's using VideoView and I am using >

Re: [android-developers] Re: MediaController in MediaPlayer

2010-06-07 Thread Sean Hodges
Hey Abhi, Take a look at the VideoDemo class in Mark Murphy's tutorial projects: http://github.com/commonsguy/cw-advandroid/blob/master/Media/Video/src/com/commonsware/android/video/VideoDemo.java On Mon, Jun 7, 2010 at 2:28 PM, Abhi wrote: > guys > > any lead on this question would help me a

Re: [android-developers] Passing Bitmap to Another Activity

2010-06-07 Thread Sean Hodges
Personally, I would avoid keeping that bitmap in memory, otherwise you are consuming a lot of resources and run the risk of hitting performance/heap space limitations. You could use openFileOutput() and getCacheDir() to store the contents of the Bitmap into a temporary file: http://developer.andro

Re: [android-developers] App disappears from the Market after upgrade

2010-06-07 Thread Sean Hodges
I can confirm the app is available on my Nexus One and the G1. It's also visible on the Android Market according to Cyrket: http://www.cyrket.com/p/android/net.yuvalsharon.android.netsms/ If it has only disappeared on your phone, perhaps you need to turn the sync setting on so the Android Market

Re: [android-developers] Re: Android finishActivity()

2010-06-05 Thread Sean Hodges
OK I must have misinterpreted your description, so you want: A -> B -> C -> B -> (close) The simple answer is to move the android:noHistory="true" from the Activity B declaration, to the Activity A one. On Sat, Jun 5, 2010 at 3:25 PM, mike wrote: > Hi Sean, > &

Re: [android-developers] how to listen for system wide key presses

2010-06-04 Thread Sean Hodges
I'm not aware of a system-wide key press listener, but check out the org.openintents.audio.action_volume_update bradcast intent: http://www.openintents.org/en/node/380 That should allow you to detect changes in the volume setting (including the button presses). On Fri, Jun 4, 2010 at 4:24 PM, E

Re: [android-developers] How does a "held" wakelock impact if the service dies with out releasing it?

2010-06-04 Thread Sean Hodges
Wake locks should be released when the object is garbage collected. See the finalize() method in the WakeLock subclass here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/os/PowerManager.java You will get a thrown exception in your logs if this occurs.

Re: [android-developers] Re: Android finishActivity()

2010-06-04 Thread Sean Hodges
button again will close the application. Cheers, Sean On Fri, Jun 4, 2010 at 1:03 PM, mike wrote: > hi Sean, > > this is what i have done. > > i Have 3 activities. Activity A, Activity B, and Activity C. > > Activity A is the starting Activity. > > according to a user

Re: [android-developers] Re: Android finishActivity()

2010-06-04 Thread Sean Hodges
'm on the wrong track here, perhaps you could describe what you want step-by-step. At the moment, it sounds like you want the stack to have just one activity at all times. Cheers, Sean On Fri, Jun 4, 2010 at 9:52 AM, mike wrote: > hi Sean Hodges, > > it's working correctly.

[android-developers] Re: Email via seanhodges.co.uk website

2010-06-02 Thread Sean Hodges
an idea of what you're trying to achieve, and I'll look into putting together an example project for you. Regards, Sean On Wed, Jun 2, 2010 at 2:16 PM, wrote: > Hello Sean, > > sorry that I am writing you, but I have read your post on the android > developer group ab

Re: [android-developers] Re: Android finishActivity()

2010-06-02 Thread Sean Hodges
Mike, You've done half the work already, except there is a little confusion on the purpose of the finishActivity() method. That method only works the other way around (closing Activity B from Activity A). What you need to do now is send a "result" back to Activity A telling it to call finish(). S

Re: [android-developers] Re: Petitions to Google

2010-05-21 Thread Sean Hodges
On Fri, May 21, 2010 at 3:06 PM, Leigh McRae wrote: > Why should I have to write interfaces or factory objects for something I > know at compile time? Why do I need to write and maintain more code just so > OOP purists can feel good about themselves?  Why should I have to use > runtime if statemen

Re: [android-developers] Re: Android Market Developer Console Bugs feature

2010-05-21 Thread Sean Hodges
Yeah, you can't trick it like that String. It uses the Prediction API to only log bugs that it believes you don't know about. On Fri, May 21, 2010 at 11:37 AM, String wrote: > On May 21, 8:51 am, westmeadboy wrote: > >> Does anyone know whether it works for apps not installed via the >> Market (

[android-developers] FroYo and PDF

2010-05-03 Thread Sean Chitwood
So we heard recently that Flash will be supported by the 2.2 release of has anyone heard about PDF support? I am reading an RSS feed and it has some notes in PDF format that I would like to display within my app. --Sean Calendar: http://www.google.com/calendar/embed?src=darkmane%40gmail.com

[android-developers] BroadcastReceiver, Intent objects

2010-05-01 Thread Sean Sullivan
orm source code but didn't find an answer. Thank in advance. Sean -- 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, se

[android-developers] ndk to access native bluetooth lib?

2010-05-01 Thread Sean Liao
looking for any pointer or advise using NDK to access to native bluetooth lib. is it doable? anyone have good or bad experience to share? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

Re: [android-developers] Market

2010-04-26 Thread Sean Hodges
If you don't mind a potential delay after publishing the other app, then you could query Cyrket for its package name. For instance: "http://www.cyrket.com/p/android/com.blau.android.richer/"; You will get a 200 (success) response if the app is available on the market, or a 404 (page not found) if n

Re: [android-developers] Display some part of HTML file in WebView

2010-04-21 Thread Sean Hodges
Why must all the content be on a single HTML page? If you really can't split it out, you could use some Javascript actions to hide/display sections of the HTML page when the user clicks the '>' button. However, the browser will still need to download and render the entire page when it loads, which

Re: [android-developers] How many Android phones have touchscreens?

2010-04-21 Thread Sean Hodges
If you are a beginner, you should really be posting to the android-beginners list. I believe all of the current Android phones have touch screens. On Wed, Apr 21, 2010 at 10:24 AM, angushir...@googlemail.com wrote: > Hi all, >        a simple question from a beginner - how many of Android phone

[android-developers] Search Activity / Suggestion Provider affects Parent Activity Lifecycle

2010-04-13 Thread Sean Overby
y() when finish() is called so it is definitely going away. If anyone has any suggestions I'd be most appreciative. Thanks, Sean Overby -- Sean A. Overby -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] programatically disable local BT discoverability

2010-04-06 Thread Sean Liao
Is there a way to turn local bt discoverability off programatically? I know I can set a timer when turn it discoverable, just wondering if I can turn it off anytime programmatically based on dynamic business logics? Any pointer are highly appreciated. -- You received this message because you ar

Re: [android-developers] Activity Being Killed (onDestroy) on Orientation Change

2010-04-06 Thread Sean Hodges
On Mon, Apr 5, 2010 at 6:50 AM, Gaurav Vaish wrote: > Problem: > When the orientation is changed, the Application is notified about > onConfigurationChange but: > > a) The "current" activity is Destroyed and recreated -- which is fine > to some extent > b) The new instance which is created is auto

  1   2   3   >