[android-developers] Re: Suggestions on howto start service without rebooting device

2010-07-26 Thread ADman
sorry about the delayed response. I don't own the other app, but we need to communicate with each other...these are the requirements I have been given :( Its not doing anything fancy, just collecting usage data(phone calls, sms, etc). In order to make the data as correct as possible, I would like

[android-developers] putInt force closes

2010-07-26 Thread scadaguru
I am trying to write the system setting using: Settings.System.putInt(getApplicationContext().getContentResolver(), Settings.System.WIFI_SLEEP_POLICY, Settings.System.WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED); But it force closes my application. Any Idea? My has user following permissions:

[android-developers] Re: putInt force closes

2010-07-26 Thread Maps.Huge.Info (Maps API Guru)
Is the value is null? What device does this user have? Does it even have a wifi? There could be lots of reasons, you should make your app bullet proof, or at least resistant by testing the value to make sure you have what you think before using putInt. -John Coryat -- You received this message

[android-developers] MMS : Some comments, and a question

2010-07-26 Thread ADman
Hi all, As I continue my app development, I start to realise that working with MMS is very different from SMS. For sms, there is lot of sample code available that shows clearly how to respond to incoming/outgoing messages, which permissions to set, etc. However, for MMS, there is very little

[android-developers] Re: Android Market paid app download errors

2010-07-26 Thread Sam
Hi Edward From my experience this particular problem is not related to the app or the phone. There are occasionally glitches in the android market paid app download process. Some days these problems happen, most days they do not. Try asking your customers to try again later, or the next day.

[android-developers] Effect of copying assets in Internal memory?

2010-07-26 Thread garry
I wanna store large number of images and videos on the INTERNAL memory. I wanna know if there is some specific % size of memory that can be used or is it upto maximum? What effect it will cause? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: geoCoder: getFromLocationName ?

2010-07-26 Thread coy
On 25 jul, 23:31, TreKing treking...@gmail.com wrote: On Sun, Jul 25, 2010 at 12:32 PM, coy cawe...@gmail.com wrote: I need my application to search the web for SOMETHING in SOMEWHERE. Is there any way? Hit Google.com and parse the results? I didn't know that google.com displays results

Re: [android-developers] Effect of copying assets in Internal memory?

2010-07-26 Thread Mark Murphy
On Mon, Jul 26, 2010 at 2:36 AM, garry grv...@gmail.com wrote: I wanna store large number of images and videos on the INTERNAL memory. That is not a good idea. I wanna know if there is some specific % size of memory that can be used or is it upto maximum? It is up to the available space.

[android-developers] Re: How to register a long click on a WebView somewhere else than on links?

2010-07-26 Thread Tonny
You can use GestureDetector with function onLongPress. On Jul 26, 12:13 am, Sephy sephyroth6...@gmail.com wrote: I think everything is in the title. I have been searching for this problem for days, seen the question asked everywhere, but never answered. SO maybe someone here knows how to do

[android-developers] Query Google Maps

2010-07-26 Thread KG
Hi Everyone, I'd like to make an app that requires access to all (or many) search results of a maps query. For example, given the query http://www.google.com/maps?q=hotelmrt=ypradius=1sll=32.503478,-84.948322 the app would have the names/locations of the 49 results. Does anyone have any ideas

[android-developers] My MapActivity is not showing the map

2010-07-26 Thread Amit
Hi All, I am trying to create a sample application to explore Google maps through android. When I try to run the application I only get the blank grid. no map is displayed. If i see the DDMS logcat i get erros Couldn't get connection factory client. Please help me in this regard. Surprisingly

[android-developers] Hiding SMS notifications

2010-07-26 Thread Andrea Rota
Hello all, I am working on a research project and I need to write an Android application that is able to intercept SMS's and, according to their content, route them to a web services without showing any alert. I tried to register a broadcast receiver on the intent SMS_RECEIVED, but the default

Re: [android-developers] My MapActivity is not showing the map

2010-07-26 Thread Mark Murphy
On Mon, Jul 26, 2010 at 2:58 AM, Amit amitmishr...@gmail.com wrote: Hi All, I am trying to create a sample application to explore Google maps through android. When I try to run the application I only get the blank grid. no map is displayed. If i see the DDMS logcat i get erros Couldn't

[android-developers] Change application preferences programmaticaly

