[android-developers] Re: ProGuard Integration?

2010-12-20 Thread DraganA
On Dec 7, 4:40 am, Xavier Ducrohet x...@android.com wrote: Michael, We're fixing ADT to properly report what the problem really is but we just noticed the .bat that proguard ships with doesn't support path with spaces. While you're at it, could you also fix dx.bat which also breaks on

[android-developers] Intent Filter for Media Player (Youtube Video Play)

2010-12-20 Thread sjor
Hi. I have developed my own media player and I want that when I want to watch a video from Youtube, it shall be opened from my app. At least, there should be a list of media apps on the view and I should be able to choose my app from the list. I don't know much about intent- filters. How can I

[android-developers] Paid app from UK.pls help

2010-12-20 Thread Atik
Hi, I have publish 1 paid app from UK., initailly the price was set to 0.75GBP, but later i tried to change the price and i wrote 0.99$ there, even i forgot the current currency of UK should be mentioned. so now my app is not visible on market. can any one tell me what should i need to do . i want

Re: [android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-20 Thread 苗鹏
could you share me your code?Thanks! 2010/12/20 James 030440...@163.com of course you can, On Dec 18, 9:25 am, 苗鹏 mp870...@gmail.com wrote: It is possible to connect simultaneously to multiple bluetooth devices? -- You received this message because you are subscribed to the Google

[android-developers] Change screen brightness in service

2010-12-20 Thread Katecca
Dear all, I could change the brightness in activity but I have no idea how to implement it by using service since I can't call getWindow().setAttributes(localLayoutParams) in service. Does anyone have idea about this? Thanks a lot -- You received this message because you are subscribed to the

[android-developers] Re: Fm Radio

2010-12-20 Thread wolf
thanks mr. Howard for your time, i don't remember what is HCI commands and i2s, can you help me ? hmmm, and is need to have this chip in the device ? and how i can use it ? via assembly language? i can't configure the BT or WLAN to use it and receive low frequency ? On Dec 19, 7:29 pm, Howard M.

[android-developers] Re: Fm Radio

2010-12-20 Thread wolf
thanks mr bob for your time, can i ask you what job you have? if you don't want don't tell me :) On Dec 19, 11:53 pm, Bob Kerns r...@acm.org wrote: I'm not about to spend my time on producing an example or even tracking it down, as I just don't have the time. But it looks like Gaz Davidson

[android-developers] Re: Illegal continuation byte in NewStringUTF

2010-12-20 Thread Luca Carlon
I suppose you were right. I changed the encoding the the string and it seems to be correct now. No more segfaults. Thanks! On Dec 16, 8:42 pm, ip332 iprile...@gmail.com wrote: There is nothing strange. You have a C string, something like that: char* fileName = Dracula Der Pfähler.mp3 When you

[android-developers] enable/disable check boxes

2010-12-20 Thread pramod.deore
Hi, In my application I have 3 a radio buttons 1. once 2. Daily 3. Weekly. and seven checkboxes from Monday to Sunday. Now what I want if user select weekly radio button then only checkboxes visible otherwise it must be dissabled. How to achieve this? Thanks in advance -- You

