[android-developers] CSS on Android: webkit-transform support

2011-01-18 Thread devi prasad
Hi, I notice that rotate3d on -webkit-transform isn't supported in Android 2.2 Webkit. Has anyone used these features? I'm curious to know the official stand on supporting CSS transformations, in general. regards dp -- You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: How to transfer real-time data to mobile by USB and how to get the transfered data

2011-01-18 Thread yyzhang
What should do to modify the firmware? How to determine the firmware modifications? Thanks! On 1月19日, 上午10时27分, Mark Murphy wrote: > On Tue, Jan 18, 2011 at 8:59 PM, yyzhang wrote: > > How to transfer real-time data from some data supported device(such as > > external usb camera) to mobile by U

[android-developers] Re: Feasibility of developing Augmented Reality "map points" that can have associated text/media.

2011-01-18 Thread gjs
Hi, Yep it is possible, see unreleased app of mine at http://www.geopaste.com Regards On Jan 19, 1:09 pm, TreKing wrote: > On Fri, Jan 14, 2011 at 5:54 PM, Sean wrote: > > I would like to know if it is in principle possible to make a map marker of > > this kind that is both: > > > a. discovera

[android-developers] How to display full screen?

2011-01-18 Thread Abhilash baddam
Hi, How to play video in full screen mode using surface view. Anyhelp...? -- 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 ema

[android-developers] Re: Google maps reading data off XML

2011-01-18 Thread Stephan Wiesner
If you want to display the data on your map you need to parse the xml file and do something with the data. Mind the thread of last week about performance with many objects, though. Stephan -- Interessiert an Android? http://android-schweiz.blogspot.com/ Whant to learn German? http://german-podcas

[android-developers] Re: Relief view on mapActivity?