2010-07-26 Thread Andrea Rota
Hello all, I have been looking for a method to change the default SMS application's preference programmatically. I found that those preferences are stored as shared preferences, probably in data/data/com.android.sms/something.xml, but I am not able to get to that directory since I haven't rooted

[android-developers] Re: Android market rules are changed, you must accept it within 30 days but...

2010-07-26 Thread William Ferguson
That was my conclusion as well. The problem with that is that your target audience is now a great deal less. How many Android users (especially as Android phones becomes more mainstream) will venture outside of the offical Android market? And that's assuming that their phone can actually install

Re: [android-developers] J2ME

2010-07-26 Thread kavitha chidambaram
Hi All, the below link for converting J2ME application into Android application(.apk). Use this to run J2ME application on Android platrom. http://www.netmite.com/android/ http://www.netmite.com/android/srv/2.0/getapk.php Thanks, Kavitha On Fri, Jul 23, 2010 at 9:43 AM, perumal316

[android-developers] Re: My MapActivity is not showing the map

2010-07-26 Thread Amit
Dear Mark, I have done the change suggested by you and regenerated the API key as well but no success at all. I am putting the logcat on my system as well- Please help me as i can't move ahead unless is works for me. 07-26 13:15:30.971: ERROR/ActivityThread(781): Failed to find provider info

[android-developers] Re: 2.2 Google Api emulator not booting up

2010-07-26 Thread Tapomay
andywebsdale websdaleandrew at gmail.com writes: On Jun 2, 12:20 pm, Ashok Jeevan ashokjee...@gmail.com wrote: When I checked the log, it shows a MountService with message 'waiting too long for mReady!' What should be done inorder to boot the emulator? I'm having exactly the

Re: [android-developers] Change application preferences programmaticaly

2010-07-26 Thread Mark Murphy
On Mon, Jul 26, 2010 at 3:05 AM, Andrea Rota andrearota37...@gmail.com wrote: I have been looking for a method to change the default SMS application's preference programmatically. First, there is no single defalut SMS application. Each device may have different ones. Second, the AOSP Messaging

Re: [android-developers] Re: My MapActivity is not showing the map

2010-07-26 Thread Mark Murphy
On Mon, Jul 26, 2010 at 3:49 AM, Amit amitmishr...@gmail.com wrote: I have done the change suggested by you and regenerated the API key as well but no success at all. An incorrect API key or a missing/invalid INTERNET permission are the only two causes of missing map tiles that I know of, if

[android-developers] Re: Choosing an Image

2010-07-26 Thread Kumar Bibek
You should be better off using the Constants values available. RESULT_OK or RESULT_CANCELLED. Just a suggestion. -Kumar Bibek http://tech-droid.blogspot.com On Jul 24, 9:34 am, KG kevinconca...@gmail.com wrote: Never mind, I just realized that -1 is the correct value I want On Jul 23, 6:02 

Re: [android-developers] Re: Scanning a Text File In Android

2010-07-26 Thread anil kukreti
hmm.. My objective is to scan a text or image file and if there's any phone no present in that file i could call that no. through my app. Thanks On Mon, Jul 26, 2010 at 8:12 AM, TreKing treking...@gmail.com wrote: On Sun, Jul 25, 2010 at 1:33 AM, anil kukreti success.anil...@gmail.comwrote:

[android-developers] Re: Populating child list in Expandable lists using dynamic multidimensional arrays

2010-07-26 Thread AlanLawrence
Shouldn't you just override getChildrenCount(int) to return the number of children for that particular group, rather than the maximum over all groups? On Jul 26, 5:07 am, Pravin Parulekar pparu...@gmail.com wrote: Hello Gurus, I am using a simple expandable list that is populated by two arrays

[android-developers] Re: My MapActivity is not showing the map

2010-07-26 Thread Amit
Dear Mark, What does Failed to find provider info for com.google.settings means...does it implies that its not able to recognize my key to use google maps? On Jul 26, 1:06 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 26, 2010 at 3:49 AM, Amit amitmishr...@gmail.com wrote: I have

Re: [android-developers] Re: My MapActivity is not showing the map

2010-07-26 Thread Mark Murphy
On Mon, Jul 26, 2010 at 4:24 AM, Amit amitmishr...@gmail.com wrote: What does Failed to find provider info for com.google.settings means...does it implies that its not able to recognize my key to use google maps? This has nothing to do with your problem, AFAIK. -- Mark Murphy (a Commons Guy)

