[android-developers] Re: Could not upload a new application

2010-05-13 Thread AndyDev
Thanks Treking, I did not try on Firefox, but worked on Chrome. On May 13, 3:53 am, TreKing wrote: > On Wed, May 12, 2010 at 5:10 PM, AndyDev wrote: > > It always says  "The upgraded apk's package name (com.testini) must be the > > same as the one it is replacing (null)." > > Are you using Micro

[android-developers] XML editor problem

2010-05-13 Thread SHameed
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/xml" folder, no such options are s

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

2010-05-13 Thread mot12
Mine dropped a whopping 600 installations from one day to another on May 11th. As this is a paid app, this would translate in significantly fewer sales but I haven't seen any financial adjustment. Another free app with 3 times as many downloads has seen a drop of only 200 at the same time. Somebo

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

2010-05-13 Thread ko5tik
On 13 Mai, 19:29, Manfred Moser wrote: > Hi! > > I am trying to figure out a way to run unit tests with some android > provided classes (e.g. org.json). I would like to be able to run these > outside the emulator for performance reasons. Check this out: http://github.com/ko5tik/jsonserializer

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

2010-05-13 Thread ko5tik
On 13 Mai, 20:21, Greg Donald wrote: > So when someone gets murdered with a gun, you blame the gun manufacturer? American civil law system allows you to do this. Not sure though there was some success > When someone breaks into your house, you blame the window manufacturer > the crook climbe

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

2010-05-13 Thread ko5tik
On 13 Mai, 19:17, Jay Gischer wrote: > Let's say then, that someone comes out with a really nice way to > handle some ui issues.   It's very likely that they spent quite a bit > of time evolving those ideas, trying things and throwing away a lot of > things that didn't work.  Sure, these ideas,

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

2010-05-13 Thread Jeffrey
Slight update, it turns out taking the resource out of the nodpi folder caused it to revert to the drawable folder and then it worked. Does anyone know why putting it in the nodpi would cause it to mess up? fyi the image in question is actually the default button image, taken out of the sdk resourc

[android-developers] 1.5 Not finding image resource!

2010-05-13 Thread Jeffrey
I have an app that when run on 1.5 throws the following exception every time it tries to set an image: Resource not found exception blah blah blah caused by: Java.lang.IllegalArgumentException: width and height must be > 0 The image is being pulled from a drawable-nodpi folder, and all the di

[android-developers] implementing predictions for IME?

2010-05-13 Thread android-developer
Kindly share information regarding how to implement predictions for input methods... I have a new keyboard layout for which I need to provide prediction/sugeestion functionality -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

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

2010-05-13 Thread Kumar Bibek
Good USE !!! that was funny... lol On May 14, 2:46 am, Ryszard Wiśniewski wrote: > On May 13, 9:34 pm, "Maps.Huge.Info (Maps API Guru)" > > wrote: > > I think a better analogy would be an anti-aircraft missile, you don't > > go deer hunting with a Stinger or SA-8, you use it to shoot down > > a

[android-developers] How to handle phone low memory situation more efficiently?

2010-05-13 Thread Wang He
By default, android use low memory killer to try to get out of phone low memory situation. But sometimes, the killer killed process that should not killed. That happened as the killer cannot understand what is "should not killed" from application layer. For example: 1) a persistent process hostin

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

2010-05-13 Thread appforce.org
Bytecode is not possible to be secured, but there's always NDK and I really doubt someone could decompile successfully a -O2 compiled library. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

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

2010-05-13 Thread Zsolt Vasvari
Yes, I had this same problem. I was getting an FC only when launching the app from the Market. I was checking for the presence of CATEGORY_LAUNCHER which is not used by the Market App. You just never know what will hit you. On May 14, 2:28 am, Wayne Wenthin wrote: > A word of advice. > Keep a

Re: [android-developers] Re: Does Android support videos played when downloading?

2010-05-13 Thread Mark Murphy
quill wrote: > Anybody help? > > On 5月13日, 下午5时01分, quill wrote: >> Hi all, >> When I am downloading a video from internet, I want to play the >> video, does Android support this? How can I do it? Yes, Android supports streaming video. You "do it" by writing an Android activity that uses eithe

