Re: [android-developers] Application Priority

2010-07-05 Thread Arindam Ghosh
Hi Dianne, Thanks for your reply.I got answer.In third question Can I set the priority for the application ? I m trying to say that suppose I m playing one game (or any app) suddenly one call come and my app will stop.So is call high priority process ? Thanks regards Arindam Ghosh

[android-developers] Copy protection invisible app

2010-07-05 Thread sandscorpio
I have an app with Copy Protection on. Since a number of users have reported being unable to find the app on Market since upgrading to 2.1, I have researched the issue and copy protection seems to be the culprit. Turning off copy protection is the answer, but it seems that it leads to file access

[android-developers] Re: notification/broadcast for sent sms

2010-07-05 Thread joebowbeer
Issue 2261 requests this feature: http://code.google.com/p/android/issues/detail?id=2261 Given that the provider is accessible (if permissions are granted), and there is already a change notification and broadcast on reception, I wonder why there isn't a change notification or broadcast when a

[android-developers] Modify Browser Default Search Functionality on Pressing ENTER Key!!

2010-07-05 Thread Prince
Hi All, I want to modify default Search Functionality of Browser on Pressing Enter Key. I want that on Pressing Enter Key on the Browser Application(different views), it will enter a New Line instead of loading a new view and go into the Search Mode. Can anyone give directions to do the same.

[android-developers] How to Remove an inputtype once set

2010-07-05 Thread Protocol-X
Using setInputType() on a text view works great for making it editable but there does not seem to be a way to remove this once set. I tried setting it to null but still the same issue. Any ideas? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Send MMS without any GUI

2010-07-05 Thread mickael le trocquer
Hello, I wan't to send a MMS without any interface. I know I can send with the Intent android.intent.action.SEND_MSG, but this action launch the defaut GUI for compose message. Is there other action / intent for send a MMS ? tks. -- You received this message because you are subscribed to the

[android-developers] Set current tab from a dialog box?

2010-07-05 Thread Jeruliu
Hi all, I have a main TabActivity contains 2 tabs, each tab is an activity. By default the TabActivity will display the content of the first tab. From the second tab, a edit form will be pop up as dialog box. Now in this dialog box, once i click the save button, i would like to 1. close the

[android-developers] Re: Default shared preferences consistency check

2010-07-05 Thread Federico Paolinelli
I am facing now a strange issue. What I have done is to perform the consistency checks in the onSharedPreferenceChanged, and if something is wrong, to reedit the value that is being changed to the default value (if the user is trying to enable the mail sending but no mail address is set, I edit

[android-developers] Problems while working with Android 2.2 Froyo - Need help - Thanks very much!

2010-07-05 Thread Alex Xin
*Hi,* * * *I have a problem while trying to run my app in new Android 2.2 Froyo emulator and real device Nexus One.* *The problem is that when I try to call java.nio.channels.Selector.wakeup() method, it will throw a runtime exception NullPointerException. But this code works very well on all

[android-developers] Re: Is it possible to disable scroling in a ListView (GridView)?

2010-07-05 Thread Jakob Sachse
thanks, that link is interesting. Just as behind that link I have to implement a design that contains of GridViews inside a ScrollView. At least I thought I could leverage from GridView. I think that disabling scrolling in gridview / listview is something most developers expect - as to be seen

[android-developers] Default Android Applications

2010-07-05 Thread Srinivasan J
: Hi all, I am new to Android Developement. I am going to start writing applications in Android OS? I would like to know what are all the basic features and apps available when Android OS is installed in Mobile? I would like to implement following Apps Dialer,Contacts,Messaging

[android-developers] Andorid OS on Mobile Chipset?

2010-07-05 Thread Srinivasan J
Hi, I would like to know how to install the Android OS on mobile device? Is there any procedure? Can any one guide me on that please? Srini -- 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] How to force App Widget in portrait mode???

2010-07-05 Thread Gulfam
Hi all, I want to force App Widget in portrait mode, as we force our activity in portrait mode by adding this attribute in Menifest file android:screenOrientation = portrait. is there any way to force App Widget in portrait mode?? Thanks in advance. Gulfam Hassan -- You received this

[android-developers]