[android-developers] Re: Suggestions on howto start service without rebooting device

2010-07-26 Thread Bob Kerns
Well, OtherApp can't directly start the MapApp service, but it can wake up MyApp, which can then start it itself. In most cases, the ideal approach would be for OtherApp to start an activity in MyApp, which can then provide the user-interface to inform the user about what they've just installed,

[android-developers] Re: Android market rules are changed, you must accept it within 30 days but...

2010-07-26 Thread String
On Jul 25, 12:06 am, Zsolt Vasvari zvasv...@gmail.com wrote: Has the return policy gone from 1 to 2 days now, or has it always been worded like that? It's not new - I think the 48-hour policy was included in the last update to the agreement. AFAIK, though, the reality hasn't changed for Market

[android-developers] Re: What is a WeakReference?

2010-07-26 Thread Bob Kerns
Um, slightly too strong a statement. As soon as it's not used outside the cache, it's ELIGIBLE for garbage collection, which is likely to happen soon. There are times this is appropriate for a cache. If the objects you're likely to look up again, are also likely to still be live, but expensive

[android-developers] Re: Getting a FileDescriptor from a Socket

2010-07-26 Thread Alexandre Ferrieux
On Jul 24, 6:39 pm, Joseph Earl joseph.w.e...@gmail.com wrote: For accessing a private member you'd have to use Reflection. Can't help you on the first point though I'm afraid. Thanks anyway. The solution I've come up with, is to create a pair of connected LocalSockets in addition to my

[android-developers] Re: What is a WeakReference?

2010-07-26 Thread Bob Kerns
Actually, I would disagree with this characterization. In many cases, it's completely infeasible to maintain the information you'd need. For example, if you provide an API that accepts objects, and you maintain some internal information about them -- you have no opportunity to track the client's

[android-developers] ContactsContract.RawContacts two entry get Inserted for single contact why so ?

2010-07-26 Thread Atul Raut
Hi Google, Need some info on ContactsContract.RawContactshttp://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html : A row in the ContactsContract.RawContactshttp://developer.android.com/reference/android/provider/ContactsContract.RawContacts.htmltable

[android-developers] Re: My MapActivity is not showing the map

2010-07-26 Thread Amit
Dear Mark, I have tried the commons guy project as well by replacing my key. But still no successdon't know where is the problem :( On Jul 26, 1:29 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 26, 2010 at 4:24 AM, Amit amitmishr...@gmail.com wrote: What does Failed to find

[android-developers] Re: My MapActivity is not showing the map

2010-07-26 Thread Namrata
Amit, I m just curious about...are you signing your app with the same certificate as that of used for MD5 generation for Map Key? On Jul 26, 2:48 pm, Amit amitmishr...@gmail.com wrote: Dear Mark, I have tried the commons guy project as well by replacing my key. But still no successdon't

[android-developers] how to capture log messages to String

2010-07-26 Thread mkhwang
hi~ everyone. can I capture log messages to String? I have to assume some status via log message from another application. do you know? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] getCellLocation() returns null

2010-07-26 Thread Vinay S
Hi, I am trying to access the current cell location information. When I try to call getCellLocation() it returns null. I am unable to reason out this.. the same code works on 1.5 but fails on 1.6 or 2.1.(Tested on G1 with 1.6 and HTC legend 2.1). Can some one help me in correcting this bug? My

[android-developers] Re: My MapActivity is not showing the map

2010-07-26 Thread Amit
Dear All, finally i got the application to work successfully and see the map on my emulator. Here is how I have achieved it. Actually the debug.keystore that i was using was wrong. On my Windows XP system Earlier I was using the debug.keystore from the location - C:\Documents and Settings\Amit

Re: [android-developers] Re: dithering gradient on different devices

2010-07-26 Thread Martin Obreshkov
I also try to setDither(true) from java on G1 and the background was not dithered i could only get dithering by setting getWindow().addFlags(WindowManager.LayoutParams.FLAG_DITHER); On Fri, Jul 23, 2010 at 4:02 PM, Martin Obreshkov manig...@gmail.comwrote: Thanks for the reply :). But when i

[android-developers] Re: Effect of copying assets in Internal memory?

