[android-developers] Re: Service Being paused on screen off.

2011-07-20 Thread Jan Nielsen
The common ways to sleep in java, only counts cpu time on the Android platform. So a Thread.sleep(60 * 1000); may become 5 or 10 minutes if the phone is in standby, since it only counts when the cpu is awake. afaik you need to use AlarmManager to get called when the phone is in standby. Even a

[android-developers] Re: Posting on facebook through my Android APP

2011-07-20 Thread andrew
To post to the stream (wall) you will need a valid auth token. So a dialog (once) will be difficult to avoid. After that you will have to use the FB REST API and do the requests yourself. See docs on developer page at Facebook.com -- You received this message because you are subscribed to the

[android-developers] onReceive method sometimes not called

2011-07-20 Thread inxis
I have an SMS sender application which reads messages from a db table outbox and writes it to the sentbox afterwards. Everything is running but I just noticed that in some cases, the broadcast receiver doesn't receive the intent sent by the sendTextMessage() method. What could be the possible

[android-developers] Google Checkout Problem

2011-07-20 Thread Perry168
Hi all, Today, I login my google checkout. I found that it can't show all orders. Who has the same problem? -- 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

[android-developers] how to get info about pdp connection ,download and upload speed and total call placed in android ??

2011-07-20 Thread ashokm
want to get below informations in android.(currently working on android 2.2 api version.) 1.check whether pdp connection is active or not. 2.get download and upload speed. 3.get total number of call placed and call fails. are there any api to give the all above informations. Please reply me if

[android-developers] Intent filter changed on Android 3.2?