2010-07-05 Thread saurabh sinha
does anyone have j2me project plz send to me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Set current tab from a dialog box?

2010-07-05 Thread Jeruliu
I just found my own solution: passing a parameter into intent to specify which tab screen to display. On Jul 5, 3:45 pm, Jeruliu jeru@gmail.com wrote: Hi all, I have a main TabActivity contains 2 tabs, each tab is an activity. By default the TabActivity will display the content of the

[android-developers] Oriented Overlay

2010-07-05 Thread Pedro Teixeira
Hello, I'm trying to make my USER POSITION overlay to rotate according to the orientation. Here is the method that calls for the overlay: protected void createAndShowUserOverlay(Location newLocation) { ListOverlay useroverlays = mapView.getOverlays();

[android-developers] Login form implementation options

2010-07-05 Thread Tudor Tihan
Hello, I am trying to implement a login form for an Android application and I am wondering what options are there. So far I've tried this: 1. add non-visible input controls to the main layout, and, when the login form is supposed to appear, I hide the other views and show the login form

[android-developers] Re: How to set the default download files location

2010-07-05 Thread uday
Hi Priyanka, Thanks for the information.. Now i can able to create and write into the files.. in the same way can i use this iText to copy the documents like (.doc,.docx,.ppt)also?? On Jul 4, 11:06 am, priyanka 2priya...@gmail.com wrote: Hello, There is a library called iText which helps

[android-developers] Re: How to set the default download files location

2010-07-05 Thread uday
Hi Priyanka, Thanks for the information.. Now i can able to create and write into the files.. in the same way can i use this iText to copy the documents like (.doc,.docx,.ppt)also?? On Jul 4, 11:06 am, priyanka 2priya...@gmail.com wrote: Hello, There is a library called iText which helps

[android-developers] Re: How to set the default download files location

2010-07-05 Thread uday
Hi Priyanka, Thanks for the information.. Now i can able to create and write into the files.. in the same way can i use this iText to copy the documents like (.doc,.docx,.ppt)also?? On Jul 4, 11:06 am, priyanka 2priya...@gmail.com wrote: Hello, There is a library called iText which helps

[android-developers] Re: App Not Visible On Donut

2010-07-05 Thread Pent
BTW, I'm not specifying screen size or features in the manifest. Pent -- 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] Need Help on Audio Flinger

2010-07-05 Thread Uander
Hello , I have following task to do in platform . Can you help me out which layer to look and how to proceed ? 1. Adding a new audio source or way to input audio . 2 . How to enable audio stack to redirect output to multiple way like , moving audio output to speakers as well as headset ? Does

Re: [android-developers] Login form implementation options

2010-07-05 Thread paulb
Have you considered a custom dialog? http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog On Mon, Jul 5, 2010 at 7:53 PM, Tudor Tihan tudorti...@gmail.com wrote: Hello, I am trying to implement a login form for an Android application and I am wondering what options are

Re: [android-developers] Re: Default shared preferences consistency check

2010-07-05 Thread Mark Murphy
On Mon, Jul 5, 2010 at 4:04 AM, Federico Paolinelli fedep...@gmail.com wrote: However, is there another way to do this? Am I missing something? You can create a custom preference, perhaps subclassing an existing one, and implement your business logic there. See here for a custom View that I

Re: [android-developers] How to force App Widget in portrait mode???

2010-07-05 Thread Mark Murphy
On Mon, Jul 5, 2010 at 5:13 AM, Gulfam gulfa...@gmail.com wrote: I want to force App Widget in portrait mode, as we force our activity in portrait mode by adding this attribute in Menifest file android:screenOrientation = portrait. is there any way to force App Widget in portrait

Re: [android-developers] Re: Default shared preferences consistency check

2010-07-05 Thread Federico Paolinelli
Thanks. Federico On Mon, Jul 5, 2010 at 12:55 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 5, 2010 at 4:04 AM, Federico Paolinelli fedep...@gmail.com wrote: However, is there another way to do this? Am I missing something? You can create a custom preference, perhaps

[android-developers] Using contacts

2010-07-05 Thread Lieuwe
I have an issue regarding the use of contacts in my Android application. I currently do the following: Intent intent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); startActivityForResult(intent, PICK_CONTACT); which allows me to pick a contact. 2 Questions: - How do I limit this to only

