Re: [android-kernel] Re: [android-developers] Android factory test mode
On Mon, Mar 22, 2010 at 9:41 PM, Dianne Hackborn hack...@android.comwrote: On Mon, Mar 22, 2010 at 9:07 PM, Shuduo Sang sangshu...@gmail.com wrote: Is it also named fast boot mode? No that is unrelated. Thanks for more detail on factory mode. fastboot is special mode of device for downloading images, fastboot is protocol. right ? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- unsubscribe: android-kernel+unsubscr...@googlegroups.comandroid-kernel%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel To unsubscribe from this group, send email to android-kernel+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Thanks Rizavan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Problems With webview and UTF-8
Your English is fine, it's your HTML that has problems! (English is harder!) Well, first, you should use all lower-case in your HTML these days. Certainly, not mixed case! Second -- you just fed it text, with the '' and '' properly encoded as text. So it did just what you asked it to. If you want HTML tags to be processed, you have to supply them as HTML tags. That means no lt; and no gt; String s = new String(img src='http://www.december.com/html/ images/icon.gif' alt='logo'); Perhaps you got this from some site which did this trying to get it to display correctly, but it wasn't needed...? On Mar 21, 11:28 am, alejandro alejandr...@gmail.com wrote: Hi! I want to render one UTF-8 encoded string what is provided by a rss feed like that: WebView webview = new WebView(this); setContentView(webview); String s = new String(lt;IMG Src='http://www.december.com/ html/images/icon.gif' alt='logo'gt;); webview.loadData(s, mimeType, encoding); it shows at the emulator IMG Src='http://www.december.com/html/images/icon.gif' alt='logo' like plain text , but it isn't rendered What I'm doing bad? thanks in advance , and sorry if my english is not correctly. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: how does two native shared library communicated?
Why do you believe your two .so files belong to two different processes? Normally this will not be the case, although you can arrange for it to happen by having them loaded by two different components and assigning those components to different processes. But from your question, it seems that is probably not the case, and something else has confused you into thinking that happened. How is b.so getting loaded? Normally, you'd link a.so against b.so and include both in the application. Then a.so can have references to locations in b.so. I think you probably won't need to know about IPC in Android. You will need to describe your problem, and what you've tried, more clearly to get any useful help, I'm afraid. On Mar 20, 5:09 am, wavelet yingzi...@gmail.com wrote: HI All, I am sorry to post it again. I am now writing a java application. On java side I use System.loadLibrary() to load my own native shared library( named a.so ). I want a.so can communicate with another native shared library(named b.so). When a.so and b.so are loaded in the memory, they belonged to 2 different process. I am not familiar with IPC in android and binder mechanism. How can I do to make a.so communicate with b.so? Regards wavelet -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Android on tivo
You should try the question on the android-porting list. Why not replace the busted HD on your TiVo? Not only will you have a working TiVo, you can have more capacity than before! There's lots of info out there for how to do it. I've thought about putting a TiVo server on my N1. Or writing a client so I can talk to my existing TiVo server and run TiVo apps, or a client to talk to my TiVos... On Mar 19, 4:00 pm, bmalbert22 bmalber...@gmail.com wrote: Ok, I posted this on phandroid and nobody seemed able to answer so I thought I would throw it to the pros... Alright phellow Android phans. I pose the following scenario: I have a tivo with a busted HD. I love android. I port 2.1 for my tivo, install and live in stuperful Android gluttony. Possible? What are your thoughts? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Being legally harassed, by a large iPhone developer
Kevin, Can you tell me if you're a legal advisor, because your understanding of copyright/trademark seems to differ from mine so I'd like to know if I've got things wrong. As far as I'm aware copyright requires using actual material lifted from their app (e.g. graphics, reverse engineered source code, etc.), or reproduction of something to a level that's indistinguishable to an average person (i.e. parts or the whole look exactly the same, not just similar, but exactly the same). As for trademarks, these tend to only cover brand names and logos/ images. So you can't, for example, trademark a game, but you can apply for a trademark on its' name and/or it's logo. But as I've said before, I'm no legal advisor, so if you are a clarification of these definitions would be great. Al. On Mar 23, 4:02 am, Kevin Duffey andjar...@gmail.com wrote: So question Richard... btw, I play the trial game.. great job on that game. Have you ever played their game before you wrote yours... did you get the idea for your game from theirs? They site specific details, like the layout of the runways, the premise of the game, edge alerts, etc... that sounds very similar to what your game is. I don't know that I would take a couple of emails from the CEO as something to worry about just yet. I'd do as the other guy said above.. ask them what specifically they refer to that you stole from their game, etc. However, I would guess if they trademarked/copyrighted their game, you may have no choice. But the letter isn't from a legal firm or anything at this point.. it wouldn't hurt to get legal representation, as well, maybe youtube their game and read up on when it was published, when you started yours, etc. Who knows..maybe they stole your idea and just copyrighted/trademarked it and you didn't, so they feel they have some legal ground to stand on. On Mon, Mar 22, 2010 at 1:19 PM, Mario Zechner badlogicga...@gmail.comwrote: I have no legal advice as i'm the last person to ask about such questions. I just want to share my concern that this will happen to a lot of game developers on Android. If you happen to get more info on the matter from say a proper legal advisor please share it here with us. On 22 Mrz., 19:34, MrChaz mrchazmob...@googlemail.com wrote: I guess it depends on just how similar the layout of the levels are, they might have a case for IP infringement. I don't think they can have any claim over the gameplay etc but if the art style and layout is a clone they I dunno IP law seems really complicated :( I would seriously contact a lawyer to see where you stand On Mar 22, 12:24 am, Richard rtaylor...@googlemail.com wrote: Hi everyone, I'm the developer of a game, Flying Aces, that was released last September. It's a simple line drawing game, of which there are now several variations on a similar theme. There is a very popular iPhone game, Flight Control, that is one of the most popular (over 2 million sales) developed by Firemint. Firemint, according to their website, are porting their Flight Control game to Android very soon. I was contacted last week, with this email: http://stickycoding.com/fa1.pdf I promptly replied, asking whether it was some kind of joke, and asked whether they are accusing me of using any of their graphics/audio/ resources (which I do not). I got this response today:http://stickycoding.com/fa2.pdf They appear to be demanding (they haven't explicitly mentioned, but I'm sure they will mention legal proceedings in their next reply) that I stop selling my game, because it is vaguely similar to theirs. Now, yes, you land planes by dragging a path, but that's the line-drawing genre. And mentioning similar things such as helicopter landing site with a big H. Does anyone have any opinions on this matter? I'm assuming they have contacted developers of similar apps (Flight Director is very similar to my game, and is more popular, I would assume they were contacted first) so I've emailed them to see. I don't take to kindly to larger businesses trying to nudge indie devs like myself out of the way to create a monopoly for there game before it is even published. I know this isn't a programming question but, I figured it applies to many developers like myself, and there isn't much in the way of advice other than on here. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@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+
Re: [android-kernel] Re: [android-developers] Android factory test mode
Yes fastboot is the Android tool for flashing images (and doing other things). On Mon, Mar 22, 2010 at 11:00 PM, Porting beginner porting.begin...@gmail.com wrote: On Mon, Mar 22, 2010 at 9:41 PM, Dianne Hackborn hack...@android.comwrote: On Mon, Mar 22, 2010 at 9:07 PM, Shuduo Sang sangshu...@gmail.comwrote: Is it also named fast boot mode? No that is unrelated. Thanks for more detail on factory mode. fastboot is special mode of device for downloading images, fastboot is protocol. right ? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- unsubscribe: android-kernel+unsubscr...@googlegroups.comandroid-kernel%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel To unsubscribe from this group, send email to android-kernel+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Thanks Rizavan -- You received this message because you are subscribed to the Google Groups Android Developers group. 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. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
I've found something a bit different. Yes, you'll always get 1 star sucks comments on a widget, but what i've done is driven users to contact me or consult a help page i set up and explain exactly how to use a widget. This exactly is still relative to the user, but from past experiences there are often complaints that The widget is small and doesn't update, which after several email conversations with users i realised, means that they dragged the app to the home screen thinking it'd become a widget. Maybe Google should consider adding an option when you drag a launcher from a widget to the homescreen to ask if you want the widget or the shortcut, especially considering the occasional Sucks on their Buzz widget - amongst other issues. My ongoing contact with users about what they want and how to improve the existing widget is what's kept my ratings high. That 1 star user base won't stay so i tried to focus on looking after the people who would stay and give 5 stars. Seems to work well, some of them even bought the donate version of my widget after i had helped them. Another big issue that i find gets in the way, is the 325 character limit. That really hurts, because most of my explanation is compensating for platform problems: Problems? Help on dev site! Didn't help? EMAIL ME, i'll fix it! IF STOPS UPDATING, CHECK IF A TASK MANAGER IS KILLING IT! Cyanogen Mod may kill it aggressively. USE: LONG PRESS HOMESCREEN, SELECT WIDGET The biggest thing that still gets to me, is the users who refund a $1 donate version of something when the free version is also in the market. Why not just install the free version if you're too cheap to pay $1, at least my ratings will stay up. I like the refund system, but sometimes i question the mentality of the users. On Mar 22, 9:48 pm, kanatacrude garnet.ulr...@gmail.com wrote: I agree Greg. And that is why I chased down a few of the Sucks posters to find out in what way my widget sucked. Several of them didn't even know what a widget was or was supposed to do yet felt qualified to pronounce it as worthy of the Sucks label. So I went back and was much more careful in my 375 characters in the market how to install a widget. I made sure that upon install, it popped up and explained how to install a widget. And surprise. It makes no difference to the number of Sucks comments that can be traced back to a user that just bought an Android phone, has no clue and just gets trigger happy on the 1 star. And this is not speculation on my part because I actually conversed with many of these users. So while my initial instinct was to just roll up my sleeves and make my widget Suck less, I would advice that once you get it fully functional, you'll get diminishing returns on your rating from continued efforts to make it not suck. This applies for Widgets. I can't comment on other apps because I only have one non-widget on the market. The other interesting part I'll note is that all my stuff on the market is free! So if it does exactly what it claims to and costs nothing, does it deserve 1 star ratings because of things it doesn't do? Would be better if it swept my laneway (1 star) Garnet Ulrich On Mar 22, 4:35 pm, Greg Donald gdon...@gmail.com wrote: On Mon, Mar 22, 2010 at 2:10 PM, kanatacrude garnet.ulr...@gmail.com wrote: Oh yah, Sucks is my favourite comment to receive on my widgets. Maybe Google could just use a blacklist of words which cause the rating to be ignored from the average. I wouldn't want this. Why not try harder to build apps that don't suck :) -- Greg Donald destiney.com | gregdonald.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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Can't use service with AIDL right after starting it with bindservice and BIND_AUTO_CREATE
Hello, There is a handshake involved when binding to a service. The binding is not successful until the onServiceConnected callback is called. So either send in a callback to initRemoveConnection, or poll the connection checking until twittersendservice is not null. Hope this helps. Regards Marek On Mar 21, 12:51 am, Jean j...@jeanbombeur.com wrote: I have a strange problem and wondering if anyone ran into the same, and was able to solve it. I have a the following class that I use to connect to a service I created. The catch is that I want to be able to start the service and use it right away when the user clicks on a button. Here is my class: public class TwitterSendServiceRemoteConnection implements ServiceConnection { Context context=null; private boolean isBound=false; private ITwitterSendService twittersendservice=null; @Override public void onServiceConnected(ComponentName name, IBinder service) { twittersendservice = ITwitterSendService.Stub.asInterface((IBinder) service); SLog.DEBUG_verbose(TwitterSendServiceRemoteConnection(onServiceConnected)); } @Override public void onServiceDisconnected(ComponentName name) { twittersendservice=null; SLog.DEBUG_verbose(TwitterSendServiceRemoteConnection(onServiceDisconnected)); } public TwitterSendServiceRemoteConnection() { } public TwitterSendServiceRemoteConnection(Context c) { context=c; } public void releaseRemoteConnection() { if (isBound==true) { context.unbindService(this); } isBound=false; } public boolean initRemoteConnection(Context c) { boolean ret=true; context=c; if (!isBound) { Intent i = new Intent(ITwitterSendService.class.getName()); i.setClassName(com.jeanbombeur.smstoolbox, com.jeanbombeur.smstoolbox.services.TwitterSendService.class.getName()); ret = context.bindService(i, this, Context.BIND_AUTO_CREATE); SLog.DEBUG_verbose(Verbose:TwitterSendServiceRemoteConnection(initRemoteConnection) Executed with return code:+ret); isBound=ret; } return ret; } // From the remote public boolean testConnection(String text) { SLog.DEBUG_verbose(Verbose:testconnection before trying anything); try { return twittersendservice.testConnection(text); } catch (RemoteException e) { // TODO Auto-generated catch block // e.printStackTrace(); SLog.DEBUG_verbose(testConnection error:+e.getMessage()); return false; } catch (Exception e) { return false; } } } And the way I use it: TwitterSendServiceRemoteConnection tssrc=null; In my button onClick: tssrc=new TwitterSendServiceRemoteConnection(context); tssrc.initRemoteConnection(context); tssrc.testConnection(Hello World Here); If I initialize my connection early, like when my activity is created, and only later call my service with testConnection, it all works fine. However when I try to initialize and directly use the connection, it doesn't work. It seems that the connection is not finished to be initialized when the testconnection is called, and the testconnection failed. In my logs, the onServiceConnected is only called -after- the testConnection call. I tried to put a thread sleep but it doesn't change anything... Anyone knows what is the right way to do that? so I can use my AIDL connection right after initializing it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Being legally harassed, by a large iPhone developer
On Mar 23, 8:05 am, Al Sutton a...@funkyandroid.com wrote: Kevin, Can you tell me if you're a legal advisor, because your understanding of copyright/trademark seems to differ from mine so I'd like to know if I've got things wrong. As far as I'm aware copyright requires using actual material lifted from their app (e.g. graphics, reverse engineered source code, etc.), or reproduction of something to a level that's indistinguishable to an average person (i.e. parts or the whole look exactly the same, not just similar, but exactly the same). Even if the claims are non enforceable, your adversary can pull you to court (civil) with really high lawsuit value - and with lawyers (and courts) charges based on that value you may be unable to defend yourself. regards, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: adb push hosts file into /system/etc/ - No space left on device error
Hello, Probably the reason why it's not working is that the /system partition is mounted read-only for obvious (security) reasons. You need to remount it. Search on this mail list for the exact commands. But why do you need to edit the hosts file? Can't you use DNS to find the IP address of your host? Regards Marek On Mar 22, 5:04 am, Tushneem tushn...@gmail.com wrote: I am trying to edit the hosts file to access rest services in my local network. Using adb pull I am able to get the hosts file for the emulator and edit it. However I get the error No space left on device when I do an adb push. Does anyone know how to resolve this issue? Can we increase the space for /system? If so how? Are there any other easier ways to access local area network (without creating a DNS server). 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Long key press handling in android 1.5
Hi, I want to handle key press and long key press for the key code KEYCODE_CALL(dial button). can any one suggest me how this in android 1.5(API level 3). Here is the code, but this is not working, for the long key press i am getting as a normal key event also. public boolean onKeyDown(int keyCode, KeyEvent event) { switch (keyCode) { case KeyEvent.KEYCODE_CALL: { if(0 == event.getRepeatCount()) { // normal key press // But problem is, this code is hitting for long press also, how to avoid this } else { // Long key press } // Always consume CALL to be sure the PhoneWindow won't do // anything with it return true; } } return super.onKeyDown(keyCode, event); } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Map view drag event
On Mar 22, 10:04 pm, Mark Murphy mmur...@commonsware.com wrote: Just put the markers in an ItemizedOverlay, and the Google Maps add-in forAndroidwill handle displaying those markers when the user pans and zooms. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Thanks mark. But I want is to fire a drag event. I will get maps NW SE Lat-Lon (bounds) when map is dragged to new position send the values to my server to get all marker to be displayed for the current displayed map region. This is because i have more than ~1000 markers to be displayed. Thanks Veradis -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] RotateAnimation stopping after one complete rotation
Hi, When doing RotateAnimation, after each rotation, animation is stopping and starting again. I gave setRepeatCount(RotateAnimation.INFINITE); setRepeatMode(RotateAnimation.RESTART); My rotateAnim is like this, new RotateAnimation(0, 360, w / 2, h / 2); still after one complete rotation its stopping and starting again. I think , by default, its using AccelerateDeccelerateInterpolator(). How can I do the rotation continuously Nithin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: ContentProviders assistance?
How I do : In application providing content : application android:icon=@drawable/icon android:label=@string/ app_name activity android:name=.ContentActivity android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity provider android:name=ItemsProvider android:authorities=com.me.provider.Items / /application You should have a Class called by the name of your provider : ItemsProvider, that extends ContentProvider of course In application that reads this content : Activity Class : Uri uriItems = Uri.parse(content://com.me.provider.Items/items); Cursor curAll = managedQuery(uriLivres, null, null, null, title desc); This URI depends of course on what you implemented in your ItemsProvider, withe the method getType, using the UriMatcher. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.
On Wed, Mar 17, 2010 at 2:08 AM, Kevin Duffey andjar...@gmail.com wrote: Hey all, I am curious how the various groups of game developers, primarily mobile (android in this case) and cross-platform (android/iPhone/facebook) handle storing high scores, achievements, and such as well as how multi player is done. How does your game(s) access high scores, update the list, remove them if need be? The same would apply for achievements, and to a lesser degree, leader boards. Are you using a service out there that you pay for... if so how much does it cost.. and do they provide some sort of java/objective-c SDK that you can just plug in to your code? How do you dispaly high scores, leader boards, achievements, etc in your game? Do you provide your own web site with the same info, perhaps jazzed up a bit more or with more detail than your mobile game (due to limited screen realestate for mobile devices)? Do you provide a link to a web site in your game if they want to see things like high scores, achievements and leader boards? My game has a custom view to show the high scores in the game. I didn't like the web browser approach, because it gets the player out of the game, completely changes the UI he is used to and the loading time is terrible. The user experience is really bad this way. I have two high scores in the game - local and online. The local high scores are stored in a SQLite database and the remote are in PostgresSQL. I also show the high scores on the website and on a Facebook application. The difference between the 3 types: The in-game high scores do not support searching (I just don't have the visual space to put a search input field, which I want). The website ranking supports searching, but otherwise is the same like the in-game one. The Facebook one is interesting. If you log-in the game using facebook connect, your facebook id is saved and this allows me to show a specific ranking based on you and your facebook friends, show their pictures, link to their profiles and so on. How do I send the scores to the server? I don't. That's how I prevent cheating. What I do is to send the player moves to the server and the server replays the game using the player moves. Checks if every move is according to the game rules and validates the game. If the game is valid, the server just extracts the scores out of its state and saves them. There are no high scores send over the network. I would also like to know what sort of things are most important for your games. High scores are so yesterday, so to speak. The latest craze in most games seems to be achievements and the ability to obtain extra items for your games, either by buying them, or earning them through achievements, etc. So what are some things you game developers would want to make use of in your game to add more appeal to your game, to draw in players for longer, especially long enough to pass the 48 hour refund time so that you can actually earn some money from your hard work. I look at games on Facebook like Farmville that are doing so well they are hiring more developers at good pay to work on it. I also look at games like World of Warcraft, which I play and got sucked into for a while, due to getting to that next level or getting that next awesome epic gear piece... those sorts of things seem to be what draws in players to otherwise simple games. A number of mobile games that seem to do very well often seem to be fairly simple games but offer that right mix of I just got to get to that next I am curious what some of you developers have found work for games either those that you played, or are working on (or have written) that draw in players. This leads to the next paragraph.. making a living on game development ultimately requires that your game does well and that people pay for it in some manner and not refund it. Hence why I am trying to understand what it is that those otherwise simple games seem to do that draw in the masses. I'm currently working on a real-time multiplayer. You will be able to play against other players from around the world. I will add an option for bluetooth challenges later. I'd like to add achievements, but that would be after the multiplayer. Which brings about another topic.. how do games like Farmville make so much money being free games, that they can have a company behind it? I can't believe ads on the stie alone make up for all their revenue. I've been considering looking at ads in the game as opposed to charging for it, and that seems like players might keep a game longer than if they pay for it and then refund it within 48 hours if they don't absolutely love the game... although I am not entirely sure how much it annoys players to have a small portion of the screen saved for ads as opposed to just buying it. Farmville makes little money from ads compared to the money they make from selling virtual goods. Last thing I remember was that they
[android-developers] Re: zoom for gallery
Thanks for your concern But i need to use zoomButtonController class to provide zoom feature for my gallery application. Please help me on 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Dynamically loading a .jar file at Runtime
/data/app-private is not your directory, and not for applications to touch. Please read the SDK documentation on files and storage. On Thu, Mar 19, 2009 at 3:04 AM, Asif k asifk1...@gmail.com wrote: Yes I can push file to /data/app-private/ directory using DDMS but not programmatically. But I want to call .jar file at runtime to complete my task. Please any suggestion On Mar 19, 12:19 pm, Dianne Hackborn hack...@android.com wrote: You can put whatever you want in your private data directory. On Wed, Mar 18, 2009 at 11:15 PM, Asif k asifk1...@gmail.com wrote: Hi Dianne, Yes you are right, But Is there any way to store over .jar file in the app's data directory. Because I am working on emulator and I can store any file there. Please tell the way I can store in the data dir. And yes any alternate idea to call the .jar files dynamically at runtime?? I want to call a function from the .jar file, which will be decided at runtime. Thanks in advance. Regards, Asif Kadiwala On Mar 19, 11:02 am, Dianne Hackborn hack...@android.com wrote: On Wed, Mar 18, 2009 at 10:18 PM, Asif k asifk1...@gmail.com wrote: Security will be one concern but , my plan is to load the required .jar files in the sdcard only when it is necessary and I will remove that .jar files from the /sdcard when my application execution completes. That doesn't fix the security hole, just makes it a little harder for people to exploit. Not much, though, since they can easily monitor the directory where you place them. Why not just put them in your app's data directory, which nobody else can touch? I want to do this because I wanna run different things, those will be decided at runtime. I think this is same concept as that of .dll ( Dynamic link Lib) in the .net framework. And dlls also have serious security issues if you put them in a place where others can modify them. It's not as much of a concern on Windows, though, because its security is much looser and all of the apps tend to run as the same user, anyway. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.- 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 -~--~~~~--~~--~--~--- -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Display PIDs
Hi All, Is there any way to display all the process IDs to a user? I think to display the current ID can use the following code: int myProcessID = Process.myPid(); But how do I display all process IDs? Thanks In Advance, Perumal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Display Process IDs
Hi All, Is there any way to display all the process IDs to a user? I think to display the current ID can use the following code: int myProcessID = Process.myPid(); But how do I display all process IDs? Thanks In Advance, Perumal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Display Process IDs
Hi Perumal, You can do this to display all the PID's for running application Context context = getApplicationContext(); Resources appR = context.getResources(); ActivityManager actmgr=(ActivityManager)context.getSystemService (Context.ACTIVITY_SERVICE); ListRunningAppProcessInfo appList = actmgr.getRunningAppProcesses(); CharSequence[] items = new CharSequence[appList.size()]; Vector ProcessallProcesses = new Vector Process(); for (int i=0;iappList.size();i++) { RunningAppProcessInfo rti = (RunningAppProcessInfo)appList.get(i); Log.v( , PID+rti.pid+Process Name+rti.processName ); } Thanks Jaya Diaspark,Inc.(www.diaspark.com) On Mar 23, 2:21 pm, perumal316 perumal...@gmail.com wrote: Hi All, Is there any way to display all the process IDs to a user? I think to display the current ID can use the following code: int myProcessID = Process.myPid(); But how do I display all process IDs? Thanks In Advance, Perumal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: [android-porting] opencore test result
On Mon, Mar 22, 2010 at 4:49 PM, Deva R r.deva...@gmail.com wrote: I want to ask why it shows 1 success and 1 failure . there should be only 1 pass or 1 fail only . Do each test case have multiple sub-tests within them ? which class in source code finally decide whether it is pass or fail ? . Looks like some bookkeeping gone wrong.. couldnt track how/why.. (file and source below) link: http://android.git.kernel.org/?p=platform/external/opencore.git;a=blob;f=engines/player/test/src/test_pv_player_engine.cpp;h=ad56cb89171ce09417fa7f35dd97b64fde029fa4;hb=5109388c810790f08bdf188b16a60c9020254296#l2155 FILE: MYDROID \external\opencore\engines\player\test\src\test_pv_player_engine.cpp source: void pvplayer_engine_test::TestCompleted(test_case tc) { // Print out the result for this test case const test_result the_result = tc.last_result(); fprintf(file, Results for Test Case %d:\n, iCurrentTestNumber); fprintf(file, Successes %d, Failures %d\n , the_result.success_count() - iTotalSuccess, the_result.failures().size() - iTotalFail); fprintf(file, the_result.success_count(%d) - iTotalSuccess (%d), the_result.failures().size(%d) iTotalFail(%d) , the_result.success_count(), iTotalSuccess, the_result.failures().size() ,iTotalFail); fflush(file); This section of code is just printing the final test result after execution of test case . In (MYDROID)/external/opencore/engines/player/test/src/test_pv_player_engine.cpp.These part of code if (iCurrentTest) { OsclExecScheduler *sched = OsclExecScheduler::Current(); if (sched) { // Print out the test name fprintf(file, WWW = %s\n, iCurrentTest-iTestCaseName.get_cstr()); // Start the test iCurrentTest-StartTest(); // Start the scheduler so the test case would run #if USE_NATIVE_SCHEDULER // Have PV scheduler use the scheduler native to the system sched-StartNativeScheduler(); #else // Have PV scheduler use its own implementation of the scheduler sched-StartScheduler(); #endif } The iCurrentTest-StartTest() is actually runing the test case and that calls somehow to [(MYDROID)/external/opencore/oscl/unit_test/src/test_case.cpp] test_case::run_subtests(void) , test_case::run_test(void) functions . Can someone please tell me how a test case (for eg. class pvplayer_async_test_newdelete : public pvplayer_async_test_base ) is calling these test case functions . how 1 success and 1 failure being counted per test case ? Thanks : Uander On Mon, Mar 22, 2010 at 11:32 AM, Uander uandro...@gmail.com wrote: Hi All , Here is what I got while running a test case of open core . *** # pvplayer_engine_test -test 1 1 SDK Labeled: PVDEV_CORE_RELEASE_6.506.4.1 built on 20090312 Test Program for pvPlayer engine class. Input file name 'test.mp4' Test case range 1 to 1 Compressed output Video(No) Audio(No) Log level 8; Log node 0 Log Text 0 Log Mem 0 Starting Test 1: Open-Play-Stop-Reset Results for Test Case 1: Successes 1, Failures 1 Total Execution time for file test.mp4 is : 2.712000 seconds# *** I want to ask why it shows 1 success and 1 failure . there should be only 1 pass or 1 fail only . Do each test case have multiple sub-tests within them ? which class in source code finally decide whether it is pass or fail ? . Thanks : Uander -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting To unsubscribe from this group, send email to android-porting+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 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.
[android-developers] Re: Display Process IDs
Hi Jaya, Thanks for the help. Managed to get it work. Thanks and Regards, Perumal On Mar 23, 5:32 pm, Jaya Hoondlani jaya.hoondl...@gmail.com wrote: Hi Perumal, You can do this to display all the PID's for running application Context context = getApplicationContext(); Resources appR = context.getResources(); ActivityManager actmgr=(ActivityManager)context.getSystemService (Context.ACTIVITY_SERVICE); ListRunningAppProcessInfo appList = actmgr.getRunningAppProcesses(); CharSequence[] items = new CharSequence[appList.size()]; Vector ProcessallProcesses = new Vector Process(); for (int i=0;iappList.size();i++) { RunningAppProcessInfo rti = (RunningAppProcessInfo)appList.get(i); Log.v( , PID+rti.pid+Process Name+rti.processName ); } Thanks Jaya Diaspark,Inc.(www.diaspark.com) On Mar 23, 2:21 pm, perumal316 perumal...@gmail.com wrote: Hi All, Is there any way to display all the process IDs to a user? I think to display the current ID can use the following code: int myProcessID = Process.myPid(); But how do I display all process IDs? Thanks In Advance, Perumal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Developing a dictionary
Dear all, I am currently learning to develop Android applications, and to do this I have decided to develop a dictionary application. The UI, and search facilities are no problem to implement, but my question is, what is the best way to store the entries and definitions for the dictionary? Would XML be the best approach? I would be looking to include 500 - 1000 entries. Thank you for your help Angus Rose -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Developing a dictionary
hi, best way is to use a database to store your data. have a look at this: http://developer.android.com/intl/fr/guide/topics/providers/content-providers.html#creating cheers. angushir...@googlemail.com schrieb: Dear all, I am currently learning to develop Android applications, and to do this I have decided to develop a dictionary application. The UI, and search facilities are no problem to implement, but my question is, what is the best way to store the entries and definitions for the dictionary? Would XML be the best approach? I would be looking to include 500 - 1000 entries. Thank you for your help Angus Rose -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Maximum character that we can send to SMS application.
A SMS is limited to 140 bytes (octets), maybe this is the boundary you are experiencing? I don't know if Android supports concatenated SMS. http://en.wikipedia.org/wiki/SMS /Marek On Mar 22, 5:51 pm, AJ ajeet.invinci...@gmail.com wrote: Hi group I facing one strange problem. I am sending some text to SMS app as a body. But when the text size increases more than 200 characters, it cuts the body from there. Only first 200 characters are appearing in the SMS body. But I can write more text when SMS gets launched :( Is there any limitation while sending characters to SMS? if yes then its ok But if no then where i am doing wrong? My code looks like :- String txt = characters more than 200 ; Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(sms_body, txt); intent.putExtra(Intent.EXTRA_TEXT, txt); _activity.startActivity(Intent.createChooser(intent, _activity.getText(text titte))); Thanks, Ajeet Singh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
RE: [android-developers] Apps not shown in 2.1 Market
Hi, I have the same problem with my app (aCar). I've got some complaints from 2.1 users (Eris) and a few from 1.6 (MyTouch 3G). By the way, I've restricted my app NOT to run on small screen and it's copy protected as well. I guess the copy protection flag is somehow guilty here! Any similar experiences around? Regards, Armond Dear all, I published several free and paid app in the Market. I recently get several complains from customers about not finding my app in the 2.1 Market. Even if they have bought them before, they can't find it in the market or their download list after updating to 2.1. Can anyone tell me what the problem is? Thanks a lot!! P.S. all in north america 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 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 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.
Re: [android-developers] Re: Application Crashing OutOfMemory .Restructuring Help Needed
Hi, Thanks for your responses.. Actually i found out that i was checking the PSS section and not the USS section. So the UI size is not 10 mb , but its still 8 mb. :( I think there might be something going really wrong in the app.There is one case where i restart the App .In this case i have a single Activity in my app and i start the same activity from this activity.So i believe there is some memory leak present there.. Regarding inflating the views from the XML , yes i have around 15 XML layout files. But i believe tht when i do a setContentView() over a previous setContentView() the previous screen is automatically GC'd.. The structure is that within one Activity i do setContentView of different layouts depending upon current Screen(Using Enums for different screens)according to user response. Problem with storing in database is that i need to show a List of around 8000 to 1 elements at the same time on the UI.If i keep things in DB only then it will take a lot of time loading the Screen which is not acceptable. So any suggestions regarding 1) how i can check for memory leaks of incorrect layout usage 2)how to optimise logic for showing around 1 elements at the same time (I see that android takes care of inflating for the list item as per scrolling on the list ) Thanks, Alok. On Tue, Mar 23, 2010 at 3:59 AM, Yahel kaye...@gmail.com wrote: I have to agree with Jim. The 16mb(24 on some devices) enforcement is there for a reason. Beside you might run into weird behavior, since if an app is not showing it can be murdered dead and simple to release memory. This leads to a scenario where your server could be killed leaving your main app in a not too stable state. Would you mind sharing with us how you achieve a layout that weight 10 mb ? Maybe we can find a way to lighten it. Good luck Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 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.
[android-developers] Re: Developing a dictionary
OK, thanks for the swift reply. I'll give it a go. Regards Angus On Mar 23, 10:01 am, timo prill timo.pr...@googlemail.com wrote: hi, best way is to use a database to store your data. have a look at this:http://developer.android.com/intl/fr/guide/topics/providers/content-p... cheers. angushir...@googlemail.com schrieb: Dear all, I am currently learning to develop Android applications, and to do this I have decided to develop a dictionary application. The UI, and search facilities are no problem to implement, but my question is, what is the best way to store the entries and definitions for the dictionary? Would XML be the best approach? I would be looking to include 500 - 1000 entries. Thank you for your help Angus Rose -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: How to change app names on the runtime
Look in the application's Manifest, the application tag, android:label option. But probably the name is cached so maybe you need to restart the phone after changing it. /Marek On Mar 22, 7:21 pm, yves...@gmail.com yves...@gmail.com wrote: Is there a way that after install a app, user can have the option to change the app name through a configuration page in that app? Where are all app names saved in the system? 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Display Process IDs
Hi, Is it possible to list down the names of all the apps that have been installed ? So that I can list down all the names of the apps and not only the PIDs. Thanks In Advance, Perumal On Mar 23, 5:45 pm, perumal316 perumal...@gmail.com wrote: Hi Jaya, Thanks for the help. Managed to get it work. Thanks and Regards, Perumal On Mar 23, 5:32 pm, Jaya Hoondlani jaya.hoondl...@gmail.com wrote: Hi Perumal, You can do this to display all the PID's for running application Context context = getApplicationContext(); Resources appR = context.getResources(); ActivityManager actmgr=(ActivityManager)context.getSystemService (Context.ACTIVITY_SERVICE); ListRunningAppProcessInfo appList = actmgr.getRunningAppProcesses(); CharSequence[] items = new CharSequence[appList.size()]; Vector ProcessallProcesses = new Vector Process(); for (int i=0;iappList.size();i++) { RunningAppProcessInfo rti = (RunningAppProcessInfo)appList.get(i); Log.v( , PID+rti.pid+Process Name+rti.processName ); } Thanks Jaya Diaspark,Inc.(www.diaspark.com) On Mar 23, 2:21 pm, perumal316 perumal...@gmail.com wrote: Hi All, Is there any way to display all the process IDs to a user? I think to display the current ID can use the following code: int myProcessID = Process.myPid(); But how do I display all process IDs? Thanks In Advance, Perumal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: How can i select data onListClick
Actually, it's beacause the Object itself in the Adapter is a Cursor ... This could help you maybe. Instead of : String callno = mContactList.getAdapter().getItem(position).toString(); I would try : String callno = mContactList.getAdapter().getItem(position).toString(); String callno = ((Cursor)mContactList.getAdapter().getItem(position)).getString(1); And 1 being your row in your Cursor. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Display Process IDs
Do you need anything like file browser? If that is the case you can specify a particular directory like data or sdcard and get it contents.. Let me know. Jaya Diaspark,Inc.(www.diaspark.com) On Mar 23, 3:22 pm, perumal316 perumal...@gmail.com wrote: Hi, Is it possible to list down the names of all the apps that have been installed ? So that I can list down all the names of the apps and not only the PIDs. Thanks In Advance, Perumal On Mar 23, 5:45 pm, perumal316 perumal...@gmail.com wrote: Hi Jaya, Thanks for the help. Managed to get it work. Thanks and Regards, Perumal On Mar 23, 5:32 pm, Jaya Hoondlani jaya.hoondl...@gmail.com wrote: Hi Perumal, You can do this to display all the PID's for running application Context context = getApplicationContext(); Resources appR = context.getResources(); ActivityManager actmgr=(ActivityManager)context.getSystemService (Context.ACTIVITY_SERVICE); ListRunningAppProcessInfo appList = actmgr.getRunningAppProcesses(); CharSequence[] items = new CharSequence[appList.size()]; Vector ProcessallProcesses = new Vector Process(); for (int i=0;iappList.size();i++) { RunningAppProcessInfo rti = (RunningAppProcessInfo)appList.get(i); Log.v( , PID+rti.pid+Process Name+rti.processName ); } Thanks Jaya Diaspark,Inc.(www.diaspark.com) On Mar 23, 2:21 pm, perumal316 perumal...@gmail.com wrote: Hi All, Is there any way to display all the process IDs to a user? I think to display the current ID can use the following code: int myProcessID = Process.myPid(); But how do I display all process IDs? Thanks In Advance, Perumal- 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 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.
[android-developers] Proper way of importing contacts to the device/contacts operations are very slow
Hi! I have some questions concerning importing contacts to the device, which is extremely slow. First of all, if you delete all your contacts, google sync will restore it very quickly. However, when my app is adding contacts to the device, it's very slow (a few contacts per second). Even if I add almost empty contacts (with name only), it is a time-consuming process. If I turn google sync off, importing 5000 contacts can take 1-2 hours (on HTC Magic). When google sync is on it can take up to 24hours. And this happens despite the fact, that application for the whole time is in the foreground, device is connected to charger and screen is on. I checked the logcat to make sure my app is adding the contacts the whole time, and it is. I tried different methods and different devices. The results differ of course, yet manually adding contacts is always significantly slower that google sync. Is there any way that I can speed up the process? So that importing 5000 contacts will take less than an hour. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: DDMS('?' in process name field)
You are right Bob, though the bit that worries me is that the name never appears! The ? process appears then disappears before DDMS gets a chance to display the name of the process, which is why it starts ringing virus alarm bells! It could be anything. Would just like to know what though! On 22 Mar, 16:02, Bob Kerns r...@acm.org wrote: I believe this is simply thatDDMShasn't yet received the name of the process. You'll notice the process number doesn't change. On Mar 22, 2:20 am, Ne0 liamjamesalf...@googlemail.com wrote: I get this with my Nexus One, the worrying thing is that appears then disappears very quickly like it is trying hard not to be noticed. I would associate this sort of behaviour with a virus, trying to remain undetected, but if you are seeing this in an emulator then it may just be a system process. On Mar 15, 6:02 am, magpad takashi.murama...@gmail.com wrote: Hi Musafir I had the same issue. Did you open twoDDMStools? just like one is opened on Eclipse, and another one is opened from console-commandDDMS. So I'm using Eclipse'sDDMSonly, and '?' is not showing. but I don't know why this problem has occurred... On 3月13日, 午前12:53, Nox v.beh...@googlemail.com wrote: Which version of Android do you use, I mean 1.5, 1.6 or an other version? If you get a ? , one application is unnamed but this shouldn´t be there. In 2.0.1 or in 2.1 this shouldn´t happen again. On 12 Mrz., 07:53, Musafir musafir4frie...@gmail.com wrote: Hi All, When i am runningDDMStool to profile the application, In left pane of theDDMStool we are able to see all the emulators that are attached toDDMS. When i expand one of the emulator some times i am getting ? in process names. Why this is happening ? 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Display Process IDs
Hi, I want to create an application with a user interface displaying all the installed applications name, and user can choose an application from there. Is it possible to display the names of all the installed applications? Thanks In Advance, Perumal On Mar 23, 6:35 pm, Jaya Hoondlani jaya.hoondl...@gmail.com wrote: Do you need anything like file browser? If that is the case you can specify a particular directory like data or sdcard and get it contents.. Let me know. Jaya Diaspark,Inc.(www.diaspark.com) On Mar 23, 3:22 pm, perumal316 perumal...@gmail.com wrote: Hi, Is it possible to list down the names of all the apps that have been installed ? So that I can list down all the names of the apps and not only the PIDs. Thanks In Advance, Perumal On Mar 23, 5:45 pm, perumal316 perumal...@gmail.com wrote: Hi Jaya, Thanks for the help. Managed to get it work. Thanks and Regards, Perumal On Mar 23, 5:32 pm, Jaya Hoondlani jaya.hoondl...@gmail.com wrote: Hi Perumal, You can do this to display all the PID's for running application Context context = getApplicationContext(); Resources appR = context.getResources(); ActivityManager actmgr=(ActivityManager)context.getSystemService (Context.ACTIVITY_SERVICE); ListRunningAppProcessInfo appList = actmgr.getRunningAppProcesses(); CharSequence[] items = new CharSequence[appList.size()]; Vector ProcessallProcesses = new Vector Process(); for (int i=0;iappList.size();i++) { RunningAppProcessInfo rti = (RunningAppProcessInfo)appList.get(i); Log.v( , PID+rti.pid+Process Name+rti.processName ); } Thanks Jaya Diaspark,Inc.(www.diaspark.com) On Mar 23, 2:21 pm, perumal316 perumal...@gmail.com wrote: Hi All, Is there any way to display all the process IDs to a user? I think to display the current ID can use the following code: int myProcessID = Process.myPid(); But how do I display all process IDs? Thanks In Advance, Perumal- 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 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.
[android-developers] Re: AIDL in multiple projects in Eclipse
Yes, you should copy the AIDL file to all projects that use the Service. Regards Marek On Mar 22, 6:07 pm, RAJ trra...@gmail.com wrote: I am facing same problem too. I dont ahve AIDL in both projects (i have it only in my service project) Am i supposed to have same AIDL in both projects? On Mar 17, 1:58 am, Andreas andreas.bex...@gmail.com wrote: Hi, Do you set the android:exported property of your service to true in the manifest for the service? Regards Andreas On Mar 17, 1:47 am, Peter Fortuin peter.fort...@gmail.com wrote: I had that, but that didn't work. Now I just have set my Build Path in the gui application. 2010/3/16 Sime sime...@gmail.com Quick question, do you have the aidl file in both applications? Regards On 16 mar, 14:07, Peerke peter.fort...@gmail.com wrote: Hello, I have problems with the following: I want to create to applications. One with a Android service and one with a Activity that will use functions on the Service. Before I splitted this in to applications I got everything working in one application. I can call functions (that are definned in the aidl- file) on the service without problems. Now the problems coms. I splitted the application into two parts, a Service application and Gui application. The bindins to the service (in the gui application) works and I see that the service is getting created. Then in the onServiceConnected function of the ServiceConnection class I created the following: mService = IMyService.Stub.asInterface(service); And this gives me the following exception: 03-16 13:53:05.549: ERROR/AndroidRuntime(881): java.lang.NoClassDefFoundError: MyPackage.IMyService$Stub It looks like he can't find the Stub class in IMyService. But the Stub is part of the java file generated out of the aidl-file. Anyone has any idea why I get this exception or how I can resolve this issue? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Proper way of importing contacts to the device/contacts operations are very slow
hi, which SDK version are you using? 1.5? 1.6? 2.0? 2.1? there were some changes to the contact api from 1.6 to 2.0... and maybe give a short snippet of how you insert the contacts to the database. maybe you do some (wrong) very time-consuming database-queries or you just missed something, because i have seen my code using the contact db implementation run way faster.. even with vcard-parsing full blown contacts...on the htc magic cheers cpphool schrieb: Hi! I have some questions concerning importing contacts to the device, which is extremely slow. First of all, if you delete all your contacts, google sync will restore it very quickly. However, when my app is adding contacts to the device, it's very slow (a few contacts per second). Even if I add almost empty contacts (with name only), it is a time-consuming process. If I turn google sync off, importing 5000 contacts can take 1-2 hours (on HTC Magic). When google sync is on it can take up to 24hours. And this happens despite the fact, that application for the whole time is in the foreground, device is connected to charger and screen is on. I checked the logcat to make sure my app is adding the contacts the whole time, and it is. I tried different methods and different devices. The results differ of course, yet manually adding contacts is always significantly slower that google sync. Is there any way that I can speed up the process? So that importing 5000 contacts will take less than an hour. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Issue in installing SDK
hi, you can give your network settings in (if your using eclipse ) window-preferences-general-network connections On Mar 22, 11:18 am, StillALearner k.mad...@gmail.com wrote: Hi, I am trying to install the Android SDK i get the following error XML verification failed forhttp://dl-ssl.google.com/android/repository/repository.xml. Error: cvc-elt.1: Cannot find the declaration of element 'HTML'. My PC is behind proxy,is that an issue by any chance ? Also there is a provision to specify proxy IP and port , i need to specify authentication credentials for my proxy too, where to specify the same. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: removing all items of a listview
mListAdapter.remove(x); // to remove an item and mListAdapter.invalidate(); // to refresh the content or mListAdapter.notifyDataSetChanged(); try it On Mar 23, 10:20 am, kavitha kavith...@gmail.com wrote: thanks for response patbenatar,,, can u please post the example code here,, wat i am doing here is, Initially in oncreate populate list once,,then from handlerthread,updating list from a handle,and i am using same arraylist ,,clearing same arraylist and populating new items,,then setAdapter to list old list items doesnt get cleared,,,new items add up to old ones On Tue, Mar 23, 2010 at 1:36 AM, patbenatar patbena...@gmail.com wrote: What you want to be doing here is getting a handle on the active ArrayList being used by the ListView right now and then manipulate that data directly and when you're done fire notifyDataSetChanged on that adapter. It looks from your code snippet above that you are creating a new ArrayList every time you want to manipulate the data. Just work with the one you already have, you can clear it and re-add items or delete items or whatever you want. This is what I have done to get notifyDataSetChanged to work on my ListViews. On Mar 19, 10:34 pm, kavitha kavith...@gmail.com wrote: Thanks MarkMurphy. But still i am not able to clear list items and populate with new items,,,new items get added up to old items. my code is this ArrayAdapterString adapter; ArrayListString results=new ArrayListString(); private void populateStationsList(RadioStation[] radioStation){ results.clear(); stationsList=(ListView) findViewById(R.id.station_list); stationsList.setTranscriptMode(ListView.TRANSCRIPT_MODE_ALWAYS_SCROLL); for (int i=0; iradioStation.length; i++) { String s=radioStation[i].getName(); results.add(s); } stationsList.setSelectionFromTop(1, 1); adapter = new ArrayAdapterString(this, android.R.layout.simple_list_item_1, results); stationsList.setAdapter(adapter); adapter.notifyDataSetChanged(); stationsList.setOnItemClickListener(this); } On Fri, Mar 19, 2010 at 6:31 PM, Mark Murphy mmur...@commonsware.com wrote: kavitha wrote: Hi All, How to remove all Items in a ListView in android. I want to remove all items in list view and populate with new items dynamically from a background thread. Please tell,,this is very urgent. Replace the adapter used by the ListView. -- Mark Murphy (a Commons Guy) http://commonsware.com|http://twitter.com/commonsguy Android Training in US: 14-18 June 2010:http://bignerdranch.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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@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.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 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.
[android-developers] Re: removing all items of a listview
mListAdapter.remove(x); // to remove an item //here instead of removing only x clear your list or whatever so.. and mListAdapter.invalidate(); // to refresh the content or mListAdapter.notifyDataSetChanged(); On Mar 23, 10:20 am, kavitha kavith...@gmail.com wrote: thanks for response patbenatar,,, can u please post the example code here,, wat i am doing here is, Initially in oncreate populate list once,,then from handlerthread,updating list from a handle,and i am using same arraylist ,,clearing same arraylist and populating new items,,then setAdapter to list old list items doesnt get cleared,,,new items add up to old ones On Tue, Mar 23, 2010 at 1:36 AM, patbenatar patbena...@gmail.com wrote: What you want to be doing here is getting a handle on the active ArrayList being used by the ListView right now and then manipulate that data directly and when you're done fire notifyDataSetChanged on that adapter. It looks from your code snippet above that you are creating a new ArrayList every time you want to manipulate the data. Just work with the one you already have, you can clear it and re-add items or delete items or whatever you want. This is what I have done to get notifyDataSetChanged to work on my ListViews. On Mar 19, 10:34 pm, kavitha kavith...@gmail.com wrote: Thanks MarkMurphy. But still i am not able to clear list items and populate with new items,,,new items get added up to old items. my code is this ArrayAdapterString adapter; ArrayListString results=new ArrayListString(); private void populateStationsList(RadioStation[] radioStation){ results.clear(); stationsList=(ListView) findViewById(R.id.station_list); stationsList.setTranscriptMode(ListView.TRANSCRIPT_MODE_ALWAYS_SCROLL); for (int i=0; iradioStation.length; i++) { String s=radioStation[i].getName(); results.add(s); } stationsList.setSelectionFromTop(1, 1); adapter = new ArrayAdapterString(this, android.R.layout.simple_list_item_1, results); stationsList.setAdapter(adapter); adapter.notifyDataSetChanged(); stationsList.setOnItemClickListener(this); } On Fri, Mar 19, 2010 at 6:31 PM, Mark Murphy mmur...@commonsware.com wrote: kavitha wrote: Hi All, How to remove all Items in a ListView in android. I want to remove all items in list view and populate with new items dynamically from a background thread. Please tell,,this is very urgent. Replace the adapter used by the ListView. -- Mark Murphy (a Commons Guy) http://commonsware.com|http://twitter.com/commonsguy Android Training in US: 14-18 June 2010:http://bignerdranch.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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@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.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 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.
[android-developers] Re: Maximum character that we can send to SMS application.
Hi Marek, Thanks for the information. But This I know. I think you misunderstood my question. Actually I am invoking SMS application from my app. I am sending some text [which is around 300 characters] in sms_body. These characters are being cut when SMS application is being invoked. I could find only 200 characters in the SMS app. I want to know where is the limitation? Is this a framework limitation? I already pasted my code above. Note: I am sending through Intent.ACTION_SEND Anyways thanks for being generous and reply AJ On Mar 23, 12:13 pm, Marek Pola marek.p...@gmail.com wrote: A SMS is limited to 140 bytes (octets), maybe this is the boundary you are experiencing? I don't know if Android supports concatenated SMS. http://en.wikipedia.org/wiki/SMS /Marek On Mar 22, 5:51 pm, AJ ajeet.invinci...@gmail.com wrote: Hi group I facing one strange problem. I am sending some text to SMS app as a body. But when the text size increases more than 200 characters, it cuts the body from there. Only first 200 characters are appearing in the SMS body. But I can write more text when SMS gets launched :( Is there any limitation while sending characters to SMS? if yes then its ok But if no then where i am doing wrong? My code looks like :- String txt = characters more than 200 ; Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(sms_body, txt); intent.putExtra(Intent.EXTRA_TEXT, txt); _activity.startActivity(Intent.createChooser(intent, _activity.getText(text titte))); Thanks, Ajeet Singh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Maximum character that we can send to SMS application.
Hi Marek, Thanks for the information. But This I know. I think you misunderstood my question. Actually I am invoking SMS application from my app. I am sending some text [which is around 300 characters] in sms_body. These characters are being cut when SMS application is being invoked. I could find only 200 characters in the SMS app. I want to know where is the limitation? Is this a framework limitation? I already pasted my code above. Note: I am sending through Intent.ACTION_SEND Anyways thanks for being generous and reply AJ On Mar 23, 12:13 pm, Marek Pola marek.p...@gmail.com wrote: A SMS is limited to 140 bytes (octets), maybe this is the boundary you are experiencing? I don't know if Android supports concatenated SMS. http://en.wikipedia.org/wiki/SMS /Marek On Mar 22, 5:51 pm, AJ ajeet.invinci...@gmail.com wrote: Hi group I facing one strange problem. I am sending some text to SMS app as a body. But when the text size increases more than 200 characters, it cuts the body from there. Only first 200 characters are appearing in the SMS body. But I can write more text when SMS gets launched :( Is there any limitation while sending characters to SMS? if yes then its ok But if no then where i am doing wrong? My code looks like :- String txt = characters more than 200 ; Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(sms_body, txt); intent.putExtra(Intent.EXTRA_TEXT, txt); _activity.startActivity(Intent.createChooser(intent, _activity.getText(text titte))); Thanks, Ajeet Singh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Maximum character that we can send to SMS application.
Hi Marek, Thanks for the information. But This I know. I think you misunderstood my question. Actually I am invoking SMS application from my app. I am sending some text [which is around 300 characters] in sms_body. These characters are being cut when SMS application is being invoked. I could find only 200 characters in the SMS app. I want to know where is the limitation? Is this a framework limitation? I already pasted my code above. Note: I am sending through Intent.ACTION_SEND Anyways thanks for being generous and reply AJ On Mar 23, 12:13 pm, Marek Pola marek.p...@gmail.com wrote: A SMS is limited to 140 bytes (octets), maybe this is the boundary you are experiencing? I don't know if Android supports concatenated SMS. http://en.wikipedia.org/wiki/SMS /Marek On Mar 22, 5:51 pm, AJ ajeet.invinci...@gmail.com wrote: Hi group I facing one strange problem. I am sending some text to SMS app as a body. But when the text size increases more than 200 characters, it cuts the body from there. Only first 200 characters are appearing in the SMS body. But I can write more text when SMS gets launched :( Is there any limitation while sending characters to SMS? if yes then its ok But if no then where i am doing wrong? My code looks like :- String txt = characters more than 200 ; Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(sms_body, txt); intent.putExtra(Intent.EXTRA_TEXT, txt); _activity.startActivity(Intent.createChooser(intent, _activity.getText(text titte))); Thanks, Ajeet Singh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: The life cycle of a static
On Mar 11, 8:38 am, westmeadboy westmead...@yahoo.co.uk wrote: In Activity1.onDestroy() I close the database. However, is this a good approach? Is it not possible that Activity1 is killed but Activity2 stays alive? If so, then Activity2's db calls will suddenly fail. Would be great if someone knows the answer to this? I would rather close the database when the application (i.e. task?) is terminated, but I don't know the proper place to make such a call. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Your feedback on Samples/Tutorials/Articles
On Mar 18, 10:38 pm, Megha Joshi mjo...@google.com wrote: Thanks for your feedback in helping us improve our Android developer resources. One of the suggestions is to take user-contributed articles (and filter out the poorly-written/incorrect ones). This is an excellent idea - I'm sure many people would be willing to write such articles. Another way of allowing developers to contribute to the documentation would that would be amazing is to add a comments system to the reference pages. Currently if you see an error in the documentation or want to add something, e.g. an example (these seem to be particularly absent), there is no real way to do so. You could open a bug, or if you're feeling really energetic create a patch, but the chances of either of these being applied to the source are basically zero. A better alternative would be to allow users to comment on the pages. A simple implementation would allow comments at the bottom of each page or section (see the MySQL documentation for a great example of this). Alternatively something like sidewiki, but where the comments are at specific vertical locations might work. Then we can fix this handy list of documentation bugs: http://code.google.com/p/android/issues/detail?id=5958 http://code.google.com/p/android/issues/detail?id=212 http://code.google.com/p/android/issues/detail?id=5957 http://code.google.com/p/android/issues/detail?id=7276 http://code.google.com/p/android/issues/detail?id=7259 http://code.google.com/p/android/issues/detail?id=6680 http://code.google.com/p/android/issues/detail?id=5960 http://code.google.com/p/android/issues/detail?id=6625 http://code.google.com/p/android/issues/detail?id=1856 http://code.google.com/p/android/issues/detail?id=6534 http://code.google.com/p/android/issues/detail?id=6563 http://code.google.com/p/android/issues/detail?id=6940 http://code.google.com/p/android/issues/detail?id=7003 http://code.google.com/p/android/issues/detail?id=1979 (wow this one looks really annoying) http://code.google.com/p/android/issues/detail?id=7314 http://code.google.com/p/android/issues/detail?id=3518 http://code.google.com/p/android/issues/detail?id=6272 http://code.google.com/p/android/issues/detail?id=4183 http://code.google.com/p/android/issues/detail?id=939 (shapes are not even mentioned in the documentation) http://code.google.com/p/android/issues/detail?id=4169 http://code.google.com/p/android/issues/detail?id=6572 Ok so I got carried away, but maybe Google aren't aware of these problems... Thoughts? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Application Crashing OutOfMemory .Restructuring Help Needed
i need to show a List of around 8000 to 1 elements at the same time on the UI OK that's mad. How can the user reasonably navigate that many entries in a single list? Search and pagination are your friends here. Jim On 23 March 2010 10:17, Alok Kulkarni kulsu...@gmail.com wrote: Hi, Thanks for your responses.. Actually i found out that i was checking the PSS section and not the USS section. So the UI size is not 10 mb , but its still 8 mb. :( I think there might be something going really wrong in the app.There is one case where i restart the App .In this case i have a single Activity in my app and i start the same activity from this activity.So i believe there is some memory leak present there.. Regarding inflating the views from the XML , yes i have around 15 XML layout files. But i believe tht when i do a setContentView() over a previous setContentView() the previous screen is automatically GC'd.. The structure is that within one Activity i do setContentView of different layouts depending upon current Screen(Using Enums for different screens)according to user response. Problem with storing in database is that i need to show a List of around 8000 to 1 elements at the same time on the UI.If i keep things in DB only then it will take a lot of time loading the Screen which is not acceptable. So any suggestions regarding 1) how i can check for memory leaks of incorrect layout usage 2)how to optimise logic for showing around 1 elements at the same time (I see that android takes care of inflating for the list item as per scrolling on the list ) Thanks, Alok. On Tue, Mar 23, 2010 at 3:59 AM, Yahel kaye...@gmail.com wrote: I have to agree with Jim. The 16mb(24 on some devices) enforcement is there for a reason. Beside you might run into weird behavior, since if an app is not showing it can be murdered dead and simple to release memory. This leads to a scenario where your server could be killed leaving your main app in a not too stable state. Would you mind sharing with us how you achieve a layout that weight 10 mb ? Maybe we can find a way to lighten it. Good luck Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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.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 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.
Re: [android-developers] Re: Application Crashing OutOfMemory .Restructuring Help Needed
Jim Blackler wrote: i need to show a List of around 8000 to 1 elements at the same time on the UI OK that's mad. How can the user reasonably navigate that many entries in a single list? Search and pagination are your friends here. I would tend to agree, however for my Prisjakt application (locates best price of products) some of my users insisted that the normal searching (by text or barcode) was not enough - they absolutely wanted the ability to browse all the products in the tree too. For most of the leaf nodes the number of items shown in quite reasonable, but in extreme cases (such as DVD films) it goes beyond 3. What I did first of all was allow sorting (by default ranked) and then only load 20 items at a time - similar to how it works in Android Market. (I'm pretty sure nobody has ever fetched the full 3+ list, but in theory that is likely to cause OOM.) Since I introduced this, I've had no further insisting users, so either it is good enough or these particular users have realized that searching is actually better... My few eurocents / Jonas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] How to deal with the dinamic creatoin of tabs?
I am trying to create and remove tabs dynamically. Usually an activity should be set for each tab created in TabSpec. But how to do it when the tabs are created dynamically? Here I am using a frame layout to display tab content. If I try to use the same activity by setting the tab content, the text is getting overlapped. Here I have to read the text from the EditText view and set it as the tab content and that content should be shown whenever I navigate to that tab. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] How to deal with the dynamic creation of tabs?
I am trying to create and remove tabs dynamically. Usually an activity should be set for each tab created in TabSpec. But how to do it when the tabs are created dynamically? Here I am using a frame layout to display tab content. If I try to use the same activity by setting the tab content, the text is getting overlapped. Here I have to read the text from the EditText view and set it as the tab content and that content should be shown whenever I navigate to that tab. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Maximum character that we can send to SMS application.
Hi Marek, Thanks for the information. But This I know. I think you misunderstood my question. Actually I am invoking SMS application from my app. I am sending some text [which is around 300 characters] in sms_body. These characters are being cut when SMS application is being invoked. I could find only 200 characters in the SMS app. I want to know where is the limitation? Is this a framework limitation? I already pasted my code above. Note: I am sending through Intent.ACTION_SEND Anyways thanks for being generous and reply AJ On Mar 23, 12:13 pm, Marek Pola marek.p...@gmail.com wrote: A SMS is limited to 140 bytes (octets), maybe this is the boundary you are experiencing? I don't know if Android supports concatenated SMS. http://en.wikipedia.org/wiki/SMS /Marek On Mar 22, 5:51 pm, AJ ajeet.invinci...@gmail.com wrote: Hi group I facing one strange problem. I am sending some text to SMS app as a body. But when the text size increases more than 200 characters, it cuts the body from there. Only first 200 characters are appearing in the SMS body. But I can write more text when SMS gets launched :( Is there any limitation while sending characters to SMS? if yes then its ok But if no then where i am doing wrong? My code looks like :- String txt = characters more than 200 ; Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(sms_body, txt); intent.putExtra(Intent.EXTRA_TEXT, txt); _activity.startActivity(Intent.createChooser(intent, _activity.getText(text titte))); Thanks, Ajeet Singh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Problem in Highlight of HTML file
Hi, I'd like to use WebView to display html file now i want to highlight text in HTML file so can anyone help 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Out of Memory resuming application
Yes, I've already read the article... This is th code for the onPause and onResume methods. public void onResume(){ super.onResume(); if(!mWakeLock.isHeld()){ pm = (PowerManager)getSystemService(Context.POWER_SERVICE); mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK,getClass().getName()); mWakeLock.acquire(); } System.gc(); System.runFinalization(); System.gc(); if(Sound.soundEnabled){ mNowPlaying.start(); } } @Override public void onPause(){ super.onPause(); System.gc(); System.runFinalization(); System.gc(); mWakeLock.release(); if(Sound.soundEnabled){ mNowPlaying=Sound.getNowPlaying(); Sound.stopSound(mNowPlaying); } if (Profile.getActiveProfileIndex() != -1) { Profile.getActiveProfile().saveData(); } } public void saveData() { // Log.d(, saving data!); save(); saveActiveFile(); } private void save() { FileOutputStream fos = null; DataOutputStream dos = null; File file = new File(Main.instance.getFilesDir() + / + Main.instance.getString(R.string.T_APPNAME) + getActiveProfileIndex() +1); try { if(!file.exists()){ file.createNewFile(); } fos = Main.instance.openFileOutput(Main.instance.getString(R.string.T_APPNAME) + this.mProfileId, Context.MODE_PRIVATE); dos = new DataOutputStream(fos); int score = 0; int status = 0; int tries = 0; for (int i = 0; i MAX_LEVEL_NUMBER; i++) { dos.writeInt(mLevels[i].getStatus().ordinal()); dos.writeInt(mLevels[i].getScore()); dos.writeInt(mLevels[i].getTries()); // mLevels[i] = new ProfileLevel(i, status, score, tries); } dos.writeInt(this.getLastPageViewed()); dos.writeUTF(this.getName()); } catch (Exception e) { e.printStackTrace(); } finally { try { dos.flush(); dos.close(); dos = null; } catch (Exception e) { e.printStackTrace(); } } // Log.d(, file saved + this.mProfileId); for (FilesId fId : FilesId.values()) { if (fId.ordinal() 0 Main.mProfiles[fId.ordinal()-1]==null) { file = new File(Main.instance.getFilesDir() + / + Main.instance.getString(R.string.T_APPNAME) + fId.ordinal()); if (file.exists()){ // Log.d(, deleting file + (fId.ordinal()-1)); file.delete(); } } } } private static void saveActiveFile() { FileOutputStream fos = null; DataOutputStream dos = null; // File file = new File(Main.instance.getFilesDir() + / + Main.instance.getString(R.string.T_APPNAME) + FilesId.ACTIVE_PROFILE); try { // file.createNewFile(); fos = Main.instance.openFileOutput(Main.instance.getString(R.string.T_APPNAME) + FilesId.ACTIVE_PROFILE, Context.MODE_PRIVATE); dos = new DataOutputStream(fos); // Log.d(, saving active profile file + Profile.getActiveProfileIndex() + in + Main.instance.getString(R.string.T_APPNAME) + FilesId.ACTIVE_PROFILE); dos.writeInt(Profile.getActiveProfileIndex()); dos.flush(); dos.close(); } catch (Exception e) { e.printStackTrace(); } finally { try { // dos.flush(); // dos.close(); // dos = null; } catch (Exception e) { e.printStackTrace(); } } FileInputStream fis=null;
[android-developers] Remap trackball coordinates in WebView
Hi everybody, I need adjust trackball coordinates in a WebView object, so I extend this class and override the onTrackballEvent method. Inside this new method I adjust the MotionEvent coordinates (with setLocation) and I call super.onTrackballEvent with the customized event. But the WebView doesn't behave like expected. Actually, if I don't remap the coordinates and I call super.onTrackballEvent with the unmodified event it doesn't behave fine, exactly it doesn't react to left or right movements of the trackball, although clicking it works. Is there anybody who have achieved remapping trackball coordinates? Advanced 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
No response from Google yet. I'm still hoping to get one. Are Kevin Duffey and I the only ones interested in this? Does this affect anyone else out there? On Mar 17, 3:17 pm, Kevin Duffey andjar...@gmail.com wrote: I am curious about this to, as micro transactions allow for addictive games that can draw in players.. thus make it more lucrative for the game developers. I can't imagine that google would restrict the ability of a game to work with say a service that offers these abilities.. in game. Once a game is installed on the device, the game code accessing a service across the network that provides support to charge for in-game things like gold, items, etc should not be blocked by google. As far as I know, they want to expand developer support for the Android platform. This is a great way to gain more developers. I can't see any reason for them to not allow a game to do this. If a game does this, does google take it off the market like Apple does? On Wed, Mar 17, 2010 at 12:06 PM, Warren warrenba...@gmail.com wrote: I have still not seen an acceptable solution for in-app purchasing, and I was hoping for an official response from Google. This has been discussed in other threads, but there is still no good solution. http://groups.google.com/group/android-developers/browse_thread/threa... Collecting a fee to unlock functionality or to buy virtual items is not a technical problem. It is straightforward. However, the Market Agreement severely limits developers' ability to collect such a fee. It says all fees collected for the app must go through the Market payment processor. http://www.android.com/us/developer-distribution-agreement.html Buying another app from the Market seems the only clearly acceptable solution. But that is not ideal. It perverts the definition of an app and causes problems because of the refund policy. Google, how are developers supposed to handle this situation? Or is your intention that we simply not do this? While lawyers may quarrel over the actual document, what is your intent as it pertains to buying virtual items? For example, charging $1 real money for 10 in-game gold? What if only the front end of the game is distributed on the market, and the features of the front end (the app) do not change with additional fees? This may be splitting hairs but that's what happens with legal documents, I suppose. So what is the intention of the Market Agreement here? Did you intend to prevent buying virtual items or not? I would appreciate some clarification so I can proceed knowing the spirit of the law, so to speak. 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.comandroid-developers%2bunsubscr...@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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Get source Code on Microsoft Windows
Hello, I try this plugin http://www.eclipse.org/egit/; to get the source code of Android. My parameters : -URI : http://android.git.kernel.org/platform/manifest.git - Protocol : Http or Https I obtained the branches but can not get an access to the source code... Any idea ? Thanks, Antoine -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.
Nikolay, First of all, kudos to a great game! It's one of the few that I go back to over and over again. Back to your post: Great ideas here! Your online scores idea is great for decreasing the amount of cheating to almost 0. However it seems like it has a lot of overhead to recreate someones game. Maybe not. I guess it just depends on how much logic you have to go through to recreate the game. And, in a lot of games, this approach wouldn't work very well, or could become clunky. But, for you game it seems to be working great. In regards to not showing the online scores in game, why not use a webview on your activity to pull in a mobile formatted webpage with the scores? That's how I pull in the online scores for my app and, sure, it takes a few seconds to load the webview into an activity, but it's something like 1 second for an activity to load versus 3-5 seconds for the activity with a webview to load. You also bypass having to dump out to the browser to do this. In regards to the social aspects you recently implemented (facebook, etc.)...was that much work to do? I've been thinking about adding these types of features into my app as well. I'm only at the exploratory phase currently though. I'm not entirely sure what all I'll be getting into there. Justin On Tue, Mar 23, 2010 at 2:39 AM, Nikolay Ananiev devuni...@gmail.comwrote: On Wed, Mar 17, 2010 at 2:08 AM, Kevin Duffey andjar...@gmail.com wrote: Hey all, I am curious how the various groups of game developers, primarily mobile (android in this case) and cross-platform (android/iPhone/facebook) handle storing high scores, achievements, and such as well as how multi player is done. How does your game(s) access high scores, update the list, remove them if need be? The same would apply for achievements, and to a lesser degree, leader boards. Are you using a service out there that you pay for... if so how much does it cost.. and do they provide some sort of java/objective-c SDK that you can just plug in to your code? How do you dispaly high scores, leader boards, achievements, etc in your game? Do you provide your own web site with the same info, perhaps jazzed up a bit more or with more detail than your mobile game (due to limited screen realestate for mobile devices)? Do you provide a link to a web site in your game if they want to see things like high scores, achievements and leader boards? My game has a custom view to show the high scores in the game. I didn't like the web browser approach, because it gets the player out of the game, completely changes the UI he is used to and the loading time is terrible. The user experience is really bad this way. I have two high scores in the game - local and online. The local high scores are stored in a SQLite database and the remote are in PostgresSQL. I also show the high scores on the website and on a Facebook application. The difference between the 3 types: The in-game high scores do not support searching (I just don't have the visual space to put a search input field, which I want). The website ranking supports searching, but otherwise is the same like the in-game one. The Facebook one is interesting. If you log-in the game using facebook connect, your facebook id is saved and this allows me to show a specific ranking based on you and your facebook friends, show their pictures, link to their profiles and so on. How do I send the scores to the server? I don't. That's how I prevent cheating. What I do is to send the player moves to the server and the server replays the game using the player moves. Checks if every move is according to the game rules and validates the game. If the game is valid, the server just extracts the scores out of its state and saves them. There are no high scores send over the network. I would also like to know what sort of things are most important for your games. High scores are so yesterday, so to speak. The latest craze in most games seems to be achievements and the ability to obtain extra items for your games, either by buying them, or earning them through achievements, etc. So what are some things you game developers would want to make use of in your game to add more appeal to your game, to draw in players for longer, especially long enough to pass the 48 hour refund time so that you can actually earn some money from your hard work. I look at games on Facebook like Farmville that are doing so well they are hiring more developers at good pay to work on it. I also look at games like World of Warcraft, which I play and got sucked into for a while, due to getting to that next level or getting that next awesome epic gear piece... those sorts of things seem to be what draws in players to otherwise simple games. A number of mobile games that seem to do very well often seem to be fairly simple games but offer that right mix of I just got to get to that next I am curious what some of you developers
Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers
On Mon, Mar 22, 2010 at 4:10 PM, Greg Donald gdon...@gmail.com wrote: Users are not developers and do not want upgrades, ever. They want fully functional, bug free, 1.0 releases only. Really? I think quite the opposite actually. Seems to me most users see buying apps as an investment and expect consistent updates. It could always be better, right? Bug-free, of course, but not never improved or updated ever again. And if you do make a bug release, you had better list some obvious new features or you will get accused of spamming the Marketplace. Well if you drop 100 apps into the Market at once, or if you fix bugs 4 times a day, probably. But if you fix a major bug and make it clear that that was point of the update, I don't think you'd see any backlash. In a nutshell, Marketplace users are whiny bitches and there's not much you can do about it. Yes =) On Tue, Mar 23, 2010 at 2:22 AM, dgoemans dgoem...@gmail.com wrote: The biggest thing that still gets to me, is the users who refund a $1 donate version of something when the free version is also in the market. Why not just install the free version if you're too cheap to pay $1, at least my ratings will stay up. Note that a lot of people that refund don't do it because they're cheap - they do it because the goddamn POS known as the Android Market app often doesn't authorize their purchase or complete their downloads. So people cancel and try again or give up completely. I have quite a few entries in Google Checkout with the same user buying, refunding, then buying again minutes later. One guy emailed me with the problem after trying 3 times. How he managed to refund twice is beyond me ... - 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] plzzzz helpppp regarding sensors for compass
Hey hiii a Im tryin to get the directional information using compass on my android phone.Bt it gives me the error - could not enable sensor 2 for the method- sensorMan.registerListener( listener, sensorMan.getDefaultSensor( Sensor.TYPE_ORIENTATION), SensorManager.SENSOR_DELAY_FASTEST); Pl help me out its a bit urgentny help would b appreciated :):) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Proper way of importing contacts to the device/contacts operations are very slow
Hi! Currently, I'm using HTC Magic (1.5) and Acer Liquid (1.6) to test the app. my sample code snippet for API 2.0: for (int i = 0; i 100; i++) { Log.d(TAG,iteracja + i); ContentValues personValues = new ContentValues(); personValues.put(Contacts.People.NAME, Test + i); personValues.put(Contacts.People.STARRED, 0); Uri newPersonUri = Contacts.People.createPersonInMyContactsGroup(getContentResolver(), personValues); } I did a few tests. Each time I changed NAME String in order to avoid duplicates. Results: 1) Acer Liquid (sync off) - 12 sec 2) Acer Liquid (sync on) - 30 sec 3) Acer Liquid (sync on) - 55 sec 4) Acer Liquid (sync on) - 35 sec 5) Acer Liquid (sync off) - 13 sec 1) HTC Magic (sync off) - 27 sec 2) HTC Magic (sync off) - stuck. log from logcat: ERROR/CursorWindow(13459): need to grow: mSize = 1048576, size = 279, freeSpace() = 162, numRows = 2789 ERROR/CursorWindow(13459): not growing since there are already 2789 row(s), max size 1048576 ERROR/CursorWindow(13459): The row failed, so back out the new row accounting from allocRowSlot 2788 ERROR/Cursor(13459): Failed allocating fieldDir at startPos 0 row 2788 DEBUG/Cursor(13459): finish_program_and_get_row_count row 2213 then I turned the sync off and my application started running again (without restarting the app)! took 30 sec to complete. Even if we turn off sync on HTC Magic it takes a long time to simply add empty contacts. Adding 5000 empty contacts (without any other operations) would take 1500sec = 25min. On 23 Mar, 11:55, timo prill timo.pr...@googlemail.com wrote: hi, which SDK version are you using? 1.5? 1.6? 2.0? 2.1? there were some changes to the contact api from 1.6 to 2.0... and maybe give a short snippet of how you insert the contacts to the database. maybe you do some (wrong) very time-consuming database-queries or you just missed something, because i have seen my code using the contact db implementation run way faster.. even with vcard-parsing full blown contacts...on the htc magic cheers cpphool schrieb: Hi! I have some questions concerning importing contacts to the device, which is extremely slow. First of all, if you delete all your contacts, google sync will restore it very quickly. However, when my app is adding contacts to the device, it's very slow (a few contacts per second). Even if I add almost empty contacts (with name only), it is a time-consuming process. If I turn google sync off, importing 5000 contacts can take 1-2 hours (on HTC Magic). When google sync is on it can take up to 24hours. And this happens despite the fact, that application for the whole time is in the foreground, device is connected to charger and screen is on. I checked the logcat to make sure my app is adding the contacts the whole time, and it is. I tried different methods and different devices. The results differ of course, yet manually adding contacts is always significantly slower that google sync. Is there any way that I can speed up the process? So that importing 5000 contacts will take less than an hour. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Application Crashing OutOfMemory .Restructuring Help Needed
There is no way anyone is going to actually browse more than a few hundred item in a list. Ever !! Jim is right : Search Pagination. If your users are dumb enough to asks the full list and you are actually going to do it, then implements a list like the android market and fetch a 100 items at a time. I'm pretty sure if you use Flurry to check what your users are doing. You'll find only one or two users sliding below 200 items. And a user that asks you to get 30 000 items, is probably a competitor that just wants to steal your database through your webservice anyway :D Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
Hi, I'm actually very interested as well. I think if the Android Team doesn't answer it's just that it's not an issue for them. And as we say in France Qui ne dit mot, consent :D I'm going to implement an in-app purchase in my next game. I'm going to try to make it use Google checkout, this way if this is infringing enough to get a cease an desist letter, at least, I will always be able to claim they made money too ;D I'll publish my cease and desist letter here if I get one :D Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] plzzzz helpppp regarding sensors for compass
prachi wrote: Hey hiii a Im tryin to get the directional information using compass on my android phone.Bt it gives me the error - could not enable sensor 2 for the method- sensorMan.registerListener( listener, sensorMan.getDefaultSensor( Sensor.TYPE_ORIENTATION), SensorManager.SENSOR_DELAY_FASTEST); Pl help me out its a bit urgentny help would b appreciated :):) Try running: http://github.com/commonsguy/cw-advandroid/tree/master/Sensor/Compass/ This is known to work. If it works for you, figure out where you are doing things differently. If it does not work for you, please confirm that your device has a compass sensor. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Consulting/App Development: http://commonsware.com/consulting -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Sending lots of SMS
I am working on an app that allows sending lots of text messages. I have two questions:- 1) If I send too many messages together (around 80), only about 10 actually go and the rest fail in the first try. Do networks limit how many sms can we send per second or something? Will pausing after every sms help in this case? 2) I believe Android shows a dialog box if we send more than 100 sms in an hour. I am sending SMS from a separate thread. Can Android block that thread if there are too many SMS being sent? 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Maximum character that we can send to SMS application.
Hi experts, Any information regarding above is truly appreciated. I just want to know about the limitation of sending data to SMS through Intent.ACTION_SEND. Thanks, AJ On Mar 23, 1:24 pm, AJ ajeet.invinci...@gmail.com wrote: Hi Marek, Thanks for the information. But This I know. I think you misunderstood my question. Actually I am invokingSMSapplicationfrom my app. I am sending some text [which is around 300 characters] in sms_body. These characters are being cut whenSMSapplicationis being invoked. I could find only 200 characters in theSMSapp. I want to know where is the limitation? Is this a framework limitation? I already pasted my code above. Note: I am sending through Intent.ACTION_SEND Anyways thanks for being generous and reply AJ On Mar 23, 12:13 pm, Marek Pola marek.p...@gmail.com wrote: ASMSis limited to 140 bytes (octets), maybe this is the boundary you are experiencing? I don't know if Android supports concatenatedSMS. http://en.wikipedia.org/wiki/SMS /Marek On Mar 22, 5:51 pm, AJ ajeet.invinci...@gmail.com wrote: Hi group I facing one strange problem. I am sending some text toSMSapp as a body. But when the text size increases more than 200 characters, it cuts the body from there. Only first 200 characters are appearing in theSMSbody. But Icanwrite more text whenSMSgets launched :( Is there any limitation while sending characters toSMS? if yes then its ok But if no then where i am doing wrong? My code looks like :- String txt = characters more than 200 ; Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(sms_body, txt); intent.putExtra(Intent.EXTRA_TEXT, txt); _activity.startActivity(Intent.createChooser(intent, _activity.getText(text titte))); Thanks, Ajeet Singh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] delete the sqlite database?
How do I delete the sqlite database exists in my android? There is a db behind my android qro and delete the same -- Ray da Costa The best way to predict the future is to invent it. Alan Kay -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
Too bad for you that the market agreement is -very- clear about it and you've just publicly admitted any violation is willful and intentional. ISTR the agreement says they can pull every dime you made from market if you do that sort of thing... Good luck though. On Tue, Mar 23, 2010 at 9:25 AM, Yahel kaye...@gmail.com wrote: Hi, I'm actually very interested as well. I think if the Android Team doesn't answer it's just that it's not an issue for them. And as we say in France Qui ne dit mot, consent :D I'm going to implement an in-app purchase in my next game. I'm going to try to make it use Google checkout, this way if this is infringing enough to get a cease an desist letter, at least, I will always be able to claim they made money too ;D I'll publish my cease and desist letter here if I get one :D Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 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.
Re: [android-developers] Re: Being legally harassed, by a large iPhone developer
I am not a lawyer and this is not legal advice. I have some experience and have done some reading in this regard, however. Laws differ in each country, and if they were to sue you for trademark infringement, they would have to do so in each country they wish for you to stop selling your app or to pursue damages. In the U.S., copyright law protects the original author/artist from others copying the work or making a derivative work without permission. The definition of a derivative work is not clear to me. With software, they would have to show that you use some of their software (source code or object code) without permission, e.g. by reverse engineering, linking some of their libraries (such libraries not expressly permitting doing so), or out right theft of their code. With graphics, I don't know how they prove it. It's very subjective, and the commonality of pre-existing material (e.g. an H used for a helo-pad) may work in your favor. I would file for a copyright with the U.S. copyright office. I think you simply have to send them a copy of your work and fill out a registration form. If you have earlier records of when your work was first available, I would hang on to those as well. If you have a similar organization in your country, then you should do the same there. If you can do so in any country your app is selling, then do that as well. Unfortunately, they may decide to push ahead with lawsuits. You should most definitely consult with lawyers. The initial consult may be free. Depending on the laws, if you win, you may be able to sue for court costs and legal fees. Best of luck! Patrick -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
Disconnect, I don't think the market agreement is clear on this. It is clear that if you charge for apps, the payment has to go through the Market processor. I'm talking about something different. In this scenario, the app doesn't change and all functionality is still available to all users. However, users can purchase virtual goods for use in the game (which may also be attainable without purchase). The reason I am asking is not to skirt the rules without being caught. Just the opposite, I'm seeking clarification up front to avoid misunderstanding. That is why I'm looking for Google's input on how to proceed. This has got to be a very common issue. And clearing this up would help a lot of developers. I believe that selling virtual goods that can be used in an online game app does not violate the agreement. I just want to get Google's take. On Mar 23, 8:37 am, Disconnect dc.disconn...@gmail.com wrote: Too bad for you that the market agreement is -very- clear about it and you've just publicly admitted any violation is willful and intentional. ISTR the agreement says they can pull every dime you made from market if you do that sort of thing... Good luck though. On Tue, Mar 23, 2010 at 9:25 AM, Yahel kaye...@gmail.com wrote: Hi, I'm actually very interested as well. I think if the Android Team doesn't answer it's just that it's not an issue for them. And as we say in France Qui ne dit mot, consent :D I'm going to implement an in-app purchase in my next game. I'm going to try to make it use Google checkout, this way if this is infringing enough to get a cease an desist letter, at least, I will always be able to claim they made money too ;D I'll publish my cease and desist letter here if I get one :D Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 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.
Re: [android-developers] Re: Proper way of importing contacts to the device/contacts operations are very slow
hey, try this. maybe its a faster approach to go directly through the ContentResolver instead of using createPersonInMyContactsGroup: ContentValues values = new ContentValues(); Uri uri; String id; ContentResolver cr = getContentResolver (); for (int i = 0; i 100; i++) { values.clear(); values.put(People.NAME, Test + i); uri = cr.insert(People.CONTENT_URI, values); id = uri.getLastPathSegment(); People.addToMyContactsGroup(cr, Long.parseLong(id)); } cheers. cpphool schrieb: Hi! Currently, I'm using HTC Magic (1.5) and Acer Liquid (1.6) to test the app. my sample code snippet for API 2.0: for (int i = 0; i 100; i++) { Log.d(TAG,iteracja + i); ContentValues personValues = new ContentValues(); personValues.put(Contacts.People.NAME, Test + i); personValues.put(Contacts.People.STARRED, 0); Uri newPersonUri = Contacts.People.createPersonInMyContactsGroup(getContentResolver(), personValues); } I did a few tests. Each time I changed NAME String in order to avoid duplicates. Results: 1) Acer Liquid (sync off) - 12 sec 2) Acer Liquid (sync on) - 30 sec 3) Acer Liquid (sync on) - 55 sec 4) Acer Liquid (sync on) - 35 sec 5) Acer Liquid (sync off) - 13 sec 1) HTC Magic (sync off) - 27 sec 2) HTC Magic (sync off) - stuck. log from logcat: ERROR/CursorWindow(13459): need to grow: mSize = 1048576, size = 279, freeSpace() = 162, numRows = 2789 ERROR/CursorWindow(13459): not growing since there are already 2789 row(s), max size 1048576 ERROR/CursorWindow(13459): The row failed, so back out the new row accounting from allocRowSlot 2788 ERROR/Cursor(13459): Failed allocating fieldDir at startPos 0 row 2788 DEBUG/Cursor(13459): finish_program_and_get_row_count row 2213 then I turned the sync off and my application started running again (without restarting the app)! took 30 sec to complete. Even if we turn off sync on HTC Magic it takes a long time to simply add empty contacts. Adding 5000 empty contacts (without any other operations) would take 1500sec = 25min. On 23 Mar, 11:55, timo prill timo.pr...@googlemail.com wrote: hi, which SDK version are you using? 1.5? 1.6? 2.0? 2.1? there were some changes to the contact api from 1.6 to 2.0... and maybe give a short snippet of how you insert the contacts to the database. maybe you do some (wrong) very time-consuming database-queries or you just missed something, because i have seen my code using the contact db implementation run way faster.. even with vcard-parsing full blown contacts...on the htc magic cheers cpphool schrieb: Hi! I have some questions concerning importing contacts to the device, which is extremely slow. First of all, if you delete all your contacts, google sync will restore it very quickly. However, when my app is adding contacts to the device, it's very slow (a few contacts per second). Even if I add almost empty contacts (with name only), it is a time-consuming process. If I turn google sync off, importing 5000 contacts can take 1-2 hours (on HTC Magic). When google sync is on it can take up to 24hours. And this happens despite the fact, that application for the whole time is in the foreground, device is connected to charger and screen is on. I checked the logcat to make sure my app is adding the contacts the whole time, and it is. I tried different methods and different devices. The results differ of course, yet manually adding contacts is always significantly slower that google sync. Is there any way that I can speed up the process? So that importing 5000 contacts will take less than an hour. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Sending lots of SMS
Hi Nikhil, 1) Without seeing any code, it's hard to tell but the person in the post I give you as an answer to your second questions doesn't seem to have hit such a limit. 2) Checkout : http://groups.google.com/group/android-developers/browse_frm/thread/25845d89c6892b11/05c432223acb56ee?#05c432223acb56ee It's not a matter of thread or activity, it's in the sms controller that the limit is set. So I don't think you can find a work around. I'm actually very curious to know what functionnality your app is trying to achieve. Sending hundreds of sms seems overkillWhat is it you are trying to do ? Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Long key press handling in android 1.5
any help ? On Mar 23, 12:56 pm, Anzi anji...@gmail.com wrote: Hi, I want to handle key press and long key press for the key code KEYCODE_CALL(dial button). can any one suggest me how this in android 1.5(API level 3). Here is the code, but this is not working, for the long key press i am getting as a normal key event also. public boolean onKeyDown(int keyCode, KeyEvent event) { switch (keyCode) { case KeyEvent.KEYCODE_CALL: { if(0 == event.getRepeatCount()) { // normal key press // But problem is, this code is hitting for long press also, how to avoid this } else { // Long key press } // Always consume CALL to be sure the PhoneWindow won't do // anything with it return true; } } return super.onKeyDown(keyCode, event); } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
I think that the crash reporting SDK has been discussed previously in this thread. I remember Flurry being mentioned, as well as a few others. On Mar 23, 7:54 am, David Horn pga...@gmail.com wrote: I've always been surprised that when a Market app is uninstalled, the user isn't shown a screen asking them very briefly why they uninstalled it. For example: (o) Application crashed (o) Not compatible (o) Not as advertised (o) Didn't like it (o) Too slow (o) Other (o) Prefer not to say If they pick something like Application Crashed, then they could possibly be shown a second screen asking if they would be happy for the developer to contact them and troubleshoot the problem. I've contacted a few people who have had problems and given them a free copy in exchange for their help in identifying the issue. I'm also considering writing an SDK to reports back to developers when the app crashes. Dave. On Mar 23, 1:11 pm, TreKing treking...@gmail.com wrote: On Mon, Mar 22, 2010 at 4:10 PM, Greg Donald gdon...@gmail.com wrote: Users are not developers and do not want upgrades, ever. They want fully functional, bug free, 1.0 releases only. Really? I think quite the opposite actually. Seems to me most users see buying apps as an investment and expect consistent updates. It could always be better, right? Bug-free, of course, but not never improved or updated ever again. And if you do make a bug release, you had better list some obvious new features or you will get accused of spamming the Marketplace. Well if you drop 100 apps into the Market at once, or if you fix bugs 4 times a day, probably. But if you fix a major bug and make it clear that that was point of the update, I don't think you'd see any backlash. In a nutshell, Marketplace users are whiny bitches and there's not much you can do about it. Yes =) On Tue, Mar 23, 2010 at 2:22 AM, dgoemans dgoem...@gmail.com wrote: The biggest thing that still gets to me, is the users who refund a $1 donate version of something when the free version is also in the market. Why not just install the free version if you're too cheap to pay $1, at least my ratings will stay up. Note that a lot of people that refund don't do it because they're cheap - they do it because the goddamn POS known as the Android Market app often doesn't authorize their purchase or complete their downloads. So people cancel and try again or give up completely. I have quite a few entries in Google Checkout with the same user buying, refunding, then buying again minutes later. One guy emailed me with the problem after trying 3 times. How he managed to refund twice is beyond me ... ----- TreKing - Chicago transit tracking app for Android-powered deviceshttp://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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Being legally harassed, by a large iPhone developer
It's a simple line drawing game, of which there are now several variations on a similar theme. If this this kind of game is as ubiquitous as you say, just find a game (web, flash, iphone, nokia, java, really any platform) that uses the same kind of gameplay, alerts and all and which is not theirs and older than their release. Then just point that game out to them. Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
Warren wrote: I just want to get Google's take. You're not likely to get Google's take on this list. The Googlers on this list are engineers and are not in position to provide legal or business advice. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Online Training: 26-30 April 2010: http://onlc.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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Display Process IDs
Yes, see the PackageManager component, getInstalledPackages method. Regards Marek On Mar 23, 11:42 am, perumal316 perumal...@gmail.com wrote: Hi, I want to create an application with a user interface displaying all the installed applications name, and user can choose an application from there. Is it possible to display the names of all the installed applications? Thanks In Advance, Perumal On Mar 23, 6:35 pm, Jaya Hoondlani jaya.hoondl...@gmail.com wrote: Do you need anything like file browser? If that is the case you can specify a particular directory like data or sdcard and get it contents.. Let me know. Jaya Diaspark,Inc.(www.diaspark.com) On Mar 23, 3:22 pm, perumal316 perumal...@gmail.com wrote: Hi, Is it possible to list down the names of all the apps that have been installed ? So that I can list down all the names of the apps and not only the PIDs. Thanks In Advance, Perumal On Mar 23, 5:45 pm, perumal316 perumal...@gmail.com wrote: Hi Jaya, Thanks for the help. Managed to get it work. Thanks and Regards, Perumal On Mar 23, 5:32 pm, Jaya Hoondlani jaya.hoondl...@gmail.com wrote: Hi Perumal, You can do this to display all the PID's for running application Context context = getApplicationContext(); Resources appR = context.getResources(); ActivityManager actmgr=(ActivityManager)context.getSystemService (Context.ACTIVITY_SERVICE); ListRunningAppProcessInfo appList = actmgr.getRunningAppProcesses(); CharSequence[] items = new CharSequence[appList.size()]; Vector ProcessallProcesses = new Vector Process(); for (int i=0;iappList.size();i++) { RunningAppProcessInfo rti = (RunningAppProcessInfo)appList.get(i); Log.v( , PID+rti.pid+Process Name+rti.processName ); } Thanks Jaya Diaspark,Inc.(www.diaspark.com) On Mar 23, 2:21 pm, perumal316 perumal...@gmail.com wrote: Hi All, Is there any way to display all the process IDs to a user? I think to display the current ID can use the following code: int myProcessID = Process.myPid(); But how do I display all process IDs? Thanks In Advance, Perumal- 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 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.
[android-developers] Deleting An Application with ContentProvider Other Applications not working
Hi all I have a problem to uninstalling the product in android. I have used *ContentProvider* to share data in multiple applications. I used in Android Manifest file *provider android:name=Provider android:authorities=com.sky.android.project.projectname/ * and uri in Provider Class file Uri uri = com.sky.android.project.projectname/data It is working fine to Insert, delete and update in the application. In other application I have used the Uri allTitles = Uri.parse(com.sky.android.project.projectname/data); to fetch the data. It is working fine. But when i uninstall one of the application other applications using same Uri(com.sky.android.project.projectname/data) are not working. I got the Error message while loading the applications are: * java.lang.RuntimeException: Cannot determine device identification * I have also tried this with shared user ID but it also not working. Let me know how to overcome with these situation, Or any other way to share the data. Regards, Rajiv -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: GPS Queueing in LocationListener
Rough, yeah. I'll have to look into the best way to throw out inaccurate values. Otherwise the application tends to look a bit ugly (inertial navigation). For instance, if I walk by a window while my application is estimating movements on its own and happens to get a gps signal for a moment or two, then all of a sudden I get one or two inaccurate dots come on the screen and my estimated movement for where the droid is will start at that new GPS location. At first I thought perhaps I would throw away a couple of initial values, but it doesn't seem as though there is a consistent number of bad results before receiving a good one. I'll see if there is a way to wait for a fine grained result related to triggering the onLocationChanged segment. Perhaps I can even put up a range zone around my estimated value, and as long as its close I can throw away any GPS that fall outside that range. That's my current thoughts. Thanks for the input Mike. ~ JFrog Debugging something is twice as hard as coding it up the first time. Therefore, if we code something up as cleverly as possible, we are by definition not smart enough to debug it -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: File operation in Android
Mark: How do I setup a SDCard Image on Emulator? AuxOne: I tried Environment.getExternalStorageDirectory() also , but no luck. I appreciate for your time guys.. Regards, -DK On Mar 18, 10:33 am, Mark Murphy mmur...@commonsware.com wrote: dillipk wrote: I tried the same. Along with that I also set the WRITE_EXTERNAL_STORAGE permission, it(file.mkdir()) still returns false. Am I missing something? You might be missing an SD card. If you are using the emulator, and you did not set up an SD card image, you won't have a (virtual) card to write to. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.0 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Being legally harassed, by a large iPhone developer
On Mar 22, 9:02 pm, Kevin Duffey andjar...@gmail.com wrote: I don't know that I would take a couple of emails from the CEO as something to worry about just yet Concur, good advise. Consider that in this industry, plenty of people who give themselves C level type titles still live in the basement at their parent's house, munching on Tostitos. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Application Crashing OutOfMemory .Restructuring Help Needed
Yo again, A few clarifying comments to Yahel: Yahel wrote: There is no way anyone is going to actually browse more than a few hundred item in a list. Ever !! I guess it depends what the items are, but in my particular tree 95% of the lists are quite short and being sortabel should help a lot to get the particular PART of the list you are after. Jim is right : Search Pagination. In my case, that was already there. A nice side effect is that it is now easy to get a list of other products in the same category. If your users are dumb enough to asks the full list and you are actually going to do it, then implements a list like the android market and fetch a 100 items at a time. Done done. (T-50 days) I'm pretty sure if you use Flurry to check what your users are doing. You'll find only one or two users sliding below 200 items. No need for FlurryCO - it is trivial to see in the web service log. And a user that asks you to get 30 000 items, is probably a competitor that just wants to steal your database through your webservice anyway :D Nah, 3 was just the extreme case. The data is freely available anyway and it is continously updated, so stealing it is hardly an issue. The point of my app is to make is easily accessible on the phone (well, along with using GPS and barcode scanning etc to make it even more powerful). Best / Jonas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
He doesn't want legal or business advice. He wants a clarification of Google's policy regarding the implementation of a specific feature. That is not an unreasonable request, and if this is not the venue in which to ask for such a clarification, then how exactly are developers supposed to go about getting such clarification? Just implementing a feature and seeing what happens is a risky and less-than-ideal course of action. On Mar 23, 9:07 am, Mark Murphy mmur...@commonsware.com wrote: Warren wrote: I just want to get Google's take. You're not likely to get Google's take on this list. The Googlers on this list are engineers and are not in position to provide legal or business advice. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Online Training: 26-30 April 2010:http://onlc.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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers
On Tue, Mar 23, 2010 at 8:54 AM, David Horn pga...@gmail.com wrote: I've always been surprised that when a Market app is uninstalled, the user isn't shown a screen asking them very briefly why they uninstalled it. For example: They are ... * I don't use it or want it * I need more space on my phone * It's defective * It's malicious * I'd rather not say Of course, only Google know what actually happens with this information, as developers are never provided with these details. I'm also considering writing an SDK to reports back to developers when the app crashes. There are plenty of options to do this already, like Flurry as g1bb mentioned. - 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
It comes up all the time, and every time it comes back to no, they specifically said not to do that. At first glance, section 3.3: All fees received by Developers for Products distributed via the Market must be processed by the Market’s Payment Processor. All fees. (And unless you have a weird contract with google checkout, your standard account is unlikely to do that 70/30 split, pay the carriers, etc - so its not the -market- payment processor.) On Tue, Mar 23, 2010 at 9:50 AM, Warren warrenba...@gmail.com wrote: Disconnect, I don't think the market agreement is clear on this. It is clear that if you charge for apps, the payment has to go through the Market processor. I'm talking about something different. In this scenario, the app doesn't change and all functionality is still available to all users. However, users can purchase virtual goods for use in the game (which may also be attainable without purchase). The reason I am asking is not to skirt the rules without being caught. Just the opposite, I'm seeking clarification up front to avoid misunderstanding. That is why I'm looking for Google's input on how to proceed. This has got to be a very common issue. And clearing this up would help a lot of developers. I believe that selling virtual goods that can be used in an online game app does not violate the agreement. I just want to get Google's take. On Mar 23, 8:37 am, Disconnect dc.disconn...@gmail.com wrote: Too bad for you that the market agreement is -very- clear about it and you've just publicly admitted any violation is willful and intentional. ISTR the agreement says they can pull every dime you made from market if you do that sort of thing... Good luck though. On Tue, Mar 23, 2010 at 9:25 AM, Yahel kaye...@gmail.com wrote: Hi, I'm actually very interested as well. I think if the Android Team doesn't answer it's just that it's not an issue for them. And as we say in France Qui ne dit mot, consent :D I'm going to implement an in-app purchase in my next game. I'm going to try to make it use Google checkout, this way if this is infringing enough to get a cease an desist letter, at least, I will always be able to claim they made money too ;D I'll publish my cease and desist letter here if I get one :D Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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.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 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.
[android-developers] Re: Being legally harassed, by a large iPhone developer
On Mar 23, 12:33 am, ko5tik kpriblo...@yahoo.com wrote: Even if the claims are non enforceable, your adversary can pull you to court (civil) with really high lawsuit value - and with lawyers (and courts) charges based on that value you may be unable to defend yourself. regards, Not a legal adviser here either - looks more like small claims court to me? Or is it known that anyone has ever gotten it the hard way over a few thousand sales at $99c a pop? Hardly the material that a court (or lawyers) could get terribly crazy about. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
He is asking for someone to interpret a contract - that is legal advice. Just like what router would you buy is technical advice - would you ask a random lawyer that question? On Tue, Mar 23, 2010 at 10:36 AM, polyclefsoftware dja...@gmail.com wrote: He doesn't want legal or business advice. He wants a clarification of Google's policy regarding the implementation of a specific feature. That is not an unreasonable request, and if this is not the venue in which to ask for such a clarification, then how exactly are developers supposed to go about getting such clarification? Just implementing a feature and seeing what happens is a risky and less-than-ideal course of action. On Mar 23, 9:07 am, Mark Murphy mmur...@commonsware.com wrote: Warren wrote: I just want to get Google's take. You're not likely to get Google's take on this list. The Googlers on this list are engineers and are not in position to provide legal or business advice. -- Mark Murphy (a Commons Guy)http://commonsware.com| http://twitter.com/commonsguy Android Online Training: 26-30 April 2010:http://onlc.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.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 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.
Re: [android-developers] Re: Being legally harassed, by a large iPhone developer
Here's an idiots guide to copyright from the US copyright office: http://www.copyright.gov/circs/circ1.pdf Great info on their general site as well: http://www.copyright.gov Brief synopsis from the PDF (please read the whole thing to interpret your own way): Who Can Claim Copyright? Copyright protection subsists from the time the work is cre ated in fixed form. The copyright in the work of authorship immediately becomes the property of the author who cre ated the work. Only the author or those deriving their rights through the author can rightfully claim copyright. So basically, filing a copyright claim with the US copyright office is basically a formality in my un-copyright-educated opinion. It's a good thing to do in order to cover your ass though. I've been thinking about doing this with all of my apps just as a formality if I think anything will come of them. Justin On Tue, Mar 23, 2010 at 8:34 AM, JP joachim.pfeif...@gmail.com wrote: On Mar 22, 9:02 pm, Kevin Duffey andjar...@gmail.com wrote: I don't know that I would take a couple of emails from the CEO as something to worry about just yet Concur, good advise. Consider that in this industry, plenty of people who give themselves C level type titles still live in the basement at their parent's house, munching on Tostitos. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 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.
[android-developers] Multitouch support in various device?
Hi, Can anyone tell me ,how we can find whether Multitouch support is available or not in various device? I tried like this try { FeatureInfo[] info =_main.getPackageManager().getSystemAvailableFeatures(); for (int i = 0; i info.length; i++) { System.out.println(Info +info[i]); if(info[i].equals(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH)){ manufacturer =true; Log.e(appVersion, ---+manufacturer); return manufacturer; } } Its working fine for Droid and nexus,But for 1.5 version it is throwing 03-23 20:06:41.170: ERROR/AndroidRuntime(2777): java.lang.VerifyError: Please tell me how we can solve this.I read in Forum that we can use Java Reflection.Can anyone tell me how we can use that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en 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.
Re: [android-developers] Re: GPS Queueing in LocationListener
On 03/23/2010 07:23 AM, JFrog wrote: Rough, yeah. I'll have to look into the best way to throw out inaccurate values. Otherwise the application tends to look a bit ugly (inertial navigation). For instance, if I walk by a window while my application is estimating movements on its own and happens to get a gps signal for a moment or two, then all of a sudden I get one or two inaccurate dots come on the screen and my estimated movement for where the droid is will start at that new GPS location. I don't know what your app is, but for mine (tracking skiing/riding, etc) I just filter out points with horizontal accuracy 100m. This works just fine for me because I'm interested in the overall dataset, but I'm not terribly real time sensitive. But I also do some post-processing to deal with outliers like looking for silly velocities and accelerations. I had looked into smoothing the data with Kalman filtering, but it turned out that it wasn't necessary even though it would probably do a pretty good job. At first I thought perhaps I would throw away a couple of initial values, but it doesn't seem as though there is a consistent number of bad results before receiving a good one. I'll see if there is a way to wait for a fine grained result related to triggering the onLocationChanged segment. Perhaps I can even put up a range zone around my estimated value, and as long as its close I can throw away any GPS that fall outside that range. That's my current thoughts. The hdop and vdop are your friends :) Google them as it's the GPS measures that eventually get translated into meter-based accuracy. The bad results are based on the satellite constellation at the time, where the GPS signal processing state is, and of course noise like multipath, etc. In normal terrestrial environs it's just a fact of life that the accuracy is going to better at some times than others. Adjust accordingly. Mike Thanks for the input Mike. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Being legally harassed, by a large iPhone developer
Again, I'm no legal advisor, but doing a quick search on the US Copyrights (via the sites I mentioned earlier), I found nothing pertaining to Flight Control as a game. Just a FYI. Do your own research though. On Tue, Mar 23, 2010 at 8:42 AM, Justin Giles jtgi...@gmail.com wrote: Here's an idiots guide to copyright from the US copyright office: http://www.copyright.gov/circs/circ1.pdf Great info on their general site as well: http://www.copyright.gov Brief synopsis from the PDF (please read the whole thing to interpret your own way): Who Can Claim Copyright? Copyright protection subsists from the time the work is cre ated in fixed form. The copyright in the work of authorship immediately becomes the property of the author who cre ated the work. Only the author or those deriving their rights through the author can rightfully claim copyright. So basically, filing a copyright claim with the US copyright office is basically a formality in my un-copyright-educated opinion. It's a good thing to do in order to cover your ass though. I've been thinking about doing this with all of my apps just as a formality if I think anything will come of them. Justin On Tue, Mar 23, 2010 at 8:34 AM, JP joachim.pfeif...@gmail.com wrote: On Mar 22, 9:02 pm, Kevin Duffey andjar...@gmail.com wrote: I don't know that I would take a couple of emails from the CEO as something to worry about just yet Concur, good advise. Consider that in this industry, plenty of people who give themselves C level type titles still live in the basement at their parent's house, munching on Tostitos. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 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.
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
polyclefsoftware wrote: He doesn't want legal or business advice. He wants a clarification of Google's policy regarding the implementation of a specific feature. That is legal or business advice compared to technical QA, which is the purpose of this list and the role of the Googlers on it. That is not an unreasonable request, and if this is not the venue in which to ask for such a clarification, then how exactly are developers supposed to go about getting such clarification? The only people in position to answer that sort of policy question will be the executives in charge of Android. Hence, either you have the personal connections to ask the question of an executive at a multi-billion-dollar firm, or you don't. If you do, use them. If you don't, you either live without the answer or you find some way to get those connections (e.g., form a cooperative with a thousand other leading Android developers and get negotiating clout that way). The most you will get from asking the question here is that a Googler *may* mention to an executive that people are asking this sort of question. This *may* trigger some sort of blog post or similar announcement on the topic *eventually*. However, that will not be quick, and I don't get the impression that the OP was expecting that sort of delay. You're not going to get a conversational response on questions like that here the way you might get a response regarding questions on garbage collection. Just implementing a feature and seeing what happens is a risky and less-than-ideal course of action. Indubitably. And I'm not dismissing the question, or the interest in in-app payments. Asking the question here, though, is akin to asking a Toyota automotive engineer how their firm intends to respond to the various lawsuits and government inquiries surrounding the recent spate of security defects in their cars. That's not the engineer's area of expertise or authority. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: 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.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.
Re: [android-developers] Re: Being legally harassed, by a large iPhone developer
On 03/23/2010 07:06 AM, Yahel wrote: It's a simple line drawing game, of which there are now several variations on a similar theme. If this this kind of game is as ubiquitous as you say, just find a game (web, flash, iphone, nokia, java, really any platform) that uses the same kind of gameplay, alerts and all and which is not theirs and older than their release. Then just point that game out to them. This sounds like a bad idea -- all you're likely to be doing is feeding the troll. Seriously, the right thing to do here is ask for advise from an expert. The advise you get here is likely to be as useful as going to a lawyer and asking him about the Android SDK. Mike -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Being legally harassed, by a large iPhone developer
Seriously, the right thing to do here is ask for advise from an expert. The advise you get here is likely to be as useful as going to a lawyer and asking him about the Android SDK. Very valid and probably the best piece of advice so far! :) But, it is still nice to get other points of view and pointers to resources before you head into the belly of the beast. You can never have too much information IMHO. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Multitouch support in various device?
I believe you can safely assume that devices prior to Android 2.x do not support multitouch. So I'd catch the exception and conclude there's no multitouch. On Mar 23, 7:43 am, Archana archana.14n...@gmail.com wrote: Hi, Can anyone tell me ,how we can find whether Multitouch support is available or not in various device? I tried like this try { FeatureInfo[] info =_main.getPackageManager().getSystemAvailableFeatures(); for (int i = 0; i info.length; i++) { System.out.println(Info +info[i]); if(info[i].equals(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH)){ manufacturer =true; Log.e(appVersion, ---+manufacturer); return manufacturer; } } Its working fine for Droid and nexus,But for 1.5 version it is throwing 03-23 20:06:41.170: ERROR/AndroidRuntime(2777): java.lang.VerifyError: Please tell me how we can solve this.I read in Forum that we can use Java Reflection.Can anyone tell me how we can use that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en 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.
[android-developers] Re: Application Crashing OutOfMemory .Restructuring Help Needed
Hey Jonathan, A few clarifying comments to Yahel Sorry, my answer was not really meant at you directly, more to the original poster :) Your app seems successful and to work the way you want so I wouldn't dare tell I can do best :D I guess it depends what the items are, but in my particular tree 95% of the lists are quite short and being sortabel should help a lot to get the particular PART of the list you are after. Still, even if it was a single letter or numbers, 1 000 entries is just too much on a 3.2'' screen and for the resources of a mobile device. I strongly believe developers are here to take decisions on behalf of their users. If your users can try to call for 30 000 entries and generate a OOM then you are not doing your job. And since I'm mean and everything I'm going to the market right now to download your app and asks for the 30 000 items and then post a your app sucks/One star rating :D I'm just kidding I wouldn't do that :D No need for FlurryCO - it is trivial to see in the web service log. And so what is the result ? How many of your users scroll down the 500 item mark ? What is your app by the way ? Yahel On Mar 23, 3:34 pm, Jonas Petersson jonas.peters...@xms.se wrote: Yo again, A few clarifying comments to Yahel: Yahel wrote: There is no way anyone is going to actually browse more than a few hundred item in a list. Ever !! I guess it depends what the items are, but in my particular tree 95% of the lists are quite short and being sortabel should help a lot to get the particular PART of the list you are after. Jim is right : Search Pagination. In my case, that was already there. A nice side effect is that it is now easy to get a list of other products in the same category. If your users are dumb enough to asks the full list and you are actually going to do it, then implements a list like the android market and fetch a 100 items at a time. Done done. (T-50 days) I'm pretty sure if you use Flurry to check what your users are doing. You'll find only one or two users sliding below 200 items. No need for FlurryCO - it is trivial to see in the web service log. And a user that asks you to get 30 000 items, is probably a competitor that just wants to steal your database through your webservice anyway :D Nah, 3 was just the extreme case. The data is freely available anyway and it is continously updated, so stealing it is hardly an issue. The point of my app is to make is easily accessible on the phone (well, along with using GPS and barcode scanning etc to make it even more powerful). Best / Jonas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Multitouch support in various device?
Let me refine this - no support for multitouch meaning that can be exploited in a meaningful way. There's been demos with modded ROMs but on an app level it doesn't seem to make sense to try to chase after that in anything prior to Android 2.x On Mar 23, 8:02 am, JP joachim.pfeif...@gmail.com wrote: I believe you can safely assume that devices prior to Android 2.x do not support multitouch. So I'd catch the exception and conclude there's no multitouch. On Mar 23, 7:43 am, Archana archana.14n...@gmail.com wrote: Hi, Can anyone tell me ,how we can find whether Multitouch support is available or not in various device? I tried like this try { FeatureInfo[] info =_main.getPackageManager().getSystemAvailableFeatures(); for (int i = 0; i info.length; i++) { System.out.println(Info +info[i]); if(info[i].equals(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH)){ manufacturer =true; Log.e(appVersion, ---+manufacturer); return manufacturer; } } Its working fine for Droid and nexus,But for 1.5 version it is throwing 03-23 20:06:41.170: ERROR/AndroidRuntime(2777): java.lang.VerifyError: Please tell me how we can solve this.I read in Forum that we can use Java Reflection.Can anyone tell me how we can use that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en 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.
Re: [android-developers] Re: Being legally harassed, by a large iPhone developer
On 03/23/2010 07:53 AM, Justin Giles wrote: Seriously, the right thing to do here is ask for advise from an expert. The advise you get here is likely to be as useful as going to a lawyer and asking him about the Android SDK. Very valid and probably the best piece of advice so far! :) But, it is still nice to get other points of view and pointers to resources before you head into the belly of the beast. You can never have too much information IMHO. As with many things, it's quality not quantity :) Seriously, over the years what I've found is that what most of us know about the law is skin deep. What this guy is going through is quite probably complete bs, but that doesn't matter if he doesn't know how to defend himself. Mike -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Google Checkout Finally Arrives in Canada?
Canadian developers still can not sell apps though. On Mar 20, 11:29 pm, Andrei gml...@gmail.com wrote: I can conform several people bought app from Ontario On Mar 17, 12:10 am, Agus agus.sant...@gmail.com wrote: Based on todays' news Canadians can buy paid apps from the Market. Can anyone (from Google) confirm if Google Checkout finally work for Canadian users? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
Hence, either you have the personal connections to ask the question of an executive at a multi-billion-dollar firm, or you don't. If you do, use them. If you don't, you either live without the answer or you find some way to get those connections (e.g., form a cooperative with a thousand other leading Android developers and get negotiating clout that way). Wow Mark, I really hope for Android that google doesn't think like that at all. You live without the answer or you make the connections ?? Ideally, no questions should be unanswered to us. As developpers we are the end users of the framework and some of us wants to make it thrive so that maybe we can make a living off the platform. Everyone here wants to use the Android Platform to its fullest and create wonderful and entertaining pieces of software. So if some piece of legal document is not clear (as they usually are), then it's obvious we should be able to ask for clarifications and to asks for Google Take on it. Nobody needs any lawyers advice or loophole finding. I can think of at least one way to say that in-app purchases are allowed but my advice or any lawyers advice is subjective and worth nothing. Only Google knows what it wanted to say and how to interpret it's rules. So it really is Google job to tell developers if we can or if we can't. Where is the FAQ ? Again the name of the group is not Android-Coding, but Android- Developer. If as a developer I need to know if I can or can't do that, this where I will come to get the answer. Be it, legal, Ad-oriented, Marketing, or yes coding. So if a Coding Googler could forward this thread to an executive or to the legal department and let us know. That would be awsome. Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
Disconnect wrote: At first glance, section 3.3: All fees received by Developers for Products distributed via the Market must be processed by the Market’s Payment Processor. All fees. (And unless you have a weird contract with google checkout, your standard account is unlikely to do that 70/30 split, pay the carriers, etc - so its not the -market- payment processor.) So all those fees I and other developers receive for in-app ads from various providers are in violation of the Market Agreement? Free, ad-supported apps are *products distributed via the Market*. And all fees from ads do not flow through Google Checkout. You saying all apps with ads need to be yanked? Mark Murphy wrote: That is legal or business advice compared to technical QA, which is the purpose of this list and the role of the Googlers on it. The very fact that he has to resort to asking here should demonstrate the need for a business contact to handle non-technical issues related to the development and distribution of apps via the Android Market. I have a contact I work with at Google on the AdSense team that I can ask about questions related to whether or not specific implementations are acceptable or whether they violate terms of service. I guess I don't much understand the response of Go find yourself a lawyer to answer this. This is a question directed at Google, i.e., Is it okay if I implement X? Mark Murphy wrote: Hence, either you have the personal connections to ask the question of an executive at a multi-billion-dollar firm, or you don't. Why exactly would this question need to be handled at the executive level? Mark Murphy wrote: Asking the question here, though, is akin to asking a Toyota automotive engineer how their firm intends to respond to the various lawsuits and government inquiries surrounding the recent spate of security defects in their cars. That's not the engineer's area of expertise or authority. No, a better analogy would be if he wanted to know if added a spoiler to his Toyota voided his warranty and the warranty was completely ambiguous as to whether or not that would be the case. Would you contact a rep at Toyota (e.g. a local dealer), or hire a lawyer to try to interpret your warranty? If we *had* a contact address or venue in which to ask these sorts of questions (I'm assuming Android Discuss would be no more appropriate), then the question would be moot. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] UI OS build string
Hello and goo d morning. For HTC Sense Moto Blur, SE, etc where would the UI brand name appear in the build strings..ie would that be model or what? 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 from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.