[android-developers] Re: Does Android support videos played when downloading?

2010-05-13 Thread quill
Anybody help? On 5月13日, 下午5时01分, quill wrote: > Hi all, > When I am downloading a video from internet, I want to play the > video, does Android support this? How can I do it? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To po

Re: [android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-13 Thread gujian
we can get some message from your strange result.when you pressed back button the A's onkeyup() was triggered.that is A shoud be activity.of course contents of above is my assumption which need your debug.in fact ,I am new to android and unfamiliar with the method of intent.setComponent.I'm sorry

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

2010-05-13 Thread Charlie Collins
http://developer.android.com/intl/de/guide/topics/fundamentals.html#actlife "Saving activity state When the system, rather than the user, shuts down an activity to conserve memory, the user may expect to return to the activity and find it in its previous state. To capture that state before the a

[android-developers] Re: new interpreter for Android

2010-05-13 Thread Bob Kerns
I don't mean to be discouraging; in fact, I'd like to be encouraging of such efforts in general. But I'm not clear on what problem you are solving. Why scripting? Why a new language, as opposed to say using Javascript and adding Android facilities? A bit more explanation of your motivations and

Re: [android-developers] Re: Clarification on loading local images with WebView

2010-05-13 Thread Jeff Thorn
I appreciate your help. I think I will just open the large image in a new custom Activity. On May 13, 2010 7:38 PM, "Mark Murphy" wrote: Jeff Thorn wrote: > PS - meant something OTHER than. Droid autospell. :) > > On May 13, 2010 7:18 P... > > wrote: > > You would t

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

2010-05-13 Thread pac
I've seen posts regarding problems with the AudioRecord OnRecordPositionUpdateListener, but I haven't seen any real answers. I'm using AudioRecord to record from the mic, and I want to get the input from the mic periodically so I can check sound levels and update a meter. I set up the listener li

Re: [android-developers] Re: Clarification on loading local images with WebView

2010-05-13 Thread Mark Murphy
Jeff Thorn wrote: > PS - meant something OTHER than. Droid autospell. :) > > On May 13, 2010 7:18 PM, "Jeff Thorn" > wrote: > > You would think huh? But I got the impression for the docs that that > method just allows you return a file segment using an offset and len

Re: [android-developers] Re: Clarification on loading local images with WebView

