[android-developers] Re: How to set and get thread priority from Java and native layers

2010-05-14 Thread KK
Ok, finally I seem to have found out some more of what is happening. I am able to set any priority > 0. But if I try priorities <= 0 it throws an exception. For all my practical purposes, positive priorities are enough. But anyone has any idea what application is not allowed to use any priorities <

[android-developers] Re: Participate in app promotion experiment

2010-05-14 Thread Maps.Huge.Info (Maps API Guru)
String, thanks. I'm looking for more than one app, several would be good, but not more than 20 for the run of the experiment. A couple of other points I didn't mention. Radar Now! is a US only app so your app should be useful in the US and be English language compatible. -John Coryat On May 15

[android-developers] Re: Creation of Activities from Tabhost

2010-05-14 Thread skink
On May 14, 5:36 pm, Patrick wrote: > Hallo! > I have a TabActivity. Within this activity (in the onCreate method) I > create a TabHost and a TabSpec and do a > tabSpectSearch.setContent(intenSearch); The Indent is created using > intentSearch = new Intent().setClass(this, MyActivity.class); > >

Re: [android-developers] Re: Set multiple form parameters

2010-05-14 Thread pawan nimje
I tried using it but was unsuccessful. Can u give the code snippet for the same or suggest some other method. On Fri, May 14, 2010 at 7:20 PM, inbrain wrote: > Doesn't setParams(HttpParams params) method suit you? It is declared > in HttpMessage which is one of interfaces implemented by HttpPost

[android-developers] Re: Is there a way to invert a Bitmap when using Canvas.DrawBitmap

2010-05-14 Thread skink
On May 14, 10:48 pm, kevin0228ca wrote: > Hi everyone. > I am starting to develop a game. Right now I got a sprite animation > going when a player moves > across using sprite sheet. > In my sprite sheet the character is always facing the same way, left. > Now if I want the charatcer to move righ

[android-developers] Re: Drawable resource XML "alias"

2010-05-14 Thread skink
On May 15, 2:59 am, String wrote: > On May 14, 6:12 pm, Mark Murphy wrote: > > >http://idunnolol.com/android/drawables.html > > Thanks for this link. Hadn't seen that one before. > > > Your syntax may work just as is. > > Unfortunately, it doesn't. I thought it looked plausible too, but > natur

[android-developers] Re: Participate in app promotion experiment

2010-05-14 Thread String
Chill out guys, he's making a decent offer here. App promotion is an important topic for virtually all developers, and (in my experience) promoting one app from another, more visible one is an effective technique. But that's just my experience... It strikes me that this is an excellent opportunity

[android-developers] Re: Drawable resource XML "alias"

2010-05-14 Thread String
On May 14, 6:12 pm, Mark Murphy wrote: > http://idunnolol.com/android/drawables.html Thanks for this link. Hadn't seen that one before. > Your syntax may work just as is. Unfortunately, it doesn't. I thought it looked plausible too, but naturally I tried it (along with a host of other variatio

[android-developers] Re: Maintaining the state when changing the orientation

2010-05-14 Thread String
Are you aware that an orientation change will destroy and re-create your Activity? It's documented here: http://developer.android.com/resources/articles/faster-screen-orientation-change.html It sounds to me like your "non ui thread" is calling a handler in the Activity instance for the original or

Re: [android-developers] Re: Is there any dictionary of words in android platform?

2010-05-14 Thread Greg Donald
On Fri, May 14, 2010 at 11:34 PM, Josh wrote: > I would also like the answer to this question. Can anyone help out? > > On May 13, 3:19 am, android-developer wrote: >> Is there anydictionaryof words present in android platform ? If yes >> how can I use thisdictionaryin my applications to populate

[android-developers] Re: Is there any dictionary of words in android platform?

2010-05-14 Thread Josh
I would also like the answer to this question. Can anyone help out? On May 13, 3:19 am, android-developer wrote: > Is there anydictionaryof words present in android platform ? If yes > how can I use thisdictionaryin my applications to populate > suggestions/predictions ? > > -- > You received thi

RE: [android-developers] Participate in app promotion experiment

2010-05-14 Thread Tommy
agreed -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Greg Donald Sent: Friday, May 14, 2010 10:30 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Participate in app promotion experiment O

Re: [android-developers] Participate in app promotion experiment