2010-07-26 Thread Joseph Earl
When your app is first launched download them to the SD card. On Jul 26, 7:36 am, garry grv...@gmail.com wrote: I wanna store large number of images and videos on the INTERNAL memory. I wanna know if there is some specific % size of memory that can be used or is it upto maximum? What effect it

[android-developers] Market comments disappearing over last few days

2010-07-26 Thread Geefer
Hi, every time I have looked at the market comments for my app over the last few days some more comments have disappeared. This is whether I look on the phone or on the developer console. Unfortunately the comments that Google has chosen to 'lose' are my most favourable comments leaving several

[android-developers] Re: What is a WeakReference?

2010-07-26 Thread DanH
That's odd, because Qt can do almost exactly the same stuff, without weak references or implicit garbage collection, using reference chains that the average user never has to think about. On Jul 26, 4:20 am, Bob Kerns r...@acm.org wrote: Actually, I would disagree with this characterization.

[android-developers] Problem uninstalling an Application package from Android device

2010-07-26 Thread Samuh
We have an application which on start up pulls up a Terms and Conditions screen. When the user declines these terms we have to ask the user if he wishes to delete the package. So, from within the application we launch the following intent: Uri uninstallUri = Uri.parse(package:some.package.name);

[android-developers] Re: Large jars in Android

2010-07-26 Thread DanH
Just a side note: You DO NOT want to install your own encryption code on the device! If you do you have to get export permission/ certification for your application from the guys in trench coats. (At least if you ever sell a copy outside the US.) On Jul 26, 12:03 am, Mark Murphy

Re: [android-developers] Effect of copying assets in Internal memory?

2010-07-26 Thread Webnet Android
On 26 July 2010 08:36, garry grv...@gmail.com wrote: I wanna store large number of images and videos on the INTERNAL memory. I wanna know if there is some specific % size of memory that can be used or is it upto maximum? What effect it will cause? Most probably your app end being rather

[android-developers] Re: Media streaming on Android

2010-07-26 Thread arsalank2
Thanks for the link, but the encoded video is not decoded by the Mediaplayer on some devices. Do you know precise details on codec which is correctly decoded by the Mediaplayer on every Android device? On Jul 19, 8:34 pm, nation-x shawn.payme...@gmail.com wrote: Themediaplayer streams videos

[android-developers] ContentProvider and query

2010-07-26 Thread Natanael Arndt
Hello, is it possible, to query an ContentProvider from within an other ContentProvider? Natanael -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] Re: Media streaming on Android

2010-07-26 Thread Alex Xin
Which format you tried to stream? If it's MP4, you need to hint that video in order to make it stream ready for RTP/RTSP/HTTP streaming. Use MP4Box to do that work On Mon, Jul 26, 2010 at 7:23 PM, arsalank2 arsala...@gmail.com wrote: Thanks for the link, but the encoded video is not decoded by

[android-developers] Re: Android Market, how do you manage license and piracy protection?

2010-07-26 Thread nation-x
See Keyes Labs Open Sources Licensing Solution: http://keyeslabs.com/joomla/ Or Artfulbits Android Anti-Piracy: http://www.artfulbits.com/Android/antipiracy.aspx Shawn On Jul 25, 1:59 pm, Pent tas...@dinglisch.net wrote: How do you protect your full copy from piracy? 1) Box in app to

[android-developers] Re: ContactsContract.RawContacts two entry get Inserted for single contact why so ?

2010-07-26 Thread Atul Raut
Some inf found on this thread : http://groups.google.com/group/android-developers/browse_thread/thread/77d579d60d803094?pli=1 http://groups.google.com/group/android-developers/browse_thread/thread/77d579d60d803094?pli=1 Regards Atul On Mon, Jul 26, 2010 at 3:03 PM, Atul Raut

[android-developers] Android 1.6, RTP live supported?

2010-07-26 Thread Yadnesh Phadke
Hi All, For quiet some time now I am trying to stream over RTP files on my machine to my Android device. I am using FFMpeg to do the task of reading media files and do the RTP packetization. I am using the FFServer to work as RTSP server for my stream. The stream Video is in H.264 format and

[android-developers] Re: Eclipse/Android environment issues

2010-07-26 Thread jack.n
[Solved] Found the Problems tab which indicated The project cannot be built until the build path errors are resolved. The resolution for this is at http://www.scottdstrader.com/blog/ether_archives/000921.html On Jul 23, 2:33 pm, jack.n cti1...@gmail.com wrote: I can't seem to get rid of the