2011-07-20 Thread Tor
Hello, I have an app that triggers on YouTube URLs, and it worked as designed until Android 3.1. Does anyone know what happened in 3.2 that prevents my app from launching? (I can't see any changes regarding intent- filters in the 3.2 documentation..) Kind regards, Tor -- You received this

[android-developers] Re: Intent filter changed on Android 3.2?

2011-07-20 Thread Zsolt Vasvari
Nope, but I am sure a lot of changes are not documented. For example, 1280x800 devices now report their screen size as 1280x752. On Jul 20, 2:57 pm, Tor tor.hough...@gmail.com wrote: Hello, I have an app that triggers on YouTube URLs, and it worked as designed until Android 3.1. Does

Re: [android-developers] Is there a way to acquire FULL_WAKE_LOCK in the native program?

2011-07-20 Thread Nikolay Elenkov
On Tue, Jul 19, 2011 at 3:41 PM, sparq sparq1...@gmail.com wrote: Hello, I develop an native program. But the program goes to sleep after screen timeout. After refering the Power Manager class information, I know the activity can get wake lock at framework level. But is there a way to do

[android-developers] Re: how to distinguish app is running in emulator

2011-07-20 Thread kamiseq
thanks, it is what im looking for!!! -- 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

Re: [android-developers] Intent filter changed on Android 3.2?

2011-07-20 Thread Dianne Hackborn
YouTube still works and it hasn't been changed as far as I know, so I'm not sure what could be impacting that. The IntentFilter matching rules certainly weren't changed in 3.1. On Tue, Jul 19, 2011 at 11:57 PM, Tor tor.hough...@gmail.com wrote: Hello, I have an app that triggers on YouTube

Re: [android-developers] Re: Intent filter changed on Android 3.2?

2011-07-20 Thread Dianne Hackborn
On Wed, Jul 20, 2011 at 12:04 AM, Zsolt Vasvari zvasv...@gmail.com wrote: Nope, but I am sure a lot of changes are not documented. For example, 1280x800 devices now report their screen size as 1280x752. This was a bug fix -- the platform should have been reporting 1280x752, because that is

Re: [android-developers] Detecting app is pre-installed after it gets updated via android market

2011-07-20 Thread Dianne Hackborn
FLAG_SYSTEM means the app was originally installed on the system image. If your app is pre-installed, and an update is installed from Market, FLAG_SYSTEM is still set for the updated app. On Tue, Jul 19, 2011 at 8:08 PM, dan raaka danra...@gmail.com wrote: I have a app with versionCode=1,

Re: [android-developers] Android 2.1 and background sensor sampling

2011-07-20 Thread Filip Havlicek
I'm not sure about 2.1 right now, but I'm sure they can be collected on 2.2 (at least with the help of the partial wake lock). 2011/7/20 Fred Niggle fred.nig...@googlemail.com Is it still the case that when the screen is off that sensor data cannot be collected in 2.1 and above? -- You

[android-developers] Re: Best practices on how to structure code for Free Vs Paid app ?

2011-07-20 Thread keyboardr
I recently finished a project where we used an in-app purchase to do the transition. Made it nice for the coders since we only had one code base (in this case we had a separate apk for an HD version with different levels, so it took it from 5 projects down to 3: sd, hd, and core with no need for

[android-developers] Re: Android 2.1 Emulator proxy settings

2011-07-20 Thread Greg Giacovelli
Same here :) On Jul 18, 2:39 pm, Zoon smerr...@gmail.com wrote: I'm not having luck using -http-proxy on tools r12 for some reason. Had to revert to r11.  Is anyone else having this problem? On Jul 12, 7:44 am, superprogrammer jkerns...@gmail.com wrote: I need to access the internet

[android-developers] Re: Best practices on how to structure code for Free Vs Paid app ?

2011-07-20 Thread String
On Wednesday, July 20, 2011 12:21:28 AM UTC+1, Adam Ratana wrote: I am curious what people have experienced now that the in-app billing is here, if anyone has tried approach 2 below with just 1 app and the ability to unlock features. I feel this may increase sales because of the immediacy

[android-developers] Problem with Notification Service and Progress bar

2011-07-20 Thread Ajith Kamath
Hi I have written code for Progress bar to appear in Notification bar. Its runs fine, if i drag down notification slide after Notification was sent, I can see the Progress bar animation. Now I drag it back up. If I drag that down again , Animation has paused. If i turn phone around to landscape

Re: [android-developers] Re: Service Being paused on screen off.

2011-07-20 Thread Filip Havlicek
Acquire a partial wake lock, that should help. 2011/7/20 Jan Nielsen j...@air-port.dk The common ways to sleep in java, only counts cpu time on the Android platform. So a Thread.sleep(60 * 1000); may become 5 or 10 minutes if the phone is in standby, since it only counts when the cpu is

[android-developers] Re: How to call any method on button event of widget?

2011-07-20 Thread shubh
Hi Mark, I did same , i put my business logic in SendToRecent (which is my Service class), but here every time i have to start Service class on click of widget Button. So suggest me if have any other way to handle this. I thing which i did after finishing my business logic in Service class I

Re: [android-developers] Re: Compass and Sensor.Type_Orientation

2011-07-20 Thread Carlos Silva
Thanks guys :) It really was the MAGNETIC_FIELD thing. Was using the wrong sensor for 4 hours and didn't notice that :( Again, thanks. On Wed, Jul 20, 2011 at 05:08, Adam Ratana adam.rat...@gmail.com wrote: Interesting, well I think the reason Carlos' code is not working is because he needs

[android-developers] AIR Android

2011-07-20 Thread abhijit chakra
when i am trying to publish my certificate in flashProfessionalcs5 for an flash application for android it is not working even the certificate is not generating, i don't know where is the problem please help me.. Abhijit chakra -- You received this message because you are subscribed to the

[android-developers] Re: Unable to add/see custom menu item to contacts in device

2011-07-20 Thread Mamz
Hi Mark, I did add custom menu item to Gallery and Browser (menu item will be displayed under Share option). I checked in device as well. I could add menu item to contacts and worked in emulator but not working in device. On Jul 19, 8:21 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue,

[android-developers] Sip headers

2011-07-20 Thread Vladislav Kuznetsov
Hello, guys. Can we read and change sip headers of standart sip manager (android version 2.3). -- 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

