[android-developers] Handler problem

2011-12-01 Thread CaryWang
I have two thread, one thread:HandlerThread, two thread:normal thread. question: two thread endless send message to handlerThread,but handlerThread is quit.So I don't know what will happen.e.g:OutOfMemory -- Cary -- You received this message because you are subscribed to the Google Groups "

[android-developers] What are ideal parameters for the width & height of the layout of widget?

2011-12-01 Thread Abhishek Kumar Gupta
In the case of Widget, if I use RelativeLayout as the main layout, then what will be the best parameters for layout_width & layout_height i.e. whether I have to use "match_parent" or "wrap_content"? Please help me. If the question is below standard then sorry for that. -- You received this mess

[android-developers] Re: Android Audio framework

2011-12-01 Thread Sourav Howlader
Check the below links: http://developer.android.com/reference/android/media/MediaPlayer.html http://developer.android.com/guide/topics/media/mediaplayer.html I think these will help. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

Re: [android-developers] Re: database connectivity on real device

2011-12-01 Thread Nikolay Elenkov
On Fri, Dec 2, 2011 at 3:05 PM, Narendra Singh Rathore wrote: > > >> Create you database in code, when app is first run. Load data from >> assets. If there is a lot of data load it from internet. >> >> Regards >> > > So, isn't it possible to use already made database from assets. > There should be

Re: [android-developers] Re: database connectivity on real device

2011-12-01 Thread Ajmer Singh
Hi Your database file need to be less then 1 MB(as assets folder support file less then 1 MB), You can split your database using hjsplit and then in runtime combined the split files and put it in your package folder. On Fri, Dec 2, 2011 at 11:35 AM, Narendra Singh Rathore < nsr.curi...@gmail.com>

[android-developers] Re: Is this template in java

2011-12-01 Thread SL
Not really. The confusion between Java generics and C++ templates causes more trouble than it explains things. When you come right down to it, the only thing in common is the angle-bracket syntax. It's very misleading to say that Java generics are like C++ templates. For that matter, it's

Re: [android-developers] Re: database connectivity on real device

2011-12-01 Thread Narendra Singh Rathore
Create you database in code, when app is first run. Load data from > assets. If there is a lot of data load it from internet. > > Regards > > So, isn't it possible to use already made database from assets. There should be some way to do this. -- You received this message because you are subscribe

Re: [android-developers] Re: Is it possible to have a static view common to various activities in the application?

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 11:48 PM, B.Arunkumar wrote: > I have a layout defined programmatically in activity class. How do > I include the layout header (defined as xml) in the layout defined > programmatically (not as xml) in the activity class. > http://developer.android.com/reference/android/vi

[android-developers] Re: Is it possible to have a static view common to various activities in the application?

2011-12-01 Thread B.Arunkumar
Hi, I have a layout defined programmatically in activity class. How do I include the layout header (defined as xml) in the layout defined programmatically (not as xml) in the activity class. Thank you, B.Arunkumar On Nov 29, 12:46 pm, siva prakash wrote: > Hi, >    You can do this in two wa

Re: [android-developers] [OT] spelling (Was: Stealing an apk wirelessly)

2011-12-01 Thread Michael Banzon
On Fri, Dec 2, 2011 at 6:06 AM, TreKing wrote: > On Thu, Dec 1, 2011 at 8:10 PM, Lew wrote: >> >> That's "eavesdrop", one word. >> http://en.wiktionary.org/wiki/eavesdrop >> >> HTH. > > Wow. Eff your going two crate anew post too correct some won every time > their is a typo on this list, your go

[android-developers] Re: Need A web xml parsing code... Urgently please

2011-12-01 Thread gjs
Hi, When I run that code, it never returns from - iHaveTheSkillToDoMyOwnWork() :-) Regards On Dec 2, 7:51 am, Streets Of Boston wrote: > Sorry Treking, > But the example you provided won't work. He asked for Urgent*ly* ... slight > typo on your part, can happen to the best of us > :-D -- Yo

Re: [android-developers] [OT] spelling (Was: Stealing an apk wirelessly)

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 8:10 PM, Lew wrote: > That's "eavesdrop", one word. > http://en.wiktionary.org/wiki/eavesdrop > > HTH. > Wow. Eff your going two crate anew post too correct some won every time their is a typo on this list, your going two get banned four spamming. Eye hope this massage dri