[android-developers] Re: User comments available in the developer console!

2010-07-05 Thread Mark Carter
In my experience, when a user has left a negative comment AND emailed me, then after a (polite :) ) response from me, they have usually updated their original comment to be positive. Ok, you could argue that the fact they have followed up their comment with an email means they are different from

Re: [android-developers] Re: User comments available in the developer console!

2010-07-05 Thread Kostya Vasilyev
In my experience, when a user has left a negative comment AND emailed me, Unfortunately, that and is a big if ... -- Kostya 05.07.2010 15:36, Mark Carter пишет: In my experience, when a user has left a negative comment AND emailed me, then after a (polite :) ) response from me, they have

Re: [android-developers] Re: User comments available in the developer console!

2010-07-05 Thread Mark Carter
Precisely, but it indicates that if the user did receive feedback from the dev, there is a reasonable chance they may change their comment. On 5 July 2010 13:45, Kostya Vasilyev kmans...@gmail.com wrote: In my experience, when a user has left a negative comment AND emailed me,

Re: [android-developers] Re: User comments available in the developer console!

2010-07-05 Thread Kostya Vasilyev
Mark, Exactly. I believe this shows that a way to reply to user comments is needed. -- Kostya 05.07.2010 15:58, Mark Carter пишет: Precisely, but it indicates that if the user did receive feedback from the dev, there is a reasonable chance they may change their comment. On 5 July 2010

[android-developers] Re: Login form implementation options

2010-07-05 Thread Tudor Tihan
Yes, but I forgot to add it on the list. The problem that I had with this was that I couldn't get the editable controls to focus (text entry didn't work for some reason). On Jul 5, 1:42 pm, paulb pbizan...@gmail.com wrote: Have you considered a custom dialog?

Re: [android-developers] Re: Deploy App on Google Android G1 Phone

2010-07-05 Thread Lamia Hannoun
Actually i use the IP used by the LAN to identify my machine. Still have the same issue 2010/7/5 Indicator Veritatis mej1...@yahoo.com Real IP? Which one? The one used by the LAN for identifying your machine, or the one NAT translates it to for the outside world to see the same machine?

Re: [android-developers] File read and write.

2010-07-05 Thread Myungsun Choi
It really helpful. Thank you for reply all question that i asked. On Sat, Jul 3, 2010 at 3:31 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 3, 2010 at 12:40 AM, choi devmc...@gmail.com wrote: Today, i tried to read and write file on the android. but it seems that file write

[android-developers] Re: Whether to use a Service or Thread for Http Connection?

2010-07-05 Thread sagare
Hi Android experts please reply about the pros and cons of using both thread as well as Service for http connection On Jul 5, 10:04 am, sagare sagar.ekb...@gmail.com wrote: Hi All,    I am a newbie in android and i had a question whether i should use a service or thread for http connection and

[android-developers] OpenGL strange Exception: Nexus one upgrade to 2.2 causes app to crash?

2010-07-05 Thread Aidan C
Hey Guys, I've made some edits to my application but I'm pretty sure it crashing is linked to my updating my Nexus One. I've included the error as well as all code I think is relevant. Anyone got any ideas? 07-05 12:07:04.292: ERROR/AndroidRuntime(5751): FATAL EXCEPTION: GLThread 11 07-05

[android-developers] Water ripple effect

2010-07-05 Thread Mansoor
hi friends, i am trying to create a ripple effect one similar to water live wallpaper in nexus one.please give me direction to acheive it. Thanks and regards :) Mansoor -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Whether to use a Service or Thread for Http Connection?

2010-07-05 Thread Maps.Huge.Info (Maps API Guru)
The consensus seems to be AsyncTask, try that. -John Coryat -- 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: rtsp client?

2010-07-05 Thread Yadnesh
Hi, I am trying to stream media containing mpeg4 video and AAC audio over RTSP using ffserver. When I try to connect to the server using VLC player I get the message: Your input can't be opened: VLC is unable to open the MRL 'rtsp://

[android-developers] Re: App Not Visible On Donut

