[android-developers] Re: new earnings report in developer console broken?
Update: As of today, clicking on the latest report now gives me an option to download either of two files, the 366 byte version mentioned above and a newer version, which seems to be complete. I don't know if this happened as a result to my posting here (ha, ha, that was funny) or if Google caught the error some other way. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] new earnings report in developer console broken?
Hi, if this is not the right forum to ask this, I would appreciate if someone could point me to the right direction. Google Wallet doesn't seem to have the info I need. My problem regards the earnings reports on the developer console. Older reports seem fine but the October report has only 2 sales (should be more like a 1000 sales) and gives me 366 byte zip file. Usually, I have at 40k zip files. Does anybody else have the same problem? Does anybody know of a different way to get this info (couldn't get it via Google Wallet)? Why this is so important to me: As a developer in Germany with an income exceeding a certain threshold, I am required to do monthly tax reports regarding VAT. In a few days, I have to submit my earnings and tax info for October and there will be financial penalties if I am unable to do so. The earnings reports are the only overview I have on sales income and sales taxes. Many thanks, Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] MediaPlayer setVolume broken on some ICS devices?
Hi, I have been using the MediaPlayer for years without issues, controlling the volume via setVolume directly rather than setting the stream volume to allow for much finer control. Recently, I get reports that the volume always plays at 100% for MP3 files while OGG files are unaffected. The reports so far came from these phones (which I do not own myself): - LG Lucid - T-mobile Samsung Galaxy S2 (with ICS update) Has anybody else run into the issue? Of course, I can switch to controlling the stream volume but then some things such as cross-fading of two media files are no longer possible. How can this be? If it is an Android issue, all phones should be affected with ICS. If it is a device driver issue, I wouldn't expect several vendors to suddenly come up with the same error. Any idea whom I can contact about this? Thank you for any info, Martin mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Giving away my book: Genius Android Marketing
So I looked up your title and I read Get rich by outsmarting the Android market. Really? Yawn. If you are so rich, why waste the time writing a book? I have an app with 500.000 downloads and 100.000 sales in two years. I am not rich but it makes for a good living. And I have several ideas for apps which I think would be successful but I lack the time to do them as customer support for my successful apps is demanding. If I had more time, I would program more apps, not write a book about it. After 50-something comments please give me something for free I felt a counterpoint was needed. So you want to be rich? A book won't make you rich. A book may make the writer rich but not you. If you have a good idea and there's not too much competition for that in the market already, go for it. And learn from the feed you get from users. Much of it is luck, no matter what any book tells you. Martin mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ICS/Galaxy Nexus Can't Loop Audio without GAP
I also have a quite popular app looping sounds (50 installations). Using MediaPlayer for simplicity, I found that MP3 files looped with an audible gap while OGG files looped without any problems on pretty much all devices. That was at the time Android 1.5 came out! Since then, I never heard of problems looping sounds until Android 4.0 came out. Suddenly, people who had no problems before had gaps after they installed ICS via CyanogenMod. I thought it is the mod, probably. Until I got my hands on a shiny new Galaxy Nexus running 4.0, outpowering everything I have had before as a smartphone. Big, audible gap!! What gives? This may also be related: http://code.google.com/p/android/issues/detail?id=18756 Martin Hunke mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: User cannot install an update
There may be a permission problem so the userID given to the app does not match the userID of the app data directory. If your user has root, tell him/her to delete the directory /data/data/com.yournamespace... Then reinstall the app. Unfortuantely, only root can do this. Uninstalling the app should delete the app directory but doesn't sometimes if there's a permission problem. -- Martin mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: User cannot install an update
Lucky you. This happened because of a firmware bug in Samsung devices 2.2.1. See here: http://code.google.com/p/android/issues/detail?id=14359 or https://groups.google.com/forum/#!topic/android-developers/Sm7WCWZYcKU/discussion In the first post, the author describes how he ended up with an app having a different user ID than the app data directory. @John Coryat : If you read the original post in this thread and his follow up, you will see that John already tried uninstalling to no avail. -- Martin mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: User cannot install an update
I would agree with John that this is not worth your time as a support issue. But if your user has root access, I would try deleting the app data folder. This has worked for the issue that I addressed. Otherwise, factory reset :(. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: localization bloats my app - is there an alternative approach?
That's an interesting viewpoint :). But I think it depends on the app; this may apply more to games where users anticipate levels and graphics but probably not so much for a calculator or an alarm clock (as is the case with my app). -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: localization bloats my app - is there an alternative approach?
On Nov 16, 5:58 pm, Mark Murphy mmur...@commonsware.com wrote: So, you added 1.5MB of space with 12 languages. That's around 100KB apiece. Since this stuff should be compressed in the APK, that's probably close to 1MB of strings per language. Hence, the solution would appear to be: make a less wordy app... :-) Seriously, how big are your string.xml files? Each of the files is about 80K. Thanks for the input on compression. I will go with solution 2 then. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: localization bloats my app - is there an alternative approach?
Of course there are extra complications. For instance, you can't then refer to string IDs in standard XML layouts item like TextView and Button. I guess you could define MyTextView and use your internal lookup in the derived class. And you have to replace e.g. all getString() etc calls in a service/activity with something like MyRes.getString( this ). Or you can go for a mixed approach where only stuff that doesn't appear in layouts is offloaded. Fortunately, in my case the strings referred to in layouts make up less than 10% of the full resource texts. So I will do a mixed approach like you suggest. Assuming I don't die of boredom splitting the resource files. What a pain... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] localization bloats my app - is there an alternative approach?
My app was about 1.5M, after adding 12 languages I am now looking at 3M because of the multiple string.xml files in the resources. Yes, they are big but it only became a problem after adding all these languages. And I want to add more languages... Does anybody have an idea of how to localize with more awareness to bloat? These are the strategies I can think of. They all require some serious work to put into practice: 1) Split the apk - Create several language apks to reduce bloat. - Make the existing apk people paid for just a license apk. - The individual language apks are free in the market but will not work without installation of the main apk. Contra: one has to maintain several apk files 2) Download additional resources - The apk contains only enough translations to instruct users to download full language packages of their choice. - The language packages downloaded onto the SD card (simple xml files) - The app loads the xml file and creates its own table of resource strings which is used instead of R.string. Contra: This adds to the load time of the app if the string.xml is really big. Any other ideas? Thanks for your input, Martin mobitobi Gentle Alarm SleepNow -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Refer to TTS Object inside inner method
Your TTS object is only initialized when onActivityResult is called. If you click on your button before that happens, KABOOM. Martin mobitobi GentleAlarm -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android Alarm application
Your questions are really basic. A little study of the Android SDK and you should be able to answer these questions yourself. Yes, probably a sqlite db is the appropriate thing to do if you want to allow for an unlimited amount of alarms. And yes, the alarm manager is the way to go. And guess what, somebody really nice has already written the entire application for you. The source code for the stock alarm clock of Android is available for you to study. Create a project, modify it, understand it. Then ask very specific questions after you spent a lot of time with this project. Your question sounds a bit like I want to write an alarm clock. How do I do it? You will not get much help if you ask like this. Martin mobitobi Gentle Alarm On Sep 14, 5:46 am, Hassy hasith@gmail.com wrote: Hi, I want to create an android Alarm application but I don't know how to save alarm settings and get saved settings for the background service. que. 1. should I use sqlite database? or can I use text files? 2. can I create the alarm using the alarm manager? Please help me . Thank you Hassy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app2sd restrictions - sharing a workaround to allow moving your app to SD card
In my case App B is a widget available on the market. When App A starts, it checks if it is installed on SD card. If the widget is not installed, it alerts the user that the widget is obligatory and directs the user to the market page. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] app2sd restrictions - sharing a workaround to allow moving your app to SD card
Android recommends that certain apps should not be moved to SD card, e.g. alarm clocks, etc. See http://developer.android.com/guide/appendix/install-location.html The reason for that is, among other things, that when the sd card is unmounted, registrations with the alarm service are canceled, and the app is no longer accessible. When the SD card is mounted again, there is no way to launch the app to reregister those services. So how do you get such apps to work on SD card anyways? I got my app (Gentle Alarm) to work on SD card with a little trick that I share here. Notice: Of course the app won't work if the SD card is unmounted. So this is NOT a solution for apps that need to remain accessible all the time such as live wallpapers. 1) Create an additional small app that remains in memory. If you have a widget for your app, you can use that as widget must stay in internal memory anyways. I will call this app B. 2) If the SD card is unmounted, your app A is no longer accessible. App B can notify the user accordingly if desired. 3) If the SD card is mounted again, there is no way to start app A directly. But app B can listen to the event that external apps are now available and then send an event to app A which can then reregister anything that got broken by unmounting the sd card (e.g. alarm service). 4) If you need to start your app right after a reboot, app A can no longer be started after a reboot because the SD card is not mounted yet. You can simply get rid of the event receiver because step 3 already accomplishes what you need. After reboot, the sd card eventually is mounted and the external apps will become available. App B will listen to this even and trigger app A. Hope this will help some people to move their apps to the sd card. My app has been used with this feature for 3 months by 40+ users and I had no complaints. Martin Hunke mobitobi Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app2sd restrictions - sharing a workaround to allow moving your app to SD card
No, my small app is a widget dedicated only to notifying Gentle Alarm via a private event and doubles as a alarm time display on the home screen. But yes, same idea. On Sep 2, 2:53 pm, Peter Sinnott psinn...@gmail.com wrote: Is your small app on the market? I uploaded a small app that does what your talking about a couple of days ago. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Localization
What do you mean with closing the app? Maybe you mean you want to avoid restarting an activity? That can be done. You just have to load the layout again after changing the locale so the layout is loaded with a new set of resources. You can find source code examples on Google for this. If you can't find, I can point you to it. If you want to avoid reloading the layout, then you are out of luck and you have to manually update all your views. But that would be the wrong way to do it. Martin mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] community-based internationalization of my app; my experience
I am not affiliated with crowdin in any way. But I would like to point out how helpful their service is in bringing my app to a wider audience. With about 300.000 users, I have a reasonably popular app and get requests for translations all the time. Many users even offer to do a translation themselves. When I send them my string.xml file, most users quickly drop their interest as the file has more than 600 strings. But coordinating several people to work on a single string.xml is a nightmare, especially if several translations for a particular string begin to compete with each other. I don't even speak those languages, how am I to decide whose translation is better? And what if I decide to add a few strings to the xml file? Now I need to run after 10 translators to get those additional sentences included. Then I found this gem: http://crowdin.net The tool is free for open source projects and reasonably priced for others (I pay $15 per month). Now I just direct interested users to their website and they can translate a few sentences or whole app (and I reward the top contributors with profit sharing of my app). Previous translation work can easily be uploaded, new strings can easily be added, and it makes the whole translation process a lot easier. Customer support has been great; all my issues have been address very quickly. Cheers, Martin mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] tablet feature - how to turn off buttons and time display?
I have an app displaying a beside alarm clock. Now one user having a XOOM wrote this: Motorola xoom has buttons and time display within the screen. I have seen other apps turn it off,'or really make the buttons into tiny dots virtually unnoticeable. I don't have a tablet, let alone a XOOM :(. Does anybody know what this user means? Is this something new in the Honeycomb API? Any hints are greatly appreciated. thanks, Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: tablet feature - how to turn off buttons and time display?
Great. Thank you so much, Mark. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: 1380 Paid Applications in One Free Torrent then How to SELL it?
This is a significant problem on Android. I am making money ok but I can only imagine how things would be if piracy wasn't so easy on this platform. - Constantly improve your app. If you have a cool app that people talk about, they don't want a version that's half a year old. - Sell things within your app. - Use LVL. - Limit the lifetime of your app so the app requires updates every few months (this is a tricky one, you are likely to lose a lot of users if you don't alert them well in in advance that an update is required). Martin mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android MediaPlayer sometimes stops playing a sound file early
Have you tried playing these same files not as asset files? Put them somewhere on your SD card, then do: player.setDataSourc(absoluteFilePath); See if this makes a difference. If so, include your files in the resources directory as raw rather than using assets. This is what I did in my apps and I never had the problem you described. Martin mobitobi Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Inner-Active ad network
Regards: in-app advertising Does anybody have experience with Inner-Active (http://inner- active.com)? Seems legit and their rates are much higher than AdMob. Anybody having positive or negative feedback? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Developers beware - Advanced Mobile Solutions, UK publisher, does not pay royalties to developers
Sorry to hear that. And thanks for the warning. I receive at least 2 invitations to various application stores every week; most of them I throw away right away. But I have compiled a list of the stores I so far have ignored and stores I did upload my apps to (so far 5). I will post this list on this group soon, exchanging experiences regarding alternative app stores is the only way separate the worthwhile alternatives from the waste-of-time alternatives and also from the dishonest startups out there. Martin mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
Possibly found the culprit. In several activities, I call this: setContentView(R.layout.main); switch (Preferences.getPrefOrientation(this, Screen.MAIN)) { case 0: if (1.equals(Settings.System.getString(getContentResolver(), Settings.System.ACCELEROMETER_ROTATION))) setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR); break; case 1: setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); break; case 2: setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); break; Basically this fixes the screen orientation to portrait or landscape, or tells Android to use the rotation sensor again to determine the screen orientation. This code works fine except on the DroidX. Even on the DroidX fixed orientation works fine (protrait only, landscape only) but if I set the orientation to be tied to the sensor, resuming such an activity and then changing the sensor orientation causes the reboot. My app works fine if I take this single line of code out. Of course, this is completely unsatisfying. The line itself doesn't cause an immediate blowup but it seems to be the cause for blowups later. Maybe this is a firmware bug. Maybe it is something entirely different and all this is just circumstantial. I don't have the resources to spend more time on this issue now but if anybody has an idea on how to make sense of this, I would love to learn. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
@Mark Thanks for the hint about the MOTODEV forum. That seems worthwhile even though my poor test user has already downloaded and run more than 20 versions in helping me isolating offending code. I hope one additional barebones test won't push him over the edge. Who knows when I need him again. @Prakash I spent some time on the DroidX forums and at there are many posts about random reboots even with the stock firmware. Small developers can't continue chasing issues that may come down to faulty firmware. My time is better spent getting ready for Android 3.0. But the Moto guys could do the same thing I did since it is all open source (google maps may not be open source, I forgot). But this debugging is a pain. Take 30,000 lines of code (in my case), make an educated guess as to which parts may be responsible, and strip them out (leaving 22,000 in my case). Then the app worked. Then I built 5 test versions, each of them putting an additional 2000 lines of code back in. My user reported at which point it crashed and the I built 5 new versions between the last non-crashing and the crashing version. However, we were fairly lucky in that it all seemed to work. Stuff like this rarely comes down to a null-pointer or something similar but are often due to some side-effects that only occur in certain conditions like low memory. So this type of debugging I just outlined is not necessarily consistent and the results may even be misleading. We got lucky. Of course, Moto has access to parts of the device I don't and I am sure they can make the device log survive the reboot, something that would have saved me a lot of time. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
Thanks Dianne, Without logcat output, I am not sure what I could file as a bug report without sounding like a rambling idiot. However, when I ask the user to send me logcat output after the reboot, it always only has data from the current session, never any data from prior the reboot event. So Java may have left interesting notes but they get wiped out with the boot process. Any idea how to get the log data from before the reboot? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
Thanks Dianne, Without logcat output, I am not sure what I could file as a bug report without sounding like a rambling idiot. However, when I ask the user to send me logcat output after the reboot, it always only has data from the current session, never any data from prior the reboot event. So Java may have left interesting notes but they get wiped out with the boot process. Any idea how to get the log data from before the reboot? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
I know how to catch my own uncaught exceptions and write them into a file to survive reboot but since it is not my app crashing, I am at a loss as to what I can do to get more logdata. I gave this user a version that writes all log output into a file but all the output from my app seems normal. And the system output is gone after the reboot. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
I know how to catch my own uncaught exceptions and write them into a file to survive reboot but since it is not my app crashing, I am at a loss as to what I can do to get more logdata. I gave this user a version that writes all log output into a file but all the output from my app seems normal. And the system output is gone after the reboot. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
Not to be a spoilsport but my expectation would be that whatever causes the reboot would be the very last thing that happens on this device before rebooting. I highly doubt that the system, in the middle of a total meltdown, would be so considerate as to call my process again, let alone long enough for my process to beat info out of the logcat. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
I just uploaded an update of my app and I will see if the 1-star comments will subside now. If not, I will probably be desperate enough to try anything short of a fortune teller. Or maybe I should have someone feng-shui my app :). I guess I would have to implement it as a separate service since the problems occurred after my app ended and have it dump the logcat every 50ms or so. Unless that causes the DroidX to reboot... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
Will do so now. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
Update: My fantastically helpful DroidX user reports that the stripped down version works without a glitch. So there's hope. Unless it is some side-effect like a memory issue, I hope to establish cause and effect soon and will report here in case anybody else runs into something similar. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
No, this particular user didn't. On Feb 5, 5:38 am, String sterling.ud...@googlemail.com wrote: Do the users experiencing the problem have one of those other apps installed? The ones you're sending the intent to on exit. If so, it may be that it's this app causing the problem, not you. You're just triggering it. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
No, this particular user didn't. On Feb 5, 5:38 am, String sterling.ud...@googlemail.com wrote: Do the users experiencing the problem have one of those other apps installed? The ones you're sending the intent to on exit. If so, it may be that it's this app causing the problem, not you. You're just triggering it. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
No, this particular user didn't. On Feb 5, 5:38 am, String sterling.ud...@googlemail.com wrote: Do the users experiencing the problem have one of those other apps installed? The ones you're sending the intent to on exit. If so, it may be that it's this app causing the problem, not you. You're just triggering it. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: mysterious crash accessing Preferences - works if package name is changed
Looks like I screwed up big time. I retrieved the wrong revision when checking this users code. The null pointer was actually the line following: if (Settings.System.getString(getContentResolver(), Settings.System.ACCELEROMETER_ROTATION)).equals(1)) which should have been if (1.equals(Settings.System.getString(getContentResolver(), Settings.System.ACCELEROMETER_ROTATION for obvious reasons. Sorry for wasting everybody's time. The mystery remains why this code didn't crash on this user's device if installed with a different package name. What the heck, it may be wiser to pretend that none of this ever happened and move on. Thanks for your help, both of you... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
Hello group, My app seem to cause reboots on DroidX phones. No force close or unusual behavior before the reboot is reported. Closing the last activity seems to cause the reboot. Unfortunately, there's no log as the log data gets cleared with the reboot. I have supplied a special version to one DroidX user that writes all log data into a file; this allowed me to see that the app seemingly ended correctly with the last activity's OnDestroy being called. Does anybody experience similar issues? I will now give this user a stripped down version to see if the problem still exists, then add code piece by piece until the problem reappears or the user gets fed up, whichever comes first. Any suggestion as to why a phone may reboot are highly welcome. Martin mobitobi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
Thanks. I don't use onMemory and the app seems to finish all the way as onDestroy gets called. So it doesn't seem like it killed my app to free up memory. But the issue gets always triggered when the app is closed via the back button or if the app calls finish on itself (after receiving the onDestroy even in that case). -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?
No camera. List of possibly unusual things: - disabling keyguard - holding wakelock - transparent background theme - manipulation of screen brightness - media player - various intents sent to other apps upon closing so that apps manipulating the lockscreen can resume their beastly work However, the log file written by my app to a file shows that all these activities ended. The media player stopped, the keyguard was reenabled, the wakelock was released. Maybe that last point about intents warrants further clarification: Some apps manipulate the lock screen, e.g. replacing it with emergency info or disabling the lockscreen. These apps tend to cause problems when I disable the keyguard and the developers have acknowledged these problems. To counter them, they introduces various open intents to temporarily disable their apps while I disable the keyguard. When I reenable the keyguard, I tell these apps to resume whatever they do. As this would happen right after my app shuts down, this will be one of my first targets for further investigation. My app is an alarm clock, known as Gentle Alarm. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] mysterious crash accessing Preferences - works if package name is changed
One person reports a crash with a null pointer when accessing shared preferences. Strangely, the same code works if used in a different package (I distribute the same code com.mobitobi.android.gentlealarm also as a beta com.mobitobi.android.gentlealarmbeta). I can not reproduce the error myself but I got a log from the user who reported the crash: This code crashes and the log shows a NULL pointer. How can there be a null point on this line?: (932) switch (Preferences.getPrefOrientation(this, Screen.MAIN)) { ... } Screen is an enum: public enum Screen { MAIN, NIGHT, ALARM }; And the getPrefOrientation is STATIC: public static int getPrefOrientation (Context context, Screen screen) { if (getPrefAdvanced(context)) { String pref = ORIENT_ + screen.toString().toLowerCase(); return Integer.parseInt(PreferenceManager.getDefaultSharedPreferences(context).getString(pref, Integer.toString(0))); } else return 0; } And the log: 01-30 07:31:51.974 I/ActivityManager( 74): Start proc com.mobitobi.android.gentlealarm for activity com.mobitobi.android.gentlealarm/.Activity_Main: pid=2975 uid=10035 gids={1015, 3003, 1007} 01-30 07:31:52.164 I/dalvikvm( 2975): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38) 01-30 07:31:52.254 I/dalvikvm( 2975): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=68) 01-30 07:31:52.524 D/ACRA( 2975): Retrieve application default SharedPreferences. 01-30 07:31:52.534 D/ACRA( 2975): Set OnSharedPreferenceChangeListener. 01-30 07:31:52.554 D/ACRA( 2975): ACRA is enabled for com.mobitobi.android.gentlealarm, intializing... 01-30 07:31:52.604 D/ACRA( 2975): Looking for error files in /data/ data/com.mobitobi.android.gentlealarm/files 01-30 07:31:52.624 D/ACRA( 2975): Looking for error files in /data/ data/com.mobitobi.android.gentlealarm/files 01-30 07:31:54.614 I/GentleAlarm( 2975): Activity_Main: resumeCurrentActivity MAIN 01-30 07:31:54.844 D/AndroidRuntime( 2975): Shutting down VM 01-30 07:31:54.844 W/dalvikvm( 2975): threadid=3: thread exiting with uncaught exception (group=0x4001da28) 01-30 07:31:55.004 D/ACRA( 2975): Writing crash report file. 01-30 07:31:55.414 E/ACRA( 2975): Gentle Alarm fatal error : Unable to start activity ComponentInfo{com.mobitobi.android.gentlealarm/ com.mobitobi.android.gentlealarm.Activity_Main}: java.lang.NullPointerException 01-30 07:31:55.414 E/ACRA( 2975): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mobitobi.android.gentlealarm/ com.mobitobi.android.gentlealarm.Activity_Main}: java.lang.NullPointerException 01-30 07:31:55.414 E/ACRA( 2975): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2401) 01-30 07:31:55.414 E/ACRA( 2975): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2417) 01-30 07:31:55.414 E/ACRA( 2975): at android.app.ActivityThread.access$2100(ActivityThread.java:116) 01-30 07:31:55.414 E/ACRA( 2975): at android.app.ActivityThread $H.handleMessage(ActivityThread.java:1794) 01-30 07:31:55.414 E/ACRA( 2975): at android.os.Handler.dispatchMessage(Handler.java:99) 01-30 07:31:55.414 E/ACRA( 2975): at android.os.Looper.loop(Looper.java:123) 01-30 07:31:55.414 E/ACRA( 2975): at android.app.ActivityThread.main(ActivityThread.java:4203) 01-30 07:31:55.414 E/ACRA( 2975): at java.lang.reflect.Method.invokeNative(Native Method) 01-30 07:31:55.414 E/ACRA( 2975): at java.lang.reflect.Method.invoke(Method.java:521) 01-30 07:31:55.414 E/ACRA( 2975): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791) 01-30 07:31:55.414 E/ACRA( 2975): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 01-30 07:31:55.414 E/ACRA( 2975): at dalvik.system.NativeStart.main(Native Method) 01-30 07:31:55.414 E/ACRA( 2975): Caused by: java.lang.NullPointerException 01-30 07:31:55.414 E/ACRA( 2975): at com.mobitobi.android.gentlealarm.Activity_Main.start(Activity_Main.java: 932) 01-30 07:31:55.414 E/ACRA( 2975): at com.mobitobi.android.gentlealarm.Activity_Main.onCreate(Activity_Main.java: 715) 01-30 07:31:55.414 E/ACRA( 2975): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1123) 01-30 07:31:55.414 E/ACRA( 2975): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2364) 01-30 07:31:55.414 E/ACRA( 2975): ... 11 more 01-30 07:31:55.454 I/Process ( 2975): Sending signal. PID: 2975 SIG: 9 01-30 07:31:55.474 I/ActivityManager( 74): Process com.mobitobi.android.gentlealarm (pid 2975) has died. 01-30 07:31:55.504 W/UsageStats( 74): Unexpected resume of com.android.launcher while already resumed in com.mobitobi.android.gentlealarm The null pointer is at line 932 so it must be this line: switch (Preferences.getPrefOrientation(this, Screen.MAIN)) and Preferences.getPrefOrientation is a static function. I
Re: [android-developers] Re: mysterious crash accessing Preferences - works if package name is changed
Thanks for the input. This guy has a G1 with standard Android 1.6. If he had a custom ROM, I would not waste time debugging it. However, you both bring up something interesting here: custom ROMs and permissions. I have two other users with two different custom ROMs and my app can't save anything in shared_prefs on those phones. The app doesn't crash but the settings file in /data/data/package/ shared_prefs never gets written. Seems unrelated until they reported that the same code worked fine with my comgentlealarmbeta packer, it just doesn't work with the com.gentlealarm package. Uninstall and reinstall have not been fruitful. I wonder if after uninstallation there's any trace left of the app that I could manually remove. @TreKing: That seems like a worthwhile attempt. I will report back what I find. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android Development Income Tax Question
The US is the only country in the world that taxes their own citizens on income earned overseas You probably meant something quite different: The US is the only country in the world that taxes their own citizens having their primary residence in a foreign country. Most countries acknowledge that the country of your primary residence has the right to tax your income and won't tax you again. So if you are a German citizen living primarily in the U.S., Germany will acknowledge that the U.S. will tax your income and you do not owe taxes on that same income in Germany. There are exceptions to those rules, e.g. if that German citizen has income from property or investments in Germany while living in the U.S., Germany may want a slice of that cake. But the U.S. is indeed the only country that taxes its citizen on all income even if their primary residence is abroad with a sizable exemption though so most Android programmers shouldn't be affected. So if you are an American living in Germany, you need to pay taxes in Germany and then have the added joy of filing your taxes also with the U.S. government and paying taxes again over there. That's actually my situation. But then the exemption kicks in (close to $90,000) and a double tax treaty between Germany and the U.S. so that I can offset taxes paid in Germany against those owed in the U.S. And since Germany taxes are a lot higher than U.S. taxes, I won't have to pay anything to uncle sam but I still have to file taxes. Martin mobitobi Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Crash Reports - ACRA new stable version
Thanks, Kevin. Such a great project. I will test right away... Martin mobitobi.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Can I do anything about bogus user comments?
I had my fair share of those. The first time someone posted THIS APP IS SPYWARE. IT MAKES PHONE CALLS AND BUYS STUFF ON THE INTERNET WITHOUT YOUR PERMISSION. I went through the purchase records and found a match from the same day. So I sent this person an email questioning his fitness for life in general (I may have used other words) and asked if he is a competitor, an idiot, or just a plain old # $*@#^. I got a result immediately from someone who apologized that he had given his phone to his son for a day and that he doesn't know what has happened. That's actually much more than I expected :). It keeps happening from time to time and it is not worth it. One thing you can do is get an email list of very satisfied users that wrote you personal thank-you notes for your app. Then, when this happens, you ask them if they would mind comment on the #...@%$#@ comment. So now when this happens, I immediately counter with at least 5 great comments that call this guy out. And they are not even mine. good luck, Martin mobitobi Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Selling app from own website
Are you still in need for an answer? 1) Updates I have a simple file on my website just containing the current version number and then the apk itself. By checking against the version number, the app determines if an update is available and, if the user wants to update, downloads this file in the background. When the download is finished, the app is installed via a simple intent. I can give you the code for that if you need it. 2) Piracy, I am just starting to do something about it and don't know yet if it is worth it. But like many others, I am frustrated by the high piracy rate on Android. For users downloading via the market, I use a heavily modified version of LVL. For users downloading from my website, I use some of the same LVL for obfuscating locally cashed parameters. The app asks users for their email address which they used to purchase via Paypal. Since I have that email address from Paypal, this serves as a license key. I warn users that passing a copy to others will invalidate the license key and from time to time I check if the same email address has been used by different devices. So far so good. I also have a safety mode; if the app finds a specific file on the web, the license will be good for the next 30 days. This way, if there ever is a problem and users flood me with authorization proplems, I can simply upload that file and all will be fine. Martin mobitobi Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Apps not showing in Market
If you expect anybody to help you here, then at least post your manifest. How do you think anybody would know the answer to your question? Magic? Martin mobitobi.com Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Crash Reports - new version of ACRA available for tests
Kevin, This is great. I love the new integration and will start my own testing soon. Thanks again for providing such a great tool. Martin mobitobi.com Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How i can control the Screen On/Off Lock/Unlock in Donut( SDK 1.6)
What is this? This is an open forum and it would be helpful to answer questions for all to read. You need to look at two things: - PowerManager.WakeLock (to turn the display on and to make sure the device doesn't go back to sleep while you prepare to play the alarm) - KeyguardManager (to unlock the phone so that the user doesn't see the lockscreen; careful: don't create a security leak, the keyguard must be reenabled when your app loses focus, see onPause) good luck, Martin mobitobi: Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Turn screen OFF/ON or change brightness screen
For some reason, if you set the brightness to 0f, it really turns the screen off rather than just making it as dark as possible. Worse, after you do that, you can't turn the screen on again. To change the brightness, stay with a value from 0.05 to 1.0. That seems to work as expected. There's no API to turn the screen off (to my knowledge). To turn the screen on, use a wake lock. Martin mobitobi Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android Market - installation never finishes
Happens all the time. I typically get around three emails about this every day but recently I had 400 emails in my inbox after an update. Needless to say, this is terrible. Deleting data of market app did the trick for almost everybody though. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Amazon | xxx - Business Opportunity
Can't say because I signed the NDA :). Looked legit to me but read the fine print; more restrictive than Android market. Martin mobitobi Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?
AppBucket sent me this email: --- Hi Martin, Thought you would want to know and you can make it known to the rest of our fan boys... We didn't get banned from posting anything. We deliberately didn't post anything today for a few reasons: -Adding some firewalls to server [For douche bags trying to DDOS us :)] -Analysis of the way you guys would react. Seems weird how the comments on FREE apps don't even get noticed. Maybe a turn for the better... -Tracking some other stuff I wont deliberate on. But be sure to check again in a few days or tomorrow for more ;) Also you guys may want to stem your efforts to other sites as we aren't the only one or the biggest. Oh! and we buy all the apps! and keep them! No refunds on anything. One more thing... That guy John commenting above you.. I like him lol... But yea, currently we have all requested apps removed, and plan to keep it that way. Now mind you we have a method to just hide them from view but we don't. I respect the wishes of developers who request removal. All those downloads you guys see as non-paid aren't from us, like I said we should be the least of your concerns. We do not crack apps either. Check out the biggest site... ask around some may know the site I am referring to as they know the BIG dramatic take-down of it months ago. There users CRACK ALL apps not us. We do not have the time to do it. Plus its not worth it. Especially when others will do it. But yea, I'll answer questions for devs through you as long as you post what I type and nothing else or less. Not evil over here... --- I am amazed how he thinks that he is not evil. As if only cracking or not paying for the app would make it evil and otherwise it it ok. Anyhow, I wrote back: I am baffled by your attitude. You think anybody cares if you buy the apps or not? That's $2 in my pocket, I am supposed to be grateful for that? Every copy you distribute of my app, is stealing $2 out of my pocket. Imagine all Android users would use your site rather than buying through the market. This is certainly something you would want, no? Then the developers get paid once and that's it, and most of us would stop developing because we need to feed our families and need to get paid for our work. The result is that you will find only apps by school children and apps by companies for advertising purposes. That's what you work towards. I love Android, I love the ability to contribute apps to the Android community and you are actively working on destroying that. I feel violated and hurt by you. Your attitude disgusts me. There is absolutely nothing legal or justifiable about your making money of other people's work. You should be ashamed. Why don't you write apps yourself and contribute to Android? That's too hard? Thieving is always easier. Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?
AppBucket comment gone from my app too at this moment. Maybe he's taking a day off since he has to resubmit every day. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?
A Whois search shows these name servers: Domain Name: APPBUCKET.NET Name Server: NS.PRQ.SE Name Server: NS2.PRQ.SE Researching the name servers leads to: Server Name: NS.PRQ.SE Registrar: KEY-SYSTEMS GMBH Whois Server: whois.rrpproxy.net Referral URL: http://www.key-systems.net I contacted the company and will post any replies I receive here. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?
On Sep 19, 5:15 am, Pent tas...@dinglisch.net wrote: I'm surprised everyone is focused on what the app developers can do. The people responsible for the market need to remove this stuff, it can't be so hard. I waited a few weeks then posted on Market Help. Amazed they've not done anything, it looks really bad having an advert to cracked apps at the top of all the paid app comments. I mean really. This is a very good point, Pent. It would take little to - remove the comments from these criminals since they are very easily identified - ban their gmail accounts - allow developers to make a comment in the market by allowing them to purchase their own apps: appbucket is a website by thieves, the developers get screwed and you will get screwed. Or something like this. Instead, Android gives a free advertisement platform for these pinheads. I feel really ignored by you, Google. Helll -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?
Sigh. I spent a couple of minutes to send notices to Portlane and Cogentco. Simple enough. Do the same, chances improve someone takes action. That's good. And I will do the same. I have read several reports that piracy is very high in the U.S., so I doubt it is just about availability or not wanting to set up an account. And unlike most iPhone apps, on Android users have lots of possibilities to try out an app given the generous return policy and the availability of trial apps. 1) Criminal reselling Maybe something could be done if we had a list of developers stating that their app has been stolen by AppBucket, etc. If that list is a hundred developers long, it is not so easy to ignore than if an individual says the same thing. This list could be sent to Google, to the service providers of the criminals, and to local authorities. This is different from sending a CD letter which just costs money and makes the lawyers rich; here it is about going after an individual that sells stolen goods; a clear offense in pretty much any country by directly involving authorities. I don't want this guy to simply stop what he is doing, I want him convicted of a crime just the same as if he had robbed me on the street. 2) Piracy I have recently added a licensing measure to the apps that I sell directly via Paypal. Users now have to enter their email address, the email address is verified and logged on my server, and I can see if an email address pops up multiple times to disable that account. Sales have gone up significantly and I didn't have a single problem with users complaining about this. I am sure someone will figure out how to break this security protection. However, I believe to a lot of people there is a difference between pirating an app involving simple copying of the apk and pirating an app by changing the code and repackaging it. Only idiots find saving $2 worth the risk of installing malware. So I would like an OpenSource system as a starting point for developers to do their own licensing scheme for apps sold outside (and maybe even inside) of the google market. To make things a bit more challenging for hackers, that code needs to be modified by individual developers just as Google asks developers to modify the licensing code that is now known as the market licensing API. (Google's server return static responses about the validity of the app which is a huge mistake; this can be done much better). If anybody knows about other people having already started an effort for any of these two things above, I would appreciate a link. And if you are willing to pool resources to write code together with me, or to help writing letters, let me know. Martin mobitobi Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?
I had thought more people would chime in on this. Do developers really not care? On Android, I am really surprised about two things as a developer (and I don't know how it is on other platforms): 1) Piracy and criminal reselling are much more of an issue than I expected. And developers seem to adopt an attitude that this is just part of life. I strongly disagree. This makes Android less interesting for developers who try to make a living with creating apps (and don't tell me that it is unreasonable to try to make a living like that). 2) Users are cheap (maybe goes together with point 1). I have a free version of my main app (an alarm clock with all kind of bells and whistles) that doesn't ring on Wednesdays. I actually had one user comment that he changes the clock every Tuesday to Thursday so he tricks my app into ringing anyways. He rather does that every week than pay $2. To him, it is a sport to find a way not to pay me and he feels good about having succeeded in that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Featured apps
I have seen ridiculous apps with a hundred or so downloads on this list. That seems to exclude a rational process driven by popularity or download numbers. Of course, I don't mind being alerted to a great app that is just starting out but often one has to wonder what is going here given the quality of some of the featured apps. And a bit of transparency in this process would greatly increase my trust in the market. At this point my trust is, well, cautious. Martin Gentle Alarm - a good alarm clock wakes you up without you knowing it was your alarm clock... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] users report paid app doesn't download/install
I have a paid app and a free version and updated both yesterday. Now I get hundreds of reports that the paid version won't download/install, but there's no problem with the free version of the app. The message typically reported is download unsuccessful. Some users uninstalled the app and then tried to download the app and are now left without a working copy. Of course, most assume this is a programming error by me and it affects my rating. Anybody having similar experiences? Anybody know what is going on? thanks, Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: users report paid app doesn't download/install
This is killing my app. I will increment the version number and upload again, hoping that it will make a difference. I will report here what I find. Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: users report paid app doesn't download/install
I have received hundreds of emails over the last 10 hours (but I have 10,000 active users). I did warn users about the problem, leaving no space for actually describing my app. I'm in emergency response mode. Google really dropped the ball here. Things can happen but there's no support now for me. No one to talk to, no way to protect my ratings, etc.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: users report paid app doesn't download/install
Now I get some reports that download is working for some. Users are great. Lots of 5 stars even if app didn't download, just appreciating that I am working on it. Thanks Android community. I will continue to write updates here as I am sure I am not the only one who had to go through this... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: users report paid app doesn't download/install
Thanks for the tip. But finding a user with adb is like finding the ice cream man in the sahara. I will post it on the market though and offer a reward. It would be really great if we could at least learn something from this. Reports that things now work outweigh negative reports. The tide is turning. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: users report paid app doesn't download/install
Nobody sent a log but updates now seem to work fine. I had one user report that she had the same problem with other apps. Google really needs to look into that. Google: Hel??? Anyhow, users have been great. A gazillion of 5 star ratings balanced the few impatient souls who left nasty comments. BTW: the app in question was Gentle Alarm if anybody cares Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] appbucket: all apps for $9.99 per year, are we just going to watch?
If you have a paid app out there, you probably have seen their spam comments. Now they claim to be in Sweden but even there it is illegal to sell stolen goods. The site owner is Nicholas Narbone. Isn't that the same guy from androidplayground? Anybody interested in pooling some resources to get this guy called on his criminal activity? Piracy is one thing, making money off the apps developers poured lots of love and sweat into, is definitely crossing the line. Of course one can not fight every guy out there and if we shut one down, another will pop up. But apply that argument to criminals in general: Should we stop punishing criminals based on the fact that there will always be criminals? If there's no punishment, there surely will be more criminals. So nabbing one guy and making it really public certainly would be a deterrent for others. Hello Google lawyers: do the 30% you take from me cover a class-action lawsuit against this clown? Just asking... I can give you all the details and hundreds of other developers would probably do likewise. I can even drum up some users who say they weren't really aware that this is a pirate site and get you a list of all the apps that are stolen by Nicholas... Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Another developer has published an app using the EXACT same name as mine
I talked to a lawyer for similar reasons (someone used my name on a different platform). Given the popularity of your app, if the other guy hasn't been using this name before, you have a very clear case even without a trademark. But it costs money. A CD letter can easily be $1000 and if the copycat doesn't cough up the money, you will have to pay the lawyer. But I would send a strongly worded letter to the developer first. Here's the thing though: While the law is clearly on your side (that's what my lawyer said), it is a whole different story to recover the money. If he doesn't pay after the CD, you need to go to court and things become expensive then. Martin Gentle Alarm -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: App breaks for some users after they update from the Market
Thanks for posting your findings and glad you found your bug. Less happy for myself as this clearly indicates a bug in my code, too. Oh well... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: App breaks for some users after they update from the Market
Wonder what I can do to make it up ... Tell them there's cake. I have had the same problem with every update myself. In average I get one or two horrible ratings and about 10 emails with problems which are always solved by reinstalling. I do not use copyprotection. The problem with null pointers I can also see with my users. I don't understand the above comment about statics either. Uninstalling the app presumably means that app being closed first. The updated version needs to be started by the user, it doesn't automatically replace what was in memory before. Very rarely, I get some interesting reports such as one person who said that launcher icon was suddenly gone. Instead, he saw some text there. Reinstalling fixed that. Martin mobitobi Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: App breaks for some users after they update from the Market
If you think this is due to some specific code changes you just made, you could of course have messed up. But I am sure you checked that. I wonder what uninstalling does that a simple update doesn't accomplish. Of course, there's the removal of the database, preferences, and all that, but that alone doesn't explain the errors you and I have seen. I will google this a bit and see if I can find anything out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to get the screen all dark but still touch sensitive
I want to get the display as dark as possible but I also want the display to remain touch sensitive. So I can't turn the display off, otherwise it wouldn't react to touch anymore. And I use WindowManager.LayoutParams.screenBrightness to get the screen as dark as possible. And I put a layer colored black over the entire display. That works, but at night one sees that the screen is still quite strongly illuminated. Does anybody have an idea of how to get the screen even darker? thanks, Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to get the screen all dark but still touch sensitive
I am confused. Is there an API to turn off the backlight? And that doesn't take away touch sensitivity? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to get the screen all dark but still touch sensitive
No problem. Can't find it myself though, only the code I references above. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disappearing Alarms
- why does the log not show the alarm intent being FIRED? - why does the stock alarm suffer from the same problem? Of course I hold my own wake lock as soon as I receive the alarm intent. But the intent never gets fired (on some devices, in some situations). Here's an example one of my users sent me: The alarm is set for 08:45. The user stopped using the device at 02:15. There are some log entries until 02:54, then NOTHING until 11:46 when the screen is turned on. The log entry of the alarm intent being received happens at 11:46:45.319. This is is the first line in my OnReceive. Several users have sent me something like this (I can provide a more complete log) and they all have the same last lines, i.e. wl127x- rfkill.0/rfkill bla bla which seems to come from a device driver. After that, the phone goes into deep sleep and no alarm intents are being sent. Martin 03-03 02:31:40.639 W/Service ( 2404): setForeground: ignoring old API call on com.wsandroid.Core.BaseService 03-03 02:31:40.663 I/dalvikvm( 2937): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38) 03-03 02:31:40.678 I/dalvikvm( 2937): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=58) 03-03 02:31:40.749 D/JuiceDefender.Db( 2937): Stats for last 48 hours: 147% 03-03 02:32:48.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:32:48.530 I/usbd( 1078): main(): call select(...) 03-03 02:33:57.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:33:57.530 I/usbd( 1078): main(): call select(...) 03-03 02:33:57.647 W/Service ( 2404): setForeground: ignoring old API call on com.wsandroid.Core.BaseService 03-03 02:35:05.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:35:05.530 I/usbd( 1078): main(): call select(...) 03-03 02:36:14.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:36:14.530 I/usbd( 1078): main(): call select(...) 03-03 02:36:14.538 W/Service ( 2404): setForeground: ignoring old API call on com.wsandroid.Core.BaseService 03-03 02:37:22.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:37:22.530 I/usbd( 1078): main(): call select(...) 03-03 02:38:31.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:38:31.530 I/usbd( 1078): main(): call select(...) 03-03 02:38:31.546 W/Service ( 2404): setForeground: ignoring old API call on com.wsandroid.Core.BaseService 03-03 02:39:39.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:39:39.530 I/usbd( 1078): main(): call select(...) 03-03 02:40:47.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:40:47.530 I/usbd( 1078): main(): call select(...) 03-03 02:40:47.546 W/Service ( 2404): setForeground: ignoring old API call on com.wsandroid.Core.BaseService 03-03 02:41:56.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:41:56.530 I/usbd( 1078): main(): call select(...) 03-03 02:41:56.624 W/Service ( 2404): setForeground: ignoring old API call on com.wsandroid.Core.BaseService 03-03 02:43:04.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:43:04.530 I/usbd( 1078): main(): call select(...) 03-03 02:44:13.522 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:44:13.522 I/usbd( 1078): main(): call select(...) 03-03 02:44:13.546 W/Service ( 2404): setForeground: ignoring old API call on com.wsandroid.Core.BaseService 03-03 02:45:21.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:45:21.530 I/usbd( 1078): main(): call select(...) 03-03 02:46:30.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:46:30.530 I/usbd( 1078): main(): call select(...) 03-03 02:46:30.538 W/Service ( 2404): setForeground: ignoring old API call on com.wsandroid.Core.BaseService 03-03 02:47:38.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:47:38.530 I/usbd( 1078): main(): call select(...) 03-03 02:48:47.530 I/usbd( 1078): process_usb_uevent_message(): buffer = change@/devices/platform/wl127x-rfkill.0/rfkill/rfkill0 03-03 02:48:47.530 I/usbd( 1078): main():
[android-developers] Re: Disappearing Alarms
Well, thanks for your help on this. I have been telling users to either - keep the phone plugged in - or use a night display mode of my alarm app that keeps the display alive over night (as long as they don't manually shut off the display, this also ensures the phone stays alive over night) Good to know that the suspect log entries don't come from the stock platform. I will keep asking users who report problems what platform they run and if I do have any indication that the stock platform is affected, I will post that here. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disappearing Alarms
That seems like a terrible solution though. I think we do have a real problem here as this has been confirmed by many users and you can also google the problem and you will see that the stock alarm is not reliable on some devices. As Diane hinted at, this is probably a firmware issue. It would be nice if we can get a developer with one of the affected devices to pull a little weight here by confirming this. For example, a Motorola Droid user. Set the stock alarm to ring in the morning, then turn off wireless over night (flightmode) and turn off the display. Don't use a charger or dock. On some days the alarm will fail, at least this is what my users report. If we can get someone to submit a log file, we would at least have a confirmed problem. But then what? Do we try to run after the hardware developers? Doesn't seem to be Google's issue. Or do we do workarounds like Pent suggests? I can already see the comments for you app though: keeps firing up every 10 minutes draining battery, 1 star, learn how to program, uninstalled. And you will get this even if you do explain what and why you are doing it because many users won't pay attention to that. Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disappearing Alarms
That would be the case if the alarm service broadcasts the intent and no wake lock is acquired. I was talking about a different situation in which the broadcast of the alarm intent doesn't happen at the designated time because the device is in some funky state. The broadcast happens later, when the user manually turns the display on. (After that, the receiving app should, of course, acquire a wake lock to process the alarm action but that is not a problem if properly coded). The problem is that the broadcast of the alarm intent does not happen at the time for which the alarm was set (otherwise I would see it in the logs, correct?). And that is a major problem for alarm clocks. All users have reported that the problem goes away if the phone remains plugged in. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disappearing Alarms
The alarm service has many pitfalls but even if programmed correctly, it doesn't work reliably on some devices. The standard alarm clock doesn't run reliably on those same devices; that's a strong hint that something is wrong. Here's what I observed in these devices after pulling the log: - the display is being turned off or goes off by itself and there is little activity for a while - then suddenly there's NO activity in the logs for many hours (highly unusual) - the first activity reported after this silence is the display being turned on manually If the alarm was supposed to happen in this silence period, you will find there's no Intent fired. The alarm service did no wake up the device. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disappearing Alarms
On the other hand, if you are saying the alarm broadcast simply never happens, even once the device is turned on... that is a very different problem then any I am aware of. That is not a problem with the device sleeping at all, but simply some issue with the alarm getting lost. You can use adb shell dumpsys alarm to look at the currently registered alarms to see if your alarm is actually there. During development we have had bugs with alarms getting lost, but those are typically very obvious and get fixed before release. I am not aware of a final versions of the source having such a bug. Note that the force stop operation that task managers abuse also removes an application's alarms. Thanks for weighing in, Dianne. I misspoke: Actually the alarm broadcast happens immediately after the display is turned on. But that may be minutes or even hours after the time for which it was scheduled. So that has nothing to do with the wake lock since that would come into play only after the alarm broadcast was received. Martin mobitobi Gentle Alarm Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disappearing Alarms
I have seen this on a number of devices if the phone is idle for a long time or if the display gets shut off manually. My app has ~100,000 users so I am quite sure I am not imagining it. My phones (N1 and Galaxy) are not affected, but I get a lot of these reports from Droid users. Here's a simple test I would recommend: - tell your users to set the stock alarm. If you experience the same situation that I talk about, you will find the stock alarm fails, too. - tell your users to keep the phone plugged in. Your alarm will no longer fail. If these tests show my experience is relevant to your problem, I have a number of suggestions what else you can do. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disappearing Alarms
No, it happens even if the app is on the exclude list of these killer apps. That's the first thing I pointed out to users. But it happens only on some devices. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Thoughts on this LenientPolicy implementation of an LVL Policy?
Mark, would you be willing to share your updated code? I find your policy more sensible during the toddler phase of LVL. Until maturity of ServerManagedPolicy is proven, I need to play it safe for an existing app with many users that I don't want to alienate. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Thoughts on this LenientPolicy implementation of an LVL Policy?
Mark, would you be willing to share your updated code? I find your policy more sensible during the toddler phase of LVL. Until maturity of ServerManagedPolicy is proven, I need to play it safe for an existing app with many users that I don't want to alienate. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: LVL Feedback
Thanks. LVL seems straight forward, obfuscation is the biggie for me as I have no experience with ant. Sigh. I didn't understand your last sentence, it's slacking off now that I can do it all in the background without a code. What do mean with without a code? Did you have your own licensing server before requiring the user to put in a key and you got hammered with 1* for that? And that changed? Stupid users. If they weren't so cheap, there would be a lot more quality apps... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: LVL Feedback
Thanks for sharing; I have been on the sidelines until now myself. Google strongly recommends obfuscating the entire source code if LVL is used. Have you gone through that trouble? I would highly appreciate any pointers (I have read the developer docs on this topic of course but still feel a bit intimidated integrating this process into my Eclipse projects). The more developers overcome their fears of using LVL, the quicker it will be accepted in the market and the users will be more educated about potential problems around LVL. At least that's my hope. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Problem in SimpleDateFormat MMM return month number
I had similar problems and have been using android.text.format.DateFormat instead: DateFormat.format(EEE, cal) Martin www.mobitobi.com Gentle Alarm Sleep Now! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: AlarmManager problems in Milestone
If you take a look at the log data, you will find that your milestone goes into something that you may want to call a deep sleep. Even your standard alarm clock will not run reliably. To provoke the issue: Turn the display off and have no apps running that keep the phone active, let the phone sit for a few hours (even though this has been reported to happen after only a minute too). Then the milestone will at some point completely stop running and only come back to life when you manually awaken the display. Check the logcat output. If you turn off the display, let it sit over night, you will find some activity after you turned off the display and then everything stops, no activity at all until you turn on the display again. You can prevent this from happening by one of the following: - keep the phone on a charger/dock - keep the display on - keep the phone running with a partial wake lock; do not manually turn off the display (let it go off by itself) I had numerous users of my app Gentle Alarm report this issue but all the workarounds above work. Martin mobitobi (Gentle Alarm, Sleep Now!) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.2 MediaPlayer Woes
I assume you run on a Nexus One? I have that device myself and I also have an app with overlapping sounds. I don't have any problems though and I don't get your error. Try the setLooping before the prepare statement. The setVolume can come afterwards. I am not really doing anything else either. If that doesn't fix it, I will gladly run your app on my device to see if I can reproduce the problem. Or vice versa. Martin www.mobitobi.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: API to enable / disable mobile data
There's no API. You do it with a trick: Change the names of the APN access points on the fly. APNDroid is a free widget that works that way. Look for it on the market. And you can find the source code in Google Projects. Martin www.mobitobi.com Gentle Alarm Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: What's the localization language code for Turkish?
If you want your application to show turkish language even on those apps that do not have a turkish system locale, you need to put the logic to load the appropriate resources in your source code. Then users can choose the language from within your app. You will find pointers on how to do this on this forum. Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: App losing downloads/active installs data
Alberto, I am sure the newbie comment was meant for me. I asked if Google could weigh in on this and I can hear the laughter in the background... Anyhow, my stats just went up 1000 in one day even though I had only 150 sales. Must have been some glitch... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: App losing downloads/active installs data
Mine dropped a whopping 600 installations from one day to another on May 11th. As this is a paid app, this would translate in significantly fewer sales but I haven't seen any financial adjustment. Another free app with 3 times as many downloads has seen a drop of only 200 at the same time. Somebody from Google who can shed some light on this? Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MediaPlayer pause on loop
It's a problem with the mp3 decoding. The bad news: You can't do it with mp3. The good news: Convert to ogg and it works like a charm. Martin mobitobi (Gentle Alarm, Sleep Now!) www.mobitobi.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: droidfanz.com -- what does it take to get them taken down?
Put a version of your own app there. With a timebomb so that the app stops working after a month and displays you are a pirate. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Selling outside the Android Market-- Use Google Checkout to sell direct from website??? SlideMe.Org??
George, By all means, be honest. Fact is that you have ignored my request for a payout that I sent you March 12, 2010. That's a long time ago. The same day I make a negative posting here about you, you send me an email with a bogus explanation that I have not followed some formal format. You never sent me an email detailing this mysterious format but after a previous complaint you did promise to pay me out even though my earnings were less than $100. I am still waiting for that to happen. So you can continue to shift blame or you can make good on your promise. No matter what you do, I will report what happens here in honesty. Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Selling outside the Android Market-- Use Google Checkout to sell direct from website??? SlideMe.Org??
I would not trust SlideMe. For my best selling app, I had 10,000 sales through Google Market, 900 sales via PayPal and 20 sales via SlideMe. So I stopped my sales on SlideMe and asked for a payout. They told me they only do payouts $100. I asked if this was a scam since the vast majority of developers don't even reach that figure with them. So one guy from SlideMe sent me an email that he was shocked I suggested fraud and that he would of course give me my payout. I apologized and gave him by banking information and invoice. Never heard from him again. Emails to customer service have been unanswered. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] application has problem downloading files
Hi, My application needs to download a few files, each about 1-2 MB in size. I host these files on my ftp server and use the simple code below. Works great on my device and seemingly for most users but a few report they get the message from the exception and others say that the code never finishes and the download just hangs. Is there a better way to download files? byte[] buffer = new byte[1]; int cc = 0; try { String url = ftp://user:passw...@ftp.mysite.com:21/ mydirectory/ + in; mInputStream = new URL(url).openStream(); mOutputStream = new FileOutputStream(mAppDir.getAbsolutePath() + / + out); do { cc = mInputStream.read(buffer); if (cc 0) mOutputStream.write(buffer, 0, cc); } while (cc 0); } catch (Exception ex) { result = ERROR_NETWORK; } Thank you for any input... Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: copy protection data loss?
I recently did remove the copyprotection for the same reason. I waited until pretty much everybody had upgraded and the pulled the trigger without uploading a new version, just removing copy protection. This way only a small number of people would get hurt... So a few users did report fc issues. One sent me a crash report and it seems that the app couldn't get access to the SQLite database. That is exactly the same issue as reported in the link you provide. I do not know which Android version the user was running. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.