[android-developers] Re: Android - Beagleboard - Input via serial port

2011-12-01 Thread gjs
Hi, Check this out http://slickdevlabs.com/slick-usb-2-serial-library/ Regards On Dec 2, 9:57 am, Dalton Cézane wrote: > Hi. > > I would like to know what you recomend for reading data from serial port > (or usb) in a beagleboard. I saw that android does not have native suport > for serial port

Re: [android-developers] Android Audio framework

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 9:18 PM, Jayashree wrote: > But if there is any link that has the flow or the design, then it would be > good.. It's doubtful anyone has gone through that kind of trouble. - T

[android-developers] Re: how do i know if i am on road between two points in android

2011-12-01 Thread gjs
Hi, This might help http://www.movable-type.co.uk/scripts/latlong.html Regards On Dec 2, 12:10 pm, TreKing wrote: > On Thu, Dec 1, 2011 at 5:49 AM, PaulH wrote: > > how can I check if my current location is in the zone if I have only the > > start point and end point? > > If you're saying you

[android-developers] Re: database connectivity on real device

2011-12-01 Thread gjs
Hi, Create you database in code, when app is first run. Load data from assets. If there is a lot of data load it from internet. Regards On Dec 2, 2:07 pm, Narendra Singh Rathore wrote: > Hi again, my problem solved by storing my database in sdcard, but even now > I have to push my database for

[android-developers] Re: QVGA devices not getting filtered?

2011-12-01 Thread Stephen Lebed
Well, that's is a good question? The person who contacted me sent me a screenshot showing my app running on their device. He said it was the HTC Wildfire. I wouldn't think that someone who would steal my app would write me for tech support! On Dec 1, 9:32 am, Mark Murphy wrote: > Are you sure

[android-developers] MP4 video not working on Google Nexus One

2011-12-01 Thread Ali Rangwala
Hello All, I have developed an application with some MP4 videos. It works well on HTC however Google Nexus One throws error of "Video Format not supported" The client can play normal mp4 videos on his mobile. Any pointers/directions on if there needs to be additional permission settings in the app

Re: [android-developers] Android Audio framework

2011-12-01 Thread Jayashree
yes , i agree.. But if there is any link that has the flow or the design, then it would be good.. On 2 December 2011 06:38, TreKing wrote: > On Thu, Dec 1, 2011 at 7:36 AM, Jay wrote: > >> Could anyone point me to a link / resource on the web that explains the >> android audio in depth.. >> >

Re: [android-developers] database connectivity on real device

2011-12-01 Thread Narendra Singh Rathore
Hi again, my problem solved by storing my database in sdcard, but even now I have to push my database for the first time I m using it. Now, I want something likestoring my database in assets folder, so that it can directly be installed with the apk directly, without using push. Here is what

[android-developers] [OT] spelling (Was: Stealing an apk wirelessly)

2011-12-01 Thread Lew
Hal Harrison wrote: > > > > What do you mean by 'smart phone compromising a wireless network'? > > If a smart phone could be programmed to eves drop and steal files from > ^^ That's "eavesdrop", one word. http://en.wiktionary.

Re: [android-developers] Re: Android activity lifecycle bug/problem. Android team please help.

2011-12-01 Thread Kristopher Micinski
On Thu, Dec 1, 2011 at 7:26 PM, dnkoutso wrote: > I don't necessarily agree with the above statement. Having to just "accept > things" for what they are is completely inconsistent with the definition of > a singleTop activity documentation. > > If android must revive activities A and B, where B i

[android-developers] Re: How to READ a MODE_WORLD_READABLE file from ANOTHER application

2011-12-01 Thread Saied
Thank you VERY much Mark! Can you please me tell me what a typical path may look like? For example if the app creating the text file has the package: come.exideas.test What would the path look like; is that consistent across all Android Os? Thank you very much. On Dec 1, 4:10 pm, Mark Murphy

Re: [android-developers] Re: Stealing an apk wirelessly

2011-12-01 Thread Nikolay Elenkov
On Fri, Dec 2, 2011 at 10:16 AM, lbendlin wrote: > > It will be much easier to steal stuff WHILE the phone is downloading an app, > say from the market. Packet sniffing etc. So if you are buying an app from > the market while sitting at Starbucks, definitely watch out for parrots. > You beat me t