2010-07-05 Thread Pent
For anyone needing an answer, apps aren't visible to Donut or Cupcake if they specify BLUETOOTH or BLUETOOTH_ADMIN it seems... great... Pent -- 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] ProximityAlert Exists

2010-07-05 Thread Prasanna Perera
Hello, Is there a way to find out whether a proximityAlert exists? I am allowing the user to add proximityAlerts to be activated sometime in the future based on alarms. However, the user can change her mind and remove a proximityAlert. Before removing a proximityAlert I need to find out

[android-developers] Accurate sleep()\timer in Android

2010-07-05 Thread Omer Gilad
Hello, Does anyone know of a precise way of measuring 80 milliseconds for scheduling purposes? Thread.sleep() and SystemClock.sleep() don't seem accurate enough. Purpose - I want to schedule a certain event to happen in an exact interval of 80 milliseconds and I don't want the time to skew

[android-developers] intent to launch flash swf files

2010-07-05 Thread siliconeagle
Hi, I am working on a podcasat player and am looking for a sutable intent to launch and play a downloaded SWF file. I am on 2.2 and have adobe flash player installed. The things i have tried are: This launces the HTC flash player to select a file: ComponentName toLaunch = new

Re: [android-developers] Re: notification/broadcast for sent sms

2010-07-05 Thread Saurav
Thank you all for your kind responses. I kinda knew about the broadcast for reception, fact is that, I wanted something for sent sms. But, my bad. Anyways, is there a log that is maintained by the android for all incomings and outgoings of sms? I don't mean the inbox content provider! Thanks

[android-developers] Re: Routing Audio to Bluetooth Headset API Level 8

2010-07-05 Thread EdKawas
Have you gotten this to work yet? I am interested in this solution too. From what the docs say, if your headset is A2DP, it should just work, but that isnt what I found in practice. Thanks. On Jun 27, 2:34 pm, jwei512 jwei...@gmail.com wrote: Hello! I was wondering if it was possible to route

[android-developers] Re: How to force App Widget in portrait mode???

2010-07-05 Thread Gulfam
Hi Mark thanks for your reply, I have developed a home screen widget.its working fine. When i touch items on widget like ImageViews and TextViews its open the main Activity of my application, but when the orientation of phone changes from portrait to landscape, and land scape to portrait, it

Re: [android-developers] Re: How to force App Widget in portrait mode???

2010-07-05 Thread Kostya Vasilyev
Gulfam, This is kind of non-obvious to get right, although really pretty simple. When home screen orientation is changed (is this a Moto Droid / Milestone, by any chance?) Android uses the most recent RemoveViews object to recreate widgets, since there is no onCreate() equivalent. If the

Re: [android-developers] Re: How to force App Widget in portrait mode???

2010-07-05 Thread Kostya Vasilyev
As a follow-up: I also have some info about this in my blog. http://kmansoft.wordpress.com/2010/05/23/widgets-and-orientation-changes/ 05.07.2010 19:18, Gulfam пишет: Hi Mark thanks for your reply, I have developed a home screen widget.its working fine. When i touch items on widget like

[android-developers] Re: Unable to specify the bucket to Gallery3D

2010-07-05 Thread Diego Moreira Rosa
In case anyone is interested on tracking this issue, I opened a new bug report here: http://code.google.com/p/android/issues/detail?id=9436q=gallery3dcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars And found similar requests here:

[android-developers] Re: discoverability

2010-07-05 Thread greg
On Jun 30, 1:09 pm, TreKing treking...@gmail.com wrote: On Sun, Jun 27, 2010 at 1:50 PM, Lance Nanek lna...@gmail.com wrote: Often it is pretty easy to add a button to your app's screen that opens the menu and also lets users know it is available just by being there, at least. Sure it's

[android-developers] paypal mobile payment allowed?

2010-07-05 Thread Kai
Paypal recently released a mobile payment library for android. see news at http://www.intomobile.com/2010/05/22/paypals-mobile-payments-library-now-available-for-android-too/ https://www.x.com/community/ppx/xspaces/mobile/mep I recalled that the android market TOS doesn't allow non-google

[android-developers] Re: How can I pass my custom object to onSaveInstanceState?

