[android-developers] Analyzed and fixed ...acore has stopped unexpectedly issue

2009-04-04 Thread Jonas Petersson
Hi all, I recently experienced the cyclic - and somewhat random: Android.process.acore has stopped unexpectedly problem and googling it mostly came up with nothing and in a few cases fixed it by wiping the phone. I found that unsatisfactory, so I decided to dig deeper. To me it was pretty

[android-developers] Re: Analyzed and fixed ...acore has stopped unexpectedly issue

2009-04-06 Thread Jonas Petersson
Hi fadden, fadden wrote: On Apr 4, 2:19 am, Jonas Petersson jonas.peters...@xms.se wrote: In my opinion it would make sense for the acore sync process to handle incorrect values by replacing them with HOME/OTHER instead of crashing. I have not dug into the source, but I would think it would

[android-developers] Re: A Gesture Recognition Library

2009-04-13 Thread Jonas Petersson
Very cool. This reminds me of xstroke on iPaq in the old days. http://www.usenix.org/events/usenix03/tech/freenix03/full_papers/worth/worth_html/xstroke.html It was pretty easy to add new strokes for additional characters in that approach (I recall adding åäö). A glace at the DKN source seems

[android-developers] Re: How-to start service automatically on system startup and on installation + custom Contacts ContextMenu

2009-04-14 Thread Jonas Petersson
Dianne Hackborn wrote: To amplify -- just starting your service at boot and leaving it running all of the time is NOT recommended. It consumes a lot of resources, if nothing else a whole process sitting there doing nothing (presumably) most of the time, when that memory could be used for

[android-developers] Stressing the Contacts sync to death (acore again...)

2009-04-19 Thread Jonas Petersson
Dear experts, As hinted earlier, I've hacked up a little service called Zap's Hitta (available for free on the Market) which basically takes the incoming phone number and pulls various info from public phone catalogs (only 2 implemented so far) to both show more details about who calls you in

[android-developers] Re: ReStarting An Activity From A Service

2009-04-20 Thread Jonas Petersson
Hi Mohamed, Mohamed Amir wrote: I am trying to make an application that show the caller-ID when there is an incoming call. And where there is another call, I wanna update the caller-ID shown. Sounds familiar - I do similar stuff in Zap's Hitta (see Market). I have tried OnNewIntent but

[android-developers] Re: A Gesture Recognition Library

2009-04-21 Thread Jonas Petersson
Hi again Sydnal, sydnal wrote: @ Jonas; Well I guess it can be considered a shame on my part that I did not know about xstroke before your post. Anyway I examined the link, however the way strokes are defined is somewhat different. Xstroke seems to define strokes using regions which it

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-11 Thread Jonas Petersson
Hi all, Stefano Sanna wrote: On Fri, Sep 11, 2009 at 6:57 AM, windstorm likunarmstr...@gmail.com wrote: BTW: one question to all, I saw this sdk from sybase: http://www.sybase.com/detail?id=1064424 Anyone tried it before? Do you know if there is any trial/demo of it? I've been in

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-15 Thread Jonas Petersson
windstorm wrote: Anybody tried to use this API on Hero? I always met connect error: No route to host (113) Yes, a friend of mine claims that it works in his Hero (in Sweden). I specifically asked him to verify this for Stefano so I would tend to trust him. I'm pretty sure someone

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-15 Thread Jonas Petersson
Dianne Hackborn wrote: On Tue, Sep 15, 2009 at 10:00 AM, windstorm likunarmstr...@gmail.com mailto:likunarmstr...@gmail.com wrote: Anyway, I will take a look at NDK and bluez in parallel, while still prefer to see someone point out the reason of my problem. Using high level API

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-16 Thread Jonas Petersson
Jonas Petersson wrote: windstorm wrote: Anybody tried to use this API on Hero? Yes, a friend of mine claims that it works in his Hero (in Sweden). I specifically asked him to verify this for Stefano so I would tend to trust him. Ops, I just got word back from my tester and he had indeed

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-16 Thread Jonas Petersson
Dianne Hackborn wrote: Again, this code is using PRIVATE APIs. As we've said repeatedly, doing so is not safe, and you can expect your code to break in various ways as a result.[...] Thank you, Dianne. I'm pretty sure that everyone involved in these two Bluetooth projects are very much

[android-developers] Re: 1.6 images for the ADP1 from HTC!

2009-09-29 Thread Jonas Petersson
Hi - my experinces: Keiji Ariyama wrote: I updated my ADP1 using recovery image. The update process was succeeded. But an error message has been displayed when system rebooted. LogCat messages are below. [...] 06-21 09:53:35.347: ERROR/DatabaseUtils(152): java.lang.SecurityException:

[android-developers] Back key after Search doesn't return to list in 2.0 as it did in all earlier versions

2009-10-31 Thread Jonas Petersson
Hi all, I experience something slightly confusing in the 2.0 emulators (tried several variants): One of my apps is somewhat similar to Market in structure in that it is a ListActivity that keeps creating new Intent(this, xxx.class); of itself with various .putExtra(); that presents data in

Re: [android-developers] top ListActivity destroyed just after a Search has been initiated from it - was: Back key after Search doesn't return to list in 2.0 as it did in all earlier versions

2009-11-01 Thread Jonas Petersson
to this in the release notes, but perhaps there is something between the lines that I have not yet realized. Advice appreciated / Jonas Jonas Petersson wrote: Hi all, I experience something slightly confusing in the 2.0 emulators (tried several variants): One of my apps is somewhat

Re: [android-developers] Retreive sourcecode from APK file?

2009-11-02 Thread Jonas Petersson
Zonakusu wrote: [...] So now (finally) my question, is it possible for someone to convert or extract an APK file back to source so he can see the password we hardcoded in the application. I'm afraid so. There are several tools to get info out of an APK file - not the original source, but if

Re: [android-developers] Re: motorola cliq sdk 2.0

2009-11-08 Thread Jonas Petersson
nEx.Software wrote: You know, actually, come to think of it... It might only be those evil non-public apis that we all know not to use but still do anyway... I'll have to look and see if anything I have seen was a public api. I know that working with the Contacts is incredibly frustrating, but

[android-developers] Optional permissions (revisited)

2009-11-14 Thread Jonas Petersson
Hi all, I know this was discussed on this list about a year ago, but as far as I could tell it ended up with Dianne saying that it may be done, but was not a priority at the time. Situation: I've had a few requests from users of one of my apps that they would prefer to disable for instance

Re: [android-developers] Re: JSONObject text must begin with '{' at character 1