[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-20 Thread Xiang Li
I meet same problem, even if use parent=@android:style/WindowTitle can't fix it yet. style name=NortonTitle parent=android:WindowTitle item name=android:textColor#FFFDB900/item /style I can just only use old version avoid this problem. It's a big problem, google should fix it ASAP. --

[android-developers] DigitalClock

2011-07-20 Thread Goutom
Hi All I want to integrate digital clock in my xml file. -start- ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Root Certificates not install on Android 2.1 and 2.2

2011-07-20 Thread Sapna Srivastav
Hi all I need an Https connection in my application for SSL but I come to know that there are some root CA not installed on Android 2.1 and 2.2, how can I request to android os vendor to integrate update CA. While running my code, I get exception :Not trusted certificated. But the same code

[android-developers] Create a bitmap from video frames

2011-07-20 Thread amrit
I have a video frames from arriving from native code, which i would like to read and convert into Bitmaps,the video frames are in the RGB format.. Is there a way to do it in JAVA application layer of Android framework? Please help -- You received this message because you are subscribed to the

[android-developers] Re: NFC intent filters

2011-07-20 Thread Michael Roland
Hallo Kev, I wouldn't call that odd behavior but rather an exact match what you have written in your code. NfcAdapter.ACTION_NDEF_DISCOVERED.equals(getIntent().getAction()) will not return true if the intent received from getIntent() does not contain that action. So if your app is started for

[android-developers] context menu

2011-07-20 Thread arun kumar
hi am having a 3 textviews one is placed at left (textview 1)and other centre(textview2) and another at right (textview 3).. all 3 views are placed at the bottom of the layout..when i touch and hold on textview 1,textview2 and textview3... a floating list of context menu has to appear..

[android-developers] What is the location of the default Launcher source in Android 2.3.3 source code?

2011-07-20 Thread fei wang
When in emulator, through DDMS I see there is an com.android.launcher process, but I can not find the source code, only get ./packages/apps/ Launcher2/src/com/android/launcher2/Launcher.java,can somebody help me? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: context menu

2011-07-20 Thread arun kumar
On Wed, Jul 20, 2011 at 2:42 PM, arun kumar arun.kata...@gmail.com wrote: hi am having a 3 textviews one is placed at left (textview 1)and other centre(textview2) and another at right (textview 3).. all 3 views are placed at the bottom of the layout..when i touch and hold on textview

[android-developers] How to know SoundPool play completed?

2011-07-20 Thread Tim
Guys, Just want to got callback after SoundPool played a sound. But unfortunately, I found the SoundPool.play() is asynchronized ... and no oncomplete listener like mediaplayer ... Any good idea? -- Tim -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Svar: Re: == Populated MatrixCursor returned to the Global Search shows wrong results ==

2011-07-20 Thread Christer Nordvik
Thanks for this, I spent hours wasting my time on the docs with an Android 2.3 device. Added the columns you specified and everything works great. Hope someone can update the docs someday... it's been a while since Android 2.2 was released... -Christer -- You received this message because

Re: [android-developers] Google Checkout Problem

2011-07-20 Thread Simon Platten
I had a similar problem, the problem was caused by a google cancelled order, due to credit card failure. The solution was to change the sort order by date ascending then go to the last page until you find the offending items, then you can go in and archive or delete those entries, it all worked

[android-developers] Re: Camera Issue

2011-07-20 Thread gjs
Hi, Provide console log of errors. Regards On Jul 20, 3:32 pm, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: No Solution? On Wed, Jul 20, 2011 at 10:15 AM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Hello Everyone,                        I have two problem in my

Re: [android-developers] Re: Camera Issue

2011-07-20 Thread Ankit Kasliwal
Hi i got two error Error :- *native_jpeg_encode: jpeg_encoder_encode failed.* 2. *jpeg encoding failed though i face this error because i m not give proper picture size if you look my code i set **picture **size (100,100) * On Wed, Jul 20, 2011 at 3:56 PM, gjs garyjamessi...@gmail.com

[android-developers] how to upgrade htc magic

2011-07-20 Thread Narendra Bagade
Hi All, I have HTC magic mobile having android 1.5. I want to update it to 2.2 or later. Is there any way to update this. Please tell me steps required for the same. -- Regards, Narendra . -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Fwd: context menu

2011-07-20 Thread arun kumar
-- Forwarded message -- From: arun kumar arun.kata...@gmail.com Date: Wed, Jul 20, 2011 at 3:31 PM Subject: Re: context menu To: android-developers@googlegroups.com On Wed, Jul 20, 2011 at 2:42 PM, arun kumar arun.kata...@gmail.com wrote: hi am having a 3 textviews one is

[android-developers] Re: NFC Secure Element

2011-07-20 Thread Michael Roland
Hallo, Did you get it tweaking the code by yourself as described above or you used SEEK patches? I am currently trying to get some results myself but I am new to Android platform development and I am a little bit lost. I tweaked the code by myself. The SEEK patches won't enable card emulation

[android-developers] restart application after Android's killed it

2011-07-20 Thread Fina Perez
Hi all! As far as I know, Android kills an application after sometime if the user is not interacting with it, in order to save memory. If the user goes back to the application, the last activity is displayed again. What I would like to do is that when this situations occurs, I always would like

Re: [android-developers] Re: NFC Secure Element

2011-07-20 Thread Michael Roland
Hallo, I managed to write and read a block (4) to the Mifare 4K with default keys. Next thing will be investigating wheter 2.3.4 adds support by means of nxp-nfc library to directly send APDUs to the SE. You and Michael Roland already confirmed it was not possible with prior gingerbread

[android-developers] Re: how to get info about pdp connection ,download and upload speed and total call placed in android ??

2011-07-20 Thread ashokm
please reply on this i have a got a api pdpconnection but it is in internal package which we cann't use it. thanks On Jul 20, 11:55 am, ashokm ashokm.w...@gmail.com wrote: want to get below informations in android.(currently working on android 2.2 api version.) 1.check whether pdp connection

[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-20 Thread Dennis Yarborough
The fix that teo2k provided us resolves the problem for me and it appears you as well. Unless you're releasing your application with only the very latest Android platform is it really that big of a problem? I'm sure that Google will get it fixed before it does become a big issue. -- You

[android-developers] Where should I place the EULA check?

2011-07-20 Thread Jim Graham
In the main activity, should I place the EULA check at the very top, before the license check? Or should I place it after the license check, in what would normally have been in that spot without the license check, i.e., the beginning of the app's actual start-up code? In other words, given the

[android-developers] navigation dots

2011-07-20 Thread vani reddy
Hi friends, How to implement iphone like navigation of images by showing dots below in android. I referred the below link,but did not get much idea http://stackoverflow.com/questions/6014781/iphone-like-navigation-dots-for-andriod Please reply.. -- Regards, Vani Reddy -- You received this

[android-developers] popupwindow

2011-07-20 Thread arun kumar
Hi.. what is popup window...how to do floating list popup window Thankyou -- 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] overwrite file in drawables folder

2011-07-20 Thread leslie.karpati
Hi! Is there a way to get an image from a server and overwrite it in the res/drawable folder? Thanks, Leslie. -- 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

[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-20 Thread William Ferguson
That's fine as long as it gets fixed. Suggest those who get bit by it star the issue. On Jul 20, 9:34 pm, Dennis Yarborough dyar...@gmail.com wrote: The fix that teo2k provided us resolves the problem for me and it appears you as well. Unless you're releasing your application with only the

[android-developers] DISREGARD---Re: Where should I place the EULA check?

2011-07-20 Thread Jim Graham
My brain finally decided to fill in the rest of the incomplete sentence in the Dev Guide text in Application Licensing...so now, all I have is a deviceId variable that doesn't resolve, but since it's not declared anywhere in the Dev Guide, it apparently doesn't HAVE to resolve. Later, --jim

[android-developers] onTouchListener Problem - timeout when running

2011-07-20 Thread Ece OZMEN
After tapping screen it stops in 1 or 2 seconds. It stops get the touch events. I couldn't understand why.. Can anyone help me? Thanks public class HelloGoogleMapsActivity extends MapActivity implements OnTouchListener { private MapView mapView; @Override public void

[android-developers] Detecting new photos and videos

2011-07-20 Thread pedramz
I need to detect when the user takes new photos and records new videos with phone camera. I have tried two ways of doing this with limited success. The first method is receiving intent action com.android.camera.NEW_PICTURE which works for photos and not for videos. Also this method does not seem

Re: [android-developers] Background title in a PreferenceCategory

2011-07-20 Thread Elison Lusvardi
When I create a new category in preferences using PreferenceCategory inside of PreferenceScreen, it's created a divider that I can set a title in each category, but I can not set the style or background. I'd like change that background but I still not know how... =[ 2011/7/20 TreKing

[android-developers] How many minutes (hours?) does the LVL hang on Checking license

2011-07-20 Thread Jim Graham
Ok, I got the whole license checker library/in-code bits sorted out. Contrary to what portions of the Dev Guide AND the sample app from the Google Market Licensing Library seem to indicate, ONLY two small bits of license checker code go in the main activity, not the whole set of code from the

[android-developers] TextView in TabHost

2011-07-20 Thread nika-...@ya.ru
Hi all! I have class MyTabHost extends TabActivity and there is a method public static View getTextView(Context c) { View view = LayoutInflater.from(c).inflate(R.layout.tabhost_new, null); TextView amount = (TextView) view.findViewById(R.id.amount2);

Re: [android-developers] onTouchListener Problem - timeout when running

2011-07-20 Thread Salih Selametoglu
why did you set again with v.setOnTouchListener(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

Re: [android-developers] Detecting new photos and videos

2011-07-20 Thread Mark Murphy
On Wed, Jul 20, 2011 at 8:58 AM, pedramz pedra...@gmail.com wrote: I need to detect when the user takes new photos and records new videos with phone camera. That sounds like malware.  I have tried two ways of doing this with limited success. The first method is receiving intent action

Re: [android-developers] overwrite file in drawables folder

2011-07-20 Thread Mark Murphy
No. Resources are read-only at runtime. You can download an image and use it (e.g., via BitmapFactory), but you cannot replace an existing resource. On Wed, Jul 20, 2011 at 8:02 AM, leslie.karpati leslie.karp...@gmail.com wrote: Hi! Is there a way to get an image from a server and overwrite it

Re: [android-developers] navigation dots

2011-07-20 Thread Mark Murphy
Use an ImageView for your dots. Use different images with different dots as needed. On Wed, Jul 20, 2011 at 7:43 AM, vani reddy vani.reddy.bl...@gmail.com wrote: Hi friends, How to implement iphone like navigation of images by showing dots below in android. I referred the below link,but did

Re: [android-developers] restart application after Android's killed it

2011-07-20 Thread Mark Murphy
On Wed, Jul 20, 2011 at 7:02 AM, Fina Perez fina.pere...@gmail.com wrote: As far as I know, Android kills an application after sometime if the user is not interacting with it, in order to save memory. If the user goes back to the application, the last activity is displayed again. That depends

Re: [android-developers] DigitalClock

2011-07-20 Thread Mark Murphy
Use Hierarchy View to determine where your DigitalClock is and why it is not displaying. On Wed, Jul 20, 2011 at 4:35 AM, Goutom goutom.sust@gmail.com wrote: Hi All I want to integrate digital clock in my xml file.

Re: [android-developers] Re: Unable to add/see custom menu item to contacts in device

2011-07-20 Thread Mark Murphy
On Wed, Jul 20, 2011 at 2:46 AM, Mamz joinmama...@gmail.com wrote: I did add custom menu item to Gallery and Browser (menu item will be displayed under Share option). That is not a custom menu item. That is an activity chooser. I checked in device as well. I could add menu item to contacts

Re: [android-developers] Re: How to call any method on button event of widget?

2011-07-20 Thread Mark Murphy
On Wed, Jul 20, 2011 at 3:59 AM, shubh shubhampatn...@gmail.com wrote: Hi Mark, I did same , i put my business logic in SendToRecent (which is my Service class), but here every time i have to start Service class on click of widget Button. So suggest me if have any other way to handle this.

[android-developers] Re: NFC intent filters

2011-07-20 Thread Kev
Thank you for the explanation :) I removed the setIntent(new Intent()) code and from your explanation I was expecting to see the NDEF action on the intent, since I was no longer setting an empty one. However, when I return from the home screen I get the android.intent.action.MAIN action, which I

Re: [android-developers] customizing compilation

2011-07-20 Thread Mark Murphy
For custom firmware: Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Find the appropriate Google Group Step #4: Ask useful questions there On Tue, Jul 19, 2011 at 9:39 PM, Marcelo T. Hama hama.marcelo...@gmail.com wrote: Hi everbody. I don't know if my

Re: [android-developers] Help needed for dealing with NullPointerException when calling functions on a service just after binding it

2011-07-20 Thread Mark Murphy
On Tue, Jul 19, 2011 at 12:21 PM, animeshsi animeshs...@gmail.com wrote: Is there some way by which I can make sure that the service binding is complete before any access is made to functions provided by the service ? Don't try using the Binder until onServiceConnected() is called. -- Mark

[android-developers] Re: onTouchListener Problem - timeout when running

2011-07-20 Thread Ece OZMEN
If I won't, touch event doesn't works -- 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] Re: restart application after Android's killed it

2011-07-20 Thread Fina Perez
Well, the problem is that when the program is killed, due to android policies or because of an error, sometimes the program is restarted in the last activity that was displayed. In my application, when this happens, I have an error and the program is force to close because I'm missing some data

Re: [android-developers] Re: restart application after Android's killed it

2011-07-20 Thread Nick Risaro
mmm I think that you need to save all that data via shared preferences (or something like that) when your app is about to be killed. You can check the javadoc for Activity#onPause() and the Spinner sample that comes with the SDK. On Wed, Jul 20, 2011 at 10:56 AM, Fina Perez fina.pere...@gmail.com

Re: [android-developers] Re: restart application after Android's killed it

2011-07-20 Thread Kostya Vasilyev
Then you have a bug that needs to be fixed. Putting band-aids over broken code is likely to make it only worse in the long run. Try initializing your data on-demand, so it's available to any activity that may need it. FWIW, there a manifest flag that resets the stack to the main activity,

[android-developers] Android Google Maps API

2011-07-20 Thread kypriakos
Hi all, I am accessing the Google Maps API from the device. The app is managed using maven and during development I added the necessary dependencies to include the Maps library: dependency groupIdcom.google.android.maps/groupId artifactIdmaps/artifactId version4_r2/version scopeprovided/scope

[android-developers] Re: How many minutes (hours?) does the LVL hang on Checking license

2011-07-20 Thread Jim Graham
On Wed, Jul 20, 2011 at 08:05:56AM -0500, Jim Graham wrote: Anyways, I'm back to where I was last night. When my test account (my developer account) is set to Not Licensed, I get an error saying that it's not licensed, and the app exits, as it should. Correction: I am NOT back where I was

[android-developers] Re: onTouchListener Problem - timeout when running

2011-07-20 Thread Ece OZMEN
Ok I use Overlay and solve it http://code.google.com/p/android/issues/detail?id=5205 -- 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,

Re: [android-developers] Where should I place the EULA check?

2011-07-20 Thread TreKing
On Wed, Jul 20, 2011 at 6:35 AM, Jim Graham spooky1...@gmail.com wrote: Which of the two places I marked above does it belong in? Entirely up to you, but I would do the quicker showEULADialog() method first then spawn an AsyncTask for the license check so it happens in the background, giving

Re: [android-developers] Root Certificates not install on Android 2.1 and 2.2

2011-07-20 Thread Nikolay Elenkov
On Wed, Jul 20, 2011 at 6:04 PM, Sapna Srivastav sapna.ari...@gmail.com wrote: Hi all I need an Https connection in my application for SSL but I come to know that there are some root CA not installed on Android 2.1 and 2.2, how can I request to android os vendor to integrate update CA. While

[android-developers] Re: Can I sell hardware+app together on Android Market?

2011-07-20 Thread cellurl
thanks for that, but inapp wont work for this. IMHO thats for games. Since no marketing people have responded, I am just going to put it on the market and see what happens. The downside is that it will be a quick-and-crappy version since I don't know if it will get prohibited somehow... -cellurl

Re: [android-developers] Where should I place the EULA check?

2011-07-20 Thread Jim Graham
On Wed, Jul 20, 2011 at 09:43:24AM -0500, TreKing wrote: On Wed, Jul 20, 2011 at 6:35 AM, Jim Graham spooky1...@gmail.com wrote: Entirely up to you, but I would do the quicker showEULADialog() method I might have, if I'd even known it existed. But what I have now is at least working, unlike

Re: [android-developers] Re: Best practices on how to structure code for Free Vs Paid app ?

2011-07-20 Thread Nikolay Elenkov
On Wed, Jul 20, 2011 at 4:30 PM, keyboardr keyboa...@gmail.com wrote: I recently finished a project where we used an in-app purchase to do the transition.  Made it nice for the coders since we only had one code base (in this case we had a separate apk for an HD version with different levels,

Re: [android-developers] Where should I place the EULA check?

2011-07-20 Thread TreKing
On Wed, Jul 20, 2011 at 9:56 AM, Jim Graham spooky1...@gmail.com wrote: Entirely up to you, but I would do the quicker showEULADialog() method I might have, if I'd even known it existed. To clarify, this is not some method that actually exists - I made up the name as one that would be in

Re: [android-developers] Where should I place the EULA check?

2011-07-20 Thread Jim Graham
On Wed, Jul 20, 2011 at 10:01:08AM -0500, TreKing wrote: On Wed, Jul 20, 2011 at 9:56 AM, Jim Graham spooky1...@gmail.com wrote: Entirely up to you, but I would do the quicker showEULADialog() method I might have, if I'd even known it existed. To clarify, this is not some method

[android-developers] Re: overwrite file in drawables folder

2011-07-20 Thread leslie.karpati
:( thank you! On Jul 20, 3:18 pm, Mark Murphy mmur...@commonsware.com wrote: No. Resources are read-only at runtime. You can download an image and use it (e.g., via BitmapFactory), but you cannot replace an existing resource. On Wed, Jul 20, 2011 at 8:02 AM, leslie.karpati

[android-developers] Re: Intent filter changed on Android 3.2?

2011-07-20 Thread Tor
Hm. On a 3.1 device (emulated), the list of applications to open the URL with appears, but the same URL (regardless of whether the application was built with the API13 SDK or not) on a 3.2 device (emulated) opens in the YouTube application (no options given). A Xoom user with 3.2 initially

Re: [android-developers] Re: Best practices on how to structure code for Free Vs Paid app ?

2011-07-20 Thread Adam Ratana
By copying it to another phone do you mean for that user, on another device they own, or another third party who did not make the in-app purchases? On Jul 20, 2011 11:00 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Wed, Jul 20, 2011 at 4:30 PM, keyboardr keyboa...@gmail.com wrote: I

Re: [android-developers] Re: Best practices on how to structure code for Free Vs Paid app ?

2011-07-20 Thread Nikolay Elenkov
On Thu, Jul 21, 2011 at 12:13 AM, Adam Ratana adam.rat...@gmail.com wrote: By copying it to another phone do you mean for that user, on another device they own, or another third party who did not make the in-app purchases? On Jul 20, 2011 11:00 AM, Nikolay Elenkov nikolay.elen...@gmail.com

Re: [android-developers] Re: Service Being paused on screen off.

2011-07-20 Thread Chris Conry
Thanks for the replys, Looking into it the partial wake lock should be my solution, but it isnt implementing well. I keep getting a runtime error on acquire(). my code looks like: PM = (PowerManager) getSystemService(Context.POWER_SERVICE); WL=

Re: [android-developers] Re: Service Being paused on screen off.

2011-07-20 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your runtime error. My guess is that you do not hold the WAKE_LOCK permission. On Wed, Jul 20, 2011 at 11:21 AM, Chris Conry cjco...@gmail.com wrote: Thanks for the replys,

Re: [android-developers] DigitalClock

2011-07-20 Thread abhijit chakra
?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:layout_weight=1 android:orientation=vertical RelativeLayout android:layout_width=fill_parent

Re: [android-developers] popupwindow

2011-07-20 Thread TreKing
On Wed, Jul 20, 2011 at 6:55 AM, arun kumar arun.kata...@gmail.com wrote: what is popup window...how to do floating list popup window Did you try reading the documentation? - TreKing

Re: [android-developers] Re: Service Being paused on screen off.

2011-07-20 Thread Chris Conry
And your guess was completely correct. Thank you. The problem is still happening, as soon as I hit the power button the data stops logging. Is there something else im missing about wakelock? On Wed, Jul 20, 2011 at 11:26 AM, Mark Murphy mmur...@commonsware.comwrote: Use adb logcat, DDMS, or the

Re: [android-developers] Where should I place the EULA check?

2011-07-20 Thread TreKing
On Wed, Jul 20, 2011 at 10:03 AM, Jim Graham spooky1...@gmail.com wrote: Ok, any idea what might be going on with the license checker? That's the major issue now. No. I have not used it, nor will I ever.

Re: [android-developers] Where should I place the EULA check?

2011-07-20 Thread Jim Graham
On Wed, Jul 20, 2011 at 10:56:10AM -0500, TreKing wrote: On Wed, Jul 20, 2011 at 10:03 AM, Jim Graham spooky1...@gmail.com wrote: Ok, any idea what might be going on with the license checker? That's the major issue now. No. I have not used it, nor will I ever. Ok, then, any suggestions

Re: [android-developers] Re: Service Being paused on screen off.

2011-07-20 Thread Mark Murphy
On Wed, Jul 20, 2011 at 11:53 AM, Chris Conry cjco...@gmail.com wrote: And your guess was completely correct. Thank you. The problem is still happening, as soon as I hit the power button the data stops logging. Is there something else im missing about wakelock? Try a stronger WakeLock than

Re: [android-developers] Where should I place the EULA check?

2011-07-20 Thread TreKing
On Wed, Jul 20, 2011 at 11:03 AM, Jim Graham spooky1...@gmail.com wrote: Ok, then, any suggestions on what I SHOULD be using for paid apps? In terms of license validation? I do the easiest and simplest: nothing :-) IMO the time and effort to implement the LVL (especially given the number of

Re: [android-developers] Re: Service Being paused on screen off.

2011-07-20 Thread Dianne Hackborn
Prior to 2.3 the sensors were turned off when the screen went off in order to reduce battery use. This was changed on 2.3, though it's possible we are actually going to end up regretting that change. :p Also even as of 2.3, I wouldn't be surprised if some device's drivers are still turning off

[android-developers] GPS Map using offline files

2011-07-20 Thread Kivak
Hello! I have more of a conceptual question... Lets say I have a map of a county. This map is in a particular projection and can, of course, be reprojected as needed in case there is a better projection to work with. Normally, someone would just use the google maps API for this, but I want to

[android-developers] If nobody uses any license verification on paid apps .....

2011-07-20 Thread Jim Graham
If nobody uses any license verification on paid apps, why does the Dev Guide have an entire section on Application Licensing? And why even HAVE the LVL, if nobody uses it because it's too buggy (as I've just finally been told by a couple of people)? It would have been really helpful to know

Re: [android-developers] Where should I place the EULA check?

2011-07-20 Thread Mark Murphy
On Wed, Jul 20, 2011 at 12:33 PM, Jim Graham spooky1...@gmail.com wrote: So why even HAVE the LVL in the first place? Because not everyone agrees with TreKing's opinion. I happen to, but there are plenty of others who wish to enforce license management schemes. LVL exists for them. Nobody is

Re: [android-developers] Re: Service Being paused on screen off.

2011-07-20 Thread Filip Havlicek
Partial wake lock works just fine with accelerometer sensor on Nexus One 2.2 (tested this for over than 6 months as a part of my research), although this might not be the case for different combination of device and OS version. 2011/7/20 Dianne Hackborn hack...@android.com Prior to 2.3 the

[android-developers] using drawPath() to draw a shape on the MapView

2011-07-20 Thread crem
Hello, When i draw a line or a circle or whatever on the map by using e.g. the canvas.drawLine() method in my draw() method of the Overlay class everything is fine. But when i want to draw a Shape using this code: //path.moveTo(pt.x, pt.y); //path.lineTo(pt.x-20, pt.y+60); //

Re: [android-developers] Where should I place the EULA check?

2011-07-20 Thread Jim Graham
On Wed, Jul 20, 2011 at 11:09:55AM -0500, TreKing wrote: On Wed, Jul 20, 2011 at 11:03 AM, Jim Graham spooky1...@gmail.com wrote: Ok, then, any suggestions on what I SHOULD be using for paid apps? In terms of license validation? I do the easiest and simplest: nothing :-) IMO the time

Re: [android-developers] Re: Best practices on how to structure code for Free Vs Paid app ?

2011-07-20 Thread Adam Ratana
On Wed, Jul 20, 2011 at 11:18 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: Top-posting is BAD. Not trimming is WORSE. Some how both seem to be the norm on this list. The purchase is normally (for managed purchases anyway) linked to the user account, so if they copy it to another

  1   2   >