2010-07-05 Thread jul
Thanks Mark. Using a database seems a bit overkill in my case. I found that I can pass the state of my object in a Bundle by making it Parcelable. I'll try that out. On Jul 3, 10:32 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 3, 2010 at 1:28 PM, jul juj...@gmail.com wrote: I

[android-developers] Question about parcelable object

2010-07-05 Thread jul
Hi, I want to save a list of Parcelable Restaurant objects on onSaveInstanceState. I created a Restaurant class extending Parcelable and a RestaurantList object, both shown below. In my main activity I fill my RestauranList directly from json internet data using GSON: restaurantList =

Re: [android-developers] Question about parcelable object

2010-07-05 Thread Kostya Vasilyev
Jul, Parcelable implementation looks good, except for the questionable cast to ArrayListRestaurant, but that shouldn't have any effect. What error are you getting, exactly? -- Kostya 05.07.2010 20:20, jul пишет: Hi, I want to save a list of Parcelable Restaurant objects on

[android-developers] Re: save photo problem- probably HTC problem ??

2010-07-05 Thread raukodraug
Hi vandzi. Im having the exact same problem. Did you ever find a solution for this problem? I've tried the code with emulator and nexus one (which is HTC) and it works fine. Thanks for your time -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] ViewSwitcher with AsyncTask

2010-07-05 Thread elubin
I have an activity that needs to do some stuff in the background. When the background is done, I want it to load a new activity. I can successfully kick off the async task and using using ViewSwitcher I can show a nice progress dialog. However, when the user hit 'back' or 'close' from the new

[android-developers] Re: Accurate sleep()\timer in Android

2010-07-05 Thread RichardC
Android is not a realtime OS (it gives no guarentees about when events will happen). Plus there is the ever present garbage collector. What I am try to say is I think you have no chance - sorry. /Richard On Jul 5, 3:30 pm, Omer Gilad omer.gi...@gmail.com wrote: Hello, Does anyone know of a

[android-developers] Emoji Support

2010-07-05 Thread fr4gus
Hi all, Does anybody know about Emoji support for Android? http://en.wikipedia.org/wiki/Emoji We are going to port an iPhone application to Android, and this application supports emojicons. For iPhone, the user needs to install a keyboard app in order to be able to send emojicons, but even

Re: [android-developers] How to make a imageview at right of linearlayout

2010-07-05 Thread neil monteiro
Hi Give layout_width=wrap_content for ImageView Thanks Neil On Mon, Jul 5, 2010 at 2:25 AM, cindy ypu01...@yahoo.com wrote: Hi All, In the linearlayout, I need to put the image at right. I have tried a lot of method, none of them works. Can someone point out what is wrong? LinearLayout

Re: [android-developers] Emoji Support

2010-07-05 Thread Mark Murphy
On Mon, Jul 5, 2010 at 1:07 PM, fr4gus fggar...@gmail.com wrote: Does anybody know about Emoji support for Android? http://en.wikipedia.org/wiki/Emoji AFAIK, these icons are not built into Android, if that is what you mean. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Layout Params classcastexception

2010-07-05 Thread samspade79
Hi all. I have a ListView created programmatically and each view is a TableLayout. I am trying to get the Tables to expand to 100% of the list view, but it does not matter what type of layout params I set on the TableLayout I get a ClassCastException every time. Ie, I've tried

Re: [android-developers] Layout Params classcastexception

2010-07-05 Thread Mark Murphy
On Mon, Jul 5, 2010 at 1:14 PM, samspade79 samspad...@gmail.com wrote: I have a ListView created programmatically and each view is a TableLayout. I am trying to get the Tables to expand to 100% of the list view, but it does not matter what type of layout params I set on the TableLayout I get

[android-developers] Re: Layout Params classcastexception

2010-07-05 Thread samspade79
Not sure what you mean by what class it really is? I'm instantiating it directly in code so I know what class it is (or at least I think I do?) On Jul 5, 12:17 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 5, 2010 at 1:14 PM, samspade79 samspad...@gmail.com wrote: I have a

[android-developers] Re: Layout Params classcastexception

2010-07-05 Thread samspade79
I stepped through the debugger anyway. The type is TableLayout $LayoutParams as expected and as soon as I pass this into the setLayoutParams call it explodes. This happens regardless of whatever type of LayoutParams I use - and I've tried them all. On Jul 5, 12:23 pm, samspade79