2009-11-15 Thread Jonas Petersson
Mark Murphy wrote: Mark, I may have found the problem, but not sure how I can fix it. The log msg for the responseBody is below. Should it be the UTF_8 param? thanks {hey: guy,anumber: 243,anobject: {whoa: nuts,anarray: [1,2,thrh1ee], more:stuff},awesome: true,bogus: false,meaning:

Re: [android-developers] How many 1.1 devices are still out there?

2009-11-15 Thread Jonas Petersson
tomei.ninge...@gmail.com wrote: Are there any developers who switched from 1.1 to 1.5 APIs recently? Have you heard any complaints from users that are still using a 1.1 device? Well, my apps should still work for 1.1. According to web server logs all but one (active) users had switched to 1.5

Re: [android-developers] Re: Google Add-On Maps for 1.5 and higher

2010-01-19 Thread Jonas Petersson
Hi Dianne, Dianne Hackborn wrote: As of 2.0 I believe there is an additional attribute on uses-library that lets you specify that it is optional. This sounds like a really good step. However, I failed to find it mentioned in the docs (maybe I'm just looking in the wrong place). When this

Re: [android-developers] Re: ToggleButton image

2010-01-20 Thread Jonas Petersson
Hi all, Mark Murphy wrote: Thanks for the info. However, I still don't understand how to put an image on a toggle button. You can't, at least not in the same fashion that you put an image on an ImageButton. Based on what I am seeing, you will need to: 1. Clone btn_toggle.xml from

Re: [android-developers] Android 2.1 backward Compatability? Urgent Question

2010-01-23 Thread Jonas Petersson
Dianne Hackborn wrote: Newer Android versions are intended to be backwards compatible with older ones (I won't say always, because bugs happen, but that is the intention). Have you tried running your app under 2.1 in the emulator? 2.1 is not very different from 2.0.1 (currently on Droid), so

Re: [android-developers] Android 2.1 backward Compatability? Urgent Question

2010-01-24 Thread Jonas Petersson
assume the 2.1 emulator will stay broken for verification purposes, just like the 2.0 still has the search issues fixed in 2.0.1. Best / Jonas On Sat, Jan 23, 2010 at 2:56 PM, Vassilio vassi...@gmail.com wrote: On 23 Jan 2010, at 09:34, Jonas Petersson jonas.peters

Re: [android-developers] Android 2.1 backward Compatability? Urgent Question

2010-01-24 Thread Jonas Petersson
Juan Delgado wrote: a) A rough estimate when to expect 2.1 phones to have this fixed or Not that it concerns me too much, but it's been said a billion times that Google cannnot / will not be responsible for updating specific phones, that is up to manufacturers. Google can only be accountant

Re: [android-developers] Re: Using OS 1.6 and Up , are we penalized on the market ?

2010-01-24 Thread Jonas Petersson
String wrote: On Jan 25, 5:39 am, Carlo ca...@hyperdevbox.com wrote: We shall explain and handle case by case our potential users's concerns and educated them about our application. Like previously said, state into the app description the reason why the permission is needed is a good start :)

Re: [android-developers] USB driver doesn't work with Xperia 10

2010-02-16 Thread Jonas Petersson
Hi zeeshan, zeeshan wrote: i am not able to connect my Android device with debuger, it might be because my driver is not installed yet i am trying install my Sony Ericsson Xperia 10 driver but it doesn't work with my device is anybody know the problem ? Are you on Linux? Try lsusb and add

Re: [android-developers] Re: USB driver doesn't work with Xperia 10

2010-02-16 Thread Jonas Petersson
zeeshan wrote: Thanks for your reply Jonas, i am using Windows 7. got the USB driver revision 3 by Android setup but it doesn't work with my device Can't help you there - I've only used Windows 7 for as long as it took me to figure out the hardware details needed to install Ubuntu ;-) (And

[android-developers] Re: Getting the user's own email address

2009-08-13 Thread Jonas Petersson
Dear experts, I've attempted to implement what Jeff describes below on 1.1 as well as 1.5 (both real device and emulated), but as far as I can tell it never succeeds. I have the permission to read contact data (otherwise I get an exception). Maybe I've made some very basic mistake. Has

[android-developers] Reuse Hero rounded list item look?

2009-08-30 Thread Jonas Petersson
Dear experts, I've been asked to make an app that has a list with items looking similar to this snapshot from Hero: http://www.flickr.com/photos/jaxxdotorg/3640222441/in/set-72157619952823330/ Is there a way to reuse this in any way or do I have to re-design it from scratch?

[android-developers] Re: Activity stack: A B C - press BACK - go to A

2009-08-30 Thread Jonas Petersson
fhucho wrote: my activity stack is ABC, in activity C I press back, and return to B, then press back again and go to A. What should I do to return to A directly from C? I guess it depends on the reason for wanting to skip B. I needed exactly this case yesterday and in my case B knows very

[android-developers] Reuse Hero rounded list item look?

2009-08-30 Thread Jonas Petersson
Marco Nelissen wrote: If you want your app to work and look like that on any device other than a Hero, you will have to do it yourself. Well, Hero is the most popular version around here so that was their priorities. I guess I could look at the hw ID and select skin from that, but I doubt

[android-developers] Re: Reuse Hero rounded list item look?

2009-08-30 Thread Jonas Petersson
Mark Murphy wrote: Jonas Petersson wrote: I was kind of hoping that the layout and graphics would be available in a place I had not yet found. Grabbing the screen shot is no problem for static, but getting the whole look and feel right for highlighting etc seems like rather a lot

[android-developers] Re: manually restart an activity

2009-09-09 Thread Jonas Petersson
Dianne Hackborn wrote: Sorry there isn't really a way to do that right now. On Tue, Sep 8, 2009 at 10:58 PM, jonathan topcod...@gmail.com mailto:topcod...@gmail.com wrote: Is there a way to restart an activity? The reason is that need to change the theme dynamically, and the

Re: [android-developers] AutoCompleteTextView doesn't work with android:style/Theme.Light

2009-12-15 Thread Jonas Petersson
Hi Romain and Pooper, Romain Guy wrote: This has been fixed since 1.5. I just stumbled into this one too and I experience the same as Pooper even under 2.0.1. So either I'm doing something silly or the fix was not correct. I found a bug filed about a week ago (including source):

[android-developers] onContextMenuClosed() not called under 2.x?

2010-01-01 Thread Jonas Petersson
Dear Experts, In one of my applications I programmatically open the context menu when something is clicked in my MapActivity overlay. This works perfectly under 1.x as well as on my 2.0 Milestone. I've used showContextMenuForChild() historically, but openContextMenu() does that same thing. As

Re: [android-developers] onContextMenuClosed() not called under 2.x?

2010-01-04 Thread Jonas Petersson
in question is a single fullscreen one (the map), but even so there should be symmetry IMHO - if onContextItemSelected() works, then so should onContextMenuClosed(), right? Best / Jonas Jonas Petersson wrote: Dear Experts, In one of my applications I programmatically open

Re: [android-developers] Re: Nexus 2.1 one sale, WHERE is the SDK!

2010-01-05 Thread Jonas Petersson
Wayne Wenthin wrote: [...] If they continue I may just break down and buy a Mac. At least with Apple you know where you stand... Generally under the foot of Jobs but at least you know it. Heh, I already have a pretty decent MacBookPro and all I can say is that I much prefer running Linux

Re: [android-developers] Fonts and Arabic support

2010-01-13 Thread Jonas Petersson
Mark Murphy wrote: Yousef Alhashemi wrote: Is it possible to add extra fonts to the emulator? Only by creating your own firmware. Actually, I did some experiments that seem to indicate that with a bit of care you can upload a font that makes Arabic work in the emulator until the next

Re: [android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-08-04 Thread Jonas Petersson
I'll have to explicitly 100% agree with Bob here: Until around mid May I was using the previous model MacBookPro with 4GB dual core (and Ubuntu) for my Android development and after a fair amount of tweaking I could barely run Eclipse for a week. After switching to the new MacBookPro with

Re: [android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-08-04 Thread Jonas Petersson
I may be kicking in open doors here, but have you tried this old stuff? http://www.luisdelarosa.com/2005/04/03/how-to-get-better-memory-settings-for-eclipse-on-mac-os-x/ For me (Ubuntu - see previous post for details) this worked fairly OK on my old 4GB system: eclipse -Xmx150m This

Re: [android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-08-04 Thread Jonas Petersson
Ah, I think I can relate to that statement: for 95+% of the XML editing I referred to I used Eclipse itself, but like Kostya I stayed mostly in the XML view, only an occasional glance at the graphical layout since (at least for my cases) I decided the visual layout could not really be trusted.

Re: [android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-08-04 Thread Jonas Petersson
On 08/04/2010 05:00 PM, Kaj Bjurman wrote: I think it was stated previously in this thread. The problem isn't Eclipse. The problem is the Android plugin. I would agree on that one, I use Eclipse for Flex and although there are other kinds of issues there, the Andorid plugins appears to be the

Re: [android-developers] Re: Does all Android Devices support Map API

2010-08-05 Thread Jonas Petersson
Hi Nithin, On 08/05/2010 08:19 AM, Nithin wrote: Sony Xperia first release don't have google Map API, now they updated google Map API in X10 Could you clarify what you mean? My app Prisjakt uses the map API and was demoed by internal Sony Ericsson people in this demo from Nov 19 last year:

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Jonas Petersson
On 08/06/2010 04:51 PM, TreKing wrote: On Fri, Aug 6, 2010 at 9:25 AM, Alessandro Pellizzari a...@amiran.it mailto:a...@amiran.it wrote: If I want to write a useful free or open source app without ads, I am blocked by the cost. Um ... you're already blocked by the cost ... Follow along

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Jonas Petersson
On 08/06/2010 08:15 PM, samspade79 wrote: On Fri, Aug 6, 2010 at 12:07 PM, samspade79samspad...@gmail.com wrote: Firstly, someone said a real developer cannot do more than a few apps. Please quote whomever said this, I'm not seeing it in the thread. You're right I must have been dreaming. I

Re: [android-developers] Re: Does all Android Devices support Map API

2010-08-08 Thread Jonas Petersson
Hi again Nithin, Sorry, for the somewhat late response On 08/07/2010 07:36 AM, Nithin wrote: Sony's first release (X3) have lot of bugs. [...] So, X3 have lot of bugs and your application won't work properly in X3. Maybe because of that your application is rejected. I am not sure any other

Re: [android-developers] Re: Does all Android Devices support Map API

2010-08-09 Thread Jonas Petersson
On 08/09/2010 03:39 AM, Nithin wrote: Are you saying this X3 was ever actually properly released? It is my understanding that X3 (aka Rachael) was only every used internally and by the time it was actually released it was called X10. I am not sure about that. Anyway I have X3 as well as X10.

Re: [android-developers] Paid vs Free, My Early Experience

2010-08-19 Thread Jonas Petersson
On 08/19/2010 10:28 PM, Kostya Vasilyev wrote: The limit is even more restrictive if you consider other languages. Russian tends to need more words and characters than English, and that's just how this language is, not because I am having difficulties with it :) German or Scandinavian

Re: [android-developers] Re: Reverse C2DM

2010-08-20 Thread Jonas Petersson
On 08/20/2010 12:42 PM, Mark Murphy wrote: There is nothing built into Android or offered by Google that meets this description. IMHO, this is highly dependent on interpretation. On Fri, Aug 20, 2010 at 3:02 AM, noob_boyacharya@gmail.com wrote: I am wondering if its possible to have

Re: [android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-29 Thread Jonas Petersson
On 08/29/2010 03:05 PM, Mark Murphy wrote: [ Problems with permissions using Evernote as an example ] What I'd like to see is: 4. Evernote makes READ_CONTACTS optional. Users see that READ_CONTACTS is optional, and those who are concerned about it can go toggle it off. Evernote adds an if()

Re: [android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-29 Thread Jonas Petersson
On 08/29/2010 03:23 PM, Mark Carter wrote: On 29 August 2010 15:05, Mark Murphy mmur...@commonsware.com mailto:mmur...@commonsware.com wrote: 3. Move READ_CONTACTS into some sort of plug-in/add-on APK, [...] Maybe have some generic READ_CONTACTS app (as opposed to each dev making their

Re: [android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-29 Thread Jonas Petersson
On 08/29/2010 09:14 PM, Dianne Hackborn wrote: On Sun, Aug 29, 2010 at 6:46 AM, Jonas Petersson jonas.peters...@xms.se mailto:jonas.peters...@xms.se wrote: I've been pondering this too for my apps, what I'd like to see is something that just could call pick contact and the result would

Re: [android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-29 Thread Jonas Petersson
On 08/29/2010 09:27 PM, Dianne Hackborn wrote: On Sun, Aug 29, 2010 at 6:25 AM, Jonas Petersson jonas.peters...@xms.se mailto:jonas.peters...@xms.se wrote: On 08/29/2010 03:05 PM, Mark Murphy wrote: [ Problems with permissions using Evernote as an example ] http://code.google.com

Re: [android-developers] Some users are not finding our app in Android Market

2010-04-07 Thread Jonas Petersson
Hi, roundhill wrote: Some users are reporting that they can't find our app (WordPress for Android) in Android Market. We have it enabled for all devices and locations with copy protection turned off. One user reported that he is from Sweden (see comments at

Re: [android-developers] Random complete loss of database on Droid only

2010-04-22 Thread Jonas Petersson
(long)time(!C); // ;-) EboMike wrote: Several Droid users have reported that my app's entire database just destroys itself randomly after a few days or so. This seems to be specific to the Droid. I'm at a loss. I have no real clue to offer, but I can say that my Milestone (which is pretty

[android-developers] CPU pegged in AudioTrack triggers reboot

2010-04-27 Thread Jonas Petersson
Dear experts - including Nikolay, Last week Chander Pechetty mentioned bug 6478 in a different thread and as it seemed to cause the same issues I experience now and then, I've tried to capture the logs and today I succeeded. The symptoms are that while playing Bebbled the phone somtimes

Re: [android-developers] Re: CPU pegged in AudioTrack triggers reboot

2010-04-28 Thread Jonas Petersson
ani wrote: obtainBuffer timed out (is the CPU pegged?) This happens because the audioflinger thread has not read the data from the driver and did not signal the lock causing this logs to come. This happens because your driver is having some bug not because of android framework. Well, the app

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-04 Thread Jonas Petersson
Trygve Aaberge wrote: FedEx may not have any information. I called them on Friday, and they couldn't find a package, but I got it today. So don't get your hopes down if you call FedEx, and they don't see a package for you. I absolutely agree. I called FedEx and gave them all information I

Re: [android-developers] Problem with characters å äöÅÄÖ

2010-05-04 Thread Jonas Petersson
Hi jw, jw wrote: I'm developing an application for Swedish users, when the user is able to input some string, sometimes containing 拍皱漩. But when I run .getText().toString() on my EditText object,I get really strange characters like 枚 and 盲. That's just normal UTF-8 encoding examined as

Re: [android-developers] Problem with characters å äöÅÄÖ

2010-05-04 Thread Jonas Petersson
Jonas Petersson wrote: jw wrote: I'm developing an application for Swedish users, when the user is able to input some string, sometimes containing 拍皱漩. But when I run .getText().toString() on my EditText object,I get really strange characters like 枚 and 盲. That's just normal UTF-8 encoding

Re: [android-developers] Re: Problem with characters åäöÅÄÖ

2010-05-04 Thread Jonas Petersson
jw wrote: Well, then how do I do that? I've been trying different approaches but I can't seem to get the text as a string with äåö. Do you now how I can do that? (I should add that this thing with encodings isn't my specialty). It all depends on what you intend to do with the string. In a

Re: [android-developers] Re: Problem with characters åäöÅÄÖ

2010-05-04 Thread Jonas Petersson
Hi again Jonas (?), jw wrote: Well, all I want to is to send the string forward in an xml string. The flow is like this: User fills in a couple of forms (EditText) and presses a button. The values is added into an xml string and posted. The thing is when I print the values in the Log cat, it

Re: [android-developers] nasty phone freeze bug in Android 2.1-update1 showing up in multiple cases on Nexus One and Droid

2010-05-07 Thread Jonas Petersson
Robert Green wrote: I mentioned this earlier but no one seemed to know anything about this. [...] W/SharedBufferStack(29487): waitForCondition(LockCondition) timed out (identity=1310, status=0). CPU may be pegged. trying again. [...] I've also seen this happen once before to RenderScript, so

Re: [android-developers] multitouch for a piano

2010-07-04 Thread Jonas Petersson
Hi Kwan Jake, On 07/04/2010 04:36 PM, Kwan Cheng wrote: You can't android only tracks two touch points a time On Jul 3, 2010 1:10 PM, ArcDroid wrote: Hi does anyone have good way to impliment multi touch for a piano, thanks Jake To my understanding, Android from 2.x and up as such may in

Re: [android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-13 Thread Jonas Petersson
On 07/13/2010 09:05 PM, DonFrench wrote: [Joe's app ] So Bluetooth is not necessary to benefit from using your app but those whose phones support it can reap the additional Bluetooth benefits that you so thoughtfully added, is that it?. Since your app is still valuable even without Bluetooth

Re: [android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-14 Thread Jonas Petersson
On 07/14/2010 10:54 AM, Joe wrote: I can see why Google wouldn't want to complicate the permissions for a user. I am not suggesting they let the user choose which permissions to allow. An obvious issue with doing that is that users could break your app by crippling the permissions, and then

Re: [android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-14 Thread Jonas Petersson
On 07/14/2010 09:41 PM, Dianne Hackborn wrote: [...] At any rate, the correct thing for an app developer to do is explicitly state which features they care about, and you can there use android:required=false to tell Market not to filter your app based on it. Let's see, to summarize the

Re: [android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-14 Thread Jonas Petersson
On 07/15/2010 12:37 AM, Dianne Hackborn wrote: We are not having optional permissions any time soon. Oh well, at least I know now what to tell those who keep nagging me about it. And no, these are not the same thing, permissions are about security and the other tags are about

[android-developers] Is it possible to make an alias resource for a whole translation?

2010-07-14 Thread Jonas Petersson
Dear clever Android coders, I'm in the process of making one of my applications more localization aware, and basically I know how I *CAN* make it work, but it seems somewhat suboptimal. What I'm after is really to make an alias from one values-xxx/strings.xml to another values-yyy/strings.xml

Re: [android-developers] Re: GPS accuracy reliability

2010-07-15 Thread Jonas Petersson
Hi jgostylo, On 07/15/2010 07:01 AM, jgostylo wrote: All of this and people have only sort of answered my question. I understand that the answer may just be I don't really know what it would do and I understand that really isn't an answer people post on the forum because it does not fill the

Re: [android-developers] How to startup one application programmatically from other application

2010-07-15 Thread Jonas Petersson
On 07/15/2010 09:05 AM, Jeruliu wrote: Say I have app A, in app A i want to set a schedule to startup the app B and C at specific time? Is it possible to do that? if yes how? Are you sure your user will appreciate this? You can for instance use the AlarmManager and then just fire a suitable

Re: [android-developers] Re: How to startup one application programmatically from other application

2010-07-15 Thread Jonas Petersson
On 07/15/2010 10:24 AM, Jeruliu wrote: I should made it more clear, i intent to let user specific the time to fire the chosen app. Which approach is better? notification or call intent from AlarmManger? In my humble opinion, a notification is usually better (incoming phone calls are an

Re: [android-developers] hello

2010-07-15 Thread Jonas Petersson
On 07/15/2010 10:40 AM, Kostya Vasilyev wrote: Google groups doesn't send a posted message back to sender. So you kind of have to go on faith :) Um, for me - subscribed on a non-gmail address (although I still forward it there for good measure) - the mails I send to the list certainly come

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread Jonas Petersson
On 07/16/2010 12:25 AM, Wayne Wenthin wrote: This is not entirely correct. I have an app rated at 3.5 + stars and there are tons of crapware above me because I have less downloads. (and probably because I'm not ripping off disney either but that was in another thread) I would tend to agree

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread Jonas Petersson
On 07/16/2010 01:31 AM, Maps.Huge.Info (Maps API Guru) wrote: One thing that mitigates the occasional unhappy and misinformed user is time. Once your app has been on the market for a while, those comments won't affect your overall rating nor your position in the popularity rankings. All you have

Re: [android-developers] Hide an app from the user

2010-07-16 Thread Jonas Petersson
On 07/16/2010 04:42 PM, Cleverson wrote: I'm trying to develop an application that should not be visible to the user. I mean an app that can't be visible at the Manage Apps screen (Settings – Applications – Manage applications) and also whose services couldn't either be visible at the Running

Re: [android-developers] Re: Seems Android Market statistics go wrong again

2010-07-16 Thread Jonas Petersson
On 07/16/2010 11:06 PM, Maps.Huge.Info (Maps API Guru) wrote: Our app Radar Now! dropped from 611,000 to 562,000 - quite a bit! However, when compared to our own internal counts, they are much more in line now. We count each individual registration of an Android ID as one install, which should

Re: [android-developers] Re: App Inventor to Market

2010-07-16 Thread Jonas Petersson
On 07/16/2010 05:35 PM, String wrote: On 16 July, 16:14, Maps.Huge.Info (Maps API Guru)cor...@gmail.com wrote: (Pardon the continued hijack) Likewise. ;^) +1 From my analysis, the key metric in market position is acceleration, not total downloads, comments or anything else. I

Re: [android-developers] Re: App Inventor to Market

2010-07-17 Thread Jonas Petersson
Privet Kostya, On 07/17/2010 08:09 AM, Kostya Vasilyev wrote: Time spent and number of launches are poor metrics for app quality. Maybe it makes some sense for games. Well, quality is not at all what I was after, popularity more so. There certainly are apps that automatically start a service

Re: [android-developers] Re: App Inventor to Market

2010-07-17 Thread Jonas Petersson
On 07/17/2010 10:48 AM, Kostya Vasilyev wrote: When compared to alternative applications for the same task Right, but how do you come up with alternative applications, given the variety of apps?[...] Yeah, it's hardly trivial, but hey, this is Google - if anyone can find relations in

Re: [android-developers] Re: App Inventor to Market

2010-07-17 Thread Jonas Petersson
Kostya, On 07/17/2010 11:36 AM, Kostya Vasilyev wrote: Still think it would work well for games / social apps, but for productivity apps it can actually be the opposite of what's intended. Consider two productivity apps, one of which helps get the same work done in half the time. Which one of

Re: [android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread Jonas Petersson
Well, how about going native? (NDK) That should be somewhat more challenging than decompiling java. Good luck / Jonas On 07/30/2010 04:11 PM, sblantipodi wrote: Ok, thanks for the suggestions, any other idea? :) On Jul 30, 2:59 pm, DanHdanhi...@ieee.org wrote: Just say no to

Re: [android-developers] Is there a way to remove some permissions of already compiled apps?

2010-08-02 Thread Jonas Petersson
Hi Martin, On 08/02/2010 02:05 PM, Martin wrote: There are so many apps in the market and I don't trust all of them. Is there a way to remove some permissions of the already compiled apk? I think the closest thing to what you are after is my enhancement request from about 6 months ago.

Re: [android-developers] how to detect if a phone is running HTC sense UI

2010-08-03 Thread Jonas Petersson
On 08/03/2010 06:31 PM, Dianne Hackborn wrote: I would really like to know why people want to know they are running with Sense UI. Is it just for notifications? Are there other things? We really don't want apps to be dealing with this stuff. Personally, I would very much like to agree.

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-10 Thread Jonas Petersson
On 09/10/2010 08:10 AM, metal mikey wrote: My hypothesis is that since instructions came out as to how to setup the emulator with Android Marketplace, spammers/weirdos have used tons of gmail accounts to download Apps then uninstall them with the intent of throwing stats off. I have not clue

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-10 Thread Jonas Petersson
On 09/10/2010 09:51 PM, Peter Sinnott wrote: [...] In short, market place goes nuts and forgets the app is installed. User has app but never gets updates and possibly is removed from active installs. Well, I've seen several more confusing things related to Market installs and upgrades in the

Re: [android-developers] Results from Alert Dialog inline

2010-10-10 Thread Jonas Petersson
On 10/10/2010 03:18 PM, Mark Murphy wrote: On Sun, Oct 10, 2010 at 9:12 AM, ecforuecforus...@gmail.com wrote: Is there a way to get alert dialog results inline (like you can with most dialogs)? Some platforms offer dialogs that block code execution in situ, others do not. Android does not.

[android-developers] Re: Bluetooth

2009-05-10 Thread Jonas Petersson
Nick Pelly wrote: Mark summed it up pretty well. We don't have support in the SDK for Bluetooth right now. Getting some Bluetooth API's published in the SDK is a priority for the Android Bluetooth team. I can't wait to see the apps you guys come up with! I assume there is not much point to

[android-developers] Re: Bluetooth

2009-05-11 Thread Jonas Petersson
Nick Pelly wrote: On Sun, May 10, 2009 at 9:29 AM, Jonas Petersson jonas.peters...@xms.se wrote: [...] the thing that stops me from developing the application my employer (and his customers) wants is the lack of ability to receive a file via OBEX (OPP). Input as to what profiles

[android-developers] Re: Bluetooth and Serial Port Profile

2009-05-25 Thread Jonas Petersson
Nick Pelly wrote: 2009/5/20 moa mich...@jixel.com: What is the process for it becoming available on real devices? If an SDK update is released that supports SPP or RFCOMM. Does that mean applications compiled on that SDK will run on current cupcake devices (like the Magic) without any new

Re: [android-developers] how do i create a donate menu button

2010-10-31 Thread Jonas Petersson
An alternative to this is to do my trick: Just create your own donation app and link to it on Market - no need for any permission, just: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(market://details?id=se.petersson.freebeer))); Best / Jonas On 10/30/2010 05:27 PM,

[android-developers] Adapting for GoogleTV: Trackball/D-pad selection with onTap() in MapView strangeness - working example?

2010-11-20 Thread Jonas Petersson
Dear experts, I recently decided to try out making my app tentatively GoogleTV ready by ensuring a user can do everything without ever entering Touch mode. For most stuff it is pretty straight forward, but I'm scratching my head at MapView/ItemizedOverlay: The docs appear to indicate that

Re: [android-developers] Adapting for GoogleTV: Trackball/D-pad selection with onTap() in MapView strangeness - working example?

2010-11-21 Thread Jonas Petersson
it gives the result I expected from onTap(). Advice on improvements appreciated. Best / Jonas On 11/20/2010 10:36 PM, Jonas Petersson wrote: Dear experts, I recently decided to try out making my app tentatively GoogleTV ready by ensuring a user can do everything without ever

Re: [android-developers] Anyone seeing mysterious application crashes lately?

2010-11-22 Thread Jonas Petersson
Hi Kostya, On 11/22/2010 09:00 PM, Kostya Vasilyev wrote: I've am seeing some pretty mysterious crash reports in the Market Console lately. [...] I am wondering if anyone else is seeing strange errors like these, and whether they can be caused by devices that have really low-quality firmware,

Re: [android-developers] Android Market Console Pagination

2010-11-24 Thread Jonas Petersson
Hi Pants, On 11/24/2010 09:16 PM, Mr Pants wrote: It seems that some changes have been introduced for the Market Console to paginate if there are 8 apps. This however appears to be broken as page 2 only ever has 1 app, and page 3+ is always empty. Anyone else having the same problem? I'd

Re: [android-developers] Re: Google Add-On Maps for 1.5 and higher

2010-11-27 Thread Jonas Petersson
19, 2010 at 1:43 AM, Jonas Petersson jonas.peters...@xms.se mailto:jonas.peters...@xms.se wrote: Hi Dianne, Dianne Hackborn wrote: As of 2.0 I believe there is an additional attribute on uses-library that lets you specify that it is optional. This sounds like

Re: [android-developers] Re: Market expanding to technically non-compliant devices?

2010-12-01 Thread Jonas Petersson
I'll have to stand in Dianne's side in this case. As some of you may have noted a while back I took the time to ensure one of my apps was Google TV ready as in fully working without a touch screen. For everything except the map it took a whole of two lines of code per Activity and in the map

Re: [android-developers] Re: column '_id' does not exist

2010-12-02 Thread Jonas Petersson
Um, you might try something like select RoomID as _id ... Best / Jonas On 12/03/2010 08:40 AM, Kumar Bibek wrote: You cannot in this case. This is a mandatory requirement. pramod.deoredeore.pramo...@gmail.com wrote: Hi Bibek, Thanks for reply. But my table RoomTable

Re: [android-developers] Re: column '_id' does not exist

2010-12-03 Thread Jonas Petersson
On 12/03/2010 09:04 AM, pramod.deore wrote: When I tried this as [...] Cursor c = sampleDB.rawQuery(SELECT RoomID as _id FROM +ROOM_TABLE_NAME, null); [...] new String[] {RoomID}, [...] java.lang.IllegalArgumentException: column

  1   2   >