[android-developers] Re: Blank black screen while transiting to new activity.

2010-07-26 Thread Shekhar
Hi Murphy, Thanks for your suggestion.I have observed that when I changed the activity launch mode to the standard the black screen is not observed(due to delay in the launch of the activity). I am interested to know if generally there is a delay observed in the the platform layer in the launch

[android-developers] Re: Getting a FileDescriptor from a Socket

2010-07-26 Thread Alexandre Ferrieux
On Jul 26, 11:09 am, Alexandre Ferrieux alexandre.ferri...@gmail.com wrote: On Jul 24, 6:39 pm, Joseph Earl joseph.w.e...@gmail.com wrote: For accessing a private member you'd have to use Reflection. Can't help you on the first point though I'm afraid. Thanks anyway. The solution I've

[android-developers] Blutooth API Problem

2010-07-26 Thread Sandeep
Hi All, In Android 2.1 can we suppress the pairing dialoge while exching data between 2 android devices using bluetooth API. or is there any way that programatically we can do this without the user interaction. thansk sandeep -- You received this message because you are subscribed to the

[android-developers] Re: Numeric Keypad on WebView

2010-07-26 Thread Vishal
I am still unsolved with this problem. Can anybody help me on this. At least can any one tell me how can I get event when focus goes to a Text box in WebView. Vishal On Jul 19, 10:38 am, Vishal k.vishaljais...@gmail.com wrote: Hi, Android 2.1 I am having a textbox in the the webview where

[android-developers] Re: Android market rules are changed, you must accept it within 30 days but...

2010-07-26 Thread gcstang
This tells you what changed exactly and why http://android-developers.blogspot.com/2010/07/adjustment-to-market-legals.html On Jul 26, 3:52 am, String sterling.ud...@googlemail.com wrote: On Jul 25, 12:06 am, Zsolt Vasvari zvasv...@gmail.com wrote: Has the return policy gone from 1 to 2

Re: [android-developers] Re: Android market rules are changed, you must accept it within 30 days but...

2010-07-26 Thread Greg Donald
On Mon, Jul 26, 2010 at 2:24 AM, William Ferguson william.ferguson...@gmail.com wrote: How many Android users (especially as Android phones becomes more mainstream) will venture outside of the offical Android market? My experience up to now has been almost zero. -- Greg Donald destiney.com |

Re: [android-developers] Re: Scanning a Text File In Android

2010-07-26 Thread TreKing
On Mon, Jul 26, 2010 at 3:14 AM, anil kukreti success.anil...@gmail.comwrote: My objective is to scan a text or image file and if there's any phone no present in that file i could call that no. through my app. Oh, you want to find phone *numbers*. Standard Java I/O and those regex classes

[android-developers] Re: Scanning a Text File In Android

2010-07-26 Thread bschuhma
Are you looking for Linkify, which uses built-in types or custom regexps to find the URLs, phone numbers, etc. in your text to make them clickable? If you linkify a phone number it becomes clickable so the user can call the number just by clicking (pressing) on it. Rgds, Bret On Jul 25, 2:33 

[android-developers] Re: Android market rules are changed, you must accept it within 30 days but...

2010-07-26 Thread Tomáš Hubálek
It is not only target audience but also supply. I'm from country that can't even sell. I have quite successful application (1300 users rated with more than 4,5 stars and I have a lot of positive comments) and currently I'm covering costs of support and development from donations. If Google does

[android-developers] Re: Android 1.6, RTP live supported?