Re: [android-developers] Re: Layout Params classcastexception

2010-07-05 Thread Mark Murphy
On Mon, Jul 5, 2010 at 1:23 PM, samspade79 samspad...@gmail.com wrote: Not sure what you mean by what class it really is? I'm instantiating it directly in code so I know what class it is (or at least I think I do?) Whoops, sorry, misread your post. I thought the ClassCastException was on

[android-developers] Re: Question about parcelable object

2010-07-05 Thread jul
Is it the right way to do it? The writeToParcel method of my Restaurant object is never called... The error seems to be in outState.putParcelableArrayList(restoList, (ArrayListRestaurant)restaurantList.getRestaurants()); and I get in my LogCat: 07-05 19:34:13.846:

[android-developers] Re: Avoid non-static inner classes in an activity?

2010-07-05 Thread Nathan
On Jun 21, 11:03 am, Nathan critter...@crittermap.com wrote: True enough. In the case I am using it, I would be happy with an activity context *if* Google Analytics would not hold on to it, causing a huge memory leak and subsequent crashes. Nathan On Jun 21, 10:46 am, Bob Kerns

[android-developers] Speech to text not working behind corporate firewall

2010-07-05 Thread Connick
I've noticed that speech to text only works on cellular or WiFi connections not behind corporate firewalls. I'm guessing it uses non-standard ports of some kind? Anyone else seen this? -Stace -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Layout Params classcastexception

2010-07-05 Thread samspade79
Here is a simple test case that does the same thing. I am trying to get the yellow background to stretch the entire row (I can do this by changing my design, but I need/want the list inside a linear layout, and I need each view of the list to be a table). If you run this you will get a ClassCast

[android-developers] Re: Speech to text not working behind corporate firewall

2010-07-05 Thread EdKawas
Not sure if this helps, but I noticed that if my nexus one doesnt have a wifi/data signal, speech to text does not work. Only when a connection is present does it work. Eddie On Jul 5, 10:59 am, Connick oconn...@gmail.com wrote: I've noticed that speech to text only works on cellular or WiFi

Re: [android-developers] Re: Speech to text not working behind corporate firewall