2010-05-13 Thread Jeff Thorn
PS - meant something OTHER than. Droid autospell. :) On May 13, 2010 7:18 PM, "Jeff Thorn" wrote: You would think huh? But I got the impression for the docs that that method just allows you return a file segment using an offset and length. Can you do something like: File f = new File("assets/m

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

2010-05-13 Thread Romain Guy
There is currently no plan to expose this API. On Thu, May 13, 2010 at 3:46 PM, Nik Bhattacharya wrote: > Are there any plans to expose the > setLivewallpaperComponent(ComponentName livewallpaperComponent) via > the SDK?  Right now, its exposed internally but not via the SDK. > > The permissions

Re: [android-developers] Re: Clarification on loading local images with WebView

2010-05-13 Thread Jeff Thorn
You would think huh? But I got the impression for the docs that that method just allows you return a file segment using an offset and length. Can you do something like: File f = new File("assets/myfile.png"); I wish you could create a ParcelFileDescriptor with something Oberlin than a File. On

Re: [android-developers] Re: Is Google working on the Bluetooth bug? Any estimated date of completion?

2010-05-13 Thread danraaka
Newer build sud fix this. -Dan On Mon, May 10, 2010 at 7:29 AM, frankentux wrote: > The same problem seems to be detailed here: > http://forum.samdroid.net/threads/598 > Looks like SPP is completely broken on the i5700 - possibly because of > the Broadcom BCM4325. > On the positive side, that c

Re: [android-developers] Re: samsung app store

2010-05-13 Thread danraaka
interesting .. can you tell who it came from ? can you unicast me that email ? -Dan On Thu, May 13, 2010 at 5:07 AM, Michael wrote: > Yeah I got one of those emails as well. > > Working on a new version of my app and won't be ready to upload for a > little while anyway. > > It looks reasonably

Re: [android-developers] Debugging Android Test Cases (-e debug true)

2010-05-13 Thread Brett Chabot
Your procedure sounds like it should work. But note you can debug the tests from within Eclipse by doing a 'Debug As > Android JUnit test' operation. Regards, Brett. On Thu, May 13, 2010 at 3:38 PM, plusminus wrote: > Hi guys, > > did anyone actually succeed in debugging AndroidTestCases? > > I

Re: [android-developers] Re: Clarification on loading local images with WebView

2010-05-13 Thread Mark Murphy
Jeff Thorn wrote: > Regarding option 1 - if I create a content provider it appears I need to > implement the openFile method and return a ParcelFileDescriptor. Sounds > easy enough. But how do you create a File object from something in the > assets directory? Perhaps use openAssetFile() instead?

[android-developers] Set the Live Wallpaper programmatically?

2010-05-13 Thread Nik Bhattacharya
Are there any plans to expose the setLivewallpaperComponent(ComponentName livewallpaperComponent) via the SDK? Right now, its exposed internally but not via the SDK. The permissions seem to be the following which are also not exposed via the SDK: -- You received this message because you are s

Re: [android-developers] Re: Clarification on loading local images with WebView

2010-05-13 Thread Jeff Thorn
Regarding option 1 - if I create a content provider it appears I need to implement the openFile method and return a ParcelFileDescriptor. Sounds easy enough. But how do you create a File object from something in the assets directory? On May 13, 2010 4:12 PM, "Mark Murphy" wrote: Jeff wrote: > 1

[android-developers] Debugging Android Test Cases (-e debug true)

2010-05-13 Thread plusminus
Hi guys, did anyone actually succeed in debugging AndroidTestCases? I have a test-suite I can successfully run either from the Eclipse or from the command. But as I add the debug flags like this: adb shell am instrument -w -e debug true org.anddev.andengine.test/ android.test.InstrumentationTestR

[android-developers] How to get activity to restart every time the app is launched from the command line

2010-05-13 Thread pac
Device: Nexus One Firmware: 2.1 update 1 Platform 2.1, API: 7 I have seen it mentioned before that there's a difference between installing an app via Eclipse and via adb, but I need more clarification. I have an app that starts a voice recognition activity in the main activity's onStart() method.

[android-developers] playback suddenly stopping...

2010-05-13 Thread sdphil
I have an app that is streaming audio content and sometimes it just stops all of the suddent. the logcat windows shows -- AudioHardware pcm playback is going to standby and that's it. I saw on another thread (pun intended) that someone was saying it was because he was using too many threads. C

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

2010-05-13 Thread Kostya Vasilyev
HTC Hero will try to use resources from drawable-ldpi and scale them, which is not what you want. To make it work correctly, use just "drawable" for 320*480 resources, and "drawable-ldpi-v4" and "drawable-hdpi-v4" for the other ones. To make it complete, set min-sdk to 3 and target-sdk to whate

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

2010-05-13 Thread Ryszard Wiśniewski
On May 13, 9:34 pm, "Maps.Huge.Info (Maps API Guru)" wrote: > I think a better analogy would be an anti-aircraft missile, you don't > go deer hunting with a Stinger or SA-8, you use it to shoot down > aircraft. Since this tool really has only one real purpose, to allow > people to pirate code, I t

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

2010-05-13 Thread Federico Paolinelli
Hi all, I am developing with the 2.1 sdk, I draw 3 kinds of icons for ldpi, mdpi, hdpi, at some point I tried to install my application on my HTC Hero. Something must not be working as expected, because the menu and launcher icons are sort of blurred. If I understood correctly, this is because 1.5

[android-developers] Re: Using SWIG with Android NDK - Weak Global References

2010-05-13 Thread fadden
On May 11, 1:42 am, GoG wrote: > So my question is, does anybody know when 'Weak Global References' > will appear in Android NDK ? It's done. The feature will appear in an upcoming release. You can mostly work around the absence by creating an instance of WeakReference and retaining a global re

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

2010-05-13 Thread strazzere
You have an interesting analogy, though just because *you* say that the proper use for this tool is pirating code - doesn't mean it is. A missle is designed to travel, hit a target and deliver a payload. Of course you could use it as a hammer, but that's not it's purpose. Reengineering can be a pr

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

2010-05-13 Thread Greg Donald
On Thu, May 13, 2010 at 2:56 PM, Maps.Huge.Info (Maps API Guru) wrote: > An anti-aircraft missile has multiple purposes as well. It can be used > as a hammer or paperweight, can be a really nice conversation piece in > the living room or an auction item on e-bay. None of those are the > real purpo

Re: [android-developers] Re: Clarification on loading local images with WebView

2010-05-13 Thread Mark Murphy
Jeff wrote: > 1. Should I load it with my WebView? I thought I could use img tags > with urls like file:///android_asset/myimage.png. But this does not > seem to work. As I wrote in my previous reply: Try creating a ContentProvider to serve the image, and see if you have better luck with a conten

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

2010-05-13 Thread Mark Murphy
Manfred Moser wrote: > All that makes sense and is not a problem, but what if I would like to > write a bunch of tests that use org.apache.http and org.json classes > that would be supplied by android in the emulator. Could I run them > against stock apache and json jars (of which I would have to f

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

2010-05-13 Thread Moto
Dave, That is some sweet information! I also hope the Android Market does something about it! Now I'm tracking the numbers using Motally to figure out what % is pirated... and I think it's high! Is keyeslabs free? I read but didn't create an account yet... Thanks! Jona On May 13, 3:44 pm, dad

[android-developers] Re: Clarification on loading local images with WebView

2010-05-13 Thread Jeff
Thanks Mark. I could use some advice on the best approach to this problem The image that I am trying to display is very large and I want to preserve its detail. So I am including it in the apk in the assets/ directory. My app almost exclusively uses WebView to display content. I am trying to f

Re: [android-developers] Re: broken pipe over ssl

2010-05-13 Thread Martin Obreshkov
the server is accepting both http and https on the same url. With http everything is ok the problem is only when i use https on the same server. There is nothing in apache log so i don't thing this is server issue. On Thu, May 13, 2010 at 9:17 PM, social hub wrote: > have u tested with different

[android-developers] Internet data request done via ContentProvider?

2010-05-13 Thread Moto
How could I create a ContentProvider where the data is fetch from the internet. As the data is parsed maybe allow the requesting client know the download progress and results so that they are displayed as it's downloaded. My idea is to share this data across other apps... I'm not sure if a Conte

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

2010-05-13 Thread Maps.Huge.Info (Maps API Guru)
An anti-aircraft missile has multiple purposes as well. It can be used as a hammer or paperweight, can be a really nice conversation piece in the living room or an auction item on e-bay. None of those are the real purpose though, sort of like this tool. -John Coryat On May 13, 2:46 pm, Greg Donal

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

2010-05-13 Thread Greg Donald
On Thu, May 13, 2010 at 2:34 PM, Maps.Huge.Info (Maps API Guru) wrote: > Since this tool really has only one real purpose This tool has multiple uses. Go back and read the thread. For the tool to simply exist is not a crime no matter how much you want it to be. The tool itself doesn't go out a

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

2010-05-13 Thread dadical
Just make up your mind before hand. I would recommend NOT using "copy protection", but don't decide to after the fact, as you will cause your installed user base all kinds of pain when their phones go berserk after you switch it on. It's not pretty. I ultimately decided to go a different route,

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

2010-05-13 Thread Moto
What exactly are you trying to do? On May 13, 9:34 am, Lee wrote: > Is isFinishing() guaranteed to return true in onPause() when an > activity is being killed by the system ? > > If not, how is it possible to differentiate activity-being-killed and > one of the other reasons for onPause() being c

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

2010-05-13 Thread Maps.Huge.Info (Maps API Guru)
I think a better analogy would be an anti-aircraft missile, you don't go deer hunting with a Stinger or SA-8, you use it to shoot down aircraft. Since this tool really has only one real purpose, to allow people to pirate code, I think the gun analogy is a bit off. On the other hand, if this person

[android-developers] Re: Blocking current Activity/Screen till current task is complete

2010-05-13 Thread dillipk
Thank you everyone out here for your great input. This requirement was from our sales team and I have made them understand of these scenarios. I think, definitely will be a different approach.. On May 13, 3:01 pm, TreKing wrote: > On Thu, May 13, 2010 at 1:30 PM, dillipk wrote: > > Basically m

[android-developers] Re: Blocking current Activity/Screen till current task is complete

2010-05-13 Thread dillipk
Thanks TreKing for your replies.. Basically my requirement is, as soon as you try to leave out of the screen(Whether by hitting BACK key), it makes a HTTP request (by sending some data from the current screen) to get some data from the server and once it receives the response from the server, i

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

2010-05-13 Thread Manfred Moser
On May 13, 11:49 am, Mark Murphy wrote: > Manfred Moser wrote: > > My hunch is > > that the android.jar implementation classes are pretty tightly coupled > > to the underlying archticture and libraries (e.g. via jni to opencore, > > opengl and so on and son) and it would be a pretty difficult ta

Re: [android-developers] Re: Blocking current Activity/Screen till current task is complete

2010-05-13 Thread TreKing
On Thu, May 13, 2010 at 1:30 PM, dillipk wrote: > Basically my requirement is, as soon as you try to leave out of > the screen(Whether by hitting BACK key), it makes a HTTP request (by sending > some data from the current screen) to get some data from the server and > once it receives the respo

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

2010-05-13 Thread Shane Isbell
I understand why developers like Jay G. are upset but ultimately this problem lies with Google, not authors of decompilers. If the app is not encrypted on the device, hacking is dead simple. Keep in mind, DRM is patented encumbered so getting one on the device could easily drive up the cost of a h

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

2010-05-13 Thread Mark Murphy
Manfred Moser wrote: > My hunch is > that the android.jar implementation classes are pretty tightly coupled > to the underlying archticture and libraries (e.g. via jni to opencore, > opengl and so on and son) and it would be a pretty difficult task to > unbundle this all and make it run on the jvm

[android-developers] Animating Views with custom layout

2010-05-13 Thread Divkis
Hello, I am trying to animate a few images as part of my activity such that the images overlap partially with each other. To be able to do the same, since there is no such layout which provides this facility, I have created my own layout extending from ViewGroup and overriding the onMeasu

Re: [android-developers] Re: Blocking current Activity/Screen till current task is complete

2010-05-13 Thread Mark Murphy
dillipk wrote: > Thanks TreKing for your replies.. > > Basically my requirement is, as soon as you try to leave out of the > screen(Whether by hitting BACK key), it makes a HTTP request (by > sending some data from the current screen) to get some data from the > server and once it receives the

[android-developers] Re: Blocking current Activity/Screen till current task is complete

2010-05-13 Thread dillipk
Thanks TreKing for your replies.. Basically my requirement is, as soon as you try to leave out of the screen(Whether by hitting BACK key), it makes a HTTP request (by sending some data from the current screen) to get some data from the server and once it receives the response from the server, i

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

2010-05-13 Thread Wayne Wenthin
A word of advice. Keep a close Eye on errors. If you get a couple reports of FC's or 1 bad rating pull it down and work with your testers to clean it up.Publishing an app that is not ready is a pain in the backside.It will take you months to recover from a bad launch. Even after that yo

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

2010-05-13 Thread Greg Donald
On Thu, May 13, 2010 at 1:03 PM, Moto wrote: > I'm getting many complaints that users can't find our paid app in the > Android Market.  I know exactly why... Our app is "Copy-Protected". Yup, it's well know to screw you over, so don't use it. > So the questions is, if our paid app is already ava

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

2010-05-13 Thread Greg Donald
On Thu, May 13, 2010 at 12:17 PM, Jay Gischer wrote: > With this tool, you could take an existing app that took perhaps > months to develop and in a day or two, change all the logos and > cosmetics, and resell it as your own work. So when someone gets murdered with a gun, you blame the gun manufa

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

2010-05-13 Thread Ryszard Wiśniewski
Yeah, I understand. What I wanted to say is Android wasn't designed to be secure. Most of things that apktool gives you are doable without it and within a reasonable time. Logos, you say? Just unzip apk file, replace some images, pack it, resign and that's it. Strings are harder, but as long as yo

Re: [android-developers] Re: broken pipe over ssl

2010-05-13 Thread social hub
have u tested with different servers it looks like something breaking your connection. If you can test using Wifi you can sniff using wireshark and see who is breaking the connection that will be the first step to debug your issue. it may be nwk or server issue i am not sure but with the above u

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

2010-05-13 Thread Moto
I'm getting many complaints that users can't find our paid app in the Android Market. I know exactly why... Our app is "Copy-Protected". So the questions is, if our paid app is already available all over the internet for FREE!! What's the point of copy protecting an app? Should I even care at thi

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

2010-05-13 Thread Shane Isbell
2010/5/12 Ryszard Wiśniewski > Hi, > > I'm a maker of this apktool toolchain. > > I want to know, what, do you think, someone could steal from your > apps? Some great algorithms? From phone app? Layouts? Localization > strings? I'm not against decompilers and have no problem with the apktools pr

[android-developers] Re: Android 2.1 WebKit and applicationCache

2010-05-13 Thread hansamann
Hi, is there anyone who could answer this question or tell me where to best post this? It's an important issue for me right now... Thanx, Sven On May 12, 8:40 pm, hansamann wrote: > Hi all, > > I am trying to use the Android 2.1 WebKit applicationCache but I > notice several differences to the i

Re: [android-developers] OpenGL drops triangles

2010-05-13 Thread Leigh McRae
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 luck with the dropped triangles. I ended up unpa

Re: [android-developers] Re: Blocking current Activity/Screen till current task is complete

2010-05-13 Thread TreKing
On Thu, May 13, 2010 at 11:24 AM, dillipk wrote: > Is there any api which would wait there on the activity/screen till there > is a response from a server or the task is complete instead of displaying > ProgressDialog etc,,? > Your question doesn't really make sense. An API is not something that

[android-developers] Re: SIP Stack

2010-05-13 Thread HeHe
mike, i just saw this open defect with sipdroid/pbxes: http://code.google.com/p/sipdroid/issues/detail?id=158&q=battery&sort=-priority i wonder if this defect comes from a belief in TCP between sipdroid/ pbxes and a thought that TCP connections can persist longer with less overhead (thus use less

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

2010-05-13 Thread Manfred Moser
Hi! I am trying to figure out a way to run unit tests with some android provided classes (e.g. org.json). I would like to be able to run these outside the emulator for performance reasons. The only way I can think of at this stage is to have a separate module that uses org.json (not the android o

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

2010-05-13 Thread Streets Of Boston
Welcome! And I hope your app will be very succesful! On May 13, 12:32 pm, Geefer wrote: > Hi, > I have been lurking on this group for a few months now learning lots > from all your questions and answers. It has helped me enormously with > writing my first app for Android (PuzzleQube). I started k

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

2010-05-13 Thread Jay Gischer
Ryszard > You should rethink, whether there is really any sense in stealing > something from your app. Ideas, design and appearance could be > "stolen" by just looking at it. Algorithms? It is really hard to > analyze simple loop in smali code - it's asm, you know. If you really > want to not let

[android-developers] Re: Upgrading 2009 I/O device from Donut (1.6) to Eclair (2.0/2.1)?

2010-05-13 Thread tatlar
A helpful developer sent this to me privately: http://forum.cyanogenmod.com/index.php?/topic/2688-cyanogenmod-5-for-dreammagic-would-you-like-a-pony-v507-test4-05122010/ I will take the plunge after IO 2010. Thanks for all the info John. - Rob On May 12, 6:10 pm, "Maps.Huge.Info (Maps API Guru

[android-developers] Re: Listening for Bluetooth events and AVRCP profile

2010-05-13 Thread Moto
Mort, Thanks for your reply. Well for some reason I believe, and might be wrong, that using the current Bluetooth APIs technically I could send the text info to the paired stereo device. I would probably need to learn the bluetooth AVRCP profile comunication structure... I hope some other devel

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

2010-05-13 Thread Geefer
Hi, I have been lurking on this group for a few months now learning lots from all your questions and answers. It has helped me enormously with writing my first app for Android (PuzzleQube). I started knowing about programming but had to learn Java, the Android Framework AND OpenGL so the journey ha

[android-developers] Re: Blocking current Activity/Screen till current task is complete

2010-05-13 Thread dillipk
Is there any api which would wait there on the activity/screen till there is a response from a server or the task is complete instead of displaying ProgressDialog etc,,? Thanks, -DK On May 13, 12:16 pm, Streets Of Boston wrote: > I completely agree with TreKing. > > But sometimes bending the 'ru

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

2010-05-13 Thread Kostya Vasilyev
Hi, 1. Regarding duplicates. Android maintains a list of "known" networks - for each, it stores the SSID, encryption configuration, along with the password, if necessary. Each known network also has a unique numeric ID. You can only connect to networks on this "known" list, because, as you correc

[android-developers] Slow viewing image with ACTION_VIEW

2010-05-13 Thread JimmyHoffa
Anyone experienced a very slow response (i.e. 10 seconds) when simple calling an ACTION_VIEW intent for an image on the sdcard? There is around a 10 second delay, eventually there are two INFO level log entries Texture Creation fail, qlError 1281 Built thumbnail and screennail for 0 in 25 So

[android-developers] Re: Blocking current Activity/Screen till current task is complete

2010-05-13 Thread Streets Of Boston
I completely agree with TreKing. But sometimes bending the 'rules' (disallowing the user to go back when (s)he wants to) is permissible but you'd better have a very good reason :-) "... AlertDialog is being dismissed in reasonable amount of time ..." Reasonable means a few seconds, certainly no m

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

2010-05-13 Thread SDS
Ravi, I'm not seeing your commit for the timing fix on android.git.kernel.org. Am I looking in the wrong place? On May 13, 10:47 am, SDS wrote: > Hi Ravi, > > Regarding the missing Content-Length header, this was on different > streams.  The test case you have has the Content-Length header (whic

[android-developers] Re: Ensure GPS has fix before proceeding..

2010-05-13 Thread Federico Paolinelli
> "Best" is debatable - but you could use an AsyncTask that does whatever it > is you need your GPS fix for and include getting a fix as one of it's steps, > during which time you show an indeterminate progress dialog that says > "Getting your current location ... please wait..." or something. Tha

[android-developers] Re: JetPlayer help

2010-05-13 Thread Justin
Solved it! Turns out that I was setting my DLS flag in queueJetSegment() to 0 instead of -1 since I don't have any DLS resources. Oops! Documentation on all the JetPlayer stuff could be a bit more clear... On May 12, 2:42 pm, Justin wrote: > I've just started looking at JetPlayer and have (I

Re: [android-developers] Blocking current Activity/Screen till current task is complete

2010-05-13 Thread TreKing
On Thu, May 13, 2010 at 9:15 AM, dillipk wrote: > If some the same activity is waiting for some response from server or some > data updation is going on and then press BACK, I want to wait on the same > screen till the current task is completely processed and then move out to > the previous activ

[android-developers] Re: broken pipe over ssl

2010-05-13 Thread Martin Obreshkov
:) i forgot to put the link http://stackoverflow.com/questions/2820284/ssl-on-android-strange-issue On Thu, May 13, 2010 at 6:48 PM, manigault wrote: > hi i've posted the question on stack overflow but no answer - any > ideas ? -- When I raise my flashing sword, and my hand takes hold on ju

[android-developers] broken pipe over ssl

2010-05-13 Thread manigault
hi i've posted the question on stack overflow but no answer - any ideas ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: FLAG_BLUR_BEHIND extremely slow on Droid?

2010-05-13 Thread alevapi
The blur effect seems to be done in software on the NexusOne as well. One can see that in Launcher2, when using an animated Live Wallpaper and opening the "Power Options" menu (long press on HW power button): The background scene has to be redrawn continuously and the whole device feels VERY slow.

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

2010-05-13 Thread draf...@gmail.com
I am currently trying to write a class in Android that will Scan for access points, calculate which access point has the best signal and then connect to that access point. So the application will be able to scan on the move and attach to new access points on the go. I have the scanning and calcu

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

2010-05-13 Thread SDS
Hi Ravi, Regarding the missing Content-Length header, this was on different streams. The test case you have has the Content-Length header (which is one reason I provided that test case specifically, to simplify the issue). Believe it or not, I'm having success with 128kbps MP3's to the device ov

[android-developers] Re: Image download problem

2010-05-13 Thread Streets Of Boston
What is the value of 'url'? The code complains that the value of 'url' is not formed correctly, that it isn't a proper URL. On May 13, 9:42 am, jaimin mehta wrote: > Hi. > > I have some question regarding image downloading from the server. > > In my application i had to continually call one meth

[android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-13 Thread Streets Of Boston
http://android-developers.blogspot.com/2009/12/back-and-other-hard-keys-three-stories.html On May 13, 9:54 am, inbrain wrote: > Excuse me, what is A's status? And what I should be able to debug? > > On 13 May, 16:43, gujian wrote: > > > > > > > I think this situation depend on A'status.you can d

[android-developers] Re: Blocking current Activity/Screen till current task is complete

2010-05-13 Thread Streets Of Boston
Show an AlertDialog box that can not be cancelled (by pressing the back button). Dismiss this dialog when your task has completed. The AlertDialog, if it can not be cancelled, will prevent the back- button from going back to the previous activity. Be absolutely sure that the task finishes properly

[android-developers] Blocking current Activity/Screen till current task is complete

2010-05-13 Thread dillipk
Hi, The default behavior of an activity when BACK softkey is pressed is, GO BACK TO PREVIOUS ACTIVITY.. If some the same activity is waiting for some response from server or some data updation is going on and then press BACK, I want to wait on the same screen till the current task is completely

[android-developers] Re: How to get selected items in a ListView (multi selection check boxes)? - URGENT PLZ

2010-05-13 Thread dillipk
Hi Gyan, Thanks for your reply... can you please post the code snippet? Regards, -DK On May 12, 3:22 pm, Gyan wrote: > Have experienced this myself. implement a ListAdapter for the same and > handle ur items from there... > > Additionally u can use onDataSetChanged to check for the mul

[android-developers] Can I send an image byte[] to ACTION_VIEW intent?

2010-05-13 Thread JimmyHoffa
Hi all, Just wondering if its possible to use the built in image viewer to display an image sourced from a database. I'm hoping I can pass the byte[] as an extra to the ACTION_VIEW intent, but can't find any docs on it so far. Alternatively I'll have to roll my own viewer or first write the imag

[android-developers] Re: Gallery elasticity at the ends

2010-05-13 Thread Nik Bhattacharya
I added 2 dummy views at the ends of the Gallery then wrote a onItemSelectedListener that essentially listens for items 0 and the last item (the dummy views) and sets the selection to 1 and the last item -1 respectively. This creates the bounce me having to do any animations! I created a full scr

[android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-13 Thread inbrain
Excuse me, what is A's status? And what I should be able to debug? On 13 May, 16:43, gujian wrote: > I think this situation depend on A'status.you can debug it with "Log.d()"and > then you can get your answer! > > 2010/5/13 inbrain > > > > > > > 1) I'm using Android 1.6 > > 2) Sorry, but I was n

Re: [android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-13 Thread gujian
I think this situation depend on A'status.you can debug it with "Log.d()"and then you can get your answer! 2010/5/13 inbrain > 1) I'm using Android 1.6 > 2) Sorry, but I was not asking for workaround (which I think should be > clear from description). I wanted (and still want) to know why does i

Re: [android-developers] Ensure GPS has fix before proceeding..

2010-05-13 Thread TreKing
On Tue, May 11, 2010 at 5:56 PM, mcvetyty wrote: > 1) I want to ensure I am using a current 'fixed' location and not > a previously stored one, so I am trying to avoid using getLastKnownLocation, > but cannot seem to figure out the alternate to this? > That's not really a question ... > 2) Wha

[android-developers] Image download problem

2010-05-13 Thread jaimin mehta
Hi. I have some question regarding image downloading from the server. In my application i had to continually call one method in which image download code is placed But java.net.MalformedURLException is there when i call image download method continually so any suggestion why i get java.net.Malf

  1   2   >