[android-developers] Error in code java.lang.NoClassDefFoundError: com.google.gdata.data.media.MediaSource.

2013-02-28 Thread Milind
Dear All, I have following error while running my Android code to connect Picasa web album. E/AndroidRuntime(4008): FATAL EXCEPTION: main E/AndroidRuntime(4008): java.lang.ExceptionInInitializerError . . . E/AndroidRuntime(4008): Caused by: java.lang.NoClassDefFoundError:

[android-developers] Re: DatePicker

2013-02-28 Thread skink
Arun Kumar K wrote: Hi Guys, I want to show only year and month in datepicker how can i do that one you can't do that unless you write your own picker pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] USB host

2013-02-28 Thread Marta Ribeiro
I am connecting the OTG micro B/USB B cable to an USB A/RS232 cable. Any help you can provide I would appreciate! On Wednesday, February 27, 2013 7:03:51 PM UTC, Tux wrote: Hi, what kind of sensor are you using and what protocol (RS232, HID or plain USB) is used? I played around with some

[android-developers] Hearing Aid

2013-02-28 Thread Shaik Shabana
Hi, I want to work on Smart Hearing aid, wherein I can use the mobile as my hearing aid. Pls let me know how to start this. Thanks!! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] USB host

2013-02-28 Thread al
I would first check the hardware/cable etc. e.g. with the app USB Device Info https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator If you can see your device in the android tab, then you are right and it's a software issue. I'm not sure about the device_filter.xml. Do

[android-developers] Android security and file lock.

2013-02-28 Thread Numair Qadir
I want to create a application in android which can put a lock(password) on Home Screen, Application, Gallery and Files. For home screen, I can make a home screen widget that will launch on device boot. For Apps I can use following solution, Android Lock

Re: [android-developers] Detect activity was started by the Android launcher

2013-02-28 Thread dashman
Any system launcher is fine. What I'm trying to solve is the piracy issue. i.e. someone just wrapping my app and launching it. i want to disable that. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Android Clickable Images inside TextView