2010-05-14 Thread Greg Donald
On Fri, May 14, 2010 at 8:38 PM, Maps.Huge.Info (Maps API Guru) wrote: > Be willing to provide daily download numbers in this thread once the > experiment starts In this thread? How about you go play somewhere else? This isn't your personal research forum. -- Greg Donald destiney.com | gregd

[android-developers] Re: 1.5 Not finding image resource!

2010-05-14 Thread Jeffrey
That would make sense except that it tries to draw the image from drawable-nodpi before trying drawable. Also, the error isn't that the image is missing, it's that the image must be bigger than a 0 x 0 image, which it is. For some reason 1.5 trying to read a 9patch from nodpi causes it to mess up.

[android-developers] Participate in app promotion experiment

2010-05-14 Thread Maps.Huge.Info (Maps API Guru)
Here's the deal. I have an app called "Radar Now!" that has over 320,000 downloads, and is used about 100,000 times a day on average. In the last version, I added code that would allow an advertisement for an app to bring up the market directly when the ad is touched. What I would like is for tho

RE: [android-developers] Package an XML file with my app

2010-05-14 Thread Tommy
Mark and TreKing, Thanks for the advice looks like this is EXACTLY what I am looking for! I would normally post errors but I knew the cause of the errors(File not being in the right place) just didn't know there was a res/xml folder I could use to solve it. Again thank you both for your time an

Re: [android-developers] Package an XML file with my app

2010-05-14 Thread TreKing
On Fri, May 14, 2010 at 7:50 PM, Tommy wrote: > Whenever I try to bring the XML file in I get all these errors in Eclipse. > Posting the errors would be helpful. > So how do I add this file and how do I reference it later in order to > access it? > Read this: http://developer.android.com/intl

Re: [android-developers] Package an XML file with my app

2010-05-14 Thread Mark Murphy
Tommy wrote: > Hi this might be a stupid question but I can't figure out how to do > this. I am trying to put an XML file containing over 1,000 different > fish into my app so that I can read this file, create an Array and > attach that to the AutoCompleteTextView. I first tried to create a > strin

[android-developers] Package an XML file with my app

2010-05-14 Thread Tommy
Hi this might be a stupid question but I can't figure out how to do this. I am trying to put an XML file containing over 1,000 different fish into my app so that I can read this file, create an Array and attach that to the AutoCompleteTextView. I first tried to create a string-array in a resource f

[android-developers] Is there a way to invert a Bitmap when using Canvas.DrawBitmap

2010-05-14 Thread kevin0228ca
Hi everyone. I am starting to develop a game. Right now I got a sprite animation going when a player moves across using sprite sheet. In my sprite sheet the character is always facing the same way, left. Now if I want the charatcer to move right, I want it to be facing right. So is there a quick wa

[android-developers] Re: PNG Decoder loading RGB_565 on 24 bit PNGs with alpha - then settings bitmap.config to null?? wtf

2010-05-14 Thread Robert Green
Well something isn't working correctly and I don't think it's aapt, unless aapt is somehow causing the PNG to lose some information that the decoder uses. I'm using PNGs encoded by photoshop with obvious transparency (some with 100% in areas, others with partially transparent pixels) and many of t

Re: [android-developers] PNG Decoder loading RGB_565 on 24 bit PNGs with alpha - then settings bitmap.config to null?? wtf