Re: [android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2010-12-20 Thread MrChaz
Aah, assumptions. Do you know if it'll be released as an ADP 4? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] I am getting keyDispatchingTImeout

2010-12-20 Thread Ravindra Chavan
Respected sir, I am woking on one app which fetching data from webpage through url using pattern matching and showing that data on the activity but while implementing pattern on android i am getting keyDispatchingTimeout I thought that i got this error due to main

[android-developers] KeyDispatchingTimeOut Error

2010-12-20 Thread Ravi
Respected sir, I am woking on one app which fetching data from webpage through url using pattern matching and showing that data on the activity but while implementing pattern on android i am getting keyDispatchingTimeout I thought that i got this error due to main

[android-developers] RemoteViews notification is not being displayed in notification window??

2010-12-20 Thread Pink
Hi, I want to display a radiogroup with 4 radio buttons in a notification. I am using RemoteViews to specify that radioGroup, but when i fire the notifcation i am able to see my icon in the status bar but not the notification in notification window. I am not setting

[android-developers] Re: Game pretty much like mine

2010-12-20 Thread Yahel
That's a bummer but : - Your competitor seems to be here for a long time, how come you didn't check before investing monthes ? - No one knows that your physics is better, no one really compares, you download a game, you play it - Your app doesn't show on the market on my nexus one from France.

[android-developers] Re: When will GoogleMap 3D API be released?

2010-12-20 Thread Hiro OKUYAMA
Hi TreKing, Thanks for response. I understood it. This was discussed recently in another thread - the response was there is no ETA. I searched this discussion by keyword Map. However, I couldn't find the thread. Please tell another thread URL. -- You received this message because you are

Re: [android-developers] Re: SQLite Encryption

2010-12-20 Thread Marco Oreste Migliori
Thx guys, I got SQLCipehr but I'm wondering if to add a key it's enough! I mean, let's say I have to create a new encrypted db, the following would be the steps needed using SQLCipher NDK: 1. Compiling and configuring SQLCipher to add it in my code using NDK. 2. *Create the db using the

[android-developers] Re: Fm Radio

2010-12-20 Thread wolf
thanks mr Gaz Davidson for your time, you help a lot too On Dec 19, 9:41 pm, Gaz Davidson garethdavid...@gmail.com wrote: The FM radio app which everyone is using was apparently created by Code Aurora (sourcehttps://www.codeaurora.org/gitweb/quic/la/?p=platform/packages/apps/F...),

[android-developers] Re: RemoteViews notification is not being displayed in notification window??

2010-12-20 Thread Pink
After looking at logcat i came to conclsion that RadioGroup can't be used in notifcation. This time i am using buttons and those appearing in notication window. I have registered pending intents for each button in my notification. But when i click any button, contentintent being raissed but

Re: [android-developers] Re: layout editor in 2.3 SDK sucks! Sorry but it does.

2010-12-20 Thread Xavier Ducrohet
I cannot reproduce that. Can you give me an example of what your layouts look like? On Sun, Dec 19, 2010 at 10:22 PM, Eong eong.c...@gmail.com wrote: Text view in merge block are still missing. On 12月16日, 上午8时47分, Xavier Ducrohet x...@android.com wrote: Hey everyone, we just released a

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread pramod.deore
should I check whether radio button (weekdays ) is selected or not. If suppose it is selected then create seven checkboxes in java? Or it is also possible to create checkboxes in .xml file? On Dec 20, 2:26 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi,            In my application I have

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread Sarwar Erfan
show and hide, use setVisible method. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread pramod.deore
Thanks Sarwar. It means Create seven checkboxes inside .xml file and in java code use setVisible method if weekdays radio button is selected. correct me if am I understood incorrectly. On Dec 20, 3:44 pm, Sarwar Erfan erfanonl...@gmail.com wrote: show and hide, use setVisible method. Regards

Re: [android-developers] layout editor in 2.3 SDK sucks! Sorry but it does.

2010-12-20 Thread brian purgert
I found this out after I've been working for a couple hours and got no work done lol. I thought I just dident remember how to work it lol. Im just going to revert back to 2.2 and then release my game in 2.3 -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread Sarwar Erfan
Yes. You can use setOnCheckedChangeListener event of the radio buttons. Then, in event handler, based on which radio button is selected, show or hide the checkboxes. This is the way I usually adopt in similar cases. Regards Sarwar Erfan -- You received this message because you are subscribed

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread pramod.deore
Ok Thank you Very much. On Dec 20, 3:52 pm, Sarwar Erfan erfanonl...@gmail.com wrote: Yes. You can use setOnCheckedChangeListener  event of the radio buttons. Then, in event handler, based on which radio button is selected, show or hide the checkboxes. This is the way I usually adopt in

[android-developers] Re: Building several versions of an app from the same source

2010-12-20 Thread Utumno
No, 99.44% of the code would be in the library. You need to implement value of one constant in the code in each APK project, plus your manifest to pick up your distinct packages. Ok done. It was a bit of work to split my code, create new repositories, etc etc, but it feels like a clean,

[android-developers] Sony Ericsson LiveView™ micro display SDK upgrade is released

2010-12-20 Thread Johan Abramsson
Due to a design error in the LiveView SDK, there is a risk that the plug-in icon of one installed plug-in can be overwritten by another installed plug-in. I.e. the same icon file is used on the SD card. The design error has been fixed and published on Sony Ericsson Developer World. Please go to

Re: [android-developers] Re: Game pretty much like mine

2010-12-20 Thread brian purgert
Thanks. The more I think about It, I don't think it will effect my game at all a good game is a good game. On Dec 20, 2010 4:36 AM, Yahel kaye...@gmail.com wrote: That's a bummer but : - Your competitor seems to be here for a long time, how come you didn't check before investing monthes ? -

Re: [android-developers] layout editor in 2.3 SDK sucks! Sorry but it does.

2010-12-20 Thread guillaume benats
You cannot judge a framework by the fact that you cannot use it with efficiency ;-) On Mon, Dec 20, 2010 at 11:51 AM, brian purgert brianpurge...@gmail.comwrote: I found this out after I've been working for a couple hours and got no work done lol. I thought I just dident remember how to work

[android-developers] DRM protection for multimedia/book contents in Android.

2010-12-20 Thread Sunil Deshpande
Hi, I want to know is there any DRM protection available in the Android? I want to use the DRM protection for my media contents downloaded through my application. So could someone help me? I need it very urgently. If you could give the library or API name, I would be very gratefull to you all.

[android-developers] Webservice calling problem with complex data type

2010-12-20 Thread Vaibhav Singh
Hello All Actually I am new to Android application development. I create java client from a wsdl link by using Ksoap2 tool but there is problem that I am not able to handel complex data type. here is a code snipt : HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8

Re: [android-developers] Re: App disappeared from Market Home

2010-12-20 Thread Ilya Shinkarenko
Well, right after another update the app has disappeared again. Moreover, it also disappeared from AppBrain page http://www.appbrain.com/app/com.tennismath.ui.android Isn't is great? :) BTW since still got no reply from Google support. This is really frustrating... On 19 December 2010 20:32,

[android-developers] Join Our Group

2010-12-20 Thread Maria
Join the best Google group with our 1200 members worldwide https://groups.google.com/group/lalay-ki-jan/subscribe === -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-20 Thread oriharel
I got myself ADT 9.0 working! great job you guys! On Dec 19, 5:05 pm, Cyril cyril.r...@gmail.com wrote: I confirm Xavier's solution. You can put a view inside a linearLayout, provided this layout is not empty and both width and height are NOT set to wrap_content. I fought hours before sorting

[android-developers] EditText background text

2010-12-20 Thread oriharel
Hi! Is there a way to set the background text of an EditText? for instance, I have a login screen with 2 EditText views, one for username and one for password. I want the text Username and Password be written inside the EditText, and once the user touches those the text disappears but once user

[android-developers] Incoming call Activity

2010-12-20 Thread doronguy
Hello All, Maby someone can address this issue: I have an activity that are activated on incoming call. the activity have a LinearLayout with ImageView and a Theme.Translucent.NoTitleBar. I wanna make the beneath call screen receive event's ? i can only receive events in the beneath call screen

Re: [android-developers] EditText background text

2010-12-20 Thread Kostya Vasilyev
Yes: android:hint=string or string reference -- Kostya 20.12.2010 15:32, oriharel пишет: Hi! Is there a way to set the background text of an EditText? for instance, I have a login screen with 2 EditText views, one for username and one for password. I want the text Username and Password be

[android-developers] Re: How to Customize android Os For supporting regional languages

2010-12-20 Thread kariyachan
Hi hal Thanks for the reply .That is really help full So I guess I just need to supply resources and change configuration then compile it right??.No need to change the Kernal On Dec 19, 1:33 am, Hal dsheppar...@gmail.com wrote: This is feasible. My phone is able to handle 2 languages. I

Re: [android-developers] Re: Project on Android

2010-12-20 Thread Chirayu Dalwadi
Hello, I have the basic knowledge about the Android SDK. I am working in a group of 2 and can individually devote 10 hours per week for 2 months. I need some ideas for what kind of application can be developed in the given amount of time. Thanks in advance. Regards, Chirayu Dalwadi -- You

[android-developers] Re: force resolution be be higher than 800*480

2010-12-20 Thread Warren
I'm really surprised this hasn't been added to the manifest as an option. Physical screen size, size in pixels, and density all seem like reasonable options for limiting supported screens. Warren On Nov 15, 11:24 pm, billconan billco...@gmail.com wrote: thank you. guess i will have to

[android-developers] DTMF uplink (in phone calls)

2010-12-20 Thread Lars Olsson
Hi, I am looking for an answer if it is possible to send(uplink) DTMF tones from a 3rd party app. to a ongoing phone call. Public API, Internal API? I have not found any direct information about this in the net. All hints are welcome. Cheers, lasse -- You received this message because you

[android-developers] Re: Android 2.3 not handling orientation change properly - screen is not redrawn

2010-12-20 Thread ymst
FYI this problem has been listed in the issue tracker http://code.google.com/p/android/issues/detail?id=13189 ymst -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Implementing Binder Interface

2010-12-20 Thread Vinay
I have created the class which implements the Binder interface(Service). I am able to send the data to it from client. If I want to send the asynchronous response back to client, do I need to implement Binder interface at client as well? With Regards Vinayakumara T V -- You received this

[android-developers] how to enable / disable USB dynamically in the program?

2010-12-20 Thread bharath
Hi all, I would like to know how to enable / disable the USB connectivity dynamically using code. Including USB tethering, mass storage and charging. Anybody have come across please let me know.. Thanks in advance.. -- You received this message because you are subscribed to the Google

[android-developers] Android source Build error

2010-12-20 Thread Quest
Hi Guys, I am getting build error while building the froyo source code along with my 3rd party external jar library. The error log is : No rule to make target `frameworks/base/data/etc/*.xml', needed by `out/target/product/generic/obj/ETC/*.xml_intermediates/*.xml I followed the following

Re: [android-developers] Re: When will GoogleMap 3D API be released?

2010-12-20 Thread TreKing
On Mon, Dec 20, 2010 at 3:38 AM, Hiro OKUYAMA okuoku...@gmail.com wrote: I searched this discussion by keyword Map. However, I couldn't find the thread. Please tell another thread URL. Goddamn I hate Google Groups. I can't find it either even searching the exact title. I don't understand

Re: [android-developers] My App should get information of every Http Get.

2010-12-20 Thread TreKing
On Mon, Dec 20, 2010 at 1:02 AM, chetan chetanchauha...@gmail.com wrote: I am planning to make an app. There is a requirement to get every Http Get information and notification to my App. Like user open google.com from borwser, at the same time my app should get notification or broadcast that

[android-developers] Android source

2010-12-20 Thread fourhend...@gmail.com
At source.android.com- browse the source or just cloning with GIT, is this gingerbread yet or froyo? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] How to stream video to android device over HTTP.

2010-12-20 Thread Thierry Legras
Hi, I would like to stream video files to Android device, and intend to integrate playback in my application. I first tried to use flash video streaming, which works pretty nice on my HTC Hero which integrated flash player, but now on Floyo ROM it does not work any more. I guess HTC player is

Re: [android-developers] about the market 15 minutes refund window

2010-12-20 Thread TreKing
On Mon, Dec 20, 2010 at 1:56 AM, nick nikolay.elen...@gmail.com wrote: So the question is: is the new refund window not active everywhere or is it just orders update only once a day? I believe it's the latter. Awesome, ain't it?

Re: [android-developers] Intent Filter for Media Player (Youtube Video Play)

2010-12-20 Thread TreKing
On Mon, Dec 20, 2010 at 2:04 AM, sjor sleche...@gmail.com wrote: How can I provide this in my manifest file? Google is your friend - the first hit for android youtube intent filter shows an example.

[android-developers] Its funny but irritating

2010-12-20 Thread ZeeZo
Hi Guys, Its a kind of strange for me.May b i am doing a blunder but i did my best but still getting this strange behavior.I have a byte[] of an image from onPreviewFrame method and i am writing that image in sd card as well sending that image from my mobile to PC through TCP.Now on PC i always

Re: [android-developers] Paid app from UK.pls help

2010-12-20 Thread TreKing
On Mon, Dec 20, 2010 at 2:16 AM, Atik atik0...@gmail.com wrote: i want the price should be set to 0.75 GBP. I don't think you specify the currency - at least for me the only option is USD. I assume yours shows GBP in the Developer Console. Just enter a value without any symbols. And this might

[android-developers] Re: Using NetworkUtils to add a new route

2010-12-20 Thread Norton Wu
Mauricio Andrada mauriciopati00 at gmail.com writes: Hi, We implemented a system applciation that must add a route to one of the existing network interfaces in the phone. We tried to use NetworkUtils.addHostRoute() but we get Operation Not Permited. We see that MobileDataStateTracker

[android-developers] How to select a Contact Group, so not to create an Invisible Contact ?

2010-12-20 Thread Christopher
I am running the Contact Manager sample app from the Android SDK. When I add a contact to my Gmail account, it gets added as an 'invisible contact'. I am assuming this is because I am not telling the contact which 'group' within the account it should be assigned to. I have been looking around for

Re: [android-developers] I am getting keyDispatchingTImeout

2010-12-20 Thread TreKing
On Mon, Dec 20, 2010 at 3:27 AM, Ravindra Chavan ravi.chavan...@gmail.comwrote: I thought that i got this error due to main thread. Is it like that? If you're reading data from the network on the main thread ... yes, that would probably cause an ANR.

[android-developers] Is it possible to create SQlite with pre-entered data?

2010-12-20 Thread Mystique
Hi, I want to create a SQlite db with pre-entered data so I can load them into a listview. How can this be done? Many thanks, CJ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] What is the structure of the Android PackageManagerService?

2010-12-20 Thread Geet
Hi, I would like to know , what are the sequence of steps that happen once the user clicks on the installApp?? I need to disable the installation of apps(when user tries to install the app by clicking on install), based on certain conditions, how can i do it?? Any suggestions will help.Thank you.

[android-developers] Re: Listview Row Animation

2010-12-20 Thread Petar K.
Hello Kostya, Thanks for the reply, I have been trying to do what you said but to no luck. Is there any piece of code you can direct me to, to see how can be done. Thanks On Dec 18, 6:26 pm, Kostya Vasilyev kmans...@gmail.com wrote: There is a way to interate currently visible items in a

Re: [android-developers] Is it possible to create SQlite with pre-entered data?

2010-12-20 Thread Kostya Vasilyev
I guess by pre-entered you mean that you created a SQLite database populated with data somewhere else (like your development system). You can add the database file to your application (res/raw or res/assets), then at runtime, first time the application is run, copy that file into your

[android-developers] Re: Is it possible to create SQlite with pre-entered data?

2010-12-20 Thread Mystique
Beautiful, thanks. :) On Dec 21, 12:29 am, Kostya Vasilyev kmans...@gmail.com wrote: I guess by pre-entered you mean that you created a SQLite database populated with data somewhere else (like your development system). You can add the database file to your application (res/raw or

Re: [android-developers] Re: Listview Row Animation

2010-12-20 Thread Kostya Vasilyev
Petar, It's something like this: 1: Call int getFirstVisiblePosition and int getLastVisiblePosition on the list view object. That's your range of currently visible items. 2: Next, iterate over this range of positions. 3: For each one, use getItemAtPosition or getItemIdAtPosition or use the

[android-developers] Android Market is broken (server error), can we get confirmation from Google that they are working on this issue?

2010-12-20 Thread Chister Nordvik
http://www.google.com/support/forum/p/Android+Market/thread?tid=5f475fcdfcc22233hl=en Our app has been gone from the market since Saturday along with a lot of other apps from other developers, and still we haven't heard anything from Google confirming that there is an issue with the new(?)

[android-developers] Re: Anyone know where I can buy NFC tags?

2010-12-20 Thread Vincenzo Manzoni
I am interested as well. So far, I found only websites that sell hundreds of tags, already written. On 18 Dic, 09:41, Ted tedpo...@gmail.com wrote: I'd like to buy some NFC tags for use with the Nexus S / Android 2.3.  Anyone know where I can fin such things?   What I'm hoping for is a way

Re: [android-developers] What is the structure of the Android PackageManagerService?

2010-12-20 Thread Dianne Hackborn
This group is for the SDK. Questions about the platform belong on android-porting or android-platform. On Mon, Dec 20, 2010 at 8:09 AM, Geet geetag...@gmail.com wrote: Hi, I would like to know , what are the sequence of steps that happen once the user clicks on the installApp?? I need to

Re: [android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2010-12-20 Thread Dianne Hackborn
No idea. On Mon, Dec 20, 2010 at 1:26 AM, MrChaz mrchazmob...@gmail.com wrote: Aah, assumptions. Do you know if it'll be released as an ADP 4? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Looking for ideas for Multipart Form Handling on Web Service

2010-12-20 Thread Kevin Tambascio
Hi, I'm playing around with writing a web service that runs on Android that handles uploading photos. I am only writing the server, and do not have any control over the client. Inside of the message is a small SOAP message, and then the binary data. I am trying to figure out if there's a

Re: [android-developers] Looking for ideas for Multipart Form Handling on Web Service

2010-12-20 Thread Kostya Vasilyev
Kevin, Have you seen this class: http://www.docjar.com/html/api/org/apache/commons/fileupload/MultipartStream.java.html I *think* its only dependencies are Java.io.* classes, and (in the current version) a couple of small utility classes. -- Kostya 20.12.2010 20:52, Kevin Tambascio пишет:

[android-developers] Re: ProGuard Integration?

2010-12-20 Thread H
Thanks for the suggestions Bob. I've just restarted eclipse and told it to open my project from docum~1 instead of Documents and settings. But when I try to do a proguard build, it still fails. In my windows temp folder I can find a new .pro file created and inside it I can find the following

[android-developers] Re: SQLite Encryption

2010-12-20 Thread DanH
Yeah, that's basically it. Once you open the DB and set the key the DB behaves just like any other SQLite DB. No extra steps are required beyond setting the key. (Well, except for the minor detail of customizing, compiling. building, installing, and debugging your SQLCipher port.) On Dec 20,

Re: [android-developers] Implementing Binder Interface

2010-12-20 Thread Mark Murphy
On Mon, Dec 20, 2010 at 9:22 AM, Vinay vnykm...@gmail.com wrote: I have created the class which implements the Binder interface(Service). I am able to send the data to it from client. If I want to send the asynchronous response back to client, do I need to implement Binder interface at client

[android-developers] Re: Listview Row Animation

2010-12-20 Thread Petar K.
Thanks Kostya it works great!! On Dec 20, 11:44 am, Kostya Vasilyev kmans...@gmail.com wrote: Petar, It's something like this: 1: Call int getFirstVisiblePosition and int getLastVisiblePosition on the list view object. That's your range of currently visible items. 2: Next, iterate over

[android-developers] Re: Who or What is AppBrain?

2010-12-20 Thread Brill Pappin
I gotta' say, that I'm happy I read this thread! I've claimed my apps, and I can now get a lot of data that I was missing from the Market... for instance I can now see that 60% of my users are on Android 2.2 and that the next largest install base after English is Italian (I never would have

[android-developers] How to read current localization state?

2010-12-20 Thread rnstewart
I am working on localizing my app, and I understand how to handle resources -- that's going very well. However, I also need to have some conditional logic in my code that will read the current localization setting and choose what information to present to the user based on what their default

[android-developers] Re: Looking for ideas for Multipart Form Handling on Web Service

2010-12-20 Thread Brill Pappin
I recommend Jersey REST API for this kind of thing. I do multipart submissions all the time with it... although I never use SOAP (only JSON between mobile app and server). - Brill Pappin On Dec 20, 12:52 pm, Kevin Tambascio kevin.tambas...@gmail.com wrote: Hi, I'm playing around with writing

[android-developers] KillProcessesWithOpenFiles

2010-12-20 Thread John
My app has an open file handle on the sdcard. If it's plugged into the PC via USB, I can mount the sdcard on the PC and my app closes. The logcat info has this line: KillProcessesWithOpenFiles /sdcard Is this expected behavior? Is there some event I can capture to gracefully close? -- You

Re: [android-developers] Re: Who or What is AppBrain?

2010-12-20 Thread Stephen Jungels
Don't get *too* happy. When AppBrain reports (for example) your install base in Italy, what it is really reporting is a combination of your install base in Italy, and AppBrain's install base in Italy. AppBrain is itself an Android App, and the detailed stats it reports pretty much have to be

[android-developers] Cost effectiveness of JSON in Android

2010-12-20 Thread Leon Moreyn-Android Development
I am working on replacing JSON and direct connection to database. I know using direct connection to database is extremely costly in android since I need to call on much the java library to so. And the only replace for such costly processing would be to put the burden onto something else like a

[android-developers] Media player problems with android 2.3 (gingerbread), I can't open a service connection....

2010-12-20 Thread neuromit
I'm trying to setup a service connection to control the stock android media player. This works great under 2.1 and 2.2. However, when I tried to run my application on the 2.3 emulator my application crashes and I get the following error: ERROR/AndroidRuntime(466): Caused by:

[android-developers] Re: SQLite Encryption

2010-12-20 Thread ip332
There is also another opportunity: to use a standard encryption (javax.crypto.spec.DESKeySpec for example) to encode only some critical fields in SQLlite table and leave the tables, indexes and other non-critical fields open. In this case the critical fields should be encoded and stored as blobs

Re: [android-developers] Re: In-App payment optionss

2010-12-20 Thread J Handal
On Dec 20, 2010 2:43 AM, Tauno Talimaa tau...@gmail.com wrote: Just to clarify, Rovio is using in-app payments from Fortumo (http://fortumo.com/in-app-payments) - and that's available to 3rd parties already right now :) On Fri, Dec 17, 2010 at 5:32 PM, JP joachim.pfeif...@gmail.com wrote:

Re: [android-developers] Media player problems with android 2.3 (gingerbread), I can't open a service connection....

2010-12-20 Thread Mark Murphy
Please understand that this is not part of the Android SDK. According to the source code, it is not exported, and therefore is not available outside of its process. On Mon, Dec 20, 2010 at 3:43 PM, neuromit stuart.lay...@gmail.com wrote: I'm trying to setup a service connection to control the

[android-developers] Re: App disappeared from Market Home

2010-12-20 Thread Jeff
My app came back. I tried to update and fix the category bug. And then it disappeared again. So the lesson here is don't update your app or save any changes to the console for awhile. Jeff --- www.trackaroo.com Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On

[android-developers] How to check if background data is enabled?

2010-12-20 Thread Achie
I want to check if the user enabled background data on his/her device and display a message if it is disabled. How can I check if it has been enabled? I tried Settings.System.getString(getContentResolver(), Settings.Secure.BACKGROUND_DATA); and Settings.Secure.getString(getContentResolver(),

Re: [android-developers] How to check if background data is enabled?

2010-12-20 Thread Mark Murphy
Use getBackgroundDataSetting() on ConnectivityManager. If you really feel you need to get it from Settings, use: Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.BACKGROUND_DATA, 1) == 1 to get a boolean indicator. On Mon, Dec 20, 2010 at 5:07 PM, Achie

Re: [android-developers] How to check if background data is enabled?

2010-12-20 Thread Kostya Vasilyev
It's in ConnectivityManager, there is also a broadcast for when the user changes this setting. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 21.12.2010 1:08 пользователь Achie krishna.acha...@gmail.com написал: I want to check if the user enabled background data on his/her device and

[android-developers] Re: How to check if background data is enabled?

2010-12-20 Thread Achie
Thank you guys that worked. ConnectivityManager cm = (ConnectivityManager) getSystemService(this.CONNECTIVITY_SERVICE); boolean bgData = cm.getBackgroundDataSetting(); On Dec 20, 3:14 pm, Mark Murphy mmur...@commonsware.com wrote: Use getBackgroundDataSetting() on ConnectivityManager. If you

[android-developers] Re: SQLite Encryption

2010-12-20 Thread DanH
It's considerably less secure, for a number of reasons, but likely that's not a big deal. It would be nice, though, if the phones included SQLCipher in their standard loads. The cipher stuff adds very little to the overall size and slowness of SQLite, and it need not be used, even if installed

Re: [android-developers] KillProcessesWithOpenFiles

2010-12-20 Thread Dianne Hackborn
Yes when the sd card is unmounted any processes that have open files on it need to be killed so the filesystem can be cleanly shut down. You can listen for the external storage status broadcasts as per android.os.Environment to find out when it is being unmounted. On Mon, Dec 20, 2010 at 11:53

Re: [android-developers] MMS messages

2010-12-20 Thread Yves Liu
Anyone knows? On Sat, Dec 18, 2010 at 3:10 PM, yves...@gmail.com yves...@gmail.comwrote: Hi I use android.provider.Telephony.SMS_RECEIVED to listen to new SMS message received. But what should I use to listen to MMS message received? Thanks -- You received this message because you are

[android-developers] Re: ProGuard Integration?

2010-12-20 Thread Bob Kerns
Ah. I did my test from the command line, rather than from Eclipse. cd testpr~1 ant release If doing it that way works for you, you can set up an ant launcher for Eclipse that invokes it in the same manner. If this works for you, and you can't figure out how to set up a suitable launcher to do

[android-developers] Re: Who or What is AppBrain?

2010-12-20 Thread manu_bet
but, i havo to install appbrain app in my mobile to use appbrainweb as developer? I have just register at webpage, i have already received the confirm mail, now i've claim my app and tell me An email was sent to you. Please click the link in that email to enable the developer access. but i

Re: [android-developers] Re: App disappeared from Market Home

2010-12-20 Thread TreKing
Which browser are you guys using? I had an issue updating yesterday where it wouldn't accept my hi-rez icon on Firefox and gave me some strange JSON parsing error when I uploaded my app. Everything went fine when I used Chrome instead. I think it's a cheap way to get people to use Chrome :-P

[android-developers] Re: SQLite Encryption

2010-12-20 Thread Zsolt Vasvari
Of course, only encrypt individual fields if you don't use ORDER BY clauses on them. On Dec 21, 4:46 am, ip332 iprile...@gmail.com wrote: There is also another opportunity: to use a standard encryption (javax.crypto.spec.DESKeySpec for example) to encode only some critical fields in SQLlite

[android-developers] Re: App disappeared from Market Home

2010-12-20 Thread Jeff
I've always used Chrome. At least for this 'update app or save' issue, I don't think it's due to the browser. I did get a second follow-up, canned reply from Google: 'Hello, Thank you for taking the time to write to us. Our team is currently investigating your report. We hope to have a

[android-developers] Re: about the market 15 minutes refund window

2010-12-20 Thread Zsolt Vasvari
It's still exactly like before. The orders get updated with the 24hr+ rolling schedule. On Dec 20, 11:22 pm, TreKing treking...@gmail.com wrote: On Mon, Dec 20, 2010 at 1:56 AM, nick nikolay.elen...@gmail.com wrote: So the question is: is the new refund window not active everywhere or is it

[android-developers] Re: Its funny but irritating

2010-12-20 Thread Bob Kerns
I don't spot your problem, but I have a few suggestions. 1) String.format(sdcard/billa31.jpg, System.currentTimeMillis()) doesn't make any sense. Perhaps you wanted something like this: String fname = String.format(billa%d.jpg, System.currentTimemillis()) File outfile = new

[android-developers] Prevent an Android Service from getting destroyed after an unbind

2010-12-20 Thread Kalyan Akella
Hi, I have a scenario which requires the Android service from not getting destroyed when the Activity that started it (through bindService) calls the unbind. Here it goes... Step1: The main activity A, starts and renders the UI which contains some text and a button B. Step2. Inside the

[android-developers] Your apps

2010-12-20 Thread brian purgert
So I have some questions for you guys: What's apps have you made or are working on? How long it is take and also how to thought of the idea? What was the hardest problem you have overcame? And what problems are you still facing facing? Also anyother additional information maybe hints or tricks...

[android-developers] Re: SQLite Encryption

2010-12-20 Thread DanH
And, if you encrypt individual fields, include a record number or maybe an incremented-every-update serial number in each field and include that ahead of the to-be-encrypted field when you encrypt the data. This greatly improves the encryption strength. On Dec 20, 5:21 pm, Zsolt Vasvari

  1   2   >