[android-developers] How to create moving objects on screen that are clickable.
I have an app Ive been working on where I have moving onscreen objects that are drawn and updated each frame to a canvas which is then drawn to a view. The objects are kept in in a listArray and when a user clicks on the screen its registered in the view and then passed through to the class I use as my background loop that keeps track of everything that needs to be drawn onscreen. I have a method in that data class that parses through all the objects and compares the x,y coordinates to those of the onscreen click and sometimes this works and sometimes it doesnt. Right now I limit the amount of objects in memory to about 80 and sometimes its possible that up to 30 or more are onscreen at once. I also have a method that goes through the objects in memory and changes a boolean value which tells the data class whether or not the objects should be considered active or clickable. My problems: As for the method that checks if the objects are clickable, for some reason most of the objects are always set to active when in the logcat the numbers indicate that they should not be. Also the way that I am trying to register screen clicks is not reliable. Sometimes its accurate and sometimes its not and sometimes it doesnt work at all. When I debug and watch the x,y's they all match up and the object is marked as active which means it my data class should handle a click associated with that object but it only lines up half the time. So.I was wondering how I could go about creating a class that possibly extended or implemented the functionality of a button or view so that it can individually handle clicks and have its graphical representation drawn into a view. I have tried this by extending ImageButton however When I tried drawing the images to the canvas and then updated it in each frame the objects would no longer move freely and were all drawn in the upper right hand corner of the screen. That tells me that somewhere between my data class and the view that I had some disconnect and misunderstanding in the way to go about handling this. So has anyone ever handled something like this? My project is already complex enough and I dont want to go about using some game engine or somthing just to accomplish one portion of my app. Everything else works great except the way I am handling screen clicks to the objects. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Unable to open database file?
Are you trying to pull data out of the users phone that your app stored in the sql db? If so maybe those particular devices that give that error dont allow access to that file possibly. On Feb 2, 5:08 pm, Zsolt Vasvari zvasv...@gmail.com wrote: Hi, I am using ACRA and get an average of one report of this kind a day: android.database.sqlite.SQLiteException: unable to open database file at android.database.sqlite.SQLiteDatabase.dbopen(Native Method) at android.database.sqlite.SQLiteDatabase.init(SQLiteDatabase.java:1956) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:902 ) This is a one time error, if the user tries again, it works. It seems to come from all kinds of users on all kinds of devices on different SDK levels. I open my database once and I store the connection in a static object. I suspect a bug in my code somehow, but I am at a loss. Anybody with any ideas, or seen this error happen? 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
Re: [android-developers] Re: PDF File Creation using Android
Thnks i gave me the good link,? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: PDF File Creation using Android
On Fri, Feb 3, 2012 at 3:08 PM, johny basha visitba...@gmail.com wrote: Thnks U gave me the good link,? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] removing application
Hello all, is there a way to Cancel the uninstall option? Thank you -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Unable to open database file?
There is fantastic new tool, you may have heard of it? It's called Google. It lets you find things on the Internet. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: NFC Secure Element
Hi All, Recently I have tried with another Card reader , I got this message. MIFARE 4K card on reader ATR : 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 02 00 00 00 00 69 00 02 -- Shows the *Mifare *4K Earlier with another Card I was getting -- *3B 8A 80 01 00 31 C1 73 C8 40 00 00 90 00 90* and I read in this group that it is for emulated Card Smart MX. I wanted to know (1) Can the two Card readers produce different ATR for the same card?If yes , Why so? (2) Can I get the notification or any type of logs when the read /write transaction is happening.or do I have to put the LOG messages , preferably in the NFC framework files. (3) Is it possible to READ(not Write ) the SE element(i.e Mifare 4k ) memory Area using the APDU(I think this is same as what others have mentioned in this group) Rgds, Saurabh ..pain is temporary.quitting lasts forever.. On Fri, Feb 3, 2012 at 5:04 AM, mickae1 mickamus...@gmail.com wrote: theoritacally is it possible to change the chip with one that we know the key ? Will it be difficult to access to the chip ? On Feb 2, 7:19 am, Fernando Miguélez fernando.migue...@gmail.com wrote: Keys are used in raw communication through APDUs On Wed, Feb 1, 2012 at 7:46 PM, malls masubha...@gmail.com wrote: I don't see any interface of passing the keys to open secure element in the android code. I am not sure how many people claims that you need google Keys to open SecureElement. May be I am missing something. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Header button above tabs not able to manage the activity under the tabs
Hello, I have a header under which der are 5 tabs. The header contains a refresh button. ON click of the button the particular activity which is open under the currently opened tab should refresh. The header is common for all tabs. -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Header button above tabs not able to manage the activity under the tabs
vani reddy wrote: Hello, I have a header under which der are 5 tabs. The header contains a refresh button. ON click of the button the particular activity which is open under the currently opened tab should refresh. The header is common for all tabs. -- Regards, Vani Reddy and? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Header button above tabs not able to manage the activity under the tabs
I have inflated the refresh button and made it static in the tabactivity, When i click on it the particular activity which is open under the tab should refresh i.e call a thread ,but wen i click on it when the firstactivity is open, the second actiivity thread is called. On Fri, Feb 3, 2012 at 3:59 PM, skink psk...@gmail.com wrote: vani reddy wrote: Hello, I have a header under which der are 5 tabs. The header contains a refresh button. ON click of the button the particular activity which is open under the currently opened tab should refresh. The header is common for all tabs. -- Regards, Vani Reddy and? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re : Retrieving data from database
Hi members, I m developing a application by entering some data and sending it to native xml database using executeHttpPost method by passing parameters and it is working fine.What my point is i have to retrieve data from xml database and has to show it as prefilled data in the input part.Is it possible ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Home screed Widget crash
Thank you guys. I fixed it without using the alarm manager :) . What i was doing wrong is that i was creating bitmaps and sending them off to be displayed on the remote widget, thinking that it's memory would be reclaimed when the next image takes its place. Apparently, this wasn't happening. So i limited the scope of creation of the remoteViews to the function in which the widget was updated each time, downloaded images within the same scope and it works like a charm :) no memory issues now. On Thu, Feb 2, 2012 at 8:49 AM, David Ross grand...@vacuumpunk.com wrote: I would suggest using AlarmManager for your repeating 15s update. Handle the Intent in a private BroadcastReceiver inside your AppWidgetProvider. Forget the Service as the scheduling mechanism but use it for the download of the next image from within your BroadcastReceiver. In BroadcastReceiver also (re)set the next alarm in AlarmManager to give the forever 15s repeat. Services can be killed basically at any time unless they are bound to a Notification but who wants a Notification if the Widget is on the screen already? Check your log, you might find the system is killing the Service. Then, handle Screen On/Off Intents so you only do your downloads when the screen is on. On Feb 1, 5:27 am, String sterling.ud...@googlemail.com wrote: The failed binder transaction issue basically happens whenever you send data too fast to an AppWidget, where too fast is loosely defined. You can definitely cause it by sending 1MB at once, but you can also get it by sending much smaller quantities at too fast a rate. Which is what it sounds like you're doing. Your best solution is probably to create a content provider and have your widget access that directly for the images, which will avoid the RemoteViews (and thus the binder which is causing the problem). A Google search for *image content provider* should get you started. Having said all that, updating an AppWidget with an image every 15 seconds sounds like a recipe for battery drain. You might want to test that hypothesis, see how bad the power drain is before you go to the trouble of re-implementing the image delivery mechanism. You may need to rethink your concept at a deeper level instead. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Header button above tabs not able to manage the activity under the tabs
vani reddy wrote: I have inflated the refresh button and made it static in the tabactivity, When i click on it the particular activity which is open under the tab should refresh i.e call a thread ,but wen i click on it when the firstactivity is open, the second actiivity thread is called. still don't know what you mean - if you have TabHost instance and call getCurrentTab() you will get the index of the current tab and depending on that index you can do whatever you want, so again what's the problem? pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re : eclipse crash
Hi members, i am using eclipse-java-indigo-SR1(32-bit ubuntu 10.04) for android projects development.If i build some application and run it as android application it works fine,but if i make some changes to my class files and again running it as android application the eclipse building project and stops at 27%. And it is working fine when I have to complete stop eclipse and start again.what may be the problem ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] App activation by Voice
I expect the answer to the first question is no, unless you have another program already running. For the second I expect the market application has something running in the background that will periodically check for updates On Feb 2, 2012 10:12 PM, Dhaval Varia dhavalkva...@gmail.com wrote: I am having two questoons 1 . Is there any way to call my application by voice? 2. How to update my software,which is already there on market? Actually i wanted to understand,how the software update taking place? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] It is possible to embed a MapActivity into another Activity without using Fragments?
Hi It is possible to embed a MapActivity into another Activity without using Fragments??? How can i achieve it? 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
Re: [android-developers] Re: Header button above tabs not able to manage the activity under the tabs
vani reddy wrote: HI PFA the snapshot. When i click on the above red color refresh image and the wall tab is open. Need to refresh that activity. When i switch to other tab say friends and click on refresh image it shud refersh that particular activity i.e call a method in that activity. How to acheive this.?? I already answered your question: call getCurrentTab and refresh you current tab - whatever it means pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: It is possible to embed a MapActivity into another Activity without using Fragments?
saex wrote: Hi It is possible to embed a MapActivity into another Activity without using Fragments??? How can i achieve it? Thanks google activitygroup pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] texture drawing on android OpenGL
I’ve been working on openGl in android. I want to render multiple textures(bitmaps) on GLSurfaceViews and facing some problems. We are stuck up in positioning the textures on the surface view based on the vertices. We need to draw several textures and then handle drawing of each texture individually on the surfaceview. I want to display a guage on the surfaceview as an image and then draw a progress moving on that image depending upon the values received. I want multiple progress bar in such a way on single surfaceview. I am not able to draw multiple textures on the surfaceview at different positions. I have tried to add multiple textures on the view but they all got loaded on the same position on top of the previous texture. As a result i can see only one image. In case you have worked on this type of problem statement, please revert. Any help in this regard will be highly appreciated. -Rikki -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Newly installed widgets are not runnable on Honeycomb
On Thu, Feb 2, 2012 at 8:53 PM, David Ross grand...@vacuumpunk.com wrote: The Activity WidgetDummyConfiguration is called when the APK has been downloaded from the market and run. I sure hope not. Nothing is supposed to run in an APK file when it has been downloaded from the market and run. Certainly not the MAIN/LAUNCHER activity. You are welcome to provide source code to a sample project that demonstrates this effect. I guess what you mean is that the system must first run the invisible do-nothing activity of .WidgetDummyInstall in order for the manifest contents to be registered with the system which then means the Widget will be entered into the list of available Widgets? No, I mean that the user must tap on your WidgetDummyConfiguration icon in the launcher so that the Widget will be entered into the list of available Widgets. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.4 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
Re: [android-developers] removing application
No. On Fri, Feb 3, 2012 at 4:43 AM, אריאל arielgordon...@gmail.com wrote: Hello all, is there a way to Cancel the uninstall option? Thank you -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.4 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
Re: [android-developers] Re : eclipse crash
Are you running an AVD on 2.2? There is a weird problem with eclipse and that version of the emulator. See issue 24926 http://code.google.com/p/android/issues/detail?id=24926 Try this: 1. In Window - Preferences - Android - logcat, turn off the option to automatically show logcat if there is a warning/error from an app in workspace. On 2/3/2012 6:45 AM, vivek elangovan wrote: Hi members, i am using eclipse-java-indigo-SR1(32-bit ubuntu 10.04) for android projects development.If i build some application and run it as android application it works fine,but if i make some changes to my class files and again running it as android application the eclipse building project and stops at 27%. And it is working fine when I have to complete stop eclipse and start again.what may be the problem ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to compile .aidl file that references a class in an android library
http://code.google.com/p/android/issues/detail?id=21409 It's a known flaw in the aidl utility that has not yet been fixed. There's discussion of workarounds/patches in the issue. On Thu, Feb 2, 2012 at 10:01 PM, James Black planiturth...@gmail.com wrote: I have a library that my application uses. In one version of my program I am going to have an Android Service, and I am trying to compile the .aidl file, but, it references a class in my android library, and now I am getting an error that it can't find the file. I am using Eclipse for the compilation. This is what my .aidl file looks like: package com.myproject; import com.mylibrary.model.Road; // == I am getting the error on this line import android.location.Location; interface MyService { java.util.ListRoad retrieveNewPath(); Location retrieveCurrentLocation(); } -- I know that you believe you understand what you think I said, but I'm not sure you realize that what you heard is not what I meant. - Robert McCloskey -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.4 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
Re: [android-developers] Re: Header button above tabs not able to manage the activity under the tabs
HI, IF we call tabHost.getCurrentTab() will it call the oncreate of the activity. On Fri, Feb 3, 2012 at 5:19 PM, skink psk...@gmail.com wrote: vani reddy wrote: HI PFA the snapshot. When i click on the above red color refresh image and the wall tab is open. Need to refresh that activity. When i switch to other tab say friends and click on refresh image it shud refersh that particular activity i.e call a method in that activity. How to acheive this.?? I already answered your question: call getCurrentTab and refresh you current tab - whatever it means pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Eprint in Android
Hi all, How i can implement the eprint feature in my android app. Thanks Deepesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Header button above tabs not able to manage the activity under the tabs
vani reddy wrote: HI, IF we call tabHost.getCurrentTab() will it call the oncreate of the activity. of course not, it will return the index of the current tab pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] HorizontalListView inside a VerticalListView
Hello, you need to modify HorizontalListView and do this in the onScroll method: final ViewParent viewParent = getParent(); if (viewParent != null) { viewParent.requestDisallowInterceptTouchEvent(true); } Rno -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Poll: how many of you use a backend service or roll your own
On Fri, Feb 3, 2012 at 1:22 AM, Todd Grigsby tgrigsby...@gmail.com wrote: RPC and REST are both used to implement Web services, and that's where the semantic similarities end. I only brought it up because Amazon touts DynamoDB as REST, but it's anything but. I find it aggravating when some noob creates a Web service and slaps a REST label on it because he read an article about it, but doesn't understand what it means. Even worse, Amazon does have experience creating actual REST services, so you would think someone there would have stopped the announcement and corrected the online docs and marketing blurbs. That's obviously a pretty impassioned response.. I don't think it's quite that far, since I generally think of RPC -- in it's general form -- as doing something sufficiently high level to abstract away the differences between the protocols. Here, I'm talking about any general utility that lets you interface between systems written in very different ways.. I'd agree with your sentiment of REST being used as a buzzword, but I'm not sure you can say that they have nothing in common except both being used in web services. (I guess now that I think about it more, however, REST does feel much less than the typical things I see in RC, but all he necessary requirements to implement the traditional stuff are there, there's nothing lacking in inherent expressivity, though I suppose this is like saying the differences between Haskell and the lambda calculus isn't that much..) kris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Poll: how many of you use a backend service or roll your own
On Fri, Feb 3, 2012 at 8:53 AM, Kristopher Micinski krismicin...@gmail.com wrote: On Fri, Feb 3, 2012 at 1:22 AM, Todd Grigsby tgrigsby...@gmail.com wrote: RPC and REST are both used to implement Web services, and that's where the semantic similarities end. I only brought it up because Amazon touts DynamoDB as REST, but it's anything but. I find it aggravating when some noob creates a Web service and slaps a REST label on it because he read an article about it, but doesn't understand what it means. Even worse, Amazon does have experience creating actual REST services, so you would think someone there would have stopped the announcement and corrected the online docs and marketing blurbs. That's obviously a pretty impassioned response.. I don't think it's quite that far, since I generally think of RPC -- in it's general form -- as doing something sufficiently high level to abstract away the differences between the protocols. Here, I'm talking about any general utility that lets you interface between systems written in very different ways.. I'd agree with your sentiment of REST being used as a buzzword, but I'm not sure you can say that they have nothing in common except both being used in web services. (I guess now that I think about it more, however, REST does feel much less than the typical things I see in RC, but all he necessary requirements to implement the traditional stuff are there, there's nothing lacking in inherent expressivity, though I suppose this is like saying the differences between Haskell and the lambda calculus isn't that much..) kris To update, however, I'm expecting you'll write back a response beating down my viewpoints of this idea, as many REST people seem to have a pretty heated opinion on this point, that's fine. I wasn't viewing this in a very implementation minded way, and I'd prefer not to argue about it.. kris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Widget or Button
hey, please how can i apply a widget to my app so that it can toggle my application on or off when a user clicks the widget on the screen. any ideas will be appreciated. Thank u Best Regards -- Be good to not only people but also machines -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Header button above tabs not able to manage the activity under the tabs
Hi., TabACtivity is my HomeScreen.java and FirstActivity under the tab. On click of refresh button i need to start a thread in a method in FirstActivity .by passing a runnable object. I cannot make a method as static On Fri, Feb 3, 2012 at 7:22 PM, skink psk...@gmail.com wrote: vani reddy wrote: HI, IF we call tabHost.getCurrentTab() will it call the oncreate of the activity. of course not, it will return the index of the current tab pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Widget or Button
On Fri, Feb 3, 2012 at 8:03 AM, Omollo Ateng omollo.at...@gmail.com wrote: how can i apply a widget to my app so that it can toggle my application on or off when a user clicks the widget on the screen. http://developer.android.com/guide/topics/appwidgets/index.html - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: PDF File Creation using Android
There is no native support for creating PDF files in Android the way there is for Bitmaps, you need an external package to do it. Try searching for android create pdf On Feb 3, 1:38 am, johny basha visitba...@gmail.com wrote: Thnks i gave me the good link,? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Eprint in Android
On Fri, Feb 3, 2012 at 7:50 AM, aru padam deepesh...@gmail.com wrote: How i can implement the eprint feature in my android app. Assume we're stupid: what is the eprint feature? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Eprint in Android
Perhaps you're talking about the google cloud print api? http://code.google.com/apis/cloudprint/docs/android.html kris On Fri, Feb 3, 2012 at 9:51 AM, TreKing treking...@gmail.com wrote: On Fri, Feb 3, 2012 at 7:50 AM, aru padam deepesh...@gmail.com wrote: How i can implement the eprint feature in my android app. Assume we're stupid: what is the eprint feature? - TreKing - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi pskink, So as i understand that relative offset is the reference of the moov atom (where the moov atom starts in a file). isn't it? and How can you calculate this offset, 324070 - 32 == 0x0004f1c6 What is 32 and how 0x0004f1c6 comes? have you done this, through programming? Regards, umer Date: Thu, 2 Feb 2012 01:35:02 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com On 2 Lut, 08:32, Muhammad UMER muhammad.ume...@hotmail.com wrote: Hi pskink, I have searched the moov atoms, The moov atoms in the file (created by mediarecorder VIDEO0002.3GP) is at the end of the file and ftyp at the beginning. As I attached the image VIDEO0002.png And the moov atoms in the file (created by server) is also at the end of the file along with ftyp. As I attached the image VIDEO.png The 3gp file consists of ftyp-moov-mdat or ftyp-mdat-moov order. So I realize that my server have to write just ftyp at the beginning of the file. Please correct me if I am wrong. Regards, umer as i said before: as you can see you have to modify first 32 bytes: where bytes [0..27] you can just copy and bytes [28.. 31] should contain the offset where moov atom starts just copy first 28 bytes without any modifications and bytes [28.. 31] should contain the offset where moov atom starts - its relative to mdat atom e.g: this is after modification my server_file.3gp file: #grep -aobE ftyp|mdat|moov server_file.3gp 4:ftyp 32:mdat 324042:ftyp 324070:moov so bytes [28.. 31] - the relative offset should be: 324070 - 32 == 0x0004f1c6 #hexdump -C server_file.3gp | less 001c66747970336770340300 |ftyp3gp4| 0010 336770346d703431336770360004f1c6 |3gp4mp413gp6| see 0004f1c6 at the end - its your offset pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Hacking Android emulator source code
Hi I am interested in hacking some of the Android emulator source for a project of mine. Can anyone point me to the right forum/group for such discussions ? I have some very specific questions pertaining to the source code. Anirudh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Hacking Android emulator source code
http://source.android.com/community/index.html On Fri, Feb 3, 2012 at 10:44 AM, Anirudh Sivaraman sk.anir...@gmail.com wrote: Hi I am interested in hacking some of the Android emulator source for a project of mine. Can anyone point me to the right forum/group for such discussions ? I have some very specific questions pertaining to the source code. Anirudh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.4 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
Re: [android-developers] hi all
On Thu, Feb 2, 2012 at 10:41 PM, chowdary nani naveenneeli...@gmail.comwrote: Here i am able to parse the xml page which is on server when i have given the url directly. but i need for dynamically created url This has nothing to do with Android. Do you understand Java and variables? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
Muhammad UMER wrote: hi pskink, So as i understand that relative offset is the reference of the moov atom (where the moov atom starts in a file). isn't it? and How can you calculate this offset, 324070 - 32 == 0x0004f1c6 What is 32 and how 0x0004f1c6 comes? have you done this, through programming? Regards, umer read my previous post, carefully pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Poll: how many of you use a backend service or roll your own
I use QuickBase in one instance and Pachube in another. It's nice to use a back end that comes with a pre-built application-specific schema and there are quite a number of them out there for media, documents, collaboration, gaming, GIS, and so on. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
Basically i don't understand perfectly this, 001c66747970 336770340300 |ftyp3gp4 | 0010 336770346d703431 336770360007a42f |3gp4mp413gp6.../| 0020 6d6461743c911716 be6679e1e001e7af |mdatfy. | can you please explain it. Thanks Regards, umer Date: Fri, 3 Feb 2012 08:37:49 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: hi pskink, So as i understand that relative offset is the reference of the moov atom (where the moov atom starts in a file). isn't it? and How can you calculate this offset, 324070 - 32 == 0x0004f1c6 What is 32 and how 0x0004f1c6 comes? have you done this, through programming? Regards, umer read my previous post, carefully pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
Muhammad UMER wrote: Basically i don't understand perfectly this, 001c66747970 336770340300 |ftyp3gp4 | 0010 336770346d703431 336770360007a42f |3gp4mp413gp6.../| 0020 6d6461743c911716 be6679e1e001e7af |mdatfy. | can you please explain it. Thanks Regards, umer this shows the complete header (32 bytes) of the modified file pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
Hi pskink, 4:ftyp 32:mdat 324042:ftyp 324070:moov Ok 4 is starting bytes of ftyp, 324070 is starting bytes of moov, 32 is starting bytes of mdat etc. so it means that subtract the starting position of mdat from starting position of moov. then converts the bytes to hexadecimal form. that is our offset. moov - mdat == offset 324070 - 32 == 0x0004f1c6 but if it is true, then our moov starting bytes changes every time how can find that? Regards, umer Date: Fri, 3 Feb 2012 09:43:07 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: Basically i don't understand perfectly this, 001c66747970 336770340300 |ftyp3gp4 | 0010 336770346d703431 336770360007a42f |3gp4mp413gp6.../| 0020 6d6461743c911716 be6679e1e001e7af |mdatfy. | can you please explain it. Thanks Regards, umer this shows the complete header (32 bytes) of the modified file pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Unable to execute Bluetooth HDP Demo
Hi Fernandez, I have the same problem. I think it is because the bluetooth does not close properly. In my case, I didn't touch the default state machine and it does not turn off the blue color bluetooth logo after the measurement is finished. And Connection State is still CONNECTED. Which is very weird. Have you encountering the same problem? Thanks and regards, Chenchen On Feb 2, 3:05 am, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi all, I have observed a strange and undesirable behaviour that I'm going to describe. When an HDP channel is stablished, the Android system starts a long proccess of freeing memory (I have lots of Logcat messages like dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the system crashes and the smartphone is rebooted. I don't know if this is a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does anybody has the same problem? Thanks and regards! On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi all, I'm executing the BluetoothHDPDemo [1] (offered from Android 4.0 Ice Cream Sandwich) in my Android smartphone. When I have registered the application in order to receive data, and I have paired the biomedical device with the smartphone, I try to open the channel connection and I can see that the device starts sending data to the smartphone. However, the smartphone isunableto open the channel connectionHDP. At the end of this message you can see the output obtained in the LogCat. Has anybody achieved to run successfully this sample about the use of the Bluetooth Health Profile API? Any ideas? Thanks. Regards. [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html This is the log that I obtain: 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel() 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE: 00:80:25:14:A1:BC: 0 - 1 12-15 16:40:55.169: D/ConnectivityService(147): handleInetConditionHoldEnd: net=1, condition=0, published condition=0 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property changed: 00:80:25:14:A1:BC property: Connected value: true 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device : devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/ bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue 12-15 16:41:00.034: E/BluetoothService.cpp(147): getChannelApplicationNative 12-15 16:41:00.044: E/bluetooth_common.cpp(147): dbus_func_args_timeout_valist: D-Bus error in Acquire: org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed) 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/ chan3115 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147): onHealthDeviceConnectionResult: D-Bus error: org.bluez.Error.HealthError (Mdl is not created) 12-15 16:41:00.074: D/BluetoothEventLoop(147): onHealthDeviceConnectionResult 2 6001 12-15 16:41:00.214: D/BluetoothEventLoop(147): onHealthDeviceConnectionResult 2 6000 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of Property is: MainChannel Value:/org/bluez/278/hci0/ dev_00_80_25_14_A1_BC/chan3115 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Why are fragments in FragmentTabs.java not destroyed with the main activity?
Hi! There is something in the Android API example FragmentTabs.java (http://developer.android.com/resources/samples/ApiDemos/src/com/ example/android/apis/app/FragmentTabs.html) that I do not understand. I will try to explain my problem step-by-step: First, in the onCreate method of the main activity new actionbar tabs are added, e.g.: bar.addTab(bar.newTab() .setText(Simple) .setTabListener(new TabListenerFragmentStack.CountingFragment( this, simple, FragmentStack.CountingFragment.class))); The TabListener class used above implements ActionBar.TabListener and is responsible for creating (add) and managing (attach, detach) the fragments that are displayed for each tab. Additionally the TabListener constructor also contains the following code that checks if a fragment already exists: // Check to see if we already have a fragment for this tab, probably // from a previously saved state. If so, deactivate it, because our // initial state is that a tab isn't shown. mFragment = mActivity.getFragmentManager().findFragmentByTag(mTag); if (mFragment != null !mFragment.isDetached()) { FragmentTransaction ft = mActivity.getFragmentManager().beginTransaction(); ft.detach(mFragment); ft.commit(); } It turns out that the if statement above is true when the Android device changes its orientation, so the extra detach for the fragment has to be executed in this case. What I do not understand is why a fragment can still exist at that point. On orientation change the main activity containing all fragments is destroyed and recreated. I also do not see anything saving the fragment in a bundle or something. Therefore I would expect that all fragments are also destroyed when the activity is destroyed and recreated but this seems to be a wrong assumption. BTW, executing getBackStackEntryCount() seems to always return zero during program execution. Thanks in advance for any help. Regards, Anguel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Issue with adding multiple menu option.
i am trying to use option menus for my application. when i add 4 menuitem it shown in double row, but i need in one row (single row) . pls suggest me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Obsolete proguard file - fix
For those with issues with an obsolete proguard file, do the following: 1. Under Window, go to View, then Problems. You'll see what the issue is with the proguard file. 2. Open your proguard.cfg file and fix the errors. If it's the membernames issue, just replace the old parameter with the new parameter and you'll be set. I hope that helps anyone having this problem. Thanks and Best, -Auri / www.techblogxxx.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: In-App Billing always fails with “Reason: Took too long to deliver”
I've even tried to use the sample application on: http://developer.android.com/guide/market/billing/billing_integrate.html But I got exactly the same error. Anyone else seeing problems with this? -Andrin On Thu, Feb 2, 2012 at 3:56 PM, Andrin von Rechenberg andri...@gmail.comwrote: Hey there I'm trying to add in-app billing to my app. I think i’ve implemented everything just fine, the purchase window for an item pops up and I can click on buy, but then it is saying “Authorizing Purchase” for ever and then it fails. The purchase is listed in the google checkout account as “Cancelled” with the reason “Reason: Took too long to deliver”. After this i receive the com.android.vending.billing.IN_APP_NOTIFY but the item is of course not in the state “purchased”. This is on a Galaxy Nexus with Android 4.0.2. Any ideas? Any help would be *really* appreciated. Log output is (Billing is my log output): D/Finsky ( 1441): [164] MarketBillingService.getPreferredAccount: com.miumeet.android.client: Account from first account. D/Finsky ( 1441): [164] MarketBillingService.getPreferredAccount: com.miumeet.android.client: Account from first account. I/ActivityManager( 208): START {act=android.intent.action.VIEW cmp=com.android.vending/com.google.android.finsky.activities.IabActivity (has extras)} from pid -1 D/Billing ( 3546): Request 463785881949596 of type REQUEST_PURCHASE sent I/WindowManager( 208): createSurface Window{41bc6978 com.android.vending/com.google.android.finsky.activities.IabActivity paused=false}: DRAW NOW PENDING W/Finsky ( 1441): [1] CarrierParamsAction.run: Saving carrier billing params failed. I/ActivityManager( 208): Displayed com.android.vending/com.google.android.finsky.activities.IabActivity: +395ms D/Finsky ( 1441): [1] DfeRequest.deliverResponse: Not delivering second response for request=[[ ] https://android.clients.google.com/fdfe/details?doc=inapp:com.miumeet.android.client:m3NORMAL 120] D/Finsky ( 1441): [1] CarrierProvisioningAction.shouldFetchProvisioning: Required CarrierBillingParams missing. Shouldn't fetch provisioning. D/Finsky ( 1441): [1] CarrierProvisioningAction.run: No need to fetch provisioning from carrier. D/Finsky ( 1441): [1] PurchaseFragment.onStateChange: Finished purchase with ID https://android.clients.google.com/fdfe/purchaseStatus?doc=inapp:com.miumeet.android.client:m3order=12999763169054705758.17289336772495165711.1328191047.1 D/Volley ( 1441): [153] BasicNetwork.logSlowRequests: HTTP response for request=[ ] https://android.clients.google.com/fdfe/purchaseStatusNORMAL 123 [lifetime=47304], [size=232], [rc=200], [retryCount=0] W/Finsky ( 1441): [1] PurchaseInitiator.switchToError: Error when purchasing document inapp:com.miumeet.android.client:m3: Error{title='Purchase cancelled', docTitle='3 month premium account', briefMessage='Review purchase with Google Wallet', detailedMessage='Your payment could not be processed. a href=https://checkout.google.com;Sign in/a to your Google Wallet account to request support.', sourceUrl='details?doc=inapp:com.miumeet.android.client:m3', detailsUrl=' https://checkout.google.com'} D/Volley ( 1441): [1] Request.finish: 47312 ms: [ ] https://android.clients.google.com/fdfe/purchaseStatus NORMAL 123 D/Billing ( 3546): Received com.android.vending.billing.IN_APP_NOTIFY D/Billing ( 3546): Notification 2262237324148455585 available D/Finsky ( 1441): [148] MarketBillingService.getPreferredAccount: com.miumeet.android.client: Account from first account. D/Billing ( 3546): Request 4247658054929406474 of type GET_PURCHASE_INFORMATION sent D/Finsky ( 1441): [1] MarketBillingService.sendResponseCode: Sending response RESULT_OK for request 4247658054929406474 to com.miumeet.android.client. D/Billing ( 3546): Received com.android.vending.billing.PURCHASE_STATE_CHANGED D/Billing ( 3546): Purchase state changed Cheers, -Andrin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding Auto Text application of android
hi everyone!!! i need help regarding my undertaking project Auto TexT. I interested to know what features i can add to it. Should i make it online or offline. Please help me. Regards Tajinderpal 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
[android-developers] Missing accents for the key e on german keyboard
Hi, I am missing the accents for the key e on the german keyboard layout in Android. When I am long-pressing an a, o, u, etc. I will get all possible accents for this letter. But wenn long-pressing e I will only get one accent. When I change my keyboard layout to english-us, I get all accents when long-pressing the e. But I need my QWERZ-layout (german- layout). I am missing this feature since Android 3.0 (on my Acer A500). On my new Galaxy Nexus with Android 4, it is the same bug :-( Could you please solve this bug in your next release? It's quite annoying, that I can't type my name correctly in Android:André Thanks!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Image comparison problem: getPixel() in android and getRGB() in JDK return different values for the same image
Hi. I want to compare two images. One image is on the android client and another image is on the server (with Tomcat, JDK). I need also to calculate two histograms - one for each image - and to compare they The problem is: getPixel (x, y) (on Android) and getRGB (x, y) (JDK) return different rgb color numbers for the point with the same coordinates (x, y). The images are here identical (JPG, Size: 3x3). Why are the results different? And what to do? I've been looking for the answer everywhere, but... *** Pseudocode for Androids Activity *** BitmapFactory.Options opt = new BitmapFactory.Options(); opt.inPreferredConfig = Bitmap.Config.ARGB_; mBitmap = BitmapFactory.decodeFile(imageSource, opt); int intColor = 0; for (int x = 0; x mBitmap.getWidth(); x++) { for (int y = 0; y mBitmap.getHeight(); y++) { intColor = mBitmap.getPixel(x, y); System.out.print( (+ x + ,+ y +) c: + intColor); } }System.out.println(); Result for example image 3x3: (0,0)c:-7882802 (0,1)c:-9859138 (0,2)c:-6507579 (1,0)c:-12883825 (1,1)c:-6574388 (1,2)c:-7948604 (2,0)c:-7489593 (2,1)c:-10579009 (2,2)c:-6573359 Pseudocode for JDK BufferedImage img = ImageIO.read( file ); int intColor = 0; for ( int x = 0; x img.getWidth(); x++ ) { for ( int y = 0; y img.getHeight(); y++ ) { intColor = img.getRGB( x, y ); System.out.print( (+ x + ,+ y +) c: + intColor); } }System.out.println(); Result for the same image: (0,0)c:-7883056(0,1)c:-9728065 (0,2)c:-6507579 (1,0)c:-12818030 (1,1)c:-6377523 (1,2)c:-7883323 (2,0)c:-7424055(2,1)c:-10513470 (2,2)c:-6573358 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Webkit
Hi all, ( I am using a Samsung Galaxy Tab 10.1 ). I need to develop a HTML5 based app. I want to zoom the contents of a Html fragment ( like htmlbodypA small paragrah goes here./p/body/html ). Currently the WebView only supports limited amount of zooming of the content. My application need to zoom a word in a paragram upto the maximum ( i.e. to fit the tablet's physical screen width ). Can anyone tell me, whether it is possible to do it with the Android.Webkit related classes ? Any help would be appreciated... 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
[android-developers] SmsManger.sendTextMessage(...) gets stuck.
Hi everyone, I have a BroadcastReceiver that will receive texts, and if the auto-reply feature of my application is on, then it will reply with a preset message. However, the text message will not send. All is good with the LogCat, but whenever I try to send a text from the Messaging application, the phone will not let me send the message. I suspect this is because the message sent from my application will not go through, therefore not letting any other text messages through until I reboot my phone. Then the messages I tried to send earlier from the Messaging application will send, but not the one my application is trying to send. for the text message i am using: SmsManager.getDefault().sendTextMesssage(number, null, message, null, null); Thanks, KidCoder -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Can I trigger a checkpoint of SQLiteDatabase programtically?
Adding this line in my Android code forced the commit from the wal file into the main database: db.rawQuery(PRAGMA wal_autocheckpoint = 1, null); // db is an instance of SQLiteDatabase, i.e. // SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(/sdcard/ mydb.db, null); I use autocheckpoint value of 1, which is the page size that will trigger the checkpoint. The default is 1000. I noticed the same behavior when the onUpgrade() method would add new tables to the main database, but I didn't see them when querying the .db file. If I tried to re-add the tables through code, I would get SQL Exceptions that the tables already existed (in the wal file). The application I am working on was written on an Android 1.6 platform (prior to sqlite 3.7 and before WAL was added to sqlite). I just noticed the onUpgrade() issue running the application on an Android 2.3.4 device which has sqlite 3.7. Hope that helps On Jan 13, 1:35 am, Susan smxb...@gmail.com wrote: I want to copy database file to SD card. But Write-Ahead Log (wal file) has not writen to db file. It will write to db file when checkpoint occurs as the SQLite offical document said :http://www.sqlite.org/wal.html#ckpt. So is there an API I can trigger a checkpoint of database, so after that I can copy the db file to SD card? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: removing application
This is a control from Android S.O. I belive there´s no way to Cancel this option... On 3 fev, 07:43, אריאל arielgordon...@gmail.com wrote: Hello all, is there a way to Cancel the uninstall option? Thank you -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Anyone know about Option Menu in Ice Cream Sandwich
I want to disable on Option menu item, it has icon and title. I used menu,getItem(int id).setEnabled(boolean)...before. But icon is changed with disabled state, but title is not changed. This issu is only for Ice Cream Sandwich.. Anyone help me this issue.plz -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android app (.apk) x Web app (using WebView)?
Hi Guys, I have to make an app for Android and Iphone. I was wondering, if it could be better make one web app that could be accessed for both or make two different app, one for Android and other one for iphone? so, what's better? Doing an app Android/Iphone or only one Web app (using WebView, for example) instead of? thanks. Lucas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Intercepting mail communication / TCP streams
Hi, I need to write an application that can intercept emails, extract keywords from the mail body and act accordingly when finding specific keywords. I read that you are not able to intercept mail communication, only SMS, so I guess I will need a different approach. Is it possible to intercept the TCP communication (incoming / outgoing) and filter email communication, e.g. by running a service that is autostarted when the device is turned on. This service would extract the keywords form the email communication and trigger some actions in the main application? I am totally new to Android development and only familiar with BlackBerry development so far. The BlackBerry version of this application I am trying to replicate uses the BlackBerry Transcoder API to intercept imcoming and outgoing email. I need to do this for the Android platform now. But unfortunately it doesn't seem to be possible to do. Any idea / tipp on how to implement something similar for Android? I read that long-running services are not allowed for Android, too, so this is the second big problem I have while implementing the software. To cut a long story short: I need a service that intercept email communication, for triggering some actions in the client application and (later on) encryption of the email communication. Is this possible? Andi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to create a sms database table to store inbox messages in Android
Yes, agree with Nitin. Use existing table and using ContentResolver - query that table. Uri uriSMSURI = Uri.parse(content://sms); Cursor cursor = mContext.getContentResolver().query(uriSMSURI, null, null, null, null); On Feb 2, 12:02 am, Nitin Sethi sethi.5...@gmail.com wrote: AFAIK, the sqlite sms db has already been created by your stock sms app and it's recommended to use the same through the ContentResolver class for any SMS related app. On Feb 2, 10:52 am, Ratheesh Valamchuzhy android...@gmail.com wrote: you need to store the the message in sqlite db ? use the content resolver to get the message details and we can store it on a text file or a separate database -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Will adb work on a tablet host USB port?
I want to develop on an unrooted android tablet that has both an OTG and Host USB. The Android Version is 2.3.0 so there are no Java api's to write directly to the USB host. The android device has to be attached to a computer using the OTG port so I need to connect the android host port to hardware I am designing (FTDI V2 in USB device mode). It seems the only way to communicate is using the adb to send commands/data between the Android tablet host port and my hardware slave port. My question is, is it possible to use the adb to communicate over the Android tablet host port, or will the adb only work on the Android tablets OTG USB port? (Note that it has to be over the host port and not using the Android Tablets WiFi..) If it is possible, how do you configure the Android Tablet to use the USB host port with adb? Any assistance appreciated David -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: EditText with bitmaps
You can create a style.xml and define the customize the propertie parent=@android:style/Widget.EditText there. On 2 Fev, 13:24, Robert Slama robsl...@gmail.com wrote: Hi guys, is any way how make edittext custumized as is on attached image? r^ edittext.png 23KVerTransferir -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] In-App Billing always fails with “Reason: Took too long to deliver”
Hey there I'm trying to add in-app billing to my app. I think i’ve implemented everything just fine, the purchase window for an item pops up and I can click on buy, but then it is saying “Authorizing Purchase” for ever and then it fails. The purchase is listed in the google checkout account as “Cancelled” with the reason “Reason: Took too long to deliver”. After this i receive the com.android.vending.billing.IN_APP_NOTIFY but the item is of course not in the state “purchased”. This is on a Galaxy Nexus with Android 4.0.2. Any ideas? Any help would be *really* appreciated. Log output is (Billing is my log output): D/Finsky ( 1441): [164] MarketBillingService.getPreferredAccount: com.miumeet.android.client: Account from first account. D/Finsky ( 1441): [164] MarketBillingService.getPreferredAccount: com.miumeet.android.client: Account from first account. I/ActivityManager( 208): START {act=android.intent.action.VIEW cmp=com.android.vending/com.google.android.finsky.activities.IabActivity (has extras)} from pid -1 D/Billing ( 3546): Request 463785881949596 of type REQUEST_PURCHASE sent I/WindowManager( 208): createSurface Window{41bc6978 com.android.vending/com.google.android.finsky.activities.IabActivity paused=false}: DRAW NOW PENDING W/Finsky ( 1441): [1] CarrierParamsAction.run: Saving carrier billing params failed. I/ActivityManager( 208): Displayed com.android.vending/com.google.android.finsky.activities.IabActivity: +395ms D/Finsky ( 1441): [1] DfeRequest.deliverResponse: Not delivering second response for request=[[ ] https://android.clients.google.com/fdfe/details?doc=inapp:com.miumeet.android.client:m3NORMAL 120] D/Finsky ( 1441): [1] CarrierProvisioningAction.shouldFetchProvisioning: Required CarrierBillingParams missing. Shouldn't fetch provisioning. D/Finsky ( 1441): [1] CarrierProvisioningAction.run: No need to fetch provisioning from carrier. D/Finsky ( 1441): [1] PurchaseFragment.onStateChange: Finished purchase with ID https://android.clients.google.com/fdfe/purchaseStatus?doc=inapp:com.miumeet.android.client:m3order=12999763169054705758.17289336772495165711.1328191047.1 D/Volley ( 1441): [153] BasicNetwork.logSlowRequests: HTTP response for request=[ ] https://android.clients.google.com/fdfe/purchaseStatus NORMAL 123 [lifetime=47304], [size=232], [rc=200], [retryCount=0] W/Finsky ( 1441): [1] PurchaseInitiator.switchToError: Error when purchasing document inapp:com.miumeet.android.client:m3: Error{title='Purchase cancelled', docTitle='3 month premium account', briefMessage='Review purchase with Google Wallet', detailedMessage='Your payment could not be processed. a href=https://checkout.google.com;Sign in/a to your Google Wallet account to request support.', sourceUrl='details?doc=inapp:com.miumeet.android.client:m3', detailsUrl=' https://checkout.google.com'} D/Volley ( 1441): [1] Request.finish: 47312 ms: [ ] https://android.clients.google.com/fdfe/purchaseStatus NORMAL 123 D/Billing ( 3546): Received com.android.vending.billing.IN_APP_NOTIFY D/Billing ( 3546): Notification 2262237324148455585 available D/Finsky ( 1441): [148] MarketBillingService.getPreferredAccount: com.miumeet.android.client: Account from first account. D/Billing ( 3546): Request 4247658054929406474 of type GET_PURCHASE_INFORMATION sent D/Finsky ( 1441): [1] MarketBillingService.sendResponseCode: Sending response RESULT_OK for request 4247658054929406474 to com.miumeet.android.client. D/Billing ( 3546): Received com.android.vending.billing.PURCHASE_STATE_CHANGED D/Billing ( 3546): Purchase state changed Cheers, -Andrin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Is Android Apps are Device specific?
Hi, I have a question , If I create a android app, will it run on any mobile device have android on it. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Stream camera video on bluetooth connection
Hi all, In my project i want to stream camera video from android phone to PC on bluetooth connection. tell me the way to go for it. Thank u..! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] SSL/TLS and ECC (Elliptic curve cryptography)
I'm developing an android application which communicates with a web server. We use HTTPS for this communication and we have also a client certificate inside the android application for authentication. We created SSL certificates using ECC (ANSI x9.62) in order to have very small certificates so we can reduce the transmission cost during handshake. The source code for the communication is more or less like this: InputStream keystoreIs = getResources().openRawResource(R.raw.client_bks); KeyStore keystore = KeyStore.getInstance(BKS); keystore.load(keystoreIs, KEYSTORE_PASSWORD); SSLSocketFactory socketFactory = new SSLSocketFactory(keystore, KEYSTORE_PASSWORD, keystore); Scheme serverScheme = new Scheme(https, socketFactory, SERVER_PORT); HttpClient httpclient = new DefaultHttpClient(); httpclient.getConnectionManager().getSchemeRegistry().register(iServerScheme); HttpPost httppost = new HttpPost(SERVER_URL); HttpResponse response = httpclient.execute(httppost); The problem is that when we try to connect we have errors like: E/NativeCrypto(4744): Unknown error 5 during connect W/System.err(4744): java.io.IOException: SSL handshake failure: I/O error during system call, Connection reset by peer W/System.err(4744): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.nativeconnect(Native Method) W/System.err(4744): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 316) W/System.err(4744): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl $SSLInputStream.init(OpenSSLSocketImpl.java:520) W/System.err(4744): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java: 461) W/System.err(4744): at org.apache.http.impl.io.SocketInputBuffer.init(SocketInputBuffer.java: 93) W/System.err(4744): at org.apache.http.impl.SocketHttpClientConnection.createSessionInputBuffer(SocketHttpClientConnection.java: 83) W/System.err(4744): at org.apache.http.impl.conn.DefaultClientConnection.createSessionInputBuffer(DefaultClientConnection.java: 170) W/System.err(4744): at org.apache.http.impl.SocketHttpClientConnection.bind(SocketHttpClientConnection.java: 106) W/System.err(4744): at org.apache.http.impl.conn.DefaultClientConnection.openCompleted(DefaultClientConnection.java: 129) (...) I trid to find an example with ECC and SSL but I didn't found anything. I found several articles about encryption and key pair generation (for example http://nelenkov.blogspot.com/2011/12/using-ecdh-on-android.html#!/2011/12/using-ecdh-on-android.html) but nothing related to this SSL kind of errors. Maybe the problemis that this is not supported right now. We will appreciate any feedback. Thank you in advance!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android Search Dialog and Suggestions ListView: Change theme and colours?
I've implemented a simple search dialog that performs a custom search of the data within my app (Via a custom provider) as according to the guidelines here: http://developer.android.com/guide/topics/search/search-dialog.html The problem is that the search bar's colors and size (exceeds the height of the action bar, etc) do not work within the design of my app. I know how to create a theme in my styles.xml file, but I do not know how to target the Android search dialog and suggestions listView. Does anyone know how I can do this? I did find the layout files within the Android layout directory, but not sure how to use that or if I can override 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
[android-developers] Need to buy device for development
emulation is so slow that I think about buying a phone or pad, even though I don't need it. What is a good go without spending a fortune? henry -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem on write data into Internal Storage
I'm trying to read from website url then write into device internal storage. Below are my code, the system output can print the line out but there is no file at internal storage. Suppose the abc.xml will appear at /data/data/my-package/abc.xml but there is nothing... Kindly help me on this problem. On manifest: uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / uses-permission android:name=android.permission.WRITE_INTERNAL_STORAGE / Function: try { URL sourceUrl = new URL(mysite.php); BufferedReader in = new BufferedReader( new InputStreamReader(sourceUrl.openStream())); String inputLine; OutputStream out = openFileOutput(abc.xml, Context.MODE_PRIVATE); while ((inputLine = in.readLine()) != null) { System.out.println(inputLine); out.write(inputLine.getBytes()); } in.close(); out.close(); } catch (IOException e) { Log.d(LOG_TAG, e + ); } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] help regarding development of my app
sir, i am trying to develop an android application for my college as my final year engineering project. this will be an applicaton that consists of following features 1) campus news 2) events 3)campus maps 4)directories 5)social media 6) photos of the campus i want to ask how do i go ahead with this project. as in how do i start developing this how do i connect this project to the server. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ConnMan's Corresponding Component in Android
Dear All, As you know, the Connection Manager (ConnMan) project provides a daemon for managing internet connections within embedded devices running the Linux operating system. --- http://connman.net/about. So I'd like to know the corresponding component in Android, which does the same work as ConnMan? Anyone know this? Or give me some links, because I googled, but no useful infomation. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] i need to have code for reading a imae from url
i need some help in getting an image with the help of url bhai -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Metrics ...
Hello all, I wrote a small application (API-10), in order to get its metrics : ... DisplayMetrics wdm = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(wdm); msg.setText(wdm.toString); ... And on a Galaxy Note, I got this result : DisplayMetrics{density=2.0,width=320,height=480,scaledDensity=2.0, xdpi=320.0,ydpi=320.0} AFAIK, the Galaxy Note is 800x1280 ... Are the metrics depending on the layout ? What is the scaledDensity ??? Any Guru giving the reason ? Thanx in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem Creating new Contact with photo
Hi, I am trying to create a new Contact with a photo, but my code doesn´t work properly. The thing is that the first time I execute the code the new contact doesn´t appear on the Contacts List, but the second time I execute it the contact appears twice and properly. I have tried the same code but omitting the section that includes the photo and the contact appears on the contact list fine the first time I try, so the problem must be related to the photo inclusion. I cannot understand why the first execution doesn´t work and the second one does. As I said, when I create the contact for the second time the new entrance appears twice on the contact list, with the contact´s name, photo, and everything, so I guess the problem should not be on the encoding. I hope someone can help me. Thanks a lot for yout time. Here is my code: .. // Get the Contact´s Picture int id = cursor.getInt(cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID)); Uri photoUri = ContentUris.withAppendedId(ContactsContract.Data.CONTENT_URI, id); Cursor c = getContentResolver().query(photoUri, new String[] {ContactsContract.CommonDataKinds.Photo.PHOTO}, null, null, null); byte[] photoBytes = null; if (c.moveToFirst()) { photoBytes = c.getBlob(0); .. protected void createNewContact(String name, String mobileNumber, String emailAddress, byte[] photo) { ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation(); ops.add(ContentProviderOperation.newInsert( ContactsContract.RawContacts.CONTENT_URI) .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null) .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null) .build()); //-- Names if(name != null) { ops.add(ContentProviderOperation.newInsert( ContactsContract.Data.CONTENT_URI) .withValueBackReference(ContactsContract.Data.RAW_CONTACT_ID, 0) .withValue(ContactsContract.Data.MIMETYPE, ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) .withValue( ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, name).build() ); } //-- Mobile Number ... //-- Email //-- Photo if(photo != null) { ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) .withValueBackReference(ContactsContract.Data.RAW_CONTACT_ID, 0) .withValue(ContactsContract.Data.MIMETYPE, ContactsContract.CommonDataKinds.Photo.CONTENT_ITEM_TYPE) .withValue(ContactsContract.CommonDataKinds.Photo.DATA15, photo) .build()); } // Asking the Contact provider to create a new contact try { ContentProviderResult[] result = getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops); } catch (Exception e) { e.printStackTrace(); Log.d(TAG, Exception: + e.getMessage()); } Toast.makeText(TraspasoActivity.this, New Contact + name + created !!, Toast.LENGTH_SHORT).show(); } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] speex or jspeex support on android
Hi, please can anybody help me how use speex or jspeex in android? I need to encode and decode bytestream of audio file using this codec. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] failure taking screenshot
Hello everybody, i'm trying to show an image launching an activity with intent ACTION_VIEW, but i get some problems. Here the code, you can also see some others tries i made below the commentary //: String path = //getting from a sqlite database File f = new File(path); //String extension = android.webkit.MimeTypeMap.getFileExtensionFromUrl(Uri.fromFile(f).toString()); //String mimetype = android.webkit.MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); Uri img = Uri.fromFile(f); Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(img); //or intent.setDataAndType(img,mimetype); startActivity(intent); And in the manifest i added this intent-filter to the main activity intent-filter action android:name=android.intent.action.VIEW/ action data android:scheme=file/data category android:name=android.intent.category.DEFAULT/category /intent-filter Well unfortunately the result in LogCat is what in the object that's: failure taking screenshot for (120x180) to layer 210110 Do anybody knows this error and help me? Tnx! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Intent flag FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
I have encountered this flag (paired with FLAG_ACTIVITY_NEW_TASK), and cannot get to the bottom of it. I tried playing with activities and their affinities, and still dont have a clue as to what would be the expected behavior when this flag is set. The context i encountered this flag is (though i dont think it matters): 1. User opens the browser and long press a phone number. 2. The context menu is opened with a dial option. 3. Upon pressing dial the browser fires an intent (ACTION DIAL), with the above two flags. this seems to be one of those flags which actually messes with the task's stack. i just dont understand how. Help is appreciated Anat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How can I load the saved map in my google map?
I have this question, too - Since My Maps are stored in the user's google account, I'm thinking there might be a new oauth2 way to get permissions to retrieve them but I haven't seen any APIs ... Does anyone know if this is possible? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] AVD manager and Eclipse Helio
Guys, Is it possible to run eclipse Helios and the android sdk on windows xp? I'm also having problems with the application on vistawhat do i do? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Sample of using Protobuff.net in android using eclipse
Hi guys, I am new in android developing and need to use protobuff.net because the web services already written in this way. could you please send me a sample and help me through it. thanks heap guys. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] NoClassDefFoundError for a generated webservice class
Hello, I am generating some stub classes using ant and at one point for apparently only one class, at runtime I get the NoClassDefFoundError exception, The class extends Service from javax.xml.ws.Service: @WebServiceClient(name = MyClassService, targetNamespace = ..., wsdlLocation = ..) public class MyClassService extends Service {...} When I try to call this class: MyClassService service = new MyClassService(); // it's imported correctly. System.out.println(service: + service); i get the above error. My programme compiles, but when calling that class it crashes. I don't understand how to debug this further to have an idea why I get that error. Do you have any idea? Thank you. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ICS - OpenGLRenderer is out of memory! on Launcher application (Fonts are broken)
Hi! I have a problem with my AppWidget. Some users on Galaxy Nexus and Nexus S who have Android 4.0 are reporting broken fonts in stock launcher. I had the phone connected to ADB to see the logs and I found there these errors multiple times: OpenGLRenderer is out of memory! Is there a way to optimize AppWidget to be less memory demanding for OpenGL renderer? Is it sufficient to reduce the levels of the view tree? I had no problems in lower SDK levels with this (I am supporting users down to Android 1.6). Thank you for your tips. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Read Heap from DDMS
I have the same problem https://lh5.googleusercontent.com/-itXwQBVHmOA/TytT8nWvLqI/ALQ/XgQqXx932p8/s1600/2012-02-03-062503_1920x1080_scrot.png -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] NullPointerException error
Hello,i am getting error: Caused by: java.lang.NullPointerException E/AndroidRuntime(329): at ...LineGraph.getIntent(LineGraph.java:109) E/AndroidRuntime(329): at LineGraph.onCreate(LineGraph.java:80) E/AndroidRuntime(329): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1047) E/AndroidRuntime(329): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2627) I have in one activity : double []myfinal=new double [100]; Then,inside a function: public void compute(){ ... //fill the points between for (int i=0;i=ttime;i++){ myfinal[i]=init*Math.exp(-l*i); } Intent i=new Intent(this,calcs.class); ... i.putExtra(finals,myfinal); startActivity(i); } And in the other activity(LineGraph): ... private double [] myfinal=new double [100]; public double [] getFinal(){ return this.myfinal;} public void setFinal(double [] myfinal){ this.myfinal=myfinal;} public void onCreate(Bundle savedInstanceState){ ... double [] myfinal=extras.getDoubleArray(myfinal); setFinal(myfinal); public Intent getIntent(Context context){ ... double []myfinal=getFinal(); I am not sure if this is right double [] myfinal=extras.getDoubleArray(myfinal); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Questions re: strategies for improving your app's … user experience
Hi all, I'm assessing the pros/cons of different approaches to Beta- testing an app before it's ready for prime time. Let's say I launch an app with a BETA label - purpose is to gain user feedback and make significant improvements before launching it for real. (I don't know any other way to release as Beta except to test outside of the Android Market, on other app sites (slideme.org , mall.soc.io/ apps, etc) or private Beta.) **What is the 'relationship' in the App Store between the BETA version and the (post-beta) RELEASE Version?** Specifically 1. Will my app's user reviews be averaged starting with, and *always* including BETA reviews, OR is the Release Version a fresh start, with 0 reviews? (I'd prefer not having my review averages dragged down by poor reviews of the Beta Version.) 2. Is there any Android Market policy, or other foreseeable backlash, if we: 2a. Make the Beta free, but charge money for the Release Version? 2b. Make the Beta free, and then launch a free Release Version with some of the Beta-tested features (then-free) turned into PAID features? (Could be achieved either by in-app purchase, or by offering both Lite/Free and Paid/Full versions) Any references to Android Policy and/or your experiences would be greatly appreciated. Thanks everybody. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Create new jar for android for javax.* package
Hello, I have some days now of trying diverse paths to connect to a SAP server. KSoap looked fine, but did not authenticated me on the server, and in the end I generated stub classes from a local wsdl and when trying to use a class that was generated , that used the javax.* classes I got stuck. Those classes are not in the Android package..(ex javax.xml.bind.annotation.*) I thought of creating my own Android Library, to put the classes from javax.* and compile and add it to my project, but this did not work at all, because there are too many dependences, for instance calling classes from java.awt, swing and other packages. I need a new path and I have no more ideas. Did anyone managed to import javax.* in android? not using core libraries. I don't understand why kSoap did not authenticated me on server, I understood because it does not understand some WS Security. I am still searching, googling, thinking...any ideas would be great. I think using the generated stub classes is the path to go, because ksoap is old and it did not work so far for my situation. How can I use javax.* classes in android? Thank you for your time. Gabriela -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Any way to add online form to android app?
I'm not a coder. Still, consider this other way of looking at it. How about having your app cache your blank form as a local HTML file, on the client's phone? When user fills it out, you can save as to add a local copy to the phone's DB. At same time (or, as soon as network cnxn is available) you upload the completed form - or at least the field values - to your server. Good luck! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Header button above tabs not able to manage the activity under the tabs
Hey, When i do setCurrentTab(int value) the activity doesnt get refreshed. On Fri, Feb 3, 2012 at 7:53 PM, vani reddy vani.reddy.bl...@gmail.comwrote: Hi., TabACtivity is my HomeScreen.java and FirstActivity under the tab. On click of refresh button i need to start a thread in a method in FirstActivity .by passing a runnable object. I cannot make a method as static On Fri, Feb 3, 2012 at 7:22 PM, skink psk...@gmail.com wrote: vani reddy wrote: HI, IF we call tabHost.getCurrentTab() will it call the oncreate of the activity. of course not, it will return the index of the current tab pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Vani Reddy -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] on communicating with USB device from Android 2.2.x Os based Tablet PC
Hi I have 1) Android 2.2.x OS based Tablet PC ( by Livall .a company in China) 2) I have USB device that can perform FM Radio receiver. 3) I want to write a application in item 1 to access data from item 2. 4) After item 3, i just want to store or play audio samples. In the above, item 2 is based on our hardwae and that has USB interface. In windowa m/c, i am using the same as FM radio with ease and i want to do the same with above Tablet PC in item 1. For this task, it is required 5) to write a software in Java and access USB class 6) or i need to modify Linux kernel as well to access my UB device. Regards and thanks jk -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to Pitch Sound
hi all. I want to ask. anyone knows how to pitch a voice in android application? application examples blow! blow! I want to make such an application. Please help. Regards, Eka kurniawan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to access database on pc by android app.
Hi all, i have to make android app that received files from mobiles and save it on database in pc how to create database on pc that i can access it by android app which technique is the best for this Bluetooth or Wifi or...between the mobiles? which technique is the best for this Bluetooth or Wifi or...between mobile and pc? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Form Based App
Hello All, I am looking at creating an android based application for a user to fill out a form. The form will consist of text boxes some radio buttons and maybe an image or too if possible. Then when they are finished they will submit it. Is it at all possible to do this in a way that it saves the form on the android tablet and then submits it to a server to query when an internet connection is established. In most cases the users will be outside or in buildings where an internet connections cannot be established? Any examples or helpful ideas I can look at would be greatly appreciated. Thank You in advance, Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: sip demo
Emulator suport SIP but You have to do this: http://code.google.com/p/android/issues/detail?id=13037 Tablet suport SIP but only if You are wireless connected. On Jan 30, 10:56 am, Jagruti Sangani jagruti.sang...@inextrix.com wrote: hello, i have used the sip demo which was onhttp://developer.android.com/guide/topics/network/sip.html link.but i got sipmanager as null result.and also api and voip support result me as false.i m using android 4.0.3 api 15 and try to call from emulator to asterisk.but not work bcz of may be manager as null.so reply me as soon as posible. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to get Cell's currently using frequency GSM/CDMA
Hi, Is there any Android class/ api by which i can get frequency of my cell GSM/CDMA. Any guideline. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to modify the EGL_BAD_ALLOC error on Android 2.3.3?
how to modify the EGL_BAD_ALLOC error on Android 2.3.3? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Database management
So, I'm trying to access a db that does not belong to my app. I want to read and maybe write in the database responsible for the messaging storage (data/data/com.android.providers.telephony/databases/ mmssms.db). The problem is everywhere I search I'm told i cant access a database that does not belong to my application, so I'm trying to figure it out how can I solve this problem, I am root. Would be effective copy the database from the data directory and put it in my application's folder and then, after the management sent it back to the original file directory ? I guess it would not be the best option, i don't even know if this will work well. Please if anyone could give me the directions I'd be very pleased. P.S: I read somewhere you can do it using content providers, is that a possible solution ? Thanks Rodrigo Ferreira -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how can access android phone (sdcard) on my computer browser via wifi ?
Hi everyone...!! I want to know,,how can access android phone (sdcard) on my computer browser via wifi ? for example,from my computer browser i can access android phone just type IP and port (http://192.168.2.125:8080).. than show webpage from android phone ?? #sorry for my bad english..:) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to preserve data across VM crashes
Hello, I am developing for Froyo on a Nexus One. I have an issue where the dalvik vm crashes (in logcat AndroidRuntime specifically mentions it is shutting down the VM) and brings down running activities and services. My app is a single Activity - it executes onSaveInstanceState when the VM comes down and I save some data (an int and two Strings). When I start the Activity again, the savedInstanceState Bundle passed to onCreate() is null and onRestoreInstanceState is not called at all. How do I preserve information across crashes of this nature? Thank you, Jayce -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: LogCat not displaying TAG “SMS”
There are some tags that don't go to the default buffer, as has been stated. You can view them by specifying which buffer to view with the -b logcat option. For example, to see the SMS logcat messages, start logcat with: adb logcat -b radio See here for documentation: http://developer.android.com/guide/developing/tools/adb.html#logcat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] sqlite login screen problem
Hi i am creating a login screen in android . But i am facing a problem in which i have to find whether the username is already present in database and check with the password . please send reply. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en