2013-02-28 Thread Mustafa Musa ÜLKER
Hello, How can I create clickable images inside TextView? I've searched ClickableSpan but how can I catch different images' click events? (I need to show contents which contains images and texts in different position, the content doesn't have a template like structure, so I cannot design a

Re: [android-developers] USB host

2013-02-28 Thread Marta Ribeiro
Yes I can see my device. regarding the device file, it is in decimal, which I've head is the correct way. I've check the values with the output of the application and after a conversion hexadecimal to decimal it's a match. Right now,I'm starting to thing the issue may be the usb.host

Re: [android-developers] USB host

2013-02-28 Thread Marta Ribeiro
Additionally, I just noticed something, the application presents two tabs: Android plus Linux. According to android i have no devices connected. Whereas in the linux tab i find my device. Is this indicative of something? On Thursday, February 28, 2013 1:40:35 PM UTC, Marta Ribeiro wrote: Yes

Re: [android-developers] Detect activity was started by the Android launcher

2013-02-28 Thread Mark Murphy
On Thu, Feb 28, 2013 at 7:46 AM, dashman erjdri...@gmail.com wrote: Any system launcher is fine. What about users who download their own home screen app? What about users who click on an entry in the recent-tasks list? Or click on one of your notifications? Or click on one of your app widgets?

[android-developers] Re: Android AutocompletTextview to have some prefix and then suggest

2013-02-28 Thread bob
It is done like this: public class CountriesActivity extends Activity { protected void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.countries); ArrayAdapterString adapter = new ArrayAdapterString(this,

[android-developers] Re: DatePicker

2013-02-28 Thread bob
I would say there are two viable options: 1. Subclass DatePicker 2. Take the source of DatePicker and rename the class MyDatePicker and modify it as needed. On Thursday, February 28, 2013 12:27:35 AM UTC-6, Arun Kumar K wrote: Hi Guys, I want to show only year and month in

[android-developers] Re: http in Android

2013-02-28 Thread bob
I like to use *java.net.Socket* (for http) It might be too low-level for some folks though. On Wednesday, February 27, 2013 8:17:50 PM UTC-6, dashman wrote: What's the recommended api for doing http/https in Android. I think there's 2-3 of them. -- -- You received this message

[android-developers] two activities running at same time

2013-02-28 Thread g...@deanblakely.com
I have an app with a main activity that has no visible interface (android:theme=@android:style/Theme.NoDisplay). The app is started by receipt of an SMS message in a BroadCast activity which kicks off another activity (also no GUI) that does work and then sends an SMS message. It works very

Re: [android-developers] Detect activity was started by the Android launcher

2013-02-28 Thread Kristopher Micinski
Mark's right, this is a complete nonsolution to the piracy issue. Kris On Thu, Feb 28, 2013 at 7:46 AM, dashman erjdri...@gmail.com wrote: Any system launcher is fine. What I'm trying to solve is the piracy issue. i.e. someone just wrapping my app and launching it. i want to disable that.

Re: [android-developers] Re: http in Android

2013-02-28 Thread Kristopher Micinski
That doesn't really make sense if you want to send well formed requests to web services. If you do choose to do this, you'll be duplicating the effort of a well tested performance tuned http clients... Kris On Thu, Feb 28, 2013 at 10:14 AM, bob b...@coolfone.comze.com wrote: I like to use

Re: [android-developers] Re: http in Android

2013-02-28 Thread G. Blake Meike
oh bob. how very butch. The last para of the posting that TreKing cites gives the answer: in old versions of Android, the Apache libs worked better. In post HC, the Java ones work better. If you happen to be using Android Spring, it chooses the correct implementation based on runtime

[android-developers] Cloning an AVD on the command line

2013-02-28 Thread Lindley
I want to create a new AVD on the command line based off of an existing AVD. It doesn't necessarily need the exactly same user data etc but at least the same target settings and display resolution etc. Previously, I had just done a cp -r on the source AVD and this worked fine. After some

Re: [android-developers] USB host

2013-02-28 Thread Tux Leonard
Could you tell us what sensor and what RS232-USB device you are using? A scrennshot of the output of your app could also help. Roy 2013/2/28 Marta Ribeiro martacunharibeir...@gmail.com Additionally, I just noticed something, the application presents two tabs: Android plus Linux. According to

Re: [android-developers] Detect activity was started by the Android launcher

2013-02-28 Thread dashman
ok - message received. on to other things... On Thursday, February 28, 2013 11:25:47 AM UTC-5, Kristopher Micinski wrote: Mark's right, this is a complete nonsolution to the piracy issue. Kris On Thu, Feb 28, 2013 at 7:46 AM, dashman erjd...@gmail.com javascript: wrote: Any system

[android-developers] Adopting Android 4.0+ ONLY app development policy with an app currently supporting 2.1+?

2013-02-28 Thread Darren McEntee
Hi everyone, I'll cut right to the chase... I have an app live in the Google Play store that supports Android 2.1+ I'm seriously thinking about adopting an Android 4.0+ ONLY app development policy. Fragmentation is doing my head in trying to support legacy devices, i just don't think its worth

[android-developers] Re: Adopting Android 4.0+ ONLY app development policy with an app currently supporting 2.1+?

2013-02-28 Thread Jonathan S
If this is for ActionBar, you could use Actionbarsherlock https://github.com/JakeWharton/ActionBarSherlock On Thursday, February 28, 2013 3:11:05 PM UTC-5, Darren McEntee wrote: Hi everyone, I'll cut right to the chase... I have an app live in the Google Play store that supports Android 2.1+

[android-developers] ListView background

2013-02-28 Thread bob
When I'm scrolling my white ListView, for some reason, the background turns black. Any ideas what could cause this? Thanks. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] ListView background

2013-02-28 Thread Romain Guy
Hey bob, Here's a blog post I wrote on the topic a while back: http://android-developers.blogspot.com/2009/01/why-is-my-list-black-android.html On Thu, Feb 28, 2013 at 12:18 PM, bob b...@coolfone.comze.com wrote: When I'm scrolling my white ListView, for some reason, the background turns

[android-developers] Re: Adopting Android 4.0+ ONLY app development policy with an app currently supporting 2.1+?

2013-02-28 Thread RichardC
See in-line: On Thursday, February 28, 2013 8:11:05 PM UTC, Darren McEntee wrote: (1) will the current users of the app just not get the updates from that point until they update their Android OS version Current users will not receive any updates, and the play interface will warn you that

[android-developers] Google Maps Overlays

2013-02-28 Thread Rahul Shukla
Hi, I am about to develop an Android app in which requires the data and graphics of my app has to be layered on top of Google Maps. Is it possible ? ( I don't know the what all is possible with Google maps) What are the best sources from where i can see the best practices for using Google Maps

Re: [android-developers] Google Maps Overlays

2013-02-28 Thread TreKing
On Thu, Feb 28, 2013 at 3:16 PM, Rahul Shukla rahul12.shu...@gmail.comwrote: What are the best sources from where i can see the best practices for using Google Maps for development. Have you considered reading the documentation for Google Maps?

Re: [android-developers] two activities running at same time

2013-02-28 Thread TreKing
On Thu, Feb 28, 2013 at 9:53 AM, g...@deanblakely.com g...@deanblakely.comwrote: I'm just curious why this works. I'm curious why you think it wouldn't. - TreKing

Re: [android-developers] How to schedule a daily popup dialog box even when the app may not be running...?

2013-02-28 Thread don rhummy
Yes, the alarm manager will schedule it and then you can create an activity to be called with Theme.Dialog. From: TreKing treking...@gmail.com To: android-developers@googlegroups.com Sent: Wednesday, February 27, 2013 11:29 PM Subject: Re:

Re: [android-developers] Hearing Aid

2013-02-28 Thread TreKing
On Thu, Feb 28, 2013 at 4:17 AM, Shaik Shabana shabana.sh...@gmail.comwrote: I want to work on Smart Hearing aid, wherein I can use the mobile as my hearing aid. Pls let me know how to start this. http://www.catb.org/esr/faqs/smart-questions.html

Re: [android-developers] Google Maps Overlays

2013-02-28 Thread Rahul Shukla
yes I know about the documentation but the practices while implementing keep changing over time so i wanted to know the latest stuff that is being followed or is apt. On Fri, Mar 1, 2013 at 3:06 AM, TreKing treking...@gmail.com wrote: On Thu, Feb 28, 2013 at 3:16 PM, Rahul Shukla

Re: [android-developers] Google Maps Overlays

2013-02-28 Thread TreKing
On Thu, Feb 28, 2013 at 3:45 PM, Rahul Shukla rahul12.shu...@gmail.comwrote: yes I know about the documentation but the practices while implementing keep changing over time There was the old Google Maps API and (about 3 or 4 years later) there is the latest one. It's not really changing over

[android-developers] Re: New SDK release for Egnos

2013-02-28 Thread Leonardo Costa
Hello, I'm back as promised with some additional info. The EGNOS SDK allows you as a developer to use EGNOS in smartphones without needing an extensive knowledge of GPS positioning. The position obtained by the GPS receiver in the smartphone is enhanced thanks to EGNOS satellites, or

[android-developers] Re: Google Maps Overlays

2013-02-28 Thread bob
I think you can create a MapView. Then maybe you can layer a View on top of that? On Thursday, February 28, 2013 3:16:25 PM UTC-6, Rahul Shukla wrote: Hi, I am about to develop an Android app in which requires the data and graphics of my app has to be layered on top of Google Maps.

Re: [android-developers] USB host

2013-02-28 Thread Tux Leonard
I am a little confused that you can see your sensor device in the device info. When I look at the data sheet I see that your sensor has a RS232 interface. In the device info you should see something about the USB-RS232 converter (for example FTDIxxx) and not the sensor info. In my case I get the

Re: [android-developers] USB host

2013-02-28 Thread Marta Ribeiro
I can´t, with this app i get no device is connected. What would be the difference between this app and the last one? On Thursday, February 28, 2013 10:02:41 PM UTC, Tux wrote: I am a little confused that you can see your sensor device in the device info. When I look at the data sheet I see

Re: [android-developers] USB host

2013-02-28 Thread Tux Leonard
This app can open a serial connection if a working USB-RS232 device is detected. The other app only shows the infos. Do you have an other USB-RS232 converter? This one is not supported by android/Linux. Just to make shure that your OTG cable is ok. Can you connect a USB mouse or keyboard to your

Re: [android-developers] USB host

2013-02-28 Thread Marta Ribeiro
Yes I have tried and it works perfectly. The mouse and keyboard are instantaneously operational. I'll try to find another USB-RS232 converter. But apart from experimenting with them, which other way can I know if a cable is supported by android/Linux? Thank you for your help! On Thursday,

Re: [android-developers] USB host

2013-02-28 Thread Tux Leonard
Look for a device with a FTDI chip. You also could write your own Linux driver that supports your USB-RS232 chip and then get it working in your phone. So a little try and error is much faster. When you've done this, you need to implement the serial protocol of your sensor. Is this sensor

Re: [android-developers] USB host

2013-02-28 Thread Tux Leonard
The IOIO device works in any case. And you can connect it via Bluetooth (with a little try and error for the right BT dongle :-)) 2013/3/1 Tux Leonard tuxl...@gmail.com Look for a device with a FTDI chip. You also could write your own Linux driver that supports your USB-RS232 chip and then

Re: [android-developers] Hearing Aid

2013-02-28 Thread Lew
TreKing wrote: Shaik Shabana wrote: I want to work on Smart Hearing aid, wherein I can use the mobile as my hearing aid. Pls let me know how to start this. http://www.catb.org/esr/faqs/smart-questions.html http://www.patriciashanahan.com/beginner.html -- Lew -- -- You received

[android-developers] Might locationManager requestLocationUpdates / removeUpdates for dynamic config cause the GPS to completely stop working?

2013-02-28 Thread Lindsey Simon
I've got an app where we want to have dynamic values for minTime and minDistance depending on someone's proximity to their destination. To accomplish this I'm just calling removeUpdates and then requestLocationUpdates after a period with different values. We pause anywhere from 15seconds to 3

[android-developers] Re: Might locationManager requestLocationUpdates / removeUpdates for dynamic config cause the GPS to completely stop working?

2013-02-28 Thread Lindsey Simon
I should add that while no other app can get a location, it seems like Google Maps is working aok. On Thursday, February 28, 2013 6:14:33 PM UTC-8, Lindsey Simon wrote: I've got an app where we want to have dynamic values for minTime and minDistance depending on someone's proximity to their

[android-developers] binding AppWidget on system lockscreen with android.permission.BIND_APPWIDGET

2013-02-28 Thread futurexiong
I develope a lockscreen app which installed in system/app,the app has permission:android.permission.BIND_APPWIDGET and android:sharedUserId = android.uid.system. In my app I would bind system music appwidget as default.And if I run it just as a system app,it runs properly and binds widget

[android-developers] Re: Hearing Aid

2013-02-28 Thread John Coryat
Just from a technical standpoint, a smartphone held in your hand, is never going to be a satisfactory hearing aid. The original hearing aids were pretty much exactly what you're describing. A box, usually held in one's shirt pocket, that transmitted sound through a wire to a small speaker in

[android-developers] Reading User Account From Settings

2013-02-28 Thread Milind
Hello, I am creating application which uses users credential to communicate with web servers. What I want to do is retrieve logged in users username and password from accounts settings or use authority of this account to communicate with my server. How can I take such authorization or it will

[android-developers] Hearing Aid

2013-02-28 Thread Shaik Shabana
Thanks John for your reply. Can you pls let me know how can I proceed now? Thanks! Shabana 9701055536 -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] Hearing Aid

2013-02-28 Thread Parthi K
Wt hearing Aid? Thanks Regards, Parthiban.k Software Engineer Mode FinServer Pvt. Ltd. Cell: +7204205850 Email: parthisof...@gmail.com shoaibj...@gmail.com |parthiban.k @modefinserver.com shoai...@modefinserver.com On Fri, Mar 1, 2013 at 10:53 AM, Shaik Shabana shabana.sh...@gmail.comwrote:

[android-developers] ArrayAdapter Vs BaseAdapter.

2013-02-28 Thread Seshu
Hi All, I want to show some students information i.e. id, name, address and contact number in listview. Which Adapter should i use here i.e, ArrayAdapter or BaseAdapter. What's the major difference between them. Thanks and Regards, S.Seshu. -- -- You received this message because you

[android-developers] Re: Hearing Aid

2013-02-28 Thread Lew
Shaik Shabana wrote: Thanks John for your reply. Can you pls let me know how can I proceed now? Didn't he just? He described the shortcomings of the smartphone as a hearing aid and suggested that you proceed to investigate the history and state of the art of hearing aids. If I read his

Re: [android-developers] ArrayAdapter Vs BaseAdapter.

2013-02-28 Thread Parthi K
http://www.catb.org/esr/faqs/smart-questions.html#before should know this . Thanks Regards, Parthiban.k Software Engineer Mode FinServer Pvt. Ltd. Cell: +7204205850 Email: parthisof...@gmail.com shoaibj...@gmail.com |parthiban.k @modefinserver.com shoai...@modefinserver.com On Fri, Mar

[android-developers] Re: ArrayAdapter Vs BaseAdapter.

2013-02-28 Thread skink
Seshu wrote: Hi All, I want to show some students information i.e. id, name, address and contact number in listview. Which Adapter should i use here i.e, ArrayAdapter or BaseAdapter. What's the major difference between them. Thanks and Regards, S.Seshu. for such data I would use

[android-developers] How to hide my widget from the Widgets list.....?

2013-02-28 Thread abhay_401
Hi, When the user long press on Homescreen, he will get some options, Widgets is one of them. If the user selects Widgets, he will get the list of widgets in which he can launch on home. Based on some conditions I don't want to show him my widget on the list. For ex: I am having boolean

[android-developers] Re: two activities running at same time

2013-02-28 Thread Tamilarasi Sivaraj
This is not possible. You cannot have multiple activities running at the same time. And you refer this http://stackoverflow.com/questions/6692552/running-two-activities-at-the-same-time-on-the-screen http://stackoverflow.com/questions/11102337/can-you-have-two-activities-running-at-the-same-time