[android-developers] Re: Stealing an apk wirelessly

2011-12-01 Thread lbendlin
a LAN server would have to first of all know that there is an Android device on the same network. Not that easy. Then the server (bad server, that) would have to somehow connect into the phone. As already mentioned, adb is highly unlikely. Bluetooth might be a more realistic option, what with

Re: [android-developers] open dialpad

2011-12-01 Thread TreKing
On Tue, Nov 29, 2011 at 12:43 PM, ankur chandra wrote: > i want to open the dial pad of the current call session > progammatically. is it possible? > Maybe with your own firmware. I doubt you can do this otherwise. > i also want to hide the screen of the > call session in the notification area

Re: [android-developers] Activity

2011-12-01 Thread TreKing
On Tue, Nov 29, 2011 at 3:23 AM, abhijit chakra wrote: > When i am moving from one activity to another activity...the button > in the scond activity is not showing i dont know wr is the problem. > please help > Thanks in Adavance. > How should we know "wr is the problem" if you don't provide an

Re: [android-developers] how do i know if i am on road between two points in android

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 5:49 AM, PaulH wrote: > how can I check if my current location is in the zone if I have only the > start point and end point? > If you're saying you have a set of points that define these "zoned roads", than some basic math will allow you to find the nearest points to your

Re: [android-developers] Android Audio framework

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 7:36 AM, Jay wrote: > Could anyone point me to a link / resource on the web that explains the > android audio in depth.. > Try the source code. Won't get more in depth than that. -

Re: [android-developers] Android source

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 4:56 PM, Neilz wrote: > Failing that, what are my other options please? http://bit.ly/vmcTdO - TreKing - Chicago transit t

Re: [android-developers] Re: App taken down by fake DMCA, no response from Google

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 5:02 PM, Christer Nordvik wrote: > I really hope that someone from Google reads this and can ask the market > team to have a look. > >From my experience, AFAIK, the nice Google people on this group don't talk to the Market people. Or at least they don't get involved in Mar

Re: [android-developers] Re: Android activity lifecycle bug/problem. Android team please help.

2011-12-01 Thread Streets Of Boston
I think it is possible to have two singleTop activities of the same class on top of each other, if they each one of them is part of a different target *task*. Maybe this is what happens? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] adb sending touch events

2011-12-01 Thread market place
Is it possible to send touch events to a specific package installed on the emulator using adb? --Andry -- 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

Re: [android-developers] Re: Android activity lifecycle bug/problem. Android team please help.

2011-12-01 Thread dnkoutso
I don't necessarily agree with the above statement. Having to just "accept things" for what they are is completely inconsistent with the definition of a singleTop activity documentation. If android must revive activities A and B, where B is singleTop and is currently on the TOP of the stack (pe

Re: [android-developers] How to READ a MODE_WORLD_READABLE file from ANOTHER application

2011-12-01 Thread Mark Murphy
Use Java file I/O. You will need to know the path to the file in question, hopefully supplied to you by the other application. On Thu, Dec 1, 2011 at 7:07 PM, Saied wrote: > Hello, > > The docs say: >  "MODE_WORLD_READABLE File creation mode: allow all other applications > to have read access to

[android-developers] How to READ a MODE_WORLD_READABLE file from ANOTHER application

