[android-developers] Re: how to bring paid users outside of Google Play into Google Play
Its several thousand Users who registered before outside of the AppStore for the Pro version. On Tuesday, March 17, 2015 at 10:25:45 PM UTC+1, Jose_GD wrote: How many customers do you have? El lunes, 16 de marzo de 2015, 16:31:54 (UTC-3), guruk escribió: Hi there, i have lots of Users who got a PRO version of my app by download from my server as at the time I couldnt put it into the market as my country was not in the list of countries who could offer that (because of checkout) Now i changed the Country and can offer Paid Apps. But how would I offer my old Paid Users the Pro App in Google Play for free, so they dont have to purchase again? example: free Version is: com.chris.myapp.free they downloaded before: com.chris.myapp.pro from my server. Now I would offer the same pro package name in Google Play. But i dont think they would get automatically updates from Google Play as they didnt paid there, right? Any Ideas, to make it right, so they dont have to pay again? Thanks Chris -- 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/d/optout.
[android-developers] how to bring paid users outside of Google Play into Google Play
Hi there, i have lots of Users who got a PRO version of my app by download from my server as at the time I couldnt put it into the market as my country was not in the list of countries who could offer that (because of checkout) Now i changed the Country and can offer Paid Apps. But how would I offer my old Paid Users the Pro App in Google Play for free, so they dont have to purchase again? example: free Version is: com.chris.myapp.free they downloaded before: com.chris.myapp.pro from my server. Now I would offer the same pro package name in Google Play. But i dont think they would get automatically updates from Google Play as they didnt paid there, right? Any Ideas, to make it right, so they dont have to pay again? Thanks Chris -- 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/d/optout.
[android-developers] Re: APP ADS Warning !! Google Please Clarify
got message from google that the warning could be just crossed with my update and as long the sdk is removed, all be fine ! On Friday, November 8, 2013 9:13:20 AM UTC+1, guruk wrote: Hi there, I had PINGJAM installed in my '2nd last' App version. That does showed ads when companies where called. they said its in complainces with google policy. anyhow, when i only heard it MAY A Problem, I removed the SDK 5 Days ago already in my latest app version. than TODAY I got a WARNING my app violates google terms and i should remove in 7 days. But now its only admob and InMobi as SDk in my APP. What can I do, I am confused. Should I got that warning last week OK,, but NOW after already updating the app, by removing that problematic SDK? Please help Thanks Chris -- 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] APP ADS Warning !! Google Please Clarify
Hi there, I had PINGJAM installed in my '2nd last' App version. That does showed ads when companies where called. they said its in complainces with google policy. anyhow, when i only heard it MAY A Problem, I removed the SDK 5 Days ago already in my latest app version. than TODAY I got a WARNING my app violates google terms and i should remove in 7 days. But now its only admob and InMobi as SDk in my APP. What can I do, I am confused. Should I got that warning last week OK,, but NOW after already updating the app, by removing that problematic SDK? Please help Thanks Chris -- 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] Developer Options on Galaxy Nexus!?
hi there, the experimental developer options on the new Galaxy Nexus cause lots of confusion and problems with my users (as the FORCE CPU RENDERING) do not work with my app (and as i heard from lots of other developers, even has probs with their apps. Will this feature even be available in the next Firmwares. i hope not.. it should only be available for Developers. thx chris -- 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: Hardware accleration slow down every Canvas app. Why?
just curios... the experimental developer options on the new Galaxy Nexus cause lots of confusion and problems with my users (as the FORCE CPU RENDERING) do not work with my app (and as i heard from lots of other developers, even has probs with their apps. Will this feature even be available in the next Firmwares. i hope not.. it should only be available for Developers, till it does not cause so many problems. On Jan 17, 1:52 am, Romain Guy romain...@android.com wrote: With or without hardware acceleration in this test? If it's with, note that theGalaxyNote has a better GPU. On Mon, Jan 16, 2012 at 3:46 PM, sblantipodi perini.dav...@dpsoftware.org wrote: Adding some more data for Romain. The same software runs at lightning speed onGalaxyNote (1280x800) and it runs slow onGalaxyNexus(1280x720). Do you really tell us that it is the CPU/ GPU hardware difference to make a simple software like that runs slow, good, or smooth as butter? -- 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 moreoptions, visit this group at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.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] Widgets do not work on all devices!
Hi there, i have the Simulator to test, a Nexus ONE and a G1 on all my coded Widgets appear. but i get more and more users complain that on their devices the widgets do not appear even in their widget list. So do they come filtered or what? I can't purchase each and any device in the market to test so why is that. for example widget prob on HTC Sensation, Wildfire S Hope anyone can help greets chris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Widgets do not work on all devices!
i thought about, ALSO i asked several users and they did say they did not moved to sd card! so its not that. they just installed the update of my app.. and all widgets gone :( -- 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: Widget Problem only on Wildfire S
again another user complained his widget does not work. (as mentioned I did not touched the widget code at all) just use sdk 2.2 instead of 1.6 any ideas? -- 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] User complain 2 Icons after update?
Hi there, after an update from my app. some user complain now they have 2 icons on the screen and can't uninstall from the market. how could this happen? (i can't reproduce and looks it happens just to a few) and most... what can i do myself ... and/or advice. greets chris -- 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] Widget Problem only on Wildfire S
Hi there, my app My Days does include Widgets. Now after an update (did not changed anything in the WidgetCode) Just compiled with the new 2.2 sdk rather before the 1.6 sdk I get complains from Users with Wildfire s, that the widgets do not work at a all after the update? What could that be... what is again so special on just that device? Thx chris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Help: My App came copied / reproduced !!!
I wrote them already, will see how they react.. thanks.. 1. Copy App Name 99% 2. Copy huge Part Text Description (in app (see my 'About and his Help) It really looks he copied my english Language File. 3. Copy Design functionality BMT (enter Data) / Period Length / Cycle Length 4. Copy way of showing History List (he call it statistic) 5. User Management. He used my text, but even functionality is not working 6. Personal Settings: Popups functionality copied and text (80%) 7. Even more, but less Priority. Everyone how does compare the apps in text and functionality will find either 1:1 copies or very similar way how I did in my app. Especially the same app name does confuse Users. I just write this points to even start myself to make an overview what all is copied :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Help: My App came copied / reproduced !!!
Great ! Right Now i Got answer from Google Removal Team. Hello Christian, Thanks for reaching out to us. We have received your DMCA complaint dated 7/31/2011. At this time, Google has decided not to take action based on our policies concerning content removal. As always, we encourage you to resolve any disputes directly with the developer of the application in question. I CAN't even reach that Guy As he do not answer! No Supportpage even. Great help from Google for an App that in his TOP 100 !! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Help: My App came copied / reproduced !!!
Thanks... i told them already and I am still on it. Its a pity. I really love google, but in that case I fell really kept alone. Someone advised me to send google a take down notice from a lawyer, because that copycat definitely violates my copyright by copying full text parts from my application. They may take more notice from a Lawyer than from a simple developer. Also I would really like to avoid that. Thanks for staying with me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Help: My App came copied / reproduced !!!
Dear ALL, YES Google finally removed that COPYCAT !!! I am not sure if you made some steps... and if that does lead to that final decision .. but anyhow.. THANK YOU ! for all you did in the past !! I feel so released and I started doubting about my good contacts to google. Now I feel much better. GREAT.. Yours Chris - TOPIC CLOSED - :) -- 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] Help: My App came copied !!!
Dear Colleges in Developing. I am the Developer from the app: My Days - Period Ovulation com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: My Days (Period Ovulation) iac.health.mydays Health Team desirmpo...@gmail.com First I thought its just the similar Name that I don't like. but at near investigation I had to found out he copied 90% from my About Page in his app. You will find even more similar functions he just took 1:1. You can compare yourself while downloading both apps. I am sure you are not interested to support such creativity theft and don't like similar happen to you Please *compare BOTH apps yourself* and than make your comment! Should u like to talk to that copycat developer himself your opinion, you are free to do so. Thats his only contact i found: desirmpo...@gmail.com He does not offer even a support page in the market for his app. As I know you don't have to do anything, I would appreciate any of your activities from a serious developer to another. Such people, who only copy/paste other devs work should not benefit from that. Finest Regards and wish you all the best Yours Chris -- 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: Help: My App came copied !!!
Dear Colleges in Developing. I am the Developer from the app: My Days - Period Ovulation com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: My Days (Period Ovulation) iac.health.mydays Health Team desir...@gmail.com First I thought its just the similar Name that I don't like. but at near investigation I had to found out he copied 90% from my About Page in his app. You will find even more similar functions he just took 1:1. You can compare yourself while downloading both apps. I am sure you are not interested to support such creativity theft and don't like similar happen to you Please *compare BOTH apps yourself* and than make your comment! Should u like to talk to that copycat developer himself your opinion, you are free to do so. Thats his only contact i found: desirmpo...@gmail.com . He does not offer even a support page in the market for his app. As I know you don't have to do anything, I would appreciate any of your activities from a serious developer to another. Such people, who only copy/paste other devs work should not benefit from that. Finest Regards and wish you all the best Yours Chris -- 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] Help: My App came copied
Dear Colleges in Developing. I am the Developer from the app: My Days - Period Ovulation com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: My Days (Period Ovulation) iac.health.mydays Health Team desir...@gmail.com First I thought its just the similar Name that I don't like. but at near investigation I had to found out he copied 90% from my About Page in his app. You will find even more similar functions he just took 1:1. You can compare yourself while downloading both apps. I am sure you are not interested to support such creativity theft and don't like similar happen to you Please *compare BOTH apps yourself* and than make your comment! Should u like to talk to that copycat developer himself your opinion, you are free to do so. Thats his only contact i found: desirmpokty @ gmail.com . He does not offer even a support page in the market for his app. As I know you don't have to do anything, I would appreciate any of your activities from a serious developer to another. Such people, who only copy/paste other devs work should not benefit from that. Finest Regards and wish you all the best Yours Chris -- 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] Help: My App came copied !!!
Dear Colleges in Developing. I am the Developer from the app: My Days - Period Ovulation com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: My Days (Period Ovulation) iac.health.mydays Health Team desirmpokty @ gmail.com First I thought its just the similar Name that I don't like. but at near investigation I had to found out he copied 90% from my About Page in his app. You will find even more similar functions he just took 1:1. You can compare yourself while downloading both apps. I am sure you are not interested to support such creativity theft and don't like similar happen to you Please *compare BOTH apps yourself* and than make your comment! Should u like to talk to that copycat developer himself your opinion, you are free to do so. Thats his only contact i found: desirmpokty @ gmail.com . He does not offer even a support page in the market for his app. As I know you don't have to do anything, I would appreciate any of your activities from a serious developer to another. Such people, who only copy/paste other devs work should not benefit from that. Finest Regards and wish you all the best Yours Chris -- 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] Help: My App came copied / reproduced !!!
Dear Colleges in Developing. I am the Developer from the app: My Days - Period Ovulation com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: My Days (Period Ovulation) iac.health.mydays Health Team desirmpokty @ gmail.com First I thought its just the similar Name that I don't like. but at near investigation I had to found out he copied 90% from my About Page in his app. You will find even more similar functions he just took 1:1. You can compare yourself while downloading both apps. I am sure you are not interested to support such creativity theft and don't like similar happen to you Please *compare BOTH apps yourself* and than make your comment! *Especially check the ABOUT page (press MENU) on both apps.* Should u like to talk to that copycat developer himself your opinion, you are free to do so. Thats his only contact i found: desirmpokty @ gmail.com . He does not offer even a support page in the market for his app. As I know you don't have to do anything, I would appreciate any of your activities from a serious developer to another. Such people, who only copy/paste other devs work should not benefit from that. Finest Regards and wish you all the best Yours Chris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Help: My App came copied / reproduced !!!
I am sorry , i had changed the mail twice and deleted the original, as i could not change it! So i forgot you may got it by email... Sorry about 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
Re: [android-developers] Help: My App came copied / reproduced !!!
Thanks for the Link. I wrote google now. At the end he may 'just' violated my copyright by coping my text and trademark from the Name. I would not said anything if he takes my app as model for his own app and make something new. There are many other Period Ovulation Apps now in the market, who took inspirations from my app (just because i was the first on android with a calendar.. -not the first app-) . the point they used their own creativity and made really something new... and not just coping whole chapters from a description and using the name nearly 1:1, thats quiet cheap :( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] WRITE_EXTERNAL_STORAGE (not set, but i write to sdcard)??
Now i am totally confused. Mark does write... implement Feign does write: you cannot use in manifest. anyhow.. i have a big prob now. when i made my first app version i was able to write to sdcard easy. it was compiled with 1.6 minsdk 2 now i compile with 2.2 minsdk2 and when i save to sdcard... it does save the filename.. but ZERO bytes. can anyone of you guys give me a proper source on my above example that i just can keep my code: out.write(data\n); the init should just access the EXTERNAL SDCard and not the internal is there a way to proof check he does write to the external? here again my two inits i am playing now with /* // version 0.9 File gpxfile = new File(root, DATABASE_TABLE + .myd); FileWriter gpxwriter = new FileWriter(gpxfile); BufferedWriter out = new BufferedWriter(gpxwriter); */ // version 0.92 String baseDir = Environment.getExternalStorageDirectory().getAbsolutePath(); String fileName = DATABASE_TABLE + .myd; File f = new File(baseDir + File.separator + fileName); FileWriter gpxwriter = new FileWriter(f); BufferedWriter out = new BufferedWriter(gpxwriter); // but BOTH compiles on 2.2 does create a file on my external SDcard.. but with a later out.write(data\n); i get ZERO FileLength (no data in) its quiet a mess always to save and than to put the sdcard out to look manual if something is saved in it. thx chris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] WRITE_EXTERNAL_STORAGE (not set, but i write to sdcard)??
many thanks for all your help. i come closer now. bellow my code ( i use flush and close) when i SAVE to sdcard and look with ADB shell into /sdcard i see my file is written and data stored! but ... lets say the user save to sd-card remove the sdcard and put it into another device the data is NOT saved.. only the filename. so it looks its somehow cached and maybe later really written to sdcard. but i do not see any way a user or i could know if its really written and even if i know.. what should i tell the user...wait half an hour before you remove the sdcard? now what ? :) thx again chris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] WRITE_EXTERNAL_STORAGE (not set, but i write to sdcard)??
Hi, thanks i see. but how would it looks in my code String baseDir = Environment.getExternalStorageDirectory().getAbsolutePath(); String fileName = DATABASE_TABLE + .myd; File f = new File(baseDir + File.separator + fileName); FileWriter gpxwriter = new FileWriter(f); BufferedWriter out = new BufferedWriter(gpxwriter); out.write(data\n); out.flush(); // tried //gpxwriter.getFD().sync(); //out.getFD().sync(); // both give me error as i am not using FileOutPutStream // how would i have to change my above code so it works? cursi.close(); thx chris -- 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] WRITE_EXTERNAL_STORAGE (not set, but i write to sdcard)??
Hi there, i always did wrote to sd card with String baseDir = Environment.getExternalStorageDirectory().getAbsolutePath(); String fileName = DATABASE_TABLE + .myd; File f = new File(baseDir + File.separator + fileName); FileWriter gpxwriter = new FileWriter(f); BufferedWriter out = new BufferedWriter(gpxwriter); // now i came about the permission: WRITE_EXTERNAL_STORAG I NEVER used/implemented that permission into my manifest. So what? I have android:minSdkVersion=2 and my building target is 8 android:minSdkVersion=2 (android 2.2) does it have to do with that? I am just wondering WHY can i write to sdcard without that permission. and why should i implement it? thx chris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] android droid3 different sdcard filesystem?
I developed one year ago an app that just does write a backup on the sdcard root folder. that worked fine, till i get now complains that the new droid3 does save all files into a folder /sdcard on the sdcard itself. Now it looks like my app cant handle that. It does say write successful but users do not find the file anywhere on their sdcard, also while the app does try to read the backup from the root from the sdcard it does not find anything. it seems an filesystem behavior that does not stick to the typical android filesystem and so i am stuck as I also dont have a droid3 to test. Any help or advice? thanks chris -- 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 droid3 different sdcard filesystem?
here some of my code as example: File root = Environment.getExternalStorageDirectory(); if (root.canWrite()) { File gpxfile = new File(root, DATABASE_TABLE + .myd); FileWriter gpxwriter = new FileWriter(gpxfile); BufferedWriter out = new BufferedWriter(gpxwriter); // later i write for example: out.write(data\n); -- 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: Sound levels in games
did you tried: float streamVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); streamVolume = streamVolume / mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); On Aug 26, 10:41 pm, Neilz neilhorn...@gmail.com wrote: I'm having very mixed experiences with this. In the play() method, the docs state: leftVolume left volume value (range = 0.0 to 1.0) rightVolume right volume value (range = 0.0 to 1.0) But if I get the max volume for a device (which is usually 15) setting the volume to 15 gives a louder output than it does by setting it to 1.0. Which is just weird. However to confuse matters, on the HTC Hero, the max volume gets returned as 16. If I set the volume to 16, nothing gets played at all - I have to reduced it to 15. Which is fine, except that there's no guarantee that this will work for all devices. So I'm left at setting it to 1.0 and suffering lower volumes. Hmmm. :-/ -- 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] Soundpool / isplaying or length of audio
Hi, I am playing a audiofile with Soundpools .play backstreamid=mSoundPool.play(playid, streamVolume, streamVolume, 1, 0, 1.3f); but I need to know when the sound stops playing, how could I realize this? Any solution (even if its not with soundpool) is welcome.. i just would need the pitch function and to know if the audio is still playing.. or the length so i can make a counter myself. thx chris -- 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] Min SDK Bug ???
Hi, i have a nexus one with firmware 2.2 = sdk 8 when i dont use: uses-sdk android:minSdkVersion=8 / the app works just fine. But when I add this (and as my device is 2.2 = sdk 8, so it should be same) my imagepositions are wrong and the app totaly slow down ? How do I set the minSDk right? thx chris -- 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: Min SDK Bug ???
just for info .. I made the design in adp1 . so i thought it would fit with more devices (as it resized fine) But the mainproblem and I cant believe its on that.. when I set minSDK the APP comes unbelievable slow !!! Its totaly strange .. remember by nexus is 2.2 sdk8 so what comes different when I set minsdk ?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android setBackgroundResource release memory?
Hi, I have 2 quiet big Animations each 50pics a 20kb Both defined as Animations .xml One I let start from the beginning and the second after a button click. //Start immediatly imgView.setBackgroundResource(R.layout.anim1); rocketAnimation = (AnimationDrawable) imgView.getBackground(); //Start after button click imgView.setBackgroundResource(R.layout.anim2); rocketAnimation = (AnimationDrawable) imgView.getBackground(); It works fine, till i hit the button and assign the second anim to my view 08-22 14:56:03.886: DEBUG/AndroidRuntime(1541): Shutting down VM 08-22 14:56:03.886: WARN/dalvikvm(1541): threadid=3: thread exiting with uncaught exception (group=0x4001da28) 08-22 14:56:03.886: ERROR/AndroidRuntime(1541): Uncaught handler: thread main exiting due to uncaught exception 08-22 14:56:04.096: ERROR/AndroidRuntime(1541): java.lang.OutOfMemoryError: bitmap size exceeds VM budget 08-22 14:56:04.096: ERROR/AndroidRuntime(1541): at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method) It looks definitly that each animation for itself is fine (i could even set anim2 at the autostart). but BOTH will exceed the memory. Btw. on my Nexus One it works perfect. Where it fails is on G1 1.6 (even in Simulator). So HOW would I release anim1 first before I assign anim2 ?? thx chris -- 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: Open native Maps with directions??
thanks.. yeah... that works. only one for question. How could I say START from current Location and go to destination like http://maps.google.com/maps?saddr=*mylocation*daddr=washington ?? thx chris -- 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] convert html url into western encoding
Hi, i am parsing a string that includes a HTML Encoded URL http://maps.google.com/maps?q=Billrothstra%DFe%2029/4,%20Austria,%201190,%20Wien I would need the part after q= Billrothstra%DFe%2029/4,%20Austria,%201190,%20Wien decoded to: Billrothstraße 29/4, Austria, 1190, Wien how to? I tried url = TextUtils.encode(url) , but didnt worked! Its iso-8859-1 thx chris -- 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: convert html url into western encoding
ok.. i tried right now: url = Uri.decode(url); from: Billrothstra%DFe%2029/4,%20Austria,%201190,%20Wien I GOT: Billrothstra�e 29/4, Austria, 1190, Wien how can i get the german umlaut ß encoded right?? -chris -- 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] google gears in webview! (works only in browser)
Hi, i made a test http://www.checkdent.com/mobile/gps2.html based on the demo: http://code.google.com/apis/gears/api_geolocation.html#getpermission when i open it from android browser i get my location. but opened from within a webview, nothing happens?? i already gave several permissions uses-permission android:name=android.permission.INTERNET/uses- permission uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / uses-permission android:name=android.permission.ACCESS_FINE_LOCATION / uses-permission android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS/ uses-permission but still no success! what do i have to do? thx chris -- 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] Open native Maps with directions??
Hi, I open my Native Google Maps like: Uri uri = Uri.parse(geo:0,0?q=Boston); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); That works fine! BUT... how to open it with a direction request like q=Boston+to:+Washington that works fine in google maps http://maps.google.com/?q=boston+to:+washington but doesnt do anything when I try to do the same with the native App on my Android Device!? thx chris -- 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] Page resize on HD Devices like Nexus One
Hi, our Webpage: http://www.checkdent.com/mobile/sv.php?id=12332181087788749 looks fine on Android G1, but comes resized on the Google Nexus (higher resolution) Half part of the Page is outside of the View! I implemented as mentioned at several places the : target- densityDpi=device-dpi meta content=minimum-scale=1.0, width=device-width, , target- densityDpi=device-dpi, maximum-scale=0.6667, user-scalable=no name=viewport / it works great within the 'android browser' but in my Webview Application it still resize!! What can i Do? Regards Chris -- 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] start native google maps app from webview
Hi, I develop an app for iphone and android. while my iphone user click in my webview on a link like: http://maps.google.com/maps?saddr=46.17121744,24.36878222daddr=wien the NATIVE Google Maps opens. But in Android the HTML Version appears. How does have my call looks like so also on an Android Device the Native App opens the link? (in the android browser i come asked if i like to open that like by browser or GMaps) I guess (tell me i am wrong) i have to do with an intend like i did for Movies: public boolean shouldOverrideUrlLoading(WebView view, String url) { //Log.d(,My URL: +url); //Log.d(,LOADING Override); // Checks if my Video is CLICKEd if (url.indexOf(.mp4) != -1) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(url), video/ mp4); startActivity(intent); return true; } return false; } but how does it have to look for a GOOGLE Maps URL?? Thx in advance Chris -- 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: Device Seeding Program for Top Android Market Developers
Also no shipping till today for ROMANIA how does it looks actual in other EU Countries? -- 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] setFocusableInTouchMode(false) AND Keyboard ??
Hi, I use: webview.setFocusableInTouchMode(false); for my WebView to avoid that Orange Border when I click a Link. But now when I click into a Formfield the virtual Keyboard does not open :( So how can I avoid that Orange Border around Links while clicking on them and at the same Time the Virtual Keyboard appears when clicking into a Form Field? Thx Chris -- 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: Dont show Link Borders in WebView
Thanks... i solved it now. webview.setFocusable(true); webview.setFocusableInTouchMode(false); so this orange frames does not appear while in touch mode but when you use your trackball you still can use that orange Link Marker. greets chris On Dec 21, 12:35 pm, ko5tik kpriblo...@yahoo.com wrote: What is wrong with CSS? On Dec 20, 8:21 pm, guruk ilovesi...@gmail.com wrote: Hi, first thanks for all your previous help before :) Now I need a solution for HOW to disable the standart LINK Borders in a WebView! I mean. For example I have a page with some Pics or Text and all with Links. So when i Click on them .. the Android Browser shows me a orange Border around of them. I dont need that.. how can i disable that ? Thx Chris -- 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] Only onCreate and no onRestart after startActivity ! Please Help
Hi, its quiet urgent. I thought my project and now i found a big bug. I have a webview and there I call an activity if (url.indexOf(.mp4) != -1) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(url), video/ mp4); startActivity(intent); return true; } The Videoplayer starts fine! But when I click BACK or the Video ends... my whole Activity is restarted with onCreate... I proofed.. and it does NOT call onRestart!!! So it always loads Splashscreen and all that again... What could I do?? Thx Chris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] After Activity closed, restart of APP??
Hi, I check within a Webview for a mp4 than I call: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(url), video/mp4); startActivity(intent); return true; to start the Videoplayer with that VideoUrl FINE, works perfect. But when i close the Videoplayer I would wish (and it was once) that he just show the Webview as it was before (with the link to the video) Instead it restarts my App . goes onCreate again and than jumps in onResume?? Usualy after an Activity is closed it jumps into the onRestart !!! So what could be wrong?? thx chris -- 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: After Activity closed, restart of APP??
yes, looks like that... shit... so i have to somehow save my last visited url and when it starts /onCreate i have to load that url instead the StartUrl. Or is there any other way I could prevent that onCreate is called again? Greets Chris On 20 Dez., 20:52, Mark Murphy mmur...@commonsware.com wrote: guruk wrote: Hi, I check within a Webview for a mp4 than I call: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(url), video/mp4); startActivity(intent); return true; to start the Videoplayer with that VideoUrl FINE, works perfect. But when i close the Videoplayer I would wish (and it was once) that he just show the Webview as it was before (with the link to the video) Instead it restarts my App . goes onCreate again and than jumps in onResume?? Usualy after an Activity is closed it jumps into the onRestart !!! So what could be wrong?? Perhaps your activity was destroyed to free up memory for the video playback, and then has to be re-created after you BACK out of the video player. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Development Wiki:http://wiki.andmob.org -- 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] Dont show Link Borders in WebView
Hi, first thanks for all your previous help before :) Now I need a solution for HOW to disable the standart LINK Borders in a WebView! I mean. For example I have a page with some Pics or Text and all with Links. So when i Click on them .. the Android Browser shows me a orange Border around of them. I dont need that.. how can i disable that ? Thx Chris -- 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 check LoadUrl is successful?
HI, i am interested to make simple is Network available check. So can someone tell me for example when I called webview.loadUrl(urlpath); and the page does not load successful how to get that info? Or any other SIMPLE test to check if my network is available. I would prefer to check if loadurl loaded successful a page or not. thx chris -- 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] WebViewClient dont show YouTube Videos???
Hi, when I browse with the normal Browser to m.youtube.com and click a video it starts fine. I have made a simple WebviewClient webview.setWebViewClient(new HelloWebViewClient() and a webview.setWebChromeClient(new WebChromeClient() that works perfect with normal html pages. but when I click on a video link, like on Youtube. NOTHING happens. Even I dont see any error in the adb log. What Do I have to activate or implement in my WebViewclient or WebChomeClient??? Thanks a lot Chris -- 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] Motorola Cliq Parse Problem
Hi, i have a User with a Motorola Cliq. When Users with other Mobiles download a special Application I wrote .apk from my homepage they have no problems ... it downloads 200kb from 200kb and install fine. now this specific Motorola Cliq User does tell me its not working for him. It just say 175kb from 175kb downloaded and than telling him Parsing problem of the Package What can this be?? Greets Chris -- 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] Problems with Widget
Hi There, I have 4 Widgets 2 collected in / small widgets - works both fine 2 collected in / big widgets - here one works and the other crash its strange because the second widget from the big widget is so similar build that i dont find an error. Finaly it causes MyDays to crash often when the UpdateWidget Function is called. I just get errors like: I/ActivityManager( 62): Starting activity: Intent { act=android.appwidget.action.APPWIDGET_CONFIGURE cmp=com.chris.mydays/.setwidgetuser (has extras) } W/InputManagerService( 62): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub $pr...@43ae5ab8 D/AndroidRuntime( 1057): Shutting down VM W/dalvikvm( 1057): threadid=3: thread exiting with uncaught exception (group=0x4001b188) E/AndroidRuntime( 1057): Uncaught handler: thread main exiting due to uncaught exception D/dalvikvm( 1057): GC freed 3158 objects / 337152 bytes in 113ms E/AndroidRuntime( 1057): java.lang.RuntimeException: Unable to start service com.chris.mydays.updatewidg...@43aeafe8 with Intent { cmp=com.chris.mydays/.UpdateWidgets (has extras) }: java.lang.NullPointerException E/AndroidRuntime( 1057):at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2840) E/AndroidRuntime( 1057):at android.app.ActivityThread.access$3500 (ActivityThread.java:119) E/AndroidRuntime( 1057):at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1884) E/AndroidRuntime( 1057):at android.os.Handler.dispatchMessage (Handler.java:99) E/AndroidRuntime( 1057):at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 1057):at android.app.ActivityThread.main (ActivityThread.java:4310) E/AndroidRuntime( 1057):at java.lang.reflect.Method.invokeNative (Native Method) E/AndroidRuntime( 1057):at java.lang.reflect.Method.invoke (Method.java:521) E/AndroidRuntime( 1057):at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:860) E/AndroidRuntime( 1057):at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:618) E/AndroidRuntime( 1057):at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 1057): Caused by: java.lang.NullPointerException E/AndroidRuntime( 1057):at android.graphics.Bitmap.createBitmap (Bitmap.java:468) E/AndroidRuntime( 1057):at com.chris.mydays.UpdateWidgets.CNewBitmap (UpdateWidgets.java:255) E/AndroidRuntime( 1057):at com.chris.mydays.UpdateWidgets.updateAppWidget(UpdateWidgets.java:227) E/AndroidRuntime( 1057):at com.chris.mydays.UpdateWidgets.onStart (UpdateWidgets.java:95) E/AndroidRuntime( 1057):at android.app.Service.onStartCommand (Service.java:306) E/AndroidRuntime( 1057):at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2831) E/AndroidRuntime( 1057):... 10 more or D/dalvikvm( 1086): VM cleaning up E/AndroidRuntime( 1086): ERROR: thread attach failed D/dalvikvm( 1086): LinearAlloc 0x0 used 634508 of 5242880 (12%) D/dalvikvm( 1093): GC freed 5890 objects / 431768 bytes in 223ms D/AndroidRuntime( 1093): Shutting down VM W/dalvikvm( 1093): threadid=3: thread exiting with uncaught exception (group=0x4001b188) E/AndroidRuntime( 1093): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 1093): java.lang.RuntimeException: Unable to start service com.chris.mydays.updatewidg...@43abf2f0 with Intent { cmp=com.chris.mydays/.UpdateWidgets (has extras) }: java.lang.NullPointerException E/AndroidRuntime( 1093):at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2840) E/AndroidRuntime( 1093):at android.app.ActivityThread.access$3500 (ActivityThread.java:119) E/AndroidRuntime( 1093):at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1884) E/AndroidRuntime( 1093):at android.os.Handler.dispatchMessage (Handler.java:99) E/AndroidRuntime( 1093):at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 1093):at android.app.ActivityThread.main (ActivityThread.java:4310) E/AndroidRuntime( 1093):at java.lang.reflect.Method.invokeNative (Native Method) E/AndroidRuntime( 1093):at java.lang.reflect.Method.invoke (Method.java:521) E/AndroidRuntime( 1093):at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:860) E/AndroidRuntime( 1093):at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:618) E/AndroidRuntime( 1093):at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 1093): Caused by: java.lang.NullPointerException E/AndroidRuntime( 1093):at android.graphics.Bitmap.createBitmap (Bitmap.java:468) E/AndroidRuntime( 1093):at com.chris.mydays.UpdateWidgets.CNewBitmap (UpdateWidgets.java:255) E/AndroidRuntime( 1093):at com.chris.mydays.UpdateWidgets.updateAppWidget(UpdateWidgets.java:227) E/AndroidRuntime( 1093):at
[android-developers] Re: Problems with Widget
thanks yes.. nearly at the same time u wrote me i found the same... its obm = Bitmap.createBitmap(ob.getWidth(), ob.getHeight(), ob.getConfig()); but what is different here since 1.5 because there it worked? chris On 8 Nov., 17:23, Mark Murphy mmur...@commonsware.com wrote: guruk wrote: Hi There, I have 4 Widgets 2 collected in / small widgets - works both fine 2 collected in / big widgets - here one works and the other crash its strange because the second widget from the big widget is so similar build that i dont find an error. Finaly it causes MyDays to crash often when the UpdateWidget Function is called. I just get errors like: I/ActivityManager( 62): Starting activity: Intent { act=android.appwidget.action.APPWIDGET_CONFIGURE cmp=com.chris.mydays/.setwidgetuser (has extras) } W/InputManagerService( 62): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub $pr...@43ae5ab8 D/AndroidRuntime( 1057): Shutting down VM W/dalvikvm( 1057): threadid=3: thread exiting with uncaught exception (group=0x4001b188) E/AndroidRuntime( 1057): Uncaught handler: thread main exiting due to uncaught exception D/dalvikvm( 1057): GC freed 3158 objects / 337152 bytes in 113ms E/AndroidRuntime( 1057): java.lang.RuntimeException: Unable to start service com.chris.mydays.updatewidg...@43aeafe8 with Intent { cmp=com.chris.mydays/.UpdateWidgets (has extras) }: java.lang.NullPointerException E/AndroidRuntime( 1057): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2840) E/AndroidRuntime( 1057): at android.app.ActivityThread.access$3500 (ActivityThread.java:119) E/AndroidRuntime( 1057): at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1884) E/AndroidRuntime( 1057): at android.os.Handler.dispatchMessage (Handler.java:99) E/AndroidRuntime( 1057): at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 1057): at android.app.ActivityThread.main (ActivityThread.java:4310) E/AndroidRuntime( 1057): at java.lang.reflect.Method.invokeNative (Native Method) E/AndroidRuntime( 1057): at java.lang.reflect.Method.invoke (Method.java:521) E/AndroidRuntime( 1057): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:860) E/AndroidRuntime( 1057): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:618) E/AndroidRuntime( 1057): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 1057): Caused by: java.lang.NullPointerException E/AndroidRuntime( 1057): at android.graphics.Bitmap.createBitmap (Bitmap.java:468) E/AndroidRuntime( 1057): at com.chris.mydays.UpdateWidgets.CNewBitmap (UpdateWidgets.java:255) E/AndroidRuntime( 1057): at com.chris.mydays.UpdateWidgets.updateAppWidget(UpdateWidgets.java:227) E/AndroidRuntime( 1057): at com.chris.mydays.UpdateWidgets.onStart (UpdateWidgets.java:95) E/AndroidRuntime( 1057): at android.app.Service.onStartCommand (Service.java:306) E/AndroidRuntime( 1057): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2831) E/AndroidRuntime( 1057): ... 10 more or D/dalvikvm( 1086): VM cleaning up E/AndroidRuntime( 1086): ERROR: thread attach failed D/dalvikvm( 1086): LinearAlloc 0x0 used 634508 of 5242880 (12%) D/dalvikvm( 1093): GC freed 5890 objects / 431768 bytes in 223ms D/AndroidRuntime( 1093): Shutting down VM W/dalvikvm( 1093): threadid=3: thread exiting with uncaught exception (group=0x4001b188) E/AndroidRuntime( 1093): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 1093): java.lang.RuntimeException: Unable to start service com.chris.mydays.updatewidg...@43abf2f0 with Intent { cmp=com.chris.mydays/.UpdateWidgets (has extras) }: java.lang.NullPointerException E/AndroidRuntime( 1093): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2840) E/AndroidRuntime( 1093): at android.app.ActivityThread.access$3500 (ActivityThread.java:119) E/AndroidRuntime( 1093): at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1884) E/AndroidRuntime( 1093): at android.os.Handler.dispatchMessage (Handler.java:99) E/AndroidRuntime( 1093): at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 1093): at android.app.ActivityThread.main (ActivityThread.java:4310) E/AndroidRuntime( 1093): at java.lang.reflect.Method.invokeNative (Native Method) E/AndroidRuntime( 1093): at java.lang.reflect.Method.invoke (Method.java:521) E/AndroidRuntime( 1093): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:860) E/AndroidRuntime( 1093): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:618) E/AndroidRuntime( 1093): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 1093): Caused
[android-developers] Re: Problems with Widget
thx... hmmm strange, just because it was working fine can u just see an significant error of mine in the following function?? still researching :) public static Bitmap CNewBitmap(Resources resources, int color) { Log.d(test, updatewidget CNewBitmap 1); ob = BitmapFactory.decodeResource(resources, R.drawable.mydaysminipic_td); Log.d(test, updatewidget CNewBitmap 2); obm = Bitmap.createBitmap(ob.getWidth(), ob.getHeight(), ob.getConfig ()); // -- above makes the problem.. because here it stops! Log.d(test, updatewidget CNewBitmap 3); // ob.recycle(); Canvas canvas = new Canvas(obm); Paint paint = new Paint(); paint.setColorFilter(new PorterDuffColorFilter(color, Mode.SRC_ATOP)); canvas.drawBitmap(ob, 0f, 0f, paint); return obm; } thx chris -- 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: Problems with Widget
checked with the log.d I get: ob.getWidth == 18 ob.getHeight == 18 ob.getConfig == NULL h and 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: Problems with Widget
ok, looks i solved it with: obm = Bitmap.createBitmap(ob.getWidth(), ob.getHeight(), Bitmap.Config.ARGB_); :) if u have a more professional solution let me know greets chris -- 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: Problems with Widget
last and final :) ok it looks fine.. no force close etc. but in my sdk 2.0 it looks the Widget does come not updated when i force it from my app. I was reading somewhere there is a bug in sdk 2.0 emulator... can someone confirm that ? I will try now to install on my mobile with 1.6 and see what happens -- 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 make sound hz?
thanks for all comments. does anyone have a simple source demo. I could try that buffer[i] = (short) ( Math.sin((2. * Math.PI * i * f) / samplerate) * Short.MAX_VALUE ) ... and what afterwards, how to play it? I am just wondering ( please i am a total newbie in sound) when I fill always a buffer like above... how long is that sound?? I would be happy to create that sounds in realytime and not always had to create some seconds --~--~-~--~~~---~--~~ 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 make sound hz?
sorry i just dont find that simple thing. how to create a tone lets say 10khz / 5 secs something like that,, just play a individual created sound, not playing a mpg or so? any example will be helpful thx chri --~--~-~--~~~---~--~~ 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] Microphone signal ..source
Hi, i look for a very simple example what signal arrives at my mic in realtime. It does not need to be saved to sd-card or anything. Just a $vol=GetVolume (0-) $frequ=Getfrequ (0-28000) something like that. The Examples I found are just overloaded and mostly to record some seconds to sd-card. I dont need that at all, just whats the signal right now arriving :) thanks i advance any snippet can help chris --~--~-~--~~~---~--~~ 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] Problem HTC-Hero and Widget
Hi, I have around 100.000 Installations of my App My Days and most looks fine. Now I got 2 Complains just from HTC Hero Users, that when they use my Widgets, they dont appear and crash the app always when the restart their phone? Any Ideas from Widget Probs with HTC Hero greets chris --~--~-~--~~~---~--~~ 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] Chart API
Hi, I got a Mail from Google they would/could a App of mine if I improve my Chart. The Lady recommended to use: http://code.google.com/apis/chart/types.html but how do I implement that in Android? Any Experience in that, Demo Code, whatever? Greets Chris --~--~-~--~~~---~--~~ 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 check button on focus?
Hi, i have a set of buttons. Usualy i can also move between em also with my trackball. But now I have set styles on my buttons and I dont see anymore if a button is focused. What can I do, is there a specific Styles Tag that I can use till now i use: style name=DoorButton item name=android:background#66/item item name=android:textSize12sp/item item name=android:textStylebold/item item name=android:textColor#FFF/item /style OR!! is there something i can check within my App if a button comes focused so i can highlight em manual? thanks chris --~--~-~--~~~---~--~~ 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] Webview Upload !!
Hi, when i go in my webview to a page with picture upload i get upload disabled on that button. How can i code my Webview, that my Android users can upload pics to my online page? ... it looks the only way is to code all directly in android... i can do... just its a pain to do. chris --~--~-~--~~~---~--~~ 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] Percentage of loading in WebView
Hi, I there a Way how I can get the Percentage of how many of a URL is already loaded (I would like to make a Preloader how does show how many % are already loaded from a Page) thankx --~--~-~--~~~---~--~~ 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] Webview dont open Virtual Keyboard?
Hi, I have a URL where User can Input in a Field. When I open that URL with the Android Browser and click in the Field the Virtual Keyboard pops up. When I open the same URL with my WebView and click in the Field the Virtual Keyboard does NOT appear?! What Do I have to do? Greets Chris --~--~-~--~~~---~--~~ 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 .apks running in a Browser
are there any plans for that... one user of mine told me he heared about... but i did not found news 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: Android .apks running in a Browser
Hi Dianne, i am happy someone from the android team comes in that discussion. Just you may missunderstood. Its not about to download that app in the Browser and run it on a mobile. Its about to compile that App (i called it apk) for a BrowserVersion. Just think, We have GWT (to generate Browser App), Android for Mobile Apps. I think it would be so cool to code one app and just compile it for Android or Browser. Finaly, yes I wrote .apk, because I thought should there be already an apk we just would need like an emulator plugin for a browser and could run the apk directly in the browser, just as a browser application. For sure I can not use all functions in the browser as in the Mobile. But that would be just a few /* */ and not like now writing the same app totaly again from the ground just to have a Browser Version from it. I think right now about my app My Days. 99% would look same in a browser but now if I like to have a browser version (bigger screen and just for people without android mobile) I have to code all again. I asked that, because I think if someone have the power to create something like that its google. You have GWT you have Android... something that would make a GWT Source from my Android source... I guess you got the point where I am looking for. To make Android really a CrossOver language. Let it run as application in LInux, under Windows, in a Browser and for sure still on Android Mobiles :) Greets Chris --~--~-~--~~~---~--~~ 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: Getting my app in the featured section
just make your app so successfull that it reach 50.000 installations than from my own experience google contacts you. maybe you are not featured, but its already nice to see your app in the top app section .. chris My Days --~--~-~--~~~---~--~~ 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 .apks running in a Browser
Hi, just like to keep that Post again so hopefully someone from Android Team will make a Statement to that Issue! Are there any Plans to realize an option to play .apks in a browser? Greets chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android .apks running in a Browser
Hi, first I like to thank you the whole Android Team and all Users who helped me over time with me Questions. Amazing Work. My simple App My Days is now in the Top 100 from Android Apps. What I like to suggest now for the Android Project is the Option to run .apk's in a Browser. That may sound a bit crazy, but also imagine how cool it would be to see your App running in a Browser http://code.google.com/p/drine/ is the first Project I saw working on that Idea and I like it a lot. In my View it would need a Plugin from Google Android for a Browser like Chrome, FF, IE ... that would allow to run .apks Is something like that planned or just what do you think about? Greets Chris --~--~-~--~~~---~--~~ 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 .apks running in a Browser
hi deepdroid check: http://androidstats.com/ranking/applications its cool chris --~--~-~--~~~---~--~~ 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] cf.locale.getCountry() (language error)
Hi, hope you can help I try to get the local language with : cf.locale.getCountry() usualy it works. BUT on G1 US-Version, when spanish is in prefs/local i get as responds. Now I did =spanish us=english etc. But now I hear from some german G1 Users that it starts on their G1 in Spanish? Totaly confusing. In my Emulator i get a clear de when German is selected. So what now, does German G1 Phones give even a back when its standart. Is this a bug or what? Thanks Chris --~--~-~--~~~---~--~~ 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] Get Manifest versionname by Code?
Hi, how can i request the versionName stored in manifext.xml from within my Code? manifest.xml android:versionName=0.8.1 thanks chris --~--~-~--~~~---~--~~ 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] open spinner from button
Hi, i like to start a spinner after pressing a button. (a button, not a spinner defined in my layout) i tried: (bweeks is the button) final Spinner spinner = new Spinner(this); ArrayAdapter spinnerArrayAdapter = new ArrayAdapter(this, android.R.layout.simple_spinner_dropdown_item, new String[] { Apple, Peach, Banana }); spinner.setAdapter(spinnerArrayAdapter); bweeks.setOnClickListener(new OnClickListener() { public void onClick(View v) { spinner.showContextMenu(); }}); i know there is something wrong.. even how would i get back what item are clicked? (its easy when i implent a spinner in my layout.. but i like to start the spinner after pressing a button? is that possible chris --~--~-~--~~~---~--~~ 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] Center Text in a AlertDialog.Builder
Hi how do I have to change my AlertDialogBuilder to center the Items? return new AlertDialog.Builder(preferences.this).setTitle(my titel) .setItems(daysList, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { dbHelper.SetStartWeek(+which); }}).create(); Thanks Chris --~--~-~--~~~---~--~~ 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] Crash on Samsung HERO????
Hi, i got a strange message from a user: : he is talking about my application: I have been using v.7 on my new Samsung Hero device. When I updated to v.8 I get a force close every time I try and start it up. It is using 1.5 kernal. I have had to go back to v.7 in order to use this product which by far is the best one out there. so please can tell me someone what could be the different on a Samsung Hero device. I guess its a HUGE Bug in Android when it works in my emulator and on all G1 Devices but makes probs on other devices. Regards Chris --~--~-~--~~~---~--~~ 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 on Samsung HERO????
I wrote the user right now, he said it happens also with another app. So whats different in this ** hero anyhow.. i changed quit a lot. it could be the new widget feature for example. but how to develop in the future when stuff like that happens. that makes me quit unhappy. --~--~-~--~~~---~--~~ 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 on Samsung HERO????
thanks... its solved ..i also wrote in the xda forum and it looks he used a alpha version and even did some mistake with a odex file see: http://forum.xda-developers.com/showthread.php?t=522482 --~--~-~--~~~---~--~~ 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] wait till layout is shown
Hi, i have a main activity that needs quit a lot to load so i thought about a trick: i call a intropage that shows a pic and from directly it calls by intent the long loading page. Finaly I thought I would see the pic and in the background the other intent is loading, when its done the intro page dissapear automaticly and voila. (yes i thought i am very clever ) But now i see, that the Intro Page does not come initialized at all. I see in the header that the intro page is active, but the pic is not shown. immediatly it loads the main intent. So i guess i have to options.. make a small wait (but how) that the pic from the intro is finaly shown.. or more professional I have the option to request from windowmanager or so, if the layout from the intro is full shown. Only when that is done, I would call the Intent to start the main activity. Any Ideas? Thanks Chris --~--~-~--~~~---~--~~ 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: wait till layout is shown
i even tried to place my startactivity for the main activity in onSTART but still my intro pics on the intro page are not shown. immediatly it starts the mainactivity... --~--~-~--~~~---~--~~ 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: no package identifier when getting value for resource
:) make really no sense and you know what is even more strange: now while installing my app i get 35 Times: I/ActivityManager( 60): Start proc com.chris.mydays for activity com.chris.myd ays/.datepicker: pid=32376 uid=10032 gids={} I/dalvikvm(32376): Debugger thread not active, ignoring DDM send (t=0x41504e4d l =38) I/dalvikvm(32376): Debugger thread not active, ignoring DDM send (t=0x41504e4d l =36) E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name Any ideas how to fix that? greets chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] What is that? Multiple assets with package name
Now i get while installing my app 35 times Multiple assets with package name How to fix that, and where to search for it? The app works fine.. just its anoying to look in the log :) thanx chris I/ActivityManager( 60): Start proc com.chris.mydays for activity com.chris.myd ays/.datepicker: pid=32376 uid=10032 gids={} I/dalvikvm(32376): Debugger thread not active, ignoring DDM send (t=0x41504e4d l =38) I/dalvikvm(32376): Debugger thread not active, ignoring DDM send (t=0x41504e4d l =36) E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name E/vending (32364): com.android.vending.api.LocalAssetDatabase.buildPackageNameMa p(): Multiple assets with package name --~--~-~--~~~---~--~~ 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: Finish all previous Activities?
Hi Marco, that sounds interesting. how to set the clear top flag? right i call the main acticity again with: Intent mainIntent = new Intent(listdatabases.this, datepicker.class); mainIntent.putExtra(db_table, databasestr ); listdatabases.this.startActivity(mainIntent); listdatabases.this.finish() And you mean its like . a (datepicker.class) starts b, b starts c, c starts a with clear top and when I press back it will just exit to the homescreen, right? that would be great! chris --~--~-~--~~~---~--~~ 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: Finish all previous Activities?
!!! thanks !!! looks great chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Strange Layout Bug
Hi, i have a very strange Layout bug. I have a TableLayout where are three other TableLayouts included I needed TableLayou because of the autostretch. anyhow, First Time i had the problem that the buttonsText in the first table disappeared when i pressed em. I solved it while i made a relative layout out of the first table. NOW: i have the strange problem always when my gesturedetection starts my redraw of the layout the buttons in the last table loose there Gravity (before center and than suddently left) I guess its some memory problem or i dont know. FUNNY !! when I start and open, before ich do a gesture on the screen, a dialog and close that again. my layout keeps stable?!!! Any Ideas Greets Chris --~--~-~--~~~---~--~~ 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] Order MENU items
Hi, is there a way i can say 3 items in the top row and 1 icon in the second row? chris --~--~-~--~~~---~--~~ 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] Finish all previous Activities?
Hi, is it possible with one call to finish all previous Activities. (like: this.finish(all) :) I have a main activity, calling a preferences and there is a switchuser point that switch the user and call the main activity again. But than i dont need that the user can go back, step by step, It would be just fine i could say kill all previous activites in the moment the user klick switch user any idea? greets chris --~--~-~--~~~---~--~~ 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] SampleView in a Layout?
Hi, @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(new SampleView(this)); } private static class SampleView extends View implements OnGestureListener { but how could I make that I use a Layout, where are three Buttons are included and implement the above Sampleview? Just for explanation: I need the Sampleview for a Diagram I created, but i would be great to place two normal buttons bellow... is this possible? or do I have to create a normal layout xml with a Bitmap inside and paint there my stuff? Thanks Chris --~--~-~--~~~---~--~~ 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] Screen Brightness
Hi, I read here in several posts thats possible with WindowManager.LayoutParams lp = getWindow().getAttributes(); lp.screenBrightness = 100 / 100.0f; getWindow().setAttributes(lp); to change the screen brightness. ok, but it looks only for the actual activity. (there it works) When I close my activity, the standart system brightness is still the same But how to change the overall brightness, like several tools for 1.5 do? thanks chris --~--~-~--~~~---~--~~ 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] remove button backgroundresource!?
Hi, i have a quit strange problem, I have a textview in the top and fill some buttons later with: mbs[i].setBackgroundColor(daybgcolor); all fine, but when I also add mbs[i].setBackgroundResource(R.drawable.chart); it kills the text in my textview?!? also when i even dont know what my textview should have to do with that button action. Ok, anyhow after duddling around i guess the problem is somehow in the backgroundresource, because when i later like to fill it with setbackgroundcolor the text in the textview dissapear. Is there a Way to CLEAN, or reset the SetBackgroundResource i did before, so the button is clean without any chances I did later on? Thanks Chris --~--~-~--~~~---~--~~ 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 service utilizing custom usb device
do you have a blog or something for your work. I very like the Idea to connect external usb devices. Could be a great improvment to know a page where that stuff is explained a bit, also technicalwise what wires etc.. you know :) greets chris --~--~-~--~~~---~--~~ 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] activity getHeight() alternative?
Hi, i work in a normal - extends Activity (not in an extended View) is there anyway to get the Height of the screen, like getHeight() ? Or how to user getHeight ? I am just experimenting a bit with bigger displays and so just to know the orientation does not help. thanks chris --~--~-~--~~~---~--~~ 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: activity getHeight() alternative?
ok, i found two solutions.. for anyone with the same prob. 1. Display displayx = ((WindowManager) getSystemService (Context.WINDOW_SERVICE)).getDefaultDisplay(); int height= displayx.getHeight(); 2. DisplayMetrics dm = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(dm); int height=dm.heightPixels; but finaly 1) makes 100 byts less code in my app :) so i use that cheers chris --~--~-~--~~~---~--~~ 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 ID from created Drawable?
Hi, I created a new Drawable with: Drawable dx = resources.getDrawable(R.drawable.mydaysminipic_ov); dx.setColorFilter(0xff00ff00, Mode.SRC_ATOP); and for: updateViews.setImageViewResource(predefinedDraw, -- ID from dx); I need the ID from it... but how to get? Or any other Idea how to assign my Drawable dx to the above predefinedDraw? Thanks Chris --~--~-~--~~~---~--~~ 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 ID from created Drawable?
or maybe you know how to transform a Drawable into a Bitmap so I could use: updateViews.setImageViewBitmap(viewId, bitmap) --~--~-~--~~~---~--~~ 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] Create Bitmap from BitmapDrawable?
Hi, how can i convert a BitmapDrawable into a Bitmap (hopefully it keeps the Alphachannel from the BitmapDrawable) thanks Chris --~--~-~--~~~---~--~~ 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: Create Bitmap from BitmapDrawable?
:) Hi Tom, indeed, look good, but it looks it does not include my manipulations I did on the Drawable Bitmap BitmapOrg = BitmapFactory.decodeResource (resources,R.drawable.mydaysminipic_td);//its a green icon on a transparent background BitmapDrawable bmd = new BitmapDrawable(BitmapOrg); // to BitmapDrawable bmd.setColorFilter(0x00ff,Mode.SRC_ATOP); //manipulating the Bitmapdrawable to make all nontransparent pixels Blue //when i just test the Drawable its fine !! updateViews.setImageViewBitmap(draws2[i + 10], bmd.getBitmap()); But bmd.getBitmap() just give me original (maybe underlying Bitmap).. but how to get the DrawAble I created? many Thanks... Greets Chris --~--~-~--~~~---~--~~ 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: Create Bitmap from BitmapDrawable?
Hi Tom, thanks for your help do you mean something like that: (till now i did not worked) Bitmap ob = BitmapFactory.decodeResource (resources,R.drawable.mydaysminipic_td); Bitmap obm = Bitmap.createScaledBitmap(ob, 18, 18,false); Canvas canvas = new Canvas(obm); BitmapDrawable bmd = new BitmapDrawable(canvas); bmd.setColorFilter(0xff00,Mode.SRC_ATOP); bmd.draw(canvas); Bitmap newbit; newbit=bmd.getBitmap(); Really I came crazy with that. Finaly I just need the Solution for: I have a Drawable and I like that all set pixels in it get another Color and finaly to update my widget ... for that I have to options: updateViews.setImageViewBitmap(draws2[i + 10], newbit); //thats what I try now with above code or i make it simple: (but i miss a link) -- Drawable dx = resources.getDrawable(R.drawable.mydaysminipic_ov); dx.setColorFilter(0xff00ff00, Mode.SRC_ATOP); updateViews.setImageViewResource(draws2[i + 10], R.drawable.mydaysminipic_pe); -- but that does not work, because WHAT is the ID (int) of my created dx?? Any Ideas to solve that. would be really great Thanks Chris --~--~-~--~~~---~--~~ 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: Create Bitmap from BitmapDrawable?
Hi Tom, hi Streets of Boston, I use this now and it works.. if there is a shorter way... always welcome :) Bitmap ob = BitmapFactory.decodeResource (resources,R.drawable.mydaysminipic_td); Bitmap obm = Bitmap.createBitmap(ob.getWidth(), ob.getHeight(), ob.getConfig()); Canvas canvas = new Canvas(obm); Paint paint = new Paint(); paint.setColorFilter(new PorterDuffColorFilter (0xff00,Mode.SRC_ATOP)); canvas.drawBitmap(ob, 0f, 0f, paint); updateViews.setImageViewBitmap(draws2[i + 10], obm); but bytheway: it looks you know something about that drawables and bitmaps :) setImageViewResource (int viewId, int srcId)) does need a viewID and a srcID . both int i can create a new Drawable and assign my ColorFilter with: Drawable dx = resources.getDrawable(R.drawable.mydaysminipic_ov); dx.setColorFilter(0xff00ff00, Mode.SRC_ATOP); but is there any way to get a srcID for that new created Drawable (ex. getidfrom())? If so I could just set: updateViews.setImageViewResource(draws2[i + 10], getIdfrom(dx)); to update my Widget :) Anyhow.. again.. thanks Chris --~--~-~--~~~---~--~~ 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: Create Bitmap from BitmapDrawable?
Tom, Thanks for clarification so i use the way you showed me... also when i my perspective its quit a lot of routines for a simple effect :) ... great work... keep your good vibes. Also best Thanks again to Street of Boston! Yours Christian --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---