2011-01-18 Thread Stephan Wiesner
No (at least I did not find a way to do that) :-( Would be great though. Stephan -- Interessiert an Android? http://android-schweiz.blogspot.com/ Whant to learn German? http://german-podcast.blogspot.com On 15 Jan., 00:38, José Gil wrote: > Hi all! > > Is it possible to select the relief view

[android-developers] Re: How to implemennt OnZoomListener on MapView

2011-01-18 Thread Stephan Wiesner
Don't forget about all those SE phones that do not have pinch zoom (I am one of those). You might at least want to include the zoom controls. Stephan On 18 Jan., 22:40, bobetko wrote: > I would like to have onZoomListener on my MapView. > The code below is what I have done. It registers if zoom

[android-developers] Re: NFC Intents: Reacting on specific NDEF types

2011-01-18 Thread andrew
Hi Dianne, all dialog is good. I wonder if could bring our needs/ideas to the attention of who does has the NFC area? There is a community of NFC developers out there who have years of experience (mainly on J2ME) with NFC using the Contactless JSR. They are familiar with how it works, its positi

[android-developers] File extensions stripped from some assets and not others

2011-01-18 Thread Ted Hopp
When I add a GZIPed file to my Android project's assets, the ".gz" extension is stripped when the project is packaged in Eclipse. (So, for instance, "foo.gz" in my assets folder needs to be accessed in code using getAssets().open("foo").) This doesn't seem to happen with other extensions (e.g., ".h

[android-developers] Re: Customized Spinner and problems with its dropdown menu

2011-01-18 Thread Danny S.
Hi! I said I'll give response and delayed here is it: The help I got was right, I have to use "CheckedTextView" instead using normal "CheckBox"'es. If you are using RadioButtons or CheckBoxes instead of a CheckedTextView the list items will no longer be clickable. The layout is broken/not usable.

[android-developers] Re: Help with Null Pointer Exception Error

2011-01-18 Thread Jonathan Foley
Looking at your code there is something strange that I'm almost certain is the source of your NPE. public RegistersActivity mDisplay = new RegistersActivity(); Why are you creating a new activity object? That's not going to be a reference to the activity object that's visible and hence any fiel

[android-developers] Schedule notification instead of permanently check

2011-01-18 Thread Danny S.
Hi, I have a service that is running in background. It needs to send notifications to the user. In my application you can create data with date and time. The service now can fetch this data and give the user a notification t-x minutes before the saved time is reached ("remind for appointments").

[android-developers] Enabling ProGuard in Eclipse

2011-01-18 Thread Ted Hopp
The new documentation on ProGuard (http://developer.android.com/guide/ developing/tools/proguard.html) says to add a line to the default.properties file in the project home directory. However, on opening this file, I read at the top: # This file is automatically generated by Android Tools.

[android-developers] Re: Will no longer support Android 1.5

2011-01-18 Thread gjs
Hi, I still like targeting V1.5 because it lets you artificially limit the screen resolution on higher res devices - for a free version of your app. And then charge for your V1.6+ version with the supported device resolutions. Regards On Jan 19, 5:49 pm, gjs wrote: > Hi, > > I'd also suggest r

[android-developers] Re: app to webservice connection architecture?

2011-01-18 Thread Jonathan Foley
Yes this is the recommended pattern. Investigate the IntentService class, which works quite well as the backend service to communicate with webapps or web based services. There is a talk from Google I/O that might interest you: http://www.youtube.com/watch?v=xHXn3Kg2IQE Jonathan On Jan 18, 7:4

[android-developers] Creating Activity from a View Class

2011-01-18 Thread vivin joy
i have two Activities. one is the MainActivity and other an activity where a user could type anything. i have a class called commentclass which extends View class. the main.xml layout uses this class. this main.xml is displayed using the mainActivity . the commentclass has a ontouch event. in

[android-developers] Re: Will no longer support Android 1.5

2011-01-18 Thread gjs
Hi, I'd also suggest rereading the Android Market Distribution Agreement if you are withdrawing V1.5 paid apps & your support for them - particularly given Dianne's comments about just bumping minSDK & old versions still being available. I think you may still have to provide refunds under some ci

[android-developers] Help with Null Pointer Exception Error

2011-01-18 Thread Roger Podacter
OK so I successfully got my app working with a few real-time graphs. I do all of my graph updating in my one activity of my tabbed app. However I wanted to now move the updating of my graph data into a service such that the data can still be collected and populated while the app is in the backgroun

[android-developers] Re: Proper Exception Handling

2011-01-18 Thread Zsolt Vasvari
If I have that many levels of nested ifs, I work at refactoring the method or wrapping a whole thing to a common exit point. I feel that either of those options are better than the unfollowable jumping around catch/finally blocks. Doing what you are suggesting is also a sure-fire way of defeating

Re: [android-developers] Re: 2D shooting game problem

2011-01-18 Thread Kevin Duffey
Or read Robert's post.. follow his blog, follow the links. He has a ton of good info on there. As I am finding out, game development is not for the faint of heart. It takes years to become really good at it and understand all the ins and outs. Thankfully we have people like Robert and some others t

Re: [android-developers] Re: Will pay to have someone develop this app for me.

2011-01-18 Thread Kevin Duffey
I would agree with Eric. The app has a developer info. Contact that developer. They may build you a one-off, or even build it into their app and then you can just buy that app on the market for a couple bucks + perhaps a little money to the author for doing it. Far better, and probably much faster

[android-developers] Re: Will pay to have someone develop this app for me.

2011-01-18 Thread Eric Wong (hdmp4.com)
May I ask why don't you contact and offer money to the person who wrote "SMS Backup +" to make this? This would be cheaper, faster and easier than getting a 3rd party to rebuild the same application. Getting someone to build an application can cost you substantial amount of money. Plus, you aren't

[android-developers] How to play youtube videos within webview using HTML5

2011-01-18 Thread sanjay
Hi, I have a listview that populated at runtime based on server response. I want to play youtube video in webview on click of list items. Can anybody let me know in detail how can I use tag of HTML5 in android. Thanks & Regards, Sanjay Ujjainkar -- Forwarded message -- From:

[android-developers] Android's default browser - help for directions

2011-01-18 Thread kypriakos
HI all, I asked before how well Android's native browser handles AJAX and javascript as it does seem to fall into the same-origin policies that Firefox and other browsers handle properly. I also asked as to how the comms between this clients running on the browser and remote servers work. I haven

[android-developers] Re: How to clear activity stack

2011-01-18 Thread Subba
Doug, I followed the document all the cases it works. However when ever i launch home screen from my app, activity stack remembers old activities(B,A), if i launch again the application using launcher, i am not able fix that. Please suggest. On Jan 16, 10:41 pm, Doug wrote: > On Jan

[android-developers] Re: Converting screen coordinates to world coordinates?

2011-01-18 Thread gjs
Hi, On second thoughts, probably disregard that, I misread that you are NOT using google maps ... Apologies On Jan 19, 4:30 pm, gjs wrote: > Hi, > > See - > > getProjection > > public Projection getProjection() > Get a projection for converting between screen-pixel coordinates and > latitude/lo

[android-developers] Re: Converting screen coordinates to world coordinates?

2011-01-18 Thread gjs
Hi, See - getProjection public Projection getProjection() Get a projection for converting between screen-pixel coordinates and latitude/longitude coordinates. Returns: The Projection of the map in its current state. You should not hold on to this object for more than one draw, since the projecti

Re: [android-developers] Re: InstrumentationTestRunner with Annotation

2011-01-18 Thread Aman Bhardwaj
Yes, exactly! On Tue, Jan 18, 2011 at 8:06 PM, A. Elk wrote: > I assume you mean this part of the documentation of > InstrumentationTestRunner: > > Filter test run to tests with given annotation: adb shell am > instrument -w -e annotation com.android.foo.MyAnnotation > com.android.foo/android.tes

[android-developers] Re: Getting Generic Failure when sending Many SMS (Android)

2011-01-18 Thread Nightwolf
There's a limit on the SMS number. Look it up. On Jan 18, 12:43 am, john wrote: > If I run my program with 2 phone numbers it works but if I run with > with like 100 I get the "Generic Failure".  any way to make my program > not sent 2nd text until the 1 first one is back? -- You received this

[android-developers] Re: How to find out in which mode Landscape or portrait?

2011-01-18 Thread pramod.deore
Thanks pk Lam. On Jan 19, 9:43 am, pk Lam wrote: > simply by comparing which sides (width vs height) is longer?? > > or another way is to have two layout.xml with one of them contains a hidden > dummy view that has a your-own-defined-id which will tell u which layout is > loaded and hence the ori

[android-developers] Re: Is there a macro/script/utility to detect unlocalized strings in Eclipse (or elsewhere)?

2011-01-18 Thread Eric Cloninger
Hi Bernard, Mark is correct that there is a feature of MOTODEV Studio that displays all your strings.xml files in a grid. It's actually part of the Eclipse Sequoyah project that we contribute to. On top of that, we also have an "app validator" feature that ships with MOTODEV Studio. The version t

[android-developers] Re: How to find out in which mode Landscape or portrait?

2011-01-18 Thread pk Lam
simply by comparing which sides (width vs height) is longer?? or another way is to have two layout.xml with one of them contains a hidden dummy view that has a your-own-defined-id which will tell u which layout is loaded and hence the orientation mode. -- You received this message because you

Re: [android-developers] Recommended way of passing callback context data between activities

2011-01-18 Thread pk Lam
how about PreferenceManager? http://developer.android.com/reference/android/preference/PreferenceManager.html it allows you to store key/values pairs in your app preference. the data can then be save/restore based on your activity state. it's accessible from all your activity. -- You received

[android-developers] Re: InstrumentationTestRunner with Annotation

2011-01-18 Thread A. Elk
I assume you mean this part of the documentation of InstrumentationTestRunner: Filter test run to tests with given annotation: adb shell am instrument -w -e annotation com.android.foo.MyAnnotation com.android.foo/android.test.InstrumentationTestRunner If used with other options, the resulting tes

Re: [android-developers] Getting Generic Failure when sending Many SMS (Android)

2011-01-18 Thread Kumar Bibek
Wait for some time after you send one. That's the only possible way I can think of. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Jan 18, 2011 at 3:13 AM, john wrote: > If I run my program with 2 phone numbers it works but if I run with > with like 100 I get the "Gen

[android-developers] How to find out in which mode Landscape or portrait?

2011-01-18 Thread pramod.deore
How can I find out at runtime in which mode my application is running in Landscape or portrait mode? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubsc

Re: [android-developers] Re: Proper Exception Handling

2011-01-18 Thread Kumar Bibek
Well, File.open() can throw different types of exceptions. Generally speaking, if the file doesn't exist, or is not readable(no permissions) or the storage device itself is not available. So, just returning a null might not help you decide how to handle different situations. Kumar Bibek http://te

Re: [android-developers] app to webservice connection architecture?

2011-01-18 Thread Kumar Bibek
Should I make a service and communicate with service from activity and delegate all to service and just use intents ... (sorry if this sound confusing) It's possible and recommended as well. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Jan 19, 2011 at 9:09 AM, Niko

[android-developers] app to webservice connection architecture?

2011-01-18 Thread Nikola
Hi, I need to develop app that is consuming data from web service. There is API which I have to use to communicate to web service. I have to log on through API so I can use service, API maintains session. Should I make a service and communicate with service from activity and delegate all to s

[android-developers] Re: Converting screen coordinates to world coordinates?

2011-01-18 Thread prachi
Iam sorry but Iam not aware of UTM lattitude and longitude nad how is it different from the normal one.Iam not using google maps..Its an application where in for a particular screen coordinate I need to get the corresponding world coordinates(reverse of projection) and from there fetch the latitude

Re: [android-developers] problem to back previous activity

2011-01-18 Thread TreKing
On Tue, Jan 18, 2011 at 2:46 AM, bsk wrote: > But I have a problem which turning to previous activity with back button. > How I can solve this problem? > http://www.catb.org/~esr/faqs/smart-questions.html > I need sample codes for this. Please help me, immediately. > Instructing people to hel

Re: [android-developers] Launch external program

2011-01-18 Thread TreKing
On Mon, Jan 17, 2011 at 6:24 AM, Gioacchino wrote: > How can I incorporate an external program and run it to the occurrence of > an event? > http://developer.android.com/guide/topics/fundamentals.html ---

Re: [android-developers] Diffrence between broadcast receiver and Service

2011-01-18 Thread TreKing
On Sun, Jan 16, 2011 at 10:33 PM, purna wrote: > what is diffrent between broadcast receiver and service as both accur on > back ground. > Step 1 - Read the documentation for Service. Step 2 - Read the documentation for BroadcastReceiver Step 3 - You should now be empowered to answer you own qu

Re: [android-developers] onTouch() starts activity 2 times

2011-01-18 Thread TreKing
On Sun, Jan 16, 2011 at 9:26 AM, Karolis wrote: > I want then ontouch to start next activity, but then i touch the screen > next activity starts 2 times. > Track if you've already launched the activity and if so, don't do it again. ---

[android-developers] ListView in custom preference

2011-01-18 Thread Eric Crump
I need to put a ListView in a custom preference. It needs to look similiar to the WiFi settings in the OS preferences. My problem is I am unable to make it take fill the space. It only takes up the space given to a normal preferece item. How do I make the LinearLayout I return from onCreateView

[android-developers] Re: 2D shooting game problem

2011-01-18 Thread Zsolt Vasvari
If I recall correctly, LunarLander is not exactly the best example of game design for Android. If I were to create an Android game, I'd start with the source of Replica Island. On Jan 17, 12:37 am, Niksa Lovrinic wrote: > Hello everybody, > > I've been playing with the LunarLander example and

[android-developers] Re: Android encryption Google App Engine decryption

2011-01-18 Thread Beginner
Right. Thanks for rephrasing my question. Which algorithm should I use that's common on both? An example - or reference link - would be awesome. Thanks On Jan 18, 8:23 am, DanH wrote: > Use an algorithm that's common to both. > > On Jan 18, 1:00 am, Beginner wrote: > > > > > > > > > Hi, > > >

[android-developers] Re: Problem with layout_gravity.

2011-01-18 Thread Zsolt Vasvari
RelativeLayout doesn't support the layout_gravity attribute, if you want to align to the bottom, set the height to wrapped_content and layout_alignParentBottom="true" On Jan 18, 6:31 pm, Aevea wrote: > In my main.xml layout_gravity works normally with LinearLayout and > when you use setContentVie

Re: [android-developers] Android Market crashes after tyring to update removed app.

2011-01-18 Thread TreKing
On Sun, Jan 16, 2011 at 2:40 AM, Robin van Leeuwen < robinvanleeu...@gmail.com> wrote: > How can i remove the failing app from the to-update list? Try: Home -> Settings -> Applications -> Manage Applications -> Market. Then a) Clear Cache and try again. If still borked, then b) Clear Data and t

Re: [android-developers] What Is The Best Way To Override Stock Lock Screen?

2011-01-18 Thread TreKing
On Sat, Jan 15, 2011 at 2:17 PM, Harel wrote: > I am looking for a way to replace the stock lock screen (with an app, not a > rom). > You can't, AFAIK. > What is the best way to do it, for a start to disable the lock screen on > as much devices as possible? > Build your own firmware? --

Re: [android-developers] Possible to use the gallery "Share" menu

2011-01-18 Thread TreKing
On Sun, Jan 16, 2011 at 4:13 AM, Montario wrote: > Any answers appreciated! http://androidforums.com/application-development/98031-share-intent.html Found via "android create share intent" google search. --

Re: [android-developers] Change App Widget size from code before loading it

2011-01-18 Thread Mark Murphy
On Fri, Jan 14, 2011 at 12:22 PM, Masarano Itay wrote: > Does anyone know how we can set the AppWidget height/width dimension > from code and not from the appwidget-provider XML? That is not possible, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy ht

Re: [android-developers] some question about Honeycomb

2011-01-18 Thread Mark Murphy
On Mon, Jan 17, 2011 at 3:54 AM, MagicAngle wrote: > hi all, > I have some question about Honeycomb that showed at CES 2011. > > 1 what's the new feature on Honeycomb compared to Gingerbread? Honeycomb has not been released yet. Hence, this question cannot readily be answered. > 2 which linux ke

Re: [android-developers] onDialogCreate - "The specified child already has a parent."

2011-01-18 Thread Kumar Bibek
Try passing null in the second parameter. But, where exactly is the error coming. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sat, Jan 15, 2011 at 3:42 AM, Engywook wrote: > I am trying to create a very simple dialog, triggered by clicking a > button. Seems that no mat

Re: [android-developers] how to play video on Android?

2011-01-18 Thread Mark Murphy
path will not work because Android is not Windows and does not have a C: drive. path2 may not work -- I am under the impression that playing back video from a resource is problematic. Here is a project that will play back a test.mp4 video located in the root of external storage -- you can put a f

Re: [android-developers] Google maps reading data off XML

2011-01-18 Thread TreKing
On Fri, Jan 14, 2011 at 7:58 AM, Yasin Kothia wrote: > I needed help Calling An API ( > http://api.bike-stats.co.uk/service/rest/bikestats?format=[xml ), so > that the data from this API would appear on google maps as markers. > What part do you need help with, exactly?

[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-18 Thread DanH
Now you're just being silly. On Jan 15, 7:30 am, Scott wrote: > A Bluetooth enabled pitot-static sensor would work if the difference > between ground speed and air speed is insignificant.  :-) > > http://bags.oxaero.com/PCA_eGyro.php > > On Jan 12, 7:52 pm, metal mikey wrote: > > > You could use

[android-developers] Re: Proper Exception Handling

2011-01-18 Thread DanH
> The problem with the below code is that your MUST use a comment to > understand what's going on. And that's the biggest problem with using > exceptions as flow control logic -- unreadable code as you cannot scan > the code top to bottom and understand its flow. You end up with a > mess of a co

Re: [android-developers] How to transfer real-time data to mobile by USB and how to get the transfered data

2011-01-18 Thread Mark Murphy
On Tue, Jan 18, 2011 at 8:59 PM, yyzhang wrote: > How to transfer real-time data from some data supported device(such as > external usb camera) to mobile by USB? > Where and how to read the transfered data, such as getting to display, > based on android? > > Expecting the code, someone can give ex

Re: [android-developers] Re: No ; Do all android systems support vibration?

2011-01-18 Thread Dianne Hackborn
You never know, people do crazy things with Android. :) On Tue, Jan 18, 2011 at 6:19 PM, Mark Murphy wrote: > On Tue, Jan 18, 2011 at 9:08 PM, Dianne Hackborn > wrote: > > In the future when a vibrator is not required, there will be an API to > find > > out if there is one. We are deliberately

Re: [android-developers] Re: No ; Do all android systems support vibration?

2011-01-18 Thread Mark Murphy
On Tue, Jan 18, 2011 at 9:08 PM, Dianne Hackborn wrote: > In the future when a vibrator is not required, there will be an API to find > out if there is one.  We are deliberately not doing app filtering based on > there being a vibrator. Aw, phooey. And here I was hoping that when Google TV Androi

Re: [android-developers] How to add menu items to webview?

2011-01-18 Thread TreKing
On Sat, Jan 15, 2011 at 7:27 AM, cyberpedz wrote: > How can i do this? what code do i need? > and how or where will i fit it in to my .Java file below? > Honestly, 2 seconds of reading the docs ... http://developer.android.com/guide/topics/ui/menus.html -

Re: [android-developers] Relief view on mapActivity?

2011-01-18 Thread TreKing
On Fri, Jan 14, 2011 at 5:38 PM, José Gil wrote: > Is it possible to select the relief view in a mapActivity? Uh ... what is a "relief view"? - TreKing

Re: [android-developers] Re: NFC doubts. JSR 257 - 177

2011-01-18 Thread Dianne Hackborn
There are links at the bottom of the page to the full source. This is also part of the platform sample code, so it is included with all of the other sample code you can download. Also of course you can always look at the actual code of the standard NFC Tag app: http://android.git.kernel.org/?p=p

Re: [android-developers] Feasibility of developing Augmented Reality "map points" that can have associated text/media.

2011-01-18 Thread TreKing
On Fri, Jan 14, 2011 at 5:54 PM, Sean wrote: > I would like to know if it is in principle possible to make a map marker of > this kind that is both: > > a. discoverable on another person's phone (I send it to my buddy so > he knows where I'm parked when he gets out of work) > b. associated with m

Re: [android-developers] Re: No ; Do all android systems support vibration?

2011-01-18 Thread Dianne Hackborn
The NOOK is not a compatible device. Currently a vibrator is required to be compatible. In the future when a vibrator is not required, there will be an API to find out if there is one. We are deliberately not doing app filtering based on there being a vibrator. On Tue, Jan 18, 2011 at 6:01 PM,

Re: [android-developers] Passing data from service to original activity?

2011-01-18 Thread TreKing
On Fri, Jan 14, 2011 at 7:57 AM, AntiWiggin wrote: > My question is how can my activity retrieve this data from the service? > http://developer.android.com/reference/android/app/Service.html - TreKin

[android-developers] Working on the formstuff samples and I am getting a error adding the EditText.

2011-01-18 Thread john
Working on the formstuff samples and I am getting a error adding the EditText. This is the line I am getting a error one: edittext.setOnKeyListener(new OnKeyListener() { This is the error: Multiple markers at this line - OnKeyListener cannot be resolved to a type - The method setOnKeyListener(Vie

Re: [android-developers] Copy protection

2011-01-18 Thread TreKing
On Mon, Jan 17, 2011 at 10:03 AM, mmtbb wrote: > Have there been any improvements to this lately? > If my "improvements" you mean "did Google provide more code / tutorials / examples / infrastructure" for the LVL? Then no, I don't think so. > If not, what are my options to protect my app on t

[android-developers] Re: 2D shooting game problem

2011-01-18 Thread Robert Green
Model your world. Try this: public class GameObject { public float x,y; public Bitmap bmp; } public class Tank extends GameObject { // do tank stuff } public class Bullet extends GameObject { // do bullet stuff } See where I'm going there? Then in your main game class you just keep a

[android-developers] How to transfer real-time data to mobile by USB and how to get the transfered data

2011-01-18 Thread yyzhang
How to transfer real-time data from some data supported device(such as external usb camera) to mobile by USB? Where and how to read the transfered data, such as getting to display, based on android? Expecting the code, someone can give example? Thanks! -- You received this message because you a

[android-developers] Re: No ; Do all android systems support vibration?

2011-01-18 Thread Hari Edo
As an example, the Barnes and Noble NOOKcolor device has no vibrator. Any apps that were expecting to offer that feature run without incident (and without vibrating, obviously). This device also has a number of other deficiencies as it was not intended to be used as a generic Android tablet, but

Re: [android-developers] Your expert advice

2011-01-18 Thread TreKing
On Mon, Jan 17, 2011 at 8:18 AM, Amit wrote: > In above mentioned interupt, how to resume Act1 again so that step3 can be > executed? > Post a notification from the Service whose PendingIntent launches Act1 and let the user resume when they're good and ready. ---

[android-developers] startActivity(ForResult) at Activity start (on/Create/Start/Resume) not working

2011-01-18 Thread Henrik Lindqvist
I'am trying to start a child Activity with startActivity(ForResult) when the main Activity starts. It doesn't work. If the child Activity used Theme.Dialog it doesn't show up at all. With a normal Theme it's displayed, but when I close the top child activity, a RuntimeException is thrown: Activity

Re: [android-developers] Recommended way of passing callback context data between activities

2011-01-18 Thread TreKing
On Tue, Jan 18, 2011 at 2:38 AM, Pepijn Van Eeckhoudt < pep...@vaneeckhoudt.net> wrote: > Does anyone have a simpler solution to this problem or is there a > recommended best practice that I can follow? > A simple but likely not "best practice" solution is to shove that data in a static / singlet

[android-developers] How to transfer real-time data to mobile by USB and how to get the transfered data

2011-01-18 Thread yyzhang
How to transfer real-time data from some data supported device(such as external usb camera) to mobile by USB? Where and how to read the transfered data, such as getting to display, based on android? Expecting the code, someone can give example? Thanks! -- You received this message because you a

Re: [android-developers] How to create menu after user clicks a button or any other place in my View object?

2011-01-18 Thread TreKing
On Tue, Jan 18, 2011 at 9:45 AM, 罡王 wrote: > First occasion: when user clicks on a Button/ImageButton, then dropdown a > menu to let user select some options > Second, I drawed some data in a derived View myself. How to pop up a > context menu if user clicks anywhere? > > Is there any suggestion?

Re: [android-developers] How to create picasa app??

2011-01-18 Thread TreKing
On Tue, Jan 18, 2011 at 10:11 AM, giri wrote: > Can anyone explain me in detail how can i start with it > Google can. - TreKing - Chicago tran

[android-developers] developed teem

2011-01-18 Thread Jeyanthi Kumar
Developer Announcements We're pleased to announce that paid apps are available in more locations of the world! Developers from 20 more locations can now sell paid apps on Android Market. Users in more locations will also soon be able to purchase apps. Learn more » http://123maza.com/75/kings546/

[android-developers] How to create menu after user clicks a button or any other place in my View object?

2011-01-18 Thread 罡王
Hello all, I think I have to create two kinds of menus: First occasion: when user clicks on a Button/ImageButton, then dropdown a menu to let user select some options Second, I drawed some data in a derived View myself. How to pop up a context menu if user clicks anywhere? Is there any suggestion?

[android-developers] Timeout in BroadcastReceivers using IntentServices

2011-01-18 Thread James McMurray
I've got two services running. They do their work and then reschedule themselves via the AlarmManager. In the BroadcastReceiver the only thing that happens is the launching of the service via Context.startService(). Both services are IntentServices, which as far as I can tell shouldn't be causing t

[android-developers] Sprite cropping like SpriteMethodTest OpenGL ES

2011-01-18 Thread Vistoriza
Hello! I use a sprite with a size of 64x64. Sometimes the object itselft doesn't fill the 64x64 space and may only use the half. When I draw it although there are empty spaces under and over the image like this: http://i.imgur.com/e0rHt.png That's an image of size 64x64 although it not filling that

[android-developers] How to create picasa app??

2011-01-18 Thread giri
hey,guys i want to create picasa app in android .Can anyone explain me in detail how can i start with it Thanx in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegr

[android-developers] Contactpicker intent - return the phonenumber

2011-01-18 Thread cyril
Hi. I'm starting the contactpicker using this method: public void pickAcontact(View view) { Intent contactPickerIntent = new Intent(Intent.ACTION_PICK, android.provider.ContactsContract.Contacts.CONTENT_URI); startActivityForResult(

[android-developers] EuroDroid

2011-01-18 Thread andromedesoft
Hi all, First of all, I thank all the help offered by people in the group. I have learned a lot from you. Thank you very much. So I have been able to finish my first app: EuroDroid. With EuroDroid you can see the latest EuroMillions draw and draws from previous days. But the most important featu

[android-developers] Recommended way of passing callback context data between activities

2011-01-18 Thread Pepijn Van Eeckhoudt
Hi, Quite often when I launch an Activity using startActivityForResult I need to store some context data that will be needed in my onActivityResult implementation. (e.g., a reference to some in memory data that will be modified after the child activity finishes). The data in question is transient

[android-developers] disabling GestureOverlayView

2011-01-18 Thread vivin joy
i have my own custom view over which i have a GestureOverlayView and a checkbox. when the checkbox is checked, i need to disable the GestureOverlayView so that no gesture strokes appear on the screen but still the touch events be dispatched to my custom View.. how do i do that? -- You received th

[android-developers] Re: NFC doubts. JSR 257 - 177

2011-01-18 Thread mduffy215
Has anyone been able to create a demo for NFC on Android 2.3? The support from Google is incredibly lame: http://developer.android.com/resources/samples/NFCDemo/index.html The "demo" does not even give you the ability to download the source code!!! The demo is very generic and is not a working a

[android-developers] ContactsContact Api

2011-01-18 Thread amita gupta
hello friends Can we use display name and organization name on the same cursor using ContactsContact api. Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To u

[android-developers] Gaming for get Money

2011-01-18 Thread Fauzan Vega Saputra
Game for money is one way to win money online, but games of skill are also be a very popular way to put your money where your mouse is.Along with the usual Web games that offer cash prizes, a growing number of sites are now letting users compete for a wager in multiplayer games and tournaments. Ga

[android-developers] unable to resolve static method

2011-01-18 Thread Peter
Hi I hava an android project and another singned as a library. The second library project is added to the first as a library. When the main project tries to access a static method from the library project at runtime i got an error : 01-18 12:19:50.882: INFO/dalvikvm(3679): Could not find method o

[android-developers] Why is android.jar not split to facilitate testing and library reuse across Android and plain old Java?

2011-01-18 Thread mkh
Would it not be reasonable to split the single big android.jar into multiple jar files where all of the classes that could be used in a standard Java application running with a vanilla J2SE appear in a subset of the jar files, along the lines of an API jar and and a couple of implementation jar's.

[android-developers] Problem with layout_gravity.

2011-01-18 Thread Aevea
In my main.xml layout_gravity works normally with LinearLayout and when you use setContentView(R.layout.main); But if I inflate this xml file and then add it on screen using addContentView or addView layout_gravity stops work - content of main.xml draw in top position of screen. Here is the code:

Re: [android-developers] Heap size continuously increase

2011-01-18 Thread Stefan Langer
Memory is only freed when it is applicable for garbage collection. You should profile your application and see where you are holding onto references which keep your objects from being freed. Stefan 2011/1/18 Sapna Srivastav : > Hi to all > > I am developing an application that will run 24x7 in wh

[android-developers] Android 2.3 NFC Capabilities

2011-01-18 Thread Mike Duffy
I have been trying to post the following message to the Android Developers group for the past several days. Why are the moderators blocking this message? Has anyone been able to create a demo for NFC on Android 2.3? The support from Google is incredibly lame: http://developer.android.com/resourc

[android-developers] Binder example

2011-01-18 Thread Hari Kumar
Hi, I am new to Android, can anyone provide me a sample application for Binder. I have gone through some of the example but i am confused with the flow. Can anyone provide me the flow (i.e different types of file used in client and implementation) of local and remote service. Thanks Hari -- You

[android-developers] Dynamic SetId on a XML Layout

2011-01-18 Thread AR
Hi, for my own clarity i've created a "node" xml with a button and two text view. Every button has a static id in the xml layout, but i add the node dymanically in the code with an Inflate and an AddView on a LinearLayout. Now. I'd like to change the button id so that it turn into an increment

[android-developers] problem to back previous activity

2011-01-18 Thread bsk
I am new in android. I create an app with using switch case for intent more than one activities. But I have a problem which turning to previous activity with back button. How I can solve this problem? I need sample codes for this. Please help me, immediately. -- You received this message because

[android-developers] Dynamically Changing Gesture color

2011-01-18 Thread vivin joy
hi i have an app, in which when a check box is checked the gesture colors changes. but i find that gestureOverlayView.setGestureColor="#FF", doesn't even work. It only accepts the xml attribute concerned with the gesture color provided in the layout. -- You received this message because yo

[android-developers] NFC : detect TAG once inside the application

2011-01-18 Thread Lex
OK here is my problem. I created an application where I need to detect TAGs. So I created an activity and I registered an intent receiver to it : It works perfectly. Now the thing is. Once I detect the tag it goes in my applicat

  1   2   3   4   >