2011-12-01 Thread Saied
Hello, The docs say: "MODE_WORLD_READABLE File creation mode: allow all other applications to have read access to the created file." So I can do this: public void writeTextFile() { String FNAME = "test.txt"; String CONTENT = "Write this test string to test.txt file"; Fi

Re: [android-developers] Re: App taken down by fake DMCA, no response from Google

2011-12-01 Thread Christopher Van Kirk
It's unfortunate, but they really don't have any other option. They've already been in trouble many times over copyright infringement concerns with their search and related businesses. One wrong move and their whole enterprise could be in trouble. So they take a hard line with copyright matters

Re: [android-developers] App taken down by fake DMCA, no response from Google

2011-12-01 Thread Christopher Van Kirk
There's a bill in congress right now that extends copyright protections in exactly that way. http://www.reuters.com/article/2011/11/17/us-internet-piracy-bill-idUSTRE7AG0312017 On 12/2/2011 6:59 AM, Jim Graham wrote: On Fri, Dec 02, 2011 at 06:11:13AM +0800, Christopher Van Kirk wrote: T

Re: [android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-12-01 Thread Mark Murphy
On Thu, Dec 1, 2011 at 6:10 PM, Richard Schilling wrote: > I guess when you look at the stacktrace in LogCat, we do have quite a few > layers... the stacktrace shows calls through about 12 different UI control > classes.  Would you concur that is definitely a problem in this case? It's where I'd

Re: [android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-12-01 Thread Richard Schilling
I guess when you look at the stacktrace in LogCat, we do have quite a few layers... the stacktrace shows calls through about 12 different UI control classes. Would you concur that is definitely a problem in this case? But what do you think about the cursor? -- You received this message becaus

Re: [android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-12-01 Thread Richard Schilling
Our views aren't too deep, but they may be too wide, perhaps (too many siblings under the same parent)? I am displaying lots of data using a cursor. I actually get two stacks to look at: 1. When the exception is thrown the debugger pauses in CursorWrapper.getCount: 11-23 11:56:55.383: DEBUG/A

Re: [android-developers] Re: multitouch support again...

2011-12-01 Thread John Goche
On Thu, Dec 1, 2011 at 8:17 PM, al wrote: > OK, your yamtt results mean that your device supports multitouch, but > only two simultanious touch points. For your purpose, that should be > enough. > > I might be wrong, but do you return true as the methods result? If > not, do so. > Thanks, I was

[android-developers] Re: App taken down by fake DMCA, no response from Google

2011-12-01 Thread Christer Nordvik
> You're obviously new around here. That made my day. Thanks. I think our app was nr 48 in the appstore when it opened so not that new :-) I've been to Google's offices so I know (contrary to common belief) that there are actually human beings working with the Android Market that can be spoken to

[android-developers] Re: Stealing an apk wirelessly

2011-12-01 Thread Hal Harrison
> What do you mean by 'smart phone compromising a wireless network'? If a smart phone could be programmed to eves drop and steal files from an unprotected LAN, it seems (from my high level view) that a LAN server could be programmed to eves drop and steal files from an unprotected smart phone. H

Re: [android-developers] App taken down by fake DMCA, no response from Google

2011-12-01 Thread Jim Graham
On Fri, Dec 02, 2011 at 06:11:13AM +0800, Christopher Van Kirk wrote: > This is going to be so much worse when they can shut down your bank > account and internet as well. Ummm, just how do you think they'll ever be able to do that? I seriously doubt that a military credit union is going to pay a

[android-developers] Android - Beagleboard - Input via serial port

2011-12-01 Thread Dalton Cézane
Hi. I would like to know what you recomend for reading data from serial port (or usb) in a beagleboard. I saw that android does not have native suport for serial port access. Thanks in advance. -- === Dalton Cézane - Smarteju Tecnologia Especi

[android-developers] Android source

2011-12-01 Thread Neilz
Hi, is there an easy way to browse the android source code? I don't want to download the whole lot... at least I tried, but I'm not a linux user really, and also the netbook I have with linux on ran out of space during the process :-/ I only want to see the source for MediaController.java, but de

Re: [android-developers] App taken down by fake DMCA, no response from Google

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 4:02 PM, Christer Nordvik wrote: > Does the Android Market team have a phonenumber where they can be reached? You're obviously new around here. That made my day. Thanks. - Tre

Re: [android-developers] Is this template in java

2011-12-01 Thread Lew
On Thursday, December 1, 2011 6:31:17 AM UTC-8, Mark Murphy (a Commons Guy) wrote: > > On Thu, Dec 1, 2011 at 9:15 AM, SL@maxis wrote: > > Java format: > > > > ArrayAdapter(Context context, int textViewResourceId, List objects) > > > > Is the above template like in C++ ? > > > More or less. > N

Re: [android-developers] Re: Android activity lifecycle bug/problem. Android team please help.

2011-12-01 Thread Kristopher Micinski
On Thu, Dec 1, 2011 at 11:46 AM, dnkoutso wrote: > I think its actually a bug in Android :) > > It's not a bug.. People blame things like this on the system, but it's just a consequence of the lifecycle flow. It's not a bug just because it doesn't play well with what you intend. > Is killing

Re: [android-developers] App taken down by fake DMCA, no response from Google

2011-12-01 Thread Christopher Van Kirk
This is going to be so much worse when they can shut down your bank account and internet as well. On 12/2/2011 6:02 AM, Christer Nordvik wrote: Our app FotMob, https://market.android.com/details?id=com.mobilefootie.wc2010, was taken down by a fake DMCA and has been down for 4 days. We have co

[android-developers] App taken down by fake DMCA, no response from Google

2011-12-01 Thread Christer Nordvik
Our app FotMob, https://market.android.com/details?id=com.mobilefootie.wc2010, was taken down by a fake DMCA and has been down for 4 days. We have confirmation from the ones who apparently sent the DCMA that they never sent it and have forwarded this information to Google 2 days ago with no res

[android-developers] Pass Data From Activity to All Attached Fragments

2011-12-01 Thread Robert
I'd like to pass some information to all attached Fragments in my Activity. However the simplest way that I can see how to accomplish this is to keep track of the Fragments that are being attached, via the onAttachFragment() method. I would save those Fragments in a list and when I need to, go

Re: [android-developers] Complicated JSON String Parsing in Android

2011-12-01 Thread Streets Of Boston
First, what are 'attributes' of the JSON string? Secondly, You create a String out of the JSON-array 'fruits' and then write code to get each and every character of this String. I don't understand why you are surprised that your code works and actually do get characters... In other words, you'd

Re: [android-developers] Need A web xml parsing code... Urgently please

2011-12-01 Thread Streets Of Boston
Sorry Treking, But the example you provided won't work. He asked for Urgent*ly* ... slight typo on your part, can happen to the best of us :-D -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

Re: [android-developers] How to Capture video with onPreviewFrame and send over TCP Socket????

2011-12-01 Thread Jim Graham
On Thu, Dec 01, 2011 at 10:27:07AM -0800, muhammad.ume...@hotmail.com wrote: > I am using the TCP socket to send data to my desktop server. but > first i want to convert the NV21 format to 3gp form also compress it > and create the byte array of this frame to send over a TCP socket. > then th

Re: [android-developers] Complicated JSON String Parsing in Android

2011-12-01 Thread s.rawat
Sorry it was JSONArray cities = jsonObject.getJSONArray("fruits"); "..pain is temporary.quitting lasts forever.." On Fri, Dec 2, 2011 at 1:25 AM, Mark Murphy wrote: > On Thu, Dec 1, 2011 at 2:45 PM, s.rawat wrote: > > Hi , > > I am trying to parse this json structure but am un

Re: [android-developers] Complicated JSON String Parsing in Android

2011-12-01 Thread Mark Murphy
On Thu, Dec 1, 2011 at 2:45 PM, s.rawat wrote: > Hi , > I am trying to parse this json structure but am unable to do this ; > > { > "fruits": > [ > { > "apple": > { > "number":20, > "calories":"210", > "Sweet":"yes", > "Sour":"yes", > "Juice":"yes", > "Pickle":"No" > } > }, > { > "Grape": > { > "n

[android-developers] Re: Android 2.2 and Android 2.1

2011-12-01 Thread Andrei
Log error 12-01 19:54:16.928: WARN/dalvikvm(501): threadid=3: thread exiting with uncaught exception (group=0x4001b188)12-01 19:54:16.938: ERROR/ AndroidRuntime(501): Uncaught handler: thread main exiting due to uncaught exception12-01 19:54:16.948: ERROR/AndroidRuntime(501): java.lang.IllegalArgum

[android-developers] Complicated JSON String Parsing in Android

2011-12-01 Thread s.rawat
Hi , I am trying to parse this json structure but am unable to do this ; { "fruits": [ { "apple": { "number":20, "calories":"210", "Sweet":"yes", "Sour":"yes", "Juice":"yes", "Pickle":"No" } }, { "Grape": { "number":10, "calories":"200", "Sweet":"yes", "Sour":"yes", "Juice":"yes", "Pickle"

Re: [android-developers] Need A web xml parsing code... Urgently please

2011-12-01 Thread TreKing
On Wed, Nov 30, 2011 at 6:09 AM, Aniket Kumbhar wrote: > Need A web xml parsing code... Urgently please Because it's urgent - and you said please. See attached. Hope that helps. - TreKing

Re: [android-developers] Using Spinner as a Button.

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 4:27 AM, Pocket wrote: > But I want to use Spinner just as a Button. > And you don't just use a Button because ... ? - TreKing

Re: [android-developers] Re: About Phone GAP

2011-12-01 Thread Mukesh Srivastav
Hi All, The problem here, We as in Mobile Developers come from c,c++ and Java Platform and we are experienced inthat and we have the solution for every problem. The problem could be in Design Patterns or Android/IOS SDK Api's issue, we know how to fix it and we are master into that. All of sudden

[android-developers] Re: multitouch support again...

2011-12-01 Thread al
OK, your yamtt results mean that your device supports multitouch, but only two simultanious touch points. For your purpose, that should be enough. I might be wrong, but do you return true as the methods result? If not, do so. On 1 Dez., 19:07, John Goche wrote: > Thank you for your reply, > >

Re: [android-developers] Re: Anyone help me! Send Mediarecorder video to server through TCP socket and server save it in a file????

2011-12-01 Thread Terry Bayne
You are aware, right, that both the FTP and HTTP protocols use TCP to send/receive data? But I get the idea you want some "simple" answer so that you can toss your stream of video data at a program running on a PC somewhere and have it magically get stored in a file. Without having to save t

[android-developers] How to Capture video with onPreviewFrame and send over TCP Socket????

2011-12-01 Thread muhammad.ume...@hotmail.com
Hi, I am using the TCP socket to send data to my desktop server. but first i want to convert the NV21 format to 3gp form also compress it and create the byte array of this frame to send over a TCP socket. then the server will write this live to video file. /// Here is my client side code

[android-developers] Re: About Phone GAP

2011-12-01 Thread Thomas
Hi All, I started using PhoneGap to develop some GPS based geocaching games. It took a while to understand the interface well enough to link to my own java routines on the android proper. The javascript linkage was obscure enough in own right but the deal breaker was that the GPS routines were biz

Re: [android-developers] Re: multitouch support again...

2011-12-01 Thread John Goche
Thank you for your reply, I downloaded and installed yamtt (Yet Another MutltiTouch Test) from Android Market. When I place the second finger down it's detected but not when I place the third one down. Still not sure what I'm doing wrong in my code... On Thu, Dec 1, 2011 at 10:41 AM, al wrote:

Re: [android-developers] Writing to SQLite database locks reading

2011-12-01 Thread Mark Murphy
On Thu, Dec 1, 2011 at 9:46 AM, HighFlyer wrote: > I have large database which should be updated periodically. Update > process is long enough and takes up to 10 seconds. > Also I have one ListView with short description of objects. On item > click activity with full object info should be shown. >

[android-developers] Draw on top of camera frames.-AR

2011-12-01 Thread JossieKat
I 'd like to know if there is a simple code that does a) stream a camera frames/video at a certain rate, b) draw animation /graphics on top of this camera frame stream and present the final outcome on the screen.. a simple AR application.using android 2.1 I don't know how to combine those t

Re: [android-developers] How enable\disable GPS ?

2011-12-01 Thread krazy
Nope... the "kiddie hack" still works fine. Tried on Android 2.1(emulator), Android 2.2(emulator), Android 2.3.7(real device). I don't see any privacy issues, other than the possibility of battery drainage. To use the code above one will need android.permission.WRITE_SETTINGS and android.permis

[android-developers] Android Audio framework

2011-12-01 Thread Jay
Hi, Could anyone point me to a link / resource on the web that explains the android audio in depth.. I do have an overview knowledge of how audio works in andorid... But would like to have an indepth knowledge.. Thanks, Jay -- You received this message because you are subscribed to the Google G

[android-developers] Notepad v3 - Empty notes created "bug"

2011-12-01 Thread LoopyLou
Hi, I've worked through the android Notepad tutorials (my first Android venture) and I having completed them I have noticed that in v3 I can create an empty note, which then cannot be deleted. how this is done: menu> new note > confirm (without adding any data to the title or the body) = new empty

[android-developers] Writing to SQLite database locks reading

2011-12-01 Thread HighFlyer
Hi. I have large database which should be updated periodically. Update process is long enough and takes up to 10 seconds. Also I have one ListView with short description of objects. On item click activity with full object info should be shown. The problem is: object information storing in database

[android-developers] Example to use setError in EditText

2011-12-01 Thread Xiao-long Gou
Hey, guys. I just want to see where should I call setError(),if I want validation information to be poped each time the content is changed. Regards, XLG -- 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 do i know if i am on road between two points in android

2011-12-01 Thread PaulH
I have a list of start point and end point coordinates for zoned roads. when i put the coordinates in to google maps it shows the road correctly. I want to develop an android application that will alert me if I am on a zoned road. how can I check if my current location is in the zone if I have o

Re: [android-developers] Re: About Phone GAP

2011-12-01 Thread sajjan androiddeveloper
Unfortunately ,If you need same code to be working on multiple platforms(iPhone and Blackberry) no other way now.. On Thu, Dec 1, 2011 at 10:30 AM, Mukesh Srivastav wrote: > JQuery,PhoneGAP,Snecha are all Same Web-Development tools. > > > I suspect, one day, Mobile companies would HIRE Web-Develo

[android-developers] Re: Need A web xml parsing code... Urgently please

2011-12-01 Thread Nowayforback
If need a some code about web service and android client application have xml parse functions, you can download a good sample: Subsonic android music client on sf.net. On 1 Tháng Mười Hai, 12:19, Kumar Bibek wrote: > The question isn't very clear. Anyway, look at examples and use these > search

[android-developers] Re: About Phone GAP

2011-12-01 Thread Nowayforback
PhoneGap only used for light media/bussiness logic applications, not for games. And i don't like PhoneGap beacause all code of PhoneGap is open source. If PhoneGap have a plug-in for hide some important part of apps, I'm very like PhoneGap. I'm PHP developer too. At present, I can hide my code by

[android-developers] Re: Is this template in java

2011-12-01 Thread HighFlyer
Yes, its templates. Java use 'generics' term On 1 дек, 18:15, "SL@maxis" wrote: > Java format: > >    ArrayAdapter(Context context, int textViewResourceId, List objects) > > Is the above template like in C++ ? > > I have a 15-year Java book; I think there is no such thing in there. > > I did a li

[android-developers] Android:native player with closed captioning

2011-12-01 Thread andy test
Does android's native player supports closed captioning while streaming a live video? If yes, is it handled automatically by the player or need to handle it separately and how? We have a requirement specifically for android 3.0 and above to display closed captioning(prefered) or subtitles while str

[android-developers] System Waking up after a long key power button press in ICS

2011-12-01 Thread sanath
Hi All, I was currently working on ICS bring up on a customer platform , where i got an issue with the wake up. For resuming the system , i used power key , but when just click once its not waking up, i need to hold that for 2 to 3 seconds. what i found in when i just click once is , the /sys/powe

Re: [android-developers] QVGA devices not getting filtered?

2011-12-01 Thread Mark Murphy
Are you sure that they're getting it from the Android Market? On Thu, Dec 1, 2011 at 12:29 PM, Stephen Lebed wrote: > Hi All, > > I have a bit of a dilemma.  I've created a few apps where I > specifically don't support small screens (ie. QVGA), but for some > reason people who own the HTC Wildfir

Re: [android-developers] Android documentation in PDF

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 9:20 AM, Carlos A. M. dos Santos wrote: > Searching will be limited to the currently displayed page, of course, At least on Windows, you can search a directory (in this case the root docs directory) for a query that appears within the files in the directory.

[android-developers] QVGA devices not getting filtered?

2011-12-01 Thread Stephen Lebed
Hi All, I have a bit of a dilemma. I've created a few apps where I specifically don't support small screens (ie. QVGA), but for some reason people who own the HTC Wildfire are able to see and install my app on their devices. I've set smallScreens to false in my manifest, so I'm not sure where th

Re: [android-developers] Preference issue

2011-12-01 Thread TreKing
On Mon, Nov 28, 2011 at 8:25 PM, mark2011 wrote: > But when I open another api to retrieve back these preferences, the data > wasn't what I thought. > What have you done to debug this? Do you have more code that shows how you're putting and retrieving this preference? --

Re: [android-developers] Campo de Busca

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 9:26 AM, Ray da Costa wrote: > Pessoal uma ajuda. > Já usei uma vez mas não lembro. Tem um componente no android que é um > "EditText" que usa adapter para fazer pesquisa em um list viewer... alguem > lembra o nome deste componente. Estou usando a versão 2.1 > English ple

Re: [android-developers] Remote Notification

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 10:48 AM, New Developer wrote: > What are the terms? Sounds like you want "push notifications", like C2DM. - TreKing - Chi

Re: [android-developers] Re: Anyone help me! Send Mediarecorder video to server through TCP socket and server save it in a file????

2011-12-01 Thread Jim Graham
On Thu, Dec 01, 2011 at 09:33:22PM +0500, Muhammad UMER wrote: > On Thu, 1 Dec 2011 06:00:58 -0800, raffaelesga...@gmail.com wrote: > >> You'd better use a http or ftp server >> > but i want to use TCP socket to send video to desktop server and save > this video to file. have you any idea??? What

[android-developers] Remote Notification

2011-12-01 Thread New Developer
Hi All, I'm not sure of the terms/terminology to use so my searches to date have need unsuccessful I'm trying to create a notification system that can be triggered remotely. concept: A file is changed or created within a specific folder on a web server (ours) The mobile devic

[android-developers] Re: Android activity lifecycle bug/problem. Android team please help.

2011-12-01 Thread dnkoutso
I think its actually a bug in Android :) Is killing the app from DDMS the same as Android decided to kill the app due to low amount of memory? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Re: Urgent Problem with screen turned off

2011-12-01 Thread cipher_neo
When data is ready, then it notifies the user via a vibration, hence the need to keep it alive in the background. I used the partial wake lock feature, thanks for that James! Problem solved! -- You received this message because you are subscribed to the Google Groups "Android Developers" group

Re: [android-developers] Android ICS SpellChecker

2011-12-01 Thread Romain Guy
This happens if you set an inputType on a TextView. Note that by doing so you also make the TextView editable with a keyboard, which you probably don't want :) On Wed, Nov 30, 2011 at 12:01 AM, Guillaume Lachaud < guillaume.lach...@backelite.com> wrote: > Hi ! > > I have tried my application on I

RE: [android-developers] Re: Anyone help me! Send Mediarecorder video to server through TCP socket and server save it in a file????

2011-12-01 Thread Muhammad UMER
but i want to use TCP socket to send video to desktop server and save this video to file. have you any idea??? Date: Thu, 1 Dec 2011 06:00:58 -0800 From: raffaelesga...@gmail.com To: android-developers@googlegroups.com Subject: [android-developers] Re: Anyone help me! Send Mediarecorder video to

[android-developers] Duygu Kahraman want to chat with you

2011-12-01 Thread Duygu Kahraman
Hi All; Anybody want to share experience or knowledge about android,can add me from gtalk. duygu.kahram...@gmail.com -- 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

[android-developers] Re: Urgent Problem with screen turned off

2011-12-01 Thread lbendlin
why do you need to poll data that nobody will see? -- 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+uns

[android-developers] Re: Need Help

2011-12-01 Thread lbendlin
startActivityForResult and onResult -- 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+unsubscr...@googl

Re: [android-developers] about apps marketing....

2011-12-01 Thread TreKing
On Wed, Nov 30, 2011 at 10:16 AM, Abu Saleh Mohammad Kaisar < ekai...@gmail.com> wrote: > anyone please help me about apps marketing. > how can I reach more people in short time? > This list is for developing Android Applications using the official SDK, not marketing apps. Regardless, I assure yo

Re: [android-developers] Re: Android compatibility - transition from Eclipse Ganymede to Helios (&/or Indigo)

2011-12-01 Thread TreKing
On Thu, Dec 1, 2011 at 3:32 AM, jeril842002 wrote: > The app loads nicely but the moment I click Log On (a button in our app), > the app crashes. > I repeat: What have you done to debug your app in this scenario? --

Re: [android-developers] Urgent Problem with screen turned off

2011-12-01 Thread James Black
You could look at using PowerManager to keep the device awake. On Dec 1, 2011 10:04 AM, "cipher_neo" wrote: > Hi guys, > > really urgent problem here. > > I have an app that uses a web view and an ajax polling app. > > As soon as I turn the screen off on the device, the polling stops? > > But the

  1   2   3   >