2010-07-26 Thread Yadnesh
I came across a topic RTP stream video decoding (http:// groups.google.com/group/android-developers/browse_thread/thread/ f963e8f7ac35b75b/481c181362eaa66c?show_docid=481c181362eaa66c#) on this forum. Here I see a post stating: --

Re: [android-developers] Re: Android Market paid app download errors

2010-07-26 Thread TreKing
On Mon, Jul 26, 2010 at 1:27 AM, Sam samuel.law...@gmail.com wrote: There are occasionally glitches in the android market paid app download process. Occasional is a massive understatement. Try searching the Android Market Help forum for download unsuccessful, stuck authorizing, stuck

Re: [android-developers] Query Google Maps

2010-07-26 Thread TreKing
On Mon, Jul 26, 2010 at 1:55 AM, KG kevinconca...@gmail.com wrote: Does anyone have any ideas on how to do this? May not be the best way, but you have your query and you the page it gives you, which has links for the other pages with the remaining results. So parse the first page then follow

[android-developers] Re: Unparsed aapt error

2010-07-26 Thread Patrick Noffke
Are there any google devs on here? I get about one thanks a week (off list) for my post. Is there somewhere I can file this as a bug? Pat On Mon, Jul 26, 2010 at 6:01 AM, parag parag.shetgaon...@gmail.com wrote: thanks man, u really saved my time.. On Mar 16, 6:57 pm, Patrick Noffke

[android-developers] Hide context menu

2010-07-26 Thread André
Hello, I have a context menu that starts to do some calculations when you press one of the context menu items. Like this: case 0: { ... ... calculations(); ... ... return true;} While the calculations are made I have a progressbar that I want to show. The progressbar is called from the

Re: [android-developers] Hide context menu

2010-07-26 Thread TreKing
On Mon, Jul 26, 2010 at 8:21 AM, André pha...@hotmail.com wrote: Does anyone have an idea how to solve this problem? One word: AsyncTask. - TreKing

[android-developers] Regarding the surfaceview

2010-07-26 Thread ameya dandekar
Hi, I am currently working on the app in which my media player class is singleton, and i want to play the video files. I use surfaceView for the video display part. But the problem i m facing is when i change the orientation , the previous playback disappears (if was playing) and the new

[android-developers] Re: PV omx_test_app missing in Froyo source code

2010-07-26 Thread praji
Hi Guys, I got the problem. Its a mistake from my side. I was giving an MP4 container format stream(test.mp4) for the PV OMX mpeg4 component. We need to give elementary streams(e.g. test.m4v) for the component (M4V). Sorry for the confusions. Thanks, Prajeesh On Jul 21, 11:02 am, praji

[android-developers] Re: Code Coverage with EMMA or Ant

2010-07-26 Thread Robb G
I am also trying to accomplish the same thing. Any help would be greatly appriciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: Code Coverage with EMMA or Ant

2010-07-26 Thread Joseph Earl
Would EclEmma do? Code coverage tool for Eclipse based on EMMA: http://www.eclemma.org/ On Jun 24, 12:52 am, sirvalerius sirvaleriu...@gmail.com wrote: hi guys i'm tryng to do some testing in my android application, I've set-up my project in eclipse and I can successfully run my code. I've

[android-developers] Re: Android market rules are changed, you must accept it within 30 days but...

2010-07-26 Thread Pent
How many Android users (especially as Android phones becomes more mainstream) will venture outside of the offical Android market? My experience up to now has been almost zero. Mine is 1/6 (direct from website). Pent -- You received this message because you are subscribed to the Google

[android-developers] What are the supported formats over RTSP for the MediaPlayer?

2010-07-26 Thread Moto
Does anyone know what formats are supported by the MediaPlayer via RTSP? Would it be the same formats available as suggested by the phone manufactures and Android site? Thanks, -Moto -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Transfer database file to Android

2010-07-26 Thread Doug Gordon
Mark Murphy wrote: Another thought I've had is some way to store the converted file out in the cloud somewhere and then have my app retrieve it from there. That is probably the simplest for now. Any suggestions on what facilities are available out there for secure storage of files that can

[android-developers] Embeddable lightweight/simple webserver?

2010-07-26 Thread DanAtAndroid
I'm looking for an embeddable webserver for an android project I am working on. ijetty is to big for me, I'm just trying to serve some static content don't need an entire servlet container. Something like

[android-developers] How to specify a Serializable object in AIDL?

2010-07-26 Thread Jin Chiu
I'm need to pass Serializable objects to my remote service. Does AIDL have native support of Serializable objects, or do I need to write a Parcelable wrapper? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] CursorAdapter Problem

2010-07-26 Thread charles berman
can anyone tell me what im doing wrong with my cursorAdapter? its making my display choppy when i scroll. I used to have it within a getview but was ripped (rightfully so) on IRC several times because thats not the right place for it. Im still learning and just trying to correctly wrap my head

Re: [android-developers] Re: android.graphics.Path editor or SVG converter?

2010-07-26 Thread Anton Persson
Hi, sorry for the delay... There is a complete example in the repository. It shows how to load, and the render the SVG file to a canvas: http://bazaar.launchpad.net/~pltxtra/libsvg-android/main/annotate/head:/src/com/toolkits/libsvgandroid/HelloSvgCanvas.java

[android-developers] Re: use of fadeScrollbars

2010-07-26 Thread Mark Nuetzmann
yes. you would want to do that anyway. It is normally not a good idea for the layouts to butt right up against the side of the device. A little breathing room ads to the overall look of the app. The scrollbar simply displays over this 'whitespace' while scrolling and then disappears. thanks

[android-developers] Re: putInt force closes

2010-07-26 Thread scadaguru
John, Thanks for the reply. I am trying this app on Nexus One so it has WiFi. Your question about value being null is that you are referring that getApplicationContext() or getContentResolver() returns null? I will check out the values before passing to putInt. This fails on AVD also but I can

[android-developers] Creating build.xml stops Eclipse compilation

2010-07-26 Thread sasq
I use Eclipse for developing, but want a build.xml in my project so people can compile without it. However, after I create the ant file with android update project.., Eclipse refuses to run my code since it does not find a target in the ant file. Eclipse really shouldn't care about this since

[android-developers] Re: Unparsed aapt error

2010-07-26 Thread RichardC
b.android.com On Jul 26, 2:17 pm, Patrick Noffke patrick.nof...@gmail.com wrote: Are there any google devs on here?  I get about one thanks a week (off list) for my post. Is there somewhere I can file this as a bug? Pat On Mon, Jul 26, 2010 at 6:01 AM, parag parag.shetgaon...@gmail.com

[android-developers] Send/receiving files via Bluetooth

2010-07-26 Thread David Given
I would like my application to be able to send and receive files via OBEX on Eclair. We have our own IANA MIME type. My investigations of the (undocumented) Bluetooth APIs seem to suggest that Eclair is hard-coded to only allow transfers of images, audio and video. From the Bluetooth package

[android-developers] Re: Query Google Maps

2010-07-26 Thread JP
On Jul 25, 11:55 pm, KG kevinconca...@gmail.com wrote: I'd like to make an app that requires access to all (or many) search results of a maps query. This used to be part of the googlenav package, back when M3-rc37 of the SDK was out in 2007.

[android-developers] Re: CursorAdapter Problem

2010-07-26 Thread blcooley
For a CursorAdapter, you don't normally Override getView. Instead, you'll do all that work in bindView, which takes a Cursor as an argument (this Cursor is the one that you provide when you instantiate a new CursorAdapter for your ListView). So, basically, you can move your implementation of

[android-developers] Re: Wrapping content of a TableRow

2010-07-26 Thread Chris Stewart
Has anyone run into this? Could use any advice. :) Chris Stewart cstewart...@gmail.com On Sat, Jul 24, 2010 at 11:51 PM, Chris Stewart cstewart...@gmail.comwrote: I'm adding TableRow objects to my view dynamically based upon how many items are in a collection I've loaded. Everything loads