2010-07-05 Thread Connick
Yeah, it needs to reach google ...only prob is if you have a connection but it's wifi behind a firewall, you're out of luck. (at least in our case) Not great for enterprise. :( On Mon, Jul 5, 2010 at 2:30 PM, EdKawas ed.ka...@gmail.com wrote: Not sure if this helps, but I noticed that if my

[android-developers] Re: Best practice to pass persistent objects from an activity to another activity

2010-07-05 Thread Indicator Veritatis
Why not put it in SharedPreferences? True, you will have to do the serialization by hand, since Android's support for it is so limited (java.io.Serializable for pure Java classes only), but unless you have a complicated object, that should pose no problem (if you do have a complex object, consider

Re: [android-developers] Re: Speech to text not working behind corporate firewall

2010-07-05 Thread Connick
I'm wondering if it's because it's waiting for a return intent (async process) from the server? Google follks? :) On Mon, Jul 5, 2010 at 2:39 PM, Connick oconn...@gmail.com wrote: Yeah, it needs to reach google ...only prob is if you have a connection but it's wifi behind a firewall, you're

Re: [android-developers] Best practice to pass persistent objects from an activity to another activity

2010-07-05 Thread Tom Gibara
It depends very much on the object you want to pass and how its going to be used. I've used a number of different techniques in my applications, and each one is best suited to different situations. -- Tom Gibara email: m...@tomgibara.com web: http://www.tomgibara.com blog:

[android-developers] Re: Resource Alias not resolving

2010-07-05 Thread Indicator Veritatis
Ah, but that has always been the excuse; it may even become your project's Swan Song;) I'm trying to design an app that not only functions well, but looks better than everything else out there was the excuse for ignoring the distinction between physical and logical tags in HTML, too. And ever

Re: [android-developers] Re: Avoid non-static inner classes in an activity?

2010-07-05 Thread Dianne Hackborn
The getApplicationContext() should return return the same Application object as getApplication()... however, they do go through slightly different code-paths (the Activity has its Application handed to it during initialization, while the base Context implementation needs to retrieve it for its

Re: [android-developers] Accurate sleep()\timer in Android

2010-07-05 Thread Dianne Hackborn
You are doomed if you just want to be able to schedule exactly 80ms every time so that you add it all up after 1000 times and you get 80 seconds. At the very least, you should schedule your events so that even if there is some jitter in individual timings they add up correctly -- that is start at

[android-developers] Re: Speech to text not working behind corporate firewall

2010-07-05 Thread greg
I regularly use speech to text on my Nexus One without a wireless connection. A local speech to text library and a local (on SD card) copy of speech data are needed for Android's speech to text to work. Although I had downloaded them to get speech to text capability in the emulator, I don't

Re: [android-developers] Re: discoverability

2010-07-05 Thread Frank Weiss
I think that, at a higher cognitive level, a user remembers what actions can be performed at a particular activity, not whether or not a menu exists. Frequently there is also a visual/motor memory asociated with the menu layout (example: third item = discard message). The way a user discovers

Re: [android-developers] Re: Whether to use a Service or Thread for Http Connection?

2010-07-05 Thread Frank Weiss
Only people who want to punish themselves use Java threads on Android:-) But you also asked about Service. You can use an AsyncTask in an Activity if the task has to happen while the activity is active. If the task needs to happen also when the acitivity is not active, (like when the user goes to

[android-developers] Sync Any Database With Google Android

2010-07-05 Thread Tim
Following last year’s successful release of Google Android support for the MobiForms Developer rapid application development tool, the team at MobiForms are proud to announce the latest addition of Google Android support to the MobiForms Sync Server. The MobiForms Sync Server enables

[android-developers] Tool to generate class diagrams

2010-07-05 Thread Priyank
Hi, I have an existing android project, which I want to view it as a class diagram or in any uml representation Could anyone please give me a free tool to generate them. Thanks, Priyank -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] audio and video application in android

2010-07-05 Thread aswini
hi, i have run the media appllication in android emulator, audio and video file is not displaying in android emulator. video view source code is given below /* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the License); * you may

Re: [android-developers] Re: Question about parcelable object

2010-07-05 Thread Kostya Vasilyev
Jul, This is the heart of the problem in logcat: 07-05 19:34:28.647: ERROR/AndroidRuntime(808): Caused by: java.lang.ClassCastException: java.util.LinkedList 07-05 19:34:28.647: ERROR/AndroidRuntime(808): at org.digitalfarm.atable.Atable.onSaveInstanceState(Atable.java:254) My guess is

[android-developers] Re: Emulator Problems

2010-07-05 Thread Cameron
I am also using Win 7 64bit, and running Android 1.6 I don't know if this happens with other versions. I will try it out. On Jun 29, 1:38 am, Sathish Kumar xath...@gmail.com wrote: The same thing is happening for me when i start the emulator in 800 or 854 mode but not in 400. It is just

[android-developers] Re: Tool to generate class diagrams

2010-07-05 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Hi Priyank, ArgoUML it also has an eclipse plugin and Papyrus Eclipse Modeling project Eclipse 3.6. On Jul 5, 2:55 pm, Priyank priyankvma...@gmail.com wrote: Hi, I have an existing android project, which I want to view it as a class diagram or in any uml representation Could anyone please

Re: [android-developers] Re: Tool to generate class diagrams

2010-07-05 Thread Priyank Maiya
Hi, Thanks a lot for your reply. I installed ArgoUML and am trying to figure how to use it. My project doesnt have a XMI file to import from. It consists of 2 modules. Application and Services. Each of them has 3-4 packages having about 15 .java files and a few resource files. I tried to do Import

[android-developers] Re: ItemizedOverlay using both onTap methods

2010-07-05 Thread Pedro Teixeira
Any news on how to implement this ? Is overriding the class that extends itemizedOverlay on the onTap method enough? I need to show information when the user clicks a marker and cant seem to find possibilities On Jun 29, 9:52 pm, Steve Howard ste...@android.com wrote: Trying to resend this

[android-developers] Re: Default shared preferences consistency check

2010-07-05 Thread Federico Paolinelli
On Mon, Jul 5, 2010 at 12:55 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 5, 2010 at 4:04 AM, Federico Paolinelli fedep...@gmail.com wrote: However, is there another way to do this? Am I missing something? You can create a custom preference, perhaps subclassing an

[android-developers] Re: paypal mobile payment allowed?

2010-07-05 Thread moneytoo
It depends on what you want to charge the user for. From 3.3: All fees received by Developers for Products distributed via the Market must be processed by the Market’s Payment Processor. Definition ofroducts: Software, content and digital materials created for Devices in accordance with the

Re: [android-developers] Re: ItemizedOverlay using both onTap methods

2010-07-05 Thread Mark Murphy
On Mon, Jul 5, 2010 at 5:58 PM, Pedro Teixeira pedroteixeir...@gmail.com wrote: Any news on how to implement this ? Is overriding the class that extends itemizedOverlay on the onTap method enough? I need to show information when the user clicks a marker and cant seem to find possibilities

[android-developers] Re: audio and video application in android

2010-07-05 Thread Alexander
Hi. im also new. i found a way with paths that works ok. you have to use setVideoURI(Uri uri) instead of setVideoPath. and the media file needs to be in your res folder. this article explains it: http://androidbook.blogspot.com/2009/08/referring-to-android-resources-using.html maybe someone

Re: [android-developers] Re: ItemizedOverlay using both onTap methods

2010-07-05 Thread Pedro Teixeira
Thank you very much, I've implemented some parts of the code you gave me in my code and works like a charm. I just had my overlay class in a separate file and i'm not sure how to access the variables like the map from there. I'd like to keep the format I had before, but if its not possible,

[android-developers] LocationManager.getSpeed(); always zeroo

2010-07-05 Thread tarek attia
Hi all, I'm using LocationManager.getspeed(); and everytime I use it it comes to with location.hasSpeed=false ,and the speed is zero ? So is this something related to ANdroid bugs or this provider doesn't support speed ? and What would be the alternatives for it ? should I use the accelerometer

Re: [android-developers] Re: Protect the Shared Data between service and thread

2010-07-05 Thread tarek attia
Just I created an activity that start a new service collect some data,the this service will intiate another thread to do certain operations on the data collected by the service.so all I feared that may the service access this array and the thread also at the same time and a race condition

Re: [android-developers] Re: Protect the Shared Data between service and thread

2010-07-05 Thread Mark Murphy
On Mon, Jul 5, 2010 at 8:27 PM, tarek attia tarek.m.at...@gmail.com wrote: Just I created an activity that start a new service collect some data,the this service will intiate another thread to do certain operations on the data collected by the service.so all I feared that may the service

Re: [android-developers] LocationManager.getSpeed(); always zeroo

2010-07-05 Thread Mark Murphy
On Mon, Jul 5, 2010 at 8:21 PM, tarek attia tarek.m.at...@gmail.com wrote: I'm using LocationManager.getspeed(); and everytime I use it it comes to with location.hasSpeed=false ,and the speed is zero ? So is this something related to ANdroid bugs or this provider doesn't support speed ? What

Re: [android-developers] LocationManager.getSpeed(); always zeroo

2010-07-05 Thread tarek attia
T-mobile G1,,plus the emulator the same case On Tue, Jul 6, 2010 at 3:32 AM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 5, 2010 at 8:21 PM, tarek attia tarek.m.at...@gmail.com wrote: I'm using LocationManager.getspeed(); and everytime I use it it comes to with

[android-developers] Re: Layout Params classcastexception

2010-07-05 Thread samspade79
Excellent thank you. On Jul 5, 3:04 pm, skink psk...@gmail.com wrote: On Jul 5, 3:14 pm, samspade79 samspad...@gmail.com wrote: Hi all. I have a ListView created programmatically and each view is a TableLayout. I am trying to get the Tables to expand to 100% of the list view, but it

[android-developers] Trying to compile the Voice Dialer, need help...

2010-07-05 Thread Nazgulled
Hi, I downloaded the HEAD revision of the Voice Dialer from GIT (used the web interface) but there are so many errors and I have no idea how to fix them. I did the same thing for the 3D Gallery and that turned out fine. But the Voice Dialer is a completely different story... Here's a couple of

  1   2   >