[android-developers] Re: deleteOnExit when and how does an Android JVM exit
On Mar 29, 2:20 pm, Streets Of Boston flyingdutc...@gmail.com wrote: In short, don't call System.exit(). :-) Or System.halt(). Or Process.killMeKillMeKillMeNow(). On Mar 29, 5:10 pm, lordjoe lordjoe2...@gmail.com wrote: So my take on this is not only can I not COUNT on deleteOnExit() behaving properly but I can basically count on it never being called. Yup. You can either take advantage of Linux's ability to continue to work with open files after they have been deleted, or clean up after the previous run when the next run starts. The latter has a disadvantage in that it won't happen if the app is uninstalled, which is a problem if your temp files are out on external storage. -- 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] Cyanogen and Signed Apps Issue
I have an application on the Market that was named 'ShakeCall' and I successfully renamed it 'FlipCall'. I did not change the package, I signed it with the same certificate, and Android Market accepted it. At least one customer (Nexus One) went and downloaded the new version and ran it successfully. Another customer:- 1. Purchased and successfully ran it on Cyanogen 2. Upgraded to latest Cyanogen 3. Attempted upgrade of my app - but it says 'Application unsigned'. Has anybody seen similar, or know what might be going on? Thanks Ian Hunter -- 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] Can I modify vitual keyboard's preview popup?
hi all~! now i study inputmethod(virtual keyboard). Can I modify vitual keyboard's preview popup? somebody help me! What method do i looking for? thanks.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: My location not getting in real device
Vaikunth I have still the same problem persist. Can you give some hint for that? thanks On Apr 2, 10:05 am, Vaikunth vaikunth.kraffs...@gmail.com wrote: Hi, Its working automatically. Don't know why it was not showing me before. Thanks to all. On Apr 2, 7:40 am, patbenatar patbena...@gmail.com wrote: Ummm.. I noticed for some reason you're closing what should be a self- closing XML tag (uses-permission).. You're doing that the first line, INTERNET, but not on any other lines... No idea if this could be causing a problem, but its worth correcting anyhow. uses-permission android:name=android.permission.INTERNET/uses- permission SHOULD BE: uses-permission android:name=android.permission.INTERNET / Other than that, no clue without seeing some of your LocationListener code. -Nick On Apr 1, 5:35 am, Vaikunth vaikunth.kraffs...@gmail.com wrote: By logging i can find that LocationListener() not called. So is there any issue in that. On Apr 1, 5:26 pm, Mark Murphy mmur...@commonsware.com wrote: Vaikunth wrote: Hi Mark, Thanks for reply. I am in India. So my observation over my Samsung Galaxy Spika I have installed one application from Android Market which shows me my location so I think there is no problem in my device. Now in my app: I have set all the permission uses-permission android:name=android.permission.INTERNET/uses- permission uses-permission android:name=android.permission.ACCESS_FINE_LOCATION / uses-permission android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS / uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / And it is running fine in emulator using mock location. So what else remaining. I have no further advice, other than to get rid of ACCESS_LOCATION_EXTRA_COMMANDS. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Status Bar Customizations
In your AndroidManifest.xml, within the activity tag for the activity you wish to have no title or status bar: android:theme=@android:style/Theme.NoTitleBar.Fullscreen Should work like a charm :-) -Nick On Apr 1, 7:50 pm, mssmison cpoul...@gmail.com wrote: I've seen this posted before however I'd really like to revisit it. In dealing with a small res device I would like to hide the status bar, my current solution has been to make it transparent and 'make a mess' of the framework and xml so that certain icons are no longer shown, for example the battery icon only shows a png when it's low, the ticker font is transparent etc. I'd much rather do this the proper way, via the source in android 2.1 So who has ideas for; Making the status bar hide when the launcher is open? not having the notification ticker at all? Disabling the status bar completely? What are your thoughts everyone? -- 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] Problem with onscreen keyboard on Droid
Hi all i am developing an application which has a general text entry form. So while testing on my moto droid, i am facing a strange issue-- when i touch an input field ( which is at lower end of the screen) -- the on screen keyboard pops up and hides the input field. So user have to enter blindly. So is this a sdk issue OR it is particular for droids OR am i doing something wrong??? I have tested this same form on G1, Hero..i see no issues at all. Please help... -- 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] Your message was NOT received by android-develop...@googlegroups.com!
Hi , Whenever I am posting any message on Android group I am getting this email can any body explain this ? We're sorry.. your email was unable to be processed by our automatic support system, and so is being returned to you. We could not find your email address in our customer database and so couldn't accept your email. Due to the HUGE volume of spam we receive at this address, we've been forced to implement this new policy. Therefore, please just re-submit your message at: http://www.dreamhost.com/contact.cgi All messages submitted through that form are guaranteed to be received, even if you aren't currently a customer! Our apologies for the inconvenience, -- -- 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] Insert and delete SIM contacs working but it needs to be phone restart to update the changes
Hi All, I am able to insert the contacts into SIM card and delete from it. But it needs to be phone restart to update the changes. The below is the code woks for delete the conatcs, Uri simUri = Uri.parse(content://icc/adn); Cursor cur = context.getContentResolver().query(simUri, null, null, null, null); prn(Number of SIM Contacts are..+cur.getCount()); int row =0; while(cur.moveToNext()){ String name = cur.getString(cur.getColumnIndex(name)); prn(Name...+name); String data = cur.getString(cur.getColumnIndex(number)); if(!data.equals()) prn(Number..+data); String where = null; if(!name.equals() !data.equals()){ where = tag = + name + AND + number = +data; } else if(name.equals() !data.equals()){ where = number =+data; } else { where = tag =+name+ AND +number=+null; } context.getContentResolver().delete(simUri, where, null); row++; } prn(row+ are deleted); cur.close(); cur = null; Please look into this issue and give suggestions on this. Thanks, Girish G M -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Building and compiling CTS
I have the same problem, can any body provide some suggestions? On 3月2日, 下午4時39分, navin celebna...@gmail.com wrote: Hi, I am working on the CTS and i am trying to figure out how to write new test cases and then include in the CTS package. I am specifically targetting test cases for Bluetooth. So far I could not find any success in building and compiling the source code of CTS. I found the buildcts.py file inside /src/cts/tools/utils/ but i am not able to build the CTS. Is there something i am overlooking ?? what has to be done for DescriptorGenerator.java. Inside that file it's written that the file cannot be compiled as it has some dependecies. Is there any documentation availiable for the same i.e writing new test cases and including them in the CTS . Your help in this regard will be highly appreciated. Thanks and Regards. Navin Kumar -- 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] Max resolution for a game always?
Hi, I have a problem with my game. I'm making a game that need always be big on the screen. I have make a 2D game that have 480x320 resolution (for example the background image is so)...but if I try it on the emultator all go ok, but If I try it on Nexus the game is more little on the screen. How I can say to the game to be always max size on each screen? Ty -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Maps API on platform 1.5
You should have multiple versions of the Google APIs, one to go along with each version of the SDK. The corresponding API for Android 1.5 is API level 3. See if you can download Google APIs by Google Inc., Android API 3, revision 3 in the Android SDK AVD Manager [in Eclipse: Window Android SDK and AVD Manager then go to Available Packages in the left column]. On Apr 1, 7:12 pm, Felipe Sodré Silva fso...@gmail.com wrote: And how can I do that? When I start a new project, I have the following options to choose for target SDK: - Android 1.1 - Android 1.5 - Android 1.6 - Android 2.0 - Android 2.0.1 - Android 2.1 - Google APIs I've tried to choose Android 1.5 + Google APIs but eclipse don't let me do it. Thanks ! On Thu, Apr 1, 2010 at 10:55 PM, ~ TreKing treking...@gmail.com wrote: On Thu, Apr 1, 2010 at 8:21 PM, Felipe Sodré Silva fso...@gmail.comwrote: Is there a JAR file I should add to my class path or something like that to make Eclipse find MapActivity class? Make sure you've selected the Google Maps Addon for the version you're developing on as the target SDK. --- -- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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.comandroid-developers%2Bunsubs cr...@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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Chances are, some devs already have a N1/Droid, and they are sending some of us two identical phones at once. Do what you want with it! :) - Any updates from the UK? Nothing here yet, my 4 weeks is up On Apr 2, 3:37 am, David Orriss Jr codethou...@gmail.com wrote: I wonder if it's against the rules to sell this device to pay for a Nexus 1? I mean seriously if Google wants me to actually *use* the device for dev work then they should give me one for the network I use as my primary carrier. On Thu, Apr 1, 2010 at 7:28 PM, Dan Sherman impact...@gmail.com wrote: I'm in the same boat as David, have a Droid, would really like to trade for a Nexus if anyone in the Miami area got one :) - Dan On Thu, Apr 1, 2010 at 10:18 PM, David Orriss Jr codethou...@gmail.com wrote: I got my phone today. It's a Droid... anyone who received a Nexus 1 want to trade? I'm in the Seattle area.. so a direct trade would be preferred. On Thu, Apr 1, 2010 at 4:01 PM, schwiz sch...@gmail.com wrote: So I got a Droid and also in the box was a Sprint USB 3G/4G modem, I thought it was pretty random, not sure what it has to do with Android. I think I got since my Droid didn't come with a free month like they said it would. On Mar 29, 7:48 am, zneref zne...@gmail.com wrote: People relax, 6-weeks term doesn't passed yet ;) On 29 Mar, 11:25, Paul stuem...@gmail.com wrote: Germany, still waiting. ... and growing nervous :) -- 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. -- David Orriss Jr. My blog:http://www.codethought.com/blog -- 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 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 -- David Orriss Jr. My blog:http://www.codethought.com/blog -- 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] Set Android application dependency from custom Java library
Hello, friends! I using Eclipse Gallileo to develop Android application and Java library for this application. Please, help to set Android application dependency from my custom Java library rightly. I want this library automatically build if necessary and be included to .apk file. Much appreciate for any help :)) -- 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] application has problem downloading files
Hi, My application needs to download a few files, each about 1-2 MB in size. I host these files on my ftp server and use the simple code below. Works great on my device and seemingly for most users but a few report they get the message from the exception and others say that the code never finishes and the download just hangs. Is there a better way to download files? byte[] buffer = new byte[1]; int cc = 0; try { String url = ftp://user:passw...@ftp.mysite.com:21/ mydirectory/ + in; mInputStream = new URL(url).openStream(); mOutputStream = new FileOutputStream(mAppDir.getAbsolutePath() + / + out); do { cc = mInputStream.read(buffer); if (cc 0) mOutputStream.write(buffer, 0, cc); } while (cc 0); } catch (Exception ex) { result = ERROR_NETWORK; } Thank you for any input... Martin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: My location not getting in real device
Hi, Closing XML tag is not affecting. And my application working fine now. Hi Mark, The sample is still not working. In this sample may be something missing in WeatherPlus.java the line public static final String BROADCAST_ACTION=com.commonsware.android.service.ForecastUpdateEvent; So where is the file ForecastUpdateEvent? May be for that it is not working. Hi Beena, If you have set all the permission then as Mark says it should work. Otherwise have to see the code for that. Thanks, Vaikunth On Apr 2, 7:40 am, patbenatar patbena...@gmail.com wrote: Ummm.. I noticed for some reason you're closing what should be a self- closing XML tag (uses-permission).. You're doing that the first line, INTERNET, but not on any other lines... No idea if this could be causing a problem, but its worth correcting anyhow. uses-permission android:name=android.permission.INTERNET/uses- permission SHOULD BE: uses-permission android:name=android.permission.INTERNET / Other than that, no clue without seeing some of your LocationListener code. -Nick On Apr 1, 5:35 am, Vaikunth vaikunth.kraffs...@gmail.com wrote: By logging i can find that LocationListener() not called. So is there any issue in that. On Apr 1, 5:26 pm, Mark Murphy mmur...@commonsware.com wrote: Vaikunth wrote: Hi Mark, Thanks for reply. I am in India. So my observation over my Samsung Galaxy Spika I have installed one application from Android Market which shows me my location so I think there is no problem in my device. Now in my app: I have set all the permission uses-permission android:name=android.permission.INTERNET/uses- permission uses-permission android:name=android.permission.ACCESS_FINE_LOCATION / uses-permission android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS / uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / And it is running fine in emulator using mock location. So what else remaining. I have no further advice, other than to get rid of ACCESS_LOCATION_EXTRA_COMMANDS. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
no seeding in EU yet. we shall wait a few more weeks i guess... On ápr. 2, 10:37, Richard rtaylor...@googlemail.com wrote: Chances are, some devs already have a N1/Droid, and they are sending some of us two identical phones at once. Do what you want with it! :) - Any updates from the UK? Nothing here yet, my 4 weeks is up On Apr 2, 3:37 am, David Orriss Jr codethou...@gmail.com wrote: I wonder if it's against the rules to sell this device to pay for a Nexus 1? I mean seriously if Google wants me to actually *use* the device for dev work then they should give me one for the network I use as my primary carrier. On Thu, Apr 1, 2010 at 7:28 PM, Dan Sherman impact...@gmail.com wrote: I'm in the same boat as David, have a Droid, would really like to trade for a Nexus if anyone in the Miami area got one :) - Dan On Thu, Apr 1, 2010 at 10:18 PM, David Orriss Jr codethou...@gmail.com wrote: I got my phone today. It's a Droid... anyone who received a Nexus 1 want to trade? I'm in the Seattle area.. so a direct trade would be preferred. On Thu, Apr 1, 2010 at 4:01 PM, schwiz sch...@gmail.com wrote: So I got a Droid and also in the box was a Sprint USB 3G/4G modem, I thought it was pretty random, not sure what it has to do with Android. I think I got since my Droid didn't come with a free month like they said it would. On Mar 29, 7:48 am, zneref zne...@gmail.com wrote: People relax, 6-weeks term doesn't passed yet ;) On 29 Mar, 11:25, Paul stuem...@gmail.com wrote: Germany, still waiting. ... and growing nervous :) -- 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. -- David Orriss Jr. My blog:http://www.codethought.com/blog -- 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 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 -- David Orriss Jr. My blog:http://www.codethought.com/blog -- 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
I've emailed them two days ago. no response yet Let's hope EU will be next week (excluding Monday)... On Apr 2, 12:47 pm, ratson materem...@gmail.com wrote: no seeding in EU yet. we shall wait a few more weeks i guess... On ápr. 2, 10:37, Richard rtaylor...@googlemail.com wrote: Chances are, some devs already have a N1/Droid, and they are sending some of us two identical phones at once. Do what you want with it! :) - Any updates from the UK? Nothing here yet, my 4 weeks is up On Apr 2, 3:37 am, David Orriss Jr codethou...@gmail.com wrote: I wonder if it's against the rules to sell this device to pay for a Nexus 1? I mean seriously if Google wants me to actually *use* the device for dev work then they should give me one for the network I use as my primary carrier. On Thu, Apr 1, 2010 at 7:28 PM, Dan Sherman impact...@gmail.com wrote: I'm in the same boat as David, have a Droid, would really like to trade for a Nexus if anyone in the Miami area got one :) - Dan On Thu, Apr 1, 2010 at 10:18 PM, David Orriss Jr codethou...@gmail.com wrote: I got my phone today. It's a Droid... anyone who received a Nexus 1 want to trade? I'm in the Seattle area.. so a direct trade would be preferred. On Thu, Apr 1, 2010 at 4:01 PM, schwiz sch...@gmail.com wrote: So I got a Droid and also in the box was a Sprint USB 3G/4G modem, I thought it was pretty random, not sure what it has to do with Android. I think I got since my Droid didn't come with a free month like they said it would. On Mar 29, 7:48 am, zneref zne...@gmail.com wrote: People relax, 6-weeks term doesn't passed yet ;) On 29 Mar, 11:25, Paul stuem...@gmail.com wrote: Germany, still waiting. ... and growing nervous :) -- 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. -- David Orriss Jr. My blog:http://www.codethought.com/blog -- 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 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 -- David Orriss Jr. My blog:http://www.codethought.com/blog- Hide quoted text - - Show quoted text - -- 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: Is this a joke or a spam or another April 1st prank?
Just to chime in, I am also getting them. Very annoying, wondered what the heck was happening at first LOL. I have to admit I was *tempted* to click etc as it seems to be bounced from Google groups, but in the end I just deleted it when I realised that my post had been submitted. On Apr 2, 4:43 am, Achanta krishna.acha...@gmail.com wrote: yeah I think it is a spam as far as we are concerned but I hope the guys at Google will take care of this annaoying mails.. I just marked those as spam for now. On Apr 1, 9:17 pm, David Orriss Jr codethou...@gmail.com wrote: Since I just got your email via the list I'd say yes.. :-) On Apr 1, 2010, at 8:14 PM, Stanley Li wrote: I got this message too. So if I got this message, can i still send emails to the group and everyone can receive my email? On Thu, Apr 1, 2010 at 7:28 PM, David Orriss Jr codethou...@gmail.com wrote: Yea that email is annoying.. to say the least... :| -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Set Android application dependency from custom Java library
On 2 Apr., 10:58, Tatyana Ulyanova levkat...@gmail.com wrote: Hello, friends! I using Eclipse Gallileo to develop Android application and Java library for this application. Please, help to set Android application dependency from my custom Java library rightly. I want this library automatically build if necessary and be included to .apk file. Much appreciate for any help :)) Hi, first you need a Eclipse project for the library and you have to advice Eclipse to generate on each modification a jar for the custom library. For that you need a little ant script which look like this: ?xml version=1.0 encoding=UTF-8? !-- == == -- project name=project default=default basedir=. description description /description !-- = target: default = -- target name=default depends=depends description=description jar destfile=YourCustomLib.jar fileset dir=bin includes=**/*.class / fileset dir=src includes=**/*.java / /jar /target !-- - - - - - - - - - - - - - - - - - target: depends - - - - - - - - - - - - - - - - - -- target name=depends /target /project Name that ant script e.g. build.xml and put this file somewehre into the project directory. Under Project Properties/Builders make a new Ant Builder and put them at the end of the builder list (if there are any). Use as build file the mentioned build.xml. Next you can add the YourCustomLib.jar to your Android project with Configure Build Path/Library/Add Jar. With this Eclipse checks automatically whether the Android .pkg hat to be rebuild based on library changes. That's it. regards spachner -- 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] unable to open database file after OS upgrade
Hi, recently I very often get error reports from users that upgrade their OS. This includes at least 1.5, 1.6, 2.1 and custom ROMs. Anybody else seeing these? Any idea what to do about it? Cheers, Mariano One example: -- Time: Fri Mar 26 11:36:41 PDT 2010 -- Android Version: sdk=4, release=1.6, inc=21415 -- Memory free: 0.53MB total: 3.01MB max: 16.00MB -- Custom ROM: Stock Android -- Device: dream -- Model: T-Mobile G1 -- Stacktrace:(2135) java.lang.RuntimeException: Unable to get provider com.newsrob.AssetContentProvider: android.database.sqlite.SQLiteException: unable to open database file at android.app.ActivityThread.installProvider(ActivityThread.java:4112) at android.app.ActivityThread.installContentProviders(ActivityThread.java:3908) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3867) at android.app.ActivityThread.access$2800(ActivityThread.java:116) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4203) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) at dalvik.system.NativeStart.main(Native Method) Caused by: android.database.sqlite.SQLiteException: unable to open database file at android.database.sqlite.SQLiteDatabase.dbopen(Native Method) at android.database.sqlite.SQLiteDatabase.init(SQLiteDatabase.java:1584) at android.database .sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:638) at android.database .sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:659) at android.database .sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:652) at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:482) at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193) at android.database .sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98) at com.newsrob.DB.init(DB.java:194) at com.newsrob.EntryManager.init(EntryManager.java:203) at com.newsrob.EntryManager.getInstance(EntryManager.java:822) at com.newsrob.AssetContentProvider.onCreate(AssetContentProvider.java:42) at android.content.ContentProvider.attachInfo(ContentProvider.java:697) at android.app.ActivityThread.installProvider(ActivityThread.java:4109) ... 12 more -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Finally, I published my Android/GAE based MMO War Game
I've only had a few minutes to play it, but it looks cool. Did you do all your own graphics and programming? On Apr 1, 11:03 pm, ZeroCool zero...@gmail.com wrote: Big thanks to Android Team. I couldn't have done it without the help of you guys. If anyone is interested, search 'pocket empires' or 'pe' in Android Market. -- 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.
Re: [android-developers] Re: Is this a joke or a spam or another April 1st prank?
I just set up a GMail filter that marks them as read and deletes them. Problem solved. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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] Getting location from within an IntentService?
Hi all I'd like to figure out the best way to get a recent location fix, with the minimum disruption to the user flow. Here's what I would like the user to see in my app: 1. [After e.g. taking a photo, and with no delay] Click a button saying 'Upload your file' 2. [With no delay] See a notification saying 'Your file is being uploaded'. In the background, we wait for an up-to-date location fix, then send the file and location info to the remote site. Meanwhile the user can go away and read email or whatever 3. [After upload] See a notification saying 'Your file has been uploaded'. The above, for the user, is convenient and seamless - they don't even know that we have to wait to get a location fix, it looks as though the only think happening is the upload. How can I engineer this in terms of intents? Here's what I think would most closely approximate the above: 1. Normal intent, show a button, handle the onClick event to start an IntentService 2. From the IntentService (1) show a notification saying 'Your file is being uploaded' (2) get a location listener, keep checking LastKnownLocation for age/accuracy (3) once it's acceptable, start the upload. Meanwhile, the user can do whatever they want 3. From the IntentService, when we get a 200 response from the server, show a notification that 'Your file has been uploaded', But - is it possible to get a location fix from within an IntentService? If not, then what is the best way to get a fix, wait for the right accuracy, then start an upload - without the user having to hang around keeping the application open? This must be a common problem, so it would be good to get a clear answer. many thanks Anna -- 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.
Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers
On Thu, Apr 1, 2010 at 9:37 PM, David Orriss Jr codethou...@gmail.comwrote: I wonder if it's against the rules to sell this device to pay for a Nexus 1? What rules? There are no rules. It's your phone now, do what you want with it. Make it an expensive door-stop if you want, who's going to stop you? I mean seriously if Google wants me to actually *use* the device for dev work then they should give me one for the network I use as my primary carrier. 1 - You can *use* ANY android device for dev work, you don't need one that works with your carrier - unless of course your app requires that in some way. This would be nice of course, but not essential. 2 - Google didn't have to give you anything, so you should be glad you got a free $400 device instead of complaining it's not the one you wanted. Just sayin'. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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.
Re: [android-developers] Your message was NOT received by android-develop...@googlegroups.com!
On Fri, Apr 2, 2010 at 2:16 AM, rizwan rizcs...@gmail.com wrote: Whenever I am posting any message on Android group I am getting this email can any body explain this ? See this thread: http://groups.google.com/group/android-developers/browse_thread/thread/ad8c05a60e51874f/8719a5da65a6e50c - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Set Android application dependency from custom Java library
Hello, spachner! Thanks many times for your help! It works great!!! But I have a question about build.xml file. Should I specify something in depends properties of target tag? Could you recommend some good article about build.xml? I am new on Eclipse. Thanks))) On 2 Кві, 13:25, spachner stefanpach...@googlemail.com wrote: On 2 Apr., 10:58, Tatyana Ulyanova levkat...@gmail.com wrote: Hello, friends! I using Eclipse Gallileo to develop Android application and Java library for this application. Please, help to set Android application dependency from my custom Java library rightly. I want this library automatically build if necessary and be included to .apk file. Much appreciate for any help :)) Hi, first you need a Eclipse project for the library and you have to advice Eclipse to generate on each modification a jar for the custom library. For that you need a little ant script which look like this: ?xml version=1.0 encoding=UTF-8? !-- == == -- project name=project default=default basedir=. description description /description !-- = target: default = -- target name=default depends=depends description=description jar destfile=YourCustomLib.jar fileset dir=bin includes=**/*.class / fileset dir=src includes=**/*.java / /jar /target !-- - - - - - - - - - - - - - - - - - target: depends - - - - - - - - - - - - - - - - - -- target name=depends /target /project Name that ant script e.g. build.xml and put this file somewehre into the project directory. Under Project Properties/Builders make a new Ant Builder and put them at the end of the builder list (if there are any). Use as build file the mentioned build.xml. Next you can add the YourCustomLib.jar to your Android project with Configure Build Path/Library/Add Jar. With this Eclipse checks automatically whether the Android .pkg hat to be rebuild based on library changes. That's it. regards spachner -- 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
My phone does not show the triangle icon. Also this morning my Droid updated itself to OS 2.1. Hooray !!! Did anyone else see this on their Droid? I had 2.01 until this morning. On Apr 1, 11:58 am, android app xiaog...@gmail.com wrote: Thanks. Mine works now. There was no 3G icon. I first tried the airplane mode and turned off wifi. After turning off airplane mode, there was a warning sign saying lost data connectivity ...leaving home network. Then I enabled data roaming. 3G is working now. :-) Just one more questions. There is always an empty triangle icon (or symbol Delta) in the status bar. Does your phone have it? What does it mean? On Apr 1, 10:58 am, timedilation udayan.k...@gmail.com wrote: I didn't do anything specific on the device. Just turned on wi-fi. Then some time later I saw the 3G icon displayed. After that I turned off wi-fi and the 3G data plan tookover - maps, market, youtube etc... On Apr 1, 10:22 am, android app xiaog...@gmail.com wrote: Can you use 3G for web? I haven't figure out how? On Apr 1, 8:57 am, timedilation udayan.k...@gmail.com wrote: Somehow I didn't have to do any activation of my Droid. Not sure if this is done automatically as soon as you connect to a wi-fi. But I am able to see my phone number and make calls too. I dont have a verizon plan (I am on ATT). Will this service simply stop working after 30 days? On Mar 31, 9:48 am, timedilation udayan.k...@gmail.com wrote: Got DROID in Boca Raton FL this morning. Anyone willing to swap their N1? My pkg was delivered by FedEx from BrightPoint On Mar 31, 8:49 am, Warren warrenba...@gmail.com wrote: Got a Droid from FedEx near Des Moines Iowa today. Thanks Google. Curiously, when I called FedEx last week trying to track the package (as many of us did) they said they didn't have a package for me. On Mar 30, 5:14 pm, Andrei gml...@gmail.com wrote: got Droid in FL today Thank you Google On Mar 30, 5:47 pm, Breezy mbre...@gmail.com wrote: Received my Droid in Alabama today. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Fastest and most reliable Location provider
Nick, In some apps, all I want is the first fresh location so as soon as I get one, I kill both listeners. Other apps, like the moving map one, continue to use both listeners and the one with the best accuracy takes the lead. What I do is keep a location object that starts out as null until the first fix, then the location with the best accuracy takes over the object. As for saving a location, the problem is time dependent. If the user is in a car going 70 mph, the location saved (last known location) is stale in a matter of a minute or so. I've found the last known location is essentially worthless. I haven't looked into the power issue, perhaps someone else will chime in with that answer. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Set Android application dependency from custom Java library
Hello, spachner! I have one more question to you. If my project for library uses other jar files (in lib directory), where should I specify its in build.xml? Thanks)) On 2 Кві, 16:18, Tatyana Ulyanova levkat...@gmail.com wrote: Hello, spachner! Thanks many times for your help! It works great!!! But I have a question about build.xml file. Should I specify something in depends properties of target tag? Could you recommend some good article about build.xml? I am new on Eclipse. Thanks))) On 2 Кві, 13:25, spachner stefanpach...@googlemail.com wrote: On 2 Apr., 10:58, Tatyana Ulyanova levkat...@gmail.com wrote: Hello, friends! I using Eclipse Gallileo to develop Android application and Java library for this application. Please, help to set Android application dependency from my custom Java library rightly. I want this library automatically build if necessary and be included to .apk file. Much appreciate for any help :)) Hi, first you need a Eclipse project for the library and you have to advice Eclipse to generate on each modification a jar for the custom library. For that you need a little ant script which look like this: ?xml version=1.0 encoding=UTF-8? !-- == == -- project name=project default=default basedir=. description description /description !-- = target: default = -- target name=default depends=depends description=description jar destfile=YourCustomLib.jar fileset dir=bin includes=**/*.class / fileset dir=src includes=**/*.java / /jar /target !-- - - - - - - - - - - - - - - - - - target: depends - - - - - - - - - - - - - - - - - -- target name=depends /target /project Name that ant script e.g. build.xml and put this file somewehre into the project directory. Under Project Properties/Builders make a new Ant Builder and put them at the end of the builder list (if there are any). Use as build file the mentioned build.xml. Next you can add the YourCustomLib.jar to your Android project with Configure Build Path/Library/Add Jar. With this Eclipse checks automatically whether the Android .pkg hat to be rebuild based on library changes. That's it. regards spachner -- 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] Why is the same dialog sometimes translucent?
I have a Dialog with a Button whos OnClickListener() creates an AlertDialog: public void onClick(View v) { Dialog confirmDialog = new AlertDialog.Builder( activity ) .setIcon( R.drawable.icon ) ... The problem is in one place in the app, actually a MapActivity derived Activity, when I run this the confirmDialog is translucent, and I don't want this. When I run the same code from various other points in the app, all non MapActivity derived, the confirmDialog has a solid background. So its unlikely to be anything in the Dialogs xml but more the context it is launched from, but I can't for the life of me see where any translucent style is even mentioned in the app. Has anyone see this before, or got any hints for how I can stop it happening please? -- Android Academy: http://androidacademy.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 To unsubscribe, reply using remove me as the subject.
Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers
AFAIK you just turn it on. On Thu, Apr 1, 2010 at 8:47 PM, Siva G sivarama...@gmail.com wrote: I too received a Droid. But did not see a Read Me First. How do I activate my phone and get the free 31 days of calling and data? On Mar 31, 8:28 am, Justin Giles jtgi...@gmail.com wrote: On Tue, Mar 30, 2010 at 11:48 PM, Jason arm...@gmail.com wrote: I received a Droid and I did not see the Read Me First leaflet that was referenced in the Getting Started on Droid - Activation section of the letter. Anyone else who got a Droid know what it looks like, where it was packed or what it said? I too received a Droid and I didn't get a Read Me First leaflet. Not sure what channel to go through to activate this thing so I can get the 2.1 update coming any day now. Justin -- 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.comandroid-developers%2bunsubscr...@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. -- 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] Getting location from within an IntentService?
Anna PS wrote: But - is it possible to get a location fix from within an IntentService? It would be difficult, because IntentServices want to shut down as soon as onHandleIntent() completes (if there are no more Intents to be processed). Since the location lookup is asynchronous, you would have problems. This is a case where you may need to implement a regular Service, using an AsyncTask for the upload portion, and then call stopSelf() when you are done. This must be a common problem, so it would be good to get a clear answer. Oh, if only all common problems had clear answers. There would be no hunger, no disease, and no receding hairlines. :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Finally, I published my Android/GAE based MMO War Game
Yo man !! Incredible the amount of work you've put into that game !! Were you alone or is it a team ? You could use a graphist, but even so, the achievement is there !! My feedback after 15 minutes of play : The list for construction doesn't come up, I think it kind of need a double click. You should find a way to notify, it would help start, I wandered for like 10 minutes before going to the help page which didn't state the double click but showed the buildings list. Then I had to go back to the help page because the farms were not available in my buildings list. If I understand correctly, i can have a farm and a goldmine only if I have a castle but then I didn't know those squares outside of my walls had appeared. Again a notification and maybe centering the map on those square would have helped me. Lastly, when I clicked on the building list, I took me sometimes to understand that red text meant I couldn't get that building because of the missing dependencies. Same thing, a notification popping up and saying you don't have a farm level high enough or something would have helped. But again, for a V1, openGl, mmo and everything, this is awsome work. Keep it up. Yahel On 2 avr, 06:03, ZeroCool zero...@gmail.com wrote: Big thanks to Android Team. I couldn't have done it without the help of you guys. If anyone is interested, search 'pocket empires' or 'pe' in Android Market. -- 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.
Re: [android-developers] Re: setImageResource fails and closes the application unexpectedly !
h all am doing photo editting application am able to edit images but not getting how to save it can anyone please let me know how to do it with regards Nayana On Thu, Apr 1, 2010 at 2:31 PM, Mark Murphy mmur...@commonsware.com wrote: Sasi wrote: Can you please let me know where can I find the error log? I am new to android development. Use adb logcat, DDMS, or the DDMS perspective in Eclipse to view the Java stack trace associated with unhandled exceptions. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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.comandroid-developers%2bunsubscr...@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. -- 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] peer reviews
Is there any chance we could do this sort of review of each other's apps collaboratively? I'd venture to say that 10 reviews by other developers with this kind of feedback is worth 1000 sketchy reviews on the app store. I know for my app (Phresheez, a social networking ski tracking app), one of my users is a usability engineer and her feedback was immensely helpful... somethings are blindingly obvious when pointed out by the uninitiated. It would certainly be an interesting way to help overall quality control, and since apps are so diverse, I'm sure we could divvy things up such that we don't have to help our competitors, per se. Mike On 04/02/2010 07:59 AM, Yahel wrote: Yo man !! Incredible the amount of work you've put into that game !! Were you alone or is it a team ? You could use a graphist, but even so, the achievement is there !! My feedback after 15 minutes of play : The list for construction doesn't come up, I think it kind of need a double click. You should find a way to notify, it would help start, I wandered for like 10 minutes before going to the help page which didn't state the double click but showed the buildings list. Then I had to go back to the help page because the farms were not available in my buildings list. If I understand correctly, i can have a farm and a goldmine only if I have a castle but then I didn't know those squares outside of my walls had appeared. Again a notification and maybe centering the map on those square would have helped me. Lastly, when I clicked on the building list, I took me sometimes to understand that red text meant I couldn't get that building because of the missing dependencies. Same thing, a notification popping up and saying you don't have a farm level high enough or something would have helped. But again, for a V1, openGl, mmo and everything, this is awsome work. Keep it up. Yahel On 2 avr, 06:03, ZeroCoolzero...@gmail.com wrote: Big thanks to Android Team. I couldn't have done it without the help of you guys. If anyone is interested, search 'pocket empires' or 'pe' in Android Market. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: custom Preference work
Follow-up: for issue #2 I found a post which should work at http://jsharkey.org/blog/2008/09/11/quick-database-row-editor-in-android-09-sdk/. -- 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.
Re: [android-developers] Re: Finally, I published my Android/GAE based MMO War Game
Incredible efforts, between I was thinking you put this great efforts, how are you going to earn from this FREE application ? On Fri, Apr 2, 2010 at 7:59 PM, Yahel kaye...@gmail.com wrote: Yo man !! Incredible the amount of work you've put into that game !! Were you alone or is it a team ? You could use a graphist, but even so, the achievement is there !! My feedback after 15 minutes of play : The list for construction doesn't come up, I think it kind of need a double click. You should find a way to notify, it would help start, I wandered for like 10 minutes before going to the help page which didn't state the double click but showed the buildings list. Then I had to go back to the help page because the farms were not available in my buildings list. If I understand correctly, i can have a farm and a goldmine only if I have a castle but then I didn't know those squares outside of my walls had appeared. Again a notification and maybe centering the map on those square would have helped me. Lastly, when I clicked on the building list, I took me sometimes to understand that red text meant I couldn't get that building because of the missing dependencies. Same thing, a notification popping up and saying you don't have a farm level high enough or something would have helped. But again, for a V1, openGl, mmo and everything, this is awsome work. Keep it up. Yahel On 2 avr, 06:03, ZeroCool zero...@gmail.com wrote: Big thanks to Android Team. I couldn't have done it without the help of you guys. If anyone is interested, search 'pocket empires' or 'pe' in Android Market. -- 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.comandroid-developers%2bunsubscr...@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. -- 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: Fastest and most reliable Location provider
This is great information. Now one last stupid question (again, if they put this in the docs I wouldn't ask it). Does ACCESS_COARSE_LOCATION = Network and ACCESS_FINE_LOCATION = GPS? Ken -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Android 1.5 on CDMA phones and OEM non-conformance documentation...
Just reporting that I was successful in building my application against the Android 2.1 SDK and running it without issue on several Android 1.5 CDMA phones. Just curious, how are you doing that? You can't check CDMA features on a phone who's OS doesn't have a CDMA package...or maybe you are, that's what I'd like to know. Ken -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: SPP bluetooth
There is an app called KeyPro which does this, but last I knew, it did not support the ctl key, which is problematic for some apps (like Connectbot). You might contact the developer about latest status. On Apr 2, 1:26 am, brilliant winger stw...@gmail.com wrote: I would like to use SPP bluetooth keyboard(not HID profile.) on my android. but android 2.1 is not supported SPP bluetooth. Um Someone communicated the SPP device using android RFCOMM. Is this possible? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: onSignalStrengthsChanged bug?
Just holding out hope someone has had this problem too... Ken -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: how to implement musicplayer as service in android
This might get you started... http://marakana.com/forums/android/android_examples/60.html Ken -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Fastest and most reliable Location provider
The COARSE and FINE will both be the same if only one location service is available, also they will be null if no location service is available. What I do is create both, then test to see if they are equal and if so, null one out before starting the listeners. One problem that could result in this method is if your app is long lived and started indoors (network or no location service), then the user ventures outside where GPS is available. If you expect this type of usage then you'll have to be checking periodically. -John Coryat -- 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] change colors in an AnalogClock
Hi, I was wondering if it was possible to change the color of the minute and hour hands of an AnalogClock. Thanks Simone -- 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] Content Provider works in emulator not on device
I developed a custom content provider for extracting data from zip files. The provider works properly in the emulator but when I run the apk on the device I get no content provider followed by the url The manifest says (outside the application tag provider android:name=.contentprovider.ExtendedFileContentProvider android:authorities=com.lordjoe.android.contentprovider.extendedfilecontentprovider / Any bright 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 To unsubscribe, reply using remove me as the subject.
Re: [android-developers] Content Provider works in emulator not on device
lordjoe wrote: I developed a custom content provider for extracting data from zip files. The provider works properly in the emulator but when I run the apk on the device I get no content provider followed by the url The manifest says (outside the application tag provider android:name=.contentprovider.ExtendedFileContentProvider android:authorities=com.lordjoe.android.contentprovider.extendedfilecontentprovider / The provider element needs to be inside the application tag. See this project for an example: http://github.com/commonsguy/cw-android/tree/master/ContentProvider/ConstantsPlus/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android 2.x Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Content Provider works in emulator not on device
Thanks - that did the trick On Apr 2, 10:16 am, Mark Murphy mmur...@commonsware.com wrote: lordjoe wrote: I developed a custom content provider for extracting data from zip files. The provider works properly in the emulator but when I run the apk on the device I get no content provider followed by the url The manifest says (outside the application tag provider android:name=.contentprovider.ExtendedFileContentProvider android:authorities=com.lordjoe.android.contentprovider.extendedfileconten tprovider / The provider element needs to be inside the application tag. See this project for an example: http://github.com/commonsguy/cw-android/tree/master/ContentProvider/C... -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android 2.x Programming Books:http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Do you see how many people are requesting to trade a Droid for an N1? Nobody is going to trade. Good luck with it, but mine is already on eBay and I'll be buying an N1. -- 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] Libvorbis and Libmpg123 for Android
Hi there, i thought i post here as some might find it useful. I ported libvorbis (the fixed point version) and libmpg123 (using ARM assembler for speed) to Android. This allows you to get a hold of the PCM samples of MP3 and Ogg files which is not possible with the Android framework at the moment (unless you use non-official native classes). They are included in my game dev lib libgdx which you can find at http://code.google.com/p/libgdx/. If you don't want to depend on that simply checkout the source from SVN and place the jni folder in your own project. Make sure to copy over all flags from the Android.mk file. You will of course want to remove anything that is libgdx specific which are the .cpp files in the jni folder. I hope that helps some of you out there. Ciao, Mario -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: New to android
http://developer.android.com/guide/index.html On Mar 29, 6:53 am, iftekhar iftekhar...@gmail.com wrote: Hi, I am new to android/mobile application .I have exp in developing applications using Java/J2EE but no knowledge of mobile application/ games etc. Please suggest me any link/help from where I can study and develop application using android. Thanks Iftekhar -- 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] Connecting Splash Screen to GPS App
I'm new to Android development and I'm working on writing a GPS app. I want to have a title/splash screen displayed when the app is first opened, and then after a few seconds display the map. I made this splash screen by following a tutorial and have it saved it a separate Eclipse project. So I have 2 separate projects that each run individually but I can't figure out how to put them together. I think I am having trouble with the XML files. Can someone explain how to have a splash screen displayed before your app runs? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: New to android
hello ,I‘m new too. The google's example is a good way to step into android. and there is a book named ’ android essentials‘ can help you. On 3月29日, 下午7时53分, iftekhar iftekhar...@gmail.com wrote: Hi, I am new to android/mobile application .I have exp in developing applications using Java/J2EE but no knowledge of mobile application/ games etc. Please suggest me any link/help from where I can study and develop application using android. Thanks Iftekhar -- 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.
Re: [android-developers] IPSEC in NDK code for Android
REMOVE 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
[android-developers] WSDL2Java for Android
Hi there! We are trying different web service technologies on the Android platform. We have tried RestFull technologies, and it seems to be the best option, but we want to try also WSDL based web services. Anybody knows any wsdl2java tool for Andorid Platform? Thanks in advance! Robert. -- 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] error installing android sdk
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings. Does any one know this... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] the problem of using org.apache.commons.net.ftp.FTPSClient
hi, i use the org.apache.commons.net.ftp.FTPSClient to develop a ftp client over SSL.But when execute: ftps.connect(192.168.1.110);,There will be some problems. please help me! Thanks. the code : String protocol = TLS;// SSL/TLS FTPSClient ftps; ftps = new FTPSClient(protocol, true); try { int reply; ftps.connect(192.168.1.110); System.out.println(Connected to + FTP_SERVER + .); // After connection attempt, you should check the reply code to verify // success. reply = ftps.getReplyCode(); if (!FTPReply.isPositiveCompletion(reply)) { ftps.disconnect(); System.err.println(FTP server refused connection.); return; } } catch (SocketException e) { // TODO Auto-generated catch block Log.e(ftps.connect(FTP_SERVER)SocketException, e.getMessage()); e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block if (ftps.isConnected()) { try { ftps.disconnect(); } catch (IOException f) { // do nothing } } Log.e(ftps.connect(FTP_SERVER)IOException, e.getMessage()); System.err.println(Could not connect to server.); e.printStackTrace(); return; } the problem: 03-30 12:01:05.980: WARN/System.err(214): Could not connect to server. 03-30 12:01:05.980: WARN/System.err(214): java.io.IOException: Could not initialize SSL context 03-30 12:01:05.980: WARN/System.err(214): at org.apache.commons.net.ftp.FTPSClient.initSslContext(FTPSClient.java:203) 03-30 12:01:05.980: WARN/System.err(214): at org.apache.commons.net.ftp.FTPSClient.sslNegotiation(FTPSClient.java:223) 03-30 12:01:05.980: WARN/System.err(214): at org.apache.commons.net.ftp.FTPSClient._connectAction_(FTPSClient.java:166) 03-30 12:01:05.980: WARN/System.err(214): at org.apache.commons.net.SocketClient.connect(SocketClient.java:178) 03-30 12:01:05.990: WARN/System.err(214): at org.apache.commons.net.SocketClient.connect(SocketClient.java:268) 03-30 12:01:05.990: WARN/System.err(214): at com.yuxipacific.royalrdc.ftp.FtpsClient.depositWithFtps(FtpsClient.java:66) 03-30 12:01:05.990: WARN/System.err(214): at com.yuxipacific.royalrdc.FtpsActivity$FTPConnectThread.run(FtpsActivity.java:61) 03-30 12:01:05.990: WARN/System.err(214): Caused by: java.security.KeyManagementException: No X509KeyManager found 03-30 12:01:06.000: WARN/System.err(214): at org.apache.harmony.xnet.provider.jsse.SSLParameters.init(SSLParameters.java:165) 03-30 12:01:06.000: WARN/System.err(214): at org.apache.harmony.xnet.provider.jsse.SSLContextImpl.engineInit(SSLContextImpl.java:86) 03-30 12:01:06.000: WARN/System.err(214): at org.apache.harmony.xnet.provider.jsse.SSLContextImpl.engineInit(SSLContextImpl.java:66) 03-30 12:01:06.000: WARN/System.err(214): at javax.net.ssl.SSLContext.init(SSLContext.java:198) 03-30 12:01:06.010: WARN/System.err(214): at org.apache.commons.net.ftp.FTPSClient.initSslContext(FTPSClient.java:201) -- 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] Ringtone how?
Hello, I am trying to get details on following. 1) How the ringtonegets played from start till end? 2) How the Ringtone Manager works? 3) How the protected ringtones played? Thanks, sn -- 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.
Re: [android-developers] ScrollView listview again again REMOVE ME
REMOVE ME - 김종희 드림 - 2010/3/25 Lars axberg.l...@gmail.com Hi I'm new to Android development and having a hard time making the UI, so hopefully someone here can help me with a hint... What I need in my layout is this: RelativeLayout ImageView / TextView / ListView / TextView / ListView / Button / /RelativeLayout as you can see the layout will need scrolling, but adding a scrollview as a root to the RelativeLayout tag, didnt do anything... can anyone help me? - Lars -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 inform an app(A) that an icon was just clicked to start another app(B)
Hi all, I just want to get numbers of times to be used for each app. So the very straightforward method I thought is increasing the count for an app when it's icon was clicked. Thanks for your great help! -- 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] In process communication
Hi @all, I have a design problem with my Android components. My activity is starting a service which is doing the work in the background. What I want is that the service informs the activity about state changes. How can I do this? Normally I would add an observer but the activity has no reference to the service. Then I was thinking to take AIDL but this is more for inter-process communication. How is it possible that the service informs the activity about state changes? Both are running in the same process. What can you recommend? Thank you in advance. T-Droid -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Advice on buying android phone for development
Hey Vijay, I have HTC Hero, and using it for Debugging. Just that need to enable the option in Settings. On Mar 29, 5:05 pm, Venky.Vijay venkyinw...@gmail.com wrote: Hello everyone, I'm from India and I want to buy an Android phone for developing applications for it. I shortlisted two phones the SAMSUNG I7500 and HTC Hero. But the problem is that i7500 doesn't have much support as its still stuck with cupcake. and with hero i don't know if it supports debugging. Can anyone help me with it? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: [android-beginners] Re: Support of JKS Keystore in Android
hi, it may help me. please tell me. thank you! 2009/11/13 swapnil kamble swap.kam...@gmail.com I got it working. I used KeyTool UIU app. Using it, worked smoothly. If anyone wants details how I did it, send me an email. I will document it and post it on list. Thanks, Swapnil On Fri, Nov 13, 2009 at 12:53 PM, swapnil kamble swap.kam...@gmail.comwrote: Hi, I am having Java SSL based server and I want to connect android SSL supported client to it. My keystore in Java is JKS, but android says no JKS implementation found. It supports BKS. Is there any way to have JKS support for android ? If not then how can use BKS in Java. I am trying using PKCS12, but documentation says using PKCS12 for trustanchors purpose is not supported. Does anybody has any suggestions about this issue ? -- ...Swapnil || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare RamaHare Rama Rama RamaHare Hare || -- ...Swapnil || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare RamaHare Rama Rama RamaHare Hare || -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginn...@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- 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] Splash Screen Appears only once
Hey, i made a splash screen: public class SplashScreen extends Activity { protected int splashTime = 2000; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.splash); new Handler().postDelayed(new Runnable(){ @Override public void run() { Intent intent = new Intent(SplashScreen.this, MyDeals.class); SplashScreen.this.startActivity(intent); SplashScreen.this.finish(); } }, splashTime); } } AndroidMenifiest: activity android:name=.SplashScreen android:theme=@android:style/Theme.NoTitleBar android:screenOrientation=portrait intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity activity android:name=.MyDeals android:theme=@android:style/Theme.NoTitleBar android:screenOrientation=portrait intent-filter action android:name=android.intent.action.DEFAULT/ category android:name=android.intent.catagory.VIEW / /intent-filter /activity it works the first time i put it on the device. but then when i kill the application so the application can start over i don't see it. it goes straight to the next activity MyDeals. can you please help me thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] NullPointerException in ItemizedOverlay.getIndexToDraw
Hello all. I have a relatively simple MapActivity that I'm trying to make display a list of camps within a given map region. I've created a custom subclass of OverlayItem called CampOverlayItem, a custom ItemizedOverlay called CampsOverlay that returns CampOverlayItems, and of course a MapActivity subclass that populates the map. I'm pulling the overlay data from a database using an AsyncTask as created in my activity. The AsyncTask is triggered from a ViewTreeObserver.OnGlobalLayoutListener attached to the MapView. In the onPostExecute method of the AsyncTask, I create a new instance of my CampsOverlay class and pass it a list of the camps returned from the database (which are fetched in doInBackground). I then call: mapView.getOverlays().add(newOverlay); where newOverlay is the CampsOverlay I just created. All of this code runs without error, but when the Map tries to draw itself, I get a NullPointerException with the following stack trace: java.lang.NullPointerException at com.google.android.maps.ItemizedOverlay.getIndexToDraw(ItemizedOverlay.java: 211) at com.google.android.maps.ItemizedOverlay.draw(ItemizedOverlay.java:240) at com.google.android.maps.Overlay.draw(Overlay.java:179) at com.google.android.maps.OverlayBundle.draw(OverlayBundle.java: 42) at com.google.android.maps.MapView.onDraw(MapView.java:476) at android.view.View.draw(View.java:6274) at android.view.ViewGroup.drawChild(ViewGroup.java:1526) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256) at android.view.ViewGroup.drawChild(ViewGroup.java:1524) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256) at android.view.View.draw(View.java:6277) at android.widget.FrameLayout.draw(FrameLayout.java:352) at android.view.ViewGroup.drawChild(ViewGroup.java:1526) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256) at android.view.ViewGroup.drawChild(ViewGroup.java:1524) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256) at android.view.ViewGroup.drawChild(ViewGroup.java:1524) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256) at android.view.ViewGroup.drawChild(ViewGroup.java:1524) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256) at android.view.ViewGroup.drawChild(ViewGroup.java:1524) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256) at android.view.View.draw(View.java:6277) at android.widget.FrameLayout.draw(FrameLayout.java:352) at android.view.ViewGroup.drawChild(ViewGroup.java:1526) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256) at android.view.View.draw(View.java:6277) at android.widget.FrameLayout.draw(FrameLayout.java:352) at com.android.internal.policy.impl.PhoneWindow $DecorView.draw(PhoneWindow.java:1883) at android.view.ViewRoot.draw(ViewRoot.java:1332) at android.view.ViewRoot.performTraversals(ViewRoot.java:1097) at android.view.ViewRoot.handleMessage(ViewRoot.java:1613) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4203) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) at dalvik.system.NativeStart.main(Native Method) Because it seems particularly relevant, here is the code for my ItemizedOverlay subclass: public class CampsOverlay extends ItemizedOverlayCampOverlayItem { private ArrayListCamp camps = null; public CampsOverlay(Drawable defaultMarker, ArrayListCamp theCamps) { super(defaultMarker); this.camps = theCamps; } @Override protected CampOverlayItem createItem(int i) { Camp camp = camps.get(i); CampOverlayItem item = new CampOverlayItem(camp); return item; } @Override protected boolean onTap(int index) { // TODO Auto-generated method stub return super.onTap(index); } @Override public int size() { return camps.size(); } } Does anyone have any idea what could be happening here? I've attempted to verify that everything I have control over is non-null. I can provide more code if necessary. Thanks /brian -- 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] Insane lag on empty onDrawFrame(GL10 gl) for OpenGL ES GLSurfaceView
I'm on developing on a Motorola Droid with Android 2.0.1. I was trying to track down frame rate issues with my VBO program, so I created a program to check the baseline times spent when calling onDrawFrame(). So I created an empty onDrawFrame and pulled time statistics on it. I can't even get nears 60 FPS *and I'm not even drawing anything*. The big problem is that the delay between calls into onDrawFrame() is insanely variable. It's not the GC--it doesn't run during the test. It's not fill rate--I'm not drawing anything. So, I can only imagine that its the scheduler. Here is the histogram of delays entering onDrawFrame() as tracked by SystemClock.uptimeMillis() over a period of 60 seconds. Note that there is the expected hump near 16ms, but there is a non-trivial second hump near 29ms with not a few stragglers almost to 50ms. This is running full tilt on the render thread not doing *anything*. Why is this so unpredictable and slow? It's running in the foreground. I'm not touching anything or generating events. It's not drawing. It's not even collecting garbage. This is death for any program that requires any level of response timing. Am I doing something wrong? Should I simply move to the NDK for anything that touches OpenGL? WIll that actually help? 03-30 02:35:52.284: VERBOSE/FuncnDelta:(1450): 6: 1 03-30 02:36:52.300: VERBOSE/*(1450): Run ended ... dumping... 03-30 02:36:52.308: VERBOSE/EntryDelta:(1450): 1: 2 03-30 02:36:52.323: VERBOSE/EntryDelta:(1450): 2: 1 03-30 02:36:52.331: VERBOSE/EntryDelta:(1450): 4: 1 03-30 02:36:52.339: VERBOSE/EntryDelta:(1450): 12: 1 03-30 02:36:52.355: VERBOSE/EntryDelta:(1450): 13: 2 03-30 02:36:52.362: VERBOSE/EntryDelta:(1450): 14: 2 03-30 02:36:52.370: VERBOSE/EntryDelta:(1450): 15: 29 03-30 02:36:52.370: VERBOSE/EntryDelta:(1450): 16: 1185 03-30 02:36:52.378: VERBOSE/EntryDelta:(1450): 17: 1560 03-30 02:36:52.378: VERBOSE/EntryDelta:(1450): 18: 343 03-30 02:36:52.386: VERBOSE/EntryDelta:(1450): 19: 15 03-30 02:36:52.386: VERBOSE/EntryDelta:(1450): 20: 13 03-30 02:36:52.394: VERBOSE/EntryDelta:(1450): 21: 4 03-30 02:36:52.394: VERBOSE/EntryDelta:(1450): 22: 6 03-30 02:36:52.401: VERBOSE/EntryDelta:(1450): 23: 1 03-30 02:36:52.409: VERBOSE/EntryDelta:(1450): 24: 9 03-30 02:36:52.409: VERBOSE/EntryDelta:(1450): 25: 3 03-30 02:36:52.417: VERBOSE/EntryDelta:(1450): 26: 7 03-30 02:36:52.417: VERBOSE/EntryDelta:(1450): 27: 10 03-30 02:36:52.425: VERBOSE/EntryDelta:(1450): 28: 60 03-30 02:36:52.425: VERBOSE/EntryDelta:(1450): 29: 105 03-30 02:36:52.433: VERBOSE/EntryDelta:(1450): 30: 16 03-30 02:36:52.433: VERBOSE/EntryDelta:(1450): 31: 4 03-30 02:36:52.487: VERBOSE/EntryDelta:(1450): 32: 10 03-30 02:36:52.495: VERBOSE/EntryDelta:(1450): 33: 6 03-30 02:36:52.495: VERBOSE/EntryDelta:(1450): 34: 5 03-30 02:36:52.503: VERBOSE/EntryDelta:(1450): 35: 3 03-30 02:36:52.503: VERBOSE/EntryDelta:(1450): 36: 2 03-30 02:36:52.511: VERBOSE/EntryDelta:(1450): 37: 1 03-30 02:36:52.511: VERBOSE/EntryDelta:(1450): 38: 1 03-30 02:36:52.519: VERBOSE/EntryDelta:(1450): 46: 1 code package org.allcaps.vbo1; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; import javax.microedition.khronos.opengles.GL11; import android.content.res.Resources; import android.opengl.GLSurfaceView.Renderer; import android.os.SystemClock; import android.util.Log; // Basic VBO example // Why does writing Java always make me want to punch somebody? public class LessonVBO implements Renderer { private long previousMillis = -1; private long currentMillis = SystemClock.uptimeMillis(); private long entryMillis = SystemClock.uptimeMillis(); private long exitMillis = SystemClock.uptimeMillis(); private long startMillis = SystemClock.uptimeMillis(); long entryDeltaMillis[] = new long[1000]; long funcDeltaMillis[] = new long[1000]; public LessonVBO(Resources resources) { } public void onSurfaceCreated(GL10 gl10, EGLConfig config) { GL11 gl = (GL11)gl10; if (!(gl10 instanceof GL11)) { Log.v(VBO, gl cast failed); } } public void onSurfaceChanged(GL10 gl10, int width, int height) { GL11 gl = (GL11)gl10; if (!(gl10 instanceof GL11)) { Log.v(VBO-onSurfaceChanged, gl cast failed); } } public void onDrawFrame(GL10 gl10) { if (previousMillis == -1) { // First time through currentMillis = SystemClock.uptimeMillis(); previousMillis = currentMillis; startMillis = currentMillis; return; } currentMillis = SystemClock.uptimeMillis(); entryMillis = currentMillis;
[android-developers] connection time out during force http
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect the above error occured to me on Windows xp. -- 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] Chicago Event - Mobile Visionary Mixer - Looking For Android Startups
We have partnered with ALL the new mobile groups in Chicago to be true facilitators helping early stage startups find resources and effective networking opportunities. Our first event had over 200 attendees. We have the beautiful upstairs of Texas de Brazil for the April 1 event. I hope to see you there! http://mobilevisionary.eventbrite.com/ We have a spectacular space available to showcase startup companies. The owners of Texas de Brazil have opened up the space for us even further to accommodate up to a dozen companies to demo their products or services. Do you know a mobile startup that is looking for an effective showcase/ networking opportunity? If so, please act quickly as we need all interested parties to apply by end of the day on Tuesday, March 30, 2010. Interested Startups can apply immediately here: Mobile Visionary Startup Entry Form: https://spreadsheets.google.com/viewform?formkey=dERvODJIWW5OWDVoVnVQUXE3UGg4T2c6MA Best, Raymond Reinhardt Mobile Visionary Facilitator (One of Many) -- 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] Bluetooth pairing request
Hello there When my Bluetooth application is about to create SPP connection to the unpaired remote device, pairing notification is displayed. From the documentation I can see that pairing request can display a dialog or sent notification. I'd like to know what logic causes my app to sent notification than display a regular pairing dialog. Maybe I'm blind but the problem is I were not aware of that notification and was fighting with pairing problem for few hours :) And I'd really would prefer my app to trigger dialog display. Thank you, Best regards Rafał Grzybowski -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: R.id cannot be resolved
Well , I had the same problem before and what i did was i just right clicked the whole project folder and I refreshed and I found the id class regenerated in the R.java , Try that one . On Mar 29, 12:17 pm, mnavlani monishanavl...@gmail.com wrote: thanks for your reply! I used the following code in main.xml: ?xml version=”1.0” encoding=”utf-8”? LinearLayout xmlns:android=”http://schemas.android.com/apk/res/ android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” EditText android:id=...@+id/myEditText” android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:text=”New To Do Item” / ListView android:id=...@+id/myListView” android:layout_width=”fill_parent” android:layout_height=”wrap_content” / /LinearLayout and, in both the following lines(of the .java file),i get the error R.id cannot be resolved: ListView myListView = (ListView)findViewById(R.id.myListView); final EditText myEditText = (EditText)findViewById(R.id.myEditText); please help regarding this! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Trade
I will trade my Droid + $100 for a Nexus One. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: How to use facebook connect api?
First you have to set up new Java project with fbconnect itself. - Unzip fbconnect-android.zip/api into your workspace and then Import Project to Eclipse. - It will complain that it cannot find lot of classes. What you have to do is to add External library android.jar into project's build path. I used android.jar from Android 1.5. - After it compiles - from eclipse's menu choose File-Export-Java- Jar file - select fbconnect project's src directory as resource to export. - type in path and name of exported .jar (fbconnect.jar) - go to your project's preferences and add fbconnect.jar into your libraries (in Java Build Path) Everything should compile and run just fine now. In my project I had to change some minor things in fbconnect, so if you need to, you can change any java code in fbconnect and then re-export it into .jar again. On Mar 30, 12:17 pm, Maxood maqs...@salsoft.net wrote: What's the procedure to run Facebook Connect application in android? Here is the link:http://code.google.com/p/fbconnect-android/ Please explain step by step. I'm having errors in my manifest file: activity android:name=com.codecarpet.fbconnect.FBLoginActivity android:theme=@android:style/ Theme.Translucent.NoTitleBar/ activity android:name=com.codecarpet.fbconnect.FBPermissionActivity android:theme=@android:style/ Theme.Translucent.NoTitleBar/ activity android:name=com.codecarpet.fbconnect.FBFeedActivity android:theme=@android:style/ Theme.Translucent.NoTitleBar/ -- 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] Keyboard virtualization
Hello there, How to virtualize keyboard. I mean, I need to send keystrokes read from other source. I've read a little about linux input system, wrote some kernel module (input driver) but recently one has explained to me that I won't be able to deploy such kernel module to non-rooted Android cell phone. So I must find another way to do this. Best regards Rafał Grzybowski -- 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] Weirdness with Notification.FLAG_AUTO_CANCEL
I'm experiencing some issues with my statusbar notification. I've implemented as per documentation but if i do 'notification.flags = Notification.FLAG_AUTO_CANCEL' , although the notification clears on clicking (which is what i want), the whole notification process seems to sporn multiple times leading to duplicate notifications in the statusbar. Is this normal?? Has anyone else come across such an issue?? Many thanks everyone Roman -- 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] Storing book-like content
Hi, New android developer here, I was wondering if anyone could share any experience or advice on how to store book-like content. At the moment I am storing html files in my assets folder and loading them into a TextView with Html.fromHtml(...), although it seems to load reasonably well on my G1 I feel as if its not quite the right solution. Anyone have any experience with this? The application is math teaching aid so it involves lots of text and interactive examples. Regards, Fluxtah -- 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] Socket problem n WIFI
Hello, I am trying to send a fil from the phone to a server on a desktop. I wrote some code, which works on emulator, but on the phone it doesn`t. I`m connecting to the network through WiFi. It works, I can access the internet through my phone and I`ve configured my router. The application stops when I`m trying to connect. I have the permissions. Someone have any ideas, below is my code. Running on Android package br.ufs.reconhecimento; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.Socket; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.EditText; import android.widget.ImageButton; /** * Sample code that invokes the speech recognition intent API. */ public class Reconhecimento extends Activity implements OnClickListener { static final int VOICE_RECOGNITION_REQUEST_CODE = 1234; static final String LOG_VOZ = UFS-Reconhecimento; final int INICIAR_GRAVACAO = 01; int porta = 5158; // Porta definida no servidor int tempoEspera = 1000; String ipConexao = 172.20.0.189; EditText ipEdit; /** * Called with the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Inflate our UI from its XML layout description. setContentView(R.layout.main); // Get display items for later interaction ImageButton speakButton = (ImageButton) findViewById(R.id.btn_speak); speakButton.setPadding(10, 10, 10, 10); speakButton.setOnClickListener(this); //Alerta para o endereço IP AlertDialog.Builder alerta = new AlertDialog.Builder(this); alerta.setTitle(IP);//+mainWifi.getWifiState()); ipEdit = new EditText(this); ipEdit.setText(ipConexao); alerta.setView(ipEdit); alerta.setMessage(Por favor, Confirme o endereço IP.); alerta.setPositiveButton(OK, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { ipConexao = ipEdit.getText().toString(); Log.d(LOG_VOZ, Nova Atribuição do Endreço IP: + ipConexao); } }); alerta.create(); alerta.show(); } /** * Handle the click on the start recognition button. */ public void onClick(View v) { if (v.getId() == R.id.btn_speak) { //startVoiceRecognitionActivity(); Log.d(LOG_VOZ, Iniciando a próxima tela); Intent recordIntent = new Intent(this, GravacaoAtivity.class); Log.d(LOG_VOZ, Iniciando a tela (instancia criada)); startActivityForResult(recordIntent, INICIAR_GRAVACAO); Log.d(LOG_VOZ, Gravação iniciada ...); } } /** * Handle the results from the recognition activity. */ @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.d(LOG_VOZ, Iniciando onActivityResult()); if (requestCode == INICIAR_GRAVACAO resultCode == RESULT_OK) { String path = data.getStringExtra(GravacaoAtivity.RETORNO); conexaoSocket(path); } else Log.e(LOG_VOZ, Resultado Inexperado ...); } private void conexaoSocket(String path) { Socket socket = SocketOpener.openSocket(ipConexao, porta, tempoEspera); if(socket == null) return; try { DataOutputStream conexao = new DataOutputStream(socket.getOutputStream()); Log.d(LOG_VOZ, Acessando arquivo ...); File file = new File(path); DataInputStream arquivo = new DataInputStream(new FileInputStream(file)); Log.d(LOG_VOZ, Iniciando Transmissão ...); conexao.writeLong(file.length()); for(int i = 0; i file.length(); i++) conexao.writeByte(arquivo.readByte()); Log.d(LOG_VOZ, Transmissão realizada com sucesso...); Log.d(LOG_VOZ, Fechando a conexão...); conexao.close(); socket.close(); Log.d(LOG_VOZ, Processo finalizado com Sucesso ==); } catch (IOException e) { Log.e(LOG_VOZ, Erro ao fazer a conexão via Socket. + e.getMessage()); // TODO Auto-generated catch block } } } class SocketOpener implements Runnable {
[android-developers] Re: R.id cannot be resolved
thanks a lot all of you! i did come out of the problem :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To 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] 3-way calling enhancement
Logged an enhancement request for this: Issue 7456: 3 way calling enhancements on Android 2.0.1 Status: New Owner: Type-Enhancement Priority-Medium Reported by ruchir.sinha, Today (24 minutes ago) The phone application should allow greater flexibility to manage 3 way calling. Currently a 3 way call can only be initiated by the android user. The following enhancements are requested: 1. Ability to terminate Only the active call without disconnecting the other calls which are on hold - Currently disconnecting a call disconnects all calls and occasionally the on-hold call returns with a new ringer / notification call after the disconnect. This is very unstable and the user is never sure if disconnecting the active call will return to the on hold call or not 2. Ability to conference an Incoming call - currently only add a call works meaning only android user can initiate a 3rd call for conference 3. Ability to merge and spilt calls at will - currently this is not possible The question for the group is if I wanted to work on this development how would i go about this. Any pointers to the source and the files that would need modification would be appriciated. Thanks Ruchir -- 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] Getting contact phone numbers in a custom data layout.
Hello, i want to build a list view that shows all the contacts and their phone numbers. I have this working but I don't like the following. If a user has one contact that holds multiple phone number ( home, work etc) the cursor I receive will list every phone number with each duplicate name. I am aiming for a representation of the phone numbers like this: __ Name contact home:xxx-xx- work:xxx-xx-xxx etc.. _ Name contact home:xxx-xxx __ Name contact etc... What is the easiest/best/most efficient way to achieve this. I geuss I would have to make custom row layout for a the listview, and then keep in mind that there can be more labels. The big thing I am really not sure on how to do is, how to create the underlayin data structure. Does android already provide a way of getting the data layed-out for me as described? My code to get the contact is as follows: code Cursor contactsCursor = this.managedQuery( android.provider.Contacts.Phones.CONTENT_URI, null, null, null,null); this.setListAdapter(new MyContactsAdapter(this, contactsCursor)); /code MyContactsAdapter is simply used to fill the fields in my custom row layout xml Thank you for your help. Jiri -- 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] Google map view uses which protocol
Hello Gurus, Which protocol does google map uses? Any particular documents that enlighten my query, if some one provides would be really grateful !! What authentication level it uses and its processes? I know about the apikey token that need to use along with the mapview attribute in the res layout. Re, yc -- 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] Looking for Developer for AR application.
Hello, We are looking for a developer to create an AR application for a high- end fashion brand. The Developer must have extensive knowledge of the SDK v2.1 and the intricacies of augmented reality applications. Please reply to chuck [at] wcforever [dot] com with your qualifications and availability. This project will begin this week. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] ImageView - Can't read dimensions
I am trying to display an image at different scales within an ImageView which is part of a larger LinearLayout. Unfortunately, when trying to calculate scaling factors, I am unable to read the ImageView's dimensions. The following code displays Screen: 0, 0 in the TextView, rather than the dimensions of the ImageView, as expected. I have tried this in 2.0 and 2.1. What am I doing wrong? ViewZoom.java: (included files left out for brevity) public class ViewZoom extends Activity { ImageView mIv = null; TextView mTv = null; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mIv = (ImageView)findViewById(R.id.image); mTv = (TextView)findViewById(R.id.text); } @Override protected void onResume() { super.onResume(); int screenWidth = mIv.getWidth(); int screenHeight = mIv.getHeight(); mTv.setText(Screen: + screenWidth + , + screenHeight + \n); } } main.xml: LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=horizontal android:layout_width=fill_parent android:layout_height=fill_parent ImageView android:layout_width=wrap_content android:layout_height=fill_parent android:layout_weight=1 android:adjustViewBounds=true android:id=@+id/image/ TextView android:layout_height=fill_parent android:layout_width=wrap_content android:layout_weight=1 android:id=@+id/text/ /LinearLayout Thank-you for your consideration. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: media player source code
but if audio player developed as service would be better. any code in this guide lines? On Mar 30, 10:12 am, grace grace.a...@wipro.com wrote: u can check out in the api demos for one.. http://developer.android.com/resources/samples/ApiDemos/src/com/examp... On Mar 28, 7:18 am, jana janarthanan jana87@gmail.com wrote: Dear sir Good morning to all. please send the media player source code to 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 To unsubscribe, reply using remove me as the subject.
[android-developers] How to come back main activity from child activity
hey i am a beginner... i'm in a small problem... i have three activities (suppose A,B,C) after performing onclick event in activity A, i can go to activity B and then C... my question is that is there any way to comeback activity A from C..here is the code snippet... public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button next = (Button) findViewById(R.id.Button01); next.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { Intent myIntent = new Intent(view.getContext(), Activity2.class); startActivityForResult(myIntent, 0); } }); } ___ public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main2); Button next = (Button) findViewById(R.id.Button02); next.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { Intent myIntent = new Intent(view.getContext(), Activity3.class); startActivityForResult(myIntent, 0); } }); } __ public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main3); Button next = (Button) findViewById(R.id.Button03); next.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { //Intent i =new Intent(); //setResult(RESULT_OK,i); //finish(); Intent myIntent = new Intent(view.getContext(), makboneyp3.class); startActivityForResult(myIntent, 0); //int pid = android.os.Process.myPid(); //android.os.Process.killProcess(pid); } }); } though this is working...is there any other way without calling from C plz help me thanks in advance -- 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] Open source Music app - MediaPlaybackService
This a question about the open source music app(platform/packages/apps/ music). I don't understand whether the MediaPlayback service runs in a different thread or process. MediaPlayback Activity uses marshalling to communicate to MediaPlaybackService. From that I would assume that the service is running in a different process. But in the androidManifest.xml, I dont see 'android:process' tag for the service. MediaPlayback service doesn't seem to spawn a thread too. Then how does the playback continue in the background without blocking the UI? -- 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.
Re: [android-developers] Re: Is this is possible in Android ?
Hi, On 3/30/10, AJ ajeet.invinci...@gmail.com wrote: Any clue please. - AJ On Mar 30, 1:15 am, AJ ajeet.invinci...@gmail.com wrote: Hi Group, As we know the following command is for using Emulator console. telnet localhost console-port But this works only for Emulator. I tried for read android Devices that did not work It says Connecting To localhost...Could not open connection to the host, on port 5700efa84f37: Connect failed Any clue please. Telnet is not a secure protocol, anyway you can use adb shell to get access to Android shell on real devices. Best Regards, Alan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
I got the confirmation on March 5 as well. But still waiting for my new Android Device.. On Mar 30, 1:34 pm, Esteem enjoiit...@gmail.com wrote: Did not compete in ADC2. Droid arrived here in AZ today through FedEx. Got the sending info to shipper confirmation email March 5th. On Mar 19, 3:59 am, Richard rtaylor...@googlemail.com wrote: I wasn't a registered developer when ADC2 was around, and I have one (on the way) On Mar 17, 11:40 pm, olivier.bo...@gmail.com olivier.bo...@gmail.com wrote: Hi, Has anyone received one and is not in the ADC2 top 200? I mean has anyone received one just because he has an application in the market matching the criteria? Everyone I see receiving the phone are people who were candidates for both ADC2 and Market seeding programs. On Mar 17, 10:50 pm, Thomas Riley tomrile...@googlemail.com wrote: Doesn't matter how you got it, both channels are part of the same device seeding program. Enjoy ;) On Mar 17, 8:56 pm, huberuto huberuto...@gmail.com wrote: I got it yesterday, but can't tell if this one is cause of ADC2 or top developers program. I'm from Poland. -- 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] How to get UDP port created in Host when runing in Emulator
Hi, When I create a DatagramSocket , a UDP port is created in Emulator, at the same time, a random port is created in my Host, any api in android which I can use to get the host port value? Thanks, Hoveran -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
GERMANY here, still waiting, though in a few days (Saturday) the 4- week period since I received the confirmation (6th March) will be over. Getting nervous... :-/ On Mar 31, 11:30 am, David Horn pga...@gmail.com wrote: Do as I say, not as I do etc. ;-) On Mar 30, 11:57 pm, Thomas Riley tomrile...@googlemail.com wrote: Yes David I would suggest that you wait until after the deadline before whining- uh, asking where it is. ;-) On Mar 30, 10:53 pm, David Horn pga...@gmail.com wrote: It looks to me like the system sent out US Nexus's first, then US Droids, and hopefully us EU yokels will get a Nexus later this week. I say hopefully, as I launched into a bit of an attack on someone whose phone hadn't turned up with 2 days of the deadline to run; and now I'm in that situation with a few days off work flinching every time a van goes past the house and wishing Google would hurry up. Has anyone tried phoning Brightpoint to ask what the plan is? Dave. On Mar 30, 10:47 pm, Breezy mbre...@gmail.com wrote: Received my Droid in Alabama today. -- 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.
Re: [android-developers] Installing apps to Nexus One device
Settings/applications/development Did u choose usb debugging there? On 31 Mar 2010 08:47, oriharel ori.ha...@gmail.com wrote: Hi, Im running Win XP 32 bit, SP3. I have Nexus one device. and I develop on Eclipse. I'm trying to... -- 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] Build-in SMS service - how does it work
Hi I am in the process of creating an app that is similar to the build-in SMS app. Here is what the app should work like: - a background service should call a web service every 5 min. - if certain conditions are right, a notification should be activated - when the notification is clicked, the app should open - when the app is closed the service should continue to run - when the phone is re-booted the service should be started I have tried to create a service which works fine until android decides to kill it. I have tried to create an alarm manager to trigger the service, but can not get it to work. I am using eclipse, osx and magic (1.6) How should I attack this challenge? -Thomas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: How to add Edittext box in a home screen widget
Call actyvity when user clicks on your app widget and capture input from there On Mar 26, 7:32 am, And-Rider rahulregunat...@gmail.com wrote: so is there any alternate way to get user input in form of a text from the widget other than using EditText?.. If i make TextView as editable it shows a keyboard but i am not able to see any inputs from the user. On Mar 26, 2:50 am, Paul Turchenko paul.turche...@gmail.com wrote: Well, google's search widget doesn't show edittext box. You can prove it by digging into it with hierarchy viewer. For now, you can't have EditText in app widget (at least for default android's home launcher) On Mar 25, 4:25 pm, And-Rider rahulregunat...@gmail.com wrote: I want to create a custom widget for my application which should be used for doing search internally in my application.But i am not able to place an Edit text control inside a widget.While browsing further i found that Edittext box was not included for creating custom widgets http://developer.android.com/intl/de/guide/topics/appwidgets/index.ht... http://developingandroid.blogspot.com/2009/09/simple-home-screen-widg... I was surprised to see google's search widget showing an edittext box.Is there a way to add an edittext box in a widget...? -- 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] error in installing android
hi all, I'm new to this android and new to mobile app as well.anyhow i've tried to get start with this and I'm on the way and I'm findin this error during installing android sdk XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml. Error: cvc-elt.1: Cannot find the declaration of element 'HTML'. Pls provide me solution to come out with this error. -- 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] Sip API
Hello, I want to know if there is a complete list of all Android errors especially for SIP ? What is the best API to develop a SIP client (softphone) with Android OS? Does the android simulator allows to simulate calls? Thank you. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Urgent opening for Android Senior Software Engineer for an MNC .If interested please reply back with your CV to ji...@mindlease.in
Hi All, Urgent openings for Android SSE and Lead. Android SSE – experience – 3-4 yrs, minimum 6 months experience in Android, Location – Nagpur • Android SDK • Android Building blocks (Activity, Service, Receiver, Content Provider) • Strong programming and ability to understand design. • Understanding on Android open source code • Knowledge of iterative development lifecycle management and tools • Development of at least 1 successfully shipped Android applications Android Lead – experience – 5-7 yrs, minimum 8 months experience in Android, Location – Nagpur • Android SDK • Strong with Android Building blocks (Activity, Service, Receiver, Content Provider) • Strong programming and design ability. • Good understanding on Android open source code • Delivering Quality code • Extensive knowledge of iterative development lifecycle management and tools • Able to direct the work of others, prioritize tasks and allocate resources • Must be able to lead cross-functional project teams and coordinate activities of others. • Lead the development of at least 2 successfully shipped Android applications If interested please revert back with your updated CV to ji...@mindlease.in. Regards, Jitin -- 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] Reg: Does android support languages like Telugu and Tamil.
Hello, I'am a beginner to the android.I'm just working on language localization in android. I want to set up Telugu Language in my device.How should i create a custom locale for Telugu langugae. I found Android 2.0 has some system defined locales. In that there is no Telugu. Do android OS support Indian languages like Telugu,Tamil.If So, how does it works. I would really thankful if anyone can help me. Thanks in Advance, Santha. -- 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] JSR-75 (PIM Java API) is available for Android Platform?
Dear Android Developers Group, I ask your help for some information. I'm engaged on a software development using Java Netbeans/Eclipse as IDE and I must interface with different SDKs. In particular, I'm looking for JAVA API for Android SDK (example ver 2.0) which permits me to extract Calendar type data: yes, I need to enter inside the mobile user's rubric and extract data such as appointment date (MMdd, start time, end time), description of the appointment (typically a text field). You can see these data what normally is stored inside MS Outlook. There's JOC (Java Outlook Connector as Java API) which permits to extract these data from MS Outlook. I'm just looking for something similar for Android Platform so that to include my sw to Android too. My attention is focused on Java Libraries since the development is in Java. This set of API is present and stay inside the JSR-75 pocket (Java Specification Request 75) for JavaME. What I need to know is if Android (this new OS-Linux platform that is being strengthened) permits to a developer to use the Java JSR-75. A really good documentation that is helping me and I found for S40/S60 Nokia Platform OS (by Nokia) is the Java Developer's Library (found at www.forum.nokia.com Tools_Docs_and_Code Documentation S60.xhtml). I'd need a similar documentation also for Android: in this way, I'd get near my development solution. Every Android release incorporates the corresponding API packages as follows: Platform VersionAPI Level Android 2.1 7 Android 2.0.1 6 Android 2.0 5 Android 1.6 4 Android 1.5 3 Android 1.1 2 Android 1.0 1 I haven't found any documentation that shows and details inside each API level: this kinfd of documentation could be very useful for me and I ask for your help. Many thanks in advance. Emiliano Venturi Zipidy Inc. 1452 Bush Street#6, San Francisco CA -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Jumping effect of Status Bar
Has anyone managed to solve this issue? On 4 фев, 18:49, Kichch kirich1...@gmail.com wrote: Hi everybody I have a problem with my app. I use the full screen option like so: public void setFullscreen() { requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); } But, later during the game, when I show the AlertDialog for Help / Info, thestatusbarcomes back for a fraction of a second and disappears again creating a flashing or jumping effect. Also, theDialogitself is not centered as it should, almost as if it thought there was astatusbar. Here is how I display thedialog: protectedDialogonCreateDialog(int id) { TextView tv; switch (id) { case MENU_HELP: tv = new TextView(this); tv.setText(R.strings.help_msg); return new AlertDialog.Builder(BlackJackView.this) .setIcon(android.R.drawable.ic_menu_help) .setTitle(How-To) .setView(tv) .setPositiveButton(OK, new DialogInterface.OnClickListener() { public void onClick(DialogInterfacedialog, int whichButton) { /* User clicked OK so do some stuff */ } }) .create(); } ……… } return null; } Does anyone know what may be causing this appearing / disappearing? How do I make it stop this jumping behavior? Thanks for all your help. -- 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] Unable to reject the incoming call
Hi I am creating an android application, and i want this app to handle all incoming call. How can i do that. Best regards, Abdul Qavi -- 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] Launcher2 Source code cannot compile.any help?
Recently,i have beening touched the Launcher, I Git the source code ,but when i import the project into eclipse, it has so many erros. Cannot find some class in the SDK. mLeft,mRigth,mScrollX,mScrollY,etc.those variables are not undefined.etc. Can u tell some suggesstions for me,any help will greatly appricated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Android monkey tool script
Me too trying to use the monkey with -f script file. I used the sample script given in source code but not able to make it work. Could anybody please help? - KG On Mar 23, 6:06 pm, zafar md.zafar.z...@gmail.com wrote: AndroidMonkeytool can use user supplied script to run, but very few information are present in this regarding to writing androidmonkeyscript. one guy only copied the stuff from source code and apart from that no information is present. Can anyone tell abount the sysntax of androidmonkeyscript to launch browser using the command from script and to browse particular website. Any suggestion will be appreciated. MD ZAFAR ZIYA -- 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.