[android-developers] How to explicitly invoke AIDL compiler?

2010-07-26 Thread Jin Chiu
I'm using Eclipse with ADT to develop my project, but for some reason my AIDL files are not getting compiled into Java files. Is there a way to explicitly invoked the conversion of my AIDL files? -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Jerky Scrolling when using SimpleCursorAdapter with ListView

2010-07-26 Thread Quinn Rohlf
Is there any way that this could be a problem in the database rather than the listview? My query looks like this: Cursor c = mDB.query(DB_TABLENAME, new String[]{_id, ICONID, DATE, TITLE, URL}, null, null, null, null,DATE DESC); On Fri, Jul 23, 2010 at 12:59 PM, Quinn Rohlf qro...@gmail.com

[android-developers] Re: Android Market paid app download errors

2010-07-26 Thread Edward Falk
There are occasionally glitches in the android market paid app download process. There *were* occasional glitches in the market. Now they're continuous. My customers can't download the app and they've been trying for a week and nothing we've tried from either end helps. Try asking your

Re: [android-developers] Re: CursorAdapter Problem

2010-07-26 Thread charles berman
Brian, Thank you for the response. I previously had it setup as a SimpleCursorAdaptor and that is why i was using the getView(). I did as you suggested, Charles Berman On Mon, Jul 26, 2010 at 11:44 AM, blcooley blcoo...@gmail.com wrote: For a CursorAdapter, you don't normally Override