2010-05-14 Thread Romain Guy
aapt will optimize PNGs already, no need to do it in Photoshop. That also means, for instance, that if your PNG does not have any transparent pixel, aapt will detect that and turn your PNG into an opaque PNG, hence giving you a 565 image. There are other optimizations too (for instance, if you have

[android-developers] PNG Decoder loading RGB_565 on 24 bit PNGs with alpha - then settings bitmap.config to null?? wtf

2010-05-14 Thread Robert Green
I've been dealing with this issue for some time but it's really causing me problems today. Here's what I'm doing: BitmapFactory.Options opts = new BitmapFactory.Options(); opts.inScaled = false; return BitmapFactory.decodeResource(context.getResources(), resourceId, opts); And on many PNGs expo

Re: [android-developers] Selecting picasa photos in gallery

2010-05-14 Thread Thiago Rafael Becker
Any idea on how to solve this? Thnaks in advance. -- Thiago On Tue, Apr 6, 2010 at 10:47 AM, Krizai wrote: > I'm starting gallery from my app to select photo. Everything is fine > until i select photo from picasa. > Result in onActivityResult is just an empty string "". > Here is my code: >    

[android-developers] Re: Change Hue on Image

2010-05-14 Thread pkc
Just wanted to share my solution. I got this idea from a flash script. I have a slider that adjust the "value", where is ranges from 0 to 360. public void adjustHue(ColorMatrix cm, float value) { value = cleanValue(value,180f)/180f*(float)Math.PI;

[android-developers] Re: APKTool - decoding our apps

2010-05-14 Thread Bob Kerns
This whole thread is making me see red, thanks to people spouting off without knowing what they're talking about. I guess it's just an emotional topic. I was going to make the same point as you about "Reengineering itself is an illegal use". But since you beat me to it, I'll point out that there

[android-developers] Re: Why does Android 2.1 kill my service?

2010-05-14 Thread mort
Sorry, I've got the reason... I had a timing problem with the HEADSET_PLUG Intent, which is sent when registered, and in my case caused a stopSelf() because the service "thought" it wasn't required (bad value in internal status flag). The strange behaviour then happened, because the service right a

Re: [android-developers] Why does Android 2.1 kill my service?

2010-05-14 Thread Mark Murphy
mort wrote: > I've got a music player service which should keep on playing in > background. > > So I did: > - add android:process=":remote" in the manifest You should not need that, and it may well be the source of your difficulty. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://

[android-developers] Re: OpenCore / Possible Issue w/ Streaming MP3 over HTTP?

2010-05-14 Thread SDS
Understood Ravi, was just answering your questions from earlier. We'll seek an alternative solutions for streaming MP3's over HTTP that doesn't involve MediaPlayer or OpenCore engine... Thanks again for your attention to this matter. On May 14, 8:32 am, rktb wrote: > I can't think of any right

[android-developers] Why does Android 2.1 kill my service?

2010-05-14 Thread mort
I've got a music player service which should keep on playing in background. So I did: - add android:process=":remote" in the manifest - return START_STICKY in onStartCommand (because MediaPlayer does the work until the track is finished) - invoke startForeground when Activity becomes invisible (on

[android-developers] Creation of Activities from Tabhost

2010-05-14 Thread Patrick
Hallo! I have a TabActivity. Within this activity (in the onCreate method) I create a TabHost and a TabSpec and do a tabSpectSearch.setContent(intenSearch); The Indent is created using intentSearch = new Intent().setClass(this, MyActivity.class); As far as I already found out the class MyActivity

[android-developers] Sound question

2010-05-14 Thread Justin
Hopefully I can get some advice here on this. I also think that this may have been asked before, but I want to get some new perspective...Anyway For applications that work like musical keyboards (think simple 8-16 notes for now), what sound tools are best for this type of application. I'm th

[android-developers] Re: AudioRecord: onPeriodicNotification and onMarkerReached are not called

2010-05-14 Thread HeHe
initially i use those callbacks both of AudioRecorder and AudioTrack. then i found them not as reliable as i had thought, so later i removed my dependency on them. then, i was surprised to learn that without using the callbacks both my audio recording and playback code performed as well if not much

Re: [android-developers] Re: Maintaining the state when changing the orientation

2010-05-14 Thread Alok Kulkarni
Ok , i have succeeded in many parts of the app supporting the landscape mode, i am now facing a major problem in case of Handlers. I have many handlers for updating the UI . But they dont seem to work when i change Orientation.They behave a bit werdly actually.For example, i have a Play button whic

[android-developers] ScrollView with EditText - Scrolling in EditText Issue

2010-05-14 Thread roundhill
HI there, Our app (WordPress for Android) uses a ScrollView for the new blog post view. The issue is that if a user writes a lengthy blog post in the EditText, they are unable to scroll inside of the EditText because the ScrollView seems to be taking over the scrolling action, even when you are in

RE: [android-developers] WebView Horizontal Scroll Not Working

2010-05-14 Thread Tommy
Ah I fixed it. It was a simple ID10T error :) -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Tommy Sent: Friday, May 14, 2010 1:04 PM To: Android Developers Subject: [android-developers] WebView Horizontal Scroll Not W

Re: [android-developers] Drawable resource XML "alias"

2010-05-14 Thread Mark Murphy
String wrote: > Does anyone know the syntax for an XML file for a single bitmap > drawable resource? What I'm looking to do is "alias" a drawable in my > app. I have need for the same image with 2 different names, and rather > than including the image twice in my res/drawable directory, I'd > rathe

[android-developers] WebView Horizontal Scroll Not Working

2010-05-14 Thread Tommy
Hey everyone, I have a WebView that displays a complex graph. My problem is that the webview will only scroll a few pixels instead of scroll horizontal all the way so I can view the entire graph. How can I make it so my WebView is able to be scrolled all the way to the right/left to view the entir

Re: [android-developers] Re: Finally published my first app - thanks to this group!

2010-05-14 Thread Kostya Vasilyev
The Droid is a weird one... 14 мая, 2010 8:14 PM пользователь "Paul Gee" написал: Thanks Wayne, In fact I did exactly as you suggest as despite ALL my testing and beta testing with a group of volunteers on various devices, I found that when I released PuzzleQube I very quickly got crash reports

[android-developers] Drawable resource XML "alias"

2010-05-14 Thread String
Does anyone know the syntax for an XML file for a single bitmap drawable resource? What I'm looking to do is "alias" a drawable in my app. I have need for the same image with 2 different names, and rather than including the image twice in my res/drawable directory, I'd rather alias it (it's fairly

[android-developers] Re: AudioRecord: onPeriodicNotification and onMarkerReached are not called

2010-05-14 Thread pac
Has anyone gotten this working? -- 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...@googlegro

[android-developers] Installing apps on Zoom 2

2010-05-14 Thread Abhi
HI I have the TI Zoom 2 kit that I want to install some of my applications to. But I don't know how to make it run on my Windows environment with Eclipse and the Android SDK, just like how we develop on any other Android phone/device. Does anyone here know how to do this? Or if someone can point

Re: [android-developers] Re: Finally published my first app - thanks to this group!

2010-05-14 Thread Paul Gee
Thanks Wayne, In fact I did exactly as you suggest as despite ALL my testing and beta testing with a group of volunteers on various devices, I found that when I released PuzzleQube I very quickly got crash reports from my program showing a problem on the Droid (only the Droid and not on the Nexus

[android-developers] Re: MediaPlayer pause on loop

2010-05-14 Thread Jason
Awesome. Thanks for the tip! On May 12, 7:49 pm, mot12 wrote: > It's a problem with the mp3 decoding. > > The bad news: You can't do it with mp3. > The good news: Convert to ogg and it works like a charm. > > Martin > mobitobi (Gentle Alarm, Sleep Now!)www.mobitobi.com > > -- > You received this

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-14 Thread Kostya Vasilyev
Donald, Yes, your algorithm is correct. Only add network from the scan list to the known list if not already there. As for scanning on the move, take a look at wake locks. 14 мая, 2010 5:35 PM пользователь "Donal Rafferty" написал: Thanks again Kostya, I have downloaded your app and had a loo

[android-developers] How much time per task?

2010-05-14 Thread BobG
Lets say I have 3 cpu bound activities running, and not much sensor/io/ radio activity. Just for puposes of this example. My model of how linux works is: the clock ticks every ms. All ready tasks are aged one tick. Some might become ready to run because they have 'aged' while waiting. Each running

Re: [android-developers] Android Blur Background

2010-05-14 Thread TreKing
On Fri, May 14, 2010 at 10:37 AM, mike wrote: > i want to make the first activity blur and on top of that i want to display > a text which is in the activity two. just like what they have done it in the > sample. > I'm going to guess that your top activity has to have a dialog theme. --

[android-developers] Android Blur Background

2010-05-14 Thread mike
hi guys, i have two activities. i want to make the first activity blur and on top of that i want to display a text which is in the activity two. just like what they have done it in the sample. but when i tried it it didn't work out for me. this is what i have done from the first activity sta

Re: [android-developers] Re: method.getAnnotation( ) or method.isAnnotationPresent( ) not working

2010-05-14 Thread Droid Wonders
Any one knows that annotation are even supported in android ??? I see that I can add annotations, but can not retrieve them using class methods. On Wed, May 12, 2010 at 5:16 PM, Nehal wrote: > Just wanted to add that I get false for following line even if I have > annotation added. > if (methodL

[android-developers] Re: samsung app store

2010-05-14 Thread schwiz
I don't know what unicast is you will have to explain it to me. The email came from nakhyun54@samsung.com here is the bulk of the email. The real fishy thing is they don't even have the name of my application right... Dear Wolframalpha developer, My name is Nakhyun Kim and I work for Sams

[android-developers] Re: Set multiple form parameters

2010-05-14 Thread inbrain
Doesn't setParams(HttpParams params) method suit you? It is declared in HttpMessage which is one of interfaces implemented by HttpPost On 14 May, 12:40, pawan nimje wrote: > I want to send a post request. This is what i have done- > > HttpClient client = new DefaultHttpClient(); > HttpPost httpos

[android-developers] Re: To copy protect or not to copy protect!? That is the question!

2010-05-14 Thread Tomáš Hubálek
> That is some sweet information! I also hope the Android Market does > something about it!  Now I'm tracking the numbers using Motally to I think that Google HAVE to DO SOMETHING. From my point of view it would be good enough to provide API to be able programatically verify whether user uses lega

[android-developers] Re: new interpreter for Android

2010-05-14 Thread Tomáš Hubálek
I'm also not sure what is the advantage of such a language. I believe that Eclipse Development with full blown Java is more convenient. Tom On 12 kvě, 23:36, Andrei wrote: > I am writing pure Java interpreter for Android > The language itself looks similar to JavaScript > The goal is to be able

[android-developers] Android Dev Phone with 2.x?

2010-05-14 Thread Tomáš Hubálek
Hello, I'm owner of ADP1 (1.6 device) but majority of my users have 2.x version. Does anybody have any idea whether there will be 2.x developer devices? Currently there is just something like HTC Hero available that is still IMHO 1.x device. Also I have one suggestion regarding pricing: Android D

Re: [android-developers] Re: App losing downloads/active installs data

2010-05-14 Thread Alberto Portela
Hahaha it's just very disappointing that they keep silent on the matter. My stats are almost back to normal :-), and yes Im sort of new as I only have one app on the market (Emergency QuickDial). On 14 May 2010 14:22, "TreKing" wrote: On Fri, May 14, 2010 at 1:49 AM, mot12 wrote: > > Somebody f

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-14 Thread Donal Rafferty
Thanks again Kostya, I have downloaded your app and had a look, its very nice, the widget will come in very handy for my testing! I was aware of the "known" versus as is quotes. My problem is for my app to work I need it to scan for AP's when the device is on the move. So it should scan, find a

[android-developers] Removing Calendar package

2010-05-14 Thread Raghu D K
Hi All, I am working on Android Eclair build and I want to remove the Calendar package from my build, not only the Calendar.apk but also any other service that provides calendar related functions. How can I do this? Warm Regards, Raghu -- You received this message because you are subscribed to

Re: [android-developers] Re: App losing downloads/active installs data

2010-05-14 Thread TreKing
On Fri, May 14, 2010 at 1:49 AM, mot12 wrote: > Somebody from Google who can shed some light on this? You're new around here, aren't you? =P - TreKing - Chicago transit tracking app for Android-powe

Re: [android-developers] implementing predictions for IME?

2010-05-14 Thread TreKing
On Fri, May 14, 2010 at 12:05 AM, android-developer wrote: > I have a new keyboard layout for which I need to provide > prediction/sugeestion functionality > Where have you looked so far? What have you tried so far? Where, specifically, are you stuck?

[android-developers] Re: APKTool - decoding our apps

2010-05-14 Thread Ryszard Wiśniewski
On May 14, 2:10 pm, Greg Donald wrote: > Exactly..  Java is compiled to bytecode with zero promises of being > protected against decompilation, and as I already mentioned in this > thread, it also fully supports reflection. Yeah, I am terrified of all these Eclipse, Netbeans and other piracy tool

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-14 Thread Kostya Vasilyev
Donal, I think you are not matching the SSIDs of known and live networks correctly. The SSIDs in the "known" list are enclosed in double quotes: http://developer.android.com/reference/android/net/wifi/WifiConfiguration.html#SSID The SSIDs in the live scan result list are "as is", without the q

Re: [android-developers] XML editor problem

2010-05-14 Thread Mark Murphy
SHameed wrote: > Hi > > I am trying to create an xml file under "res/xml" folder. > > When an xml file is newly created in the "res/layout" folder, the > xml editor comes up with a neat GUI giving me options to choose > layout, view, etc. > > However, when I create an xml file under "res/x

[android-developers] Re: XML editor problem

2010-05-14 Thread Brion Emde
You can probably find an XML editor somewhere. I use the Eclipse editor. The platform has no way of knowing what you are going to put into an arbitrary XML file, so it cannot help you out in the same way that it does for layouts. On May 14, 12:57 am, SHameed wrote: > Hi > >   I am trying to creat

[android-developers] Re: OpenCore / Possible Issue w/ Streaming MP3 over HTTP?

2010-05-14 Thread rktb
I can't think of any right now. Unfortunately, I can't spend a lot of time on an older codebase, especially if the problem has been fixed on the latest. -Ravi On May 13, 9:47 am, SDS wrote: > Hi Ravi, > > Regarding the missing Content-Length header, this was on different > streams.  The test cas

[android-developers] Re: OpenCore / Possible Issue w/ Streaming MP3 over HTTP?

2010-05-14 Thread rktb
Here is the commit for the fix for high bitrate streaming issue: http://android.git.kernel.org/?p=platform/external/opencore.git;a=commitdiff;h=9d144af75a60c4cf66e340bc9147e27e3d32a7b9 On May 13, 11:14 am, SDS wrote: > Ravi, I'm not seeing your commit for the timing fix on > android.git.kernel.or

[android-developers] Re: Set the Live Wallpaper programmatically?

2010-05-14 Thread Nik Bhattacharya
In my opinion, the Live Wallpaper is an AWESOME new addition to Android. We can already set the background image via an application. Why not the Live Wallpaper? The most simple usecase is a user sees the live wallpaper on the market, downloads it and then wants to "run" it. The app associated wit

[android-developers] How to use TCP transport in android rtsp client.

2010-05-14 Thread Milind Bhusari
Hi, I am writing a RTSP client in Android for streaming video. I am using MediaPlayer class in client , On server side i am using Darwin streaming server to stream video. For connecting to rtsp server android client sends RTP/AVP/UDP as transport option in SETUP command so UDP is used for

Re: [android-developers] Re: APKTool - decoding our apps

2010-05-14 Thread Greg Donald
On Fri, May 14, 2010 at 1:39 AM, ko5tik wrote: > It depends  on promisses of window manufacturer.  It this was > shatterproof > window designed to stand bazooka then I will blame manufacturer Exactly.. Java is compiled to bytecode with zero promises of being protected against decompilation, and

[android-developers] Box2D on Android via JNI

2010-05-14 Thread Mario Zechner
Hi there, i thought i'd post a link here for future reference. I wrote a complete JNI bridge to the latest Box2D release for Android. All relevant classes are wrapped via lightweight Java counter parts, all listeners except the destroy listener are exposed, all joints are support and so on and so

[android-developers] PKCS#10, BouncyCastle

2010-05-14 Thread Jiss
Hello everyone ! I would like to generate a request of certification (PKCS#10) using Android. This feature is available in BouncyCastle and I know that Android uses some class of it, but unfortunately there is no longer this feature. Do you know if it is possible to import bouncycastle .jar to a

[android-developers] Re: Increasing the priority of an activity

2010-05-14 Thread Soumya
ok, Thank you Murphy On May 14, 4:40 pm, Mark Murphy wrote: > Soumya wrote: > > I > > require it as I am making a lock screen which will co-exist along with > > the other type of lock screens. > > If you are making your own device, you are welcome to seek advice on > modifying the Android source

Re: [android-developers] Re: Increasing the priority of an activity

2010-05-14 Thread Mark Murphy
Soumya wrote: > I > require it as I am making a lock screen which will co-exist along with > the other type of lock screens. If you are making your own device, you are welcome to seek advice on modifying the Android source code on [android-porting]. -- Mark Murphy (a Commons Guy) http://commonsw

[android-developers] Re: Increasing the priority of an activity

2010-05-14 Thread Soumya
Hi Murphy, Any ideas on how to implement it. Do I need to make any changes in the framework. I found some API like getWindow().SetFlags where I can set to to like Keyguard, but that is even not working. Even in showdown.java file there is a code snippet where they have made a progress dialog with

Re: [android-developers] Increasing the priority of an activity

2010-05-14 Thread Mark Murphy
Soumya wrote: > Let me say this with an example. Lets say, my activity A is being > executed, meanwhile another activity B gets launched. By default, > activity B will come on top of activity A. My requirement is that I > want to keep A on top. Only activities such as phone, lock screen and > home

Re: [android-developers] Increasing the priority of an activity

2010-05-14 Thread Carlos Silva
On Fri, May 14, 2010 at 12:18, Soumya wrote: > Hi, > > Let me say this with an example. Lets say, my activity A is being > executed, meanwhile another activity B gets launched. By default, > activity B will come on top of activity A. My requirement is that I > want to keep A on top. Only activiti

[android-developers] Increasing the priority of an activity

2010-05-14 Thread Soumya
Hi, Let me say this with an example. Lets say, my activity A is being executed, meanwhile another activity B gets launched. By default, activity B will come on top of activity A. My requirement is that I want to keep A on top. Only activities such as phone, lock screen and home screen can come on

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-14 Thread Donal Rafferty
Thanks for that Kostya I have come across a bit of a problem though. After a scan there are 11 AP's found and all 11 show up in the list in the Wifi settings on the device. But when I use getConfiguredNetworks

[android-developers] Animation using several drawables

2010-05-14 Thread Michael
Hi, I am a little stuck with exactly what approach to take with an animation problem. I have several bitmap resource drawables, a face with no eyes or mouth, a mouth and eyes. I want to be able to build these drawables up to make the face and then use tween animations on them to animated the face

Re: [android-developers] Re: Killing Activity / onPause() / isFinishing()

2010-05-14 Thread Mark Murphy
Lee wrote: > I have a service which starts an activity and waits for it to finish > before proceeding. Please don't do that. If you explain what it is you are trying to accomplish here, perhaps we can give you ideas on how to solve your business problem, rather than helping you do something you s

[android-developers] Re: Killing Activity / onPause() / isFinishing()

2010-05-14 Thread Lee
The activity is started from a service: you can't use startActivityForResult. Previously I had the service checking via the ActivityManager whether the activity was still running but it's not reliable enough. Lee On May 14, 11:04 am, Kostya Vasilyev wrote: > You can do it the other way around -

Re: [android-developers] Set multiple form parameters

2010-05-14 Thread Mark Murphy
pawan nimje wrote: > I want to send a post request. This is what i have done- > > HttpClient client = new DefaultHttpClient(); > HttpPost httpost = new HttpPost(POST_URL); > StringEntity se = new StringEntity(j.toString()); > httpost.setEntity(se); > httpost.setHeader("Accept", "application/json")

Re: [android-developers] "content://sms/"

2010-05-14 Thread Mark Murphy
Ralph Bergmann wrote: > Hi, > > > I have a question about the "content://sms/" provider. > > I use it in my app but can't find any official documentation about it :-( > > Is it to old? Or to new? Can I use it or is it deprecated and will > removed in future? It is not supported. It may not wor

Re: [android-developers] Re: Icon issue - building with 2.1 sdk for 1.5 target

2010-05-14 Thread Federico Paolinelli
Thanks a lot for the answer Federico 2010/5/14 Kostya Vasilyev : > Yes they do, it will work as a fallback case for those resources that don't > have alternate versions (hdpi or ldpi). > > This also can be verified in the emulator. > > 14 мая, 2010 11:54 AM пользователь "Federico Paolinelli" > н

Re: [android-developers] Re: Icon issue - building with 2.1 sdk for 1.5 target

2010-05-14 Thread Kostya Vasilyev
Yes they do, it will work as a fallback case for those resources that don't have alternate versions (hdpi or ldpi). This also can be verified in the emulator. 14 мая, 2010 11:54 AM пользователь "Federico Paolinelli" написал: On 14 Mag, 00:06, Kostya Vasilyev wrote: > HTC Hero will try to use r

Re: [android-developers] Re: Killing Activity / onPause() / isFinishing()

2010-05-14 Thread Kostya Vasilyev
You can do it the other way around - have your activity do something upon successful completion. See startActivityForResult. 14 мая, 2010 11:27 AM пользователь "Lee" написал: I have a service which starts an activity and waits for it to finish before proceeding. It's not reliable to check using

Re: [android-developers] Why is the android jar stubbed?

2010-05-14 Thread Kostya Vasilyev
I would venture a guess that's because of having to provide the same services to native apps. Since native apps don't use Java, APIs have to be implemented at a lower level - or else would have to be duplicated for Java and native code. 13 мая, 2010 9:30 PM пользователь "Manfred Moser" написал:

Re: [android-developers] Re: Maintaining the state when changing the orientation

2010-05-14 Thread Alok Kulkarni
Thanks a lot guys for the information, I found this article http://peacemoon.wordpress.com/2009/08/23/android-developing-orientation-aware-android-applications/ I need to save many objects so basically onSavedInstanceState is not of full use . So i am going forward with onRetainNonConfigurationInst

[android-developers] How to popup menu on touch event.

2010-05-14 Thread Milind Bhusari
Hi, I am writing rtsp client using MediaPlayer class , i am showing menu using onCreateOptionsMenu() which popup menu on hardware menu button. Now i want menu popup on touch screen also , i can capture touch screen event but how to popup menu on that event. Thanks in Advance. -- You received thi

[android-developers] Re: GLSurfaceView transparent bg within a ViewGroup

2010-05-14 Thread alevapi
I'm not 100% sure to reply to your actual question, but I managed to display the (bitmap-based) background of my activity behind a GLSurfaceView by adding a setZOrderOnTop call in the activity onCreate method: @Override public void onCreate(Bundle icicle) { super.onCreate(icicle);

[android-developers] Set multiple form parameters

2010-05-14 Thread pawan nimje
I want to send a post request. This is what i have done- HttpClient client = new DefaultHttpClient(); HttpPost httpost = new HttpPost(POST_URL); StringEntity se = new StringEntity(j.toString()); httpost.setEntity(se); httpost.setHeader("Accept", "application/json"); httpost.setHeader("Content-type

[android-developers] Re: APKTool - decoding our apps

2010-05-14 Thread Ryszard Wiśniewski
On May 14, 6:38 am, Kumar Bibek wrote: > Good USE !!! that was funny...  lol Bad people think that every person is similar to them, so they just don't believe anyone could do some good thing. This is your problem. lololololol... -- You received this message because you are subscribed to the Goo

[android-developers] Re: testing applications on non developer's-devices

2010-05-14 Thread Simone
Thanks Carlos! -- 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...@googlegroups.com For more o

[android-developers] Scoreloop Android Social Gaming SDK now open to all!

2010-05-14 Thread Junde (Scoreloop)
Dear Developers and Friends, I’m Junde from Scoreloop (www.Scoreloop.com) and we're extremely pleased to announce the public release of our Scoreloop Core Social SDK for Android! (and iPhone) Along with the release comes an updated developer area to more easily configure game settings, and a new s

Re: [android-developers] Re: testing applications on non developer's-devices

2010-05-14 Thread Carlos Silva
On Fri, May 14, 2010 at 10:24, Simone wrote: > LOL if I can do that I don't see the point of developer phones in the > first place :D > ROM Customization > One last question: how do I do that? Do I just plug the phone in and > tell Eclipse to > upload the apk there instead of launching the emu

[android-developers] Re: testing applications on non developer's-devices

2010-05-14 Thread Simone
LOL if I can do that I don't see the point of developer phones in the first place :D One last question: how do I do that? Do I just plug the phone in and tell Eclipse to upload the apk there instead of launching the emulator? Thanks again, Simone On 14 Mag, 11:09, Carlos Silva wrote: > Buy anyone

[android-developers] accessing sqlite db

2010-05-14 Thread kamiseq
On 13 May, 19:51, Leigh McRae wrote: > After a long battle I have some results that may help others. > > Got the game to rendering the emulator correctly by building the > geometry using ByteBuffer instead of IntBuffer and ShortBuffer. > > I tried converting to the GLSurfaceView and still no luc

Re: [android-developers] How to implement the type-to-search UI like the Contacts App used

2010-05-14 Thread Carlos Silva
On a ListActivity, getListView().setTextFilterEnabled(true); On Fri, May 14, 2010 at 10:07, Kaka wrote: > Hi, all > > In the built-in Contacts app, if it's the view of contact list, when > you type a keyborad, it will trigger a type-to-search. However, > insteading of using the quick search bo

Re: [android-developers] Re: testing applications on non developer's-devices

2010-05-14 Thread Carlos Silva
Buy anyone you want :) On Fri, May 14, 2010 at 10:07, Simone wrote: > I don't know, I don't have an android device yet but I need one to > test my game before releasing it. > I was wondering if I had to buy the android device with android 1.6 on > it, or if I could just take any device I wanted.

[android-developers] How to implement the type-to-search UI like the Contacts App used

2010-05-14 Thread Kaka
Hi, all In the built-in Contacts app, if it's the view of contact list, when you type a keyborad, it will trigger a type-to-search. However, insteading of using the quick search box, it shows a floating and transparent dialog. How to implement this functionality? thx -- You received this messag

[android-developers] Re: testing applications on non developer's-devices

2010-05-14 Thread Simone
I don't know, I don't have an android device yet but I need one to test my game before releasing it. I was wondering if I had to buy the android device with android 1.6 on it, or if I could just take any device I wanted. I don't know how the whole thing works, that's it ;) Thanks Simone On 14 Mag,

  1   2   >