[android-developers] Re: runQueryOnBackgroundThread on cursoradapter doesn't get called?

2010-07-26 Thread Zvi
Anybody please? On Jul 25, 1:57 am, Zvi goo...@zvis.com wrote: Hi All, I have a listactivity as a startup screen in my application. Which is displaying database records using custom cursor adapter. On create I set the filterable flag - getListView().setTextFilterEnabled(true) My

[android-developers] INTENT_SEND and attached files

2010-07-26 Thread David Given
My app wants to send a data file by email. However, the data only exists inside the database. There is no physical file containing it. In order to make it possible to send this using INTENT_SEND, I need to return a file descriptor in ContentProvider.openFile(). This means I need to write my data

[android-developers] Calling a MapActivity from another activity

2010-07-26 Thread Pravin Parulekar
When I try the above, I get a class not found exception. I have included the required entry in manifest file. The code in current activity is as follows: Intent i = new Intent(MainListingA.this, DrawTheatreMap.class); try{ startActivity(i);

[android-developers] Re: Eclipse debugger is skipping instructions!

2010-07-26 Thread ClarkBattle
Great insights. I had broken everything out onto separate lines just to force the compiler to evaluate each separately. I never figured that it would get all smart and ignore what I wrote. I refactored the code and now it runs as expected. Clark -- You received this message because you are

Re: [android-developers] Re: Eclipse debugger is skipping instructions!

2010-07-26 Thread Kostya Vasilyev
FYI - these compiler optimizations especially affect scope-local variables. Sometimes it helps if you move variable declaration from local scope to function scope. 26.07.2010 21:46, ClarkBattle пишет: Great insights. I had broken everything out onto separate lines just to force the compiler

[android-developers] Re: HTC EVO can't see UDP broadcast packets?

2010-07-26 Thread JimmyC
Had the same symptom on my HTC Hero after upgrading to an Android 2.1 based ROM - phone could no longer see UDP broadcast traffic on wifi (also affected ICMP broadcast). Only just tracked it down to the wifi WPA utility '/system/bin/ wpa_supplicant' -- replaced it with a version from an Android

[android-developers] parseSDKContent failed Window 7 Netbook 32 bit Using Eclipse 3.5.2

2010-07-26 Thread Chris Maurer
Hi All, Everytime I try and setup a new Android project I get the error below. I have the JDK 1.6.21 installed and the Android SDK installed. I have Eclipse pointing to my SDK folder and have some target devices setup. Can anyone help with a fix for this error? parseSdkContent failed

[android-developers] Re: Steps/Procedure to add PayPal to existing Android mobile application

2010-07-26 Thread Pragati Ogal Rai
Please refer to the website x.com for detailed instructions. You can even ask questions to the developers there. There are numerous apps currently in market which have successfully integrated with PayPal. Good luck! On Jul 20, 6:22 am, Chiranjib banerjee.chiran...@gmail.com wrote: Hi , I am

[android-developers] Re: Weird sqlite behaviour. Can somebody explain?

2010-07-26 Thread Sarwar Erfan
Hi, Please look at this page: http://www.sqlite.org/datatypes.html Quote from the page: SQLite is typeless. This means that you can store any kind of data you want in any column of any table, regardless of the declared datatype of that column Look at Section 4 of the attached page. May be you

[android-developers] Re: How to end a child activity and return to parent activity?

2010-07-26 Thread Corsair
An activity has method finish. On 25 Лип, 14:21, Mystique joven.ch...@gmail.com wrote: Hi, I have a main screen with buttons to launch other subactivities. I have to press back button each time to go back to the main screen of my application. How do I finish a child activity and

[android-developers] Sharing code between applications

2010-07-26 Thread BogDan
Hello, I want to create a main service/application which will provide different functionalities to other applications. According to android docs I can use elements from an application/ service in other. A central feature of Android is that one application can make use of elements of other

[android-developers] Listening to camera image capture

2010-07-26 Thread thiago
I'm quite new to android development and I'm doing some experiments to try it out. Currently what I am trying to do is every time a picture is taken get it's file path. I understand that Broadcast Receiver is one way of implementing listeners in android. I successfully implemented one (which

  1   2   >